<!--
	var eleport;
	//img1 = new Image (150,150);
 	//img1.src = "/lib/itwo/bulblit.jpg"




	function init(){
		setElementPortal();
		if(eleport('midpage_bulb')) {
			setElementPortal();
			setTimeout('lightupBulb();',1300);
		}
		if(eleport('hid1')) {
			var ht=eleport('hid1');
			if (ht.value=='bim') {
				ht.value='';
				eleport('lidd2').click();
			}

		}
	};

	function lightupBulb(){
		eleport('midpage_bulb').src='/lib/itwo/bulblit.jpg';
		eleport('midpage_leftpic').src='/lib/itwo/enter.jpg';
	};
	
	
	var rolltext=["","Services for auto, home and all your personal insurance needs","Services for all your business insurance and benefits needs","Service your policies or view your entire insurance plan","Be InsuranceMinded \x2D get help to analyze your entire insurance coverage picture"];

	defaultStatus="Be Insurance Minded   BenefitSource Insurance Services, Inc."

	function setElementPortal(){
		if(document.getElementById){
    			eleport = function(id){return document.getElementById(id);};
    		}
		else if(document.all){
    			eleport = function(id){return document.all[id];};
    		}
		else if(document.layers){
    			eleport = function(id){return document.layers[id];};
    		}
		else{    
			eleport = function(id){return null};
		};
	
	};
	function showText(callerElem,targetName){
		setElementPortal();
		var TagID= callerElem.id
		var textTo=eleport(targetName)
	};

	function ChangeBtnColor(btn,isover){
		if (isover){
			btn.className='hpbuttonover';
			eleport('midpage_botlabel').innerHTML='Goodbye';
		}
		else{
			btn.className='hpbutton';
		}
	};
	
	function RollBtn(btn,isover,btnid,txttarget){
		if (isover){
			btn.className='hpbuttonover';
			eleport(txttarget).innerHTML=rolltext[btnid];
		}
		else{
			btn.className='hpbutton';
			eleport(txttarget).innerHTML=rolltext[0];
		}
	};

	function dropListText(callerElem,topSeq) {
		setElementPortal();
		var targetSeq=callerElem.id.slice(-1);
		var txbx=eleport('th'+targetSeq);
		if (txbx.innerHTML.length==0) {
		for(var incr=0; incr<=topSeq; incr++) {
			var txbx=eleport('th'+incr);
			if(incr==targetSeq) {
				txbx.innerHTML=dropText[targetSeq];
				txbx.hide=false;
			}
			else {
				txbx.innerHTML='';
				txbx.hide=true;
			}
		}
		}

		else {
		txbx.innerHTML='';
		txbx.hide=true;
		}
	};
function squelchStatus(){
	status=defaultStatus;
	return true;
};
function fireLink(lobj,targName,targValue){
	setElementPortal();
	var theForm=eleport('frm1');
	var targElem=eleport(targName);
	targElem.value=targValue;
	theForm.submit();	
};
function doMailPop(targetMbox){
	var cmnd='mailto:';
	var atsgn='@';
	var srvr='insuranceminded.net';
	var page=cmnd+targetMbox+atsgn+srvr+'?subject=Contact Be InsuranceMinded';  //&body=To whom to may concern/n';
	var windowprops = "left=0,top=0,height=600,width=800,location=no,scrollbars=no,menubars=no,toolbars=no,resizable=yes";
	this.open(page,"MailWindow",windowprops);
};
var mapURL=["http://www.mapquest.com/maps/map.adp?city=Aliso+Viejo&state=CA&zip=92656&address=92+Argonaut&zoom=11","http://www.mapquest.com/maps/map.adp?city=Temecula&state=CA&zip=92590&address=27727+Jefferson+Ave&zoom=11"];

function doMapPop(callerElem){
	var page= mapURL[callerElem.id.slice(-1)];
	var windowprops = "left=40,top=20,height=520,width=740,location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=yes";

	this.open(page,"MQMap",windowprops);

};
  function checkCR(evt) {

    var evt  = (evt) ? evt : ((event) ? event : null);

    var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null);

    if ((evt.keyCode == 13) && (node.type=="text")) {return false;}

  }

  document.onkeypress = checkCR;


//-->