/********************************************************************
 WN Archive JavaScript Functions - V 1.3a
 Author: The e.Lib, Inc. Team
 Site URL: http://www.elib.com/include/js/
*********************************************************************/
var gotlayers = 0;
var ns4=(document.layers) ? true:false;
var ns6=(document.getElementById) ? true:false;
var ie4=(document.all) ? true:false;
var ie5=false;
if(ie4){
 if((navigator.userAgent.indexOf('MSIE 5')> 0) ||
    (navigator.userAgent.indexOf('MSIE 6')> 0)) {
  ie5=true;
 }
 if(ns6){
  ns6=false;
 }
}
ver4 = (ns4 || ie4 || ie5 || ns6) ? 1 : 0;

function openWindow(theURL,winName,features) {
  features="resizable=yes,"+features;
  window.open(theURL,winName,features);
}
function launchzoom() {
  w=screen.width*0.7;
  h=screen.height*0.7;
  w=780;
  h=580;
  open('http://www.rsarchive.org/Maps/zoommap/index.php?MAP=%2FMaps%2Fimages%2Feurope06a.png&SMALLMAP=%2FMaps%2Fimages%2Feurope06as.png&MAPNAME=Map+of+Europe+after+World+War+I&INFO=Map+of+Europe%0D%0ANational+borders+after+the+First+World+War&TTF_SIZE=25&TITLECOLOR=F0F0F0&INFOCOLOR=010101','zoommap','width='+w+',height='+h+',scrollbars=no,resizable=yes,toolbar=no,status=0,menubar=false');
}
function popUp(menuName,on) { }
function moveLayers() { }
function mouse_over(imageNum) {
  var name;
  name = "status"+imageNum;
  window.status = eval(name);
  return true;
}
function mouse_out(imageNum) {
  var name;
  window.status = " ";
  return true;
}
function showMenu() {
 self.name="sitemain"; // names current window as "main"
 var windowprops="toolbar=0,location=0,directories=0,status=0, " +
     "menubar=0,scrollbars=1,resizable=1,left=40,top=40,width=180,height=450";
 OpenWindow=window.open("http://www.rsarchive.org/menu.php","menu",windowprops);
}
function setVariables(){
 if(navigator.appName == "Netscape") {
  v=".top=";h=".left=";dS="document.";sD="";
  y="window.pageYOffset";x="window.pageXOffset";
  iW="window.innerWidth";iH="window.innerHeight"
 }else{
  h=".pixelLeft=";v=".pixelTop=";dS="";sD=".style";
  y="document.body.scrollTop";x="document.body.scrollLeft";
  iW="document.body.clientWidth";iH="document.body.clientHeight"
 }
 object="logo";
 ystart=eval(y);
 xstart=eval(x);
}
var statusCheck=null;
window.focus();
