browserName = navigator.appName;

browserVer = parseInt(navigator.appVersion);

if (browserName == "Netscape" && browserVer >= 3)
version = "n3";

else 
version = "n2";

if (browserName == "Microsoft Internet Explorer" && browserVer >= 4)
version = "n3"; 

if (version == "n3") {
imageAboutUson = new Image(0, 0);
imageAboutUson.src = "images/nav_aboutus_on.gif";
imageWhatWeDoon = new Image(0, 0);
imageWhatWeDoon.src = "images/nav_whatwedo_on.gif";
imagePropertieson = new Image(0, 0);
imagePropertieson.src = "images/nav_properties_on.gif";
imageNewson = new Image(0, 0);
imageNewson.src = "images/nav_news_on.gif";
imageContactUson = new Image(0, 0);
imageContactUson.src = "images/nav_contactus_on.gif";
imagePreviouson = new Image(0, 0);
imagePreviouson.src = "images/nav_previous_on.gif";
imageNexton = new Image(0, 0);
imageNexton.src = "images/nav_next_on.gif";
          
imageAboutUsoff = new Image(0, 0);
imageAboutUsoff.src = "images/nav_aboutus_off.gif";
imageWhatWeDooff = new Image(0, 0);
imageWhatWeDooff.src = "images/nav_whatwedo_off.gif";
imagePropertiesoff = new Image(0, 0);
imagePropertiesoff.src = "images/nav_properties_off.gif";
imageNewsoff = new Image(0, 0);
imageNewsoff.src = "images/nav_news_off.gif";
imageContactUsoff = new Image(0, 0);
imageContactUsoff.src = "images/nav_contactus_off.gif";
imagePreviousoff = new Image(0, 0);
imagePreviousoff.src = "images/nav_previous_off.gif";
imageNextoff = new Image(0, 0);
imageNextoff.src = "images/nav_next_off.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;
}
}
