<!-- ;
// compiled by John Lauria © 2002 - 2003

// define images

if(document.images) {

  image01 = new Image;
  image02 = new Image;
  image11 = new Image;
  image12 = new Image;
  image21 = new Image;
  image22 = new Image;
  image31 = new Image;
  image32 = new Image;
  image41 = new Image;
  image42 = new Image;
  image51 = new Image;
  image52 = new Image;
  image61 = new Image;
  image62 = new Image;
  image71 = new Image;
  image72 = new Image;
  image81 = new Image;
  image82 = new Image;
  image91 = new Image;
  image92 = new Image;
  image101 = new Image;
  image102 = new Image;
  image111 = new Image;
  image112 = new Image;

// source images

  image01.src = "../images/home_page.gif";
  image02.src = "../images/home_page1.gif";
  image11.src = "../images/written_history.gif";
  image12.src = "../images/written_history1.gif";
  image21.src = "../images/photographs.gif";
  image22.src = "../images/photographs1.gif";
  image31.src = "../images/museum_library.gif";
  image32.src = "../images/museum_library1.gif";
  image41.src = "../images/upcoming_events.gif";
  image42.src = "../images/upcoming_events1.gif";
  image51.src = "../images/book_store.gif";
  image52.src = "../images/book_store1.gif";
  image61.src = "../images/gift_shop.gif";
  image62.src = "../images/gift_shop1.gif";
  image71.src = "../images/links.gif";
  image72.src = "../images/links1.gif";
  image81.src = "../images/officers_directors.gif";
  image82.src = "../images/officers_directors1.gif";
  image91.src = "../images/join_us.gif";
  image92.src = "../images/join_us1.gif";
  image101.src = "../images/contact_us.gif";
  image102.src = "../images/contact_us1.gif";
  image111.src = "../images/oral_history.gif";
  image112.src = "../images/oral_history1.gif";

}

// MouseOver Function

function swapOn(imgLocation) {
  if(document.images) {
    document.images[imgLocation].src = eval(imgLocation + "2.src");
  }
}

// MouseOut Function

function swapOff(imgLocation) {
  if(document.images) {
    document.images[imgLocation].src = eval(imgLocation + "1.src");
  }
}

// preload hidden rollover buttons

  function WM_preloadImages() {

  /*
  WM_preloadImages()
  Loads images into the browser's cache for later use.
  (http://www.hotwired.com/webmonkey/javascript/code_library/) 

  Author: Nadav Savio
  Author Email: nadav@wired.com

  Usage: WM_preloadImages('image 1 URL', 'image 2 URL', 'image 3 URL', ...);
  */

  // Don't bother if there's no document.images
  if (document.images) {
  if (typeof document.WM == 'undefined'){
  document.WM = new Object();
  }
  document.WM.loadedImages = new Array();
  // Loop through all the arguments.
  var argLength = WM_preloadImages.arguments.length;
  for(arg=0;arg<argLength;arg++) {
  // For each arg, create a new image.
  document.WM.loadedImages[arg] = new Image();
  // Then set the source of that image to the current argument.
  document.WM.loadedImages[arg].src = WM_preloadImages.arguments[arg];
  }
  }
  }

// gets URL for pull down page selector(s) on some pages

function getname(input) {
        self.location.href=input.options[input.options.selectedIndex].value;
}

//get URL for lower frame used on special page
function getboard(input) {
       parent.boards.location.href=input.options[input.options.selectedIndex].value;
}
// -->

<!--
function MM_validateForm() { //v2.0 Modified by J.Lauria
  var i,objStr,field,theCheck,atPos,theNum,colonPos,min,max,errors='';
  choice = document.email_form.RECIPIENT.selectedIndex
  for (i=0; i<(MM_validateForm.arguments.length-2); i+=3) {
    objStr = MM_validateForm.arguments[(navigator.appName == 'Netscape')?i:i+1];
    if ((objStr.indexOf('document.layers[')==0 && document.layers==null) ||
        (objStr.indexOf('document.all[')   ==0 && document.all   ==null))
      objStr = 'document'+objStr.substring(objStr.substring(0,objStr.lastIndexOf('.')).
                 lastIndexOf('.'),objStr.length);  //fix layer ref if not supp
    field = eval(objStr);
    field.name = (field.name)?field.name:objStr;
    theCheck = MM_validateForm.arguments[i+2];
    if (field.value) { //IF NOT EMPTY FIELD
      if (theCheck.indexOf('isEmail') != -1) { //CHECK EMAIL
        atPos = field.value.indexOf('@');
        if (atPos < 1 || atPos == (field.value.length - 1))
          errors += '- '+field.name+' must contain an e-mail address.\n';
      } else if (theCheck != 'R') { //START NUM CHECKS
        theNum = parseFloat(field.value);
        if (field.value != ''+theNum) errors += '- '+field.name+' must contain a number.\n';
        if (theCheck.indexOf('inRange') != -1) { //CHECK RANGE
          colonPos = theCheck.indexOf(':');
          min = theCheck.substring(8,colonPos);
          max = theCheck.substring(colonPos+1,theCheck.length);
          if (theNum < min || max < theNum) //bad range
            errors += '- '+field.name+' must contain a number between '+min+' and '+max+'.\n';
    } } }
    else if (theCheck.charAt(0) == 'R') errors += '- '+field.name+' is required.\n';
  }
  if (errors) alert('The following error(s) occurred:\n'+
                    errors);
  document.MM_returnValue = (errors == '')
}
//-->

// end  script -->

