// #############################################
// these are the user defined globals
// modify the following variables to customize the inspection behaviour

var requiredVersion = 4;			// version the user needs to view site (max is 5, min is 2)
var useRedirect = true; 			// "true" loads new flash or non-flash page into browser
									// "false" embeds movie or alternate html code into current page

// set next three vars if useRedirect is true...
var flashPage = "movie.html"		// the location of the flash movie page
var noFlashPage = "/homepagealt.html"	// send user here if they don't have the plugin or we can't detect it
var upgradePage = "/homepagealt.html"	// send user here if we detect an old plugin
									// make this same as noFlashPage if no upgradePage is desired

// flash movie HTML code
flashMovie =  '<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="757" HEIGHT="448"\n'
+ '	CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0">\n'
+ '<PARAM NAME="MOVIE" VALUE="flash/glen2.swf">\n'
+ '<PARAM NAME="PLAY" VALUE="true">\n'
+ '<PARAM NAME="LOOP" VALUE="false">\n'
+ '<PARAM NAME="QUALITY" VALUE="best">\n'
+ '<PARAM NAME="MENU" VALUE="false">\n'
+ '<EMBED SRC="flash/glen2.swf" WIDTH="757" HEIGHT="448"\n'
+ ' PLAY="true" LOOP="false" QUALITY="high" MENU="false"\n'
+ ' TYPE="application/x-shockwave-flash"\n'
+ ' PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">\n'
+ '</EMBED>\n'
+ '</OBJECT>\n';

// flash alternate experience HTML code
//flashAlternate = '<IMG SRC="non_flash_image.gif" WIDTH="550" HEIGHT="400">\n';

// #############################################


// *************
// everything below this point is internal until after the body tag
// do not modify! 
// *************

// system globals
var flashInstalled = 0;				// flashinstalled key:
									// 0 = unknown if flash is installed, detection methods not available
									// 1 = flash detection methods worked but did not find a flash plugin
									// 2 = a working version of flash was detected
var flashVersion = 0;				// version the user really has
var minVersion = 2;					// lowest version we can actually detect
var maxVersion = 5;					// highest version we can actually detect
