

//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/home_bt_aboutsla_on.jpg";
		bt1off = new Image();
		bt1off.src = "../images/home_bt_aboutsla_off.jpg";

		bt2on = new Image();
        bt2on.src = "../images/home_bt_contactus_on.jpg";
		bt2off = new Image();
        bt2off.src = "../images/home_bt_contactus_off.jpg";

        bt3on = new Image(); 
        bt3on.src = "../images/home_bt_brokerlist_on.jpg";
		bt3off = new Image(); 
        bt3off.src = "../images/home_bt_brokerlist_off.jpg";

		bt4on = new Image(); 
        bt4on.src = "../images/home_bt_export_on.jpg";
		bt4off = new Image(); 
        bt4off.src = "../images/home_bt_export_off.jpg";
		
		bt5on = new Image(); 
        bt5on.src = "../images/home_bt_insurers_on.jpg";
		bt5off = new Image(); 
        bt5off.src = "../images/home_bt_insurers_off.jpg";
		
		bt6on = new Image(); 
        bt6on.src = "../images/home_bt_faqs_on.jpg";
		bt6off = new Image(); 
        bt6off.src = "../images/home_bt_faqs_off.jpg";
		}

       if (version == "n3")

        {

	bt1blurb = "All about SLA Idaho";
	bt2blurb = "Contact us";
	bt3blurb = "View our list of brokers";
	bt4blurb = "Export list";
	bt5blurb = "Insurers";
	bt6blurb = "Frequently asked questions";
	    }
}

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;

}
//-->

