$(document).ready(function(){
	setDivHeight();
	openPage('http://brickpark.se/clients/entombed/');
});

function setDivHeight() {
	if (parseInt(navigator.appVersion)>3){
		if (window.innerHeight){
			h = window.innerHeight;
		}else if (document.documentElement && document.documentElement.clientHeight) {
			h = document.documentElement.clientHeight;
		}else if (document.body) { // other Explorers
			h = document.body.clientHeight;
		}
		//h -= 5;
		$("#container").css("height",h);
		$("#entombedframe").css("height",h);
	}
}

function openPage(url){
	$("#entombedframe").attr("src",url);
}
