//new browser test
agent = navigator.userAgent;
browserVer = (agent.indexOf("Mozilla/3") == -1 &&
		agent.indexOf("Mozilla/4") == -1 &&
		agent.indexOf("Mozilla/5") == -1) ? 0 : 1;

// - - - - - - - - - - - - - - - 

if (browserVer == 1) {

        gClick=" "

	    btn_1 = new Image(17,17);
		btn_1.src = "_img/btn_1.gif";
		btn_1_mo = new Image(17,17);
		btn_1_mo.src = "_img/btn_1.mo.gif";

	    btn_2 = new Image(17,17);
		btn_2.src = "_img/btn_2.gif";
		btn_2_mo = new Image(17,17);
		btn_2_mo.src = "_img/btn_2.mo.gif";

	    btn_3 = new Image(17,17);
		btn_3.src = "_img/btn_3.gif";
		btn_3_mo = new Image(17,17);
		btn_3_mo.src = "_img/btn_3.mo.gif";

	    btn_4 = new Image(17,17);
		btn_4.src = "_img/btn_4.gif";
		btn_4_mo = new Image(17,17);
		btn_4_mo.src = "_img/btn_4.mo.gif";

	    btn_5 = new Image(17,17);
		btn_5.src = "_img/btn_5.gif";
		btn_5_mo = new Image(17,17);
		btn_5_mo.src = "_img/btn_5.mo.gif";

	    btn_6 = new Image(17,17);
		btn_6.src = "_img/btn_6.gif";
		btn_6_mo = new Image(17,17);
		btn_6_mo.src = "_img/btn_6.mo.gif";

	    btn_7 = new Image(17,17);
		btn_7.src = "_img/btn_7.gif";
		btn_7_mo = new Image(17,17);
		btn_7_mo.src = "_img/btn_7.mo.gif";

	    btn_8 = new Image(17,17);
		btn_8.src = "_img/btn_8.gif";
		btn_8_mo = new Image(17,17);
		btn_8_mo.src = "_img/btn_8.mo.gif";

	    btn_9 = new Image(17,17);
		btn_9.src = "_img/btn_9.gif";
		btn_9_mo = new Image(17,17);
		btn_9_mo.src = "_img/btn_9.mo.gif";

	    btn_10 = new Image(17,17);
		btn_10.src = "_img/btn_10.gif";
		btn_10_mo = new Image(17,17);
		btn_10_mo.src = "_img/btn_10.mo.gif";

	    photo_showing_thumb_1 = new Image(72,52);
		photo_showing_thumb_1.src = "_img/showing/Bellevue-with-Pool-01-th.jpg";
		photo_showing_thumb_1_mo = new Image(72,52);
		photo_showing_thumb_1_mo.src = "_img/showing/Bellevue-with-Pool-01-th.mo.jpg";

	    photo_showing_thumb_2 = new Image(72,52);
		photo_showing_thumb_2.src = "_img/showing/Mercer-Island-01-th.jpg";
		photo_showing_thumb_2_mo = new Image(72,52);
		photo_showing_thumb_2_mo.src = "_img/showing/Mercer-Island-01-th.mo.jpg";

	    photo_showing_thumb_3 = new Image(72,52);
		photo_showing_thumb_3.src = "_img/showing/Craftsman-01-th.jpg";
		photo_showing_thumb_3_mo = new Image(72,52);
		photo_showing_thumb_3_mo.src = "_img/showing/Craftsman-01-th.mo.jpg";

	    photo_showing_thumb_4 = new Image(72,52);
		photo_showing_thumb_4.src = "_img/showing/Water-01-th.jpg";
		photo_showing_thumb_4_mo = new Image(72,52);
		photo_showing_thumb_4_mo.src = "_img/showing/Water-01-th.mo.jpg";

	    photo_showing_thumb_5 = new Image(72,52);
		photo_showing_thumb_5.src = "_img/showing/Colonial-01-th.jpg";
		photo_showing_thumb_5_mo = new Image(72,52);
		photo_showing_thumb_5_mo.src = "_img/showing/Colonial-01-th.mo.jpg";

	    photo_showing_thumb_6 = new Image(72,52);
		photo_showing_thumb_6.src = "_img/showing/Lake-Cabin-01-th.jpg";
		photo_showing_thumb_6_mo = new Image(72,52);
		photo_showing_thumb_6_mo.src = "_img/showing/Lake-Cabin-01-th.mo.jpg";

	    photo_showing_thumb_7 = new Image(72,52);
		photo_showing_thumb_7.src = "_img/showing/Laurelhurst-01-th.jpg";
		photo_showing_thumb_7_mo = new Image(72,52);
		photo_showing_thumb_7_mo.src = "_img/showing/Laurelhurst-01-th.mo.jpg";

	    photo_showing_thumb_8 = new Image(72,52);
		photo_showing_thumb_8.src = "_img/showing/Leschi-01-th.jpg";
		photo_showing_thumb_8_mo = new Image(72,52);
		photo_showing_thumb_8_mo.src = "_img/showing/Leschi-01-th.mo.jpg";

	    photo_showing_thumb_9 = new Image(72,52);
		photo_showing_thumb_9.src = "_img/showing/Medina-01-th.jpg";
		photo_showing_thumb_9_mo = new Image(72,52);
		photo_showing_thumb_9_mo.src = "_img/showing/Medina-01-th.mo.jpg";

	    photo_showing_thumb_10 = new Image(72,52);
		photo_showing_thumb_10.src = "_img/showing/Italianate-01-th.jpg";
		photo_showing_thumb_10_mo = new Image(72,52);
		photo_showing_thumb_10_mo.src = "_img/showing/Italianate-01-th.mo.jpg";

	    photo_showing_thumb_11 = new Image(72,52);
		photo_showing_thumb_11.src = "_img/showing/Waterfront-01-th.jpg";
		photo_showing_thumb_11_mo = new Image(72,52);
		photo_showing_thumb_11_mo.src = "_img/showing/Waterfront-01-th.mo.jpg";

	    photo_showing_thumb_12 = new Image(72,52);
		photo_showing_thumb_12.src = "_img/showing/Yakima-01-th.jpg";
		photo_showing_thumb_12_mo = new Image(72,52);
		photo_showing_thumb_12_mo.src = "_img/showing/Yakima-01-th.mo.jpg";

}

// - - - - - - - - - - - - - - - 

function hiLite(imgDocID,imgObjName) {
// manages mouseOver animations
//   imgDocID - the name or number of the document image to be replaced
//   imgObjName - the name of the image object to be swapped in

	if (browserVer == 1) {
		if(imgDocID!=gClick)
                	document.images[imgDocID].src = eval(imgObjName + ".src");
	}
}

function setGlobal (imgDocID){
	if (gClick!=" "){
        document.images[gClick].src = eval(gClick + ".src");
    }
    gClick=imgDocID;
    document.images[gClick].src = eval(gClick + "_mo.src");

}



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;
    }
  }
}