/*-----------------------------------------------
                Zoom in     Zoom out
    http://www.javascripter.net/faq/onmouseo.htm
/*-----------------------------------------------
*/
<!--
// PRELOADING IMAGES
// Want to know if the image object exists, which in javascript is "document.images".
// Image(100,25) indicates the with and size of the image
//
// This small section of script goes in the HEAD section of the page that preloads
// the images
//
//   <SCRIPT language="JavaScript">
//   <!--
//   if (document.images) {
//      img_on =new Image(100,25);
//      img_on.src="http://someplace.com/image1.gif";
//
//      img_off =new Image(100,25);
//      img_off.src="http://someplace.com/image2.gif";
//    }
//    //-->
//    </SCRIPT>



function handleOver() {
 if (document.images) document.imgName.src=img_on.src;
}

function handleOut() {
 if (document.images) document.imgName.src=img_off.src;
}


function ZoomInstruct(showhide) {

if (showhide == 'H')       //   hide the page
{
   var value = sHeight;
}
else
{
  goWin();
}
}

///////////////////////////////////////////*/
//              Open a new window          */
///////////////////////////////////////////*/
// onClick event, this code makes the specified window visible
//
function openpopup(){
var popurl="img/zoom_instruct.png";
var target = "mywindow";

winpops=window.open(popurl,target,'width=600,height=500,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,copyhistory=no,resizable=yes, top=10,screenX=0,screenY=10')
}



////////////////////////////////////////*/
//              Image Swap              */
////////////////////////////////////////*/
// onMouseOver event, this code changes images
//
// This script modifies the Img tag for the large image, rather than using
// CSS background images as CSS images can not be scaled.
//
// Using the Img tag allows for the image to be scaled based on the
// resolution of the computer viewing this page.

function swap(source,newImageName)
{
   document[source].src = newImageName;
   document[source].border = "0";
}



////////////////////////////////////////*/
//              showLayer               */
////////////////////////////////////////*/
// onClick event, this code makes the specified window visible
//
function showLayer(specifiedLayer)
{
   document.getElementById(specifiedLayer).style.visibility = "visible";
//   alert('got here showLayer - ' + specifiedLayer);
}

////////////////////////////////////////*/
//              hideLayer               */
////////////////////////////////////////*/
// onClick event, this code hides the specified window
//
function hideLayer(specifiedLayer)
{
//   swap('imgCloseUp2','/img/spacer.gif');
   document.getElementById(specifiedLayer).style.visibility = "hidden";
//   alert('got here hideLayer - ' + specifiedLayer);
}


//-->