if (window.Event)document.captureEvents(Event.MOUSEUP);document.onmouseup = display;var clickmessage="Please write me if you are \"right-clicking\" in order to save a photograph to disk, I'm sure we can work something out."function disableclick(e) {if (document.all) {if (event.button==2||event.button==3) {if (event.srcElement.tagName=="IMG"){alert(clickmessage);return false;}}}else if (document.layers) {if (e.which == 3) {alert(clickmessage);return false;}}else if (document.getElementById){if (e.which==3&&e.target.tagName=="IMG"){alert(clickmessage)return false}}}function associateimages(){for(i=0;i<document.images.length;i++)document.images[i].onmousedown=disableclick;}if (document.all)document.onmousedown=disableclickelse if (document.getElementById)document.onmouseup=disableclickelse if (document.layers)associateimages()function maximizeWin() {if (window.screen) {var aw=screen.availWidth; /* get the screen width */var ah=screen.availHeight; /* get the screen height */if (aw >= 1024) { /* check for 1024 x 768 resolution or greater */aw = 1024ah=screen.availHeightAvailaWidth=screen.availWidth-1024margin=AvailaWidth/2window.moveTo(margin,0);window.resizeTo(aw, ah);} else {if (aw <= 1023) { /* check for 800 x 600 resolution or smaller */aw=screen.availWidth;ah=screen.availHeight;window.moveTo(0,0);window.resizeTo(aw, ah);}}}}maximizeWin()if (window != top) top.location.HREF = location.HREF;self.focus();
