var _0xd4c6=["info","streettrek","com","maps","map_canvas","getElementById","DEFAULT","MapTypeControlStyle","ROADMAP","MapTypeId","SATELLITE","HYBRID","click","addListener","event","map_small","Comtran","images/PinBlue.gif","","Comtran Associates Inc.\x3Cbr\x3E1961 Utica Ave.\x3Cbr\x3EBrooklyn, NY 11234","border:1px #006699 solid;background-color:#FFFFFF;padding-left:3px; padding-right:3px; padding-bottom:2px; padding-top:1px;font-weight:bold;white-space: nowrap;font-family:Tahoma;font-size:10px;text-align:left","Officer","images/Police-officer.gif","Police Officer","Chief","Cop","images/Policeman.gif","Serg","Police","images/Police car.gif","Police Car","425","Ambulance","images/Ambulance car.gif","780","Agent","images/Agent.gif","Secret Agent","007","Ship","images/Sailing ship.gif","Sailing Vessel","Enterprise","border:1px #006699 solid;background-color:#CCFFFF;padding-left:3px; padding-right:3px; padding-bottom:2px; padding-top:1px;font-weight:bold;white-space: nowrap;font-family:Tahoma;font-size:12px;text-align:left","Pickup","images/Pick-up.gif","Paul","border:1px #006699 solid;background-color:#CCCCCC;padding-left:3px; padding-right:3px; padding-bottom:2px; padding-top:1px;font-weight:bold;white-space: nowrap;font-family:Tahoma;font-size:12px;text-align:left","length","streetViewBalloon","close","id","latitude","longitude","labelStyle","border:1px #006699 solid; background-color:#fffaf0;padding-left:3px; padding-right:3px; padding-bottom:2px; padding-top:1px;font-weight:bold;white-space: nowrap;font-family:Tahoma;font-size:10px","setMap","label","mouseover","show","mouseout","hide","push","getPosition","OK","StreetViewStatus","getPanoramaByLocation","div","createElement","width","style","400px","height","300px","setContent","open","resize","trigger","onTimer()","setPosition","setPoint","border:1px #006699 solid;background-color:#FF6666;padding-left:3px; padding-right:3px; padding-bottom:2px; padding-top:1px;font-weight:bold;white-space: nowrap;font-family:Tahoma;font-size:10px;text-align:left","setStyle","point","html","div_","pixelOffset","map","hidden","prototype","onAdd","position","absolute","innerHTML","\x3Cdiv style=\x22","\x22\x3E","\x3C/div\x3E","getPanes","appendChild","overlayImage","onRemove","removeChild","parentNode","draw","getProjection","fromLatLngToDivPixel","left","x","px","clientHeight","top","y","display","none","isHidden","supportsHide","setContents","getPoint","@",".","location","mailto:","?subject=StreetTrek Explorer Demo Download\x26body=Company Name:%0AContact name:%0AEmail Address:%0A%0AYou may add additional information below the line%0A_____________________________________%0APhone number:%0AStreet Address:%0ACity:%0AState/Province:%0APostal code (ZIP):%0ACountry:","?subject=Simple Email Gateway Demo Download\x26body=Company Name:%0AContact name:%0AEmail Address:%0A%0AYou may add additional information below the line%0A_____________________________________%0APhone number:%0AStreet Address:%0ACity:%0AState/Province:%0APostal code (ZIP):%0ACountry:","?subject=TrboDVR Demo Download\x26body=Company Name:%0AContact name:%0AEmail Address:%0A%0AYou may add additional information below the line%0A_____________________________________%0APhone number:%0AStreet Address:%0ACity:%0AState/Province:%0APostal code (ZIP):%0ACountry:"];var timerID=null;var timerRunning=false;var ambIndex=0;var polIndex=0;var agentIndex=0;var talkIndex=0;var map;var assets= new Array();var amb=true;var addy=_0xd4c6[0];var domname=_0xd4c6[1];var suffix=_0xd4c6[2];var infoWindow= new google[_0xd4c6[3]].InfoWindow({pixelOffset: new google[_0xd4c6[3]].Size(0,16)});var streetViewService= new google[_0xd4c6[3]].StreetViewService();var streetViewPanorama;var ambulanceCoord=[[40.76054,-73.99770],[40.75994,-73.99621],[40.75916,-73.99450],[40.75867,-73.99331],[40.75815,-73.99197],[40.75741,-73.99047],[40.75554,-73.98578],[40.75498,-73.98459],[40.75428,-73.98269],[40.75316,-73.98000],[40.75174,-73.97687],[40.75092,-73.97482],[40.75200,-73.97352],[40.75323,-73.97251],[40.75424,-73.97188],[40.75741,-73.96957],[40.75897,-73.96860],[40.75886,-73.96856],[40.75949,-73.96968],[40.76005,-73.97128],[40.76080,-73.97289],[40.76240,-73.97672],[40.76449,-73.98161],[40.76523,-73.98347],[40.76609,-73.98533],[40.76728,-73.98824],[40.76840,-73.99085],[40.76900,-73.99226],[40.76758,-73.99342],[40.76568,-73.99469],[40.76233,-73.99722]];var policeCoord=[[40.76151,-73.96864],[40.76041,-73.96572],[40.75918,-73.96292],[40.75841,-73.96100],[40.75763,-73.95916],[40.76019,-73.95676],[40.76294,-73.95390],[40.76653,-73.95082],[40.76717,-73.95249],[40.76797,-73.95436],[40.76944,-73.95778],[40.76847,-73.95854],[40.76776,-73.95905],[40.76719,-73.95948],[40.76653,-73.95994],[40.76525,-73.96087],[40.76405,-73.96178],[40.76397,-73.96180],[40.76215,-73.96314],[40.76120,-73.96381]];var agentCoord=[[40.76654,-73.97270],[40.76614,-73.97257],[40.76862,-73.97306],[40.76899,-73.97299],[40.76959,-73.97220],[40.76978,-73.97332],[40.76937,-73.97494],[40.76749-73.97622],[40.76554,-73.97464],[40.76486,-73.97351],[40.76719,-73.97667],[40.76591,-73.97610],[40.76467,-73.97359]];function initialize(){var _0x9c82x14=document[_0xd4c6[5]](_0xd4c6[4]);if(_0x9c82x14){var _0x9c82x15={zoom:14,center: new google[_0xd4c6[3]].LatLng(40.76180,-73.98179),mapTypeControl:true,mapTypeControlOptions:{style:google[_0xd4c6[3]][_0xd4c6[7]][_0xd4c6[6]],mapTypeIds:[google[_0xd4c6[3]][_0xd4c6[9]][_0xd4c6[8]],google[_0xd4c6[3]][_0xd4c6[9]][_0xd4c6[10]],google[_0xd4c6[3]][_0xd4c6[9]][_0xd4c6[11]]]},mapTypeId:google[_0xd4c6[3]][_0xd4c6[9]][_0xd4c6[8]]};map= new google[_0xd4c6[3]].Map(_0x9c82x14,_0x9c82x15);google[_0xd4c6[3]][_0xd4c6[14]][_0xd4c6[13]](map,_0xd4c6[12],function (){closeInfoWindow();} );loadAssets();} else {_0x9c82x14=document[_0xd4c6[5]](_0xd4c6[15]);{if(_0x9c82x14){map= new google[_0xd4c6[3]].Map(_0x9c82x14,{zoom:15,center: new google[_0xd4c6[3]].LatLng(40.62400,-73.92700),mapTypeControl:false,mapTypeId:google[_0xd4c6[3]][_0xd4c6[9]][_0xd4c6[8]]});loadAsset(_0xd4c6[16],40.62416,-73.92721,_0xd4c6[17],_0xd4c6[18],_0xd4c6[19],_0xd4c6[20]);} ;} ;} ;} ;function loadAssets(){loadAsset(_0xd4c6[21],40.76795,-73.98187,_0xd4c6[22],_0xd4c6[23],_0xd4c6[24]);loadAsset(_0xd4c6[25],40.75856,-73.97923,_0xd4c6[26],_0xd4c6[23],_0xd4c6[27]);loadAsset(_0xd4c6[28],40.76151,-73.96864,_0xd4c6[29],_0xd4c6[30],_0xd4c6[31]);loadAsset(_0xd4c6[32],40.76054,-73.99770,_0xd4c6[33],_0xd4c6[32],_0xd4c6[34]);loadAsset(_0xd4c6[35],40.76654,-73.97270,_0xd4c6[36],_0xd4c6[37],_0xd4c6[38]);loadAsset(_0xd4c6[39],40.76626,-74.0040,_0xd4c6[40],_0xd4c6[41],_0xd4c6[42],_0xd4c6[43]);loadAsset(_0xd4c6[44],40.75666,-74.00146,_0xd4c6[45],_0xd4c6[44],_0xd4c6[46],_0xd4c6[47]);startTimer();} ;function closeInfoWindow(){for(var _0x9c82x18=0;_0x9c82x18<assets[_0xd4c6[48]];_0x9c82x18++){assets[_0x9c82x18][_0xd4c6[49]]=false;} ;infoWindow[_0xd4c6[50]]();} ;function loadAsset(_0x9c82x1a,_0x9c82x1b,_0x9c82x1c,_0x9c82x1d,_0x9c82x1e,_0x9c82x1f,_0x9c82x20){if(map){if(!_0x9c82x1f){_0x9c82x1f=_0x9c82x1e;} ;var _0x9c82x21= new google[_0xd4c6[3]].LatLng(_0x9c82x1b,_0x9c82x1c);var _0x9c82x1d= new google[_0xd4c6[3]].MarkerImage(_0x9c82x1d, new google[_0xd4c6[3]].Size(60,60), new google[_0xd4c6[3]].Point(0,0), new google[_0xd4c6[3]].Point(16,16));var _0x9c82x22= new google[_0xd4c6[3]].Marker({icon:_0x9c82x1d,map:map,title:_0x9c82x1e,position:_0x9c82x21});_0x9c82x22[_0xd4c6[51]]=_0x9c82x1a;_0x9c82x22[_0xd4c6[52]]=_0x9c82x1b;_0x9c82x22[_0xd4c6[53]]=_0x9c82x1c;_0x9c82x22[_0xd4c6[49]]=false;if(_0x9c82x20){_0x9c82x22[_0xd4c6[54]]=_0x9c82x20;} else {_0x9c82x22[_0xd4c6[54]]=_0xd4c6[55];} ;var _0x9c82x23= new ELabel(_0x9c82x21,_0x9c82x1f,_0x9c82x22[_0xd4c6[54]], new google[_0xd4c6[3]].Size(-16,-18));_0x9c82x23[_0xd4c6[56]](map);_0x9c82x22[_0xd4c6[57]]=_0x9c82x23;if(_0x9c82x1e==_0xd4c6[18]){google[_0xd4c6[3]][_0xd4c6[14]][_0xd4c6[13]](_0x9c82x22,_0xd4c6[58],function (){_0x9c82x22[_0xd4c6[57]][_0xd4c6[59]]();} );google[_0xd4c6[3]][_0xd4c6[14]][_0xd4c6[13]](_0x9c82x22,_0xd4c6[60],function (){_0x9c82x22[_0xd4c6[57]][_0xd4c6[61]]();} );} else {google[_0xd4c6[3]][_0xd4c6[14]][_0xd4c6[13]](_0x9c82x22,_0xd4c6[12],function (){requestStreetViewBalloon(_0x9c82x22);} );} ;assets[_0xd4c6[62]](_0x9c82x22);} ;} ;function requestStreetViewBalloon(_0x9c82x22){if(_0x9c82x22){for(var _0x9c82x18=0;_0x9c82x18<assets[_0xd4c6[48]];_0x9c82x18++){assets[_0x9c82x18][_0xd4c6[49]]=false;} ;streetViewService[_0xd4c6[66]](_0x9c82x22[_0xd4c6[63]](),50,function (_0x9c82x25,_0x9c82x26){if(_0x9c82x26==google[_0xd4c6[3]][_0xd4c6[65]][_0xd4c6[64]]){showStreetViewBalloon(_0x9c82x22);} ;} );} ;} ;function showStreetViewBalloon(_0x9c82x22){var _0x9c82x28=document[_0xd4c6[68]](_0xd4c6[67]);_0x9c82x28[_0xd4c6[70]][_0xd4c6[69]]=_0xd4c6[71];_0x9c82x28[_0xd4c6[70]][_0xd4c6[72]]=_0xd4c6[73];var _0x9c82x29=_0x9c82x22[_0xd4c6[63]]();streetViewPanorama= new google[_0xd4c6[3]].StreetViewPanorama(_0x9c82x28,{position:_0x9c82x29,pov:{heading:34,pitch:10,zoom:1}});infoWindow[_0xd4c6[74]](_0x9c82x28);infoWindow[_0xd4c6[75]](map,_0x9c82x22);google[_0xd4c6[3]][_0xd4c6[14]][_0xd4c6[77]](streetViewPanorama,_0xd4c6[76]);_0x9c82x22[_0xd4c6[49]]=true;} ;function stopTimer(){if(timerRunning){clearTimeout(timerID);} ;timerRunning=false;} ;function startTimer(){timerID=setTimeout(_0xd4c6[78],2500);timerRunning=true;} ;function onTimer(){if(amb){if(ambIndex<ambulanceCoord[_0xd4c6[48]]-1){ambIndex+=1;} else {ambIndex=0;} ;} else {if(polIndex<policeCoord[_0xd4c6[48]]-1){polIndex+=1;} else {polIndex=0;} ;if(agentIndex<agentCoord[_0xd4c6[48]]-1){agentIndex+=1;} else {agentIndex=0;} ;} ;stopTimer();if(amb){updateAssetPosition(_0xd4c6[32],ambulanceCoord[ambIndex][0],ambulanceCoord[ambIndex][1]);amb=false;} else {updateAssetPosition(_0xd4c6[28],policeCoord[polIndex][0],policeCoord[polIndex][1]);updateAssetPosition(_0xd4c6[35],agentCoord[agentIndex][0],agentCoord[agentIndex][1]);amb=true;} ;if(talkIndex==0){updateTalking(_0xd4c6[21]);} else {if(talkIndex==2){updateTalking(_0xd4c6[25]);} else {if(talkIndex==4){updateTalking(_0xd4c6[28]);} ;} ;} ;talkIndex+=1;if(talkIndex>4){talkIndex=0;} ;startTimer();} ;function updateAssetPosition(_0x9c82x1a,_0x9c82x1b,_0x9c82x2e){try{for(var _0x9c82x18 in assets){if(assets[_0x9c82x18]){if(assets[_0x9c82x18][_0xd4c6[51]]==_0x9c82x1a){var _0x9c82x21= new google[_0xd4c6[3]].LatLng(_0x9c82x1b,_0x9c82x2e);assets[_0x9c82x18][_0xd4c6[79]](_0x9c82x21);if(assets[_0x9c82x18][_0xd4c6[57]]){assets[_0x9c82x18][_0xd4c6[57]][_0xd4c6[80]](_0x9c82x21);} ;if(assets[_0x9c82x18][_0xd4c6[49]]){if(streetViewPanorama){streetViewPanorama[_0xd4c6[79]](_0x9c82x21);} else {assets[_0x9c82x18][_0xd4c6[49]]=false;} ;} ;break ;} ;} ;} ;} catch(err){} ;} ;function updateTalking(_0x9c82x1a){for(var _0x9c82x18 in assets){if(assets[_0x9c82x18]){if(assets[_0x9c82x18][_0xd4c6[57]]){if(assets[_0x9c82x18][_0xd4c6[51]]==_0x9c82x1a){assets[_0x9c82x18][_0xd4c6[57]][_0xd4c6[82]](_0xd4c6[81]);} else {assets[_0x9c82x18][_0xd4c6[57]][_0xd4c6[82]](_0xd4c6[55]);} ;} ;if(_0x9c82x18>3){break ;} ;} ;} ;} ;function ELabel(_0x9c82x31,_0x9c82x32,_0x9c82x33,_0x9c82x34){this[_0xd4c6[83]]=_0x9c82x31;this[_0xd4c6[84]]=_0x9c82x32;this[_0xd4c6[85]]=null;this[_0xd4c6[54]]=_0x9c82x33||_0xd4c6[18];this[_0xd4c6[86]]=_0x9c82x34|| new google[_0xd4c6[87]].Size(0,0);this[_0xd4c6[88]]=false;} ;ELabel[_0xd4c6[89]]= new google[_0xd4c6[3]].OverlayView();ELabel[_0xd4c6[89]][_0xd4c6[90]]=function (){var _0x9c82x14=document[_0xd4c6[68]](_0xd4c6[67]);_0x9c82x14[_0xd4c6[70]][_0xd4c6[91]]=_0xd4c6[92];_0x9c82x14[_0xd4c6[93]]=_0xd4c6[94]+this[_0xd4c6[54]]+_0xd4c6[95]+this[_0xd4c6[84]]+_0xd4c6[96];var _0x9c82x35=this[_0xd4c6[97]]();this[_0xd4c6[85]]=_0x9c82x14;_0x9c82x35[_0xd4c6[99]][_0xd4c6[98]](_0x9c82x14);} ;ELabel[_0xd4c6[89]][_0xd4c6[100]]=function (){if(this[_0xd4c6[85]]){this[_0xd4c6[85]][_0xd4c6[102]][_0xd4c6[101]](this[_0xd4c6[85]]);this[_0xd4c6[85]]=null;} ;} ;ELabel[_0xd4c6[89]][_0xd4c6[103]]=function (){var _0x9c82x36=this[_0xd4c6[104]]();if(_0x9c82x36){var _0x9c82x21=_0x9c82x36[_0xd4c6[105]](this[_0xd4c6[83]]);if(_0x9c82x21){this[_0xd4c6[85]][_0xd4c6[70]][_0xd4c6[106]]=(_0x9c82x21[_0xd4c6[107]]+this[_0xd4c6[86]][_0xd4c6[69]])+_0xd4c6[108];var _0x9c82x37=parseInt(this[_0xd4c6[85]][_0xd4c6[109]]);this[_0xd4c6[85]][_0xd4c6[70]][_0xd4c6[110]]=(_0x9c82x21[_0xd4c6[111]]+this[_0xd4c6[86]][_0xd4c6[72]]-_0x9c82x37)+_0xd4c6[108];} ;} ;} ;ELabel[_0xd4c6[89]][_0xd4c6[59]]=function (){if(this[_0xd4c6[85]]){this[_0xd4c6[85]][_0xd4c6[70]][_0xd4c6[112]]=_0xd4c6[18];} ;this[_0xd4c6[88]]=false;} ;ELabel[_0xd4c6[89]][_0xd4c6[61]]=function (){if(this[_0xd4c6[85]]){this[_0xd4c6[85]][_0xd4c6[70]][_0xd4c6[112]]=_0xd4c6[113];} ;this[_0xd4c6[88]]=true;} ;ELabel[_0xd4c6[89]][_0xd4c6[114]]=function (){return this[_0xd4c6[88]];} ;ELabel[_0xd4c6[89]][_0xd4c6[115]]=function (){return true;} ;ELabel[_0xd4c6[89]][_0xd4c6[116]]=function (_0x9c82x32){this[_0xd4c6[84]]=_0x9c82x32;if(this[_0xd4c6[85]]){this[_0xd4c6[85]][_0xd4c6[93]]=_0xd4c6[94]+this[_0xd4c6[54]]+_0xd4c6[95]+this[_0xd4c6[84]]+_0xd4c6[96];} ;this[_0xd4c6[103]]();} ;ELabel[_0xd4c6[89]][_0xd4c6[82]]=function (_0x9c82x20){if(this[_0xd4c6[85]]){this[_0xd4c6[54]]=_0x9c82x20;this[_0xd4c6[85]][_0xd4c6[93]]=_0xd4c6[94]+_0x9c82x20+_0xd4c6[95]+this[_0xd4c6[84]]+_0xd4c6[96];this[_0xd4c6[103]]();} ;} ;ELabel[_0xd4c6[89]][_0xd4c6[80]]=function (_0x9c82x31){this[_0xd4c6[83]]=_0x9c82x31;this[_0xd4c6[103]]();} ;ELabel[_0xd4c6[89]][_0xd4c6[117]]=function (){return this[_0xd4c6[83]];} ;function requestExplorerDemo(addy,domname,suffix){var _0x9c82x39=(addy+_0xd4c6[118]+domname+_0xd4c6[119]+suffix);window[_0xd4c6[120]]=(_0xd4c6[121]+_0x9c82x39+_0xd4c6[122]);} ;function requestEmailGatewayDemo(addy,domname,suffix){var _0x9c82x39=(addy+_0xd4c6[118]+domname+_0xd4c6[119]+suffix);window[_0xd4c6[120]]=(_0xd4c6[121]+_0x9c82x39+_0xd4c6[123]);} ;function requestTrboDVRDemo(addy,domname,suffix){var _0x9c82x39=(addy+_0xd4c6[118]+domname+_0xd4c6[119]+suffix);window[_0xd4c6[120]]=(_0xd4c6[121]+_0x9c82x39+_0xd4c6[124]);} ;
