/* This code is Copyright (c) 1996 Nick Heinle and Athenia Associates, 
 * all rights reserved. In order to receive the right to license this 
 * code for use on your site the original code must be copied from the
 * Web site webreference.com/javascript/. License is granted to user to 
 * reuse this code on their own Web site if and only if this entire copyright
 * notice is included. Code written by Nick Heinle of webreference.com.
 */


browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);


if (browserName == "Netscape" && browserVer >= 3) version = "n3";
else if (browserName == "Microsoft Internet Explorer" && browserVer >= 4) version = "n3";
else version = "x";
        
        if (version == "n3") {
        btn11on = new Image( );
        btn11on.src = "images/btn11on.jpg";
        btn12on = new Image( );
        btn12on.src = "images/btn12on.jpg";
        btn13on = new Image( );
        btn13on.src = "images/btn13on.jpg";
        btn14on = new Image( );
        btn14on.src = "images/btn14on.jpg";
        btn15on = new Image( );
        btn15on.src = "images/btn15on.jpg";
        btn16on = new Image( );
        btn16on.src = "images/btn16on.jpg";
        btn17on = new Image( );
        btn17on.src = "images/btn17on.jpg";
        btn18on = new Image( );
        btn18on.src = "images/btn18on.jpg";
        btn19on = new Image( );
        btn19on.src = "images/btn19on.jpg";

        btn21on = new Image( );
        btn21on.src = "images/btn21on.gif";
        btn22on = new Image( );
        btn22on.src = "images/btn22on.gif";
        btn23on = new Image( );
        btn23on.src = "images/btn23on.gif";
        btn24on = new Image( );
        btn24on.src = "images/btn24on.gif";
        btn25on = new Image( );
        btn25on.src = "images/btn25on.gif";
        btn26on = new Image( );
        btn26on.src = "images/btn26on.gif";
        btn27on = new Image( );
        btn27on.src = "images/btn27on.gif";
        btn28on = new Image( );
        btn28on.src = "images/btn28on.gif";
        btn29on = new Image( );
        btn29on.src = "images/btn29on.gif";


  
        btn11off = new Image( );
        btn11off.src = "images/btn11off.jpg";      
        btn12off = new Image( );
        btn12off.src = "images/btn12off.jpg";
        btn13off = new Image( );
        btn13off.src = "images/btn13off.jpg";
        btn14off = new Image( );
        btn14off.src = "images/btn14off.jpg";
        btn15off = new Image( );
        btn15off.src = "images/btn15off.jpg";
        btn16off = new Image( );
        btn16off.src = "images/btn16off.jpg";
        btn17off = new Image( );
        btn17off.src = "images/btn17off.jpg";
        btn18off = new Image( );
        btn18off.src = "images/btn18off.jpg";
        btn19off = new Image( );
        btn19off.src = "images/btn19off.jpg";
               
        btn21off = new Image( );
        btn21off.src = "images/btn21off.gif";
        btn22off = new Image( );
        btn22off.src = "images/btn22off.gif";
        btn23off = new Image( );
        btn23off.src = "images/btn23off.gif";
        btn24off = new Image( );
        btn24off.src = "images/btn24off.gif";
        btn25off = new Image( );
        btn25off.src = "images/btn25off.gif";
        btn26off = new Image( );
        btn26off.src = "images/btn26off.gif";
        btn27off = new Image( );
        btn27off.src = "images/btn27off.gif";
        btn28off = new Image( );
        btn28off.src = "images/btn28off.gif";
        btn29off = new Image( );
        btn29off.src = "images/btn29off.gif";
        }

function img_act(imgName) {
        if (version == "n3") {
        imgOn = eval(imgName + "on.src");
        document [imgName].src = imgOn;
        }
}

function img_inact(imgName) {
        if (version == "n3") {
        imgOff = eval(imgName + "off.src");
        document [imgName].src = imgOff;
        }
}