var chaW = document.body.scrollWidth;
var resizeWindow_timerHandle=null;
//resizeWindow_startResize();
function resizeWindow_startResize()
{
try{
if(document.body.clientWidth < document.body.scrollWidth)
{
chaW+=100;
if(chaW > screen.availWidth)
{
chaW = screen.availWidth;
window.moveTo(0,0);
document.body.style.overflowX="auto";
}
window.resizeTo(chaW,500);
if(chaW < screen.availWidth) resizeWindow_timerHandle=setTimeout("resizeWindow_startResize()",100);
}
else
if(resizeWindow_timerHandle) clearTimeout(resizeWindow_timerHandle);
}catch(E){}
}