<!-- Begin

// XML SLIDESHOW OPTIONS

// COPYRIGHT 2011 © Lakes Web Design
// Unauthorized use or sale of this script is strictly prohibited by law




var showflash		= "yes"			// SHOW FLASH XML SLIDESHOW
var flashwC		= "600"			// WIDTH OF THE FLASH XML SLIDESHOW
var flashhC		= "400"			// HEIGHT OF THE FLASH XML SLIDESHOW
var orientation		= "landscape"		// ORIENTATION | landscape | portrait |
var flashColor		= "000000"			// XML SLIDESHOW BACKGROUND COLOR (Edit in CSS)
var slidefile		= "slideshows/slideshow1.xml"	// XML SLIDESHOW NUMBER






// YOU DO NOT NEED TO EDIT BELOW THIS LINE

document.write('<table cellpadding="0" cellspacing="0" border="0" width="'+flashwC+'" height="'+flashhC+'" bgcolor="#'+flashColor+'" class="slideshows"><tr><td align="center" valign="middle">');


// FLASH XML SLIDESHOW WITH DETECTION VER 1.0

   if (showflash == "yes") {

// Version check based upon the values entered above in "Globals"
var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);

// Check to see if the version meets the requirements for playback
if (hasReqestedVersion) {
	// if we've detected an acceptable version
	// embed the Flash Content SWF when all tests are passed



	AC_FL_RunContent(
				"src", "slideshows/slideshow-"+orientation,
				"width", flashwC,
				"height", flashhC,
				"align", "middle",
				"id", "detectionExample",
				"quality", "high",
				"wmode", "transparent",
				"flashvars", "xmlFile="+slidefile,
				"bgcolor", "#"+flashColor,
				"name", "detectionExample",
				"allowScriptAccess","sameDomain",
				"type", "application/x-shockwave-flash",
				'codebase', 'http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab',
				"pluginspage", "http://www.adobe.com/go/getflashplayer"
	);
} else {  // flash is too old or we can't detect the plugin
	var alternateContent = '<span class="title">Unable to view animation</span><br>'

  	+ 'Flash player version ' + GetSwfVer() + ' was detected on your browser.<br>'

  	+ 'This content requires the latest Flash Player.<br>'
   	+ '<a href="http://get.adobe.com/flashplayer/">Click Here to Get Flash<br><br>'
	+ '<img src="picts/get_flashplayer.gif" border="0" alt="Get Flash"></a><br>';

;
	document.write(alternateContent);  // insert non-flash content



}


}
else {

document.write('Slideshow Off<br>');

}


document.write('</td></tr></table>');


// -->
