var g_HideInfoBoxTimeoutId=null;function CGBusinessPushpin(c,d,e,a,f,g,h){var b=new CGPushpin(d,e,PushpinHelper.getHTMLTitle(c,a),PushpinHelper.getHTMLDescription(c,d,e,a,f,g),PushpinHelper.getHTMLIcon(),h);this.GetPushpinObject=function(a){return b.GetPushpinObject(a)};this.GetPushpinCenter=function(){return b.GetPushpinCenter()}}function CGBusinessPushpinHelper(){this.getHTMLIcon=function(a){if(a)return '<div class="BusinessPushpinIcon">'+a+"</div>";else return '<div class="BusinessPushpinIcon"></div>'};this.getHTMLTitle=function(b,a){return '<div class="BusinessPushpinTitle"><a href="'+CGUtility.GetDetailsPageURL(b)+'" />'+a+"</a></div>"};this.getHTMLDescription=function(g,b,c,e,d,f){var a='<div class="BusinessPushpinDescription">'+d+"<br/>"+f+'</div><div style="clear:both"/>';a=a+'<div class="BusinessPushpinAction">';a=a+'<a href="mailto:?subject='+escape(e)+"&body="+escape(e)+CGUtility.URLEncodednewLine+escape(d)+CGUtility.URLEncodednewLine+"Phone No: "+escape(f)+CGUtility.URLEncodednewLine+escape(CGUtility.GetDetailsPageURL(g))+'">Send to Email</a><br/>';a=a+'<a href="#" onclick="return false;">Add to collection</a><br/>';a=a+'<a href="'+CGUtility.GetDrivingDirectionURL(g,b,c,e,d,f,true)+'" class="BusinessPushpinActionLinks" target="_blank">Drive From ... </a> or ';a=a+' <a href="'+CGUtility.GetDrivingDirectionURL(g,b,c,e,d,f,false)+'" class="BusinessPushpinActionLinks" target="_blank">Drive To ... </a>';a=a+'<br/><span>Zoom to  </span> <a onclick="CityGuidesMap.SetCenterAndZoom(new VELatLong('+b+","+c+'),16);return false;" href="#">Street</a> | <a href="#" onclick="CityGuidesMap.SetCenterAndZoom(new VELatLong('+b+","+c+'),11);return false;">City</a> | <a href="#" onclick="CityGuidesMap.SetCenterAndZoom(new VELatLong('+b+","+c+'),6);">Region</a>';a=a+"</div>";return a}}var PushpinHelper=new CGBusinessPushpinHelper;function CGBusinessPushpin2(e,f,g,d,h,k,l,b,i,j){var a=this,c=new CGPushpin(f,g,PushpinHelper.getHTMLTitle(e,d),PushpinHelper.getHTMLDescription(e,f,g,d,h,k),PushpinHelper.getHTMLIcon(),l);a.GetPushpinObject=function(d){var e=c.GetPushpinObject();Pushpin2Helper.AttachEvents();var a=null;if(b!=null)a=$(b);if(a!=null){a.onmouseover=Pushpin2Helper.OnHover;a.onmouseout=Pushpin2Helper.OnOut;a.arrayIndex=d;e.arrayIndex=d}return e};a.GetElementID=function(){return b};a.GetPushpinCenter=function(){return c.GetPushpinCenter()};a.OnHover=function(){var a=$(b);a.className=j};a.OnOut=function(){var a=$(b);a.className=i};a.GetID=function(){return c.GetPushpinObject().GetID()}}function CGBusinessPushpin2Helper(){var f='Pushpin2Helper.HideInfoBox("',e="onendpan",a=null,c=false,d=this,b,g=c,j=c,h=a,i=a;d.AttachEvents=function(){if(!j){CityGuidesMap.AttachEvent("onmouseover",Pushpin2Helper.OnHover);CityGuidesMap.AttachEvent("onmouseout",Pushpin2Helper.OnOut);j=true}};d.OnHover=function(k){if(IsEventBubble(k)&&IsInfoBoxShown())return;var f=CGUtility.getEvent(k),j;if(f==a)return;if(f.EventType==CityGuidesEventType.DOMEvent)j=$(f.EventTargetID);else if(f.EventType==CityGuidesEventType.VEEvent)j=CityGuidesMap.GetMapObject().GetShapeByID(f.EventTargetID);else return;if(j==a||j.arrayIndex==a)return;var m=j.arrayIndex;if(CityGuidesMap.pushpinobjects==a||CityGuidesMap.pushpinobjects.length<=m)return;var d=CityGuidesMap.pushpinobjects[m];if(d==undefined)return;if(d.GetID()==i||d.GetID()==b)if(IsInfoBoxShown()){g=c;return}var l=d.GetID();i=l;g=c;if(f.EventType==CityGuidesEventType.DOMEvent){b=l;window.ero.setBoundingArea(new Msn.VE.Geometry.Point(CityGuidesMap.GetMapObject().GetLeft(),CityGuidesMap.GetMapObject().GetTop()),new Msn.VE.Geometry.Point(100+CityGuidesMap.GetMapObject().GetLeft()+CityGuidesMap.GetMapObject().GetWidth(),100+CityGuidesMap.GetMapObject().GetTop()+CityGuidesMap.GetMapObject().GetHeight()));if(h)clearInterval(h);CityGuidesMap.GetMapObject().HideInfoBox();CityGuidesMap.AttachEvent(e,Pushpin2Helper.MapCallBack);CityGuidesMap.GetMapObject().PanToLatLong(d.GetPushpinCenter())}d.OnHover(k)};d.OnOut=function(h){if(IsEventBubble(h))return;var c=CGUtility.getEvent(h),d;if(c==a)return;if(c.EventType==CityGuidesEventType.DOMEvent)d=$(c.EventTargetID);else if(c.EventType==CityGuidesEventType.VEEvent)d=CityGuidesMap.GetMapObject().GetShapeByID(c.EventTargetID);else return;if(d==a||d.arrayIndex==a)return;var i=d.arrayIndex;if(CityGuidesMap.pushpinobjects==a||CityGuidesMap.pushpinobjects.length<=i)return;var e=CityGuidesMap.pushpinobjects[i];if(e==undefined)return;var j=e.GetID();if(c.EventType==CityGuidesEventType.DOMEvent){b=j;g=true;g_HideInfoBoxTimeoutId=setTimeout(f+b+'");',5e3)}else b=a;e.OnOut(h)};d.ShowInfoBox=function(a){CityGuidesMap.GetMapObject().ShowInfoBox(CityGuidesMap.GetMapObject().GetShapeByID(a))};d.HideInfoBox=function(c){if(IsInfoBoxInUse()){g_HideInfoBoxTimeoutId=setTimeout(f+c+'");',5e3);return}if(g&&(c==a||c==b)){CityGuidesMap.GetMapObject().HideInfoBox();b=a;i=a}};d.MapCallBack=function(){CityGuidesMap.GetMapObject().DetachEvent(e,Pushpin2Helper.MapCallBack);h=setTimeout('Pushpin2Helper.ShowInfoBox("'+b+'");',1)}}var Pushpin2Helper=new CGBusinessPushpin2Helper;function CGHoverPushpin(i,j,h,d,g,b,e,f){var a=this,c=new CGPushpin(i,j,h,d,g,"");a.GetPushpinObject=function(d){var e=c.GetPushpinObject();Pushpin2Helper.AttachEvents();var a=null;if(b!=null)a=$(b);if(a!=null){a.onmouseover=Pushpin2Helper.OnHover;a.onmouseout=Pushpin2Helper.OnOut;a.arrayIndex=d;e.arrayIndex=d}return e};a.GetElementID=function(){return b};a.GetPushpinCenter=function(){return c.GetPushpinCenter()};a.OnHover=function(){var a=$(b);a.className=f};a.OnOut=function(){var a=$(b);a.className=e};a.GetID=function(){return c.GetPushpinObject().GetID()}}var PhotoUploadPushpinHelper={CreatePhotoUploadPushpin:function(a,c){var b="map_list_item_pin";return new CGHoverPushpin(a.lat,a.lon,"",a.getPushpinDescription(c),PhotoUploadPushpinHelper.GetIconHTML(a.index),b+a.index,b,b)},GetPushpinTitle:function(a){return '<div id="photoupload_hover_title"><strong><a href="#">'+a+"</a></strong><br/></div>"},GetPushpinContent:function(a){if(a=="")a="<br/><br/>";return '<div id="hover_text">'+a+"</div>"},GetBusinessContent:function(a,b){return '<div id="hover_text">'+a+"<br/>"+b+"</div>"},GetSubmitButton:function(a,b,c){return '<div id="hover_btn"><a style="text-align:left;" href="#" onclick="javascript:finalSubmit(\''+a+"',"+b+","+c+");\"><img src='"+ImagePath+"btn_submit.jpg' /></a></div>"},GetIconHTML:function(a){return '<div class="map_list_item_pin" id="pushpin'+a+'" >'+(a+1)+"</div>"}};function PhotoUploadBusinessData(j,k,c,d,e,h,i,b,g,f){var a=this;a.index=j;a.lat=c;a.lon=d;a.getPushpinDescription=function(j){var a='<div class="photouploadMapContainer">';if(j==PhotoUploadState.Preview){a+=PhotoUploadPushpinHelper.GetPushpinTitle(g);a+=PhotoUploadPushpinHelper.GetPushpinContent(f);a+="<hr/>"}a+='<div id="hover_biz">';if(b&&b!="")a+='<div id="hover_image"><img height="75" align="right" width="100" src="'+b+'" onload="resize(this,75,100);"/></div>';a+=PhotoUploadPushpinHelper.GetPushpinTitle(e);a+=PhotoUploadPushpinHelper.GetBusinessContent(h,i);if(j==PhotoUploadState.Preview||j==PhotoUploadState.Submit)a+=PhotoUploadPushpinHelper.GetSubmitButton(k,c,d);return a+"</div></div>"}}var PhotoUploadState={Default:0,Preview:1,Submit:2};function PhotoUploadLocationData(h,b,c,g,f,e,d){var a=this;a.index=h;a.lat=b;a.lon=c;a.getPushpinDescription=function(h){var a='<div class="photouploadMapContainer">';if(h==PhotoUploadState.Preview){a+=PhotoUploadPushpinHelper.GetPushpinTitle(e);a+=PhotoUploadPushpinHelper.GetPushpinContent(d);a+="<hr/>"}a+=PhotoUploadPushpinHelper.GetPushpinTitle(g);a+=PhotoUploadPushpinHelper.GetPushpinContent(f);if(h==PhotoUploadState.Preview||h==PhotoUploadState.Submit)a+=PhotoUploadPushpinHelper.GetSubmitButton("",b,c);return a+"</div>"}}function CGBusinessPushpin4(p,q,o,i,k,m,n,h,f,g,e,c,j,l){var a=null,b=this,d=new CGPushpin(p,q,"",GetBusinessDescription(o,i,k,n,h,f,g,e),m,a);b.GetPushpinObject=function(e){var f=d.GetPushpinObject();Pushpin2Helper.AttachEvents();var b=a;if(c!=a)b=$(c);if(b!=a){b.onmouseover=Pushpin2Helper.OnHover;b.onmouseout=Pushpin2Helper.OnOut;b.arrayIndex=e;f.arrayIndex=e}return f};b.GetElementID=function(){return c};b.GetPushpinCenter=function(){return d.GetPushpinCenter()};b.OnHover=function(){var a=$(c);a.className=l};b.OnOut=function(){var a=$(c);a.className=j};b.GetID=function(){return d.GetPushpinObject().GetID()}}function CGBusinessPushpin4Helper(){this.getHTMLDescription=function(i,g,h,c,f,a,d,e){var b="";if(c)b='<div id="hover_image"><img src="'+c+'" width="102" height="75" align="right"/></div>';var j='<div id="map_hover_container" onmouseover="clearInterval(g_HideInfoBoxTimeoutId);">    \t'+b+'<div id="hover_title"><strong><a href="'+a+'">'+i+"</a></strong><br />"+f+'</div>    \t<div id="hover_text"><br/>'+g+"<br />"+h+'</div>                <div id="hover_footer">        \t<a href="'+a+'">More information</a><br />            Contribute: <a href="'+d+'">Write review</a> | <a href="'+e+'">Upload photo</a>        </div>  </div> </div>';return j};this.getHTMLIcon=function(a){if(a)return '<div class="map_list_item_pin" style="text-decoration:none!important" id="pushpin'+a+'" >'+a+"</div>";else return '<div class="map_list_item_pin" ></div>'}}var Pushpin4Helper=new CGBusinessPushpin4Helper;function CGPAOBusinessPushpin(u,v,s,j,l,o,q,r,i,g,f,h,e,t,p,n,c,k,m){var a=null,b=this,d=new CGPushpin(u,v,"",PAOBusinessPushpinHelper.getHTMLDescription(s,j,l,q,r,i,e,g,f,h,t,p,n),o,a);b.GetPushpinObject=function(e){var f=d.GetPushpinObject();Pushpin2Helper.AttachEvents();var b=a;if(c!=a)b=$(c);if(b!=a){b.onmouseover=Pushpin2Helper.OnHover;b.onmouseout=Pushpin2Helper.OnOut;b.arrayIndex=e;f.arrayIndex=e}return f};b.GetElementID=function(){return c};b.GetPushpinCenter=function(){return d.GetPushpinCenter()};b.OnHover=function(){var a=$(c);a.className=m};b.OnOut=function(){var a=$(c);a.className=k};b.GetID=function(){return d.GetPushpinObject().GetID()}}function CGPAOBusinessPushpinHelper(){this.getHTMLDescription=function(l,m,i,c,n,t,f,q,p,r,o,k,j){var d='<img src="',a="','",b="',",h=CorrectString(l),g=CorrectString(m),e='<div id="hover_image"><a href="'+f+'"><img src="';if(c&&c!="")e+=c;else e+=imageServerPath+"dummy60x60.jpg?v=2.0";e+='" width="100" height="75" align="right"/></a></div>';var s='<div id="map_hover_container" onmouseover="infoboxHovered(event);" onmouseout="infoboxLeft(event);">    \t'+e+'<div id="hover_title"><strong><a href="'+f+'">'+h+'</a></strong><br /></div>    \t<div id="hover_text"><br/>'+g+"<br />"+i+'</div>                <div id="hover_footer" style="padding-left:20px">        \t<a href="'+f+'">More information</a><br />            Contribute: <a href="'+p+'">'+q+'</a> | <a href="'+r+'">Upload photo</a><br /><br />'+'<div style="float:left;margin-right:3px; margin-top:5px;"><a href="'+ConstructInviteFriendsLink(escape(escape(l)),escape(escape(l)),escape(escape(m)),k,j)+"\">Invite friends</a></div><div><a href=\"javascript:AddBusinessToPAOCollection('AddToPlanTo','"+o+b+k+","+j+",'"+addSlashBeforeApos2(h)+a+addSlashBeforeApos2(g)+a+i+a+c+b+n+')">'+d+imageServerPath+'btn_plantogo.gif" /></a>'+"&nbsp;"+"<a href=\"javascript:AddBusinessToPAOCollection('AddToBeenThere','"+o+b+k+","+j+",'"+addSlashBeforeApos2(h)+a+addSlashBeforeApos2(g)+a+i+a+c+b+n+')">'+d+imageServerPath+'btn_been_there.png" /></a></div>'+'<div style="clear:both;">&nbsp;</div>'+"</div>";"</div>  </div> </div>";return s};this.getHTMLIcon=function(a){if(a)return '<div class="map_list_item_pin" id="pushpin'+a+'" >'+a+"</div>";else return '<div class="map_list_item_pin" ></div>'}}var PAOBusinessPushpinHelper=new CGPAOBusinessPushpinHelper;function CGBusinessPushpin5(e,f,l,n,p,v,u,s,i,o,t,g,k,m,q,r,c,h,j){var a=null,b=this,d=new CGPushpin(e,f,"",Pushpin5Helper.getHTMLDescription(l,n,p,v,u,s,i,t,g,k,m,e,f,q,r),o,a);b.GetPushpinObject=function(e){var f=d.GetPushpinObject();Pushpin2Helper.AttachEvents();var b=a;if(c!=a)b=$(c);if(b!=a){b.onmouseover=Pushpin2Helper.OnHover;b.onmouseout=Pushpin2Helper.OnOut;b.arrayIndex=e;f.arrayIndex=e}return f};b.GetElementID=function(){return c};b.GetPushpinCenter=function(){return d.GetPushpinCenter()};b.OnHover=function(){var a=$(c);a.className=j};b.OnOut=function(){var a=$(c);a.className=h};b.GetID=function(){return d.GetPushpinObject().GetID()}}function CGBusinessPushpin5Helper(){var a="</div>";this.getHTMLDescription=function(v,w,x,n,m,l,A,h,r,g,t,u,s,y,z){var j='<img src="',d="','",e="',",c=",'",b=", ",f="<br />",i='<a href="',p=CorrectString(v),q=CorrectString(w),o=CorrectString(x),k='<div id="map_hover_container" onmouseover="infoboxHovered(event);" onmouseout="infoboxLeft(event);"><div id="hover_image"><a href="'+g+'"><img src="';if(h&&h!="")k+=h;else k+=imageServerPath+"dummy60x60.jpg?v=2.0";k+='" width="100" height="75" align="right"/></a></div><div id="hover_title"><strong><a href="'+g+'">'+p+"</a></strong><br />"+a+'<div id="hover_text">'+o+f+n+b+m+b+l+f+A+a+'<div id="hover_sub_text">'+r+'<br /><br /><strong>Venue:</strong> <a href="'+t+'">'+q+"</a>"+a+'<div id="hover_footer" style="padding-left:20px">'+i+g+'">More information</a><br />'+f+'<div style="float:left;margin-right:3px; margin-top:5px; "><a href="'+ConstructInviteFriendsLink(escape(escape(v)),escape(escape(w)),escape(escape(x))+b+n+b+m+b+l,u,s)+'">Invite friends</a></div><div>'+"<a href=\"javascript:AddEventToPAOCollection('AddToPlanTo',"+u+","+s+c+addSlashBeforeApos2(p)+e+y+c+g+d+addSlashBeforeApos2(q)+e+z+c+t+d+h+d+r+"'"+c+(addSlashBeforeApos2(o)+b+n+b+m+" - "+l)+"'"+')">'+j+imageServerPath+'btn_plantogo.gif" />'+"&nbsp;"+"<a href=\"javascript:AddEventToPAOCollection('AddToBeenThere',"+u+","+s+c+addSlashBeforeApos2(p)+e+y+c+g+d+addSlashBeforeApos2(q)+e+z+c+t+d+h+d+r+"'"+c+(addSlashBeforeApos2(o)+b+n+b+m+" - "+l)+"'"+')">'+j+imageServerPath+'btn_been_there.png" /></a></div>'+"</div></div>";return k};this.getHTMLIcon=function(b){if(b)return '<div class="map_list_item_pin" id="pushpin'+b+'" >'+b+a;else return '<div class="map_list_item_pin" ></div>'};this.getHTMLTitle=function(b,a){return '<div class="BusinessPushpinTitle"><a href="'+a+'" />'+b+"</a></div>"}}var Pushpin5Helper=new CGBusinessPushpin5Helper;function CGMoviePushpin(e,f,j,n,r,q,s,h,m,o,i,p,l,c,g,k){var a=null,b=this,d=new CGPushpin(e,f,"",MoviePushpinHelper.getHTMLDescription(j,n,r,q,s,h,o,i,p,l,e,f),m,a);b.GetPushpinObject=function(e){var f=d.GetPushpinObject();Pushpin2Helper.AttachEvents();var b=a;if(c!=a)b=$(c);if(b!=a){b.onmouseover=Pushpin2Helper.OnHover;b.onmouseout=Pushpin2Helper.OnOut;b.arrayIndex=e;f.arrayIndex=e}return f};b.GetElementID=function(){return c};b.GetPushpinCenter=function(){return d.GetPushpinCenter()};b.OnHover=function(){var a=$(c);a.className=k};b.OnOut=function(){var a=$(c);a.className=g};b.GetID=function(){return d.GetPushpinObject().GetID()}}function CGMoviePushpinHelper(){var a="</div>";this.getHTMLDescription=function(p,k,r,q,s,n,v,o,c,i){var h='<img src="',e="','",g='<div style="margin-left:22px;">',l=CorrectString(p),b='<div id="map_hover_container" onmouseover="infoboxHovered(event);" onmouseout="infoboxLeft(event);"><div id="hover_title"><strong><a href="'+o+'">'+l+"</a>"+"</strong><br /></div>"+'<div id="hover_text">'+k+", "+r+", "+q+"<br />"+s+"&nbsp;&nbsp;&#124;&nbsp;&nbsp;"+n+"<br /><br />";b+='<div style="border: solid 1px #cccccc; height:200px;overflow:auto;margin-bottom:5px;padding-left:5px;">';var f=0;for(var d=0;d<c.length;d++){var m=CorrectString(c[d].movieName);b+='<input type="radio" name="'+i+'" value="'+c[d].movieId+'"';if(selectedMovieIdInDropDown==0&&d==0||selectedMovieIdInDropDown==c[d].movieId){if(selectedMovieIdInDropDown==c[d].movieId)f=d;b+=" checked "}b+='/><a href="'+CorrectString(c[d].link)+'">'+m+"</a><br />";if(c[d].ratingImage!="")b+='<div style="margin-left:22px;"><img src="'+imageServerPath+c[d].ratingImage+'" /></div>';b+=g+c[d].rating+"&nbsp;"+c[d].runningTime.replace("PT","").replace("H","hr ").replace("M","mins")+a;b+=g;for(var j=0;j<c[d].showTimes.length;j++){if(j>0)b+=" | ";b+=c[d].showTimes[j]}b+="</div><br />"}b+=a;b+='<div id="footer_more" style="margin-top:8px;margin-left:25px;">';b+='<div style="float:left; margin-right:3px; background-color:#ffffff;margin-top:5px;"><a href="javascript:InviteFriendsToMovie(\''+i+e+c[f].movieId+"');\">Invite friends</a></div>"+"<div><a href=\"javascript:AddMovieToPAOCollection('AddToPlanTo','map','"+i+e+c[f].movieId+e+addSlashBeforeApos2(CorrectString(k))+"')\">"+h+imageServerPath+'btn_plantogo.gif" /></a>'+"&nbsp;"+"<a href=\"javascript:AddMovieToPAOCollection('AddToBeenThere','map','"+i+e+c[f].movieId+e+addSlashBeforeApos2(CorrectString(k))+"')\">"+h+imageServerPath+'btn_been_there.png" /></a></div>'+'<div style="clear:both;">&nbsp;</div>';b+="</div></div></div>";return b};this.getHTMLIcon=function(b){if(b)return '<div class="map_list_item_pin" id="pushpin'+b+'" >'+b+a;else return '<div class="map_list_item_pin" ></div>'};this.getHTMLTitle=function(b,a){return '<div class="BusinessPushpinTitle"><a href="'+a+'" />'+b+"</a></div>"}}var MoviePushpinHelper=new CGMoviePushpinHelper;function CGHomePageTop10EventPushpin(o,p,n,i,g,l,f,k,m,e,h,j,c){var a=null,b=this,d=new CGPushpin(o,p,"",homePageTop10EventPushpinHelper.getHTMLDescription(n,i,g,l,f,m,e,h,j),k,a);b.GetPushpinObject=function(e){var f=d.GetPushpinObject();Pushpin2Helper.AttachEvents();var b=a;if(c!=a)b=$(c);if(b!=a){b.onmouseover=Pushpin2Helper.OnHover;b.onmouseout=Pushpin2Helper.OnOut;b.arrayIndex=e;f.arrayIndex=e}return f};b.GetElementID=function(){return c};b.GetPushpinCenter=function(){return d.GetPushpinCenter()};b.OnHover=function(){var a=$(c)};b.OnOut=function(){var a=$(c)};b.GetID=function(){return d.GetPushpinObject().GetID()}}function CGHomePageTop10EventPushpinHelper(){var a="</div>";this.getHTMLDescription=function(l,p,o,r,n,h,m,c,f){var e='<a href="',b=null,k="";if(h!=b&&h!="")k='<div id="hover_image"><a href="'+f+'"><img src="'+h+'" width="100" height="75" align="right"/></a></div>';var j="";if(c!=b&&c!="")j='<div id="hover_footer"><a href="'+c+'">More information</a><br /></div>';var g=p;if(c!=b&&c!="")g=e+c+'">'+g+"</a>";var i=l;if(f!=b&&f!="")i=e+f+'">'+l+"</a>";var d=n;if(d==undefined||d==b||d=="")d=o;var q='<div id="map_hover_container" onmouseover="infoboxHovered(event);" onmouseout="infoboxLeft(event);">'+k+"<div>"+"<strong>"+i+"</strong><br />"+a+'<div id="hover_text">'+r+"<br />"+d+"<br />"+g+a+'<div id="hover_sub_text">'+m+a+j+a;return q};this.getHTMLIcon=function(b){if(b)return '<div class="map_list_item_pin" id="pushpin'+b+'" >'+b+a;else return '<div class="map_list_item_pin" ></div>'};this.getHTMLTitle=function(b,a){return '<div class="BusinessPushpinTitle"><a href="'+a+'" />'+b+"</a></div>"}}var homePageTop10EventPushpinHelper=new CGHomePageTop10EventPushpinHelper;function CGHomePageTop10MoviePushpin(m,n,l,j,f,h,k,e,i,g,c){var a=null,b=this,d=new CGPushpin(m,n,"",homePageTop10MoviePushpinHelper.getHTMLDescription(l,j,f,k,e,i,g),h,a);b.GetPushpinObject=function(e){var f=d.GetPushpinObject();Pushpin2Helper.AttachEvents();var b=a;if(c!=a)b=$(c);if(b!=a){b.onmouseover=Pushpin2Helper.OnHover;b.onmouseout=Pushpin2Helper.OnOut;b.arrayIndex=e;f.arrayIndex=e}return f};b.GetElementID=function(){return c};b.GetPushpinCenter=function(){return d.GetPushpinCenter()};b.OnHover=function(){var a=$(c)};b.OnOut=function(){var a=$(c)};b.GetID=function(){return d.GetPushpinObject().GetID()}}function CGHomePageTop10MoviePushpinHelper(){var a="</div>";this.getHTMLDescription=function(l,k,i,f,h,d,g){var b='<a href="',e;if(f!=null&&f!="")e='<div id="hover_image"><img src="'+f+'" width="100" height="75" align="right"/></div>';else e="";var c;if(d!=null&&d!="")c=b+d+'">More</a><br />';else c="";var j='<div id="map_hover_container" onmouseover="infoboxHovered(event);" onmouseout="infoboxLeft(event);">'+e+"<div>"+'<strong><a href="'+g+'">'+l+"</a></strong><br />"+a+'<div id="hover_text">'+k+"<br />"+i+a+'<div id="hover_sub_text">'+h+a+'<div id="hover_footer">'+c+b+g+'">Other movies in this theater</a><br />'+a+a;return j};this.getHTMLIcon=function(b){if(b)return '<div class="map_list_item_pin" id="pushpin'+b+'" >'+b+a;else return '<div class="map_list_item_pin" ></div>'};this.getHTMLTitle=function(b,a){return '<div class="BusinessPushpinTitle"><a href="'+a+'" />'+b+"</a></div>"}}var homePageTop10MoviePushpinHelper=new CGHomePageTop10MoviePushpinHelper;function PhotoDetailsPushpin(f,g,e,d,b,c){var a=new CGPushpin(f,g,"",photoDetailsPushpinHelper.getHTMLDescription(e,d,c),b,null);this.GetPushpinObject=function(b){return a.GetPushpinObject(b)};this.GetPushpinCenter=function(){return a.GetPushpinCenter()}}function PhotoDetailsPushpinHelper(){this.getHTMLDescription=function(f,e,b){var a="</div>",c="";if(b!=null&&b!="")c='<div id="hover_image"><img src="'+b+'" width="100" height="75" align="right"/></div>';var d='<div id="map_hover_container" onmouseover="infoboxHovered(event);" onmouseout="infoboxLeft(event);">'+c+'<div id="hover_title">'+"<strong>"+TextUtility.GetInnerTextForHTML(f)+"</strong><br />"+a+'<div id="hover_text">'+TextUtility.GetInnerTextForHTML(e)+a+a;return d}}var photoDetailsPushpinHelper=new PhotoDetailsPushpinHelper;function addSlashBeforeApos2(a){x1=a.replace(/'/g,"\\'");x2=x1.replace(/"/g,"\\%22");return x2}