<!-- Hide functions from non-JavaScript enabled browsers

if (document.images) 
{ 
	var baseurl = "http://www.trigoninsurance.com/images/";
	
	var custcareon = new Image();
	custcareon.src = baseurl + "custcare_on.jpg";
	var contacton = new Image();
   	contacton.src = baseurl + "contact_on.jpg";
	var searchon = new Image();
	searchon.src = baseurl + "search_on.jpg";
	var serviceson = new Image();
  	serviceson.src = baseurl + "services_on.jpg";
	var linkson = new Image();
	linkson.src = baseurl + "links_on.jpg";
	var phoneon = new Image();
	phoneon.src = baseurl + "phone_on.jpg";
       	 
	var homeon = new Image();
	homeon.src = baseurl + "home_on.gif";
  	var autoon = new Image();
	autoon.src = baseurl + "auto_on.gif";
	var common = new Image();
	common.src = baseurl + "comm_on.gif";
	var tlon = new Image();
	tlon.src = baseurl + "tl_on.gif";
	var llbon = new Image();
	llbon.src = baseurl + "llb_on.gif";
       	 
	var locmapon = new Image();
	locmapon.src = baseurl + "locmap_on.gif";
	var directoryon = new Image();
	directoryon.src = baseurl + "directory_on.gif";
	var reqformon = new Image();
	reqformon.src = baseurl + "reqform_on.gif";
       	 
	var claimformson = new Image();
	claimformson.src = baseurl + "claimforms_on.gif";
	
      
	var custcareoff = new Image();
	custcareoff.src = baseurl + "custcare_off.jpg";
	var contactoff = new Image();
	contactoff.src = baseurl + "contact_off.jpg";
	var searchoff = new Image();
 	searchoff.src = baseurl + "search_off.jpg";
	var servicesoff = new Image();
	servicesoff.src = baseurl + "services_off.jpg";
	var linksoff = new Image();
	linksoff.src = baseurl + "links_off.jpg";
	var phoneoff = new Image();
	phoneoff.src = baseurl + "phone_off.jpg";
        	
	var homeoff = new Image();
	homeoff.src = baseurl + "home_off.gif";
	var autooff = new Image();
	autooff.src = baseurl + "auto_off.gif";
	var commoff = new Image();
	commoff.src = baseurl + "comm_off.gif";
	var tloff = new Image();
	tloff.src = baseurl + "tl_off.gif";
	var llboff = new Image();
	llboff.src = baseurl + "llb_off.gif";
       	 
	var locmapoff = new Image();
	locmapoff.src = baseurl + "locmap_off.gif";
	var directoryoff = new Image();
	directoryoff.src = baseurl + "directory_off.gif";
	var reqformoff = new Image();
	reqformoff.src = baseurl + "reqform_off.gif";
       	 
	var claimformsoff = new Image();
	claimformsoff.src = baseurl + "claimforms_off.gif";
	
}


function imgOn(imgName) {
        if (document.images) {
            document[imgName].src = eval(imgName + "on.src");
        }
}


function imgOff(imgName) {
        if (document.images) {
            document[imgName].src = eval(imgName + "off.src");
        }
}

function process(tf)
{
	document.trigonform.action.value = tf;
	document.trigonform.submit();
}

function clear_form(tf)
{
	var vote=confirm("Are you sure you want to clear all entries?")
	if (vote == true)
	{
		tf.reset();
	}
}


// -->