browserName = navigator.appName; 
browserVer = parseInt(navigator.appVersion); 
browser = "notOk"; 

if ((navigator.userAgent.substring(0,9) == "Mozilla/3") || (navigator.userAgent.substring(0,9) == "Mozilla/4") || (navigator.userAgent.substring(0,9) == "Mozilla/5") || (navigator.userAgent.substring(0,9) == "Mozilla/6") || (navigator.userAgent.substring(0,5) == "Opera")) { browser = "ok"; }

if (browser == "ok") { 
 pic1 = new Image; pic1.src = "gfx/www-paramitra-gs.jpg";
 pic1on = new Image; pic1on.src = "gfx/www-paramitra.jpg";
 pic2 = new Image; pic2.src = "gfx/www-ri-gs.jpg";
 pic2on = new Image; pic2on.src = "gfx/www-ri.jpg";
}

function show(name,newpic) {
 if (browser == "ok") { document.images[name].src = eval(newpic); }
}