
var uagent,uappVersion,uappName
uappName=navigator.appName
uappVersion=navigator.appVersion
uagent=navigator.userAgent

if ((uagent.substring(25,29) == "MSIE" && uagent.charAt(30) > 3) || (uappName == "Netscape" && uappVersion.substring(0,3) > 3))

{

img1off= new Image;
img1off.src="/images/nav/wsp1.gif";
img2off= new Image;
img2off.src="/images/nav/asp1.gif";
img3off= new Image;
img3off.src="/images/nav/si1.gif";
img4off= new Image;
img4off.src="/images/nav/about1.gif";
img5off= new Image;
img5off.src="/images/nav/contact1.gif";
img7off= new Image;
img7off.src="/images/nav/online1.gif";
img8off= new Image;
img8off.src="/images/nav/home1.gif";

img1on= new Image;
img1on.src="/images/nav/wsp2.gif";
img2on= new Image;
img2on.src="/images/nav/asp2.gif";
img3on= new Image;
img3on.src="/images/nav/si2.gif";
img4on= new Image;
img4on.src="/images/nav/about2.gif";
img5on= new Image;
img5on.src="/images/nav/contact2.gif";
img7on= new Image;
img7on.src="/images/nav/online2.gif";
img8on= new Image;
img8on.src="/images/nav/home2.gif";

imgaoff= new Image;
imgaoff.src="/images/wsp/wd1.gif";
imgboff= new Image;
imgboff.src="/images/wsp/wh1.gif";
imgcoff= new Image;
imgcoff.src="/images/wsp/wm1.gif";
imgdoff= new Image;
imgdoff.src="/images/wsp/wp1.gif";
imgeoff= new Image;
imgeoff.src="/images/wsp/ec1.gif";

imgaon= new Image;
imgaon.src="/images/wsp/wd2.gif";
imgbon= new Image;
imgbon.src="/images/wsp/wh2.gif";
imgcon= new Image;
imgcon.src="/images/wsp/wm2.gif";
imgdon= new Image;
imgdon.src="/images/wsp/wp2.gif";
imgeon= new Image;
imgeon.src="/images/wsp/ec2.gif";


}

function active(imgName){

if ((uagent.substring(25,29) == "MSIE" && uagent.charAt(30) > 3) || (uappName == "Netscape" && uappVersion.substring(0,3) > 3)){

document[imgName].src = eval(imgName + "on.src");

}
}

function inActive(imgName){

if ((uagent.substring(25,29) == "MSIE" && uagent.charAt(30) > 3) || (uappName == "Netscape" && uappVersion.substring(0,3) > 3)){

document[imgName].src = eval(imgName + "off.src");

}
}

