<!--
// STANDARD FUNCTIONS
window.tid="1.0.1";
window.campaign="1";
window.sub_campaign="1";
window.phone_number="800-756-9681";
window.name='lex';
var browser=navigator.appName;
if(browser=="Microsoft Internet Explorer")browser="IE";
if(browser=="Netscape")browser="FF";
var b_version=navigator.appVersion;
document.onkeydown=function(e){
	window.document.key_id=window.event ? event.keyCode : e.keyCode;
}
function $(){
  return document.getElementById(arguments[0]);
}
function $$(){
	if(arguments.length=='2') return $(arguments[1]).getElementsByTagName(arguments[0]);
	return document.getElementsByTagName(arguments[0]);
}

function hide(obj){
	ch_disp(obj,0);
}
function show(obj){
	ch_disp(obj,1);
}
function ch_disp(obj,x){
	if(typeof obj == 'string'){
		var obj=obj.split(',');
		for(sh in obj){ if(window.$(obj[sh]))$(obj[sh]).style.display=x?"block":"none"; }
	}else if(typeof obj == 'object'){
		obj.style.display=x?"block":"none";
	}
}
function get_height(obj){
	if(typeof obj == 'string')obj=$(obj);
	return browser!="FF" ? parseInt(obj.offsetHeight) : parseInt(document.defaultView.getComputedStyle(obj,"").getPropertyValue("height"));
}
function get_width(obj){
	if(typeof obj == 'string')obj=$(obj);
	return browser!="FF" ? parseInt(obj.offsetWidth) : parseInt(document.defaultView.getComputedStyle(obj,"").getPropertyValue("width"));
}
function setCookie(c_name,value,expiredays){
	var exdate=false;
	if(expiredays!=null && expiredays){	exdate=new Date(); exdate.setDate(exdate.getDate()+expiredays); extime=exdate.toGMTString(); }
	document.cookie=c_name+"="+escape(value)+(exdate ? ";expires="+extime : '')+'; path=/';
}
function getCookie(c_name){
	var cookies=document.cookie.split(';');
	for(i in cookies){
		tmp_cookie=cookies[i].split('=');
		cookie_name=tmp_cookie[0].replace(/^\s+|\s+$/g, '');
		if(cookie_name==c_name){
			cookie_value=tmp_cookie.length?unescape(tmp_cookie[1].replace(/^\s+|\s+$/g,'')):1;
			return cookie_value;
			break;
		}
	}
	return null;
}
function pop_in(x,lf,tp){
	var dv_=document.getElementById(x);
	if(!window.document.getElementById('hov_')){
		var atr=[];atr['id']="hov_";
		var pmb=c_el('div',atr);
		document.getElementById('content').appendChild(pmb);
	}
	var hv_=document.getElementById('hov_');
	var inf=pop_arr[x];
	if(hv_.childNodes.length==0){
		var hd=dv_.innerHTML;
		var atr=[];
		atr['class']="pop_bg";
		atr['onmouseout']="rm_hov('hov_');";
		atr['style']="left:"+(lf-15)+"px;top:"+(tp-9)+"px;height:"+inf[0]+"px;";
		var pmb=c_el('div',atr);
		hv_.appendChild(pmb);
		atr=[];
		atr['class']="pop_bg_btm";
		atr['onmouseout']="rm_hov('hov_');";
		atr['style']="left:"+(lf-15)+"px;top:"+(tp*1+inf[0]*1-9)+"px;";
		var pmb=c_el('div',atr);
		hv_.appendChild(pmb);
		atr=[];
		atr['class']="pop_hd";
		atr['style']="left:"+lf+"px;top:"+tp+"px;";
		var pmb=c_el('div',atr,hd);
		hv_.appendChild(pmb);
		atr=[];
		atr['id']=["pop_txt"];
		atr['class']="pop_txt";
		atr['style']="left:"+lf+"px;top:"+(tp*1+17)+"px;";
		var pmb=c_el('div',atr,inf[1]);
		hv_.appendChild(pmb);
	}else{
		rm_hov('hov_');
		pop_in(x,lf,tp);
	}
}
function rm_hov(hv_){
	var hv_=document.getElementById(hv_);
	while(hv_.childNodes.length!=0){
		hv_.removeChild(hv_.lastChild);
	}
}
function signup_loop(){
	var anchs=$$('a');
	for(a_key in anchs){
		var s_anch=anchs[a_key];
		if(typeof s_anch=='object' && s_anch.href.indexOf('SecureSignUp')!=-1){
			s_anch.onmouseup=signup_click;
		}
	}
}
function signup_click(){
	window.signup=true;
	if(window.exitWin)window.exitWin.signup=true;
}

//-->
