

//makes buttons rollover
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")) { 

		bt1on = new Image();
		bt1on.src = "images/topnav_contactus_on.gif";
		bt1off = new Image();
		bt1off.src = "images/topnav_contactus_off.gif";

		bt2on = new Image();
        bt2on.src = "images/topnav_aboutus_on.gif";
		bt2off = new Image();
        bt2off.src = "images/topnav_aboutus_off.gif";

        bt3on = new Image(); 
        bt3on.src = "images/topnav_references_on.gif";
		bt3off = new Image(); 
        bt3off.src = "images/topnav_references_off.gif";

		bt4on = new Image(); 
        bt4on.src = "images/topnav_whereis_on.gif";
		bt4off = new Image(); 
        bt4off.src = "images/topnav_whereis_off.gif";
		
		bt5on = new Image(); 
        bt5on.src = "images/topnav_extras_on.gif";
		bt5off = new Image(); 
        bt5off.src = "images/topnav_extras_off.gif";
	
		}

       if (version == "n3")

        {

	bt1blurb = "Contact PineMountain Marketing";
	bt2blurb = "Who we are and our philosophy";
	bt3blurb = "Marketing references";
	bt4blurb = "Where in the world is PineMountain?";
	bt5blurb = "Other things we're interested in... we're well-rounded";
	
	    }
}

onLoad();

function img_act(imgName) {
        if ((version == "n3")) {
        imgOn = eval(imgName + "on.src");
        document [imgName].src = imgOn;
	blurbNum= eval(imgName + "blurb")
	self.status = blurbNum
        }
       else if (version=="n3")
	{
	blurbNum= eval(imgName + "blurb")
	self.status = blurbNum
	}
       else
	return;

}

function img_inact(imgName) {
        if ((version == "n3")) {
        imgOff = eval(imgName + "off.src");
        document [imgName].src = imgOff;
	self.status =" ";

        }

       else if (version=="n3")
	{
	self.status =" ";
	}
       else
	return;

}
//-->

