var win = null; function NewWindow(mypage,myname,w,h,scroll) { window.name = 'CreationsBasis'; LeftPosition = (screen.width) ? (screen.width-w)/2 : 0; TopPosition = (screen.height) ? (screen.height-h)/2 : 0; settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable=no' var win = window.open(mypage,myname,settings) win.focus(); } function ShowPopup(InfoURL,Naam,B,H,SB) { if (SB == 'R') { R = '1'; SB ='0'; } else { R = '0'; } // open the popup window window.name = 'Westlittoral'; var popupURL = InfoURL; var popup = window.open(popupURL,Naam,'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars='+SB+',resizable='+R+',width='+B+',height='+H); // set the opener if it's not already set. it's set automatically // in netscape 3.0+ and ie 3.0+. if( navigator.appName.substring(0,8) == "Netscape" ) { popup.location = popupURL; } popup.focus(); } function changeIt(ImageToChange, ImageToShow) { if (document.images) { document[ImageToChange].src = ImageToShow; } } function printThis() { if (!window.print) { alert("You need a 4.x browser or better to use this print button!") return } window.print() }