// images/settings.js


// ***********************************
// **** PHOTO ALBUM OVERRIDES:    ****
// ***********************************

// ALBUM THUMBNAIL VIEW (lists thumbnails of photos in an album, their descriptions)
album_thumbnailview_hdr = '<table width=90% align="center" cellspacing=0 cellpadding=0 border=0><tr><td colspan=3><img src="images/blank.gif" height=10></td></tr><tr><td class="pa_left"><img src="images/b.gif" width="34" height="200"></td><td class="pa_body" width=100%><table cellspacing="5" cellpadding="5" align="center" width="95%"><tr>';
album_thumbnailview_item = '<td class="pa_captiontext"><a href="{photoURL}"><img src="{photothumbnail}" border=0 class="pa_thumbnail"></a></td>';
//album_thumbnailview_ftr = '</tr><tr><td align=left>{prevthumbnailpage_btn}</td><td colspan=3 align=center>{firstthumbnailpage_btn}</td><td align=right>{nextthumbnailpage_btn}</td></tr></table></td><td class="pa_right"><img src="images/b.gif" width="34" height="200"></td></tr></table><br><br>';
album_numitems_perthumbnailpage = 16;
album_numitems_perthumbnailrow = 4;
//album_thumbnailrow_breakhtml = '</tr><tr>';
//album_prevthumbnailpage_btn = '<a href="{prevpageURL}"><img src="images/pa_prevpage.jpg" alt="Previous Page" border="0"></A>';
//album_nextthumbnailpage_btn = '<a href="{nextpageURL}"><img src="images/pa_nextpage.jpg" alt="Next Page" border="0"></A>';
//album_firstthumbnailpage_btn = '<a href="{firstpageURL}"><img src="images/pa_firstpage.jpg" alt="First Page" border="0"></A>';
album_viewalbumsummary_btn = '';

// ALBUM PHOTO VIEW (show one photo, full size, with navigation buttons)
album_photoview_item = '<TABLE cellSpacing=5 cellPadding=5 align=center bgColor=black><TBODY><TR><TD align=right>{prevphoto_btn}{viewthumbnails_btn}{nextphoto_btn}</TD></TR><TR><TD><IMG src="{photo}" width="540" height="405"></TD></TR><TR><TD bgColor=#333333 width="540"><SPAN class=whitetext>{photodescription}</SPAN></TD></TR></TBODY></TABLE><BR>';
album_prevphoto_btn = '<a class=nav href="{prevpageURL}">Previous</A> |';
album_nextphoto_btn = '| <a class=nav href="{nextpageURL}">Next</A>';
album_firstphoto_btn = '';
album_viewthumbnails_btn = '<a class=nav href="{albumthumbnailURL}">Photo Index</A>';



// ***********************************
// **** SITES USING FLASH:        ****
// ***********************************

// If site uses Flash then adjust the following code as needed for each movie
// Code will remove the "click here to activate" Flash in IE and also check the flash version properly

var requiredFlashMajorVersion = 6;  // Major version of Flash required
var requiredFlashMinorVersion = 0; // Minor version of Flash required
var requiredFlashRevision = 0; // Revision of Flash required

var hasRightFlashVersion = DetectFlashVer(requiredFlashMajorVersion, requiredFlashMinorVersion, requiredFlashRevision);

function LoadFlashMovie(movietoload,alturl) {
 if(!hasRightFlashVersion) { 
 	if (alturl != '') {
 		this.location.href = alturl;
 	} 	
 } else {
	 document.write('<center>'); 
	 
	 // Have 1 "movietoload" line for each movie in the site or document	
	 // Syntax: showFlash(URL,height,width,bgcolor,wmode,name,play)  set wmode=Opaque if site has dropdown menus
 	 //if (movietoload == 'annual2006') { showFlash("files/annual2006.swf",400,600,"ffffff","Window",movietoload,-1); }
 	 
 	 document.write('</center>');
 }
}


// ***********************************
// **** SITES USING COLLAPSE MENU ****
// ***********************************

//var swmenucount=10; // Total number of menus
// Override next two in the Header as needed
//var swmenucurrent=0; // The current menu item (expanded by default)
//var swmenuopen=0; // Keep this menu open all times (use 0 to disable this feature)

//function initimages() {
//	standard = new MakeArray(swmenucount);
//	over = new MakeArray(swmenucount);

//	standard[1].src="images/Home.gif";
//	over[1].src="images/Home-on.gif";

//	standard[2].src="images/MeetTheFirm.gif";
//	over[2].src="images/MeetTheFirm-on.gif";
//}

//initimages();
