function showUnderDiv(){
	GE("underdiv").style.display="block";
	GE("underdiv").style.left="0px";
	GE("underdiv").style.top="0px";
	GE("underdiv").style.width=document.documentElement.scrollWidth+"px";
	GE("underdiv").style.height=document.documentElement.scrollHeight+"px";
	}
function showDiv(divID){
	if(GE("loading") && ($("#"+divID+":has(iframe)").html()!=null))
	{
		GE("loading").style.zIndex=1005;
		GE("loading").style.display = "block";
		//vertical align in window	
		//GE("loading").style.top=document.documentElement.scrollTop+(document.documentElement.clientHeight-GE("loading").offsetHeight)/2+"px";
		//vertical aling in contentConainer div
		GE("loading").style.top = "260px";
		GE("loading").style.left=(document.documentElement.scrollWidth-GE("loading").offsetHeight)/2+"px";
		}
	GE(divID).style.display="block";
	if(document.documentElement.clientHeight>GE(divID).offsetHeight)
		{
	//vertical align in window		//GE(divID).style.top=document.documentElement.scrollTop+(document.documentElement.clientHeight-GE(divID).offsetHeight)/2+"px";
			//vertical aling in contentConainer div
			if(540 > GE(divID).offsetHeight)
			GE(divID).style.top=parseInt(document.getElementsByTagName("div")[0].style.marginTop.replace("px",""))+(540-GE(divID).offsetHeight)/2+"px";
			else
			{
				GE(divID).style.top=document.documentElement.scrollTop+(document.documentElement.clientHeight-GE(divID).offsetHeight)/2+"px";
				}
		}
	else {
		GE(divID).style.top = 20 + "px";
		GE(divID).style.paddingBottom = 20 + "px";
		}
	GE(divID).style.left=(document.documentElement.scrollWidth-GE(divID).offsetWidth)/2+"px";
	showUnderDiv();
}

function hideDiv(divID){
	if(GE("back"))
	{
		GE("back").style.display = "none";
		}
	GE(divID).style.display="none";
	GE("underdiv").style.display="none";
	if($("#"+divID+":has(iframe)").html()!=null)
	{
		$("#"+divID+" iframe").attr("src","blank.html");
		}
	if(GE("loading").style.display == "block")
	{
		GE("loading").style.display = "none";
		}
}

function hideOneDiv(divID){
	if(GE("reservationFormWrapper").style.display!="none")
	{
		(navigator.appVersion.indexOf("MSIE") != -1)? GE("reservationFormWrapper").style.filter = "" : GE("reservationFormWrapper").style.opacity = 1;
		}
	GE(divID).style.display="none";
	}