/* 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 = "common/btn11on.gif";
        btn12on = new Image( );
        btn12on.src = "common/btn12on.gif";
        btn13on = new Image( );
        btn13on.src = "common/btn13on.gif";
        btn14on = new Image( );
        btn14on.src = "common/btn14on.gif";
        btn15on = new Image( );
        btn15on.src = "common/btn15on.gif";
        btn16on = new Image( );
        btn16on.src = "common/btn16on.gif";
        btn17on = new Image( );
        btn17on.src = "common/btn17on.gif";
        btn18on = new Image( );
        btn18on.src = "common/btn18on.gif";
        btn19on = new Image( );
        btn19on.src = "common/btn19on.gif";
        btn20on = new Image( );
        btn20on.src = "common/btn20on.gif";
        btn21on = new Image( );
        btn21on.src = "common/btn21on.gif";
        btn22on = new Image( );
        btn22on.src = "common/btn22on.gif";
        btn23on = new Image( );
        btn23on.src = "common/btn23on.gif";
  
        btn11off = new Image( );
        btn11off.src = "common/btn11off.gif";      
        btn12off = new Image( );
        btn12off.src = "common/btn12off.gif";
        btn13off = new Image( );
        btn13off.src = "common/btn13off.gif";
        btn14off = new Image( );
        btn14off.src = "common/btn14off.gif";
        btn15off = new Image( );
        btn15off.src = "common/btn15off.gif";
        btn16off = new Image( );
        btn16off.src = "common/btn16off.gif";
        btn17off = new Image( );
        btn17off.src = "common/btn17off.gif";
        btn18off = new Image( );
        btn18off.src = "common/btn18off.gif";
        btn19off = new Image( );
        btn19off.src = "common/btn19off.gif";
        btn20off = new Image( );
        btn20off.src = "common/btn20off.gif";
        btn21off = new Image( );
        btn21off.src = "common/btn21off.gif";
        btn22off = new Image( );
        btn22off.src = "common/btn22off.gif";
        btn23off = new Image( );
        btn23off.src = "common/btn23off.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;
        }
}