//<![CDATA[
/*
	(the "<![CDATA[" is supposed to make this XHTML compliant)
	A rollover function from WebMonkey.com
*/

function WM_imageSwap(daImage, daSrc){
  var objStr,obj;
  /*
    WM_imageSwap()
    Changes the source of an image.

    Source: Webmonkey Code Library
    (http://www.hotwired.com/webmonkey/javascript/code_library/)

    Author: Shvatz
    Author Email: shvatz@wired.com

    Usage: WM_imageSwap(originalImage, 'newSourceUrl');

    Requires: WM_preloadImages() (optional, but recommended)
    Thanks to Ken Sundermeyer (ksundermeyer@macromedia.com) for his help
    with variables in ie3 for the mac. 
    */

  // Check to make sure that images are supported in the DOM.
  if(document.images){
    // Check to see whether you are using a name, number, or object
    if (typeof(daImage) == 'string') {
      // This whole objStr nonesense is here solely to gain compatability
      // with ie3 for the mac.
      objStr = 'document.' + daImage;
      obj = eval(objStr);
      obj.src = daSrc;
    } else if ((typeof(daImage) == 'object') && daImage && daImage.src) {
      daImage.src = daSrc;
    }
  }
}

function OpenSiteHiRes() { 
	window.open('hi_home.html','hi_mainsite','width=1000,height=570,directories=no,toolbar=no,screenX=0,screenY=0,left=0,top=0,status=no,scrollbars=no'); 
} 

function OpenSiteLoRes() { 
	window.open('lo_home.html','lo_mainsite','width=700,height=399,directories=no,toolbar=no,screenX=0,screenY=0,left=0,top=0,status=no,scrollbars=no'); 
}

function OpenGalleryPreview() { 
	window.open('gallery_preview.html','galleryPreview','width=250,directories=no,toolbar=no,screenX=0,screenY=0,left=0,top=0,status=no,scrollbars=yes'); 
}

function OpenMaxWindow(url) { 
	window.open(url,"win",'toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,copyhistory=yes,resizable=yes'); 
}
//]]>