var pageHeight;var pageWidth;var mykid;var myImg;function showCurtain(){pageHeight=(document.height!=undefined)?document.height:document.body.offsetHeight;pageWidth=(document.width!=undefined)?document.width:document.body.offsetWidth;
if(document.documentElement.clientHeight>pageHeight){pageHeight=document.documentElement.clientHeight}if(window.innerHeight){pageHeight=(window.innerHeight>pageHeight?window.innerHeight:pageHeight)}var a=document.getElementById("divCurtain");
a.style.height=(Math.ceil(pageHeight))+"px";a.style.width=Math.ceil(pageWidth)+"px";a.style.display="block"}function hideCurtain(){if(mykid){mykid.style.display="none"}document.getElementById("divCurtain").style.display="none"
}function showPopup(b,c){var a=document.all?((document.compatMode&&document.compatMode!="BackCompat")?document.documentElement:document.body).scrollTop:pageYOffset;var d=document.getElementById(c);mykid=document.getElementById(b);
mykid.style.position="absolute";mykid.style.display="block";mykid.style.top=(200+a)+"px";mykid.style.left=(Math.ceil(pageWidth)/2-parseInt(d.width)/2)+"px";mykid.style.zIndex="1000"}function showPic(d,c,a){var b=document.getElementById("curtainImg");
b.src=d;b.height=a;b.width=c;showCurtain();showPopup("divCurtainChild","curtainImg")};
