function detect() {
	var theHeight;
	// Window dimensions:
	if (window.innerHeight) {
	theHeight=window.innerHeight;
	}
	else if (document.documentElement && document.documentElement.clientHeight) {
	theHeight=document.documentElement.clientHeight;
	}
	else if (document.body) {
	theHeight=document.body.clientHeight;
	}
	document.getElementById("home_bg").style.height=theHeight-268 + "px";
	//alert(theHeight);
}

