//-------------------------------------------------------------------------------------------------
// Rollover Module
//
// Mike Schoonover
// Feb 2004
// 
// Changes images when the mouse moves on top of them.
//

//-------------------------------------------------------------------------------------------------
// Plug
//
// Sets the Window status bar to the message In.
//

function Plug(In){

window.status=In;

}//end of Plug
//-------------------------------------------------------------------------------------------------

//-------------------------------------------------------------------------------------------------
// activeImage
//
// Loads the "On" version of the image specified by imgName.  The "On"
// version is the one to be displayed when the mouse cursor is on top of the
// image.
//

function activeImage(imgName) {

if (version == "n3") {
    imgOn = eval(imgName + "On.src");
    document[imgName].src = imgOn;
    }

}//end of activeImage
//-------------------------------------------------------------------------------------------------

//-------------------------------------------------------------------------------------------------
// inactiveImage
//
// Loads the "Off" version of the image specified by imgName.  The "Off"
// version is the one to be displayed when the mouse cursor is NOT on top of
// the image.
//

function inactiveImage(imgName) {

if (version == "n3") {
    imgOff = eval(imgName + "Off.src");
    document [imgName].src = imgOff;   
    }

}//end of inactiveImage
//-------------------------------------------------------------------------------------------------

//-------------------------------------------------------------------------------------------------
// --- Free Code not in a Function ---
//

browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);

if (browserVer >= 3) version = "n3";
    else version = "n2";

if (version == "n3") {

    aOff = new Image;
    aOff.src = "support/images/LearnMoreGraphicLink.png";
    aOn = new Image;
    aOn.src = "support/images/SignalGraphicLink.png";

    bOff = new Image;
    bOff.src = "support/images/LearnMoreGraphicLink.png";
    bOn = new Image;
    bOn.src = "support/images/SignalGraphicLink.png";

    cOff = new Image;
    cOff.src = "support/images/LearnMoreGraphicLink.png";
    cOn = new Image;
    cOn.src = "support/images/SignalGraphicLink.png";

    dOff = new Image;
    dOff.src = "support/images/LearnMoreGraphicLink.png";
    dOn = new Image;
    dOn.src = "support/images/SignalGraphicLink.png";

    eOff = new Image;
    eOff.src = "support/images/LearnMoreGraphicLink.png";
    eOn = new Image;
    eOn.src = "support/images/SignalGraphicLink.png";

    fOff = new Image;
    fOff.src = "support/images/LearnMoreGraphicLink.png";
    fOn = new Image;
    fOn.src = "support/images/SignalGraphicLink.png";

    }

//end of Free Code
//-------------------------------------------------------------------------------------------------

//-------------------------------------------------------------------------------------------------
// Example code for use in HTML Page 

//<a href="main_page.html"
//    onmouseover="activeImage('a'); return true;"
//    onmouseout="inactiveImage('a');">
//    <img width="158" height="32" border="0" name="a"
//                         src="images/SchoonoverPageUnderlinedLinkImage.gif">
//</a>

//end of Example code for use in HTML Page 
//-------------------------------------------------------------------------------------------------

