var x; var y; var t; var l;
if (self.innerWidth) {x = self.innerWidth; y = self.innerHeight;
}else if (document.documentElement && document.documentElement.clientHeight) {
   x = document.documentElement.clientWidth; y = document.documentElement.clientHeight;
}  else if (document.body) {
   x = document.body.clientWidth; y = document.body.clientHeight;

}

if (x>800) {l=(x-780)/2;}  if (y>600) {t=(y-580)/2;} 
document.writeln("<style>#w {top:"+t+"px; left:"+l+"px;}</style>");

//window.onresize = resize;

function resize() {
   window.location.href=window.location.href;
}

document.writeln("<div id=vmv><img src=img/vmv.gif></div>");