function bf(fF,route,cE,gn,jb,direction,directionDisplay,gb,cR){this.fF=fF;this.route=route;this.cE=cE;this.gn=gn;this.jb=jb;this.direction=direction;this.directionDisplay=directionDisplay;this.gb=gb;this.cR=cR;};function aQ(a,b){if(a==null)return-1;if(b==null)return+1;if(a.cE<b.cE)return-1;if(a.cE>b.cE)return+1;return 0;};function bl(es){for(var ga=0;ga<es.fH.length;ga++){es.fH[ga].show();}};function cp(es){for(var ga=0;ga<es.fH.length;ga++){es.fH[ga].hide();}};function bx(es){for(var ga=0;ga<es.fI.length;ga++){es.fI[ga].show();}};function bF(es){for(var ga=0;ga<es.fI.length;ga++){es.fI[ga].hide();}};function aA(cK,icon,name,description,cE,jb,hE,direction,directionDisplay,color){var hI=Q(hE);var hP=hE;if(hI!=null){hP+=" - "+hI.name;}var marker=new GMarker(cK,{eK:true,icon:icon,jb:jb,hE:hE});marker.jb=jb;marker.hE=hE;marker.direction=direction;marker.directionDisplay=directionDisplay;GEvent.addListener(marker,"click",function(){tooltip.style.visibility="hidden";fl.style.visibility="hidden";je=false;map.closeInfoWindow();fl.marker=marker;fW.push(hE);P(marker.jb,false);});GEvent.addListener(marker,"mouseover",function(){if(fl.style.visibility=="visible"&&fl.marker==marker){}else{je=true;tooltip.marker=marker;P(marker.jb,true);}});GEvent.addListener(marker,"mouseout",function(){je=false;tooltip.style.visibility="hidden";});return marker;};function aR(fF,cR){var icon=null;if(cR=="EastArrow"){icon=dk;}else if(cR=="WestArrow"){icon=dj;}else if(cR=="SouthArrow"){icon=di;}else if(cR=="NorthArrow"){icon=dm;}return new GMarker(fF,{eK:false,icon:icon});};function ck(es,gL){if(fK!=null){map.removeOverlay(fK);}fK=aA(es.et[gL].fF,fM,es.name,es.description,es.et[gL].cE,es.et[gL].jb,es.id,es.et[gL].direction,es.et[gL].directionDisplay,es.color);map.addOverlay(fK);etaParameters="route="+es.name+"&direction="+es.et[gL].direction+"&stop="+es.et[gL].cE.replace("&","%26")+"&id="+es.et[gL].jb;//@1
if(map.getZoom()>=jd&&fb){fK.show();}else{fK.hide();}fO=es.id;fl.marker=fK;fl.marker.jb=es.et[gL].jb;fW.push(es.id);map.setCenter(fl.marker.getLatLng());map.savePosition();P(es.et[gL].jb,false);};function M(hC){if(fX&&fl.type=="stop"){for(var i=0;i<fW.length;i++){if(fW[i]==hC){P(fl.marker.jb,false);}}}};function bn(text){tooltip.innerHTML=text;tooltip.type="stop";aq();};function iQ(text){fl.innerHTML=text;fl.type="stop";fQ();}