browserName = navigator.appName; browserVer = parseInt(navigator.appVersion); 

version = new String;

if (browserName == "Netscape" && browserVer >= 3)
version = "n3";
else
{if (browserName == "Microsoft Internet Explorer" && browserVer >= 4) 
  version = "IE4"; }

if ((version == "n3") || (version == "IE4")){ 
blankimage = new Image;

toc1on = new Image ; 
toc1on.src = "images/whoweare-over.gif"; 
toc2on = new Image ; 
toc2on.src = "images/whatwedo-over.gif";
toc3on = new Image ; 
toc3on.src = "images/contact-over.gif";
toc4on = new Image ; 
toc4on.src = "images/livewire-over.gif";
toc5on = new Image ; 
toc5on.src = "images/graduate-over.gif";
toc6on = new Image ; 
toc6on.src = "images/privacy-over.gif";
toc7on = new Image ; 
toc7on.src = "images/chattime-over.gif";
toc8on = new Image ; 
toc8on.src = "images/mufti-over.gif";
toc9on = new Image ; 
toc9on.src = "images/gover_menu_over.gif";

toc1stat = new String;
toc1stat = "who we are";
toc2stat = new String;
toc2stat = "what we do";
toc3stat = new String;
toc3stat = "contact us";
toc4stat = new String;
toc4stat = "livewire challenge";
toc5stat = new String;
toc5stat = "graduate";
toc6stat = new String;
toc6stat = "privacy policy";
toc7stat = new String;
toc7stat = "chat time";
toc8stat = new String;
toc8stat = "mufti day photo";
toc9stat = new String;
toc9stat = "Government";


toc1off = new Image ; 
toc1off.src = "images/whoweare.gif"; 
toc2off = new Image ; 
toc2off.src = "images/whatwedo.gif"; 
toc3off = new Image ; 
toc3off.src = "images/contact.gif"; 
toc4off = new Image ; 
toc4off.src = "images/livewire.gif"; 
toc5off = new Image ; 
toc5off.src = "images/graduate.gif"; 
toc6off = new Image ; 
toc6off.src = "images/privacy.gif"; 
toc7off = new Image ; 
toc7off.src = "images/chattime.gif"; 
toc8off = new Image ; 
toc8off.src = "images/mufti.gif";
toc9off = new Image ; 
toc9off.src = "images/gover_menu.gif";

}

function img_act(imgName) { 
if ((version == "n3") || (version == "IE4")) { 
imgOn = eval(imgName + "on.src"); 
document [imgName].src = imgOn;
self.status = eval(imgName +"stat");} }

function img_inact(imgName) { 
if ((version == "n3") || (version == "IE4")) { 
imgOff = eval(imgName + "off.src");
document [imgName].src = imgOff;
self.status = eval(imgName +"stat"); }
} 