// 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" class="pa_header" height=42><table width="100%"><tr><td class="pa_header2">&nbsp;&nbsp;{albumdescription}</td><td align="right">{viewalbumsummary_btn}&nbsp;&nbsp;</td></tr></table></td></tr><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><br>{photodescription}</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 = 10;
//album_numitems_perthumbnailrow = 5;
//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 = '<a href="{albumsummaryURL}"><img src="images/pa_listalbums.jpg" alt="List Albums" border="0"></A>';

// ALBUM PHOTO VIEW (show one photo, full size, with navigation buttons)
//album_photoview_item = '<table width=90% align="center" cellspacing=0 cellpadding=0 border=0><tr><td class="pa_header" height=42>&nbsp;&nbsp;{photodescription}</td><td align="right" class="pa_header">{viewthumbnails_btn}&nbsp;&nbsp;</td></tr><tr><td><img src="images/blank.gif" height=10></td></tr></table><table width=90% align="center" cellspacing=0 cellpadding=0 border=0><tr><td class="pa_left" rowspan=2><img src="images/pa_left.jpg"></td><td width=100% align="center" class="pa_body"><br><img src="{photo}"></td><td class="pa_right" rowspan=2><img src="images/pa_right.jpg"></td></tr><tr><td align=left class="pa_body"><table width=90% align="center" cellspacing=5 cellpadding=5><tr><td>{prevphoto_btn}</td><td align=center>{firstphoto_btn}</td><td align=right>{nextphoto_btn}</td></tr></table></td></tr></table><br><br>';
//album_prevphoto_btn = '<a href="{prevpageURL}"><img src="images/pa_prevpage.jpg" alt="Previous Page" border="0"></A>';
//album_nextphoto_btn = '<a href="{nextpageURL}"><img src="images/pa_nextpage.jpg" alt="Next Page" border="0"></A>';
//album_firstphoto_btn = '<a href="{firstpageURL}"><img src="images/pa_firstpage.jpg" alt="First Page" border="0"></A>';
//album_viewthumbnails_btn = '<a href="{albumthumbnailURL}"><img src="images/pa_listthumbs.jpg" alt="Thumbnail View" border="0"></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)
 	 if (movietoload == 'homepagemovie') { showFlash("images/splash.swf",445,600,"ffffff","Opaque",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();
