<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}



function getDiv(object, defg) {
	if (l) return defg ? document.getElementById(object).style:document.getElementById(object);
	if (k) return defg ? document.all[object].style:document.all[object];
	if (j) return document.layers[object];
}
	
function getWidth() {
	return window.innerWidth != null ? window.innerWidth: document.body.clientWidth != null ? document.body.clientWidth:null;
}

function mouseX(e) {
	if (e.pageX) return e.pageX; 
	else if (e.clientX) return e.clientX+(document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft);
	else return null;
}

function mouseY(e) {
	if (e.pageY) return e.pageY;
	else if (e.clientY) return e.clientY+(document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop);
	else return null;
}

function showFlyover(e,object,hide,abstop,absleft) {
	if (i) {
		var screenWidth=getWidth();
		firstDiv=getDiv(object,1);
		secondDiv=getDiv(object,0);
		vis=firstDiv.visibility;
		
		if (secondDiv.offsetWidth) secondWidth=secondDiv.offsetWidth;
		else if (secondDiv.clip.width) secondWidth=secondDiv.clip.width;
		
		if (vis=="show" || vis=="visible" || hide=="1") { 
			firstDiv.visibility="hidden";
		} else {
			mposy=mouseY(e)+15;
			mposx=mouseX(e)-(secondWidth/4); if (mposx<2) mposx=2;
		else if (mposx+secondWidth>screenWidth) mposx-=secondWidth/2;
		
		if (abstop>0 || abstop<0) { mposy=abstop; }
		if (absleft>0 || absleft<0) { 
			if (screenWidth < 870) screenWidth = 870;
			mposx=screenWidth/2+absleft;
		}
		
		if (!j) {
			mposx+='px';
			mposy+='px';
		}
		firstDiv.left=mposx;
		firstDiv.top=mposy;
		firstDiv.visibility="visible";
		}
	}
}

var i=0;
var j=0;
var k=0;
var l=0;

if (document.getElementById) {
	l=1;
	i=1;
}
else {
	if (document.all) {
		k=1; 
		i=1;
	}
else {
	browserVersion=parseInt(navigator.appVersion);
	if ((navigator.appName.indexOf('Netscape') != -1) && (browserVersion==4)) {
		j=1; 
		i=1;
	}
}
}



function switchCity(city) {
	if (city == 'Dallas') {
		document.getElementById('divHouston').style.display = 'none';
	    document.getElementById('divDallas').style.display = 'block';
		document.getElementById('bnHouston').setAttribute("class", "");
	    document.getElementById('bnDallas').setAttribute("class", "currentpage");
		document.getElementById('picHouston').style.display = 'none';
	    document.getElementById('picDallas').style.display = 'block';
	}
	else {
	    document.getElementById('divDallas').style.display = 'none';
		document.getElementById('divHouston').style.display = 'block';
	    document.getElementById('bnDallas').setAttribute("class", "");
		document.getElementById('bnHouston').setAttribute("class", "currentpage");
	    document.getElementById('picDallas').style.display = 'none';
		document.getElementById('picHouston').style.display = 'block';
	}
	
	if (city != null && city != '') setCookie('city', city, 365 * 5);
	
	return false;
}

function getCookie(c_name)
{
if (document.cookie.length>0)
  {
  c_start=document.cookie.indexOf(c_name + "=");
  if (c_start!=-1)
    {
    c_start=c_start + c_name.length+1;
    c_end=document.cookie.indexOf(";",c_start);
    if (c_end==-1) c_end=document.cookie.length;
    return unescape(document.cookie.substring(c_start,c_end));
    }
  }
return "";
}

function setCookie(c_name,value,expiredays)
{
var exdate=new Date();
exdate.setDate(exdate.getDate()+expiredays);
document.cookie=c_name+ "=" +escape(value)+
((expiredays==null) ? "" : ";expires="+exdate.toGMTString())+";path=/";
}

function checkCookie()
{
city=getCookie('city');
if (city!=null && city!="") return city; else return '';
}
//-->