// popUp your window
function openWin(popUpPage) {
   awareWin = window.open(popUpPage, 'tht','width=760, height=600,toolbar=no,status=no,menubar=no,scrollbars=no'); 
}

var requiredVersion = 6;			// version the user needs to view site (max is 6, 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 = "/assets/flashbanner/default.asp"		// the location of the flash movie page
var noFlashPage = "/assets/flashbanner/THTnoFlash.html"		// send user here if they don't have the plugin or we can't detect it
var upgradePage = "/assets/flashbannerTHTnoFlash.html"		// send user here if we detect an old plugin


// Next comes the standard javascript detection that uses the 
// navigator.plugins array. We pack the detector into a function so it loads
// before we run it.

if (browser.isFlashEnabled) {
	MM_FlashCanPlay = true;
}

/*
var MM_contentVersion = 3;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin ) {
	        var words = navigator.plugins["Shockwave Flash"].description.split(" ");
	    for (var i = 0; i < words.length; ++i)
	    {
	        if (isNaN(parseInt(words[i])))
	        continue;
	        var MM_PluginVersion = words[i];
	    }
	var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0
	&& (navigator.appVersion.indexOf("Win") != -1)) {
	document.write('<scr' + 'ipt language="VBScript"\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
	document.write('on error resume next \n');
	//document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
	document.write('MM_FlashCanPlay = true))\n');
	document.write('</scr' + 'ipt\> \n');
}
*/
