<!--
// reloads the window if NS4 is resized
if(document.layers){
    origWidth=innerWidth;
    origHeight=innerHeight;
    onresize=function(){
        if(innerWidth!=origWidth||innerHeight!=origHeight) {
            location.reload();
        }
    }
}

// window opener ( Scroll: yes|no|1|0 -default=0 )
function openWin(Url,Name,Width,Height,Scroll) {
    if (navigator.appVersion>="4") {
        var windowW = Width;
        var windowH = Height;
        var windowX = Math.ceil( (window.screen.width  - windowW) / 2 );
        var windowY = Math.ceil( (window.screen.height - windowH) / 2 );
        window.open(Url,Name,'left='+windowX+',top='+windowY+',width='+Width+',height='+Height+',scrollbars='+Scroll+',location=no,menubar=no,toolbar=no,status=no,copyhistory=no');
    } else {
        window.open(Url,Name,'width='+Width+',height='+Height+',scrollbars='+Scroll+',location=no,menubar=no,toolbar=no,status=no');
    }
}
//-->
