
////////////// GET PLATFORM, BROWSER, BROWSER VERSION & FLASH PLUGIN //////////////

	isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
	isWin = (navigator.appVersion.indexOf("Windows") != -1) ? true : false;
	isMac = (navigator.appVersion.indexOf("Mac") != -1) ? true : false;
	if(navigator.appVersion.indexOf("MSIE") !=-1 ) {
		BrowVerTemp = navigator.appVersion.split("MSIE");
		BrowVer = parseFloat(BrowVerTemp[1])
	} else {
		BrowVer = 0;
	}
	requiredVersion = 5;
	flash2Installed = false;
	flash3Installed = false;
	flash4Installed = false;
	flash5Installed = false;
	flash6Installed = false;
	maxVersion = 6;
	actualVersion = 0;
	jsVersion = 1.1;
	output = '';
	if(isIE && isWin) {
		document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n');
		document.write('on error resume next \n');
		document.write('flash2Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.2"))) \n');
		document.write('flash3Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.3"))) \n');
		document.write('flash4Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4"))) \n');
		document.write('flash5Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5"))) \n');
		document.write('flash6Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6"))) \n');
		document.write('</SCR' + 'IPT\> \n');
	}

////////////// UNKNOWN BROWSER REDIRECT //////////////

	if( (isMac) && (isIE) && (BrowVer >= 5.0) ) detectFlash();
	else if( (isWin) && (isIE) && (BrowVer >= 5.0) ) detectFlash();
	else location.href = "nobrowser.html";

////////////// WRONG OR NO FLASH PLUGIN REDIRECT //////////////

	function detectFlash() {
		if (navigator.plugins) {
			if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
				isVersion2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
				flashDescription = navigator.plugins["Shockwave Flash" + isVersion2].description;
				flashVersion = parseInt(flashDescription.charAt(flashDescription.indexOf(".") - 1));
				flash2Installed = flashVersion == 2;
				flash3Installed = flashVersion == 3;
				flash4Installed = flashVersion == 4;
				flash5Installed = flashVersion == 5;
				flash6Installed = flashVersion >= 6;
			}
		}
		for (var i = 2; i <= maxVersion; i++) {
			if (eval("flash" + i + "Installed") == true) actualVersion = i;
		}
		if(navigator.userAgent.indexOf("WebTV") != -1) actualVersion = 3;
		if (actualVersion >= requiredVersion) {
			output += '';
		} else {
			location.href = '/graphics/bogo/noflash.html';
		}
	}

////////////// DROP DOWN TOP MENU //////////////

	timerID=null;
	timerOn=false;
	timecount=200;
	what=null;
	newbrowser=true;
	check=false;
	function reDo() {
		window.location.reload()
	}
	window.onresize=reDo;
	function init() {
		if(document.all) {
			layerRef="document.all"; styleSwitch=".style"; visibleVar="visible";
			what ="ie";
		}
		else if(document.getElementById) {
			layerRef="document.getElementByID"; styleSwitch=".style"; visibleVar="visible";
			what="moz";
		}
		else{
			what="none";
			newbrowser=false;
		}
	check = true;
  	}
	function showLayer(layerName) {
		if(check) {
			if(what=="none") return;
			else if(what=="moz") document.getElementById(layerName).style.visibility="visible";
			else eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="visible"');
		}
		else return;
	}
	function hideLayer(layerName){
		if(check) {
			if(what=="none") return;
			else if(what=="moz") document.getElementById(layerName).style.visibility="hidden";
			else eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="hidden"');
		}
		else return;
	}
	
	
	
	function startTime() {
		if(timerOn==false) {
			timerID=setTimeout("hideAll()",timecount);
			timerOn=true;
		}
	}
	function stopTime() {
		if(timerOn) {
			clearTimeout(timerID);
			timerID = null;
			timerOn = false;
		}
	}
	function onLoad() {
		init();
	}


////////////// SCRIPT FOR MOVING IFRAMEZ AROUND THE SCREEN //////////////

function mover(oID,startPos){
if (oID.style.left >= '300'){
}
else{
oID.style.left = startPos+1 ;
}
}


var beginposition=-200;
var shouldmove=true;

function mover()
{
  if ( shouldmove==true )
  {
    beginposition++;
    if (beginposition>=38)
    {
      shouldmove=false;
    }
  }
  square.style.top=beginposition+'px';
  window.setTimeout("mover();", 0);  
}



