function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}


if (document.images) {
        web1on = new Image();
        web1on.src = "images/web-rlr-on.jpg"; 
        web1off = new Image();
        web1off.src = "images/web-rlr-off.jpg";
        web2on = new Image();
        web2on.src = "images/web-stern-on.jpg"; 
        web2off = new Image();
        web2off.src = "images/web-stern-off.jpg";
        web3on = new Image();
        web3on.src = "images/web-redress-on.jpg"; 
        web3off = new Image();
        web3off.src = "images/web-redress-off.jpg";
        web4on = new Image();
        web4on.src = "images/web-ellis-on.jpg"; 
        web4off = new Image();
        web4off.src = "images/web-ellis-off.jpg";
        
        print1on = new Image();
        print1on.src = "images/print-alexholburn-on.jpg"; 
        print1off = new Image();
        print1off.src = "images/print-alexholburn-off.jpg";
        print2on = new Image();
        print2on.src = "images/print-security-on.jpg"; 
        print2off = new Image();
        print2off.src = "images/print-security-off.jpg";
        print3on = new Image();
        print3on.src = "images/print-rlr-on.jpg"; 
        print3off = new Image();
        print3off.src = "images/print-rlr-off.jpg";
        print4on = new Image();
        print4on.src = "images/print-lml-on.jpg"; 
        print4off = new Image();
        print4off.src = "images/print-lml-off.jpg";
        print5on = new Image();
        print5on.src = "images/print-legal-on.jpg"; 
        print5off = new Image();
        print5off.src = "images/print-legal-off.jpg";
        print6on = new Image();
        print6on.src = "images/print-chiuwebster-on.jpg"; 
        print6off = new Image();
        print6off.src = "images/print-chiuwebster-off.jpg";
        print7on = new Image();
        print7on.src = "images/print-darcy-on.jpg"; 
        print7off = new Image();
        print7off.src = "images/print-darcy-off.jpg";
        
	sitemap1on = new Image();
        sitemap1on.src = "images/sitemap-on.gif"; 
        sitemap1off = new Image();
        sitemap1off.src = "images/sitemap-off.gif";
}
function changeImages(){
        if(document.images){
                for (var i=0; i<changeImages.arguments.length; i+=2) {
                        document[changeImages.arguments[i]].src = eval(changeImages.arguments[i+1] + ".src");
                }
        }
}



function clearText(el) {
if (el.defaultValue==el.value) el.value = ""
}
