function blueBar(n, s) {
	blue=document.getElementById(n);
	blue.style.display=(s==0?'none':'block');
}

// --------------------------------------- \\
//  This code for browser detection

		var isNS=0; var isIE=0; var isOtherBrowser=0; // One of these will be true.
		var isMac=0; var isPC=0; var isOtherOS=0; // One of these will be true.
	
		if (navigator.appName.indexOf('Netscape') != -1 ) { isNS=1; }
		else  if (navigator.appName.indexOf('Microsoft Internet Explorer') !=-1 ) { isIE=1; }
		else { isOtherBrowser=1; }
		if (navigator.appVersion.indexOf('Mac') != -1 ) { isMac=1; }
		else if (navigator.appVersion.indexOf('Win') != -1 ) { isPC=1; }
		else { isOtherOS=1; }
		browserVersion=parseInt(navigator.appVersion);
// --------------------------------------- //

function moveObjects()
{
	if ((isIE==1)&&(isMac==1)) {
		heightS=arrowTop=document.body.clientHeight;
		var obj=document.getElementById("mainplate");
		obj.style.top=Math.floor(heightS*0.08).toString()+"px";
		obj=document.getElementById("happenplate");
		obj.style.top=Math.floor(heightS*0.35).toString()+"px";
		obj=document.getElementById("thumbsplate");
		obj.style.top=Math.floor(heightS*0.50).toString()+"px";
	}
}

function moveDownArrow()
{
	if ((isIE==1)) {
		arrowTop=(document.body.clientHeight>0?document.body.clientHeight-100:300);
		var obj=document.getElementById("downArrow");
		obj.style.top=arrowTop+"px";
	}
}

function getCookie(name)
{
	if (document.cookie!="") {
		cookieArray=document.cookie.split("; ");
		for (i=0; i<cookieArray.length; i++) {
			z=cookieArray[i].split("=");
			if (z[0]==name) return z[1];
		}
	}
	return 0;
}