var browserIE=(navigator.appVersion.toLowerCase().indexOf("msie")!= -1)?true:false;var browserWin=(navigator.appVersion.toLowerCase().indexOf("win")!= -1)?true:false;var browserFF=(navigator.userAgent.toLowerCase().indexOf("firefox")!= -1)?true:false;var browserOpera=(navigator.userAgent.toLowerCase().indexOf("opera")!= -1)?true:false;function t_bi(t_iP){var t_bV=document.getElementById("trackHawkMsg");if(t_iP==null)t_bV.style.visibility="hidden";else{t_bV.style.visibility="visible";document.getElementById("trackHawkMsgTxt").innerHTML=t_iP;}};function t_aS(t_dU){return document.getElementById(t_dU);};function t_at(t_fD){if(t_fC)t_aS("flashSoundFX").playSoundEffect(t_fD);return;};function t_ak(t_ay){if(!t_ay||t_ay=="")return;try{t_ay+=".swf";t_aS("flashAudio").loadAudioFile(t_ay);}catch(t_hA){setTimeout("t_ak(hdata_race.audio)",4000);}return;};function playAudio(param){t_aS("flashAudio").playAudio(param);return;};function t_as(t_dT,t_fD){if(t_fC)t_aS(t_dT).playSoundEffect(t_fD);return;};function t_ae(){var t_eb=0;if(typeof(window.innerHeight)=='number'){t_eb=window.innerHeight;}else if(document.documentElement&&document.documentElement.clientHeight){t_eb=document.documentElement.clientHeight;}else if(document.body&&document.body.clientHeight){t_eb=document.body.clientHeight;}return t_eb;};function t_aV(t_dk,panelLayerName,t_cE,t_cG){var t_fh,visible;var div=document.getElementById(t_dk);if(!div)return false;var t_hF=document.getElementById(panelLayerName);var insertAfterPanel=document.getElementById(t_cE);var t_cF=document.getElementById(t_cG);if(div.parentNode==t_cF){visible=true;t_cF.removeChild(div);t_ai(t_hF,div,insertAfterPanel);}else{visible=false;t_hF.removeChild(div);t_cF.appendChild(div);}return visible;};function t_ai(parent,t_eh,referenceNode){parent.insertBefore(t_eh,referenceNode.nextSibling);};function t_bm(t_iQ){t_at("click3");document.getElementById(t_iQ).style.visibility="hidden";};function t_aE(t_fO,t_bD){if(!t_bD)t_bD=2;t_fO=new Number(t_fO);return t_fO.toFixed(t_bD);};function t_f(t_fN,t_el){t_fN=t_fN.toString();while(t_fN.length<t_el){t_fN='0'+t_fN;}return t_fN;};function t_q(t_bP){var t_fN="th";var t_fB=new Array('Jan','Feb','March','April','May','June','July','Aug','Sept','Oct','Nov','Dec');var year=t_bP.substr(0,4);var t_dS=t_fB[parseInt(t_bP.substr(4,2)-1,10)];var day=parseInt(t_bP.substr(6,2),10);if(day==1||day==21||day==31)t_fN="st";if(day==2||day==22)t_fN="nd";if(day==3||day==23)t_fN="rd";return t_dS+" "+day+t_fN+", "+year;};function t_r(time){var t_iu,t_dV=0;var t_am=time.split(":");if(t_am.length==1){t_iu=time;}else{t_iu=t_am[1];t_dV+=60000*parseInt(t_am[0],10);}t_am=t_iu.split(".");if(t_am.length==1)t_dV+=1000*parseInt(t_iu,10);else t_dV+=1000*parseInt(t_am[0],10)+parseInt(t_am[1],10);return t_dV;};function t_p(time,t_bC){if(t_bC==null||t_bC<0)t_bC=0;if(t_bC==1)time=100*Math.round(time/100);if(t_bC==2)time=10*Math.round(time/10);var t_dV=(time%60000)%1000;var t_fu=(time-t_dV)%60000;var t_dQ=(time-t_fu-t_dV)/60000;t_fu=t_fu/1000;t_dV=t_f(t_dV,3);t_fu=t_f(t_fu,2);t_dQ=t_f(t_dQ,2);return(t_dQ+":"+t_fu+"."+t_dV);};function t_aC(name,value,t_aM){var expires="";if(t_aM){var date=new Date();date.setTime(date.getTime()+(t_aM*24*60*60*1000));expires="; expires="+date.toGMTString();}document.cookie=name+"="+value+expires+"; path=/";};function t_N(name){var t_aU=name+"=";var ca=document.cookie.split(';');for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==' ')c=c.substring(1,c.length);if(c.indexOf(t_aU)==0){return c.substring(t_aU.length,c.length);}}return null;};function t_z(name){t_aC(name,"",-1);};function t_aR(t_ey,text,t_gL){this.t_ey=t_ey;this.text=text;if(!t_gL)t_gL="label";this.class_=t_gL;this.t_cm;this.t_bS;this.t_iR;this.t_eK;};t_aR.prototype=new GOverlay();t_aR.prototype.initialize=function(){var div=document.createElement("div");div.style.position="absolute";div.innerHTML='<div class="'+this.class_+'">'+this.text+'</div>';map.getPane(G_MAP_FLOAT_SHADOW_PANE).appendChild(div);this.div_=div;var t_eE=map.fromLatLngToDivPixel(this.t_ey);this.t_iR=t_eE.x;this.t_eK=t_eE.y;};t_aR.prototype.redraw=function(){this.div_.style.left=this.t_iR+"px";this.div_.style.top=this.t_eK+"px";};t_aR.prototype.remove=function(){this.div_.parentNode.removeChild(this.div_);};t_aR.prototype.show=function(){this.div_.firstChild.style.visibility="visible";};t_aR.prototype.hide=function(){this.div_.firstChild.style.visibility="hidden";};t_aR.prototype.setAlign=function(t_cx,t_cy,t_R){var t_cw;if(t_R>2)t_cw=t_cx;else t_cw=t_cy;var t_eE=map.fromLatLngToDivPixel(t_cw);t_eE.y+=this.div_.clientHeight/2;switch(t_R){case 1:t_eE.x+=5;if(t_cx.lat()>t_cy.lat())t_eE.y+=10;else t_eE.y-=10;break;case 2:t_eE.x-=5+(+this.div_.clientWidth);if(t_cx.lat()>t_cy.lat())t_eE.y+=10;else t_eE.y-=10;break;case 3:t_eE.x+=5;if(t_cx.lat()>t_cy.lat())t_eE.y-=10;else t_eE.y+=10;break;case 4:t_eE.x-=5+(+this.div_.clientWidth);if(t_cx.lat()>t_cy.lat())t_eE.y-=10;else t_eE.y+=10;break;}this.t_iR=t_eE.x;this.t_eK=t_eE.y-this.div_.clientHeight;this.redraw();};t_aR.prototype.setContents=function(text){this.div_.innerHTML=text;this.t_cm=this.div_.clientWidth;this.t_bS=this.div_.clientHeight;};t_aR.prototype.setPoint=function(t_ey,t_iF,t_iN){if(!t_iF)t_iF=0;if(!t_iN)t_iN=0;var t_eE=map.fromLatLngToDivPixel(t_ey);this.t_iR=t_eE.x-t_iF;this.t_eK=t_eE.y-t_iN;this.redraw();} 