// preload images
//mlo = new Image();
//mlo.src = "/_img/overtoo.gif";
// functions


mc=new Array();
mc[0]='5527633062245059552360522758245231592333573039';
mc[1]='5552276239596032302359525730342324555756345524523233573039';
mc[2]='6355325963603531323058345724236252306033573039';

function boat(e) {
op='';chars='st2-n74opr.uyqz9m:0vwk_5x16hjab3igcdel8@f'; m='39525560243040';
inp=m+mc[e];for(i=0; i<inp.length; i+=2) {id=parseInt(inp.substr(i,2));op+=chars.charAt(id-23);}
window.location.href= op;
}


//
function popup(theImage) {
theURL='../popwinf70c.html?i=' + theImage;
winName="imagewin";
features='top=50,left=50,width=780,height=600 ';
window.open(theURL,winName,features);
}
//

var warning="WARNING:\nThese Pictures are Copyright\n Scottish Screen Archive\nThey are not Public Domain,\nand should NOT be taken from this site."; // Message for the alert box

isIE=document.all;
isNN=!document.all&&document.getElementById;
isN4=document.layers;

if (isIE||isNN){
document.oncontextmenu=checkV;
}else{
document.captureEvents(Event.MOUSEDOWN || Event.MOUSEUP);
document.onmousedown=checkV;
}

function checkV(e){
alert(warning);
return false;}



