TScroll_path_to_files='http://www.cybermesa.com/web/customer.nsf/tsp_files/';var NN4 = (document.layers) ? true : false;// required for NN4 to reliably capture key eventsif (NN4) document.captureEvents(Event.KEYPRESS)//submit the form if the user presses the ENTER keyfunction checkEnter(e){var keyPressed = "";if ( event ) keyPressed = event.keyCode;else if ( e.keyCode ) keyPressed = e.keyCode;if ( keyPressed == 10 || keyPressed == 13 )	document.forms['login'].submit()}<!--// external controls usage sample	var b_moving = true;	function toggle (o_btn) {		if (b_moving) {			TScroll[0].stop(2);			o_btn.value = ' Resume ';		}		else {			TScroll[0].move(2);			o_btn.value = ' Pause ';		}		b_moving = !b_moving;		return false;	}	function reverse (o_btn) {		TScroll[0].step = -TScroll[0].step;		o_btn.value = (TScroll[0].step > 0 ? ' Back ' : ' Forward ');		return false;	}	// -->function doSearch() {var whichSearch = document.getElementById("Search");var destinationURL = whichSearch.options[whichSearch.selectedIndex].value;var topic=document.getElementById("Topic").value;if (destinationURL.indexOf('mapquest') == -1 ){if ( destinationURL.length && topic.length) window.location.href = destinationURL+topic;}else{window.location.href = destinationURL};return false}function isEnter(which){	var keyPressed = "";if ( event ) keyPressed = event.keyCode;else if ( e.keyCode ) keyPressed = e.keyCode;if ( keyPressed == 10 || keyPressed == 13 )if (which=='search') doSearch()}function lookupNationalWeather() {	var zip = document.getElementById("CMCSZip").value;if ( zip.length ) {      theForm = document.forms["Form1"];      theForm.action="http://wwwa.accuweather.com/index-forecast.asp?&partner=12097&myadc=0&zipcode="+zip+"&u=1";	        if ( document.forms['weatherpreferences'].SaveWeather.checked ) {    SetCookie( 'CMWeathZip',zip , 99999, '/' );        }        else {  Delete_Cookie("CMWeathCity","/","www.cybermesa.com")  Delete_Cookie("CMWeathCountry","/","www.cybermesa.com")  Delete_Cookie("CMWeathZip","/","www.cybermesa.com")  }       theForm.zipcode.value = zip;        theForm.submit();      }    } function lookupInternationalWeather() {  var theForm;  var theCountry = document.getElementById("Country").value; // this should trim the value    var theCity = document.getElementById("City").value; // this should trim the value      if ( theCountry.length && theCity.length ) {      theForm = document.forms['Form1'];      theForm.zipcode.value = theCity+ ", " + theCountry;      theForm.submit();    }else if ( theCity.length ) {  theForm = document.forms['Form1'];      theForm.zipcode.value = theCity;      theForm.submit();}else if ( theCountry.length ){  theForm = document.forms['Form1'];      theForm.zipcode.value = theCountry;      theForm.submit();}  if ( document.forms['weatherpreferences'].SaveWeather.checked ) {  	  	SetCookie( "CMWeathCity", document.getElementById("City").value, 99999, "/" );  	SetCookie( "CMWeathCountry", document.getElementById("Country").value, 99999, "/" );  }  else{   Delete_Cookie("CMWeathCity","/","www.cybermesa.com")  Delete_Cookie("CMWeathCountry","/","www.cybermesa.com")  Delete_Cookie("CMWeathZip","/","www.cybermesa.com") }   return false;}function submitWeather() {var zip = document.getElementById("CMCSZip").value;if ( zip.length ) {       lookupNationalWeather();   return false;        } lookupInternationalWeather();return false;}function Delete_Cookie( name, path, domain ) { SetCookie( name,'no',-1,path );}function Get_Cookie( name ) {	var start = document.cookie.indexOf( name + "=" );var len = start + name.length + 1;if ( ( !start ) &&( name != document.cookie.substring( 0, name.length ) ) ){return null;}if ( start == -1 ) return null;var end = document.cookie.indexOf( ";", len );if ( end == -1 ) end = document.cookie.length;return unescape( document.cookie.substring( len, end ) );}function SetCookie( name, value, expires, path, domain, secure ){    // set time, it's in milliseconds    var today = new Date();    today.setTime( today.getTime() );    /*    if the expires variable is set, make the correct    expires time, the current script below will set    it for x number of days, to make it for hours,    delete * 24, for minutes, delete * 60 * 24    */    if ( expires )    {    expires = expires * 1000 * 60 * 60 * 24;    }    var expires_date = new Date( today.getTime() + (expires) );    document.cookie = name + "=" +escape( value ) +    ( ( expires ) ? ";expires=" + expires_date.toGMTString() : "" ) +    ( ( path ) ? ";path=" + path : "" ) +    ( ( domain ) ? ";domain=" + domain : "" ) +    ( ( secure ) ? ";secure" : "" );}function DeleteCookie(name){exp=new Date();exp.setTime (exp.getTime() - 1);}function checkCookies() {var hasCookie=null;var zip=Get_Cookie( "CMWeathZip");if (zip){document.getElementById("CMCSZip").value=ziphasCookie=true}var city=Get_Cookie( "CMWeathCity");if (city){document.getElementById("City").value=cityhasCookie=true}var country=Get_Cookie( "CMWeathCountry");if (country){document.getElementById("Country").value=countryhasCookie=true}if (hasCookie)document.forms["weatherpreferences"].SaveWeather.checked=true;}function toggleNews(action){			if (action=='yes') {  	SetCookie( "CMShowNews", 'yes', 99999, "/" );  	}   	else {   Delete_Cookie("CMShowNews","/","www.cybermesa.com");  }  	window.location.reload(true);  }function showNews(){var cookie=Get_Cookie('CMShowNews');		if (cookie=='yes'){		new TScroll_init(Tscr_LOOK, Tscr_BEHAVE, Tscr_ITEMS);		var obj=document.getElementById('Scroller');		obj.style.display='block';		}}var iTimer;function loadiFrame(){document.getElementById('MarketsRTQ').src='http://www.investor.reuters.com/markets.aspx?headertype=grey';clearTimeout(iTimer);}