defaultStatus="The Road Transport Fleet Data Society";
function Smsg(w) {window.status=w};
function Photo() {window.status="Click to see fullsize photo"};
function Bar()   {window.status=""};

document.oncontextmenu = function(){return false};

if (document.layers) {
    origWidth = innerWidth;
    origHeight = innerHeight;
    window.captureEvents(Event.MOUSEDOWN);
    window.onmousedown = function(e){
        if(e.target==document)return false;
    }
}
else {
    document.onmousedown = function(){return false};
}

function reloadPage() {
   if (innerWidth != origWidth || innerHeight != origHeight)
      location.reload();
   }      

if (document.layers) onresize = reloadPage;

function popup(whereto) { 
  var logWindow;
  var toppy;  var lefty;  toppy = (screen.height-340)/2;  lefty = (screen.width-370)/2;
  logWindow =window.open('','EmailWindow','width=370,height=340,top='+toppy+', left='+lefty);      logWindow.document.open();
  logWindow.document.location.href=whereto;
  logWindow.document.close();
  logWindow.document.focus();}
