/*-----------Home page flash functions---------------*/
/*function flashFuncFree(){
	//var NewWin3;
	//NewWin3=window.open("quote.htm",'NewWin1','height=335,width=420,top=10,left=150,location=no,status=no,toolbar=no,menubar=no,scrollbars=no');
	//NewWin3.focus();/
	window.location='free_quote.htm';
}
*/
/*function flashFuncConnect(){
		window.location='contactus.htm';
}*/
/*-----------Home page flash functions---------------*/

/*--------------------------popup() ----------------------------*/
/*function guarantee()
{

	var NewWin3;
	NewWin3=window.open("satisfactionGuarantee.htm",'NewWin1','height=197,width=420,top=10,left=150,location=no,status=no,toolbar=no,menubar=no,scrollbars=no');
	NewWin3.focus();
}*/


/*--------------------------popup() ----------------------------*/

/*--------------Holdlink()---------------*/
function holdlink(menuId, subMenuId){
	if(menuId=='home'){
		document.getElementById(menuId).style.display='none';			
	} else if(menuId=='personal' || menuId=='commercial'){
		document.getElementById(menuId).className='current';
		document.getElementById(subMenuId).className='currentfly';
	} else
		document.getElementById(menuId).className='current';
}
/*--------------Holdlink()---------------*/

/*------------include function---------------------*/
function include_file(id, url) {
	
  var req = false;
  // For Safari, Firefox, and other non-MS browsers
  if (window.XMLHttpRequest) {
    try {
      req = new XMLHttpRequest();
    } catch (e) {
      req = false;
    }
  } else if (window.ActiveXObject) {
    // For Internet Explorer on Windows
    try {
      req = new ActiveXObject("Msxml2.XMLHTTP");
    } catch (e) {
      try {
        req = new ActiveXObject("Microsoft.XMLHTTP");
      } catch (e) {
        req = false;
      }
    }
  }
 var element = document.getElementById(id);
  if (req) {
    // Synchronous request, wait till we have it all
	req.open('GET', url, false);
    req.send(null);
    element.innerHTML = req.responseText;
  } 
}
/*------------include function---------------------*/