function Redimensiona(w,h) {
	if (w==0&&h==0) {
	   w=screen.availWidth;
	   h=screen.availHeight;
	   top.window.moveTo(0,0);
	}
	var larguraBrowser=(document.all?document.body.clientWidth:window.innerWidth);
	var alturaBrowser =(document.all?document.body.clientHeight:window.innerHeight);
	if (larguraBrowser<w-28||alturaBrowser<h-125)
	   if (document.all)
		  top.window.resizeTo(w,h);
	   else if (document.layers||document.getElementById) {
		        top.window.outerWidth = w;
				top.window.outerHeight = h;
		    }
}
setInterval("Redimensiona(800,600)",50);