function resizeWindow(){
	if(!document.images.length){document.images[0]=document.layers[0].images[0];}
	var oH=document.images[0].height+65,oW=document.images[0].width+40;
	if(!oH||window.doneAlready){return;} // if images are disabled, end the script
	window.doneAlready=true; //fixes onload issues with Opera and Safari
	var x=window;x.resizeTo(oW+10,oH+10);
	var myW=0,myH=0,d=x.document.documentElement,b=x.document.body;
	if(x.innerWidth) //FF
		{myW=x.innerWidth;myH=x.innerHeight+40;}
	else if(d&&d.clientWidth) //IE
		{myW=d.clientWidth+20;myH=d.clientHeight+40;}
	else if(b&&b.clientWidth) //Op?
		{myW=b.clientWidth;myH=b.clientHeight;}
	if(window.opera&&!document.childNodes){myW+=16;}
	x.resizeTo(oW=oW+((oW+10)-myW),oH=oH+((oH+10)-myH));
	x.focus();
}