<!-- 

var fW = "968px";
var fH = "516px";

var bkgColor = "000000"; //"04152F";

// Version check for the Flash Player that has the ability to start Player Product Install (6.0r65)
var hasProductInstall = DetectFlashVer(6, 0, 65);

// Version check based upon the values entered above in "Globals"
var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);

// Location visited after installation is complete if installation is required
var MMredirectURL = window.location;

// Stored value of document title used by the installation process to close the window that started the installation process
// This is necessary to remove browser windows that will still be utilizing the older version of the player after installation is complete
// DO NOT MODIFY THE FOLLOWING TWO LINES
var originalTitle = document.title;
document.title = document.title.slice(0, 47) + " - Flash Player Installation";
var MMdoctitle = document.title;

// Check to see if a player with Flash Product Install is available and the version does not meet the requirements for playback
if ( hasProductInstall && !hasReqestedVersion ) {
	var productInstallOETags = '<div id="playerProductInstall">'
						+ '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
						+ 'width="100%" height="100%"'
						+ 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
						+ '<param name="movie" value="flash/playerProductInstall.swf?MMredirectURL='+MMredirectURL+'&MMplayerType=ActiveX&MMdoctitle='+MMdoctitle+'" />'
						+ '<param name="quality" value="high" /><param name="bgcolor" value="#'+bkgColor+'" />'
						+ '<embed src="flash/playerProductInstall.swf?MMredirectURL='+MMredirectURL+'&MMplayerType=PlugIn" quality="high" bgcolor="#'+bkgColor+'"'
						+ 'width="100%" height="100%" name="detectiontest" align="middle"'
						+ 'play="true"'
						+ 'loop="false"'
						+ 'quality="high"'
						+ 'allowScriptAccess="sameDomain"'
						+ 'type="application/x-shockwave-flash"'
						+ 'pluginspage="http://www.macromedia.com/go/getflashplayer">'
						+ '</embed>'
						+ '</object>'
						+ '</div>';
	document.write(productInstallOETags);   // embed the Flash Product Installation SWF
} else if (hasReqestedVersion) {  // if we've detected an acceptable version
	document.title = originalTitle;
	var oeTags = '<div id="flashcontainer" style="position: absolute; left:0; top:0; width:100%; height:100%;">'
			+ '<object name="flashObject" id="flashObject" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
			+ 'width="100%" height="100%"'
			+ 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
			+ '<param name="movie" value="flash/deepend.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#'+bkgColor+'" /><param name="base" value="." /><param name="SeamlessTabbing" value="false" />'
			+ '<embed src="flash/deepend.swf" quality="high" bgcolor="#'+bkgColor+'" base="." SeamlessTabbing="false"'
			+ 'width="100%" height="100%"'
			+ 'name="flashObject" align="middle"'
			+ 'play="true"'
			+ 'loop="false"'
			+ 'quality="high"'
			+ 'allowScriptAccess="sameDomain"'
			+ 'type="application/x-shockwave-flash"'
			+ 'pluginspage="http://www.macromedia.com/go/getflashplayer">'
			+ '</embed>'
			+ '</object>'
			+ '</div>';
	document.write(oeTags);  // embed the Flash Content SWF when all tests are passed
	//
	onLoadFlashContainer();
	//
	if (window.attachEvent) {
		window.attachEvent("onresize", resizeFlashContainer);
		window.document.flashObject.focus();
	} else
		window.addEventListener("resize", resizeFlashContainer, false);
} else {  // flash is too old or we can't detect the plugin
	document.title = originalTitle.slice(0, 46) + " - Please Upgrade Flash Player";
	var alternateContent = '<table width="100%" height="100%" border="0" cellpadding="20" cellspacing="0"><tr><td align="center">'
					+ '<div style="width:580px; text-align:left; margin:0 auto 0 auto;"><strong style="font-size:16px;">Hi and welcome to Deepend!</strong><br><br>'
					+ 'If you have reached this page on our website, it is because we have been able to detect that you do not have the latest version of Macromedia Flash Player installed on your computer.<br><br>'
					+ 'If you would like to continue and view a version of the site that is optimized for screen-readers and people with reading disabilities that does not require the Flash Player, <a href="accessibility/">Click Here</a>.<br><br><br>'
					+ '<strong>Enhanced Flash version of the site</strong><br><br>'
					+ 'Alternatively, if you would like to download the Macromedia Flash Player plug-in now and view our enhanced site, <a href="http://www.macromedia.com/go/getflash/">Click Here</a>.<br><br><br>'
					+ 'We hope you enjoy the site.<br><br><br>'
					+ '<img src="images/logo_deepend.gif" border="0" alt="Deepend - Design Strategy and Creative Solutions" align="right"></div>'
					+ '</td></tr></table>';
	
	/*var alternateContent = '<table width="100%" height="100%" border="0" cellpadding="20" cellspacing="0"><tr><td align="center">'
					+ '<b>FLASH PLAYER IS TOO OLD</b> or<br /><b>WE CAN\'T DETECT THE FLASH PLAYER</b><br /><br /><br />'
					+ 'This content requires the Macromedia Flash Player.<br /><br /><br />'
					+ '<a href=http://www.macromedia.com/go/getflash/><b>Click here</b> to download the Flash Player now.</a><br /><br /><br />'
					+ '<img src="images/deepend.gif" border="0" alt="Deepend - Design Strategy and Creative Solutions">'
					+ '</td></tr></table>';*/
	document.write(alternateContent);  // insert non-flash content
}
// -->