function XY(i) {
 (d.layers)?d[i].width=1:d[i].width=1;
 (d.layers)?d[i].height=1:d[i].height=1;
 this.y=(d.layers)?d[i].y:d[i].offsetTop;
}
function hi(){
 (window.innerWidth)?ww=window.innerWidth:ww=document.body.clientWidth; 
 tY=new XY('top');
 bY=new XY('base');
 l.style.width=ww+"px";
 l.style.height=(bY.y-tY.y)+"px";
 l.style.top=tY.y+"px";
 l.style.left="0px";
}
d=document;
winw=772;
l=d.getElementById('l1');
window.onresize=hi;
window.onload=hi;





