function doNothing(){return true}
window.onerror =doNothing
if (top.location!=self.location) { top.location=self.location; }

var message="";
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false");

function openPhoto(url, name, width, height, no_features)
{
if (width == null) { width = 440; }
if (height == null) { height = 450; }
var feature = 1;
if (no_features == 1) { feature = 0; }
var popup = window.open(url, name, "height="+height+",width="+width+",channelmode=0,dependent=0,directories=0,fullscreen=0"+",location=0,menubar=0,resizable="+feature+",scrollbars="+feature+",status="+feature+",toolbar=0");
popup.focus();
}
function exitPhoto() { window.close; }
