function rsesize(){
	var windowheight = document.documentElement.clientHeight;
	var winH = document.body.offsetHeight;
	ele1=document.getElementById('container'); ele2=document.getElementById('content'); ele3=document.getElementById('header');
	if (ele1.offsetHeight < windowheight){
		ele2.style.height = windowheight  +'px';
	}
}
function exitDom(){ document.getElementById("dom").style.display="none";document.getElementById("dominner").innerHTML="";}
function submitQuery (qString){ xmlhttp.open("REQUEST",qString,true);xmlhttp.send(); }
function browserType(){	if (window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest(); } else { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } }
function responce(){ xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("dominner").innerHTML=xmlhttp.responseText; } } }
function zoomPic(i){ exitDom();  var ele=document.getElementById("dom"); var ele2=document.getElementById("dominner"); ele.style.marginLeft="100px"; ele.style.display="block"; browserType(); 	responce(); var qString='zoom.php?l='+i; submitQuery(qString);}
function picx(i) { document.getElementById("bigi").innerHTML="<img src="+i+" style='width:600px; max-height:500px;'>"; }

