﻿// JScript File - LDM (D de Alwis - White Loop Ltd. Mar 2009)

//<![CDATA[
/* -- a fix for image flickering in IE6 --  */
try {
    document.execCommand("BackgroundImageCache", false, true);
} catch(err) {}
//]]>

function dosize() {
    
    var iWidth = 1000;
    var iHeight = 780;
    if ((document.body.clientWidth <= iWidth) || (document.body.clientHeight <= iHeight)) {
        //alert("size: " + document.body.clientWidth + "x" + document.body.clientHeight);
        
        self.resizeTo(iWidth,iHeight);
        return true;
    }
}

