
//makes sidebar titles popup
function onLoad()
	{
 	browserName = navigator.appName;
 	browserVer = parseInt(navigator.appVersion);

 	userAgent = navigator.userAgent;
   	start = userAgent.indexOf("(");
   	end = userAgent.indexOf(";");
   	platform= userAgent.substring(start +1,end);

        if (browserName == "Netscape" && browserVer >= 3) version = "n3";
        else version = "n2";
        if (browserName == "Microsoft Internet Explorer" && browserVer >= 4) version = "n3";

        if ((version == "n3"))
		{
        	toc1on = new Image();
        	toc1on.src ="./images/home_on.gif";
        	toc2on = new Image();
        	toc2on.src ="./images/design_on.gif";
        	toc3on = new Image();
        	toc3on.src = "./images/showcase_on.gif";
        	toc4on = new Image();
        	toc4on.src = "./images/promote_on.gif";
        	toc5on = new Image();
        	toc5on.src = "./images/hosting_on.gif";
			toc6on = new Image();
        	toc6on.src = "./images/tips_on.gif";
			toc7on = new Image();
        	toc7on.src = "./images/tutorial_on.gif";
			toc8on = new Image();
        	toc8on.src = "./images/dialup_on.gif";
			toc9on = new Image();
        	toc9on.src = "./images/support_on.gif";
			toc10on = new Image();
        	toc10on.src = "./images/quote_on.gif";
			toc11on = new Image();
        	toc11on.src = "./images/about_on.gif";
			toc12on = new Image();
        	toc12on.src = "./images/scan_on.gif";
			toc13on = new Image();
        	toc13on.src = "./images/search_on.gif";
			toc14on = new Image();
        	toc14on.src = "./images/contact_on.gif";
			toc15on = new Image();
        	toc15on.src = "./images/history_on.gif";
			toc16on = new Image();
        	toc16on.src = "./images/privacy_on.gif";
			toc17on = new Image();
        	toc17on.src = "./images/email_on.gif";
			toc18on = new Image();
        	toc18on.src = "./images/copy_on.gif";
			toc19on = new Image();
        	toc19on.src = "./images/map_on.gif";
			toc20on = new Image();
        	toc20on.src = "./images/news_on.gif";

        	toc1off = new Image();
        	toc1off.src = "./images/home_off.gif";
        	toc2off = new Image();
        	toc2off.src = "./images/design_off.gif";
        	toc3off = new Image();
        	toc3off.src = "./images/showcase_off.gif";
        	toc4off = new Image();
        	toc4off.src = "./images/promote_off.gif";
        	toc5off = new Image();
        	toc5off.src ="./images/hosting_off.gif";
			toc6off = new Image();
        	toc6off.src = "./images/tips_off.gif";
        	toc7off = new Image();
        	toc7off.src ="./images/tutorial_off.gif";
			toc8off = new Image();
        	toc8off.src = "./images/dialup_off.gif";
        	toc9off = new Image();
        	toc9off.src ="./images/support_off.gif";
			toc10off = new Image();
        	toc10off.src ="./images/quote_off.gif";
			toc11off = new Image();
        	toc11off.src ="./images/about_off.gif";
			toc12off = new Image();
        	toc12off.src ="./images/scan_off.gif";
			toc13off = new Image();
        	toc13off.src ="./images/search_off.gif";
			toc14off = new Image();
        	toc14off.src ="./images/contact_off.gif";
			toc15off = new Image();
        	toc15off.src ="./images/history_off.gif";
			toc16off = new Image();
        	toc16off.src ="./images/privacy_off.gif";
			toc17off = new Image();
        	toc17off.src ="./images/email_off.gif";
			toc18off = new Image();
        	toc18off.src ="./images/copy_off.gif";
			toc19off = new Image();
        	toc19off.src ="./images/map_off.gif";
			toc20off = new Image();
        	toc20off.src ="./images/news_off.gif";
    	}

	}


onLoad();



function img_act(imgName) {

        if ((version == "n3" ||  version == "n4"  )) {

        imgOn = eval(imgName + "on.src");
        document [imgName].src = imgOn;

        }

       else
	return;

}

function img_inact(imgName) {
        if ((version == "n3"  ||  version == "n4" )) {
        imgOff = eval(imgName + "off.src");
        document [imgName].src = imgOff;

        }
       else

	return;

}