// JavaScript Document

function drawRays2() {
	var ua = navigator.userAgent.toLowerCase();
	var w1 = 0;
	var w2 = 0;
	isIE = (ua.indexOf("msie") != -1 && ua.indexOf("opera") == -1); 
	isGecko = (ua.indexOf("gecko") != -1);
	isOpera = (ua.indexOf("opera") != -1); 
	isChrome = (ua.indexOf("chrome") != -1)
	if (isIE) {
		w1 = (screen.width - 1000)/2 + 1;
		/*w2 = screen.width - 1001 - w1;*/
		w2 = screen.width - 1007 - w1;
	}
	if ( isGecko ) {
		w1 = (screen.width - 1000)/2 + 1;
		w2 = screen.width - 996 - w1;
		//if (isGecko) {w1 = w1 + 1;}
	}
	if (isOpera) {
		w1 = (screen.width - 1000)/2 + 1;
		w2 = screen.width - 996 - w1;
	}
	if (isChrome) {
		w1 = (screen.width - 1000)/2 + 1;
		w2 = screen.width - 996 - w1;
	}

	document.getElementsByTagName("body")[0].style.width = document.body.clientWidth + "px";
	// Left ray
	document.getElementById("left-ray").style.display = "block";
	document.getElementById("left-ray").style.width = w1 + "px" ;
	document.getElementById("left-ray").style.height = "1000px" ;
	// Right Ray
	document.getElementById("right-ray").style.display = "block";
	document.getElementById("right-ray").style.width = w2 + "px" ;
	document.getElementById("right-ray").style.height = "1000px" ;
}

function drawRays() {
}

