From: Subject: MLS Agent Detail Report(293) Date: Tue, 5 Jan 2010 23:57:28 -0500 MIME-Version: 1.0 Content-Type: multipart/related; type="text/html"; boundary="----=_NextPart_000_0000_01CA8E62.D6614AC0" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 This is a multi-part message in MIME format. ------=_NextPart_000_0000_01CA8E62.D6614AC0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Location: http://lvarmls.rapmls.com/scripts/mgrqispi.dll?APPNAME=Lehigh&PRGNAME=MLSLogin&ARGUMENT=I/3rMfcNqYxORABsC6HFG8zPOeqP34c3uJavyxWgE9U=&KeyRid=1&Include_Search_Criteria=on MLS Agent Detail Report(293)
=  Print this page =
initLink(document.getElementById('printLink'));

Agent Detail Report

Counties  Lehigh, Northampton=20 Street Address  4641 Old=20 Bethlehem
Listings as of 01/05/10 at=20 11:55pm
Under Agreement 12/21/09 Listing # 299897 4641 Old Bethlehem Upper Saucon = Twp, PA=20 18015-9090 Listing Price: = $759,900
County: Lehigh Cross St:
Prop Type Residential Prop Subtype(s) Detached
Area Upr Saucon-11 Subdivision Not in Development
Beds 4 Approx Square Feet 4300 Builder's Data
Baths(FH) 5 (4 1)
Year Built 2005 Lot Sq Ft (approx) 12487 ((Tax Records))
Tax ID 642525930359-00001 Lot Acres (approx) 0.287
Occupant Owner Phone to Show 610-317-1443
Owner Name Peter J & Deanna M Bosco
DOM/CDOM 661/661 Showing Instr. Call Mary Lynn, Listing = Agent to=20 Accompany, 24 Hour Notice


School District Southern = Lehigh

Directions  Route 378 South, Right on Saucon Valley = Road,=20 left on Old Bethlehem Pike, or Route 78 to Route 309 to East on = Center=20 Valley Parkway to Route 378, Right at light onto Route 378 to = Right on=20 Saucon Valley Road to L on Old Bethlehem Pike.
Marketing Remark  Welcome to The Barn at Timber = Crossing @=20 Saucon Valley. This 200+ yr old stone barn has been restored w = original=20 hand-hewn beams, hay ladders, stall dr, & summer beam = retained. There=20 are random width, white pine flrs on the 1st, 2nd, & 3rd = levels as=20 well as hand-plastered walls throughout. For the handmade front = door, they=20 used quarter sawn oak from an antique barn threshing floor. All = the doors=20 were made of custom crafted barnwood Z-batten doors with = Williamsburg=20 Blacksmith handles/straps. All this with the conveniences & = amenities=20 of new mechanicals. This 4BR,4.5BA barn is serviced with public = water=20 & sewer, 3 zone heating & 2 zone cooling w programmable=20 thermostats, & a 40 yr architectural roof. All downspouts run=20 underground, and there is a full walk-out finished garden level = with six=20 custom made French Doors.
Agent-Only Rmrks  Call Mary Lynn for more = information,=20 610-317-1443 Exclusions: Lower level refrigerator, lower level = freezer,=20 Master Bath chandelier, Dining Room chandelier, Living, Dining, = & MBR=20 curtains, undermount TV in kitchen, shower curtains, mirrors in = 1/2 bath=20 and lower level bath. SELLER TO BE REIMBURSED FOR FUEL AT=20 SETTLEMENT.

Listing Agent Mary Lynn Bonsall (ID:BONSALLM) Voice=20 Mail:610-317-1443 Office:610-865-7776, FAX: 610-865-3121
Listing Office Long & Foster Real Estate Inc (ID:LOFO) = Phone:=20 610-865-7776, FAX: 610-865-3121
Expiration Date  02/28/10<= /TABLE>
Agreement Type Listing Date  02/29/08
Commission Sub Agency Buyer Agency 2.5% Transaction Broker Dual/Var. Rate No

Pending Date 12/21/09 Estimated Selling Date

Commissions
Style Converted Barn Stories #3.0
Type of Ownership Fee Simple Special Conditions Not Applicable
Deed/Doc ID 7276857 Zoning Code R-3
Acreage 10,001-20,000 sq. ft Construction Other (Hardi-Plank), Stone = (20)
Roof Asphalt Fiberglass (40 year slateline), Other = (Copper=20 Roof) Garage Attached
Number of Cars #2 Parking Off Street
Basement Full, Fully Finished, Walk-Out (6 custom French = Doors) Floor Softwood (White Pine = Floors)
Dining Dining Room
Beds & = Baths
Bedrooms 1 Bed on Lower Level, 2+Beds on 2nd Level, Master = on 1st=20 Level Bathrooms 2 Baths, 2nd Level, 1 Bath, = Lower
Rooms & = Sizes
Living Room 16x21 Level: 1st Floor Dining room 17x12 Level: 1st Floor
Kitchen 17x22 Level: 1st Floor Family Room 34x26 Level: Lower Level
Den/Study/Office 17x12 Level: 2nd Floor Bedroom 1 17x15 Level: 1st Floor (exposed beams, repointed=20 stone)
Bedroom 2 17x12 Level: 2nd Floor Bedroom 3 17x12 Level: 2nd Floor
Bedroom 4 17x14 Level: Lower Level Bathroom 13x11 Level: 1st Floor (5x5 tile steam shower w = digital=20 control)
Other Room 1 14x8 Level: 3rd Floor (Library) Other Room 2 9x8 Level: 2nd Floor = (Bath)
Other Room 3 12x6 Level: 2nd Floor (Bath)
Additional = Features
Appliances Central Vacuum, Dishwasher (Bosch), Disposal, = Laundry=20 Hookup, Microwave (Stainless Steel), Oven Electric (Double Ovens = GE=20 Monogram Stainless Steel), Refrigerator (Jenn-Air Side by Side=20 Refrigerator) Interior Features Den/Office, Family Room Lower, Whirlpool (6' Hot = tub w=20 marble surround), Walk in Closet
Utility = Information
Heat Forced Air (3 zone heat, dual), Gas (Propane), = Radiant Cooling Central AC (2 zone w programmable=20 thermostats)
Hotwater Gas (100 gallon w recirculation system) Water Public
Sewer Public
Financial
County Assessment $153800.00 County Taxes $1576.45
Municipal Taxes $645.96 School Taxes $6736.44
Total Taxes $8958.85 Possible Financing Cash, Conventional
Miscellaneous
Showing Instructions 24-Hour Notice, Appointment Only Possession Negotiable

Presented=20 By: Mary Lynn Bonsall Lic: RS150769A / Long & Foster Real = Estate Inc=20 Phone: 610-317-1443
Featured=20 properties may not be listed by the office/agent presenting this=20 brochure.
All=20 information herein has not been verified and is not guaranteed. = =A9 2010=20 Lehigh Valley Association of REALTORS=AE, Inc. Copyright =A92010 = Rapattoni=20 Corporation. All rights = reserved.
------=_NextPart_000_0000_01CA8E62.D6614AC0 Content-Type: image/gif Content-Transfer-Encoding: base64 Content-Location: http://medialaxh.rapmls.com/rapmlsimages//podheaders/grip.gif R0lGODlhEwAQAJECAJ2osMPK0P///wAAACH5BAEAAAIALAAAAAATABAAAAIplI+pYCwOVTBT1Kuy RvG1n2AWRW5m0qVSKVbnq3oy0rLvHXe0Pfa3VgAAOw== ------=_NextPart_000_0000_01CA8E62.D6614AC0 Content-Type: image/gif Content-Transfer-Encoding: base64 Content-Location: http://medialaxh.rapmls.com/rapmlsimages/print.gif R0lGODlhEAAQALMPAHt6epGQkHCCppe88a7L9cDY+tXm/+ju9vb5/AC2Cbm6ucjHx+Xl5d7e3tLS 0v///yH5BAEAAA8ALAAAAAAQABAAAARW8MlJKxU4ayuQ90cocIhhFMQwHGPVfaHBkmaBErNb2uhg tBcEj5BiAB+ApHK5lAQY0IbU4VhYFQFndFpdJBJYrbRBtXrBWSRznZwAuGaFHEBhMy34SgQAOw== ------=_NextPart_000_0000_01CA8E62.D6614AC0 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.1 var L_invalidinvoketarget_text=3D"Invalid invoke target = specified.",L_invaliddirections_text=3D"Invalid argument passed; both = start and end must be present.",L_invalidpageindex_text=3D"Invalid = search results page index is passed.",L_invalidelement_text=3D"Invalid = element id; unable to find the element in the document = body.",L_noheadelement_text=3D"Head element is missing for the current = document; cannot initialize the API = framework.",L_noserviceurl_text=3D"Either a service url or script url is = required to create VENetwork instance.",L_noscripturl_text=3D"Invalid = script source url is assigned; cannot download the assigned = script.",L_nostylesurl_text=3D"Invalid style source url is assigned; = cannot attach the assigned styles.",L_invalidwhatwhere_text=3D"Invalid = what/where parameters; either 'what' or 'where' must be = present.",L_notinitialized_text=3D"Map is not loaded; cannot perform = this operation.",L_noroute_text=3D"Cannot calculate route at this point; = try again later.",L_invalidpushpin_text=3D"Invalid pushpin = instance.",L_invalidpushpinid_text=3D"Invalid pushpin id; either id is = empty or another pushpin already exists with that = id.",L_invalidpolylineid_text=3D"Invalid polyline id; either id is empty = or another polyline already exists with that = id.",L_invalidpolygonid_text=3D"Invalid polygon id; either id is empty = or another polygon already exists with that = id.",L_invalidargument_text=3D"Invalid argument; input argument '%1' is = not a valid '%2' value.",L_invalidlayerid_text=3D"Invalid layer id; = either id is empty or another layer already exists with that = id.",L_invalidlayertype_text=3D"Invalid layer = type.",L_invalidlayersource_text=3D"Invalid layer source; either layer = is empty or does not exist.",L_invalidsourceid_text=3D"Invalid source = id; either id is empty or another tile source already exists with that = id.",L_invalidminmaxzoom_text=3D"Min zoom is greater than max = zoom.",L_invalidopacity_text=3D"Invalid opacity = value.",L_loadxml_text=3D"Unable to load source = file.",L_Help_Text=3D"Help",L_ErrorServerBusy_Text=3D"The server is = temporarily unavailable. Try again later.",L_UnsupportMethod_Text=3D"%1 = method is not supported.",L_UnsupportClass_Text=3D"%1 class is not = supported.",L_UnsupportProperty_Text=3D"'%1' class does not support = property '%2' equals to = '%3'.",L_error_text=3D"Error",L_close_text=3D"close",L_what_text=3D"What"= ,L_where_text=3D"Where",L_find_text=3D"Find",L_selectlocation_text=3D"Sel= ect a = location",L_Start_Text=3D"Start",L_End_Text=3D"End",L_DirectionsGetDirect= ions_Text=3D"Get directions",L_loading_text=3D".. Loading = ..",L_arriveat_text=3D"Arrive at",L_startat_text=3D"Start = at",L_step_text=3D"Step %1 of = %2",L_DirectionsStep_Text=3D"Step",L_invalidroute_Text=3D"Unable to find = a route for the locations you entered. Ensure that your start and end = locations are correct, and try again.",L_invalidlocation_Text=3D"The = location you entered cannot be = found.",L_routelessthanoneminute_Text=3D"Less Than One = Minute",L_hoursandminutes_Text=3D"%1 Hours, %2 = Minutes",L_minutes_Text=3D"%1 = Minutes",L_CollectionManagerViewerDefaultTitle_Text=3D"Shared = Collection",L_CollectionManagerUnsavedCollectionTitle_Text=3D"Unsaved = Collection",L_AnnotationConfDefaultTitle_Text=3D"Untitled = item",L_TrafficPopupSeverity_Text=3D"Severity",L_TrafficPopupLocation_Tex= t=3D"Location",L_TrafficPopupDescription_Text=3D"Description",L_TrafficPo= pupStartTime_Text=3D"Start time",L_TrafficPopupEstEndTime_Text=3D"Est. = end = time",L_TrafficManagerSerious_Text=3D"Serious",L_TrafficManagerModerate_T= ext=3D"Moderate",L_TrafficManagerMinor_Text=3D"Minor",L_TrafficManager_Zo= omout_Text=3D"Zoom out to view Traffic = information",L_TrafficManager_Zoomin_Text=3D"Zoom in to view Traffic = information",L_ClientTokenInvalid_Text=3D"Invalid client = token.",L_ClientTokenExpired_Text=3D"Expired client = token.",L_Shp_IncorrectPoints_Text=3D"The number of points does not = match the specified VEShape type.",L_Shp_IncorrectLineWidth_Text=3D"The = line width must be a positive = integer.",L_Shp_IncorrectZoomLevel_Text=3D"The specified zoom level is = invalid. The valid range is 1 to = 21,inclusive.",L_Shp_IncorrectZoomLevel2_Text=3D"Max zoom is less than = min zoom.",L_shp_Notinitialized_text=3D"Shape is not = initialized.",L_ShpExist_text=3D"This shape has already been added to = layer.",L_invalidzindex_text=3D"Invalid z-Index parameters; either = 'icon' or 'polyshape' must be = present.",L_altitudemodemismatch_Text=3D"All altitudes must have the = same altitudeMode in a VEShape.",L_invalidwhere_text=3D"Invalid = argument; input argument 'where' is not a valid 'string, VELatLong, = VELatLongRectangle, or VEPlace ' = value.",L_invalidnonnegativeint_text=3D"Invalid argument; input argument = '%1' must be a non-negative int = value.",L_invalidbetweenint_text=3D"Invalid argument; input argument = '%1' must be between %2 and %3, = inclusive.",L_invalidsearchlocation_Text=3D"%1 could not find a match = for the location. Please check your spelling, enter the complete address = including country name and commas, and try = again.",L_invalidsearchresult_Text=3D"No results were = found.",L_ClusterDefaultTitle_Text=3D"%1 locations near = here",L_ClusterDefaultDescription_Text=3D"Zoom in for = details.",L_InvalidClusterLayer_Text=3D"Cannot apply clustering to a = cluster layer.",L_DashboardBirdsEye_Text=3D"Bird's = eye",L_DashboardBirdsEyeText_Text=3D"See this location in bird's eye = view",L_Dashboard3DText_Text=3D"See this location in Bing Maps = 3D",L_Dashboard3DInstalled_Text=3D"Bing Maps 3D has finished = updating",L_ObliqueCompassSelectDirection_Text=3D"Change the direction = of the view",L_ObliqueModeImageNotAvailable_Text=3D"Sorry, bird's eye = images aren't available = here.",L_MinimapHybrid_Text=3D"H",L_MinimapRoad_Text=3D"R",L_MinimapHideT= oolTip_Text=3D"Hide the mini map",L_MinimapShowToolTip_Text=3D"Show the = mini map",L_MinimapLargerToolTip_Text=3D"Larger mini = map",L_MinimapSmallerToolTip_Text=3D"Smaller mini = map",L_MinimapRoadToolTip_Text=3D"Switch to road = view",L_MinimapHybridToolTip_Text=3D"Switch to hybrid = view",L_MinimapDragToolTip_Text=3D"Drag to move the = map",L_MinimapReticuleDragToolTip_Text=3D"Drag to center = map",L_ScaleBarMiles_Text=3D"miles",L_ScaleBarKilometers_Text=3D"km",L_Sc= aleBarMeters_Text=3D"m",L_ScaleBarYards_Text=3D"yds",L_NavActionFlatland_= Text=3D"2D",L_NavActionView3D_Text=3D"3D",L_NavActionRoad_Text=3D"Road",L= _NavActionAerial_Text=3D"Aerial",L_NavActionHybrid_Text=3D"Hybrid",L_NavA= ctionLabels_Text=3D"Labels",L_NavActionTraffic_Text=3D"Traffic",L_NavActi= onHideToolTip_Text=3D"Hide the view = control",L_NavActionShowToolTip_Text=3D"Show the view = control",L_NavActionFlatlandToolTip_Text=3D"View map in 2D = mode",L_NavActionView3DToolTip_Text=3D"View map in 3D mode with Bing = Maps 3D (Beta)",L_NavActionOrthoToolTip_Text=3D"Switch to map = view",L_NavActionObliqueToolTip_Text=3D"Switch to bird's eye = view",L_NavActionStreetSideToolTip_Text=3D"Street-level = view",L_NavAction3DOrthoToolTip_Text=3D"Look = down",L_NavAction3DObliqueToolTip_Text=3D"Look down at an = angle",L_NavAction3DStreetSideToolTip_Text=3D"Look toward = horizon",L_NavActionShowTrafficToolTip_Text=3D"Show traffic on the = map",L_NavActionHideTrafficToolTip_Text=3D"Hide traffic on the = map",L_NavActionRoadToolTip_Text=3D"Switch to road = view",L_NavActionAerialToolTip_Text=3D"Switch to aerial = view",L_NavActionHybridToolTip_Text=3D"Switch to hybrid = view",L_NavActionObliqueRotationToolTip_CW_Text=3D"Rotate the camera = angle = counterclockwise",L_NavActionObliqueRotationToolTip_CCW_Text=3D"Rotate = the camera angle clockwise",L_NavActionShowObliqueToolTip_Text=3D"Show = bird's eye images on the map",L_NavActionHideObliqueToolTip_Text=3D"Hide = bird's eye images on the map",L_NavActionShowLabels_Text=3D"Show = labels",L_NavActionHideLabels_Text=3D"Hide = labels",L_North_Text=3D"north",L_East_Text=3D"east",L_South_Text=3D"south= ",L_West_Text=3D"west",L_ObliqueSkippingOneDirection_Text=3D"A bird's = eye image facing %2 isn't available for this location. Facing %1 = instead.",L_ObliqueSkippingTwoDirections_Text=3D"Bird's eye images = facing %2 or %3 aren't available for this location. Facing %1 = instead.",L_ObliqueSpinNoOtherImagery_Text=3D"No other bird's eye images = are available for this location. Continuing to face = %1.",L_ObliqueNoImageryInRequestedDirection_Text=3D"Bird's eye images = facing %2 aren't available for this location. Continuing to face = %1.",L_NavActionCompassPan_Text=3D"Pan in any = direction",L_ZoomBarMinusToolTip_Text=3D"Zoom out. To zoom continuously, = click and hold this button.",L_ZoomBarPlusToolTip_Text=3D"Zoom in. To = zoom continuously, click and hold this = button.",L_ZoomBarSliderToolTip_Text=3D"Move slider to zoom in or zoom = out",L_BrowserNotSupported_Text=3D"To use this feature, open Live Search = in Windows Internet Explorer version 6 or 7. For more information, and = to download the latest version, visit the Microsoft Internet Explorer = website (%1%3%2).",L_BrowserNotSupported3D_Text=3D"Bing Maps 3D is = currently not supported for your browser. For a list of supported = browsers, see Help.",L_NoHardwareAcceleration_Text=3D"Bing Maps 3D has = detected that hardware acceleration is turned = off.",L_3DLoading_Text=3D"Initializing Bing Maps 3D = (Beta).",L_UnableToDisplay3DVIAModel_Text=3D"Unable to display 3D models = in collections at this time. Please try again = later.",L_InstallVE3DVIATitle_Text=3D"Virtual Earth - 3DVIA (Beta) = installation",L_LaunchVE3DVIA_Text=3D"Launching Virtual Earth - 3DVIA = (Beta)",L_PluginFeatureNotAvailable_Text=3D"Feature is currently not = available. Please try again = later.",L_MapLegendTrafficSlow_Text=3D"Slow",L_MapLegendTrafficFast_Text=3D= "Fast",L_MapLegendAndPopupLink_Text=3D"Zoom in for traffic = details",L_GeoRssInvalidFormatError_Text=3D"The GeoRSS file you have = tried to import is improperly = formatted.",L_MapCopyrightMicrosoft=3D"© 2009 Microsoft = Corporation",L_MapCopyrightTraffic=3D"Traffic.com",L_MapControlPlatformNa= me_Text=3D"Virtual = Earth",L_SupportedBrowserDownloadUrl_Text=3D"http://www.microsoft.com/win= dows/ie/downloads/default.mspx";_VERegisterNamespaces("MapControl");MapCo= ntrol.Features=3D{PlatformName:L_MapControlPlatformName_Text,Image:{Power= edLogo:"logo_powered_by_map.png"},MapStyle:{Road:true,Shaded:true,Aerial:= true,Hybrid:true,BirdsEye:true,View3D:true},BirdsEyeAtZoomLevel:10,ScaleB= arKilometers:false,Traffic:{Flow:{Slow:"0-25 mph",Moderate:"25-45 = mph",Fast:"45+ = mph"},Enabled:true,ShowOnNavbar:false,ShowIncidents:true},RouteOptions:{R= outeMode:{Driving:true,Walking:true},UseMWS:true,UseTraffic:true},Minimap= :{ShowByDefault:false}};function _VERegisterNamespaces(){for(var = d=3D0;d=3D0){var = a=3Ddocument.createElement("div"),b=3Dnull;a.style.visible=3D"hidden";a.s= tyle.overflowY=3D"scroll";a.style.position=3D"absolute";a.style.width=3D0= ;document.body.insertAdjacentElement("afterBegin",a);b=3Da.offsetWidth;a.= parentNode.removeChild(a);if(!b)b=3D16;scrollbarWidth=3Db;return b}else = return 0}function GetUrlPrefix(){var = a=3Dwindow.location.pathname.lastIndexOf("/"),b=3Dwindow.location.protoco= l+"//"+window.location.hostname+window.location.pathname.substring(0,a+1)= ;return b}function GetUrlParameterString(){var = a=3Dwindow.location.search;if(a.length=3D=3D0||a.indexOf("?")=3D=3D-1)ret= urn "";return a.substr(a.indexOf("?")+1)}function = CheckWipExistence(){var = a=3DGetUrlParameterString();if(a!=3D""&&a.indexOf("wip=3D")>-1)return = true;return false}function GetUrlParameters(){var = b=3D[],d=3DGetUrlParameterString();if(!d)return b;var = e=3Dd.split("&");for(var c=3D0;c=3D0)a.onreadystatechange=3Dfunction(){if(a&&("loaded"=3D= =3Da.readyState||"complete"=3D=3Da.readyState)){a.onreadystatechange=3Dnu= ll;EndInvoke(g,h,f,a,c)}};else = a.onload=3Dfunction(){a.onload=3Dnull;EndInvoke(g,h,f,a,c)};VENetwork.Get= AttachTarget().appendChild(a)}}function = EndInvoke(endInvokeTarget,fnCallback,endInvokeMethod,elScript,executionId= ){var objects=3Dnull;if(endInvokeMethod)eval("if(typeof = "+endInvokeMethod+" =3D=3D 'function') {objects =3D = "+endInvokeMethod+"();}");setTimeout(function(){if(elScript.parentNode)el= Script.parentNode.removeChild(elScript);elScript=3Dnull},100);if(fnCallba= ck!=3Dnull&&fnCallback!=3D"undefined")fnCallback(objects,endInvokeTarget)= ;if(Msn.VE.API&&Msn.VE.API.Globals.veonendinvokeevent)Msn.VE.API.Globals.= veonendinvokeevent()}VENetwork.GetExecutionID=3Dfunction(){var a=3Dnew = Date,b=3DDate.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a= .getMinutes(),a.getSeconds(),a.getMilliseconds());b+=3DMath.round(Math.ra= ndom()*1000000);return b};function GetXmlHttp(){var = a=3Dnull;if(window.XMLHttpRequest)a=3Dnew XMLHttpRequest;else = if(window.ActiveXObject)try{a=3Dnew = ActiveXObject("Msxml2.XmlHttp.6.0")}catch(b){try{a=3Dnew = ActiveXObject("Msxml2.XmlHttp.3.0")}catch(c){try{a=3Dnew = ActiveXObject("Msxml2.XMLHTTP")}catch(d){try{a=3Dnew = ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}}}else throw"XMLHTTP = Required: Browser not supported";return = a}VENetwork.AttachStyleSheetCallback=3Dfunction(a){if(a)a()};VENetwork.At= tachStyleSheet=3Dfunction(a,b,d,c){if(a=3D=3Dnull||a=3D=3D"undefined"||a.= length=3D=3D0)throw new = VEException("VENetwork:AttachStylesheet","err_nostylesurl","");elStyle=3D= document.createElement("link");if(d=3D=3Dtrue)elStyle.rel=3D"alternate = stylesheet";else = elStyle.rel=3D"stylesheet";if(c)elStyle.media=3Dc;elStyle.type=3D"text/cs= s";elStyle.rev=3D"stylesheet";elStyle.id=3DVENetwork.GetExecutionID();elS= tyle.href=3Da;VENetwork.GetAttachTarget().appendChild(elStyle);if(navigat= or.userAgent.indexOf("IE")>=3D0)elStyle.onreadystatechange=3Dfunction(){i= f(elStyle&&("loaded"=3D=3DelStyle.readyState||"complete"=3D=3DelStyle.rea= dyState)){elStyle.onreadystatechange=3Dnull;VENetwork.AttachStyleSheetCal= lback(b)}};else = VENetwork.AttachStyleSheetCallback(b);return};VENetwork.DownloadScriptCal= lback=3Dfunction(a,b){if(a)a(b)};VENetwork.DownloadScript=3Dfunction(b,c,= d){if(b=3D=3Dnull||b=3D=3D"undefined"||b.length=3D=3D0)throw new = VEException("VENetwork:DownloadScript","err_noscripturl",L_noscripturl_te= xt);var = a=3Ddocument.createElement("script");a.type=3D"text/javascript";a.languag= e=3D"javascript";a.id=3DVENetwork.GetExecutionID();a.src=3Db;if(navigator= .userAgent.indexOf("IE")>=3D0)a.onreadystatechange=3Dfunction(){if(a&&("l= oaded"=3D=3Da.readyState||"complete"=3D=3Da.readyState)){a.onreadystatech= ange=3Dnull;VENetwork.DownloadScriptCallback(c,d)}};else = a.onload=3Dfunction(){a.onload=3Dnull;VENetwork.DownloadScriptCallback(c,= d)};VENetwork.GetAttachTarget().appendChild(a);return = a.id};VENetwork.DownloadXml=3Dfunction(e,c,b,d){var = a=3DGetXmlHttp();a.open(c,e,true);a.onreadystatechange=3Dfunction(){if(a.= readyState=3D=3D4){if(b)b(a.responseXML,d);a=3Dnull}};a.send(null)};VENet= work.GetAttachTarget=3Dfunction(){if(document.getElementsByTagName("head"= )[0]!=3Dnull)return document.getElementsByTagName("head")[0];else throw = new = VEException("VENetwork:cstr","err_noheadelement",L_noheadelement_text)};V= ENetwork.prototype.BeginInvoke=3DBeginInvoke;VENetwork.prototype.EndInvok= e=3DEndInvoke;function = JSONConstant(){}JSONConstant.culture=3D"culture";JSONConstant.format=3D"f= ormat";JSONConstant.json=3D"json";JSONConstant.requestid=3D"rid";function= JSONRequestInvoke(f,a,e){var c=3Dnew = VENetwork,b=3DVENetwork.GetExecutionID();c.UseCloseDep=3Dtrue;c.ServiceUr= l=3Df;if(!a)a=3D[];var = d=3DMsn.VE.API?Msn.VE.API.Globals.locale:window.serviceLocale;a.push(new = VEParameter(JSONConstant.culture,'"'+d+'"'));a.push(new = VEParameter(JSONConstant.format,JSONConstant.json));a.push(new = VEParameter(JSONConstant.requestid,b));c.BeginInvoke("_f"+b,a,e,null,b)}_= VERegisterNamespaces("Msn.Drawing");var = MC_PointID=3D10000,MC_PolylineID=3D30000,MC_PolygonID=3D50000,MC_SYMBOL_I= ID=3D70000,MC_TEXT_IID=3D90000,MC_ENTITY_IID=3D200000,MC_COL_IID=3D1000,M= C_GEO_TYPE_SYMBOL=3D"Symbol",MC_GEO_TYPE_POINT=3D"Point",MC_GEO_TYPE_POLY= LINE=3D"Polyline",MC_GEO_TYPE_POLYGON=3D"Polygon",MC_GEO_TYPE_TEXT=3D"Tex= t",MC_GEO_TYPE_COL=3D"Collection",MC_GEO_TYPE_ENTITY=3D"Entity",VEShapeTy= pe=3D{Pushpin:"Point",Polyline:"Polyline",Polygon:"Polygon"},VEMapservice= Type=3D{None:"None",MapCruncher:"MapCruncher",KML:"KML",WMS:"WMS"},VEMaps= erviceTypeList=3D[VEMapserviceType.None,VEMapserviceType.MapCruncher,VEMa= pserviceType.KML,VEMapserviceType.WMS];VEMapserviceTypeIndex=3Dfunction(c= ){var b=3D-1;if(VEMapserviceTypeList!=3Dnull)for(var = a=3D0;a=3D0&&a<=3D1};Msn.Drawing.GetGeoUID=3Dfunction(b){var= a=3D"";switch(b){case VEShapeType.Polygon:a=3DMC_PolygonID++;break;case = VEShapeType.Pushpin:a=3DMC_PointID++;break;case = VEShapeType.Polyline:a=3DMC_PolylineID++;break;case = MC_GEO_TYPE_SYMBOL:a=3DMC_SYMBOL_IID++;break;case = MC_GEO_TYPE_TEXT:a=3DMC_TEXT_IID++;break;case = MC_GEO_TYPE_COL:a=3DMC_COL_IID++;break;case = MC_GEO_TYPE_ENTITY:a=3DMC_ENTITY_IID++}return = a.toString()};Msn.Drawing.Exception=3Dfunction(a){this.message=3Da;this.n= ame=3D"Msn.Drawing.Exception"};Msn.Drawing.Exception.prototype.toString=3D= function(){return this.name+": = "+this.message};Msn.Drawing.Point=3Dfunction(a,b){this.id=3D0;this.points= =3D[];this.points.push(a);this.points.push(b);this.iid=3DMsn.Drawing.GetG= eoUID(VEShapeType.Pushpin)};Msn.Drawing.Point.prototype.altitudes=3Dnull;= Msn.Drawing.Point.prototype.altitudeMode=3D"Ground";Msn.Drawing.Point.pro= totype.type=3DVEShapeType.Pushpin;Msn.Drawing.Point.prototype.name=3Dnull= ;Msn.Drawing.Point.prototype.symbol=3Dnull;Msn.Drawing.Point.prototype.is= Label=3Dtrue;Msn.Drawing.Point.prototype.isOnLegend=3Dfalse;Msn.Drawing.P= oint.prototype.Destroy=3Dfunction(){this.symbol=3Dnull;this.points=3Dnull= ;this.altitudes=3Dnull;this.altitudeMode=3Dnull};Msn.Drawing.Point.protot= ype.toString=3Dfunction(){return = this.points[0]+","+this.points[1]};Msn.Drawing.PolyLine=3Dfunction(a){thi= s.id=3D0;this.iid=3DMsn.Drawing.GetGeoUID(VEShapeType.Polyline);this.poin= ts=3Da?a:[];this.minX=3Dnull;this.minY=3Dnull;this.maxX=3Dnull;this.maxY=3D= null;this.length=3D-1};Msn.Drawing.PolyLine.prototype.toString=3Dfunction= (){if(this.points!=3Dnull)return this.points.join(" ");else return = ""};Msn.Drawing.PolyLine.prototype.altitudes=3Dnull;Msn.Drawing.PolyLine.= prototype.altitudeMode=3D"Ground";Msn.Drawing.PolyLine.prototype.extruded= =3Dfalse;Msn.Drawing.PolyLine.prototype.minZ=3Dnull;Msn.Drawing.PolyLine.= prototype.maxZ=3Dnull;Msn.Drawing.PolyLine.prototype.minX=3Dnull;Msn.Draw= ing.PolyLine.prototype.minY=3Dnull;Msn.Drawing.PolyLine.prototype.maxX=3D= null;Msn.Drawing.PolyLine.prototype.maxY=3Dnull;Msn.Drawing.PolyLine.prot= otype.iid=3DMsn.Drawing.GetGeoUID(VEShapeType.Polyline);Msn.Drawing.PolyL= ine.prototype.labelPosX=3Dnull;Msn.Drawing.PolyLine.prototype.labelPosY=3D= null;Msn.Drawing.PolyLine.prototype.labelPosZ=3Dnull;Msn.Drawing.PolyLine= .prototype.name=3Dnull;Msn.Drawing.PolyLine.prototype.type=3DVEShapeType.= Polyline;Msn.Drawing.PolyLine.prototype.symbol=3Dnull;Msn.Drawing.PolyLin= e.prototype.isLabel=3Dtrue;Msn.Drawing.PolyLine.prototype.isOnLegend=3Dfa= lse;Msn.Drawing.PolyLine.prototype.Destroy=3Dfunction(){this.symbol=3Dnul= l;this.points=3Dnull;this.altitudes=3Dnull;this.altitudeMode=3Dnull;this.= extruded=3Dnull;this.minX=3Dnull;this.minY=3Dnull;this.maxX=3Dnull;this.m= axY=3Dnull;this.minZ=3Dnull;this.maxZ=3Dnull};Msn.Drawing.PolyLine.protot= ype.GetLength=3Dfunction(){if(this.length<0)this.length=3DCalculateShapeL= engthP(this.points);return = this.length};Msn.Drawing.PolyLine.prototype.SetLength=3Dfunction(a){this.= length=3Da};Msn.Drawing.Polygon=3Dfunction(a){this.id=3D0;this.iid=3DMsn.= Drawing.GetGeoUID(VEShapeType.Polygon);this.points=3Da;this.length=3D-1;t= his.area=3D-1;this.minX=3Dnull;this.minY=3Dnull;this.maxX=3Dnull;this.max= Y=3Dnull};Msn.Drawing.Polygon.prototype.altitudes=3Dnull;Msn.Drawing.Poly= gon.prototype.altitudeMode=3D"Ground";Msn.Drawing.Polygon.prototype.extru= ded=3Dfalse;Msn.Drawing.Polygon.prototype.minZ=3Dnull;Msn.Drawing.Polygon= .prototype.maxZ=3Dnull;Msn.Drawing.Polygon.prototype.labelPosX=3Dnull;Msn= .Drawing.Polygon.prototype.labelPosY=3Dnull;Msn.Drawing.Polygon.prototype= .labelPosZ=3Dnull;Msn.Drawing.Polygon.prototype.symbol=3Dnull;Msn.Drawing= .Polygon.prototype.isLabel=3Dtrue;Msn.Drawing.Polygon.prototype.isOnLegen= d=3Dfalse;Msn.Drawing.Polygon.prototype.type=3DVEShapeType.Polygon;Msn.Dr= awing.Polygon.prototype.name=3Dnull;Msn.Drawing.Polygon.prototype.Destroy= =3Dfunction(){this.symbol=3Dnull;this.points=3Dnull;this.altitudes=3Dnull= ;this.altitudeMode=3Dnull;this.extruded=3Dnull;this.minX=3Dnull;this.minY= =3Dnull;this.maxX=3Dnull;this.maxY=3Dnull;this.minZ=3Dnull;this.maxZ=3Dnu= ll};Msn.Drawing.Polygon.prototype.GetLength=3Dfunction(){if(this.length<0= )this.length=3DCalculateShapeLength(this);return = this.length};Msn.Drawing.Polygon.prototype.SetLength=3Dfunction(a){this.l= ength=3Da};Msn.Drawing.Polygon.prototype.GetArea=3Dfunction(){if(this.are= a<0)this.area=3DCalculateAreaP(this.points);if(this.area<0)this.area=3DCa= lculateAreaP(this.points,false);return = this.area};Msn.Drawing.Polygon.prototype.SetArea=3Dfunction(a){this.area=3D= a};Msn.Drawing.Stroke=3Dfunction(){this.width=3D1;this.linecap=3D"round";= this.opacity=3D1;this.linejoin=3D"miter";this.color=3Dnew = Msn.Drawing.Color(255,255,255,1);this.fillcolor=3Dnew = Msn.Drawing.Color(0,255,0,1)};Msn.Drawing.Color=3Dfunction(d,c,b,a){this.= R=3Dd?d:0;this.G=3Dc?c:0;this.B=3Db?b:0;this.A=3Da?a:0;this.ToHexString=3D= function(){return = VEColorToHexString(this.R,this.G,this.B)}};VEShapeStyle=3Dfunction(){this= .iid=3DMsn.Drawing.GetGeoUID(MC_GEO_TYPE_SYMBOL);this.id=3Dthis.iid};VESh= apeStyle.prototype.point_type=3D"v:rect";VEShapeStyle.prototype.name=3D"s= ymbol";VEShapeStyle.prototype.highlight_stroke_color=3D"#336666";VEShapeS= tyle.prototype.highlight_fill_color=3D"#FFCC33";VEShapeStyle.prototype.sh= ape_drawtype=3D"v:shape";VEShapeStyle.prototype.shape_fill=3D"false";VESh= apeStyle.prototype.shape_filled=3D"false";VEShapeStyle.prototype.shape_un= selectable=3D"off";VEShapeStyle.prototype.style_zIndex=3D60;VEShapeStyle.= prototype.style_zIndex_polyshape=3D50;VEShapeStyle.prototype.style_positi= on=3D"absolute";VEShapeStyle.prototype.style_filter=3D"alpha(opacity=3D30= )";VEShapeStyle.prototype.style_width=3D"10";VEShapeStyle.prototype.style= _height=3D"10";VEShapeStyle.prototype.style_visibility=3D"visible";VEShap= eStyle.prototype.style_display=3D"block";VEShapeStyle.prototype.stroke_dr= awtype=3D"v:stroke";VEShapeStyle.prototype.stroke_on=3D"true";VEShapeStyl= e.prototype.stroke_joinstyle=3D"miter";VEShapeStyle.prototype.stroke_endc= ap=3D"round";VEShapeStyle.prototype.stroke_opacity=3D"1";VEShapeStyle.pro= totype.stroke_color=3D"#0000FF";VEShapeStyle.prototype.stroke_weight=3D"2= pt";VEShapeStyle.prototype.stroke_style=3D"Single";VEShapeStyle.prototype= .stroke_filltype=3D"solid";VEShapeStyle.prototype.stroke_color2=3D"#FF000= 0";VEShapeStyle.prototype.stroke_dashstyle=3D"Solid";VEShapeStyle.prototy= pe.stroke_startarrow=3D"none";VEShapeStyle.prototype.stroke_startarrowwid= th=3D"medium";VEShapeStyle.prototype.stroke_startarrowlength=3D"medium";V= EShapeStyle.prototype.stroke_endarrow=3D"none";VEShapeStyle.prototype.str= oke_endarrowwidth=3D"medium";VEShapeStyle.prototype.stroke_endarrowlength= =3D"medium";VEShapeStyle.prototype.fill_drawtype=3D"v:fill";VEShapeStyle.= prototype.fill_color=3D"#008000";VEShapeStyle.prototype.fill_colors=3D"30= % = yellow";VEShapeStyle.prototype.fill_color2=3D"#0000FF";VEShapeStyle.proto= type.fill_type=3D"solid";VEShapeStyle.prototype.fill_opacity=3D"0.3";VESh= apeStyle.prototype.fill_on=3D"false";VEShapeStyle.prototype.textbox_drawt= ype=3D"v:textbox";VEShapeStyle.prototype.textbox_text=3D"name";VEShapeSty= le.prototype.textbox_color=3D"#FFFFFF";VEShapeStyle.prototype.textbox_bol= d=3Dfalse;VEShapeStyle.prototype.textbox_italic=3Dfalse;VEShapeStyle.prot= otype.textbox_underscore=3Dfalse;VEShapeStyle.prototype.textbox_font=3D"A= rial";VEShapeStyle.prototype.textbox_size=3D7;VEShapeStyle.prototype.imag= edata_on=3Dfalse;VEShapeStyle.prototype.imagedata_src=3Dnull;VEShapeStyle= .prototype.isOn=3Dfalse;VEShapeStyle.prototype.textbox_OffsetX=3D0;VEShap= eStyle.prototype.textbox_OffsetY=3D0;VEShapeStyle.prototype.textbox_backc= olor=3D"#0000FF";VEShapeStyle.textbox_color_opacity=3D"1";VEShapeStyle.te= xtbox_backcolor_opacity=3D"1";VEShapeStyle.prototype.img_offsetX=3D0;VESh= apeStyle.prototype.img_offsetY=3D0;VEShapeStyle.prototype.img_width=3D22;= VEShapeStyle.prototype.img_height=3D22;VEShapeStyle.prototype.Clone=3Dfun= ction(){var a=3Dnew = VEShapeStyle;a.point_type=3Dthis.point_type;a.name=3Dthis.name;a.line_col= or=3Dthis.line_color;a.line_width=3Dthis.line_width;a.line_dasharray=3Dth= is.line_dasharray;a.highlight_stroke_color=3Dthis.highlight_stroke_color;= a.highlight_fill_color=3Dthis.highlight_fill_color;a.shape_drawtype=3Dthi= s.shape_drawtype;a.shape_fill=3Dthis.shape_fill;a.shape_filled=3Dthis.sha= pe_filled;a.shape_unselectable=3Dthis.shape_unselectable;a.style_zIndex=3D= this.style_zIndex;a.style_zIndex_polyshape=3Dthis.style_zIndex_polyshape;= a.style_position=3Dthis.style_position;a.style_filter=3Dthis.style_filter= ;a.style_width=3Dthis.style_width;a.style_height=3Dthis.style_height;a.st= yle_visibility=3Dthis.style_visibility;a.style_display=3Dthis.style_displ= ay;a.stroke_drawtype=3Dthis.stroke_drawtype;a.stroke_on=3Dthis.stroke_on;= a.stroke_joinstyle=3Dthis.stroke_joinstyle;a.stroke_endcap=3Dthis.stroke_= endcap;a.stroke_opacity=3Dthis.stroke_opacity;a.stroke_color=3Dthis.strok= e_color;a.stroke_weight=3Dthis.stroke_weight;a.stroke_style=3Dthis.stroke= _style;a.stroke_filltype=3Dthis.stroke_filltype;a.stroke_color2=3Dthis.st= roke_color2;a.stroke_dashstyle=3Dthis.stroke_dashstyle;a.stroke_startarro= w=3Dthis.stroke_startarrow;a.stroke_startarrowwidth=3Dthis.stroke_startar= rowwidth;a.stroke_startarrowlength=3Dthis.stroke_startarrowlength;a.strok= e_endarrow=3Dthis.stroke_endarrow;a.stroke_endarrowwidth=3Dthis.stroke_en= darrowwidth;a.stroke_endarrowlength=3Dthis.stroke_endarrowlength;a.fill_d= rawtype=3Dthis.fill_drawtype;a.fill_color=3Dthis.fill_color;a.fill_colors= =3Dthis.fill_colors;a.fill_color2=3Dthis.fill_color2;a.fill_type=3Dthis.f= ill_type;a.fill_opacity=3Dthis.fill_opacity;a.fill_on=3Dthis.fill_on;a.te= xtbox_drawtype=3Dthis.textbox_drawtype;a.textbox_text=3Dthis.textbox_text= ;a.textbox_color=3Dthis.textbox_color;a.textbox_bold=3Dthis.textbox_bold;= a.textbox_italic=3Dthis.textbox_italic;a.textbox_underscore=3Dthis.textbo= x_underscore;a.textbox_backcolor=3Dthis.textbox_backcolor;a.imagedata_on=3D= this.imagedata_on;a.imagedata_src=3Dthis.imagedata_src;a.isOn=3Dthis.isOn= ;a.textbox_OffsetX=3Dthis.textbox_OffsetX;a.textbox_OffsetY=3Dthis.textbo= x_OffsetY;a.img_offsetX=3Dthis.img_offsetX;a.img_offsetY=3Dthis.img_offse= tY;a.img_width=3Dthis.img_width;a.img_height=3Dthis.img_height;return = a};function VE_MapLineClip(){var = b=3D-360,c=3D360,d=3D-180,e=3D180,a=3D{LEFT:1,RIGHT:2,BOTTOM:4,TOP:8};fun= ction h(i,s,u,t,v){b=3Ds;c=3Dt;d=3Du;e=3Dv;if(typeof = i=3D=3D"undefined"||i=3D=3Dnull||i.length<4)return null;var = m=3Dfalse,o=3Di.length;if(i[o-2]=3D=3Di[0]&&i[o-1]=3D=3Di[1])m=3Dtrue;var= f=3D[];for(var l=3D0;lc)f=3Df|a.RIGHT;if(he)f=3Df|a.TOP;return f}this.Clip=3Dh}VE_LineClip=3Dnew = VE_MapLineClip;var L_GraphicsInitError_Text=3D"Your Web browser does not = support SVG or VML. Some graphics features may not function = properly.";_VERegisterNamespaces("Msn.Drawing");Msn.Drawing.Graphic=3Dfun= ction(){};Msn.Drawing.Graphic.CreateGraphic=3Dfunction(e,b){if(Msn.VE.Env= ironment.BrowserInfo.BrowserCaps&Msn.VE.BrowserCaps.VML)return new = Msn.Drawing.VMLGraphic(e,b);else{if(navigator.userAgent.indexOf("KHTML")!= =3D=3D-1||Gimme.Browser.isOpera)return new = Msn.Drawing.SVGGraphic(e,b);var c=3D0,f=3D0,g=3Dnew = RegExp("Firefox/(.*)"),d=3Dg.exec(navigator.userAgent);if(d&&d.length>=3D= 2){var = a=3Dd[1].split(".");if(a){c=3Da[0];f=3Da[1];if(parseInt(c)>0&&parseInt(f)= >=3D5||parseInt(c)>=3D2)return new Msn.Drawing.SVGGraphic(e,b)}}throw = new = Msn.Drawing.Exception(L_GraphicsInitError_Text)}};Msn.Drawing.BaseGraphic= =3Dfunction(){this._stroke=3Dnew = Msn.Drawing.Stroke};Msn.Drawing.BaseGraphic.prototype.CreatePrimitive=3Df= unction(){};Msn.Drawing.BaseGraphic.prototype.DrawPrimitive=3Dfunction(d,= c,a){var b=3Dnew = VEShapeStyle;if(a._stroke){b.stroke_weight=3Da._stroke.width;b.stroke_joi= nstyle=3Da._stroke.linejoin;b.stroke_color=3Da._stroke.color.ToHexString(= );b.stroke_dashstyle=3Da._stroke.linecap;b.stroke_opacity=3Da._stroke.col= or.A.toString();b.fill_color=3Da._stroke.fillcolor.ToHexString();b.fill_o= pacity=3Da._stroke.fillcolor.A.toString()}c.symbol=3Db;var = e=3Da.CreatePrimitive(d,c,"");return = e};Msn.Drawing.BaseGraphic.prototype.SetStroke=3Dfunction(a){this._stroke= =3Da};Msn.Drawing.VMLGraphic=3Dfunction(c,d){Msn.Drawing.BaseGraphic.call= ();var g=3Dnew Msn.Drawing.Color(255,0,0,1),f=3Dnew = Msn.Drawing.Color(255,0,0,1),e=3D1,a=3Dc;c.unselectable=3D"on";var = b=3D[];this.DrawPrimitive=3Dfunction(f,e){var = c=3DMsn.Drawing.VMLGraphic.prototype.DrawPrimitive(d,f,this);if(a&&c){if(= e)a.appendChild(wrapVmlElementInDiv(c));else = a.appendChild(c);b.push(c)}};this.resetOffset=3Dfunction(){};this.SetZInd= ex=3Dfunction(a){e=3Da};this.Clear=3Dfunction(){var = a=3Dnull,c=3Dnull;while(a=3Db.pop()){c=3Da.parentElement;if(c)c.removeChi= ld(a);a=3Dnull}};this.Destroy=3Dfunction(){this.Clear();a=3Dnull}};Msn.Dr= awing.VMLGraphic.prototype=3Dnew = Msn.Drawing.BaseGraphic;Msn.Drawing.VMLGraphic.prototype.CreatePrimitive=3D= function(e,a){var = b=3Dnull;if(a.type=3D=3DVEShapeType.Pushpin){if(a.symbol.shape_drawtype=3D= =3D"v:oval"||a.symbol.shape_drawtype=3D=3D"v:rect"||a.symbol.shape_drawty= pe=3D=3D"v:roundrect")b=3Ddocument.createElement(a.symbol.shape_drawtype)= ;else b=3Ddocument.createElement("v:roundrect");b.className=3D"vml";var = f=3DLatLongtoRoundedPixel(e,a.points[1],a.points[0]);b.style.width=3Da.sy= mbol.style_width;b.style.height=3Da.symbol.style_height;b.style.left=3D-5= +f.x+e.GetOffsetX()+"px";b.style.top=3D-5+f.y+e.GetOffsetY()+"px";b.style= .position=3Da.symbol.style_position}else{b=3Ddocument.createElement("v:sh= ape");b.className=3D"MSVE_Shape vml";var = g=3Dnull;g=3DGetVmlPath(e,a);var = h=3De.GetMapWidth(),i=3De.GetMapHeight();b.style.top=3D"0px";b.style.left= =3D"0px";b.style.width=3Dh+"px";b.style.height=3Di+"px";b.coordsize=3Dh+"= = "+i;b.style.position=3Da.symbol.style_position;b.path=3Dg}b.id=3Da.id!=3D= 0?a.id:a.iid;b.style.zIndex=3Da.symbol.style_zIndex_polyshape;b.unselecta= ble=3Da.symbol.shape_unselectable;var = c=3Ddocument.createElement("v:stroke");c.className=3D"vml";c.joinstyle=3D= a.symbol.stroke_joinstyle;c.endcap=3Da.symbol.stroke_endcap;c.opacity=3Da= .symbol.stroke_opacity;c.dashstyle=3Da.symbol.stroke_dashstyle;c.filltype= =3Da.symbol.stroke_filltype;c.color2=3Da.symbol.stroke_color2;c.color=3Da= .symbol.stroke_color;c.weight=3Da.symbol.stroke_weight;c.linestyle=3Da.sy= mbol.stroke_style;if(a.type=3D=3DVEShapeType.Polygon){var = d=3Ddocument.createElement("v:fill");d.className=3D"vml";d.color=3Da.symb= ol.fill_color;d.colors=3Da.symbol.fill_colors;d.color2=3Da.symbol.fill_co= lor2;d.type=3Da.symbol.fill_type;d.opacity=3Da.symbol.fill_opacity;b.appe= ndChild(d)}else = if(a.type=3D=3DVEShapeType.Polyline)b.filled=3Dfalse;else = if(a.type=3D=3DVEShapeType.Pushpin){b.style.filter=3Da.symbol.style_filte= r;b.style.zIndex=3Da.symbol.style_zIndex;b.style.display=3Da.symbol.style= _display;b.unselectable=3Da.symbol.shape_unselectable;b.fill=3Dtrue;b.fil= led=3Dtrue;b.fillcolor=3Da.symbol.fill_color}b.appendChild(c);return = b};Msn.Drawing.VMLGraphic.prototype.UpdatePoints=3Dfunction(d,a,b,c){if(c= &&(a.type=3D=3DVEShapeType.Polyline||a.type=3D=3DVEShapeType.Polygon)){va= r e=3DGetVmlPath(d,a);b.path=3De}return = b};Msn.Drawing.VMLGraphic.prototype.UpdateStyle=3Dfunction(f,a,e){e.style= .zIndex=3Da.symbol.style_zIndex_polyshape;e.unselectable=3Da.symbol.shape= _unselectable;var = c=3De.firstChild,b=3Dnull,d=3Dnull;while(c!=3Dnull){if(c.tagName=3D=3D"st= roke")b=3Dc;else = if(c.tagName=3D=3D"fill")d=3Dc;c=3Dc.nextSibling}if(b){b.joinstyle=3Da.sy= mbol.stroke_joinstyle;b.endcap=3Da.symbol.stroke_endcap;b.opacity=3Da.sym= bol.stroke_opacity;b.dashstyle=3Da.symbol.stroke_dashstyle;b.filltype=3Da= .symbol.stroke_filltype;b.color2=3Da.symbol.stroke_color2;b.color=3Da.sym= bol.stroke_color;b.weight=3Da.symbol.stroke_weight;b.linestyle=3Da.symbol= .stroke_style}if(a.type=3D=3DVEShapeType.Polygon&&d){d.color=3Da.symbol.f= ill_color;d.color2=3Da.symbol.fill_color2;d.type=3Da.symbol.fill_type;d.o= pacity=3Da.symbol.fill_opacity}return = e};Msn.Drawing.VMLGraphic.prototype._printable=3Dfalse;Msn.Drawing.VMLGra= phic.prototype._printTilesLayer=3Dnull;Msn.Drawing.VMLGraphic.prototype._= printTopLayer=3Dnull;Msn.Drawing.VMLGraphic.prototype.CreatePrintLayer=3D= function(a,d,c,b){if(!this._printable){this._printTilesLayer=3Ddocument.c= reateElement("div");this._printTilesLayer.className=3D"MSVE_Print_TileLay= er";this._printTilesLayer.innerHTML=3D"";a.appendChild(this._printTilesLayer);this._printTopLayer=3D= document.createElement("div");this._printTopLayer.className=3D"MSVE_Print= _TopLayer";this._printTopLayer.innerHTML=3D"";this._printTopLayer.style.width=3Dc;this._printTopLayer.s= tyle.height=3Db;this._printTopLayer.zIndex=3D100;a.parentNode.appendChild= (this._printTopLayer);this._printable=3Dtrue}};Msn.Drawing.VMLGraphic.pro= totype.RemovePrintLayer=3Dfunction(){if(this._printable){this._printable=3D= false;this._printTilesLayer.parentNode.removeChild(this._printTilesLayer)= ;this._printTopLayer.parentNode.removeChild(this._printTopLayer);this._pr= intTilesLayer=3Dnull;this._printTopLayer=3Dnull}};Msn.Drawing.VMLGraphic.= prototype.AddPrintTile=3Dfunction(f,g,e,d,b,h,c){var = a=3Dnull;if(this._printable){a=3Ddocument.createElement("div");a.style.po= sition=3D"absolute";a.style.top=3Dg;a.style.left=3De;a.style.width=3Dd+1;= a.style.height=3Db+1;a.style.zIndex=3Dc;a.innerHTML=3D"";this._printTilesLayer.appendChild(a= )}return = a};Msn.Drawing.VMLGraphic.prototype.RemovePrintTile=3Dfunction(a){if(a.pa= rentNode)a.parentNode.removeChild(a)};Msn.Drawing.VMLGraphic.prototype.Ad= dLogo=3Dfunction(b){if(this._printable){var = a=3Ddocument.createElement("v:image");a.src=3Db;a.className=3D"MSVE_Power= edByLogo_print = vml";this._printTopLayer.appendChild(a)}};Msn.Drawing.SVGGraphic=3Dfuncti= on(c,b){Msn.Drawing.BaseGraphic.call();var g=3Dnew = Msn.Drawing.Color(255,0,0,1),f=3Dnew = Msn.Drawing.Color(0,255,0,1);_curmap=3Db;this._svgLayer=3Dnull;var = d=3D60,e=3Dc,a=3D[];this.DrawPrimitive=3Dfunction(d){var = c=3DMsn.Drawing.SVGGraphic.prototype.DrawPrimitive(b,d,this);if(c)a.push(= c)};this.resetOffset=3Dfunction(){_curmap.resetSvgLayer()};this.SetZIndex= =3Dfunction(a){d=3Da;if(this._svgLayer!=3Dnull)this._svgLayer.SetZIndex(a= )};this.Destroy=3Dfunction(){this.Clear()};this.Clear=3Dfunction(){if(thi= s._svgLayer=3D=3Dnull)return;var = b=3Dnull,c=3Dnull;while(b=3Da.pop()){c=3Db.parentNode;if(c)c.removeChild(= b);b=3Dnull}}};Msn.Drawing.SVGGraphic.prototype=3Dnew = Msn.Drawing.BaseGraphic;Msn.Drawing.SVGGraphic.prototype.CreatePrimitive=3D= function(a,b,c){this._svgLayer=3Da.getSvgLayer();return = this._svgLayer.addShape(b,c)};Msn.Drawing.SVGGraphic.prototype.UpdatePoin= ts=3Dfunction(a,b,c){this._svgLayer=3Da.getSvgLayer();return = this._svgLayer.UpdatePoints(b,c)};Msn.Drawing.SVGGraphic.prototype.Update= Style=3Dfunction(a,b,c){this._svgLayer=3Da.getSvgLayer();return = this._svgLayer.UpdateStyle(b,c)};Msn.Drawing.SVGGraphic.prototype._printa= ble=3Dfalse;Msn.Drawing.SVGGraphic.prototype._printTilesLayer=3Dnull;Msn.= Drawing.SVGGraphic.prototype._printTopLayer=3Dnull;Msn.Drawing.SVGGraphic= .prototype._printLogo=3Dnull;Msn.Drawing.SVGGraphic.prototype._offsetX=3D= null;Msn.Drawing.SVGGraphic.prototype._offsetY=3Dnull;Msn.Drawing.SVGGrap= hic.prototype.CreatePrintLayer=3Dfunction(d,a,c,b){if(!this._printable){t= his._svgLayer=3Da.getSvgLayer();this._printTopLayer=3Dthis._svgLayer.Crea= tePrintLayer("MSVE_Print_TopLayer");this._printTopLayer.setAttributeNS(nu= ll,"width",parseInt(c));this._printTopLayer.setAttributeNS(null,"height",= parseInt(b));this._printTilesLayer=3Dthis._svgLayer.CreatePrintLayer("MSV= E_Print_TileLayer");this._printable=3Dtrue}};Msn.Drawing.SVGGraphic.proto= type.RemovePrintLayer=3Dfunction(){if(this._printable){this._printTilesLa= yer.parentNode.removeChild(this._printTilesLayer);this._printTopLayer.par= entNode.removeChild(this._printTopLayer);this._printTilesLayer=3Dnull;thi= s._printTopLayer=3Dnull;this._printLogo=3Dnull;this._printable=3Dfalse}};= Msn.Drawing.SVGGraphic.prototype.AddPrintTile=3Dfunction(g,h,f,e,c,b,d){v= ar = a=3Dnull;if(this._printable){a=3Ddocument.createElementNS("http://www.w3.= org/2000/svg","image");a.setAttributeNS("http://www.w3.org/1999/xlink","x= link:href",g);a.setAttributeNS(null,"preserveAspectRatio","none");a.setAt= tributeNS(null,"x",f-this._offsetX);a.setAttributeNS(null,"y",h-this._off= setY);a.setAttributeNS(null,"width",e);a.setAttributeNS(null,"height",c);= a.setAttributeNS(null,"opacity",b);this.AddPrintTileToLayer(a,d)}return = a};Msn.Drawing.SVGGraphic.prototype.AddPrintTileToLayer=3Dfunction(d,b){v= ar = a=3Dthis._printTilesLayer.firstChild;while(a&&a.style.zIndex1)a/=3D100;else if(a<0)a=3D0;return = a}this.SetZIndex=3Dfunction(a){if(!c.bShowSVG)return;c.GetsvgDiv().style.= zIndex=3Da};this.UpdatePoints=3Dfunction(a,b){if(a.type=3D=3DVEShapeType.= Polyline||a.type=3D=3DVEShapeType.Polygon)b.setAttribute("points",GetSvgP= ath(c,a.points))};this.UpdateStyle=3Dfunction(a,c){if(b=3D=3Dnull)return;= if(a.type!=3DVEShapeType.Pushpin){c.setAttribute("stroke",a.symbol.stroke= _color);c.setAttribute("stroke-width",a.symbol.stroke_weight);c.setAttrib= ute("stroke-linejoin",a.symbol.stroke_joinstyle);c.setAttribute("stroke-o= pacity",d(a.symbol.stroke_opacity));var f=3Dthis.lineDashStyles;for(var = e=3D0;e=3Dc.length)c.length+=3DMath.round(c.lengt= h/4);c[i++]=3Dd;l=3Dg;m=3Dh}a++}if(i>0)c.length=3Di;return = c.join("")}function LatLongtoRoundedPixel(b,d,e){var c;if(typeof = VEMap!=3D"undefined"&&b instanceof VEMap)c=3Dnew VELatLong(d,e);else = c=3Dnew Msn.VE.LatLong(d,e);var = a=3Db.LatLongToPixel(c,b.GetZoomLevel());if(!a)return = null;a.x=3DMathRound(a.x);a.y=3DMathRound(a.y);return = a}VE_LatLongThreshold=3D{PixelDiff:8,DistDiff:.5,OriginLat:0,OriginLon:0,= LatDiff:0,LonDiff:0,UseThreshold:true,IsNotInit:true};function = VE_SetLatLonThreshold(c,e,d){VE_LatLongThreshold.IsNotInit=3Dfalse;if(e!=3D= null&&d!=3Dnull){VE_LatLongThreshold.OriginLat=3Dd;VE_LatLongThreshold.Or= iginLon=3De}var = a,b=3DLatLongtoRoundedPixel(c,VE_LatLongThreshold.OriginLat,VE_LatLongThr= eshold.OriginLon);if(b){a=3Dc.PixelToLatLong(new = VEPixel(b.x+VE_LatLongThreshold.PixelDiff,b.y+VE_LatLongThreshold.PixelDi= ff));VE_LatLongThreshold.LatDiff=3DMath.abs(a.latitude-VE_LatLongThreshol= d.OriginLat);VE_LatLongThreshold.LonDiff=3DMath.abs(a.longitude-VE_LatLon= gThreshold.OriginLon)}}function = VE_IsDisplayLatLon(e,i,h,b,a){if(!VE_LatLongThreshold.UseThreshold)return= true;var = c=3DMath.abs(VE_LatLongThreshold.OriginLat-a),d=3DMath.abs(VE_LatLongThre= shold.OriginLon-b);if(Math.max(c,d)>VE_LatLongThreshold.DistDiff||VE_LatL= ongThreshold.IsNotInit)VE_SetLatLonThreshold(e,b,a);var = f=3DMath.abs(a-h),g=3DMath.abs(b-i);if(f>VE_LatLongThreshold.LatDiff||g>V= E_LatLongThreshold.LonDiff)return true;return false}function = GetVmlPath(j,a){var h=3Da.points;if(!h)return null;var = g=3D0,l=3Dh.length,m=3Dl/2,e=3D0,b=3Dnew = Array(Math.max(128,Math.round(l/8)));b[e++]=3D"m ";var = q=3DMathRound(j.GetOffsetY()),p=3DMathRound(j.GetOffsetX()),f=3Dnull,n=3D= 0,o=3D0,c=3D0,d=3D0;if(l>=3D4){c=3Dh[g*2];d=3Dh[g*2+1];f=3DLatLongtoRound= edPixel(j,d,c);if(!f)return null;var = i=3D"";i=3Di.concat(f.x+p,",",f.y+q," l = ");if(e>=3Db.length)b.length+=3DMath.round(b.length/4);b[e++]=3Di;n=3Dc;o= =3Dd;++g}var = k=3Dfalse;if(a.type!=3DVEShapeType.Pushpin)if(a.minX=3D=3Dnull||a.minY=3D= =3Dnull||a.maxX=3D=3Dnull||a.maxY=3D=3Dnull){k=3Dfalse;a.minX=3D360;a.min= Y=3D360;a.maxX=3D-360;a.maxY=3D-360}else = k=3Dtrue;while(g=3Db.length)b.length+=3DMath.round(b.length/4);b[e++]=3Di;n=3Dc;o= =3Dd}++g}if(e>=3Db.length)b.length+=3D1;b[e++]=3D" = e";if(e>0)b.length=3De;return b.join("")}function = GetCurrentMapViewBounds(b){var = o=3Db.GetCenterLongitude(),p=3Db.GetCenterLatitude(),a=3Db.LatLongToPixel= (new = Msn.VE.LatLong(p,o)),h=3Db.GetMapWidth(),g=3Db.GetMapHeight();if(!a||isNa= N(a.x)||isNaN(a.y))return new = Msn.VE.Bounds(0,0,-Infinity,-Infinity,Infinity,Infinity);var = l,n,k,m,j=3Dfalse,q=3Db.GetMapStyle(),c=3Db.PixelToLatLong(new = VEPixel(a.x-h/2,a.y+g/2)),d=3Db.PixelToLatLong(new = VEPixel(a.x+h/2,a.y-g/2));if(Msn.VE.MapStyle.IsViewOblique(q)){var = e=3Db.PixelToLatLong(new = VEPixel(a.x-h/2,a.y-g/2)),f=3Db.PixelToLatLong(new = VEPixel(a.x+h/2,a.y+g/2));if(c!=3Dnull&&d!=3Dnull&&e!=3Dnull&&f!=3Dnull){= l=3DMath.min(c.longitude,d.longitude,e.longitude,f.longitude);n=3DMath.mi= n(c.latitude,d.latitude,e.latitude,f.latitude);k=3DMath.max(c.longitude,d= .longitude,e.longitude,f.longitude);m=3DMath.max(c.latitude,d.latitude,e.= latitude,f.latitude)}else j=3Dtrue}else = if(c!=3Dnull&&d!=3Dnull){l=3DMath.min(c.longitude,d.longitude);n=3DMath.m= in(c.latitude,d.latitude);k=3DMath.max(c.longitude,d.longitude);m=3DMath.= max(c.latitude,d.latitude)}else j=3Dtrue;var i=3Dnull;if(j)i=3Dnew = Msn.VE.Bounds(0,0,-Infinity,-Infinity,Infinity,Infinity);else i=3Dnew = Msn.VE.Bounds(0,0,l,n,k,m);return i}function = GetBufferedMapViewBounds(b,a){var = c=3Dnull,e=3DMath.abs(a.x2-a.x1),d=3DMath.abs(a.y2-a.y1);c=3Dnew = Msn.VE.Bounds(0,0,a.x1-b*e,a.y1-b*d,a.x2+b*e,a.y2+b*d);return c}function = IsContainedInView(a,b){var = c=3Dfalse;if(b.x1>a.x1&&b.y1>a.y1&&b.x2b.x2||a.y2b.y2)return false;return = true}function IsDisplayShape(d,c,e,g,f,h){if(c=3D=3D0)return = true;if(e=3D=3Df&&g=3D=3Dh)return true;var = a=3Dnull,b=3Dnull;a=3Dd.LatLongToPixel(new = Msn.VE.LatLong(g,e));b=3Dd.LatLongToPixel(new = Msn.VE.LatLong(h,f));if(a=3D=3Dnull||b=3D=3Dnull)return = true;if(Math.abs(b.y-a.y)>c||Math.abs(b.x-a.x)>c)return true;else return = false}function = IsRecIntersect(c,d,a,b,g,h,e,f){if(ae||bf)return = false;return true}function wrapVmlElementInDiv(a){var = c=3DMsn.VE.Css.Functions.getComputedStyle,b=3Ddocument.createElement("div= ");b.className=3D"VmlContainer";b.style.left=3Dc(a,"left");b.style.top=3D= c(a,"top");b.style.width=3Dc(a,"width");b.style.height=3Dc(a,"height");a.= style.position=3D"relative";a.style.left=3D"0px";a.style.top=3D"0px";a.st= yle.width=3D"100%";a.style.height=3D"100%";b.appendChild(a);return = b}function VEColorToHexString(c,b,a){return = "#"+(c<16?"0":"")+Number(c).toString(16)+(b<16?"0":"")+Number(b).toString= (16)+(a<16?"0":"")+Number(a).toString(16)}function = VEHexStringToColor(){this.Convert=3Dfunction(a){a=3Da.toUpperCase();var = b=3DhTov(a.substring(0,1)),c=3DhTov(a.substring(1,2)),d=3DhTov(a.substrin= g(2,3)),e=3DhTov(a.substring(3,4)),f=3DhTov(a.substring(4,5)),g=3DhTov(a.= substring(5,6)),h=3Db*16+c,i=3Dd*16+e,j=3Df*16+g;return new = VEColor(h,i,j,1)};function hTov(h){var v=3D0;if(h=3D=3D"A")v=3D10;else = if(h=3D=3D"B")v=3D11;else if(h=3D=3D"C")v=3D12;else = if(h=3D=3D"D")v=3D13;else if(h=3D=3D"E")v=3D14;else = if(h=3D=3D"F")v=3D15;else v=3Deval(h);return = v}}_VERegisterNamespaces("Msn.VE");$MVEM=3Dnew = function(){this.IsEnabled=3Dfunction(a){if(a=3D=3Dundefined)throw new = VEException("$MVEM.IsEnabled","err_invalidfeature","Specified feature is = invalid.");return a}};function = VEException(b,c,a){this.source=3Db;this.name=3Dc;this.message=3Da}VEExcep= tion.prototype.Name=3Dthis.name;VEException.prototype.Source=3Dthis.sourc= e;VEException.prototype.Message=3Dthis.message;function = pseudoHover(a){if(!document.all)return;var = d=3Dfunction(){a.className+=3D" = ms_pseudoHover"},c=3Dfunction(){a.className=3Da.className.replace(/\s*ms_= pseudoHover/g,"")};a.attachEvent("onmouseenter",d);a.attachEvent("onmouse= leave",c);window.attachEvent("onunload",b);function = b(){a.detachEvent("onmouseenter",d);a.detachEvent("onmouseleave",c);windo= w.detachEvent("onunload",b)}}function = pseudoHoverForChildren(d,a){if(!document.all)return;if(!a)a=3D"LI";var = c=3Dd.getElementsByTagName(a);for(var = b=3D0;b-1)Msn.VE.Css.Cursors[a.name]=3Da.fallback;else = Msn.VE.Css.Cursors[a.name]=3D'url("'+a.domain+a.path+'"), = '+a.fallback}}},RegEx:{RectClip:/rect\((auto|\d+px|\d*\.*\d+em|\d*\.*\d+p= t)\s*,*\s*(auto|\d+px|\d*\.*\d+em|\d*\.*\d+pt)\s*,*\s*(auto|\d+px|\d*\.*\= d+em|\d*\.*\d+pt)\s*,*\s*(auto|\d+px|\d*\.*\d+em|\d*\.*\d+pt)\)/},Functio= ns:{addClass:function(a){this.alterClass(a,arguments,true)},removeClass:f= unction(a){this.alterClass(a,arguments,false)},alterClass:function(a,e,g)= {var c,h=3De.length;for(c=3D1;c=3D2)this.Locale=3Darguments[1]}this.IsCompatibleWith=3Dfu= nction(c){for(var b=3D0;ba.MajorVersion||a.M= ajorVersion=3D=3Dthis.MajorVersion&&a.MinorVersion>=3Dthis.MinorVersion))= return true}return false};function = b(){if(a.UserAgent.indexOf("Mac")=3D=3D-1&&(a.UserAgent.indexOf("Gecko")!= =3D-1||a.UserAgent.indexOf("MSIE")!=3D-1))a.BrowserCaps|=3DMsn.VE.Browser= Caps.RightMouseButton}function c(){if(a.UserAgent.indexOf("MSIE = 7")!=3D-1||a.UserAgent.indexOf("MSIE = 8")!=3D-1||a.UserAgent.indexOf("Gecko")!=3D-1)a.BrowserCaps|=3DMsn.VE.Bro= wserCaps.WindowlessSelectElement}function = j(){if(a.UserAgent.indexOf("Mac")=3D=3D-1&&(a.UserAgent.indexOf("MSIE = 5")!=3D-1||a.UserAgent.indexOf("MSIE = 6")!=3D-1||a.UserAgent.indexOf("MSIE = 7")!=3D-1||a.UserAgent.indexOf("MSIE = 8")!=3D-1))a.BrowserCaps|=3DMsn.VE.BrowserCaps.VML}function = i(){if(a.UserAgent.indexOf("MSIE")=3D=3D-1){var d=3D0,e=3D0,f=3Dnew = RegExp("Firefox/(.*)"),c=3Df.exec(a.UserAgent);if(c&&c.length>=3D2){var = b=3Dc[1].split(".");if(b){d=3Db[0];e=3Db[1];if(parseInt(d)>0&&parseInt(e)= >=3D5)a.BrowserCaps|=3DMsn.VE.BrowserCaps.SVG}}}}function = h(){try{if(a.UserAgent.indexOf("MSIE")!=3D-1)a.BrowserCaps|=3DMsn.VE.Brow= serCaps.AddFavourite}catch(b){}}this.GetVersionString=3Dfunction(){if(thi= s.versionString=3D=3Dnull)if(a.UserAgent.indexOf("Win")!=3D-1&&a.UserAgen= t.indexOf("MSIE")!=3D-1){var = b=3Dnull,c;try{b=3Ddocument.createElement("
");document.body.appendChild(b);c=3Db.getComponentVer= sion("{89820200-ECBD-11CF-8B85-00AA005B4383}","componentid")}catch(d){c=3D= a.MajorVersion+"."+a.MinorVersion}finally{if($ID("__clientCaps")!=3Dnull)= $ID("__clientCaps").parentNode.removeChild(b)}this.versionString=3Dc}else= = if(a.MajorVersion!=3Dnull&&a.MajorVersion!=3Dnull)this.versionString=3Da.= MajorVersion+"."+a.MinorVersion;else this.versionString=3D"";return = this.versionString};function = e(){if(a.UserAgent.indexOf("MSIE")!=3D-1){var c=3Dnew RegExp("MSIE = ([0-9]).([0-9])"),b=3Dc.exec(a.UserAgent);if(b!=3Dnull){a.MajorVersion=3D= parseInt(b[1]);a.MinorVersion=3DparseInt(b[2]);return}}else = if(a.UserAgent.indexOf("Firefox")!=3D-1){var c=3Dnew = RegExp("Firefox/([0-9]).([0-9])(.*)"),b=3Dc.exec(a.UserAgent);if(b!=3Dnul= l){a.MajorVersion=3DparseInt(b[1]);a.MinorVersion=3DparseInt(b[2]);return= }}else if(a.UserAgent.indexOf("Opera")!=3D-1){var c=3Dnew = RegExp("Opera/([0-9]{1,2}).([0-9])"),b=3Dc.exec(a.UserAgent);if(b!=3Dnull= ){a.MajorVersion=3DparseInt(b[1]);a.MinorVersion=3DparseInt(b[2]);return}= }a.MajorVersion=3Dnull;a.MinorVersion=3Dnull}function = g(){if(a.UserAgent.indexOf("Mac OS = X")!=3D-1)a.OSType=3DMsn.VE.OSType.MacOSX;else = if(a.UserAgent.indexOf("Mac")!=3D-1)a.OSType=3DMsn.VE.OSType.MacOS;else = if(a.UserAgent.indexOf("Linux")!=3D-1)a.OSType=3DMsn.VE.OSType.Linux;else= if(a.UserAgent.indexOf("Win95")!=3D-1||a.UserAgent.indexOf("Windows = 95")!=3D-1)a.OSType=3DMsn.VE.OSType.Windows95;else = if(a.UserAgent.indexOf("Win98")!=3D-1||a.UserAgent.indexOf("Windows = 98")!=3D-1)a.OSType=3DMsn.VE.OSType.Windows98;else = if(a.UserAgent.indexOf("Win 9x = 4.90")!=3D-1)a.OSType=3DMsn.VE.OSType.WindowsMillenium;else = if(a.UserAgent.indexOf("Windows NT = 4.0")!=3D-1)a.OSType=3DMsn.VE.OSType.WindowsNT4;else = if(a.UserAgent.indexOf("Windows NT = 5.01")!=3D-1)a.OSType=3DMsn.VE.OSType.Windows2000SP1;else = if(a.UserAgent.indexOf("Windows NT = 5.0")!=3D-1)a.OSType=3DMsn.VE.OSType.Windows2000;else = if(a.UserAgent.indexOf("Windows NT = 5.1")!=3D-1&&a.UserAgent.indexOf("SV1")!=3D-1)a.OSType=3DMsn.VE.OSType.Wi= ndowsXPSP2;else if(a.UserAgent.indexOf("Windows NT = 5.1")!=3D-1)a.OSType=3DMsn.VE.OSType.WindowsXP;else = if(a.UserAgent.indexOf("Windows NT = 5.2")!=3D-1&&a.UserAgent.indexOf("SV1")!=3D-1)a.OSType=3DMsn.VE.OSType.Wi= ndowsServer2003SP1;else if(a.UserAgent.indexOf("Windows NT = 5.2")!=3D-1)a.OSType=3DMsn.VE.OSType.WindowsServer2003;else = if(a.UserAgent.indexOf("Windows NT = 6.0")!=3D-1)a.OSType=3DMsn.VE.OSType.WindowsVista;else = if(a.UserAgent.indexOf("Windows = NT")!=3D-1)a.OSType=3DMsn.VE.OSType.WindowsNT;else = if(a.UserAgent.indexOf("Win")!=3D-1)a.OSType=3DMsn.VE.OSType.Windows;else= a.OSType=3DMsn.VE.OSType.Unknown}function = d(){if(a.UserAgent.indexOf(".NET CLR = 1.0")!=3D-1)a.CLRType|=3DMsn.VE.CLRType.CLR10;if(a.UserAgent.indexOf(".NE= T CLR = 1.1")!=3D-1)a.CLRType|=3DMsn.VE.CLRType.CLR11;if(a.UserAgent.indexOf(".NE= T CLR = 2.0")!=3D-1)a.CLRType|=3DMsn.VE.CLRType.CLR20;if(a.UserAgent.indexOf(".NE= T CLR 3.0")!=3D-1)a.CLRType|=3DMsn.VE.CLRType.CLR30}function = f(){if(a.Locale!=3Dnull)return;a.Locale=3D"en-US";if(a.UserAgent.indexOf(= "MSIE")!=3D-1){if(navigator.browserLanguage)a.Locale=3Dnavigator.browserL= anguage;if(navigator.userLanguage)a.Locale=3Dnavigator.userLanguage;if(na= vigator.systemLanguage)a.Locale=3Dnavigator.systemLanguage}else = if(a.UserAgent.indexOf("Gecko")!=3D-1){var c=3Dnew RegExp("; (.*); = rv:"),b=3Dc.exec(a.UserAgent);if(b&&b.length>=3D2)a.Locale=3Db[1].substri= ng(b[1].lastIndexOf(" "),b[1].length+1)}else = if(a.UserAgent.indexOf("Opera")!=3D-1){var c=3Dnew RegExp(" = (.*)\\)"),b=3Dc.exec(a.UserAgent);if(b&&b.length>=3D2)a.Locale=3Db[1].sub= string(b[1].lastIndexOf(" "),b[1].length+1)}}function = k(){if(a.UserAgent.indexOf("Gecko")!=3D-1)a.Type=3DMsn.VE.BrowserType.Fir= efox;else = if(a.UserAgent.indexOf("MSIE")!=3D-1)a.Type=3DMsn.VE.BrowserType.MSIE;els= e = if(a.UserAgent.indexOf("Opera")!=3D-1)a.Type=3DMsn.VE.BrowserType.Opera;e= lse = a.Type=3DMsn.VE.BrowserType.Unknown;e();g();d();f();h();i();j();c();b()}k= ()};Msn.VE.Environment=3Dfunction(){};Msn.VE.Environment.Redirect=3Dfunct= ion(a){window.location.href=3Da};Msn.VE.Environment.BrowserInfo=3Dnew = Msn.VE.BrowserInfo;Msn.VE.Environment.IsFF20=3Dfunction(){var = a=3DMsn.VE.Environment.BrowserInfo;if(a.Type=3D=3DMsn.VE.BrowserType.Fire= fox){var b=3Da.MajorVersion;if(b>=3D2)return true}return = false};Msn.VE.Environment.IsIE50=3Dfunction(){var = a=3DMsn.VE.Environment.BrowserInfo;if(a.Type=3D=3DMsn.VE.BrowserType.MSIE= ){var b=3Da.MajorVersion;if(b>=3D5)return true}return = false};Msn.VE.Environment.IsIE80=3Dfunction(){var = a=3DMsn.VE.Environment.BrowserInfo;if(a.Type=3D=3DMsn.VE.BrowserType.MSIE= ){var b=3Da.MajorVersion;if(b>=3D8)return true}return = false};_VERegisterNamespaces("Msn.VE");Msn.VE.PushPinTypes=3D{Default:0,S= earchResultPrecise:1,Annotation:2,Direction:3,DirectionTemp:4,TrafficLigh= t:5,TrafficOthers:6,YouAreHere:7,AdStandard:8,AdWide:9,AdCategory:10,AdRo= ofStandard:11,AdRoofWide:12,AdSponsor:13,DirectionStep:14,Context:15,Sear= chResultNonprecise:16,Collection:17,Overlay:18};Msn.VE.MapActionMode=3D{M= odeUnknown:0,Mode2D:1,Mode3D:2,ModeOblique:3};Msn.VE.BirdsEyeSearchSpinDi= rection=3D{ClockwiseSpin:-1,NoSpin:0,CounterclockwiseSpin:1};Msn.VE.LineJ= oinMode=3D{Straight:"miter",Round:"round"};Msn.VE.Css.Cursors.defineCusto= mCursors([{name:"Grab",domain:".",path:"/cursors/grab.cur",fallback:"move= "},{name:"Grabbing",domain:".",path:"/cursors/grabbing.cur",fallback:"mov= e"},{name:"Target",domain:".",path:"/cursors/target.cur",fallback:"crossh= air"}]);Msn.VE.MapControl=3Dfunction(p_elSource,p_htParams,p_parentAPICon= trol){var = offsetMeters=3D20971520,baseMetersPerPixel=3D163840,buffer=3D0,maxTilePix= elBuffer=3D768,animatedMovementEnabled=3Dtrue,zoomTotalSteps=3D6,keyboard= PanSpeed=3D15,panToLatLongSpeed=3D15,earthRadius=3D6378137,earthCircumfer= ence=3DearthRadius*2*Math.PI,projectionOffset=3DearthCircumference*.5,min= Zoom=3D1,maxZoom=3D19,emptyTile=3D"http://virtualearth.msn.com/i/spacer.g= if",minLatitude=3D-85,maxLatitude=3D85,minLongitude=3D-180,maxLongitude=3D= 180,tileSize=3D256,generations=3D{},zoomLevelToAdjustObliqueToOrthro=3D18= ,kbInputZIndex=3D0,containerZIndex=3D0,mapZIndex=3D1,swapZIndex=3D1,baseZ= Index=3D2,debugZIndex=3D3,baseZIndex=3D11,topZIndex=3D20,p_this=3Dthis,m_= clientToken=3Dnull,cssCursors=3DMsn.VE.Css.Cursors,cssFn=3DMsn.VE.Css.Fun= ctions,roadStyle=3DMsn.VE.MapStyle.Road,shadedStyle=3DMsn.VE.MapStyle.Sha= ded,hybridStyle=3DMsn.VE.MapStyle.Hybrid,aerialStyle=3DMsn.VE.MapStyle.Ae= rial,obliqueStyle=3DMsn.VE.MapStyle.Oblique,obliqueHybridStyle=3DMsn.VE.M= apStyle.ObliqueHybrid;generations[roadStyle]=3D392;generations[aerialStyl= e]=3D392;generations[hybridStyle]=3D392;generations[obliqueStyle]=3D392;g= enerations[obliqueHybridStyle]=3D392;var = mapTiles=3D"Road",trafficTiles=3D"Traffic",marketMaxZoom=3D1,currentScale= BarUnit=3Dnull,currentView=3Dnew = Msn.VE.MapView(p_this),preferredView=3Dnew = Msn.VE.MapView(p_this),previousZoomLevel=3D1,previousCenter=3Dnull,lastVi= ewChangeType=3Dnull,previousMapStyle=3Dnull,lastOrthoZoomLevel=3D15,lastO= rthoMapStyle=3DroadStyle,x=3D0,y=3D0,width=3D0,height=3D0,trafficAvailabl= e=3Dfalse,tileLayerManager=3Dnew = VETileLayerManager,originX=3D0,originY=3D0,offsetX=3D0,offsetY=3D0,tileVi= ewportX1=3D0,tileViewportY1=3D0,tileViewportX2=3D0,tileViewportY2=3D0,til= eViewportWidth=3D0,tileViewportHeight=3D0,dragging=3Dfalse,keyboardPan=3D= false,lastMouseX=3D0,lastMouseY=3D0,zooming=3Dfalse,zoomCounter=3D0,panni= ng=3Dfalse,panCounter=3D0,panningX=3D0,panningY=3D0,panLatitude=3Dnull,pa= nLongitude=3Dnull,pushpins=3D[],lines=3D[],map=3Ddocument.createElement("= div"),keyboard=3Ddocument.createElement("input");keyboard.id=3D"wl_ve_map= Input";var = logo=3Dnull,scaleBar=3Dnull,mapLegend=3Dnull,copyright=3Dnull;this.Update= Copyright=3Dfunction(){if(copyright)copyright.Update()};var = dashboardContainer=3Dnull,dashboard=3Dnull,minimapControl=3Dnull,minimapC= ontainer=3Dnull,mouseZoomDisabled=3Dfalse,mousewheelZoomToCenter=3Dtrue,i= sMinimap=3Dfalse,boxTool=3Dnull,panTool=3Dnull,targetTool=3Dnull,currentT= ool=3Dnull,orthoMode=3Dnull,obliqueMode=3Dnull,threeDMode=3Dnull,currentM= ode=3Dnull,previousMode=3Dnull,Initialized2D=3Dfalse,currentBounds=3Dnull= ,defaultEventTable=3D[],customEventTable=3D[],debug=3Dfalse,graphicCanvas= =3Dnull,svgLayer=3Dnull,svgDiv=3Dnull,bShowSVG=3Dtrue;this.GetsvgDiv=3Dfu= nction(){return svgDiv};var mapCenterOffset=3Dnew = VEPixel(0,0),resizeInProgress=3Dfalse,loadBaseTiles=3Dtrue,view3DCreated=3D= false,spacecontrol=3Dfalse,spacediv=3Dnull,spaceCameraIsFlying=3Dfalse,in= it3dparam=3Dnull,resizeTimer=3Dnull,traffic3dAdded=3Dfalse,initial3dView=3D= null,cameraUpdateCount=3D0,photoplugin3dActive=3Dfalse;this.Is3DPhotoPlug= inActive=3Dfunction(){return = photoplugin3dActive};this.Set3DPhotoPluginActive=3Dfunction(a){photoplugi= n3dActive=3Da};function SetChildDiv(a){map.appendChild(a)}function = EnableGeoCommunity(a){hijackMouseMove=3Da}function = IsGeoCommunityEnabled(){return hijackMouseMove}function = HijackMouseCursor(a){hijackMouseCursor=3Da}function = IsHijackMouseCursor(){return hijackMouseCursor}function = GetOffsetX(){return offsetX}function GetOffsetY(){return = offsetY}function GetOriginY(){return originY}function = GetOriginX(){return originX}this.Init=3Dfunction(){orthoMode=3Dnew = OrthoMode;orthoMode.Init();if(p_htParams.obliqueEnabled){obliqueMode=3Dne= w = ObliqueMode;obliqueMode.SetGUID(p_htParams.mapGUID);obliqueMode.Init(p_ht= Params.obliqueUrl?p_htParams.obliqueUrl:"%0dev.virtualearth.net/services/= v1/ImageryMetadataService/ImageryMetadataService.asmx")}if(p_htParams.cli= entToken)this.SetClientToken(p_htParams.clientToken);threeDMode=3Dnew = ThreeDMode;threeDMode.Init();UpdateFromParent();map.className=3D"MSVE_Map= ";map.style.zIndex=3DmapZIndex;p_elSource.appendChild(map);cssFn.addClass= (p_elSource,"MSVE_MapContainer");keyboard.className=3D"MSVE_KeyboardInput= ";if(typeof = Msn.VE.API!=3D"undefined"&&Msn.VE.API!=3Dnull&&Web.Browser.isSafari()){ke= yboard.style.top=3D0;keyboard.style.left=3D0;keyboard.style.border=3D0;if= (Web.Browser.isSafari2()){keyboard.style.height=3D0;keyboard.style.width=3D= 0}else = if(Web.Browser.isSafari3()){keyboard.style.outlineWidth=3D0;keyboard.styl= e.color=3D"transparent";keyboard.style.backgroundColor=3D"transparent"}}p= _elSource.appendChild(keyboard);if(!p_htParams.fixedView){p_elSource.atta= chEvent("onmousedown",MouseDown);p_elSource.attachEvent("onmouseup",Mouse= Up);p_elSource.attachEvent("onmousemove",MouseMove);p_elSource.attachEven= t("ondblclick",MouseDoubleClick);p_elSource.attachEvent("oncontextmenu",C= ontextMenu);p_elSource.attachEvent("onclick",MouseClick);p_elSource.attac= hEvent("onmouseout",MouseOut);p_elSource.attachEvent("onmouseover",MouseO= ver);p_elSource.attachEvent("onmouseenter",MouseEnter);p_elSource.attachE= vent("onmouseleave",MouseLeave)}if(p_htParams.buffer!=3Dundefined&&p_htPa= rams.buffer!=3Dnull)SetTilePixelBuffer(p_htParams.buffer);var = startIn3DMode=3Dfalse;loadBaseTiles=3Dtypeof = p_htParams.loadBaseTiles=3D=3D"undefined"||p_htParams.loadBaseTiles!=3Dfa= lse;if(p_htParams.mapMode!=3D"undefined"&&p_htParams.mapMode!=3Dnull&&p_h= tParams.mapMode=3D=3DMsn.VE.MapActionMode.Mode3D||p_htParams.altitude&&p_= htParams.altitude>-1000||p_htParams.tilt&&p_htParams.tilt!=3D-90||p_htPar= ams.direction&&p_htParams.direction!=3D0){SetBaseTileSource();startIn3DMo= de=3Dtrue;currentMode=3DthreeDMode}init3dparam=3Dp_htParams.mapGUID;if((p= _htParams.latitude!=3Dnull&&typeof = p_htParams.latitude!=3D"undefined"&&p_htParams.longitude!=3Dnull&&typeof = p_htParams.longitude!=3D"undefined"&&p_htParams.zoomlevel!=3Dnull&&typeof= = p_htParams.zoomlevel!=3D"undefined"||p_htParams.boundingBox!=3Dnull&&type= of = p_htParams.boundingBox!=3D"undefined")&&p_htParams.mapstyle!=3Dnull&&type= of p_htParams.mapstyle!=3D"undefined")try{var initialView=3Dnew = Msn.VE.MapView(p_this);initialView.SetMapStyle(ValidateMapStyle(p_htParam= s.mapstyle),p_htParams.obliqueSceneId,p_htParams.birdseyeOrientation);if(= startIn3DMode){initialView.sceneId=3Dp_htParams.obliqueSceneId;initialVie= w.photoX=3Dp_htParams.photoX;initialView.photoY=3Dp_htParams.photoY;initi= alView.photoScale=3Dp_htParams.photoScale}if(p_htParams.boundingBox){var = bb=3Dp_htParams.boundingBox;if(bb.northwest){bb.northwest.latitude=3DClip= Latitude(bb.northwest.latitude);bb.northwest.longitude=3DClipLongitude(bb= .northwest.longitude)}if(bb.southeast){bb.southeast.latitude=3DClipLatitu= de(bb.southeast.latitude);bb.southeast.longitude=3DClipLongitude(bb.south= east.longitude)}initialView.SetLatLongRectangle(bb);if(startIn3DMode)init= ialView.Resolve(orthoMode,width,height)}else{initialView.SetZoomLevel(eva= l(p_htParams.zoomlevel));initialView.SetCenterLatLong(new = Msn.VE.LatLong(eval(p_htParams.latitude),eval(p_htParams.longitude)))}if(= p_htParams.altitude)initialView.SetAltitude(p_htParams.altitude);if(p_htP= arams.tilt)initialView.SetTilt(p_htParams.tilt);if(p_htParams.direction)i= nitialView.SetDirection(p_htParams.direction);if(p_htParams.cameraPos){in= itialView.cameraLatlong=3Dnew = Msn.VE.LatLong(eval(p_htParams.cameraPos[0]),eval(p_htParams.cameraPos[1]= ));initialView._needsPivotOperation=3Dfalse}if(!startIn3DMode)SetBaseTile= Source();currentView=3DinitialView}catch(a){if(!startIn3DMode)SetDefaultV= iew();else currentView=3DinitialView}else = if(!startIn3DMode)SetDefaultView();else = currentView=3DinitialView;if(startIn3DMode)this.Init3DOnly();else = this.Init2DOnly();if(typeof = p_htParams.hideCopyright=3D=3D"undefined"||!p_htParams.hideCopyright){cop= yright=3Dnew = Copyright(p_elSource);copyright.Init();copyright.Update();if(scaleBar)cop= yright.PinTo(scaleBar);if(mapLegend)mapLegend.PinTo(copyright)}if(typeof = p_htParams.showMinimap!=3D"undefined"&&p_htParams.showMinimap){var = loadMinimapNow=3Dfalse;if(obliqueMode!=3Dnull&&Msn.VE.MapStyle.IsViewObli= que(p_htParams.mapstyle))loadMinimapNow=3Dtrue;CreateMinimap(null,null,nu= ll,loadMinimapNow,null,p_htParams.minimapVersion,p_htParams.clientToken)}= if(p_htParams.showDashboard){if(p_htParams.showMapModeSwitch!=3Dfalse)p_h= tParams.showMapModeSwitch=3Dtrue;CreateDashboard(p_htParams.dashboardX,p_= htParams.dashboardY,p_htParams.dashboardSize,p_htParams.dashboardId,p_htP= arams.showMapModeSwitch,p_htParams.obliqueEnabled,p_htParams.labelsDefaul= t,p_htParams.dashboardVersion)}if(p_htParams.showMapLegend)this.CreateLeg= end();if(startIn3DMode)copyright.Hide()};AttachEvent("onstartmapstyleobli= que",function(){if(targetTool)targetTool.trackMovement()});AttachEvent("o= nendmapstyleoblique",function(){if(targetTool)targetTool.ignoreMovement()= });AttachEvent("onchangeview",OnChangeView);this.Init2DOnly=3Dfunction(a)= {mvcViewFacade.OnSwitchToFlatlandView();currentView.doRoadShading=3Dtypeo= f = p_htParams.doRoadShading!=3D"undefined"&&p_htParams.doRoadShading=3D=3Dtr= ue;if(!p_htParams.fixedView){boxTool=3Dnew = BoxTool;boxTool.Init();panTool=3Dnew = PanTool;panTool.Init();currentTool=3DpanTool;keyboard.attachEvent("onkeyd= own",KeyDown);keyboard.attachEvent("onkeyup",KeyUp);keyboard.attachEvent(= "onblur",StopKeyboardPan);p_elSource.attachEvent("onmousewheel",MouseWhee= l)}targetTool=3Dnew = TargetTool;targetTool.init();if(!p_htParams.disableLogo){logo=3Dnew = Logo(p_elSource);logo.Init()}if(typeof = copyright!=3D"undefined"&©right!=3Dnull)copyright.Show();if(obliqueMo= de&¤tMode!=3DobliqueMode)obliqueMode.UpdateAvailability();graphicCa= nvas=3DGetGraphic(this);tileLayerManager.Active=3Dtrue;if(currentView=3D=3D= null)SetDefaultView();else{if(a=3D=3Dtrue||!Initialized2D){SetView(curren= tView);Initialized2D=3Dtrue}SetView(null)}if(p_htParams.showScaleBar){Ini= tScaleBar();scaleBar.Show()}Fire("oninitmode",Msn.VE.MapActionMode.Mode2D= )};function InitScaleBar(){scaleBar=3Dnew = ScaleBar(p_elSource);scaleBar.Init();if(currentScaleBarUnit)SetScaleBarDi= stanceUnit(currentScaleBarUnit);if(copyright)copyright.PinTo(scaleBar);At= tachEvent("onendzoom",scaleBar.Update);AttachEvent("onendpan",scaleBar.Up= date);AttachEvent("onobliquechange",scaleBar.Update);AttachEvent("onchang= emapstyle",scaleBar.Update);AttachEvent("onresize",scaleBar.Reposition)}t= his.Init3DOnly=3Dfunction(){if(typeof = LoadMapDrawing=3D=3D"function")LoadMapDrawing(null);if(dashboard)if(windo= w.navigator.userAgent.indexOf("Firefox")<0){var = d=3Ddashboard.GetShimmedElements(),c;for(c=3D0;c0)this.Setup3DManifests();tileLayerManager.AddAllTileSourcesTo3D(sp= acecontrol);AttachEvent("onchangetraffic",OnView3DScaleBarPositionUpdate)= ;AttachEvent("onchangemapstyle",OnChangeMapStyle3D);spacecontrol.AttachEv= ent("OnCameraChanged","OnView3DUpdateViewpoint");spacecontrol.AttachEvent= ("OnBeginCameraChange","OnBeginFlyTo");if(!p_htParams.fixedView){spacecon= trol.AttachEvent("OnHover","OnView3DPushpinHover");spacecontrol.AttachEve= nt("OnHoverEnd","OnView3DHoverEnd");spacecontrol.AttachEvent("OnDropGeome= try","OnView3DDropGeometry");spacecontrol.AttachEvent("OnLatLonAltClicked= ","OnView3DLatLonAltClicked");spacecontrol.AttachEvent("OnMouseDown","OnM= ouseDown3D");spacecontrol.AttachEvent("OnMouseUp","OnMouseUp3D");spacecon= trol.AttachEvent("OnClick","OnClick3D");spacecontrol.AttachEvent("OnMouse= Over","OnMouseOver3D");spacecontrol.AttachEvent("OnMouseOut","OnMouseOut3= D");spacecontrol.AttachEvent("OnDoubleClick","OnDoubleClick3D");spacecont= rol.AttachEvent("OnModelViewSuccess","UniqueModelViewSuccess");spacecontr= ol.AttachEvent("OnModelViewFailure","UniqueModelViewFailure");spacecontro= l.AttachEvent("OnModelFullyDownloaded","UniqueModelFullyDownloaded")}else= spacecontrol.FixedView=3Dtrue;traffic3dAdded=3Dfalse;if(typeof = VE_TrafficManager!=3D"undefined"&&VE_TrafficManager!=3Dnull)VE_TrafficMan= ager.GetTrafficInfo(false);OnView3DScaleBarPositionUpdate();if(typeof = VE_BrandExplorationManager!=3D"undefined"&&VE_BrandExplorationManager!=3D= null)VE_BrandExplorationManager.Clear();LoadStreetLevelGeometry(spacecont= rol);LoadHiResModelsPlugin(spacecontrol);LoadWeatherPlugin(spacecontrol);= if(!init3dparam)Relay3DPushpins();Fire("oninitmode",Msn.VE.MapActionMode.= Mode3D)};this.Setup3DManifests=3Dfunction(){var = c=3DcurrentView.mapStyle,a=3D"http://go.microsoft.com/fwlink/?LinkID=3D98= 770",b=3D"http://go.microsoft.com/fwlink/?LinkID=3D98775",d=3D"http://go.= microsoft.com/fwlink/?LinkID=3D98774";if(c=3D=3D"a"){a=3D"http://go.micro= soft.com/fwlink/?LinkID=3D98771";spacecontrol.ShowAtmosphere=3Dtrue}if(c=3D= =3D"h"){a=3D"http://go.microsoft.com/fwlink/?LinkID=3D98772";spacecontrol= .ShowAtmosphere=3Dtrue}if(c=3D=3D"r"){spacecontrol.TexturesVisible=3Dfals= e;if(spacecontrol.HardwareClassificationLevel<3)a=3D"http://go.microsoft.= com/fwlink/?LinkID=3D98769";spacecontrol.ShowAtmosphere=3Dfalse}else = spacecontrol.TexturesVisible=3Dtrue;if(2=3D=3Dspacecontrol.HardwareClassi= ficationLevel){d=3D"http://go.microsoft.com/fwlink/?LinkID=3D98773";b=3D"= http://go.microsoft.com/fwlink/?LinkID=3D98776"}else = if(1=3D=3Dspacecontrol.HardwareClassificationLevel){d=3D"http://go.micros= oft.com/fwlink/?LinkID=3D98773";b=3D""}if(loadBaseTiles)spacecontrol.AddI= mageSource("Terrain","Texture",GetManifestUrl(a),0,1);spacecontrol.AddEle= vationSource("Terrain","DEM",GetManifestUrl(d),0);if(b!=3D"")spacecontrol= .AddModelSource("Model","Model",GetManifestUrl(b));else = spacecontrol.RemoveModelSource("Model","Model")};this.ShowSVG=3Dfunction(= a){bShowSVG=3Da};this.getSvgLayer=3Dfunction(){if(svgLayer=3D=3Dnull){svg= Div=3Ddocument.createElement("div");svgDiv.style.position=3D"absolute";if= (bShowSVG)svgDiv.style.zIndex=3D60;else = svgDiv.style.zIndex=3D-1;svgDiv.align=3D"left";this.resizeSVG();map.appen= dChild(svgDiv);svgLayer=3Dnew Msn.Drawing.SvgLayer(svgDiv,this)}return = svgLayer};this.resetSvgLayer=3Dfunction(){this.getSvgLayer();svgDiv.style= .top=3D-parseInt(map.style.top)+"px";svgDiv.style.left=3D-parseInt(map.st= yle.left)+"px";if(currentMode!=3DthreeDMode&&graphicCanvas){graphicCanvas= .SetOffset(offsetX,offsetY);tileLayerManager.RePositionPrintTiles()}};thi= s.resizeSVG=3Dfunction(){if(svgDiv!=3Dnull){var = b=3DGetWindowWidth(),a=3DGetWindowHeight();svgDiv.style.top=3D"0px";svgDi= v.style.left=3D"0px";svgDiv.style.width=3Db+"px";svgDiv.style.height=3Da+= "px";if(currentMode!=3DthreeDMode&&graphicCanvas){graphicCanvas.SetOffset= (offsetX,offsetY);graphicCanvas.RepositionLogo(g(p_elSource).getStyle("wi= dth"),g(p_elSource).getStyle("height"));tileLayerManager.RePositionPrintT= iles()}}};function = GetGraphic(a){if(!graphicCanvas)try{graphicCanvas=3DMsn.Drawing.Graphic.C= reateGraphic(map,a);graphicCanvas.SetZIndex(17)}catch(b){}return = graphicCanvas}this.GetDashboard=3Dfunction(){return = dashboard};this.GetMinimap=3Dfunction(){return = minimapControl};this.DisableZoomEvents=3Dfunction(a){mouseZoomDisabled=3D= a};this.GetMouseWheelZoomToCenter=3Dfunction(){return = mousewheelZoomToCenter};this.SetMouseWheelZoomToCenter=3Dfunction(a){mous= ewheelZoomToCenter=3Da};this.SetMinimapMode=3Dfunction(){mouseZoomDisable= d=3Dtrue;isMinimap=3Dtrue};this.SetCursor=3Dfunction(a){var = b=3Dp_elSource.style;if(b.cursor!=3Da)b.cursor=3Da};this.Destroy=3Dfuncti= on(){if(currentView){currentView.Destroy();currentView=3Dnull}if(preferre= dView){preferredView.Destroy();preferredView=3Dnull}if(copyright){copyrig= ht.Destroy();copyright=3Dnull}if(currentMode=3D=3DthreeDMode&¤tMode= !=3Dnull)this.Destroy3DOnly();else{this.Destroy2DOnly();while(pushpins.le= ngth)pushpins.pop().Destroy();ClearLines()}if(!p_htParams.fixedView){p_el= Source.detachEvent("onmousedown",MouseDown);p_elSource.detachEvent("onmou= seup",MouseUp);p_elSource.detachEvent("onmousemove",MouseMove);p_elSource= .detachEvent("ondblclick",MouseDoubleClick);p_elSource.detachEvent("oncon= textmenu",ContextMenu);p_elSource.detachEvent("onmousewheel",MouseWheel);= p_elSource.detachEvent("onclick",MouseClick);p_elSource.detachEvent("onmo= useout",MouseOut);p_elSource.detachEvent("onmouseover",MouseOver);p_elSou= rce.detachEvent("onmouseenter",MouseEnter);p_elSource.detachEvent("onmous= eleave",MouseLeave)}if(dashboard){if(typeof = dashboard.Destroy!=3D"undefined")dashboard.Destroy();dashboard=3Dnull}if(= mapLegend){DetachEvent("onendzoom",mapLegend.Update);DetachEvent("onendpa= n",mapLegend.Update);DetachEvent("onobliquechange",mapLegend.Update);if(t= ypeof = VE_TrafficManager!=3D"undefined"&&VE_TrafficManager!=3Dnull)VE_TrafficMan= ager.CloseTrafficLegend();mapLegend.Destroy();mapLegend=3Dnull}if(dashboa= rdContainer){dashboardContainer.detachEvent("onmousedown",IgnoreEvent);da= shboardContainer.detachEvent("onmouseup",IgnoreEvent);dashboardContainer.= detachEvent("onmousemove",DashboardContainerMouseMoveEvent);dashboardCont= ainer.detachEvent("onmousewheel",IgnoreEvent);dashboardContainer.detachEv= ent("ondblclick",IgnoreEvent);dashboardContainer.detachEvent("oncontextme= nu",IgnoreEvent);dashboardContainer.detachEvent("onkeydown",IgnoreEvent);= dashboardContainer.detachEvent("onkeyup",IgnoreEvent);dashboardContainer=3D= null}if(minimapControl){minimapControl.Destroy();minimapControl=3Dnull}if= (minimapContainer){minimapContainer.detachEvent("onmousedown",IgnoreEvent= );minimapContainer.detachEvent("onmouseup",IgnoreEvent);minimapContainer.= detachEvent("onmousemove",DashboardContainerMouseMoveEvent);minimapContai= ner.detachEvent("onmousewheel",IgnoreEvent);minimapContainer.detachEvent(= "ondblclick",IgnoreEvent);minimapContainer.detachEvent("oncontextmenu",Ig= noreEvent);minimapContainer.detachEvent("onkeydown",IgnoreEvent);minimapC= ontainer.detachEvent("onkeyup",IgnoreEvent);minimapContainer=3Dnull}if(or= thoMode){orthoMode.Destroy();orthoMode=3Dnull}if(obliqueMode){obliqueMode= .Destroy();obliqueMode=3Dnull}if(threeDMode){threeDMode.Destroy();threeDM= ode=3Dnull}DestroyEventTable();m_clientToken=3Dnull;p_elSource.style.back= groundColor=3D"transparent";p_elSource.style.backgroundImage=3D"none";p_e= lSource.style.filter=3D"";keyboard=3Dp_elSource=3Dp_this=3Dmap=3Dnull;til= eLayerManager.ClearTileLayers();cssCursors=3Dnull;cssFn=3Dnull};this.Dest= roy2DOnly=3Dfunction(){if(!p_htParams.fixedView){keyboard.detachEvent("on= keydown",KeyDown);keyboard.detachEvent("onkeyup",KeyUp);keyboard.detachEv= ent("onblur",StopKeyboardPan);p_elSource.detachEvent("onmousewheel",Mouse= Wheel)}tileLayerManager.Active=3Dfalse;if(scaleBar){DetachEvent("onendzoo= m",scaleBar.Update);DetachEvent("onendpan",scaleBar.Update);DetachEvent("= onobliquechange",scaleBar.Update);DetachEvent("onchangemapstyle",scaleBar= .Update);DetachEvent("onresize",scaleBar.Reposition);scaleBar.Destroy();s= caleBar=3Dnull}if(copyright)copyright.PinTo(null);if(logo){logo.Destroy()= ;logo=3Dnull}if(boxTool){boxTool.Destroy();boxTool=3Dnull}if(panTool){pan= Tool.Destroy();panTool=3Dnull}if(targetTool){targetTool.destroy();targetT= ool=3Dnull}if(graphicCanvas){graphicCanvas.Destroy();graphicCanvas=3Dnull= }Fire("ondestroymode",Msn.VE.MapActionMode.Mode2D)};this.Destroy3DOnly=3D= function(){DetachEvent("onchangetraffic",OnView3DScaleBarPositionUpdate);= DetachEvent("onchangemapstyle",OnChangeMapStyle3D);view3DCreated=3Dfalse;= try{spacecontrol.Close()}catch(c){}spacecontrol=3Dfalse;window.status=3D"= ";if(spacediv!=3Dnull){spacediv.removeNode(true);spacediv=3Dnull}if(dashb= oard&&dashboard.GetShimmedElements){var = b=3Ddashboard.GetShimmedElements(),a;for(a=3D0;a=3D0)width= =3Db;if(a&&a>=3D0)height=3Da}PanToView(currentView)}if(copyright)copyrigh= t.Reposition();if(scaleBar)scaleBar.Reposition();if(!document.all)p_this.= resizeSVG();Fire("onresize")};function IsObliqueAvailable(){return = obliqueMode?obliqueMode.IsAvailable():false}function = GetObliqueScene(){return = obliqueMode?obliqueMode.GetScene():null}function = SetAnimationEnabled(a){animatedMovementEnabled=3Da}function = IsAnimationEnabled(){return = animatedMovementEnabled&¤tMode!=3DthreeDMode}function = SetObliqueScene(a){if(obliqueMode)SetMapStyle(obliqueStyle,a,null)}functi= on SetObliqueLocation(f,c,d,e){if(obliqueMode){Sync3dView();var = a=3DcurrentView.MakeCopy(),b;if(IsMapViewOblique())b=3DGetMapStyle();else= = b=3Dp_htParams.labelsDefault?obliqueHybridStyle:obliqueStyle;a.SetMapStyl= e(b,null,c);a.SetZoomLevel(d);if(!Msn.VE.MapStyle.IsViewOblique(currentVi= ew.mapStyle)){Fire("onstartmapstyleoblique");lastOrthoZoomLevel=3Dcurrent= View.zoomLevel;lastOrthoMapStyle=3DcurrentView.mapStyle}a.SetCenterLatLon= g(f);a.callback=3De;SetView(a)}}function = SetObliqueOrientation(d,c,b){if(obliqueMode){var = a;if(IsMapViewOblique())a=3DGetMapStyle();else = a=3Dp_htParams.labelsDefault?obliqueHybridStyle:obliqueStyle;SetMapStyle(= a,null,d,c,b)}}function Debug(a){debug=3Da}function = GetMapLegend(){return mapLegend}function = SetFocus(){if(currentMode=3D=3DthreeDMode)spacecontrol.Focus();else = keyboard.focus()}function = StopKeyboardPan(){if(panning&&keyboardPan)StopContinuousPan()}function = UpdatePreferredView(){preferredView.Copy(currentView)}function = GetCenterOffset(){if(currentMode!=3Dnull&¤tMode=3D=3DthreeDMode)ret= urn new VEPixel(0,0);return mapCenterOffset}function = SetCenterOffset(a){if(typeof = a!=3D"undefined"&&a!=3Dnull)mapCenterOffset=3Da}function = GetLastViewChangeType(){var = a=3DlastViewChangeType;lastViewChangeType=3Dnull;return a}function = ShowNonIENotSupportedDialog(){Fire("onerror",CreateEvent(currentView.latl= ong,currentView.zoomLevel,L_BrowserNotSupported_Text.replace(/%1/g,'').replace(/%3/g,L_SupportedBrowserDownloadUrl_Text).re= place(/%2/g,"")))}function = DelayedHWDialog(){ShowMessage(L_NoHardwareAcceleration_Text)}function = SetShowMapModeSwitch(a){if(dashboard&&dashboard.constructor=3D=3DMsn.VE.N= avAction)dashboard.SetShowMapModeSwitch(a)}function = SetTilePixelBuffer(a){buffer=3Dae-c)a=3D(e-c-b)/= 2-d+c;else if(d+ae)a=3De-d-b;return a}function = VECopyrightTableEntry(b,a,e,f,c,d){this.MinZoomLevel=3Db;this.MaxZoomLeve= l=3Da;this.MinLatitude=3De;this.MinLongitude=3Df;this.MaxLatitude=3Dc;thi= s.MaxLongitude=3Dd}VECopyrightTableEntry.prototype.IsMatch=3Dfunction(b,c= ,a){var = d=3Dfalse;if(b>=3Dthis.MinZoomLevel&&b<=3Dthis.MaxZoomLevel&&(c>=3Dthis.M= inLatitude&&c<=3Dthis.MaxLatitude)&&(a>=3Dthis.MinLongitude&&a<=3Dthis.Ma= xLongitude))d=3Dtrue;return d};function VECopyrightTable(){var = L_MapControlImageCourtesyOfPictometry_Text =3D 'Pictometry = Bird=E2=80=99s Eye © 2009 Pictometry International Corp'; var L_MapControlImageCourtesyOfPictometry_CAN_Text =3D 'Pictometry = Bird=E2=80=99s Eye © 2009 MDA Geospatial Services Inc.'; var L_MapControlImageCourtesyOfPictometry_AUS_Text =3D 'Pictometry = Bird=E2=80=99s Eye © 2009 AAMHatch Pty Ltd'; var L_MapControlImageCourtesyOfBlom_Text =3D '© 2009 Blom'; var L_MapControlImageCourtesyOfNAVTEQ_Text =3D '© 2009 NAVTEQ'; var L_MapControlImageCourtesyOfAND_Text =3D '© AND'; var L_MapControlImageCourtesyOfMapDataSciences_Text =3D '© 2009 = MapData Sciences Pty Ltd'; var L_MapControlImageCourtesyOfZenrin_Text =3D '© 2009 Zenrin'; var L_MapControlImageCourtesyOfIntermap_Text =3D '© 2009 Intermap'; var L_MapControlImageCourtesyOfDigitalGlobe_Text =3D '© 2009 = DigitalGlobe'; var L_MapControlImageCourtesyOfNASA_Text =3D 'Image courtesy of NASA'; var L_MapControlImageCourtesyOfHarrisCorp_Text =3D '© Harris Corp, = Earthstar Geographics LLC'; var L_MapControlImageCourtesyOfUSGS_Text =3D 'Image courtesy of USGS'; var L_MapControlImageCourtesyOfGetmapping_Text =3D '© Getmapping = plc'; var L_MapControlImageCourtesyOfGeoEye_Text =3D '© 2009 GeoEye'; var L_MapControlImageCourtesyOfPasco_Text =3D '© 2009 Pasco'; var L_MapControlImageCourtesyOfIntergraph_Text =3D '© GeoContent / = (p) Intergraph'; var L_MapControlImageCourtesyOfTerraItaly_Text =3D '© 2009 = TerraItaly'; var L_MapControlImageCourtesyOfIntermap_Text =3D '© 2009 Intermap'; var L_MapControlImageCourtesyOfIndianaMap_Text =3D 'Image courtesy of = the IndianaMap'; var L_MapControlImageCourtesyOfStateOfNevada_Text =3D 'Image courtesy of = the Nevada State Mapping Advisory Committee'; var L_MapControlImageCourtesyOfInterAtlas_Text =3D '© 2009 = InterAtlas'; var L_MapControlImageCourtesyOfEurosense_Text =3D '© 2009 = Eurosense'; var L_MapControlImageCourtesyOfIGP_Text =3D '© 2009 IGP'; var L_MapControlImageCourtesyOfIGN_Text =3D '© 2009 IGN'; var L_MapControlImageCourtesyOfBC_Text =3D '© Province of British = Columbia'; var L_MapControlImageCourtesyOfBEV_Text =3D '© 2009 BEV / (p) = Intergraph'; var L_MapControlImageCourtesyOfBlom_Text =3D '© 2009 Blom'; var L_MapControlImageCourtesyOfAerialsExpress_Text =3D '© 2009 = Aerials Express'; var m_tableKeys =3D []; m_tableKeys[Msn.VE.MapStyle.Oblique] =3D [ = L_MapControlImageCourtesyOfPictometry_Text, = L_MapControlImageCourtesyOfPictometry_CAN_Text, = L_MapControlImageCourtesyOfPictometry_AUS_Text, = L_MapControlImageCourtesyOfBlom_Text ]; m_tableKeys[Msn.VE.MapStyle.Road] =3D [ = L_MapControlImageCourtesyOfNAVTEQ_Text, = L_MapControlImageCourtesyOfAND_Text, = L_MapControlImageCourtesyOfMapDataSciences_Text, = L_MapControlImageCourtesyOfZenrin_Text, = L_MapControlImageCourtesyOfIntermap_Text ]; m_tableKeys[Msn.VE.MapStyle.Aerial] =3D [ = L_MapControlImageCourtesyOfDigitalGlobe_Text, = L_MapControlImageCourtesyOfNASA_Text, = L_MapControlImageCourtesyOfHarrisCorp_Text, = L_MapControlImageCourtesyOfUSGS_Text, = L_MapControlImageCourtesyOfGetmapping_Text, = L_MapControlImageCourtesyOfGeoEye_Text, = L_MapControlImageCourtesyOfPasco_Text, = L_MapControlImageCourtesyOfIntergraph_Text, = L_MapControlImageCourtesyOfTerraItaly_Text, = L_MapControlImageCourtesyOfIntermap_Text, = L_MapControlImageCourtesyOfIndianaMap_Text, = L_MapControlImageCourtesyOfStateOfNevada_Text, = L_MapControlImageCourtesyOfInterAtlas_Text, = L_MapControlImageCourtesyOfEurosense_Text, = L_MapControlImageCourtesyOfIGP_Text, = L_MapControlImageCourtesyOfIGN_Text, L_MapControlImageCourtesyOfBC_Text, = L_MapControlImageCourtesyOfBEV_Text, = L_MapControlImageCourtesyOfBlom_Text, = L_MapControlImageCourtesyOfAerialsExpress_Text ]; var m_table =3D []; m_table[Msn.VE.MapStyle.Oblique] =3D []; m_table[Msn.VE.MapStyle.Oblique][L_MapControlImageCourtesyOfPictometry_Te= xt] =3D []; m_table[Msn.VE.MapStyle.Oblique][L_MapControlImageCourtesyOfPictometry_Te= xt].push( new VECopyrightTableEntry( 1, 20, 10, -165, 75, -45) ); m_table[Msn.VE.MapStyle.Oblique][L_MapControlImageCourtesyOfPictometry_Te= xt].push( new VECopyrightTableEntry( 1, 20, 10, 90, 72, 165) ); m_table[Msn.VE.MapStyle.Oblique][L_MapControlImageCourtesyOfPictometry_CA= N_Text] =3D []; m_table[Msn.VE.MapStyle.Oblique][L_MapControlImageCourtesyOfPictometry_CA= N_Text].push( new VECopyrightTableEntry( 1, 20, 41.3, -142, 70, -50) ); m_table[Msn.VE.MapStyle.Oblique][L_MapControlImageCourtesyOfPictometry_AU= S_Text] =3D []; m_table[Msn.VE.MapStyle.Oblique][L_MapControlImageCourtesyOfPictometry_AU= S_Text].push( new VECopyrightTableEntry( 1, 20, -60, 90, 0, 180) ); m_table[Msn.VE.MapStyle.Oblique][L_MapControlImageCourtesyOfBlom_Text] = =3D []; m_table[Msn.VE.MapStyle.Oblique][L_MapControlImageCourtesyOfBlom_Text].pu= sh( new VECopyrightTableEntry( 1, 20, 34, -13, 72, 35) ); m_table[Msn.VE.MapStyle.Road] =3D []; m_table[Msn.VE.MapStyle.Road][L_MapControlImageCourtesyOfNAVTEQ_Text] = =3D []; m_table[Msn.VE.MapStyle.Road][L_MapControlImageCourtesyOfNAVTEQ_Text].pus= h( new VECopyrightTableEntry( 1, 9, -90, -180, 90, 180) ); m_table[Msn.VE.MapStyle.Road][L_MapControlImageCourtesyOfNAVTEQ_Text].pus= h( new VECopyrightTableEntry( 10, 21, 14, -180, 90, -50) ); m_table[Msn.VE.MapStyle.Road][L_MapControlImageCourtesyOfNAVTEQ_Text].pus= h( new VECopyrightTableEntry( 10, 21, 27, -32, 40, -13) ); m_table[Msn.VE.MapStyle.Road][L_MapControlImageCourtesyOfNAVTEQ_Text].pus= h( new VECopyrightTableEntry( 10, 21, 35, -11, 72, 20) ); m_table[Msn.VE.MapStyle.Road][L_MapControlImageCourtesyOfNAVTEQ_Text].pus= h( new VECopyrightTableEntry( 10, 21, 21, 20, 72, 32) ); m_table[Msn.VE.MapStyle.Road][L_MapControlImageCourtesyOfNAVTEQ_Text].pus= h( new VECopyrightTableEntry( 10, 21, 21.92, 113.14, 22.79, 114.52) ); m_table[Msn.VE.MapStyle.Road][L_MapControlImageCourtesyOfNAVTEQ_Text].pus= h( new VECopyrightTableEntry( 10, 21, 21.73, 119.7, 25.65, 122.39) ); m_table[Msn.VE.MapStyle.Road][L_MapControlImageCourtesyOfNAVTEQ_Text].pus= h( new VECopyrightTableEntry( 10, 21, 0, 98.7, 8, 120.17) ); m_table[Msn.VE.MapStyle.Road][L_MapControlImageCourtesyOfNAVTEQ_Text].pus= h( new VECopyrightTableEntry( 10, 21, 0.86, 103.2, 1.92, 104.45) ); m_table[Msn.VE.MapStyle.Road][L_MapControlImageCourtesyOfAND_Text] =3D = []; m_table[Msn.VE.MapStyle.Road][L_MapControlImageCourtesyOfAND_Text].push( = new VECopyrightTableEntry( 10, 21, -90, -180, 90, 180) ); m_table[Msn.VE.MapStyle.Road][L_MapControlImageCourtesyOfMapDataSciences_= Text] =3D []; m_table[Msn.VE.MapStyle.Road][L_MapControlImageCourtesyOfMapDataSciences_= Text].push( new VECopyrightTableEntry( 5, 21, -45, 111, -9, 156) ); m_table[Msn.VE.MapStyle.Road][L_MapControlImageCourtesyOfMapDataSciences_= Text].push( new VECopyrightTableEntry( 5, 21, -49.7, 164.42, -30.82, = 180) ); m_table[Msn.VE.MapStyle.Road][L_MapControlImageCourtesyOfZenrin_Text] = =3D []; m_table[Msn.VE.MapStyle.Road][L_MapControlImageCourtesyOfZenrin_Text].pus= h( new VECopyrightTableEntry( 4, 21, 23.5, 122.5, 46.65, 151.66) ); m_table[Msn.VE.MapStyle.Road][L_MapControlImageCourtesyOfIntermap_Text] = =3D []; m_table[Msn.VE.MapStyle.Road][L_MapControlImageCourtesyOfIntermap_Text].p= ush( new VECopyrightTableEntry( 1, 21, 49, -11, 60, 2) ); m_table[Msn.VE.MapStyle.Aerial] =3D []; m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfDigitalGlobe_T= ext] =3D []; m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfDigitalGlobe_T= ext].push( new VECopyrightTableEntry( 14, 21, -67, -179.99, 27, 0) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfDigitalGlobe_T= ext].push( new VECopyrightTableEntry( 14, 21, 27, -179.99, 87, -126.5) = ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfDigitalGlobe_T= ext].push( new VECopyrightTableEntry( 14, 21, 48.4, -126.5, 87, -5.75) = ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfDigitalGlobe_T= ext].push( new VECopyrightTableEntry( 14, 21, -67, 28, 86.5, 179.99) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfDigitalGlobe_T= ext].push( new VECopyrightTableEntry( 14, 21, -67, 0, 37.8, 28) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfDigitalGlobe_T= ext].push( new VECopyrightTableEntry( 14, 21, 37.7, 18.5, 59.8, 28) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfDigitalGlobe_T= ext].push( new VECopyrightTableEntry( 14, 21, 43, -81.6, 48.4, -10) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfDigitalGlobe_T= ext].push( new VECopyrightTableEntry( 14, 21, 27, -70, 43, -10) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfDigitalGlobe_T= ext].push( new VECopyrightTableEntry( 14, 21, 27, -10, 35.8, 0) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfDigitalGlobe_T= ext].push( new VECopyrightTableEntry( 14, 21, 27, -120, 32.3, -105.8) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfDigitalGlobe_T= ext].push( new VECopyrightTableEntry( 14, 21, 43.4, 13.78, 54.9, 18.5) = ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfNASA_Text] = =3D []; m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfNASA_Text].pus= h( new VECopyrightTableEntry( 1, 8, -90, -180, 90, 180) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfHarrisCorp_Tex= t] =3D []; m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfHarrisCorp_Tex= t].push( new VECopyrightTableEntry( 9, 13, -90, -180, 90, 180) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfUSGS_Text] = =3D []; m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfUSGS_Text].pus= h( new VECopyrightTableEntry( 14, 17, 17.99, -150.11, 61.39, -65.57) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfGetmapping_Tex= t] =3D []; m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfGetmapping_Tex= t].push( new VECopyrightTableEntry( 14, 21, 49.94, -6.82, 60.17, 1.78) = ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfGeoEye_Text] = =3D []; m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfGeoEye_Text].p= ush( new VECopyrightTableEntry( 14, 21, 44.53, -63.75, 45.06, -63.45) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfGeoEye_Text].p= ush( new VECopyrightTableEntry( 14, 21, 45.39, -73.78, 45.66, -73.4) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfGeoEye_Text].p= ush( new VECopyrightTableEntry( 14, 21, 45.2, -75.92, 45.59, -75.55) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfGeoEye_Text].p= ush( new VECopyrightTableEntry( 14, 21, 42.95, -79.81, 44.06, -79.42) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfGeoEye_Text].p= ush( new VECopyrightTableEntry( 14, 21, 50.35, -114.26, 51.25, -113.82) = ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfGeoEye_Text].p= ush( new VECopyrightTableEntry( 14, 21, 48.96, -123.33, 49.54, -122.97) = ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfGeoEye_Text].p= ush( new VECopyrightTableEntry( 14, 21, -35.42, 138.32, -34.47, 139.07) = ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfGeoEye_Text].p= ush( new VECopyrightTableEntry( 14, 21, -32.64, 115.58, -32.38, 115.85) = ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfGeoEye_Text].p= ush( new VECopyrightTableEntry( 14, 21, -34.44, 150.17, -33.27, 151.49) = ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfGeoEye_Text].p= ush( new VECopyrightTableEntry( 14, 21, -28.3, 152.62, -26.94, 153.64) = ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfPasco_Text] = =3D []; m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfPasco_Text].pu= sh( new VECopyrightTableEntry( 14, 21, 23.5, 122.5, 46.65, 151.66) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfIntergraph_Tex= t] =3D []; m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfIntergraph_Tex= t].push( new VECopyrightTableEntry( 14, 21, 47, 5, 55.5, 16) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfTerraItaly_Tex= t] =3D []; m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfTerraItaly_Tex= t].push( new VECopyrightTableEntry( 14, 21, 43.15, 6.5, 47.15, 14) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfTerraItaly_Tex= t].push( new VECopyrightTableEntry( 14, 21, 41.3, 9.9, 43.15, 16.4) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfTerraItaly_Tex= t].push( new VECopyrightTableEntry( 14, 21, 36.5, 7.9, 41.3, 18.7) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfIntermap_Text]= =3D []; m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfIntermap_Text]= .push( new VECopyrightTableEntry( 1, 21, 49, -11, 60, 2) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfIndianaMap_Tex= t] =3D []; m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfIndianaMap_Tex= t].push( new VECopyrightTableEntry( 14, 21, 37.7, -88.2, 41.9, -84.7) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfStateOfNevada_= Text] =3D []; m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfStateOfNevada_= Text].push( new VECopyrightTableEntry( 14, 21, 34.85, -120.2, 42.12, = -113.91) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfInterAtlas_Tex= t] =3D []; m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfInterAtlas_Tex= t].push( new VECopyrightTableEntry( 14, 21, 48.37, 1.4, 49.28, 3.37) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfInterAtlas_Tex= t].push( new VECopyrightTableEntry( 14, 21, 47.72, 1.67, 48.05, 2.18) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfInterAtlas_Tex= t].push( new VECopyrightTableEntry( 14, 21, 45.55, 4.57, 45.95, 5.33) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfInterAtlas_Tex= t].push( new VECopyrightTableEntry( 14, 21, 43.18, 4.92, 43.77, 5.82) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfEurosense_Text= ] =3D []; m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfEurosense_Text= ].push( new VECopyrightTableEntry( 14, 21, 51, 3, 53.65, 7.67) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfEurosense_Text= ].push( new VECopyrightTableEntry( 14, 21, 50.58, 5.42, 51, 5.47) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfIGP_Text] =3D = []; m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfIGP_Text].push= ( new VECopyrightTableEntry( 14, 21, 36.88, -9.6, 42.27, -6) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfIGN_Text] =3D = []; m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfIGN_Text].push= ( new VECopyrightTableEntry( 14, 21, 42, -5, 51.25, 8.5) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfIGN_Text].push= ( new VECopyrightTableEntry( 14, 21, 41.25, 8.3, 43.1, 9.65) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfIGN_Text].push= ( new VECopyrightTableEntry( 14, 21, 17.85, -63.17, 18.15, -62.77) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfIGN_Text].push= ( new VECopyrightTableEntry( 14, 21, 15.75, -61.9, 16.55, -60.9) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfIGN_Text].push= ( new VECopyrightTableEntry( 14, 21, 14.35, -61.25, 14.95, -60.75) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfIGN_Text].push= ( new VECopyrightTableEntry( 14, 21, 2.25, -54.65, 6, -51.4) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfIGN_Text].push= ( new VECopyrightTableEntry( 14, 21, -21.5, 55, -20.75, 56) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfIGN_Text].push= ( new VECopyrightTableEntry( 14, 21, 46.7, -56.5, 47.2, -56.1) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfBC_Text] =3D = []; m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfBC_Text].push(= new VECopyrightTableEntry( 14, 18, 48.99, -139.05, 60, -114.05) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfBEV_Text] =3D = []; m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfBEV_Text].push= ( new VECopyrightTableEntry( 14, 21, 46.25, 9.4, 49.2, 17.3) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfBlom_Text] = =3D []; m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfBlom_Text].pus= h( new VECopyrightTableEntry( 14, 21, 36.1, -9.51, 51.04, 11.67) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfBlom_Text].pus= h( new VECopyrightTableEntry( 14, 21, 55.69, 9.8, 61.17, 13.23) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfBlom_Text].pus= h( new VECopyrightTableEntry( 14, 21, 62.2, 25.82, 62.24, 25.89) ); m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfAerialsExpress= _Text] =3D []; m_table[Msn.VE.MapStyle.Aerial][L_MapControlImageCourtesyOfAerialsExpress= _Text].push( new VECopyrightTableEntry( 14, 21, 34.63, -90.41, 35.52, = -89.48) ); ;this.CreditsFor=3Dfunction(a,i,j,h){var = e=3D[];if(a!=3D"undefined"&&a!=3Dnull&&typeof = m_tableKeys[a]!=3D"undefined"&&m_tableKeys[a]!=3Dnull){var = k=3Dm_tableKeys[a].length;for(var c=3D0;c0)if(b=3D=3D2)c+=3D"\n";else c+=3D" = ";f+=3D""+g[b]+" = ";c+=3Dg[b]}if(view3DCreated)spacecontrol.SetCopyrightString(c);d.innerHT= ML=3Df;a.innerHTML=3Df;e()}function i(){e()}function = k(c){b=3Dc;if(b)b.SetPinElement(a)}function = h(a){c=3Da;e()}this.Reposition=3De;this.Update=3Dj;this.SetOffset=3Di;thi= s.PinTo=3Dk;this.SetPinElement=3Dh}function = MapEvent(f,d,e,a,c,b,g){this.view=3Df;this.oblique=3Dd;this.error=3De;thi= s.requestedView=3Da;this.elementID=3Dc;this.mouseButton=3Db;this.e=3Dg}fu= nction CreateEvent(b,f,c,d,e,n,g,h){var = a=3DcurrentView.MakeCopy();if(b!=3Dnull&&b instanceof = Msn.VE.LatLong){if(Msn.VE.API!=3Dnull){var m=3Dnew VELatLongFactory(new = VELatLongFactorySpecFromMapView(a));a.LatLong=3Dm.CreateVELatLong(b.latit= ude,b.longitude);a.latlong=3Db}else a.latlong=3Db;if(typeof = g!=3D"undefined"&&g!=3Dnull)a.altitude=3DparseFloat(g);else = a.altitude=3D0}if(f!=3Dnull&&typeof = f=3D=3D"number")a.zoomLevel=3Df;if(c=3D=3Dnull||typeof = c=3D=3D"undefined")c=3D"";var = j=3Dnull;if(obliqueMode)j=3DobliqueMode.GetEventInfo();var = i=3Dnull;if(d!=3Dnull&&d instanceof Msn.VE.MapView)i=3Dd.MakeCopy();var = k=3Dnull;if(typeof e!=3D"undefined"&&e!=3Dnull)k=3De;var = l=3Dnull;if(typeof h!=3D"undefined"&&h!=3Dnull)l=3Dh;return new = MapEvent(a,j,c,i,k,n,l)}function CreateCustomEvent(h,b,d){var a=3Dnew = MapEvent;if(d)a.error=3Dd.error;a.eventName=3Dh;a.zoomLevel=3DcurrentView= .zoomLevel;a.mapStyle=3DcurrentView.mapStyle;if(currentMode!=3DthreeDMode= ){a.birdseyeSceneID=3DcurrentView.sceneId;a.birdseyeSceneOrientation=3Dcu= rrentView.sceneOrientation;if(b){a.leftMouseButton=3DIsLeftMouseButton(b)= ;a.rightMouseButton=3DIsRightMouseButton(b);a.middleMouseButton=3DIsMiddl= eMouseButton(b);a.mouseWheelChange=3DGetMouseScrollDelta(b);a.screenX=3Db= .screenX;a.screenY=3Db.screenY;var = e=3DGimme.Screen.getMousePosition(b);a.clientX=3De.x;a.clientY=3De.y;var = f=3Dg(p_elSource).getPagePosition();a.mapX=3Da.clientX-f.x;a.mapY=3Da.cli= entY-f.y;a.keyCode=3Db.keyCode;a.altKey=3Db.altKey;a.ctrlKey=3Db.ctrlKey;= a.shiftKey=3Db.shiftKey;a.elementID=3Dnull;var = c=3DGetTarget(b);while(typeof c!=3D"undefined"&&c!=3Dnull)if(typeof = c.id!=3D"undefined"&&c.id!=3Dnull&&c.id.indexOf(MC_IID_NAMESPACE)=3D=3D0&= &c.tagName!=3D"CANVAS"){a.elementID=3Dc.id;break}else if(typeof = c.className!=3D"undefined"&&c.className!=3Dnull&&c.className=3D=3D"MSVE_M= apContainer")break;else c=3Dc.parentElement}}else = if(d){if(d.view)a.latLong=3Dd.view.LatLong;else = a.latLong=3Dnull;a.elementID=3Dd.elementID;a.leftMouseButton=3Dd.mouseBut= ton=3D=3D"Left";a.rightMouseButton=3Dd.mouseButton=3D=3D"Right";a.middleM= ouseButton=3Dd.mouseButton=3D=3D"Middle";a.mouseWheelChange=3D0;a.keyCode= =3D0;a.altKey=3Dfalse;a.ctrlKey=3Dfalse;a.shiftKey=3Dfalse}return = a}function AttachEvent(d,c){var = a=3DdefaultEventTable[d];if(!a){a=3D[];defaultEventTable[d]=3Da}for(var = b=3D0;b0)lines.pop().Destroy()}function = ShowLines(){graphicCanvas.Clear();for(var = a=3D0;aa[0].la= titude?b[0].latitude:a[0].latitude,k=3Db[0].longitude>a[0].longitude?b[0]= .longitude:a[0].longitude,m=3Db[1].latitude=3D0)a--;k(h[a]= ,b);C(b)}function = k(f,c){if(s(f.boundingRectangle[0],f.boundingRectangle[1]))return;if(f.ch= ildRegions!=3Dnull)for(var = j=3D0;j=3DsouthLatitude&&a<=3DnorthLatitude&&b>=3DwestLongitude&&b<=3DeastLong= itude}function s(a,b){return = a.latitude>northLatitude&&b.latitude>northLatitude||a.latitudeeastLongitude&&b.longitude>eas= tLongitude||a.longitudeb)return false;a=3DoriginY+offsetY+d-y;if(a<0||a>b)return = false;return true}var isEnablingDefaultDblClick=3Dtrue;function = MouseDoubleClick(a){a=3DGetEvent(a);CancelEvent(a);var = b=3DGimme.Screen.getMousePosition(a);if(currentMode!=3DthreeDMode&&FireCu= stomEvent("ondoubleclick",a))return false;if(hijackMouseMove)return = false;if(isEnablingDefaultDblClick){UpdateFromParent();if(panning||zoomin= g||mouseZoomDisabled)return = false;if(!IsMapViewOblique()&&!IsOnscreen(b.x,b.y))return false;var = c=3DpreferredView.MakeCopy();c.SetCenter(new = VEPixel(originX+offsetX+b.x-x-mapCenterOffset.x,originY+offsetY+b.y-y-map= CenterOffset.y));if(a.ctrlKey|a.altKey)c.SetZoomLevel(currentView.zoomLev= el-1);else c.SetZoomLevel(currentView.zoomLevel+1);SetView(c);return = false}else isEnablingDefausltDblClick=3Dtrue}function = MouseWheel(a){a=3DGetEvent(a);CancelEvent(a);if(currentMode!=3DthreeDMode= &&FireCustomEvent("onmousewheel",a))return = false;if(currentMode!=3Dnull&¤tMode=3D=3DthreeDMode)return = false;if(panning||zooming||mouseZoomDisabled)return false;var = f=3DGetMouseScrollDelta(a);if(f=3D=3D=3D0)return false;var = g=3Df>0;if(mousewheelZoomToCenter||IsMapViewOblique()||!IsOnscreen(lastmo= useX,lastmouseY))if(g)ZoomIn();else ZoomOut();else{var = b=3Dg?currentView.zoomLevel+1:currentView.zoomLevel-1;if(b<=3DGetCurrentV= iewMaxZoomLevel(currentView)){UpdateFromParent();var = h=3DlastmouseX-x,i=3DlastmouseY-y,d=3DoriginX+offsetX+h,e=3DoriginY+offse= tY+i,c=3DpreferredView.MakeCopy();d=3DcurrentView.ScaleCoord(d,b);e=3Dcur= rentView.ScaleCoord(e,b);c.SetZoomLevel(b);c.SetCenter(new = VEPixel(d-h+width/2,e-i+height/2));SetView(c)}}return false}function = ContextMenu(a){if(mouseZoomDisabled)return = false;a=3DGetEvent(a);CancelEvent(a);if(currentMode!=3DthreeDMode&&FireCu= stomEvent("onclick",a))return false;var = e=3Dg(p_elSource).getPagePosition();x=3De.x;y=3De.y;var = c,d,b=3DGimme.Screen.getMousePosition(a);if(currentMode=3D=3DthreeDMode){= c=3Db.x-x;d=3Db.y-y}else{c=3DoriginX+offsetX+b.x-x;d=3DoriginY+offsetY+b.= y-y}var f=3DcurrentMode.PixelToLatLong(new = VEPixel(c,d),currentView.zoomLevel);if(f!=3Dnull){if(currentMode=3D=3Dthr= eeDMode&&Get3DControl().UIHasFocus())return false;var = h=3DCreateEvent(f);FireDefaultEvent("oncontextmenu",h)}return = false}function = MouseClick(a){a=3DGetEvent(a);CancelEvent(a);if(!isLastButtonMiddle)if(cu= rrentMode!=3DthreeDMode&&FireCustomEvent("onclick",a))return = false}function = MouseOut(a){a=3DGetEvent(a);if(currentMode!=3DthreeDMode&&g(GetTarget(a))= .hasClass("MSVE_Shape")&&FireCustomEvent("onmouseout",a)){CancelEvent(a);= return false}}function = MouseOver(a){a=3DGetEvent(a);if(currentMode!=3DthreeDMode&&g(GetTarget(a)= ).hasClass("MSVE_Shape")&&FireCustomEvent("onmouseover",a)){CancelEvent(a= );return false}}function MouseEnter(a){a=3DGetEvent(a);var = b=3Da.relatedTarget||a.fromElement;if(currentMode!=3DthreeDMode&&b!=3Dnul= l&&FireCustomEvent("onmouseover",a)){CancelEvent(a);return = false}if(!hijackMouseMove&&!hijackMouseCursor)p_this.SetCursor(cssCursors= .Grab)}function = MouseLeave(a){a=3DGetEvent(a);if(currentMode!=3DthreeDMode&&FireCustomEve= nt("onmouseout",a)){CancelEvent(a);return false}}var = obliqueLoop=3D0,panningTargetPixel=3Dnull,panningCurrentPixel=3Dnull;func= tion PanMap(c,d){if(c=3D=3D0&&d=3D=3D0||isNaN(c)||isNaN(d))return = false;if(currentMode!=3DthreeDMode){var = a=3DShiftView(currentView,currentBounds,c,d);if(typeof = a!=3D"undefined"&&a!=3Dnull){var = f=3Dg(map).getComputedPosition(),e=3Df.x-a.x,h=3Df.y-a.y;map.style.left=3D= e+"px";map.style.top=3Dh+"px";offsetX=3D-e;offsetY=3D-h;var b=3Dnew = VEPixel(width/2+originX+offsetX,height/2+originY+offsetY);if(keyboardPan&= &(c!=3D0&&a.x=3D=3D0||d!=3D0&&a.y=3D=3D0)){if(typeof = currentMode.RequestPending!=3D"undefined"&&!currentMode.RequestPending())= {b.x+=3Dc;b.y+=3Dd;var = i=3DPixelToLatLong(b);targetTool.centeringTrigger=3Dtrue;SetCenter(i.lati= tude,i.longitude)}}else{currentView.SetCenter(b);preferredView.SetCenter(= new VEPixel(b.x,b.y));tileLayerManager.PanView()}Fire("onpan")}}else = return false;if(copyright)copyright.Update();return true}function = ContinuousPan(a,b,c,d){if(zooming)return;if(!c)c=3D-1;panningX=3Da;pannin= gY=3Db;panCounter=3Dc;if(!a&&!b){StopContinuousPan();return}keyboardPan=3D= d;if(view3DCreated){spacecontrol.ContinuousPan(a,b);Fire("onstartpan")}el= se if(!panning){panning=3Dtrue;StepPan();Fire("onstartpan")}}function = StepPan(){if(panning){var = a=3DpanningX,b=3DpanningY;if(panningCurrentPixel!=3Dnull&&panningTargetPi= xel!=3Dnull){var = c=3DpanningTargetPixel.x-panningCurrentPixel.x;if(Math.abs(c)0)panCounter--;if(panCounter!=3D0&&(panningCurren= tPixel=3D=3Dnull||panningTargetPixel=3D=3Dnull||panningTargetPixel.x!=3Dp= anningCurrentPixel.x||panningTargetPixel.y!=3DpanningCurrentPixel.y))wind= ow.setTimeout(StepPan,10);else StopContinuousPan()}}function = StopContinuousPan(){panningX=3D0;panningY=3D0;panningTargetPixel=3Dnull;p= anningCurrentPixel=3Dnull;panning=3Dfalse;keyboardPan=3Dfalse;if(currentM= ode!=3DthreeDMode)if(panLatitude!=3Dnull&&panLongitude!=3Dnull){var = b=3Dnew = Msn.VE.LatLong(panLatitude,panLongitude),a=3DLatLongToPixel(b),c=3Da.x-wi= dth/2,d=3Da.y-height/2;PanMap(c,d);currentView.latlong.latitude=3DpanLati= tude;currentView.latlong.longitude=3DpanLongitude;preferredView.Copy(curr= entView);panLatitude=3Dnull;panLongitude=3Dnull;if(obliqueMode)obliqueMod= e.UpdateAvailability()}else ComputeCenterPoint(true);else = if(view3DCreated)spacecontrol.ContinuousPan(0,0);Fire("onendpan");Fire("o= nchangeview");if(resizeInProgress)resizeInProgress=3Dfalse}function = PanToLatLong(b,a,c){if(currentMode=3D=3DthreeDMode)SetCenter(b,a);else{pa= nLatitude=3Db;panLongitude=3Da;if(Msn.VE.MapStyle.IsViewOblique(currentVi= ew.mapStyle)&&PanInOblique(new Msn.VE.LatLong(b,a),null,c));else = PanToPixel(LatLongToPixel(new Msn.VE.LatLong(b,a)),c)}}function = PanByPixel(a,b){a.x=3Dwidth/2+a.x;a.y=3Dheight/2+a.y;PanToPixel(a,b)}func= tion PanToView(a){var = b=3Da.center.x-(originX+offsetX),c=3Da.center.y-(originY+offsetY);PanToPi= xel(new VEPixel(b,c))}function = PanToPixel(a,e){if(Msn.VE.MapStyle.IsViewOblique(currentView.mapStyle)&&P= anInOblique(null,a,e))return;var = b=3Da.x-width/2,c=3Da.y-height/2;panningTargetPixel=3Da;panningCurrentPix= el=3Dnew VEPixel(width/2,height/2);var = d=3DMath.sqrt(b*b+c*c);if(!e&&(!IsAnimationEnabled()||MathAbs(b)>2*width|= |MathAbs(c)>2*height||d>1.5*Math.sqrt(width*width+height*height))){var = h=3DpreferredView.MakeCopy(),j=3Da.x+(originX+offsetX),k=3Da.y+(originY+o= ffsetY);h.SetCenter(new = VEPixel(j,k));SetView(h);if(resizeInProgress)resizeInProgress=3Dfalse;ret= urn}var = f=3DMath.atan2(c,b),i=3DMathCeil(d/panToLatLongSpeed),g=3DMathRound(d/i);= b=3DMathRound(Math.cos(f)*g);c=3DMathRound(Math.sin(f)*g);ContinuousPan(b= ,c)}function = PanInOblique(a,d){obliqueLoop++;if(obliqueLoop>30){obliqueLoop=3D0;return= false}var = c=3DobliqueMode.GetScene();if(!a)a=3DPixelToLatLong(d);if(!c||!c.Contains= LatLong(a,currentView.zoomLevel)){var = b=3DpreferredView.MakeCopy();b.sceneId=3Dnull;b.SetCenterLatLong(a);SetVi= ew(b);if(resizeInProgress)resizeInProgress=3Dfalse;return true}else = return false}function PushPinOffset(a,b){this.x=3Da;this.y=3Db}function = getPushPinOffset(c){var a=3DMsn.VE.PushPinTypes,b;switch(c){case = a.Annotation:b=3Dnew PushPinOffset(-2,-29/2-5);break;case a.Overlay:case = a.SearchResultPrecise:case a.SearchResultNonprecise:case = a.Collection:case a.AdSponsor:b=3Dnew = PushPinOffset(0,-29/2+3);break;case a.Direction:b=3Dnew = PushPinOffset(-3,-26/2-3);break;case a.DirectionTemp:b=3Dnew = PushPinOffset(2,-26/2+3);break;case a.TrafficLight:b=3Dnew = PushPinOffset(0,-26/2);break;case a.TrafficOthers:b=3Dnew = PushPinOffset(0,-29/2);break;case a.YouAreHere:b=3Dnew = PushPinOffset(0,-26/2);break;case a.AdStandard:b=3Dnew = PushPinOffset(0,-42/2+2);break;case a.AdWide:b=3Dnew = PushPinOffset(0,-27/2);break;case a.AdCategory:b=3Dnew = PushPinOffset(0,-16/2);break;case a.Default:default:b=3Dnew = PushPinOffset(0,0)}return b}function GetPushpins(){return = pushpins}function AddPushpin(m,k,l,j,h,e,f,i,g,b,c,d){var a=3Dnew = Pushpin;a.Init(m,k,l,j,h,e,f,i,g,d);if(typeof = b=3D=3D"undefined"||b=3D=3Dfalse||b=3D=3Dnull){if(IsModeEnabled(Msn.VE.Ma= pActionMode.Mode3D)){if(!(typeof = c!=3D"undefined"&&c=3D=3Dfalse))View3DAddPushpin(a);map.appendChild(a.pin= );a.Hide()}else map.appendChild(a.pin);pushpins.push(a)}return = a.pin}function GetPushpinIndex(b){for(var = a=3D0;a=3D0){var = c=3Dpushpins[a];pushpins.splice(a,1);if(IsModeEnabled(Msn.VE.MapActionMod= e.Mode3D))View3DRemovePushpin(b);c.Destroy()}}function = ClearPushpins(){while(pushpins.length>0){var = a=3Dpushpins.pop();if(IsModeEnabled(Msn.VE.MapActionMode.Mode3D))View3DRe= movePushpin(a.id);a.Destroy()}}function Relay3DPushpins(){for(var = b=3D0;b=3D0)if(b[a])pushpins[c].SetAccuratePixel(= b[a])}_RepositionPushpins()};if(pushpins&&pushpins.length>0){if(null=3D=3D= Msn.VE.API&¤tMode=3D=3DobliqueMode){var = c=3DcurrentMode.GetScene(),f=3D[],a=3D0;if(c){h=3Dc.GetID();for(var = e=3D0;e0){currentMode.= LatLongToPixelAsync(f,currentView.GetZoomLevel(),i);return}}}_RepositionP= ushpins()}}function HidePins(){for(var = a=3D0;a0)a.xs.pop();while(a.ys.length>0)a.ys.pop(= );a=3Dnull}}Pushpin.prototype.Init=3Dfunction(i,g,h,f,e,c,d,j,a,b){this.i= d=3Di;this.lat=3Dg;this.lon=3Dh;this.width=3Df;this.height=3De;this.class= Name=3Dc;this.innerHtml=3Dd;this.zIndex=3Dj;this.pinType=3Da;this.pin.id=3D= i;this.pin.className=3Dc;this.pin.style.position=3D"absolute";this.pin.in= nerHTML=3Dd;this.pin.pinType=3Da||Msn.VE.PushPinTypes.Default;this.Offset= =3DgetPushPinOffset(this.pin.pinType);if(a=3D=3DMsn.VE.PushPinTypes.Searc= hResultPrecise){this.img.src=3DGetUrlPrefix()+"i/bin/"+window.buildVersio= n+"/pins/poi_search.gif";this.pin.appendChild(this.img)}else = if(a=3D=3DMsn.VE.PushPinTypes.SearchResultNonprecise){this.img.src=3DGetU= rlPrefix()+"i/bin/"+window.buildVersion+"/pins/poi_search_nonprecise.gif"= ;this.pin.appendChild(this.img)}else = if(a=3D=3DMsn.VE.PushPinTypes.AdSponsor){this.img.src=3DGetUrlPrefix()+"i= /bin/"+window.buildVersion+"/pins/poi_search.gif";this.pin.appendChild(th= is.img)}this.pin.unselectable=3D"on";this.center=3Dnew = Msn.VE.LatLong(g,h);this.w=3Df;this.h=3De;if(b)this.SetAccuratePixel(b);v= ar = k=3Dthis.LatLongToPixelWithAccuracyOffset(currentView.zoomLevel,originX,o= riginY);this.SetPixelLocation(k)};Pushpin.prototype.SetAccuratePixel=3Dfu= nction(b){var = a=3DcurrentMode.PixelToLatLong(b,currentView.zoomLevel);this.beLatLongOff= set=3Dnew = Msn.VE.LatLong(a.latitude-this.center.latitude,a.longitude-this.center.lo= ngitude)};Pushpin.prototype.LatLongToPixelWithAccuracyOffset=3Dfunction(b= ,c,d){var = a=3Dthis.center;if(this.beLatLongOffset&&IsMapViewOblique())a=3Dnew = Msn.VE.LatLong(this.center.latitude+this.beLatLongOffset.latitude,this.ce= nter.longitude+this.beLatLongOffset.longitude);return = GetPushpinPixel(a,b,c,d)};Pushpin.prototype.GetLatitude=3Dfunction(){retu= rn = this.center.latitude};Pushpin.prototype.GetLongitude=3Dfunction(){return = this.center.longitude};Pushpin.prototype.ClearSteps=3Dfunction(){var = b=3DzoomTotalSteps;for(var = a=3D0;a<=3Db;a++){this.xs[a]=3Dthis.x1-this.w/2+this.Offset.x+"px";this.y= s[a]=3Dthis.y1-this.h/2+this.Offset.y+"px"}};Pushpin.prototype.Precompute= Steps=3Dfunction(){var d=3DzoomTotalSteps;for(var a=3D0;a<=3Dd;a++){var = b=3Da/d,c=3D1-b;this.xs[a]=3DMathFloor(c*this.x1+b*this.x2-this.w/2+this.= Offset.x)+"px";this.ys[a]=3DMathFloor(c*this.y1+b*this.y2-this.h/2+this.O= ffset.y)+"px"}};Pushpin.prototype.SetFactor=3Dfunction(a){this.pin.style.= left=3Dthis.xs[a];this.pin.style.top=3Dthis.ys[a]};Pushpin.prototype.SetP= ixelLocation=3Dfunction(a){if(a&&this.visible){this.x1=3Da.x;this.y1=3Da.= y;this.x2=3Dthis.x1;this.y2=3Dthis.y1;this.PrecomputeSteps();this.SetFact= or(0);this.pin.style.display=3D"block"}else = this.pin.style.display=3D"none"};Pushpin.prototype.SwapStates=3Dfunction(= ){var = a=3D0;a=3Dthis.x1;this.x1=3Dthis.x2;this.x2=3Da;a=3Dthis.y1;this.y1=3Dthi= s.y2;this.y2=3Da};Pushpin.prototype.Reposition=3Dfunction(){var = a=3Dthis.LatLongToPixelWithAccuracyOffset(currentView.zoomLevel,originX,o= riginY);if(a){this.x1=3Da.x;this.y1=3Da.y;this.ClearSteps();this.SetFacto= r(0);if(this.pin.style.display!=3D"none"&&this.visible)this.pin.style.dis= play=3D"block"}else = this.pin.style.display=3D"none"};Pushpin.prototype.UnHide=3Dfunction(){if= (!this.visible){this.pin.style.display=3D"block";this.visible=3Dtrue}};Pu= shpin.prototype.Hide=3Dfunction(){if(this.visible){this.pin.style.display= =3D"none";this.visible=3Dfalse}};Pushpin.prototype.UnHide3D=3Dfunction(){= if(IsModeEnabled(Msn.VE.MapActionMode.Mode3D))View3DAddPushpin(this)};Pus= hpin.prototype.Hide3D=3Dfunction(){if(IsModeEnabled(Msn.VE.MapActionMode.= Mode3D))View3DRemovePushpin(this.id)};Pushpin.prototype.PrepareForZoom=3D= function(b,c,d){this.x1-=3DoffsetX;this.y1-=3DoffsetY;var = a=3Dthis.LatLongToPixelWithAccuracyOffset(d,b,c);if(a){this.x2=3Da.x;this= .y2=3Da.y;this.PrecomputeSteps();if(this.pin.style.display!=3D"none"&&thi= s.visible)this.pin.style.display=3D"block"}else = this.pin.style.display=3D"none"};Pushpin.prototype.RemoveFromMap=3Dfuncti= on(){if(this.pin.parentNode=3D=3Dmap)map.removeChild(this.pin)};Pushpin.p= rototype.Move=3Dfunction(a){this.MoveToLatLon(PixelToLatLong(a))};Pushpin= .prototype.MoveToLatLon=3Dfunction(a){this.center=3Da;this.Reposition()};= function ScaleBar(c){var = e=3Dnull,j=3Dnull,a=3Dg(document.createElement("div")),b=3Dg(document.cre= ateElement("div")),m=3Dfalse,d=3Ddocument.createElement("div"),f=3Ddocume= nt.createElement("div"),i=3D150;this.Init=3Dfunction(){a.addClass("MSVE_S= caleBarLabel MSVE_ScaleBarLabelBg");b.addClass("MSVE_ScaleBarLabel = MSVE_ScaleBarLabelFg");d.className=3D"MSVE_ScaleBar = MSVE_ScaleBarBg";f.className=3D"MSVE_ScaleBar = MSVE_ScaleBarFg";n();k()};this.Show=3Dfunction(){c.appendChild(a.element(= ));c.appendChild(b.element());c.appendChild(d);c.appendChild(f)};this.Hid= e=3Dfunction(){try{c.removeChild(a.element());c.removeChild(b.element());= c.removeChild(d);c.removeChild(f)}catch(e){}};this.Destroy=3Dfunction(){t= his.Hide();e=3Dnull;a=3Db=3Dd=3DBarFg=3Dnull};function k(){var = c=3D0;if(e&&e.style.display!=3D=3D"none"){var = i=3DparseInt(g(e).getStyle("height")),h=3DparseInt(e.style.bottom);c+=3D(= isNaN(i)?0:i)+(isNaN(h)?0:h)}if(a){a.setStyle("bottom",c+"px");b.setStyle= ("bottom",1+c+"px")}if(d){d.style.bottom=3Dc+"px";f.style.bottom=3D1+c+"p= x"}}function o(a){return a*.001}function q(a){return = a*.000621371192}function r(a){return a*1.0936133}function = t(a){i=3Da}function p(a){j=3Da}function n(){try{var = f=3DGetMetersPerPixel(),c=3Df*i,e;if(j=3D=3Dnull)e=3D$MVEM.IsEnabled(MapC= ontrol.Features.ScaleBarKilometers);else = e=3Dj=3D=3DMsn.VE.DistanceUnit.Kilometers;if(e){var = d=3DL_ScaleBarKilometers_Text,b=3Do(c),a=3Dh(b);if(a<.5){d=3DL_ScaleBarMe= ters_Text;b=3Dc;a=3Dh(b)}l("metric",d,a,Math.round(a/b*i))}else{var = d=3DL_ScaleBarMiles_Text,b=3Dq(c),a=3Dh(b);if(a<.5){d=3DL_ScaleBarYards_T= ext;b=3Dr(c);a=3Dh(b)}l("us",d,a,Math.round(a/b*i))}}catch(g){}}function = h(d){var = g=3DMath.log(d)/Math.log(10),e=3DMath.floor(g),a=3DMath.pow(10,e),c=3Dd/a= ,b=3DMath.floor(c);if(b>=3D3)return b*a;var = f=3DMath.floor(c*2)*.5;return f*a}function = l(j,i,c,g){if(c<1)c=3Dc.toFixed(1);var = e=3DGetMapStyle()!=3DroadStyle;if(e!=3Dm){if(e){a.swapClass("MSVE_ScaleBa= rLabelBg","MSVE_ScaleBarLabelBgInv");b.swapClass("MSVE_ScaleBarLabelFg","= MSVE_ScaleBarLabelFgInv")}else{a.swapClass("MSVE_ScaleBarLabelBgInv","MSV= E_ScaleBarLabelBg");b.swapClass("MSVE_ScaleBarLabelFgInv","MSVE_ScaleBarL= abelFg")}m=3De}var h=3Dc+" = "+i;a.setHTML(h);b.setHTML(h);d.style.width=3D4+g+"px";f.style.width=3Dg+= "px"}function = s(a){e=3Da;k()}this.SetBarWidth=3Dt;this.SetDistanceUnit=3Dp;this.Update=3D= n;this.Reposition=3Dk;this.SetPinElement=3Ds}function MapLegend(h){var = q=3Dthis,g=3Dh,a=3Dnull,e=3Dnull,b=3Dnull,d=3Dnull,c=3Dnull;h=3Dnull;this= .Init=3Dfunction(){a=3Ddocument.createElement("div");a.id=3D"MSVE_MapLege= nd";a.style.display=3D"none";g.appendChild(a);e=3Ddocument.createElement(= "div");e.className=3D"MSVE_LegendGroup";a.appendChild(e);a.attachEvent("o= nmousedown",IgnoreEvent);a.attachEvent("onmouseup",IgnoreEvent);a.attachE= vent("onmousemove",IgnoreEvent);a.attachEvent("onmousewheel",IgnoreEvent)= ;a.attachEvent("ondblclick",IgnoreEvent);a.attachEvent("oncontextmenu",Ig= noreEvent);a.attachEvent("onkeydown",IgnoreEvent);a.attachEvent("onkeyup"= ,IgnoreEvent)};this.Destroy=3Dfunction(){if(a){a.detachEvent("onmousedown= ",IgnoreEvent);a.detachEvent("onmouseup",IgnoreEvent);a.detachEvent("onmo= usemove",IgnoreEvent);a.detachEvent("onmousewheel",IgnoreEvent);a.detachE= vent("ondblclick",IgnoreEvent);a.detachEvent("oncontextmenu",IgnoreEvent)= ;a.detachEvent("onkeydown",IgnoreEvent);a.detachEvent("onkeyup",IgnoreEve= nt);g.removeChild(a);a=3Dnull}g=3Dnull;e=3Dnull;d=3Dnull;c=3Dnull};functi= on = k(d){if(d&&!b)i();a.style.display=3Dd?"":"none";if(c)window.setTimeout(c.= Reposition,1);f()}function = i(){if(e&&!b){b=3Ddocument.createElement("div");b.className=3D"MSVE_Legen= dGroup";b.id=3D"MSVE_TrafficLegend";e.appendChild(b);var = a=3Ddocument.createElement("span");a.id=3D"MSVE_TL_Slow";a.appendChild(do= cument.createTextNode(L_MapLegendTrafficSlow_Text));b.appendChild(a);a=3D= document.createElement("span");a.id=3D"MSVE_TL_Fast";a.appendChild(docume= nt.createTextNode(L_MapLegendTrafficFast_Text));b.appendChild(a);a=3Ddocu= ment.createElement("img");a.id=3D"MSVE_TL_Key";var = c=3DGetUrlPrefix(),f=3Dwindow.buildVersion;if(Msn.VE.API!=3Dnull){c=3DMsn= .VE.API.Globals.vecurrentdomain+"/";f=3DMsn.VE.API.Globals.vecurrentversi= on}a.src=3Dc+"i/bin/"+f+"/traffic/tf_legend.gif";a.alt=3D"";b.appendChild= (a);d=3Ddocument.createElement("div");d.className=3D"MSVE_LegendGroup";d.= id=3D"MSVE_TrafficMsg";e.appendChild(d)}}function = l(a){while(a.hasChildNodes())a.removeChild(a.childNodes[0])}function = j(a){if(d){l(d);d.appendChild(document.createTextNode(a));f()}}function = o(b){c=3Db;if(c)c.SetPinElement(a)}function = p(){if(c){c.SetPinElement(null);c=3Dnull}}function = n(b,c){if(a){a.style.left=3Db+"px";a.style.top=3Dc+"px";a.style.bottom=3D= "auto";a.style.right=3D"auto";f()}}function = f(){if(a)mvcViewFacade.UpdateShimIfSupported(a)}function = m(){if(a)destroyIFrameShim(a.id)}this.ShowTrafficLegend=3Dk;this.SetTraff= icLegendMsg=3Dj;this.UnPin=3Dp;this.PinTo=3Do;this.MoveTo=3Dn;this.Update= Shim=3Df;this.RemoveShim=3Dm}var = totalRequestTime=3D0,totalRequestCount=3D0,totalFailureCount=3D0,response= RangeCeilings=3D[];responseRangeCeilings[roadStyle]=3D[325,975];responseR= angeCeilings[shadedStyle]=3DresponseRangeCeilings[roadStyle];responseRang= eCeilings[aerialStyle]=3D[350,1050];responseRangeCeilings[hybridStyle]=3D= [425,1275];responseRangeCeilings[obliqueStyle]=3D[450,1350];responseRange= Ceilings[obliqueHybridStyle]=3DresponseRangeCeilings[obliqueStyle];var = responseRangeCounts=3D[0,0,0];function RequestTile(b,c,i,h,d,g,e,f){var = a=3Dnew = Tile;a.Init(b,c,i,h,b*tileSize-originX,c*tileSize-originY,d,g,e,f);return= a}function ClearTiles(a){while(a.length>0){var = b=3Da.pop();b.Destroy();b=3Dnull}}function GetResponseRangeCounts(){var = b=3D0;for(var = a=3D0;a0)m.pop();while(o.length>0)o.pop();= while(u.length>0)u.pop();while(s.length>0)s.pop();m=3Do=3Du=3Ds=3Dnull};f= unction = y(c,d,b,a){g=3Dc;h=3Dd;k=3Db;j=3Da}this.SetCurrentState=3Dy;function = I(c,d,b,a){l=3Dc;n=3Dd;t=3Db;r=3Da}this.SetNextState=3DI;function = Q(){for(var = a=3D0;a<=3DzoomTotalSteps;a++){m[a]=3Dg+"px";o[a]=3Dh+"px";u[a]=3Dk+"px";= s[a]=3Dj+"px"}}this.ClearSteps=3DQ;function w(){for(var = a=3D0;a<=3DzoomTotalSteps;a++){var = b=3Da/zoomTotalSteps,c=3D1-b;m[a]=3DMathFloor(c*g+b*l)+"px";o[a]=3DMathFl= oor(c*h+b*n)+"px";u[a]=3DMathCeil(c*k+b*t)+"px";s[a]=3DMathCeil(c*j+b*r)+= "px"}}this.PrecomputeSteps=3Dw;function = K(e){if(a=3D=3Dnull||zooming&&!A)return;var = b=3Da.style;b.left=3Dm[e];b.top=3Do[e];b.width=3Du[e];b.height=3Ds[e];if(= debug&&e=3D=3D0){if(!c)F();var g=3Dc.style;b.border=3D"1px dashed = red";g.left=3Dm[e];g.top=3Do[e]}if(a.parentNode!=3Dmap){b.position=3D"abs= olute";b.zIndex=3Df;if(C>0)if(b&&typeof = b.filter!=3D"undefined")if(Msn.VE.Environment.BrowserInfo.MajorVersion<=3D= 6){if(!i){i=3Ddocument.createElement("div");i.className=3D"MSVE_ImageTile= ";var = b=3Di.style;b.left=3Dm[e];b.top=3Do[e];b.width=3Du[e];b.height=3Ds[e];b.p= osition=3D"absolute";b.zIndex=3Df;if(d!=3D1)b.filter=3D"progid:DXImageTra= nsform.Microsoft.AlphaImageLoader(src=3D'"+a.src+"',sizingMethod=3D'scale= '), alpha(opacity=3D"+d*100+")";else = b.filter=3D"progid:DXImageTransform.Microsoft.AlphaImageLoader(src=3D'"+a= .src+"',sizingMethod=3D'scale')";map.appendChild(i)}}else{b.zIndex=3Df;if= (d<1)b.filter=3D"alpha(opacity=3D"+d*100+");opacity:"+d+";";map.appendChi= ld(a)}else{b.zIndex=3Df;b.opacity=3Dd;map.appendChild(a)}else{if(b&&typeo= f = b.filter!=3D"undefined"){if(d<1)b.filter=3D"alpha(opacity=3D"+d*100+");op= acity:"+d}else = b.opacity=3Dd;map.appendChild(a)}if(debug&&c&&c.parentNode!=3Dmap){var = h=3Da.src;c.innerHTML=3Dh.substring(h.lastIndexOf("/")+1,h.lastIndexOf(".= "));g.position=3D"absolute";g.zIndex=3Df+1;map.appendChild(c)}}}this.SetF= actor=3DK;function J(){var = a=3D0;a=3Dg;g=3Dl;l=3Da;a=3Dh;h=3Dn;n=3Da;a=3Dk;k=3Dt;t=3Da;a=3Dj;j=3Dr;r= =3Da}this.SwapStates=3DJ;function = G(){if(b){b.onload=3Dnull;b.onerror=3Dnull;b=3Dnull}if(a){if(a.parentNode= =3D=3Dmap)map.removeChild(a);a=3Dnull}if(c){if(c.parentNode=3D=3Dmap)map.= removeChild(c);c=3Dnull}if(i){if(i.parentNode=3D=3Dmap)map.removeChild(i)= ;i=3Dnull}if(e){graphicCanvas.RemovePrintTile(e);e=3Dnull}}this.RemoveFro= mMap=3DG;function = T(){if(currentView&&v!=3DcurrentView.zoomLevel||b=3D=3Dnull)return;var = d=3Dnew = Date,c=3Dd.getTime()-z.getTime();E(c);totalRequestTime+=3Dc;totalRequestC= ount++;if(debug)window.status=3D"last=3D"+c+", = average=3D"+totalRequestTime/totalRequestCount;b.onload=3Dnull;b.onerror=3D= null;a=3Db;a.onmousedown=3Dfunction(){return = false};b=3Dnull;if(!zooming)K(zoomCounter);if(graphicCanvas&&graphicCanva= s._printable)H()}function = S(){if(v!=3DcurrentView.zoomLevel||b=3D=3Dnull)return;var c=3Dnew = Date,a=3Dc.getTime()-z.getTime();E(a);totalRequestTime+=3Da;totalRequestC= ount++;totalFailureCount++;b.onload=3Dnull;b.onerror=3Dnull;b=3Dnull}func= tion E(b){for(var = a=3D0;atileViewportX2-c||qt= ileViewportY2-b);J();w();f=3DswapZIndex}this.PrepareSwapTile=3DN;function= R(b){if(!c)F();if(a!=3Dnull)a.style.border=3Db?"1px dashed = red":"0px";c.style.display=3Db?"block":"none"}this.Debug=3DR;function = P(){t=3Dk;r=3Dj}this.ClearStates=3DP;function = F(){c=3Ddocument.createElement("div");c.style.font=3D"7pt Verdana, = sans-serif";c.style.color=3D"Red";c.style.backgroundColor=3D"White"}}var = tileMarket=3DMsn.VE.API?Msn.VE.API.Globals.locale:window.locale,orthoTile= Spec=3Dnew = VETileSourceSpecification;orthoTileSpec.Subdomains=3D[[0,2,4,6],[1,3,5,7]= ];if(orthoTileSpec.Subdomains!=3Dnull){orthoTileSpec.SubdomainsMaxX=3Dort= hoTileSpec.Subdomains.length;orthoTileSpec.SubdomainsMaxY=3DorthoTileSpec= .Subdomains[0].length}orthoTileSpec.ID=3DmapTiles;orthoTileSpec.SourceNam= e=3DMsn.VE.API?Msn.VE.API.Constants.orthotileserver:"%0ecn.t%2.tiles.virt= ualearth.net/tiles/%3%4.%5?g=3D%6&mkt=3D{21}";orthoTileSpec.SourceName=3D= orthoTileSpec.SourceName.replace(/\{21\}/g,tileMarket);orthoTileSpec.Orig= inSourceName=3DMsn.VE.API&&p_htParams.useOriginTiles?Msn.VE.API.Constants= .orthoorigintileserver.replace(/\{21\}/g,tileMarket):"";orthoTileSpec.Num= Servers=3D4;var shadedTileSpec=3Dnew = VETileSourceSpecification;shadedTileSpec.Subdomains=3D[[0,2,4,6],[1,3,5,7= ]];if(shadedTileSpec.Subdomains!=3Dnull){shadedTileSpec.SubdomainsMaxX=3D= shadedTileSpec.Subdomains.length;shadedTileSpec.SubdomainsMaxY=3DshadedTi= leSpec.Subdomains[0].length}shadedTileSpec.ID=3DmapTiles;shadedTileSpec.S= ourceName=3DMsn.VE.API?Msn.VE.API.Constants.shadedtileserver:"%0ecn.t%2.t= iles.virtualearth.net/tiles/%3%4.%5?g=3D%6&mkt=3D{21}&shading=3Dhill";sha= dedTileSpec.SourceName=3DshadedTileSpec.SourceName.replace(/%1/g,"r").rep= lace(/%3/g,"r").replace(/%5/g,"png").replace(/%6/g,generations["r"]).repl= ace(/\{21\}/g,tileMarket);shadedTileSpec.OriginSourceName=3DMsn.VE.API&&p= _htParams.useOriginTiles?Msn.VE.API.Constants.shadedorigintileserver.repl= ace(/%1/g,"r").replace(/%3/g,"r").replace(/%5/g,"png").replace(/%6/g,gene= rations["r"]).replace(/\{21\}/g,tileMarket):"";shadedTileSpec.NumServers=3D= 4;function SetBaseTileSource(a){if(!a)a=3DcurrentView;var = c=3Da&&shadedTileSpec&&shadedTileSpec.SourceName&&(a.mapStyle=3D=3DMsn.VE= .MapStyle.Road&&$MVEM.IsEnabled(MapControl.Features.MapStyle.Shaded)&&cur= rentView.doRoadShading)||a.mapStyle=3D=3DMsn.VE.MapStyle.Shaded,b=3Dc?sha= dedTileSpec:orthoTileSpec;b.LoadTiles=3DloadBaseTiles;tileLayerManager.Ad= dTileSource(b)}function = SetView(a){if(currentMode!=3Dnull&¤tMode=3D=3DthreeDMode)return = SetView3DSpecialized(a);if(a=3D=3Dnull)return = CreateNewView();if(zooming||dragging)return = true;if(panning)StopContinuousPan();var = b=3Da.latlong;if(a.GetViewType()=3D=3DMsn.VE.MapViewType.LatLongRect)b=3D= a.latlongRect.Center();if(Msn.VE.MapStyle.IsViewOblique(a.mapStyle))retur= n SetViewOblique(a,b);else return SetViewOrtho(a,b)}function = SetView3DSpecialized(a){var b=3Dfalse;if(a=3D=3Dnull){a=3Dnew = Msn.VE.MapView;a.Copy(currentView);b=3Dtrue}if(!view3DCreated)b=3Dtrue;re= turn SetView3D(a,b)}function = SetViewOblique(a,c){if(obliqueMode=3D=3Dnull)return = true;preferredView.Copy(a);currentMode=3DobliqueMode;if(Msn.VE.API)p_elSo= urce.style.background=3D'#000 = url("'+Msn.VE.API.Globals.vecurrentdomain+"/i/bin/"+Msn.VE.API.Globals.ve= currentversion+'/oblique/oblique_bg.gif") repeat';else = p_elSource.style.background=3D'#000 = url("./i/bin/'+window.buildVersion+'/oblique/oblique_bg.gif") = repeat';function b(){var = b=3DHandleSetViewObliqueResolve(a,c,preferredView);if(!b&&typeof = a.callback=3D=3D"function")a.callback(obliqueMode.GetScene())}a.Resolve(c= urrentMode,width,height,b)}function = HandleSetViewObliqueResolve(a,c,i){if(targetTool.centeringTrigger){target= Tool.centeringTrigger=3Dfalse;obliqueMode.RequestSceneAtLatLong(c,a.scene= Orientation,true,null,null,null,null,a.mapStyle);return true}var = b=3DobliqueMode.GetScene(),e=3Db&&b.ContainsLatLong(c,a.zoomLevel);if(a.b= ySceneId){if(!b||b.GetID()!=3Da.sceneId){obliqueMode.RequestScene(a.scene= Id);return true}else if(!e){var = l=3Db.GetBounds();a.SetCenterLatLong(b.PixelToLatLong(new = VEPixel(b.GetWidth()/4,b.GetHeight()/4),1));a.Resolve(currentMode,width,h= eight);e=3Dtrue}}else = if(!b||!e||b.GetOrientation()!=3Da.sceneOrientation||b.GetMapStyle()!=3Da= .mapStyle){obliqueMode.RequestSceneAtLatLong(c,a.sceneOrientation,true,nu= ll,a.callback,a.spinDirection,a.preserveScene,a.mapStyle);return = true}c=3Da.latlong;i.Copy(a);SetBaseTileSource(a);currentMode.ValidateZoo= mLevel(a);currentBounds=3DcurrentMode.GetBounds(a);ClipView(a,currentBoun= ds);if(a.Equals(currentView)&&!resizeInProgress)return false;var = g=3Da.GetX(currentView.zoomLevel)-currentView.center.x,h=3Da.GetY(current= View.zoomLevel)-currentView.center.y,d=3DMath.sqrt(g*g+h*h);previousCente= r=3DcurrentView.latlong;var = f=3D0;if(!previousCenter.Equals(a.latlong))f+=3DMsn.VE.ViewChangeType.Pan= ;if(currentView.zoomLevel!=3Da.zoomLevel)f+=3DMsn.VE.ViewChangeType.Zoom;= SetLastViewChangeType(f);var = k=3Dda.getP2().x)c+=3Dd.Range.GreaterThanX;if(b.getP1().xa.getP2().y)c+=3Dd.Range= .GreaterThanY;if(b.getP1().y=3Da.x&&c.x<=3Db.x&&c.y>=3Da.y&&c.y<=3Db.y};this.scale=3Dfunction(d){= a.x-=3Dd;a.y-=3Dd;b.x+=3Dd;b.y+=3Dd;c()};this.getOverlap=3Dfunction(a){va= r b=3DMsn.VE.Geometry;return new b.Overlap.getInstance(g,a)};function = c(){d=3Db.y-a.y;e=3Db.x-a.x}};Msn.VE.Geometry.Functions=3D{getSlope:funct= ion(a,b){return (b.y-a.y)/(b.x-a.x)},getYIntercept:function(b,a){return = a.y-b*a.x},getBestBoundingPoint:function(f,b,c){var = a=3DMsn.VE.Geometry;if(!b)b=3Dg(f).getScreenPosition();var e=3Dnew = a.Rectangle(b,new = a.Point(b.x+f.offsetWidth,b.y+f.offsetHeight)),j=3Dc.getOverlap(e),d=3Dj.= getRange();if((d&a.Overlap.Range.InRange)=3D=3Da.Overlap.Range.InRange)re= turn b;var = h=3Db.x,i=3Db.y;if(d&a.Overlap.Range.GreaterThanX)h=3Dc.getP2().x-e.getWi= dth();if(d&a.Overlap.Range.LessThanX)h=3Dc.getP1().x;if(d&a.Overlap.Range= .GreaterThanY)i=3Dc.getP2().y-e.getHeight();if(d&a.Overlap.Range.LessThan= Y)i=3Dc.getP1().y;return new a.Point(h,i)}};view3DMode=3Dfalse;var = sentinel3D,setStyle;function = View3DAddPushpin(a){if(g(a.pin).hasClass("inactiveAbbreviationPin"))retur= n;var = d=3DparseInt(a.pinType),h=3DTranslatePushpinURL(a.className,a.innerHtml,d= ),c=3DMsn.VE.PushPinTypes,e=3DparseFloat(a.lat),f=3DparseFloat(a.lon),b=3D= 'zindex=3D"'+a.zIndex+'"';switch(d){case c.DirectionStep:case = c.SearchResultNonprecise:b+=3D' textoffset=3D"50%, 50%"';case = c.Direction:case c.SearchResultPrecise:case c.AdSponsor:b+=3D' = text=3D"'+extractText(a.innerHtml)+'"';break;case = c.Collection:if(a.className.indexOf("point")=3D=3D-1)b+=3D' = textoffset=3D"50%, 60%"';b+=3D' = text=3D"'+extractText(a.innerHtml)+'"';break;case c.Overlay:b+=3D' = textoffset=3D"50%, 50%"';b+=3D' = text=3D"'+extractText(a.innerHtml)+'"'}spacecontrol.AddPointWithPropertie= s(0,a.id,e,f,h,b)}function extractText(b){var = a=3Ddocument.createElement("div");a.innerHTML=3Db;var = c=3Da.textContent||a.innerText;a=3Dnull;return c}function = View3DRemovePushpin(a){spacecontrol.DeleteGeometry(0,a)}function = AddView3DParameter(d,c,b){var = a=3Ddocument.createElement("param");a.name=3Dc;a.value=3Db;d.appendChild(= a)}function Get3DUpdatedUrl(a){var b=3DGet3dInstallMarket();return = "http://www.bing.com/maps/Help/VE3DInstall/"+"VersionUpdated.aspx?version= =3D"+a+"&mkt=3D"+b}function GetScriptVersion(){var a=3Dnull;if(typeof = Msn.VE.API!=3D"undefined"&&Msn.VE.API!=3Dnull&&Msn.VE.API.Globals.vecurre= ntversion){var = b=3DMsn.VE.API.Globals.vecurrentversion.split(".");a=3D"";if(b.length>0)a= +=3Db[0];if(b.length>1)a+=3D"."+b[1]}else if(typeof = window.spacelandScriptVersion!=3D"undefined")a=3Dwindow.spacelandScriptVe= rsion;return a}function = CreateView3DControl(a){if(!BrowserSupports3D()){View3DUnavailable();retur= n false}initial3dView=3Dnew = Msn.VE.MapView;initial3dView.Copy(a);if(sentinel3D=3D=3Dnull)sentinel3D=3D= GetSentinel();if(null=3D=3Dsentinel3D){View3DUnavailable();return = false}if(sentinel3D!=3Dnull&&sentinel3D.CurrentVersion<4.0){var = d=3Dsentinel3D.CurrentVersion;sentinel3D=3Dnull;if(d>0)View3DUpgrade(d);r= eturn = false}try{sentinel3D.InitializeRuntime()}catch(h){}spacediv=3Ddocument.cr= eateElement("div");spacediv.id=3D"MSVE_spacediv";spacediv.className=3D"MS= VE_SLMap";spacediv.style.position=3D"relative";spacediv.style.height=3D"1= 00%";spacediv.style.overflow=3D"hidden";spacecontrol=3Ddocument.createEle= ment("object");var = b=3Da.cameraLatlong=3D=3Dnull?a.latlong:a.cameraLatlong;AddView3DParamete= r(spacecontrol,"StartLongitude",b.longitude);AddView3DParameter(spacecont= rol,"StartLatitude",b.latitude);AddView3DParameter(spacecontrol,"StartPit= ch",a.GetTilt());AddView3DParameter(spacecontrol,"StartHeading",-a.GetDir= ection());var = f=3DGet3dMarket();if(f)AddView3DParameter(spacecontrol,"CurrentLocale",f)= ;var = e=3Da.GetAltitude();if(e>-1000)AddView3DParameter(spacecontrol,"StartAlti= tude",e);else = AddView3DParameter(spacecontrol,"StartZoomLevel",a.zoomLevel);spacediv.ap= pendChild(spacecontrol);try{if(window.navigator.userAgent.indexOf("MSIE")= !=3D-1)spacecontrol.classid=3D"clsid:68BFC611-B963-4e8c-B0FE-0DD4FB832796= ";else = spacecontrol.type=3D"application/x-virtual-earth-3d"}catch(h){View3DUnava= ilable();spacecontrol=3Dfalse;return false}var = c=3DGetScriptVersion();spacecontrol.ControlId=3Dinit3dparam;spacecontrol.= ScriptVersion=3Dc;AttachEvent("onresize",ResizeControl);p_elSource.append= Child(spacediv);ResizeControl();setStyle=3Dfalse;var = g=3DValidateControl();if(g){IterativeCameraRefinement();spacecontrol.Cont= rolId=3Dinit3dparam;spacecontrol.ScriptVersion=3Dc;if((typeof = Msn.VE.API=3D=3D"undefined"||Msn.VE.API=3D=3Dnull)&&spacecontrol.VersionU= pdated)VE_Help.OpenSized(L_VE3D_VersionUpgradedDialogTitle,Get3DUpdatedUr= l(sentinel3D.CurrentVersion),550,280)}if(typeof = state!=3D"undefined"&&state!=3Dnull)state.Set3DViewInstallInProgress("");= return g}function = View3DUnavailable(){if(IsEventAttached("onmodenotavailable"))Fire("onmode= notavailable",Msn.VE.MapActionMode.Mode3D);else if(typeof = Msn.VE.API!=3D"undefined"&&Msn.VE.API!=3Dnull)if(sentinel3D!=3Dnull)windo= w.open(Get3dHelpUrl("View3DUnavailable.htm"),"_blank","width=3D600,height= =3D550,menubar=3D0,resizeable=3D0,status=3D0,titlebar=3D0,toolbar=3D0,scr= ollbars=3D0");else = if(window.navigator.userAgent.indexOf("MSIE")!=3D-1)window.open(Get3dInst= allUrl(),"_blank","width=3D650,height=3D520,menubar=3D0,resizeable=3D0,st= atus=3D0,titlebar=3D0,toolbar=3D0,scrollbars=3D0");else = if(window.navigator.userAgent.indexOf("Windows")!=3D-1)window.open(Get3dI= nstallUrl(),"_blank","width=3D760,height=3D580,menubar=3D0,resizeable=3D0= ,status=3D0,titlebar=3D0,toolbar=3D0,scrollbars=3D0")}function = CallIterativeCameraRefinement(){var = a=3DGetMapControlInstance(null);if(a)a.IterativeCameraRefinement()}functi= on = IterativeCameraRefinement(){if(cameraUpdateCount>0)return;if(IsModeEnable= d(Msn.VE.MapActionMode.Mode3D)&&spacecontrol)if(!spacecontrol.AllTilesLoa= ded)setTimeout(CallIterativeCameraRefinement,1000);else{var = a=3Dfalse,c=3DcurrentView.GetAltitude(),d=3Dinitial3dView.GetAltitude();i= f(d>-1000&&c>-1000)a=3DMath.abs(c-d)>1;else = a=3DcurrentView.GetZoomLevel()!=3Dinitial3dView.GetZoomLevel();if(a){var = b=3Dinitial3dView.MakeCopy();b.SetMapStyle(currentView.mapStyle);SetView3= D(b,true)}}}function ValidateControl(){if(typeof = Msn.VE.API=3D=3D"undefined"||Msn.VE.API=3D=3Dnull)if(0=3D=3Dspacecontrol.= HardwareClassificationLevel)setStyle=3Dtrue;var = a=3Dfalse,b=3D300;if(spacecontrol.Created){while(!spacecontrol.FirstFrame= Rendered&&!spacecontrol.LoadFailed&&!spacecontrol.AlreadyLoaded&&b>0){b--= ;spacecontrol.ProcessEvents()}a=3Dspacecontrol.FirstFrameRendered}if(spac= econtrol.Created&&!spacecontrol.HardwareAccelerationEnabled&&spacecontrol= .LoadFailed){if(typeof = Msn.VE.API=3D=3D"undefined"||Msn.VE.API=3D=3Dnull){window.setTimeout(Dela= yedHWDialog,2759);window.setTimeout(OnHardwareAccelHelpFired,4000)}else = if(IsEventAttached("onmodenotavailable"))Fire("onmodenotavailable",Msn.VE= .MapActionMode.Mode3D);if(mode=3D=3DMsn.VE.MapActionMode.Mode3D)EnableMod= e(Msn.VE.MapActionMode.Mode2D);return false}else = if(!spacecontrol.Created||!spacecontrol.Enabled||!spacecontrol.IsHandleCr= eated||!a&&!spacecontrol.AlreadyLoaded){View3DUnavailable();spacecontrol=3D= false;return false}else{spacecontrol.focus();view3DCreated=3Dtrue;return = true}}function = ResizeControl(){if(spacecontrol){spacecontrol.style.height=3Dspacediv.off= setHeight+"px";spacecontrol.style.width=3Dspacediv.offsetWidth+"px"}Repos= itionShims()}function = SetView3D(a,g){currentMode.ValidateZoomLevel(a);a.Resolve(orthoMode,width= ,height);preferredView.Copy(a);if(!view3DCreated&&!spacecontrol){var = l=3DCreateView3DControl(a);if(setStyle){a.mapStyle=3D"h";previousMapStyle= =3D"h"}if(!l)return = false;if(a.GetTilt()!=3D-90&&a.cameraLatlong=3D=3Dnull){a.Resolve(orthoMo= de,width,height);cameraUpdateCount=3D-1}else{cameraUpdateCount=3D0;a._sup= ressFlyToCall=3Dtrue}p_elSource.style.backgroundColor=3D"#e9e7d4";originX= =3D0;originY=3D0;offsetX=3D0;offsetY=3D0;UpdateFromParent()}if(!g&&a.Equa= ls(currentView)){if(!spaceCameraIsFlying)ProcessQueuedRequest(null,null);= return false}var = c=3Dfalse;if(a.GetAltitude()>-1000)c=3DMath.abs(a.GetAltitude()-currentVi= ew.GetAltitude())>1e-4;else = c=3DcurrentView.zoomLevel!=3Da.zoomLevel;currentView.Destroy();currentVie= w=3Da;if(view3DCreated){if(previousMapStyle){if(currentView.mapStyle!=3Dn= ull&&previousMapStyle!=3DcurrentView.mapStyle){var = b=3D"http://go.microsoft.com/fwlink/?LinkID=3D98770";if(currentView.mapSt= yle=3D=3D"a"){b=3D"http://go.microsoft.com/fwlink/?LinkID=3D98771";spacec= ontrol.ShowAtmosphere=3Dtrue}if(currentView.mapStyle=3D=3D"h"){b=3D"http:= //go.microsoft.com/fwlink/?LinkID=3D98772";spacecontrol.ShowAtmosphere=3D= true}if(currentView.mapStyle=3D=3D"r"){spacecontrol.TexturesVisible=3Dfal= se;if(spacecontrol.HardwareClassificationLevel<3)b=3D"http://go.microsoft= .com/fwlink/?LinkID=3D98769";spacecontrol.ShowAtmosphere=3Dfalse}else = spacecontrol.TexturesVisible=3Dtrue;spacecontrol.AddImageSource("Terrain"= ,"Texture",GetManifestUrl(b),0,1);Fire("onchangemapstyle");previousMapSty= le=3DcurrentView.mapStyle}}else = previousMapStyle=3DcurrentView.mapStyle;var = d=3Da.cameraLatlong,i=3Da.zoomLevel,j=3Da.GetAltitude(),k=3Da.GetTilt(),h= =3Da.GetDirection(),e=3Da._needsPivotOperation;if(c)Fire("onstartzoom");i= f(a._supressFlyToCall)a._supressFlyToCall=3Dfalse;else{var = f=3Dspacecontrol.FlyTo(d.latitude,d.longitude,i,j,k,h,e?1:0);if(!f&&!spac= eCameraIsFlying)ProcessQueuedRequest(null,null)}if(a.sceneId&&a.sceneId!=3D= -1){ProcessPhotoPluginActionIn3D("PhotosEnabled","enabled=3D1"+";labels=3D= "+(a.mapStyle=3D=3DMsn.VE.MapStyle.Road||a.mapStyle=3D=3DMsn.VE.MapStyle.= Hybrid||a.mapStyle=3D=3DMsn.VE.MapStyle.ObliqueHybrid?"1":"0"),spacecontr= ol);ProcessPhotoPluginActionIn3D("SelectSceneId","SceneId=3D"+a.sceneId+"= ;X=3D"+a.photoX+";Y=3D"+a.photoY+";Scale=3D"+a.photoScale,spacecontrol,nu= ll)}if(c)Fire("onendzoom");if(copyright)copyright.Update();return = true}return false}var on3DAnimationInterruptedCallback=3Dnull;function = SetOn3DAnimationInterruptedCallback(a){on3DAnimationInterruptedCallback=3D= a}function GetOn3DAnimationInterruptedCallback(){return = on3DAnimationInterruptedCallback}function = SetViewport(b,d,c,e){Sync3dView();var = a=3DpreferredView.MakeCopy();a.sceneId=3Dnull;a.SetLatLongRectangle(new = Msn.VE.LatLongRectangle(new = Msn.VE.LatLong(ClipLatitude(b),ClipLongitude(d)),new = Msn.VE.LatLong(ClipLatitude(c),ClipLongitude(e))));a.SetTilt(-90);a.SetDi= rection(0);return SetView(a)}function SetBestMapView(b){var = a=3DGetBestMapViewBounds(b);if(!a||a.constructor!=3DArray)return = false;if(a.length=3D=3D4)return = SetViewport(a[0],a[1],a[2],a[3])}function GetBestMapViewBounds(a){var = b=3D[];if(!a||a.constructor!=3DArray)return null;var = c=3Da[0].latitude,d=3Da[0].longitude,f=3Dc,g=3Dd;for(var = e=3D1;eb)return b;return a}function = SetZoom(b){Sync3dView();var = a=3DpreferredView.MakeCopy();a.SetZoomLevel(b);SetView(a)}function = ZoomIn(){Sync3dView();var = a=3DpreferredView.MakeCopy();a.SetZoomLevel(currentView.zoomLevel+1);SetV= iew(a)}function ZoomOut(){Sync3dView();var = a=3DpreferredView.MakeCopy();a.SetZoomLevel(currentView.zoomLevel-1);SetV= iew(a)}function SetCenterAndZoom(d,b,c){Sync3dView();var = a=3DpreferredView.MakeCopy();a.sceneId=3Dnull;a.SetCenterLatLong(new = Msn.VE.LatLong(d,b));a.SetZoomLevel(c);SetView(a)}function = GetCurrentViewMaxZoomLevel(b){var a=3Db;if(typeof = a=3D=3D"undefined"||a=3D=3Dnull)a=3DpreferredView;if(!currentMode)return = tileLayerManager.GetMaxTileZoom();return = currentMode.GetCurrentMaxZoomLevel(a)}function ObliqueMode(){var = r=3Dfalse,a=3Dnull,t=3Dnull,b=3Dfalse,h=3Dfalse,y=3Dnull,z=3Dnull,l=3Dfal= se,n=3Dfalse,k=3Dnull,c=3Dnull,g=3D-1,e=3Dnull,p=3Dtrue,m=3Dnull,s=3Dnull= ,f=3D['02121131200','02121131201','02121131202','02121131203','0212113121= 0','02121131211','02121131212','02121131213','02121131220','02121131221',= '02121131222','02121131223','02121131230','02121131231','02121131232','02= 121131233','02121131300','02121131302','02121222032','02121222033','02121= 222122','02121222210','02121222211','02121222212','02121222213','02121222= 230','02121222231','02121222233','02121222300','02121222301','02121222302= ','02121222303','02121222310','02121222311','02121222312','02121222313','= 02121222320','02121222321','02121222322','02121222323','02121222330','021= 21222331','02121222332','02121222333','02121223200','02121223202','021212= 23203','02121223210','02121223212','02121223213','02121223220','021212232= 21','02121223222','02121223223','02121223230','02121223231','02121223232'= ,'02121311002','02121311003','02121311020','02121311021','02121312131','0= 2121312132','02121312133','02121312301','02121312303','02121312310','0212= 1312311','02121312312','02121312313','02121312330','02121312331','0212131= 2333','02121313022','02121313200','02121313202','02121313220','0212131322= 2','02121330111','02121333101','02121333103','02121333110','02121333112',= '02121333130','02122313101','02122313103','02122313110','02122313112','02= 123000003','02123000012','02123000021','02123000022','02123000023','02123= 000030','02123000032','02123000101','02123000103','02123000110','02123000= 111','02123000112','02123000113','02123000121','02123000123','02123000130= ','02123000131','02123000132','02123000133','02123000200','02123000201','= 02123000210','02123000301','02123000303','02123000310','02123000311','021= 23000312','02123000313','02123000321','02123000330','02123000331','021230= 00332','02123000333','02123001000','02123001001','02123001002','021230010= 03','02123001010','02123001011','02123001012','02123001013','02123001020'= ,'02123001021','02123001022','02123001023','02123001030','02123001031','0= 2123001032','02123001033','02123001103','02123001112','02123001120','0212= 3001121','02123001122','02123001123','02123001130','02123001132','0212300= 1200','02123001201','02123001202','02123001203','02123001210','0212300121= 1','02123001212','02123001220','02123001221','02123001222','02123001223',= '02123001232','02123001300','02123001301','02123001302','02123002103','02= 123002110','02123002111','02123002112','02123002113','02123002121','02123= 002123','02123002130','02123002131','02123002132','02123002133','02123002= 233','02123002301','02123002303','02123002310','02123002311','02123002312= ','02123002313','02123002320','02123002321','02123002322','02123002323','= 02123002330','02123002331','02123002332','02123002333','02123003000','021= 23003001','02123003002','02123003003','02123003010','02123003011','021230= 03012','02123003013','02123003020','02123003021','02123003022','021230030= 23','02123003030','02123003031','02123003032','02123003033','02123003102'= ,'02123003103','02123003112','02123003113','02123003120','02123003121','0= 2123003122','02123003123','02123003130','02123003131','02123003132','0212= 3003133','02123003200','02123003201','02123003202','02123003203','0212300= 3210','02123003211','02123003212','02123003213','02123003220','0212300322= 1','02123003222','02123003223','02123003230','02123003231','02123003232',= '02123003233','02123003300','02123003301','02123003302','02123003303','02= 123003310','02123003320','02123003321','02123003322','02123003323','02123= 003330','02123003332','02123020011','02123020013','02123020031','02123020= 100','02123020101','02123020102','02123020103','02123020110','02123020111= ','02123020112','02123020113','02123020120','02123021000','02123021001','= 02123021002','02123021100','02123021101','02123022103','02123022112','021= 23022113','02123022121','02123022122','02123022123','02123022130','021230= 22131','02123022132','02123022133','02123022211','02123022233','021230223= 00','02123022301','02123022302','02123022303','02123022310','02123022311'= ,'02123022312','02123022313','02123022320','02123022321','02123022322','0= 2123022323','02123022330','02123022331','02123023200','02123023202','0212= 3023220','02123030020','02123030021','02123030022','02123030023','0212303= 0030','02123030032','02123030033','02123030200','02123030201','0212303021= 0','02123030211','02123030212','02123030213','02123030231','02123030300',= '02123030302','02123030303','02123030312','02123030320','02123030321','02= 123030323','02123030330','02123030331','02123030332','02123030333','02123= 031031','02123031033','02123031120','02123031122','02123031202','02123031= 203','02123031212','02123031220','02123031221','02123031223','02123031230= ','02123031231','02123031232','02123031233','02123031332','02123031333','= 02123033010','02123033011','02123033101','02123033110','02123033111','021= 23100233','02123100322','02123102011','02123102012','02123102013','021231= 02030','02123102031','02123102032','02123102033','02123102100','021231021= 02','02123102103','02123102111','02123102112','02123102113','02123102120'= ,'02123102121','02123102122','02123102123','02123102130','02123102131','0= 2123102132','02123102133','02123102210','02123102211','02123102301','0212= 3102310','02123102311','02123102312','02123102313','02123102330','0212310= 2331','02123102332','02123102333','02123103002','02123103020','0212310302= 2','02123103030','02123103031','02123103032','02123103033','02123103120',= '02123103122','02123103200','02123103201','02123103202','02123103203','02= 123103210','02123103212','02123103213','02123103220','02123103221','02123= 103222','02123103230','02123103231','02123120111','02123200011','02123200= 013','02123200031','02123200033','02123200100','02123200101','02123200102= ','02123200103','02123200120','02123200121','02123200122','02123200223','= 02123200230','02123200231','02123200232','02123200233','02123200322','021= 23200323','02123201303','02123201312','02123201320','02123201321','021232= 01323','02123201330','02123201331','02123201332','02123202001','021232020= 10','02123202011','02123202013','02123202031','02123202100','02123202101'= ,'02123202102','02123202120','02123202130','02123202131','02123203101','0= 2123203102','02123203103','02123203110','02123203112','02123203120','0212= 3203121','02123203122','02123203123','02123220122','02123220123','0212322= 0210','02123220211','02123220212','02123220213','02123220300','0212322030= 1','02123220302','02123220303','02123220320','02123220321','02123220323',= '02123220330','02123220332','02123223233','02123223322','02123302112','02= 123302113','02123302130','02123302131','02123302132','02123302133','02123= 302310','02123302311','02123302313','02123303002','02123303003','02123303= 020','02123303021','02123303022','02123303023','02123303030','02123303032= ','02123303033','02123303200','02123303201','02123303202','02123303203','= 02123303210','02123303211','02123303220','02123303221','02123323323','021= 23323332','02123330233','02123332011','02123332221','02123332223','021233= 32230','02123332232','02130221203','02130221212','02130221221','021302212= 30','02130231032','02130231033','02130231210','02130231211','02130300020'= ,'02130300021','02130300022','02130300023','02130300030','02130300032','0= 2130300200','02130300201','02130300210','02130313022','02130313023','0213= 0313200','02130313201','02130320130','02130320131','02130320132','0213032= 0133','02130321020','02130321022','02130321102','02130321103','0213032112= 0','02130321121','02130321122','02130321123','02130332002','02130332003',= '02130332020','02130332021','02130332303','02130332312','02130332321','02= 130332330','02132032103','02132032112','02132032113','02132032120','02132= 032121','02132032122','02132032123','02132032130','02132032131','02132032= 132','02132222202','02132222203','02132222210','02132222211','02132222212= ','02132222213','02132222220','02132222221','02132222222','02132222223','= 02132222230','02132222231','02132222232','02132222233','02132222300','021= 32222301','02132222302','02132222303','02132222310','02132222312','021322= 22320','02132222321','02132222330','02132310233','02132310322','021323103= 23','02132310332','02132312011','02132312013','02132312031','02132312100'= ,'02132312101','02132312102','02132312103','02133030110','02133030111','0= 2133030112','02133030113','02133031000','02133031001','02133031002','0213= 3031003','02133031012','02133031020','02133031021','02133031332','0213303= 1333','02133033110','02133033111','02133033112','02133033113','0213303313= 0','02133033131','02133033133','02133033311','02133033313','02133103133',= '02133103213','02133103231','02133103233','02133103302','02133103311','02= 133103313','02133103320','02133103322','02133112022','02133112023','02133= 112032','02133112033','02133112200','02133112201','02133112210','02133112= 211','02133120212','02133120213','02133120222','02133120223','02133120230= ','02133120231','02133120232','02133120233','02133120302','02133120303','= 02133120312','02133120320','02133120321','02133120322','02133120323','021= 33120330','02133120331','02133120332','02133120333','02133121220','021331= 21221','02133121222','02133121223','02133121230','02133121232','021331220= 00','02133122001','02133122002','02133122003','02133122010','02133122011'= ,'02133122012','02133122013','02133122020','02133122021','02133122022','0= 2133122023','02133122030','02133122031','02133122032','02133122033','0213= 3122100','02133122101','02133122102','02133122103','02133122110','0213312= 2111','02133122112','02133122113','02133122120','02133122121','0213312212= 2','02133122123','02133122130','02133122131','02133122132','02133122133',= '02133122200','02133122201','02133122202','02133122203','02133122210','02= 133122212','02133122213','02133122221','02133122223','02133122230','02133= 122231','02133122232','02133122233','02133122301','02133122302','02133122= 303','02133122310','02133122311','02133122312','02133122313','02133122320= ','02133122321','02133122322','02133122323','02133122330','02133122331','= 02133122332','02133122333','02133123000','02133123001','02133123002','021= 33123003','02133123010','02133123012','02133123020','02133123021','021331= 23022','02133123023','02133123030','02133123032','02133123033','021331231= 22','02133123200','02133123201','02133123202','02133123203','02133123210'= ,'02133123211','02133123212','02133123213','02133123220','02133123221','0= 2133123230','02133123231','02133123232','02133123233','02133123300','0213= 3123301','02133123302','02133123303','02133123310','02133123311','0213312= 3312','02133123313','02133123320','02133123321','02133123322','0213312332= 3','02133123330','02133123331','02133123332','02133123333','02133130013',= '02133130021','02133130023','02133130030','02133130031','02133130032','02= 133130033','02133130102','02133130120','02133130122','02133132220','02133= 132222','02133211123','02133211132','02133211133','02133211231','02133211= 233','02133211301','02133211303','02133211310','02133211311','02133211312= ','02133211313','02133211320','02133211321','02133211322','02133211323','= 02133211330','02133211331','02133211332','02133211333','02133212113','021= 33212131','02133212133','02133212311','02133213002','02133213003','021332= 13010','02133213011','02133213012','02133213013','02133213020','021332130= 21','02133213022','02133213023','02133213030','02133213031','02133213032'= ,'02133213033','02133213100','02133213101','02133213102','02133213103','0= 2133213200','02133213201','02133213210','02133213211','02133231032','0213= 3231033','02133231122','02133231123','02133231132','02133231133','0213323= 1210','02133231211','02133231213','02133231231','02133231300','0213323130= 1','02133231302','02133231303','02133231310','02133231311','02133231312',= '02133231313','02133231320','02133231321','02133231330','02133231331','02= 133233101','02133233103','02133233112','02133233113','02133233121','02133= 233123','02133233130','02133233131','02133233132','02133233133','02133233= 211','02133233213','02133233222','02133233223','02133233231','02133233232= ','02133233233','02133233300','02133233301','02133233302','02133233303','= 02133233310','02133233311','02133233312','02133233313','02133233320','021= 33233321','02133233322','02133233323','02133233330','02133233331','021332= 33332','02133300001','02133300002','02133300003','02133300010','021333000= 11','02133300012','02133300013','02133300020','02133300021','02133300022'= ,'02133300023','02133300030','02133300031','02133300032','02133300033','0= 2133300100','02133300101','02133300102','02133300103','02133300110','0213= 3300111','02133300112','02133300113','02133300120','02133300121','0213330= 0122','02133300123','02133300130','02133300132','02133300200','0213330020= 2','02133300210','02133300211','02133300220','02133300221','02133300222',= '02133300223','02133300230','02133300231','02133300232','02133300233','02= 133300300','02133300301','02133300302','02133300303','02133300322','02133= 301000','02133301001','02133301002','02133301003','02133301010','02133301= 011','02133301012','02133301013','02133301020','02133301021','02133301022= ','02133301023','02133301030','02133301031','02133301032','02133301033','= 02133301100','02133301101','02133301102','02133301103','02133301110','021= 33301111','02133301112','02133301113','02133301120','02133301121','021333= 01122','02133301123','02133301130','02133301131','02133301132','021333011= 33','02133301201','02133301210','02133301211','02133301213','02133301231'= ,'02133301233','02133301300','02133301301','02133301302','02133301303','0= 2133301310','02133301311','02133301312','02133301313','02133301320','0213= 3301321','02133301322','02133301323','02133301330','02133301331','0213330= 1332','02133301333','02133302000','02133302001','02133302002','0213330200= 3','02133302010','02133302011','02133302012','02133302013','02133302020',= '02133302021','02133302030','02133302031','02133302100','02133302102','02= 133302120','02133303100','02133303101','02133303102','02133303103','02133= 303110','02133303111','02133303112','02133303113','02133303120','02133303= 121','02133303130','02133303131','02133310000','02133310002','02133310020= ','02133310022','02133310112','02133310113','02133310130','02133310131','= 02133310132','02133310133','02133310200','02133310220','02133310221','021= 33310222','02133310223','02133310230','02133310231','02133310232','021333= 10233','02133310310','02133310311','02133310320','02133310321','021333103= 22','02133310323','02133310330','02133310332','02133310333','02133311002'= ,'02133311003','02133311012','02133311020','02133311021','02133311022','0= 2133311023','02133311030','02133311032','02133311101','02133311103','0213= 3311110','02133311112','02133311113','02133311130','02133311132','0213331= 1133','02133311200','02133311201','02133311210','02133311222','0213331122= 3','02133311232','02133312000','02133312001','02133312002','02133312003',= '02133312010','02133312011','02133312012','02133312013','02133312020','02= 133312021','02133312030','02133312031','02133312100','02133312101','02133= 312102','02133312103','02133312110','02133312111','02133312112','02133312= 113','02133312120','02133312121','02133312123','02133312130','02133312131= ','02133312132','02133312133','02133312301','02133312310','02133312311','= 02133313000','02133313001','02133313002','02133313003','02133313010','021= 33313012','02133313020','02133313021','02133313022','02133313023','021333= 13030','02133313032','02133313200','02133313201','02133320011','021333200= 13','02133320023','02133320031','02133320032','02133320033','02133320100'= ,'02133320101','02133320102','02133320103','02133320110','02133320112','0= 2133320120','02133320121','02133320122','02133320123','02133320130','0213= 3320132','02133320201','02133320203','02133320210','02133320211','0213332= 0212','02133320213','02133320221','02133320223','02133320230','0213332023= 1','02133320232','02133320233','02133320300','02133320301','02133320302',= '02133320310','02133320320','02133320322','02133321132','02133321133','02= 133321220','02133321221','02133321222','02133321223','02133321230','02133= 321231','02133321232','02133321233','02133321310','02133321311','02133321= 312','02133321313','02133321320','02133321321','02133321322','02133321323= ','02133321330','02133321331','02133322000','02133322001','02133322002','= 02133322003','02133322010','02133322012','02133322013','02133322020','021= 33322021','02133322022','02133322023','02133322030','02133322031','021333= 22032','02133322033','02133322200','02133322201','02133322202','021333222= 03','02133322210','02133322211','02133322212','02133322220','02133322221'= ,'02133322223','02133322230','02133322232','02133323000','02133323001','0= 2133323002','02133323003','02133323010','02133323011','02133323012','0213= 3323013','02133323021','02133323030','02133323031','02133323032','0213332= 3033','02133323100','02133323101','02133323102','02133323103','0213332312= 0','02133323121','02133323122','02133323123','02133323210','02133323211',= '02133323300','02133323301','02133330022','02133330023','02133330032','02= 133330033','02133330122','02133330200','02133330201','02133330202','02133= 330203','02133330210','02133330211','02133330212','02133330213','02133330= 220','02133330221','02133330230','02133330231','02133330300','02133330302= ','02133330320','02133330323','02133330332','02133330333','02133332012','= 02133332013','02133332030','02133332031','02133332032','02133332033','021= 33332101','02133332102','02133332103','02133332110','02133332111','021333= 32112','02133332113','02133332120','02133332121','02133332122','021333321= 23','02133332130','02133332131','02133332132','02133332133','02133332210'= ,'02133332211','02133332300','02133332301','02133332310','02133332311','0= 2133333000','02133333002','02133333012','02133333013','02133333020','0213= 3333022','02133333030','02133333031','02133333032','02133333033','0213333= 3102','02133333103','02133333112','02133333120','02133333121','0213333312= 2','02133333123','02133333130','02133333131','02133333132','02133333133',= '02133333200','02133333201','02133333203','02133333210','02133333211','02= 133333212','02133333213','02133333300','02133333301','02133333302','02133= 333303','02133333310','02133333311','02221111013','02221111031','02221111= 033','02221111102','02221111103','02221111120','02221111121','02221111122= ','02221111123','02221111130','02221111132','02221111133','02221111301','= 02221111310','02221111311','02301000113','02301000131','02301000133','023= 01000311','02301001002','02301001011','02301001013','02301001020','023010= 01022','02301001100','02301001200','02301002223','02301002232','023010022= 33','02301002322','02301002323','02301003010','02301003011','02301003012'= ,'02301003013','02301003031','02301003033','02301003100','02301003102','0= 2301003120','02301003121','02301003122','02301003123','02301003211','0230= 1003323','02301003332','02301003333','02301012103','02301012112','0230101= 2113','02301012121','02301012123','02301012130','02301012131','0230101213= 2','02301012133','02301012310','02301012311','02301012312','02301012313',= '02301012330','02301012331','02301020001','02301020003','02301020010','02= 301020011','02301020012','02301020013','02301020030','02301020031','02301= 020033','02301020100','02301020101','02301020102','02301020103','02301020= 110','02301020112','02301020113','02301020120','02301020121','02301020122= ','02301020123','02301020130','02301020131','02301020132','02301020133','= 02301020211','02301020300','02301020301','02301020302','02301020303','023= 01020310','02301020311','02301020312','02301020313','02301020321','023010= 20330','02301020331','02301020332','02301020333','02301021001','023010210= 03','02301021010','02301021011','02301021012','02301021013','02301021020'= ,'02301021021','02301021022','02301021023','02301021030','02301021031','0= 2301021032','02301021033','02301021100','02301021101','02301021102','0230= 1021103','02301021110','02301021111','02301021112','02301021113','0230102= 1120','02301021121','02301021122','02301021123','02301021130','0230102113= 1','02301021132','02301021133','02301021200','02301021201','02301021202',= '02301021203','02301021210','02301021211','02301021212','02301021213','02= 301021220','02301021221','02301021222','02301021223','02301021230','02301= 021231','02301021232','02301021233','02301021300','02301021301','02301021= 302','02301021303','02301021310','02301021311','02301021312','02301021313= ','02301021320','02301021321','02301021322','02301021323','02301021330','= 02301021331','02301021332','02301021333','02301022110','02301022111','023= 01022112','02301022113','02301022131','02301023000','02301023001','023010= 23002','02301023003','02301023010','02301023011','02301023012','023010230= 13','02301023020','02301023021','02301023022','02301023023','02301023030'= ,'02301023031','02301023032','02301023033','02301023100','02301023101','0= 2301023102','02301023103','02301023110','02301023111','02301023112','0230= 1023113','02301023120','02301023122','02301023130','02301023131','0230102= 3133','02301023200','02301023201','02301023202','02301023203','0230102321= 0','02301023211','02301023212','02301023213','02301023223','02301023230',= '02301023231','02301023232','02301023233','02301023300','02301023302','02= 301023320','02301023322','02301030222','02301030223','02301031102','02301= 031103','02301031120','02301031121','02301031131','02301031133','02301032= 000','02301032001','02301032002','02301032003','02301032030','02301032031= ','02301032032','02301032033','02301032131','02301032133','02301032211','= 02301032212','02301032230','02301032231','02301032232','02301032233','023= 01032300','02301032301','02301032302','02301032303','02301032312','023010= 32313','02301032320','02301032321','02301032322','02301032323','023010323= 30','02301032331','02301032332','02301032333','02301033220','02301033222'= ,'02301033223','02301101013','02301101031','02301101100','02301101101','0= 2301101102','02301101103','02301101110','02301101112','02301101113','0230= 1101120','02301101121','02301101130','02301101131','02301110112','0230111= 0113','02301110130','02301110131','02301120020','02301120022','0230113211= 1','02301132113','02301132131','02301132133','02301132311','02301132313',= '02301133000','02301133001','02301133002','02301133003','02301133010','02= 301133012','02301133013','02301133020','02301133021','02301133022','02301= 133023','02301133030','02301133031','02301133032','02301133033','02301133= 102','02301133103','02301133120','02301133121','02301133122','02301133123= ','02301133200','02301133201','02301133202','02301133203','02301133210','= 02301133211','02301133212','02301133213','02301133300','02301133301','023= 01133302','02301133303','02301201001','02301201010','02301201011','023012= 01013','02301201100','02301201101','02301201103','02301201110','023012011= 12','02301201121','02301201130','02301201131','02301201132','02301201133'= ,'02301210011','02301210030','02301210031','02301210032','02301210033','0= 2301210100','02301210101','02301210103','02301210110','02301210111','0230= 1210112','02301210113','02301210120','02301210121','02301210122','0230121= 0123','02301211000','02301211001','02301211002','02301211003','0230121101= 0','02301211012','02301211020','02301211021','02301211022','02301211023',= '02301211030','02301211032','02301211033','02301211201','02301211202','02= 301211203','02301211210','02301211211','02301211212','02301211220','02301= 211221','02301211222','02301211223','02301211230','02301211232','02301211= 233','02301212003','02301212012','02301212021','02301212023','02301212030= ','02301212032','02301212033','02301212210','02301212211','02301212213','= 02301212302','02301212303','02301212320','02301212321','02301212323','023= 01212330','02301212331','02301212332','02301212333','02301213000','023012= 13001','02301213002','02301213010','02301213011','02301213012','023012130= 13','02301213020','02301213021','02301213022','02301213031','02301213100'= ,'02301213102','02301213120','02301213211','02301213213','02301213220','0= 2301213221','02301213222','02301213223','02301213230','02301213231','0230= 1213232','02301213233','02301213300','02301213301','02301213302','0230121= 3303','02301213310','02301213311','02301213312','02301213313','0230121332= 0','02301213321','02301213322','02301213323','02301213330','02301213331',= '02301213332','02301213333','02301231000','02301231001','02301231003','02= 301231010','02301231011','02301231012','02301231013','02301231030','02301= 231031','02301231100','02301231101','02301231102','02301231103','02301231= 110','02301231111','02301231112','02301231113','02301231120','02301231121= ','02301231123','02301231130','02301231131','02301231132','02301231133','= 02301231303','02301231310','02301231311','02301231312','02301231321','023= 01231323','02301231330','02301231331','02301231332','02301231333','023013= 00230','02301300231','02301300232','02301300233','02301300302','023013003= 20','02301301113','02301301131','02301301133','02301301311','02301301332'= ,'02301301333','02301302123','02301302132','02301302133','02301302200','0= 2301302201','02301302202','02301302203','02301302210','02301302211','0230= 1302212','02301302213','02301302220','02301302221','02301302222','0230130= 2223','02301302230','02301302231','02301302232','02301302233','0230130230= 0','02301302301','02301302302','02301302303','02301302310','02301302311',= '02301302312','02301302313','02301302320','02301302321','02301302322','02= 301302323','02301302330','02301302331','02301302332','02301302333','02301= 303021','02301303022','02301303110','02301303111','02301303200','02301303= 201','02301310002','02301310020','02301310021','02301310022','02301310023= ','02301310030','02301310032','02301310033','02301310200','02301310201','= 02301310210','02301310211','02301310212','02301310213','02301312013','023= 01312031','02301312033','02301312102','02301312103','02301312112','023013= 12113','02301312120','02301312122','02301312130','02301312131','023013122= 11','02301312300','02301312302','02301312320','02301312321','02301312323'= ,'02301312330','02301312332','02301320000','02301320001','02301320002','0= 2301320003','02301320010','02301320011','02301320012','02301320013','0230= 1320020','02301320021','02301320022','02301320023','02301320030','0230132= 0031','02301320032','02301320033','02301320100','02301320101','0230132010= 2','02301320103','02301320110','02301320111','02301320112','02301320113',= '02301320120','02301320121','02301320122','02301320123','02301320130','02= 301320131','02301320132','02301320133','02301320200','02301320201','02301= 320203','02301320210','02301320211','02301320212','02301320213','02301320= 230','02301320231','02301320300','02301320301','02301320302','02301320303= ','02301320310','02301320311','02301320312','02301320320','02301320321','= 02301320322','02301320323','02301320330','02301320332','02301321001','023= 01321002','02301321003','02301321010','02301321011','02301321012','023013= 21013','02301321020','02301321021','02301321022','02301321023','023013210= 30','02301321032','02301321033','02301321100','02301321101','02301321102'= ,'02301321103','02301321201','02301321210','02301321211','02301321212','0= 2301321213','02301321332','02301321333','02301322100','02301322101','0230= 1322102','02301322103','02301322110','02301322111','02301322112','0230132= 2113','02301322120','02301322121','02301322122','02301322123','0230132213= 0','02301322131','02301322132','02301322133','02301322301','02301322310',= '02301323000','02301323002','02301323020','02301323103','02301323110','02= 301323111','02301323112','02301323113','02301323121','02301323130','02301= 323131','02301323132','02301323133','02301330011','02301330100','02301330= 101','02301330102','02301330103','02301330110','02301331312','02301331313= ','02301331330','02301331331','02301332031','02301332033','02301332120','= 02301332121','02301332122','02301332123','02301332210','02301332211','023= 01333301','02301333303','02301333310','02301333312','02310000003','023100= 00010','02310000011','02310000012','02310000013','02310000021','023100000= 23','02310000030','02310000031','02310000032','02310000033','02310000100'= ,'02310000102','02310000103','02310000120','02310000121','02310000122','0= 2310000123','02310000201','02310000203','02310000210','02310000211','0231= 0000212','02310000213','02310000230','02310000231','02310000232','0231000= 0233','02310000300','02310000301','02310000302','02310000303','0231000031= 0','02310000312','02310000320','02310000321','02310000322','02310000323',= '02310000330','02310000332','02310002001','02310002010','02310002011','02= 310002100','02310002101','02310002110','02310012303','02310012312','02310= 012313','02310012321','02310012330','02310012331','02310022303','02310022= 312','02310022321','02310022330','02310032321','02310032330','02310032331= ','02310032332','02310032333','02310033202','02310033203','02310033212','= 02310033220','02310033221','02310033222','02310033223','02310033230','023= 10033231','02310033232','02310033233','02310101012','02310101021','023101= 01023','02310101030','02310101032','02310101033','02310101122','023101012= 01','02310101202','02310101203','02310101210','02310101211','02310101212'= ,'02310101220','02310101221','02310101222','02310101223','02310101230','0= 2310101231','02310101232','02310101233','02310101300','02310101301','0231= 0101322','02310101323','02310101332','02310101333','02310103000','0231010= 3001','02310103002','02310103003','02310103010','02310103011','0231010301= 2','02310103013','02310103020','02310103021','02310103022','02310103023',= '02310103030','02310103031','02310103032','02310103033','02310103100','02= 310103101','02310103102','02310103103','02310103110','02310103111','02310= 103112','02310103113','02310103120','02310103121','02310103122','02310103= 130','02310103131','02310103203','02310103210','02310103211','02310103212= ','02310103213','02310103231','02310103233','02310103300','02310103302','= 02310103320','02310103322','02310110222','02310110223','02310110232','023= 10112000','02310112001','02310112002','02310112003','02310112010','023101= 12012','02310112020','02310112021','02310112030','02310121011','023101210= 33','02310121100','02310121102','02310121122','02310121123','02310121211'= ,'02310121300','02310121301','02310200132','02310200133','02310202033','0= 2310202102','02310202103','02310202120','02310202121','02310202122','0231= 0202211','02310202300','02310210231','02310210233','02310210320','0231021= 0321','02310210322','02310210323','02310210332','02310210333','0231021120= 2','02310211203','02310211212','02310211213','02310211220','02310211221',= '02310211222','02310211223','02310211230','02310211231','02310211232','02= 310211233','02310211302','02310211303','02310211320','02310211321','02310= 211322','02310212011','02310212013','02310212100','02310212101','02310212= 103','02310212110','02310212111','02310212112','02310212113','02310212130= ','02310212131','02310212132','02310213000','02310213001','02310213002','= 02310213003','02310213010','02310213011','02310213012','02310213100','023= 10213112','02310213113','02310213130','02310213131','02310213132','023102= 13133','02310213310','02310213311','02310220021','02310220023','023102200= 30','02310220031','02310220032','02310220033','02310220122','02310220200'= ,'02310220201','02310220202','02310220203','02310220210','02310220211','0= 2310220212','02310220213','02310220220','02310220221','02310220223','0231= 0220230','02310220231','02310220232','02310220233','02310220300','0231022= 0302','02310220303','02310220320','02310220321','02310220322','0231022032= 3','02310220330','02310222310','02310222311','02310222312','02310222313',= '02310222331','02310222333','02310223200','02310223201','02310223202','02= 310223203','02310223212','02310223220','02310223221','02310223222','02310= 223223','02310223230','02310223232','02310300110','02310300111','02310300= 112','02310300113','02310300122','02310300123','02310300130','02310300131= ','02310300300','02310300301','02310300302','02310300303','02310300320','= 02310300321','02310300322','02310300323','02310302002','02310302003','023= 10302012','02310302013','02310302020','02310302021','02310302022','023103= 02023','02310302030','02310302031','02310302032','02310302033','023103021= 01','02310302120','02310302121','02310302122','02310302123','02310302200'= ,'02310302201','02310302210','02310302211','02310302212','02310302213','0= 2310302230','02310302231','02310302232','02310302233','02310302300','0231= 0302301','02310302302','02310302320','02310311230','02310311231','0231031= 1232','02310311233','02310311320','02310311321','02310311322','0231031132= 3','02310311330','02310311332','02310313010','02310313011','02310313012',= '02310313013','02310313030','02310313031','02310313032','02310313033','02= 310313100','02310313101','02310313102','02310313103','02310313110','02310= 313112','02310313120','02310313121','02310313122','02310313123','02310313= 130','02310313132','02310313210','02310313211','02310313212','02310313213= ','02310313300','02310313301','02310313302','02310313303','02310313310','= 02310313312','02310322223','02310322232','02310322233','02310322322','023= 10322323','02310322332','02310322333','02310323222','02310323223','023103= 23232','02310323233','02310331033','02310331211','02310331213','023103312= 31','02310331300','02310331301','02310331302','02310331303','02310331320'= ,'02310331321','02310333223','02310333232','02310333233','02311011000','0= 2311011001','02311011002','02311011003','02311011010','02311011011','0231= 1011012','02311011013','02311011020','02311011021','02311011022','0231101= 1023','02311011030','02311011031','02311011032','02311011033','0231101110= 0','02311011101','02311013303','02311013312','02311013313','02311013321',= '02311013323','02311013330','02311013331','02311013332','02311013333','02= 311030103','02311030112','02311030113','02311030121','02311030123','02311= 030130','02311030131','02311030132','02311030133','02311030231','02311030= 233','02311030310','02311030311','02311030313','02311030320','02311030321= ','02311030322','02311030323','02311030330','02311030331','02311030332','= 02311030333','02311031002','02311031003','02311031020','02311031021','023= 11031022','02311031023','02311031200','02311031201','02311031202','023110= 31203','02311032011','02311032013','02311032031','02311032100','023110321= 01','02311032102','02311032103','02311032110','02311032111','02311032112'= ,'02311032113','02311032120','02311032121','02311032130','02311032131','0= 2311033301','02311033303','02311033310','02311033311','02311033312','0231= 1033313','02311033321','02311033323','02311033330','02311033331','0231103= 3332','02311033333','02311100231','02311100233','02311100320','0231110032= 1','02311100322','02311100323','02311102011','02311102013','02311102030',= '02311102031','02311102032','02311102033','02311102100','02311102101','02= 311102102','02311102103','02311102120','02311102121','02311102122','02311= 102123','02311102130','02311102131','02311102132','02311102133','02311102= 202','02311102210','02311102211','02311102212','02311102213','02311102220= ','02311102221','02311102222','02311102223','02311102230','02311102231','= 02311102232','02311102233','02311102300','02311102301','02311102302','023= 11102303','02311102310','02311102311','02311102312','02311102313','023111= 02320','02311102321','02311102322','02311102323','02311102330','023111023= 31','02311102332','02311102333','02311103020','02311103022','02311103200'= ,'02311103202','02311103220','02311103222','02311103233','02311103320','0= 2311103321','02311103322','02311103323','02311103330','02311103332','0231= 1111113','02311111303','02311111312','02311111313','02311111320','0231111= 1321','02311111322','02311111323','02311111330','02311111331','0231111133= 2','02311111333','02311112002','02311112003','02311112012','02311112020',= '02311112021','02311112022','02311112023','02311112030','02311112031','02= 311112032','02311112033','02311112122','02311112123','02311112132','02311= 112133','02311112200','02311112201','02311112203','02311112210','02311112= 211','02311112212','02311112213','02311112221','02311112223','02311112230= ','02311112231','02311112232','02311112233','02311112300','02311112301','= 02311112302','02311112303','02311112310','02311112311','02311112312','023= 11112313','02311112320','02311112321','02311112330','02311112331','023111= 13011','02311113013','02311113100','02311113101','02311113102','023111131= 03','02311113110','02311113111','02311113112','02311113113','02311113120'= ,'02311113121','02311113122','02311113123','02311113130','02311113131','0= 2311113132','02311113133','02311113200','02311113202','02311113220','0231= 1113232','02311113233','02311113322','02311113323','02311113330','0231111= 3331','02311113332','02311113333','02311120010','02311120011','0231112010= 0','02311120101','02311120103','02311120110','02311120111','02311120112',= '02311120113','02311120121','02311120130','02311120131','02311121000','02= 311121002','02311121011','02311121013','02311121020','02311121031','02311= 121100','02311121101','02311121102','02311121103','02311121110','02311121= 112','02311121120','02311121121','02311121130','02311122123','02311122131= ','02311122132','02311122133','02311122301','02311122310','02311122311','= 02311123013','02311123031','02311123033','02311123102','02311123103','023= 11123112','02311123120','02311123121','02311123122','02311123123','023111= 23130','02311123132','02311123200','02311123211','02311123300','023111233= 01','02311123310','02311130010','02311130011','02311130020','02311130021'= ,'02311130022','02311130023','02311130030','02311130032','02311130033','0= 2311130200','02311130201','02311130202','02311130203','02311130210','0231= 1130211','02311130212','02311130213','02311130221','02311130230','0231113= 0231','02311131002','02311131003','02311131010','02311131011','0231113101= 2','02311131013','02311131021','02311131023','02311131030','02311131031',= '02311131032','02311131033','02311131100','02311131101','02311131102','02= 311131103','02311131110','02311131111','02311131112','02311131113','02311= 131120','02311131121','02311131122','02311131123','02311131130','02311131= 131','02311131132','02311131133','02311131201','02311131211','02311131213= ','02311131300','02311131301','02311131302','02311131303','02311131310','= 02311131311','02311131312','02311131320','02311131321','02311133213','023= 11133231','02311133302','02311133303','02311133312','02311133320','023111= 33321','02311133322','02311133323','02311133330','02311133331','023111333= 32','02311133333','02311203123','02311203132','02311203133','02311203301'= ,'02311203303','02311203310','02311203311','02311203312','02311203313','0= 2311203321','02311203330','02311203331','02311203332','02311203333','0231= 1210121','02311210123','02311210130','02311210131','02311210132','0231121= 0133','02311210231','02311210232','02311210233','02311210301','0231121030= 2','02311210303','02311210310','02311210311','02311210312','02311210313',= '02311210320','02311210321','02311210322','02311210323','02311210330','02= 311210331','02311210332','02311210333','02311211020','02311211021','02311= 211022','02311211023','02311211030','02311211031','02311211032','02311211= 033','02311211101','02311211103','02311211110','02311211111','02311211112= ','02311211113','02311211120','02311211121','02311211122','02311211123','= 02311211130','02311211131','02311211132','02311211133','02311211200','023= 11211201','02311211202','02311211203','02311211210','02311211212','023112= 11300','02311211301','02311211303','02311211310','02311211311','023112113= 12','02311211313','02311212001','02311212003','02311212010','02311212011'= ,'02311212012','02311212013','02311212021','02311212022','02311212023','0= 2311212030','02311212031','02311212032','02311212033','02311212100','0231= 1212101','02311212102','02311212103','02311212110','02311212111','0231121= 2112','02311212113','02311212120','02311212121','02311212122','0231121212= 3','02311212130','02311212131','02311212132','02311212133','02311212200',= '02311212201','02311212202','02311212203','02311212210','02311212211','02= 311212212','02311212213','02311212220','02311212221','02311212222','02311= 212223','02311212230','02311212231','02311212232','02311212233','02311212= 300','02311212301','02311212302','02311212303','02311212310','02311212311= ','02311212312','02311212313','02311212320','02311212321','02311212322','= 02311212323','02311212330','02311212331','02311212332','02311212333','023= 11213020','02311213022','02311213023','02311213032','02311213033','023112= 13200','02311213201','02311213202','02311213203','02311213210','023112132= 11','02311213212','02311213213','02311213220','02311213221','02311213222'= ,'02311213223','02311213230','02311213231','02311213232','02311213233','0= 2311221100','02311221101','02311221102','02311221103','02311221110','0231= 1221111','02311221112','02311221113','02311221120','02311221121','0231122= 1122','02311221123','02311221130','02311221131','02311221132','0231122113= 3','02311222102','02311222120','02311222121','02311222122','02311222123',= '02311222132','02311222133','02311222300','02311222301','02311222310','02= 311222311','02311222312','02311222313','02311222330','02311222331','02311= 222332','02311222333','02311223022','02311223023','02311223113','02311223= 131','02311223133','02311223200','02311223201','02311223202','02311223203= ','02311223220','02311223221','02311223222','02311223223','02311223311','= 02311223312','02311223313','02311223330','02311223331','02311223333','023= 11230001','02311230002','02311230010','02311230011','02311230020','023112= 30022','02311230100','02311230101','02311230102','02311230103','023112301= 10','02311230111','02311230112','02311230113','02311230120','02311230121'= ,'02311230122','02311230123','02311230130','02311230131','02311230132','0= 2311230133','02311230212','02311230213','02311230230','02311230231','0231= 1230232','02311230233','02311230301','02311230302','02311230303','0231123= 0310','02311230311','02311230312','02311230313','02311230320','0231123032= 1','02311230322','02311230323','02311230330','02311230331','02311230332',= '02311230333','02311231000','02311231001','02311231002','02311231003','02= 311231010','02311231011','02311231012','02311231013','02311231020','02311= 231021','02311231022','02311231023','02311231030','02311231031','02311231= 032','02311231033','02311231100','02311231101','02311231102','02311231103= ','02311231110','02311231112','02311231120','02311231121','02311231122','= 02311231123','02311231130','02311231131','02311231132','02311231133','023= 11231200','02311231201','02311231202','02311231203','02311231210','023112= 31211','02311231212','02311231213','02311231220','02311231221','023112312= 22','02311231223','02311231230','02311231231','02311231232','02311231233'= ,'02311231300','02311231301','02311231302','02311231303','02311231310','0= 2311231311','02311231312','02311231313','02311231320','02311231321','0231= 1231322','02311231323','02311231330','02311231331','02311231332','0231123= 1333','02311232000','02311232001','02311232002','02311232003','0231123201= 0','02311232011','02311232012','02311232013','02311232020','02311232021',= '02311232022','02311232023','02311232030','02311232031','02311232032','02= 311232033','02311232100','02311232101','02311232102','02311232103','02311= 232110','02311232111','02311232112','02311232113','02311232120','02311232= 121','02311232122','02311232123','02311232130','02311232131','02311232132= ','02311232133','02311232200','02311232201','02311232202','02311232203','= 02311232210','02311232211','02311232212','02311232213','02311232220','023= 11232221','02311232222','02311232223','02311232230','02311232231','023112= 32232','02311232233','02311232300','02311232301','02311232302','023112323= 03','02311232310','02311232311','02311232312','02311232313','02311232320'= ,'02311232321','02311232322','02311232323','02311232330','02311232331','0= 2311232332','02311232333','02311233000','02311233001','02311233002','0231= 1233003','02311233010','02311233011','02311233012','02311233013','0231123= 3020','02311233021','02311233022','02311233023','02311233030','0231123303= 1','02311233032','02311233033','02311233100','02311233101','02311233102',= '02311233103','02311233110','02311233111','02311233112','02311233113','02= 311233120','02311233121','02311233122','02311233123','02311233130','02311= 233131','02311233133','02311233200','02311233201','02311233202','02311233= 203','02311233210','02311233211','02311233212','02311233213','02311233220= ','02311233221','02311233222','02311233223','02311233230','02311233231','= 02311233300','02311233301','02311233302','02311233303','02311300101','023= 11300103','02311300110','02311300111','02311300112','02311300113','023113= 00121','02311300123','02311300130','02311300131','02311300132','023113001= 33','02311300301','02311300303','02311300310','02311300311','02311300312'= ,'02311300313','02311300321','02311300330','02311300331','02311300332','0= 2311300333','02311301000','02311301001','02311301002','02311301003','0231= 1301010','02311301012','02311301020','02311301021','02311301022','0231130= 1023','02311301030','02311301032','02311301111','02311301113','0231130113= 1','02311301133','02311301200','02311301201','02311301202','02311301203',= '02311301220','02311301221','02311301222','02311301223','02311301311','02= 311302110','02311302111','02311302112','02311302113','02311302130','02311= 302131','02311302132','02311302133','02311302310','02311302311','02311303= 000','02311303001','02311303002','02311303003','02311303020','02311303021= ','02311303022','02311303133','02311303311','02311310000','02311310001','= 02311310002','02311310003','02311310010','02311310012','02311310020','023= 11310021','02311310022','02311310023','02311310030','02311310032','023113= 10200','02311310201','02311310210','02311311100','02311311101','023113111= 10','02311311111','02311312022','02311312023','02311312030','02311312031'= ,'02311312032','02311312033','02311312120','02311312122','02311312200','0= 2311312201','02311312202','02311312203','02311312210','02311312211','0231= 1312212','02311312213','02311312221','02311312230','02311312231','0231131= 2232','02311312233','02311312300','02311312302','02311312320','0231131232= 2','02311313110','02311313111','02311313112','02311313113','02311313130',= '02311313131','02311313132','02311313133','02311313233','02311313301','02= 311313303','02311313310','02311313311','02311313312','02311313313','02311= 313320','02311313321','02311313322','02311313323','02311313330','02311313= 331','02311313332','02311313333','02311320020','02311320021','02311320022= ','02311320023','02311320030','02311320031','02311320032','02311320033','= 02311320120','02311320122','02311320123','02311320200','02311320201','023= 11320202','02311320203','02311320210','02311320211','02311320212','023113= 20213','02311320220','02311320221','02311320222','02311320223','023113202= 30','02311320231','02311320232','02311320233','02311320300','02311320301'= ,'02311320302','02311320303','02311320320','02311320321','02311320322','0= 2311320323','02311320330','02311320331','02311320332','02311320333','0231= 1321200','02311321201','02311321202','02311321203','02311321220','0231132= 1221','02311321222','02311321223','02311322000','02311322001','0231132200= 2','02311322003','02311322010','02311322011','02311322012','02311322013',= '02311322020','02311322022','02311322023','02311322033','02311322100','02= 311322101','02311322102','02311322103','02311322110','02311322111','02311= 322112','02311322113','02311322120','02311322121','02311322122','02311322= 123','02311322130','02311322131','02311322132','02311322133','02311322200= ','02311322201','02311322203','02311322210','02311322211','02311322212','= 02311322213','02311322220','02311322221','02311322230','02311322231','023= 11322233','02311322300','02311322301','02311322302','02311322303','023113= 22310','02311322311','02311322312','02311322313','02311322320','023113223= 21','02311322322','02311322323','02311322330','02311322332','02311323000'= ,'02311323001','02311323002','02311323003','02311323010','02311323011','0= 2311323012','02311323013','02311323020','02311323021','02311323022','0231= 1323023','02311323030','02311323031','02311323032','02311323033','0231132= 3100','02311323102','02311323120','02311323122','02311323131','0231132313= 3','02311323200','02311323201','02311323202','02311323203','02311323210',= '02311323211','02311323212','02311323213','02311323220','02311323221','02= 311323230','02311323231','02311323300','02311323302','02311323311','02311= 323320','02311331011','02311331013','02311331031','02311331033','02311331= 100','02311331101','02311331102','02311331103','02311331110','02311331111= ','02311331112','02311331113','02311331120','02311331121','02311331122','= 02311331123','02311331130','02311331131','02311331132','02311331133','023= 11331201','02311331203','02311331210','02311331211','02311331212','023113= 31213','02311331221','02311331230','02311331231','02311331232','023113312= 33','02311331300','02311331301','02311331302','02311331303','02311331310'= ,'02311331311','02311331312','02311331313','02311331320','02311331321','0= 2311331322','02311331323','02311331330','02311331331','02311331332','0231= 1331333','02311332020','02311332021','02311332022','02311332023','0231133= 2030','02311332031','02311332032','02311332033','02311332100','0231133210= 1','02311332102','02311332103','02311332110','02311332111','02311332112',= '02311332113','02311332120','02311332121','02311332122','02311332123','02= 311332130','02311332131','02311332132','02311332200','02311332201','02311= 332210','02311332211','02311332212','02311332213','02311332230','02311332= 231','02311332300','02311332301','02311332302','02311332310','02311332320= ','02311333001','02311333003','02311333010','02311333011','02311333012','= 02311333013','02311333021','02311333023','02311333030','02311333031','023= 11333032','02311333033','02311333100','02311333101','02311333102','023113= 33103','02311333110','02311333111','02311333112','02311333113','023113331= 20','02311333121','02311333122','02311333123','02311333130','02311333131'= ,'02311333132','02311333133','02311333210','02311333211','02311333212','0= 2311333213','02311333222','02311333223','02311333230','02311333231','0231= 1333232','02311333233','02311333300','02311333301','02311333302','0231133= 3303','02311333310','02311333311','02311333312','02311333313','0231133332= 0','02311333321','02311333322','02311333323','02311333330','02311333331',= '02311333332','02311333333','02312001000','02312001001','02312001002','02= 312100001','02312100003','02312100010','02312100011','02312100012','02312= 100013','02312100031','02312100033','02312100100','02312100101','02312100= 102','02312100103','02312100110','02312100111','02312100112','02312100113= ','02312100120','02312100121','02312100122','02312100123','02312100130','= 02312100131','02312100132','02312100133','02312100300','02312100301','023= 12100303','02312100310','02312100311','02312100312','02312100313','023121= 00330','02312100331','02312100333','02312101000','02312101002','023121010= 03','02312101010','02312101011','02312101012','02312101013','02312101020'= ,'02312101021','02312101022','02312101023','02312101030','02312101031','0= 2312101032','02312101033','02312101200','02312101201','02312101202','0231= 2101203','02312101210','02312101211','02312101212','02312101213','0231210= 1220','02312101221','02312101222','02312101223','02312101230','0231210123= 1','02312101232','02312101233','02312103000','02312103001','02312103010',= '02312103011','02312103012','02312103013','02312111000','02312111001','02= 312111002','02312111003','02312111010','02312111011','02312112003','02312= 112010','02312112011','02312112012','02312112013','02312112021','02312112= 023','02312112030','02312112031','02312112032','02312112033','02312112100= ','02312112102','02312112103','02312112120','02312112121','02312112122','= 02312112123','02312112130','02312112131','02312112132','02312112133','023= 12112201','02312112203','02312112210','02312112211','02312112212','023121= 12213','02312112221','02312112223','02312112230','02312112231','023121122= 32','02312112233','02312112300','02312112301','02312112302','02312112303'= ,'02312112310','02312112311','02312112312','02312112313','02312112320','0= 2312112321','02312112322','02312112323','02312112330','02312112331','0231= 2112332','02312112333','02312113022','02312113200','02312113201','0231211= 3202','02312113203','02312113212','02312113220','02312113221','0231211322= 2','02312113230','02312130001','02312130003','02312130010','02312130011',= '02312130012','02312130013','02312130021','02312130030','02312130031','02= 312130033','02312130100','02312130101','02312130102','02312130110','02312= 130111','02312130112','02312130113','02312130120','02312130121','02312130= 122','02312130123','02312130130','02312130132','02312130301','02313000033= ','02313000120','02313000121','02313000122','02313000123','02313000300','= 02313001313','02313001331','02313001333','02313003111','02313003113','023= 13003311','02313003312','02313003313','02313003320','02313003321','023130= 03322','02313003323','02313003330','02313003331','02313003332','023130033= 33','02313010000','02313010001','02313010010','02313010013','02313010021'= ,'02313010023','02313010030','02313010031','02313010033','02313010101','0= 2313010102','02313010103','02313010110','02313010111','02313010112','0231= 3010113','02313010120','02313010121','02313010122','02313010123','0231301= 0130','02313010131','02313010132','02313010133','02313010201','0231301020= 2','02313010203','02313010212','02313010213','02313010220','02313010221',= '02313010222','02313010223','02313010230','02313010231','02313010232','02= 313010233','02313010301','02313010302','02313010303','02313010310','02313= 010311','02313010312','02313010320','02313010321','02313010322','02313010= 323','02313010330','02313010332','02313011000','02313011001','02313011002= ','02313011003','02313011020','02313011021','02313011022','02313011023','= 02313011200','02313011333','02313012000','02313012001','02313012002','023= 13012003','02313012010','02313012011','02313012012','02313012013','023130= 12020','02313012021','02313012023','02313012030','02313012031','023130120= 32','02313012033','02313012100','02313012101','02313012102','02313012103'= ,'02313012110','02313012111','02313012112','02313012113','02313012120','0= 2313012121','02313012122','02313012123','02313012130','02313012131','0231= 3012200','02313012201','02313012202','02313012203','02313012210','0231301= 2211','02313012212','02313012213','02313012220','02313012221','0231301222= 2','02313012223','02313012230','02313012231','02313012232','02313012233',= '02313012300','02313012301','02313012302','02313012320','02313012321','02= 313012322','02313012323','02313013110','02313013111','02313013112','02313= 013113','02313013123','02313013130','02313013131','02313013132','02313013= 133','02313013301','02313013310','02313013311','02313013312','02313013313= ','02313013321','02313013323','02313013330','02313013331','02313013332','= 02313013333','02313020312','02313020313','02313020330','02313020331','023= 13020332','02313020333','02313021100','02313021101','02313021102','023130= 21103','02313021110','02313021111','02313021112','02313021113','023130211= 20','02313021121','02313021130','02313021131','02313021133','02313021202'= ,'02313021203','02313021212','02313021220','02313021221','02313021222','0= 2313021223','02313021230','02313021232','02313022101','02313022103','0231= 3022110','02313022111','02313022112','02313022113','02313022130','0231302= 2131','02313022133','02313023000','02313023001','02313023002','0231302300= 3','02313023010','02313023012','02313023013','02313023020','02313023021',= '02313023022','02313023023','02313023030','02313023031','02313023032','02= 313023033','02313023102','02313023103','02313023112','02313023120','02313= 023121','02313023122','02313023123','02313023130','02313023132','02313023= 200','02313023201','02313023203','02313023210','02313023211','02313023212= ','02313023213','02313023221','02313023230','02313023231','02313023232','= 02313023233','02313023300','02313023301','02313023302','02313023303','023= 13023310','02313023312','02313023313','02313023320','02313023321','023130= 23322','02313023323','02313023330','02313023331','02313023332','023130233= 33','02313030000','02313030001','02313030002','02313030003','02313030010'= ,'02313030011','02313030012','02313030013','02313030020','02313030021','0= 2313030022','02313030100','02313030102','02313030333','02313031101','0231= 3031103','02313031110','02313031111','02313031112','02313031113','0231303= 1130','02313031131','02313031133','02313031222','02313031223','0231303201= 3','02313032030','02313032031','02313032032','02313032033','02313032102',= '02313032111','02313032112','02313032113','02313032120','02313032121','02= 313032122','02313032123','02313032130','02313032131','02313032132','02313= 032133','02313032210','02313032211','02313032213','02313032222','02313032= 300','02313032301','02313032302','02313032303','02313032310','02313032311= ','02313032312','02313032313','02313033000','02313033001','02313033002','= 02313033003','02313033020','02313033021','02313033022','02313100011','023= 13100100','02313100101','02313100110','02313100213','02313100221','023131= 00222','02313100223','02313100230','02313100231','02313100232','023131002= 33','02313100302','02313100303','02313100312','02313100313','02313100320'= ,'02313100321','02313100322','02313100323','02313100330','02313100331','0= 2313100332','02313100333','02313101131','02313101132','02313101133','0231= 3101201','02313101202','02313101203','02313101212','02313101213','0231310= 1220','02313101221','02313101222','02313101223','02313101230','0231310123= 1','02313101232','02313101233','02313101302','02313101310','02313101311',= '02313101313','02313101320','02313101331','02313101333','02313102000','02= 313102001','02313102002','02313102003','02313102010','02313102011','02313= 102012','02313102013','02313102020','02313102021','02313102022','02313102= 023','02313102030','02313102031','02313102032','02313102033','02313102100= ','02313102101','02313102102','02313102103','02313102110','02313102112','= 02313102113','02313102120','02313102121','02313102122','02313102123','023= 13102130','02313102131','02313102132','02313102133','02313102200','023131= 02201','02313102202','02313102203','02313102210','02313102211','023131022= 12','02313102213','02313102220','02313102221','02313102222','02313102223'= ,'02313102230','02313102231','02313102232','02313102233','02313102300','0= 2313102301','02313102302','02313102303','02313102310','02313102311','0231= 3102312','02313102320','02313102321','02313102322','02313102323','0231310= 2330','02313102332','02313102333','02313103000','02313103001','0231310300= 2','02313103003','02313103010','02313103011','02313103012','02313103013',= '02313103020','02313103021','02313103022','02313103023','02313103030','02= 313103031','02313103032','02313103033','02313103102','02313103120','02313= 103121','02313103122','02313103123','02313103130','02313103132','02313103= 133','02313103200','02313103201','02313103202','02313103203','02313103210= ','02313103211','02313103212','02313103221','02313103300','02313103301','= 02313103310','02313110020','02313110022','02313110023','02313110030','023= 13110031','02313110032','02313110033','02313110113','02313110122','023131= 10131','02313110133','02313110200','02313110201','02313110202','023131102= 03','02313110210','02313110211','02313110212','02313110213','02313110220'= ,'02313110221','02313110222','02313110223','02313110230','02313110231','0= 2313110232','02313110300','02313110311','02313111000','02313111001','0231= 3111002','02313111003','02313111010','02313111011','02313111012','0231311= 1020','02313111021','02313111022','02313111023','02313111030','0231311103= 1','02313111032','02313111033','02313111101','02313111102','02313111103',= '02313111110','02313111111','02313111112','02313111113','02313111120','02= 313111121','02313111122','02313111123','02313111130','02313111131','02313= 111132','02313111133','02313111200','02313111201','02313111202','02313111= 203','02313111210','02313111211','02313111212','02313111213','02313111220= ','02313111221','02313111223','02313111230','02313111231','02313111232','= 02313111233','02313111300','02313111301','02313111302','02313111303','023= 13111310','02313111311','02313111312','02313111313','02313111320','023131= 11321','02313111330','02313111331','02313111332','02313111333','023131120= 31','02313112032','02313112033','02313112120','02313112121','02313112122'= ,'02313112123','02313112210','02313112211','02313112300','02313112301','0= 2313113000','02313113001','02313113002','02313113003','02313113010','0231= 3113011','02313113012','02313113020','02313113021','02313113023','0231311= 3030','02313113031','02313113032','02313113033','02313113110','0231311311= 1','02313113112','02313113113','02313113121','02313113122','02313113123',= '02313113130','02313113131','02313113132','02313113133','02313113210','02= 313113211','02313113212','02313113213','02313113230','02313113231','02313= 113232','02313113233','02313113300','02313113301','02313113302','02313113= 303','02313113310','02313113311','02313113312','02313113313','02313113320= ','02313113321','02313113322','02313113323','02313113330','02313113331','= 02313113332','02313113333','02313120000','02313120001','02313120002','023= 13120003','02313120010','02313120011','02313120012','02313120013','023131= 20020','02313120021','02313120022','02313120023','02313120030','023131200= 31','02313120032','02313120033','02313120100','02313120101','02313120102'= ,'02313120103','02313120110','02313120111','02313120120','02313120201','0= 2313131100','02313131101','02313131103','02313131110','02313131111','0231= 3131112','02313131113','02313131121','02313131130','02313131131','0231313= 1132','02313131133','02313201010','02313201011','02313201012','0231320101= 3','02313201031','02313201033','02313201100','02313201101','02313201102',= '02313201103','02313201110','02313201111','02313201112','02313201113','02= 313201120','02313201121','02313201122','02313201123','02313201130','02313= 201131','02313201132','02313201133','02313201300','02313201301','02313201= 310','02313201311','02313201312','02313201313','02313210000','02313210002= ','02313210020','02313210022','02313210023','02313210032','02313210123','= 02313210132','02313210200','02313210201','02313210202','02313210203','023= 13210210','02313210211','02313210212','02313210213','02313210220','023132= 10221','02313210230','02313210231','02313210300','02313210301','023132103= 02','02313210303','02313210310','02313210311','02313210312','02313210313'= ,'02313210320','02313210321','02313210322','02313210323','02313210330','0= 2313210331','02313210332','02313210333','02313212101','02313212110','0302= 2023330','03022023331','03022023332','03022023333','03022032201','0302203= 2202','03022032203','03022032210','03022032212','03022032220','0302203222= 1','03022032222','03022032223','03022032230','03022200000','03022200001',= '03022200002','03022200003','03022200010','03022200012','03022200021','03= 022200030','03022200132','03022200133','03022200310','03022200311','03022= 200312','03022200313','03022200330','03022200331','03022200332','03022200= 333','03022201022','03022201023','03022201032','03022201033','03022201103= ','03022201110','03022201111','03022201112','03022201113','03022201120','= 03022201121','03022201122','03022201123','03022201130','03022201131','030= 22201132','03022201133','03022201200','03022201201','03022201202','030222= 01203','03022201210','03022201211','03022201212','03022201213','030222012= 20','03022201221','03022201222','03022201223','03022201230','03022201231'= ,'03022201232','03022201233','03022201300','03022201301','03022201302','0= 3022201303','03022201320','03022201321','03022201322','03022202110','0302= 2202111','03022202112','03022202113','03022202130','03022202131','0302220= 2132','03022202133','03022202203','03022202212','03022202213','0302220222= 0','03022202221','03022202222','03022202223','03022202230','03022202231',= '03022202232','03022202233','03022202302','03022202303','03022202310','03= 022202311','03022202320','03022202321','03022202322','03022202323','03022= 202330','03022202331','03022202332','03022202333','03022203000','03022203= 001','03022203002','03022203003','03022203010','03022203012','03022203013= ','03022203020','03022203021','03022203022','03022203023','03022203030','= 03022203031','03022203032','03022203033','03022203102','03022203103','030= 22203120','03022203121','03022203122','03022203123','03022203200','030222= 03201','03022203202','03022203203','03022203210','03022203211','030222032= 12','03022203213','03022203220','03022203221','03022203222','03022203223'= ,'03022203230','03022203231','03022203232','03022203233','03022203300','0= 3022203301','03022203302','03022203320','03022203322','03022210000','0302= 2210002','03022210020','03022212211','03022212213','03022212300','0302221= 2301','03022212302','03022212303','03022212310','03022212312','0302221231= 3','03022212320','03022212321','03022212322','03022212323','03022212330',= '03022212331','03022212332','03022212333','03022213202','03022213203','03= 022213212','03022213220','03022213221','03022213222','03022213223','03022= 213230','03022213231','03022213232','03022213233','03022213311','03022213= 313','03022213331','03022213333','03022220000','03022220001','03022220002= ','03022220003','03022220010','03022220011','03022220012','03022220013','= 03022220020','03022220021','03022220030','03022220031','03022220033','030= 22220100','03022220101','03022220102','03022220103','03022220110','030222= 20111','03022220112','03022220113','03022220120','03022220121','030222201= 22','03022220123','03022220130','03022220131','03022220132','03022220133'= ,'03022220211','03022220213','03022220231','03022220300','03022220301','0= 3022220302','03022220303','03022220310','03022220311','03022220312','0302= 2220313','03022220320','03022220321','03022220322','03022220323','0302222= 0330','03022220331','03022220332','03022220333','03022221000','0302222100= 1','03022221002','03022221003','03022221010','03022221011','03022221012',= '03022221013','03022221020','03022221021','03022221022','03022221023','03= 022221030','03022221031','03022221032','03022221033','03022221100','03022= 221102','03022221120','03022221121','03022221122','03022221200','03022221= 201','03022221202','03022221203','03022221210','03022221211','03022221212= ','03022221213','03022221220','03022221221','03022221222','03022221223','= 03022221230','03022221231','03022221232','03022221233','03022221300','030= 22221302','03022221320','03022221322','03022221323','03022222111','030222= 22113','03022222122','03022222123','03022222131','03022222132','030222221= 33','03022222300','03022222301','03022222302','03022222303','03022222310'= ,'03022222311','03022222312','03022222313','03022222321','03022222330','0= 3022222331','03022222332','03022222333','03022223000','03022223001','0302= 2223002','03022223003','03022223010','03022223011','03022223012','0302222= 3013','03022223020','03022223021','03022223022','03022223023','0302222303= 0','03022223031','03022223032','03022223033','03022223100','03022223101',= '03022223102','03022223103','03022223120','03022223121','03022223122','03= 022223123','03022223130','03022223131','03022223132','03022223133','03022= 223200','03022223201','03022223202','03022223203','03022223210','03022223= 211','03022223212','03022223213','03022223220','03022223221','03022223222= ','03022223223','03022223230','03022223231','03022223232','03022223233','= 03022223300','03022223301','03022223302','03022223303','03022223310','030= 22223311','03022223312','03022223313','03022223320','03022223321','030222= 23322','03022223323','03022223330','03022223331','03022223332','030222301= 01','03022230103','03022230110','03022230111','03022230112','03022230113'= ,'03022230121','03022230123','03022230130','03022230131','03022230132','0= 3022230133','03022230233','03022230300','03022230301','03022230302','0302= 2230303','03022230310','03022230311','03022230312','03022230313','0302223= 0320','03022230321','03022230322','03022230323','03022230330','0302223033= 1','03022230332','03022230333','03022231000','03022231001','03022231002',= '03022231003','03022231010','03022231011','03022231012','03022231013','03= 022231020','03022231021','03022231022','03022231023','03022231030','03022= 231031','03022231033','03022231113','03022231120','03022231121','03022231= 122','03022231123','03022231130','03022231131','03022231132','03022231133= ','03022231200','03022231201','03022231202','03022231203','03022231211','= 03022231213','03022231220','03022231221','03022231222','03022231223','030= 22231300','03022231301','03022231302','03022231303','03022231310','030222= 31311','03022231312','03022231313','03022231321','03022231323','030222313= 30','03022231331','03022231332','03022231333','03022232003','03022232010'= ,'03022232011','03022232012','03022232013','03022232020','03022232021','0= 3022232022','03022232023','03022232030','03022232031','03022232032','0302= 2232033','03022232100','03022232101','03022232102','03022232103','0302223= 2110','03022232111','03022232112','03022232113','03022232120','0302223212= 1','03022232122','03022232123','03022232130','03022232131','03022232132',= '03022232133','03022232200','03022232201','03022232202','03022232203','03= 022232210','03022232211','03022232300','03022232301','03022232310','03022= 232311','03022233000','03022233002','03022233020','03022233022','03022233= 111','03022233113','03022233131','03022233200','03022233212','03022233213= ','03022233222','03022233223','03022233230','03022233231','03022233232','= 03022233233','03022233302','03022233303','03022233320','03022233321','030= 22233322','03022233323','03022302001','03022302003','03022302010','030223= 02012','03022302021','03022302022','03022302023','03022302030','030223020= 32','03022302033','03022302200','03022302201','03022302202','03022302203'= ,'03022302210','03022302211','03022302212','03022302213','03022302220','0= 3022302221','03022302222','03022302223','03022302230','03022302231','0302= 2302232','03022302233','03022302302','03022302320','03022302321','0302230= 2322','03022302323','03022302332','03022302333','03022303220','0302230322= 1','03022303222','03022303223','03022303230','03022303232','03022303233',= '03022313011','03022313012','03022313013','03022313021','03022313023','03= 022313030','03022313031','03022313032','03022313033','03022313100','03022= 313102','03022313103','03022313112','03022313113','03022313120','03022313= 121','03022313122','03022313123','03022313130','03022313131','03022313201= ','03022313210','03022313211','03022313300','03022313312','03022313313','= 03022313321','03022313323','03022313330','03022313331','03022313332','030= 22313333','03022320002','03022320003','03022320010','03022320011','030223= 20012','03022320013','03022320020','03022320021','03022320022','030223200= 23','03022320030','03022320031','03022320032','03022320033','03022320100'= ,'03022320101','03022320102','03022320103','03022320111','03022320112','0= 3022320113','03022320120','03022320121','03022320122','03022320123','0302= 2320130','03022320131','03022320132','03022320133','03022320200','0302232= 0201','03022320202','03022320203','03022320210','03022320211','0302232021= 2','03022320213','03022320220','03022320221','03022320222','03022320223',= '03022320230','03022320231','03022320232','03022320233','03022320300','03= 022320301','03022320302','03022320303','03022320310','03022320311','03022= 320312','03022320313','03022320320','03022320321','03022320322','03022320= 323','03022320330','03022320331','03022320332','03022320333','03022321000= ','03022321001','03022321002','03022321003','03022321010','03022321011','= 03022321012','03022321013','03022321020','03022321021','03022321022','030= 22321023','03022321030','03022321031','03022321032','03022321200','030223= 21201','03022321202','03022321210','03022322000','03022322001','030223220= 02','03022322003','03022322010','03022322011','03022322012','03022322013'= ,'03022322020','03022322021','03022322030','03022322031','03022322032','0= 3022322033','03022322103','03022322110','03022322120','03022322121','0302= 2322122','03022322123','03022322130','03022322131','03022322132','0302232= 2133','03022322210','03022322211','03022322212','03022322213','0302232223= 0','03022322231','03022322300','03022322301','03022322302','03022322303',= '03022322320','03022322321','03022323021','03022323022','03022323023','03= 022323122','03022323123','03022323132','03022323133','03022323200','03022= 323201','03022323202','03022323203','03022323210','03022323211','03022323= 212','03022323213','03022323223','03022323231','03022323232','03022323233= ','03022323300','03022323301','03022323302','03022323303','03022323310','= 03022323311','03022323312','03022323313','03022323320','03022323321','030= 22323322','03022323323','03022323330','03022323331','03022323332','030223= 23333','03022330332','03022330333','03022331110','03022331111','030223311= 12','03022331113','03022331121','03022331123','03022331130','03022331131'= ,'03022331132','03022331133','03022331211','03022331212','03022331213','0= 3022331220','03022331221','03022331222','03022331223','03022331230','0302= 2331231','03022331232','03022331233','03022331300','03022331301','0302233= 1302','03022331303','03022331310','03022331311','03022331312','0302233131= 3','03022331320','03022331321','03022331322','03022331323','03022331330',= '03022331332','03022332002','03022332003','03022332010','03022332011','03= 022332012','03022332013','03022332020','03022332021','03022332022','03022= 332023','03022332030','03022332031','03022332032','03022332033','03022332= 100','03022332101','03022332102','03022332103','03022332110','03022332111= ','03022332112','03022332113','03022332120','03022332122','03022332123','= 03022332132','03022332133','03022332200','03022332201','03022332202','030= 22332203','03022332210','03022332211','03022332212','03022332213','030223= 32220','03022332221','03022332222','03022332223','03022332230','030223322= 31','03022332232','03022332233','03022332300','03022332301','03022332302'= ,'03022332303','03022332310','03022332311','03022332312','03022332313','0= 3022332320','03022332321','03022332322','03022332323','03022332330','0302= 2332331','03022332332','03022332333','03022333000','03022333001','0302233= 3002','03022333003','03022333010','03022333011','03022333012','0302233301= 3','03022333022','03022333100','03022333101','03022333110','03022333200',= '03022333202','03022333220','03022333221','03022333222','03022333223','03= 022333230','03022333232','03023023313','03023023331','03023023333','03023= 032200','03023032201','03023032202','03023032203','03023032210','03023032= 211','03023032212','03023032213','03023032220','03023032221','03023032222= ','03023032223','03023032230','03023033033','03023033120','03023033121','= 03023033122','03023033123','03023033130','03023033132','03023033210','030= 23033211','03023033212','03023033213','03023033230','03023033231','030230= 33300','03023033301','03023033302','03023033303','03023033310','030230333= 12','03023033320','03023033321','03023033330','03023121001','03023121003'= ,'03023121010','03023121011','03023121012','03023121013','03023121021','0= 3023121023','03023121030','03023121031','03023121032','03023121033','0302= 3201313','03023201330','03023201331','03023201332','03023201333','0302320= 2202','03023202203','03023202212','03023202213','03023202220','0302320222= 1','03023202222','03023202223','03023202230','03023202231','03023202232',= '03023202233','03023202302','03023202303','03023202320','03023202321','03= 023202322','03023202323','03023202330','03023202331','03023202332','03023= 202333','03023203110','03023203111','03023203112','03023203113','03023203= 130','03023203131','03023203132','03023203133','03023203202','03023203203= ','03023203211','03023203212','03023203213','03023203220','03023203221','= 03023203222','03023203223','03023203230','03023203231','03023203232','030= 23203233','03023203300','03023203301','03023203302','03023203303','030232= 03310','03023203311','03023203312','03023203313','03023203320','030232033= 21','03023203322','03023203323','03023203330','03023203331','03023203332'= ,'03023203333','03023210023','03023210030','03023210031','03023210032','0= 3023210033','03023210101','03023210103','03023210110','03023210111','0302= 3210112','03023210113','03023210120','03023210121','03023210122','0302321= 0123','03023210131','03023210132','03023210133','03023210201','0302321020= 2','03023210210','03023210212','03023210213','03023210220','03023210221',= '03023210222','03023210223','03023210230','03023210231','03023210232','03= 023210233','03023210300','03023210311','03023210313','03023210322','03023= 210323','03023210331','03023210333','03023211000','03023211001','03023211= 002','03023211003','03023211010','03023211011','03023211012','03023211013= ','03023211020','03023211021','03023211022','03023211023','03023211030','= 03023211031','03023211032','03023211033','03023211131','03023211132','030= 23211133','03023211200','03023211201','03023211202','03023211203','030232= 11210','03023211211','03023211212','03023211213','03023211220','030232112= 21','03023211222','03023211223','03023211230','03023211232','03023211310'= ,'03023211311','03023211312','03023211313','03023211330','03023211331','0= 3023212000','03023212001','03023212002','03023212003','03023212010','0302= 3212011','03023212012','03023212013','03023212020','03023212021','0302321= 2022','03023212023','03023212030','03023212031','03023212032','0302321203= 3','03023212100','03023212102','03023212111','03023212120','03023212122',= '03023212200','03023212201','03023212202','03023212203','03023212210','03= 023212211','03023212212','03023212213','03023212220','03023212221','03023= 212222','03023212223','03023212230','03023212231','03023212232','03023212= 233','03023212300','03023212302','03023212303','03023212312','03023212313= ','03023212320','03023212322','03023212330','03023212331','03023212332','= 03023212333','03023213000','03023213001','03023213112','03023213121','030= 23213123','03023213130','03023213132','03023213133','03023213203','030232= 13212','03023213213','03023213220','03023213221','03023213222','030232132= 23','03023213230','03023213231','03023213232','03023213233','03023213300'= ,'03023213301','03023213302','03023213303','03023213310','03023213311','0= 3023213312','03023213313','03023213320','03023213321','03023213322','0302= 3213323','03023213330','03023213331','03023213332','03023213333','0302322= 0000','03023220001','03023220002','03023220003','03023220010','0302322001= 1','03023220012','03023220013','03023220020','03023220021','03023220022',= '03023220023','03023220030','03023220031','03023220032','03023220033','03= 023220100','03023220101','03023220102','03023220103','03023220110','03023= 220111','03023220112','03023220113','03023220120','03023220122','03023220= 123','03023220130','03023220131','03023220132','03023220133','03023220200= ','03023220201','03023220202','03023220210','03023220211','03023220212','= 03023220213','03023220230','03023220231','03023220232','03023220233','030= 23220300','03023220301','03023220302','03023220303','03023220310','030232= 20311','03023220312','03023220313','03023220320','03023220321','030232203= 22','03023220323','03023220330','03023220331','03023220332','03023220333'= ,'03023221000','03023221001','03023221002','03023221003','03023221010','0= 3023221011','03023221012','03023221013','03023221020','03023221021','0302= 3221022','03023221023','03023221030','03023221031','03023221032','0302322= 1033','03023221100','03023221101','03023221102','03023221103','0302322111= 0','03023221111','03023221112','03023221113','03023221120','03023221121',= '03023221122','03023221123','03023221130','03023221131','03023221132','03= 023221200','03023221201','03023221202','03023221203','03023221210','03023= 221211','03023221212','03023221213','03023221220','03023221221','03023221= 222','03023221223','03023221230','03023221231','03023221232','03023221233= ','03023221300','03023221301','03023221302','03023221303','03023221310','= 03023221311','03023221312','03023221313','03023221320','03023221321','030= 23221322','03023221323','03023221330','03023221331','03023221332','030232= 21333','03023222010','03023222011','03023222100','03023222101','030232221= 10','03023222111','03023222231','03023222233','03023222302','03023222320'= ,'03023222321','03023222322','03023222323','03023222330','03023222332','0= 3023222333','03023223000','03023223001','03023223010','03023223011','0302= 3223100','03023223101','03023223110','03023223111','03023223222','0302322= 3223','03023223301','03023223303','03023223310','03023223311','0302322331= 2','03023223313','03023223321','03023223323','03023223330','03023223331',= '03023223332','03023223333','03023230000','03023230001','03023230002','03= 023230003','03023230010','03023230011','03023230012','03023230013','03023= 230020','03023230021','03023230022','03023230023','03023230030','03023230= 031','03023230100','03023230102','03023230110','03023230111','03023230113= ','03023230120','03023230132','03023230133','03023230200','03023230202','= 03023230203','03023230212','03023230213','03023230220','03023230221','030= 23230222','03023230223','03023230230','03023230231','03023230232','030232= 30233','03023230300','03023230301','03023230302','03023230303','030232303= 10','03023230311','03023230312','03023230313','03023230320','03023230321'= ,'03023230322','03023230323','03023230330','03023230331','03023230332','0= 3023230333','03023231000','03023231001','03023231002','03023231003','0302= 3231010','03023231011','03023231012','03023231013','03023231021','0302323= 1023','03023231030','03023231031','03023231032','03023231033','0302323110= 0','03023231101','03023231102','03023231103','03023231110','03023231111',= '03023231112','03023231113','03023231120','03023231121','03023231122','03= 023231123','03023231130','03023231131','03023231132','03023231133','03023= 231200','03023231201','03023231202','03023231203','03023231210','03023231= 211','03023231212','03023231213','03023231220','03023231221','03023231222= ','03023231223','03023231230','03023231231','03023231232','03023231233','= 03023231300','03023231301','03023231302','03023231303','03023231310','030= 23231311','03023231312','03023231313','03023231320','03023231321','030232= 31322','03023231323','03023231330','03023231331','03023231332','030232313= 33','03023232000','03023232001','03023232010','03023232011','03023232013'= ,'03023232100','03023232101','03023232102','03023232103','03023232110','0= 3023232111','03023232112','03023232113','03023232120','03023232121','0302= 3232122','03023232123','03023232130','03023232131','03023232132','0302323= 2133','03023232200','03023232201','03023232202','03023232203','0302323221= 2','03023232213','03023232220','03023232221','03023232222','03023232223',= '03023232230','03023232231','03023232232','03023232233','03023232301','03= 023232302','03023232310','03023232311','03023232312','03023232313','03023= 232320','03023232321','03023232322','03023232323','03023232331','03023232= 332','03023232333','03023233000','03023233002','03023233010','03023233011= ','03023233012','03023233013','03023233020','03023233021','03023233022','= 03023233023','03023233030','03023233031','03023233032','03023233033','030= 23233100','03023233101','03023233102','03023233103','03023233110','030232= 33111','03023233112','03023233113','03023233120','03023233121','030232331= 22','03023233123','03023233130','03023233131','03023233132','03023233133'= ,'03023233200','03023233201','03023233202','03023233203','03023233210','0= 3023233211','03023233212','03023233213','03023233220','03023233221','0302= 3233222','03023233223','03023233230','03023233231','03023233232','0302323= 3233','03023233300','03023233301','03023233302','03023233303','0302323331= 0','03023233311','03023233312','03023233313','03023233320','03023233321',= '03023233322','03023233323','03023233330','03023233331','03023233332','03= 023233333','03023300020','03023300022','03023300023','03023300200','03023= 300201','03023300202','03023300203','03023300210','03023300212','03023300= 220','03023300221','03023300222','03023300223','03023301313','03023301322= ','03023301323','03023301330','03023301331','03023301332','03023301333','= 03023302310','03023302311','03023302312','03023302313','03023302323','030= 23302330','03023302331','03023302332','03023302333','03023303100','030233= 03101','03023303102','03023303103','03023303110','03023303111','030233031= 12','03023303113','03023303120','03023303121','03023303122','03023303123'= ,'03023303130','03023303131','03023303132','03023303133','03023303200','0= 3023303201','03023303202','03023303203','03023303213','03023303220','0302= 3303221','03023303222','03023303223','03023303230','03023303231','0302330= 3232','03023303233','03023303300','03023303301','03023303302','0302330330= 3','03023303310','03023303311','03023303312','03023303313','03023303320',= '03023303321','03023303322','03023303323','03023303330','03023303331','03= 023303332','03023310023','03023310031','03023310032','03023310033','03023= 310120','03023310122','03023310123','03023310200','03023310201','03023310= 202','03023310203','03023310210','03023310211','03023310212','03023310213= ','03023310220','03023310221','03023310222','03023310223','03023310230','= 03023310231','03023310232','03023310233','03023310300','03023310301','030= 23310302','03023310303','03023310320','03023310322','03023312000','030233= 12001','03023312002','03023312003','03023312010','03023312011','030233120= 12','03023312013','03023312020','03023312021','03023312022','03023312200'= ,'03023312202','03023320020','03023320021','03023320022','03023320023','0= 3023320030','03023320031','03023320032','03023320033','03023320101','0302= 3320103','03023320110','03023320111','03023320112','03023320113','0302332= 0120','03023320121','03023320122','03023320123','03023320130','0302332013= 1','03023320132','03023320133','03023320200','03023320201','03023320202',= '03023320203','03023320210','03023320211','03023320212','03023320213','03= 023320220','03023320221','03023320222','03023320223','03023320230','03023= 320231','03023320232','03023320233','03023320300','03023320301','03023320= 302','03023320303','03023320310','03023320311','03023320312','03023320313= ','03023320320','03023320321','03023320322','03023320323','03023320330','= 03023320331','03023320332','03023320333','03023321000','03023321001','030= 23321002','03023321003','03023321010','03023321011','03023321012','030233= 21013','03023321020','03023321021','03023321022','03023321023','030233210= 30','03023321031','03023321032','03023321033','03023321100','03023321101'= ,'03023321102','03023321103','03023321110','03023321120','03023321121','0= 3023321122','03023321123','03023321130','03023321132','03023321200','0302= 3321201','03023321202','03023321203','03023321210','03023321211','0302332= 1212','03023321213','03023321220','03023321221','03023321222','0302332122= 3','03023321230','03023321231','03023321232','03023321233','03023321300',= '03023321301','03023321302','03023321320','03023321321','03023321322','03= 023321323','03023321332','03023322000','03023322001','03023322002','03023= 322003','03023322010','03023322011','03023322012','03023322013','03023322= 020','03023322021','03023322022','03023322023','03023322030','03023322031= ','03023322032','03023322033','03023322100','03023322101','03023322102','= 03023322103','03023322110','03023322111','03023322112','03023322113','030= 23322120','03023322121','03023322122','03023322123','03023322130','030233= 22131','03023322132','03023322133','03023322200','03023322201','030233222= 02','03023322203','03023322210','03023322211','03023322212','03023322213'= ,'03023322220','03023322221','03023322222','03023322223','03023322230','0= 3023322231','03023322232','03023322233','03023322300','03023322301','0302= 3322302','03023322303','03023322310','03023322311','03023322312','0302332= 2313','03023322320','03023322321','03023322322','03023322323','0302332233= 0','03023322332','03023322333','03023323000','03023323001','03023323002',= '03023323003','03023323010','03023323011','03023323012','03023323013','03= 023323020','03023323021','03023323022','03023323023','03023323030','03023= 323031','03023323032','03023323033','03023323100','03023323101','03023323= 102','03023323103','03023323110','03023323112','03023323113','03023323120= ','03023323121','03023323122','03023323123','03023323130','03023323131','= 03023323132','03023323133','03023323200','03023323201','03023323202','030= 23323203','03023323210','03023323211','03023323220','03023323221','030233= 23222','03023323223','03023323300','03023323301','03023323302','030233233= 03','03023323310','03023323311','03023323312','03023323313','03023330222'= ,'03023330223','03023332000','03023332001','03023332002','03023332003','0= 3023332010','03023332012','03023332020','03023332021','03023332022','0302= 3332023','03023332030','03023332032','03023332201','03023332202','0302333= 2203','03023332212','03023332220','03023332221','03032021332','0303202133= 3','03032022100','03032022101','03032022102','03032022103','03032022331',= '03032022333','03032023110','03032023111','03032023202','03032023220','03= 032023222','03032030222','03032031220','03032031221','03032032000','03032= 121220','03032121221','03032121222','03032121223','03032121232','03032123= 001','03032210103','03032210112','03032210121','03032210123','03032210130= ','03032210131','03032210132','03032210133','03032210301','03032210310','= 03032210311','03033012031','03033012032','03033012033','03033012120','030= 33012122','03033012201','03033012210','03033012211','03033012212','030330= 12213','03033012300','03033012302','03113321330','03113321331','031133213= 32','03113321333','03113322302','03113322303','03113322320','03113322321'= ,'03113322323','03113322330','03113322331','03113322332','03113322333','0= 3113323110','03113323111','03113323112','03113323113','03113323203','0311= 3323212','03113323213','03113323220','03113323221','03113323222','0311332= 3223','03113323231','03113323232','03113323233','03113323300','0311332330= 2','03113323303','03113323312','03113323320','03113323321','03113323322',= '03113323323','03113323330','03113323331','03113323332','03113330011','03= 113330013','03113330031','03113330102','03113330120','03113330202','03113= 330203','03113330212','03113330220','03113330221','03113330222','03113330= 223','03113330230','03113332000','03113332001','03113332002','03131010323= ','03131010332','03131012110','03131013121','03131013123','03131013130','= 03131013131','03131013132','03131013133','03131013211','03131013213','031= 31013300','03131013301','03131013302','03131013310','03131013311','031310= 23011','03131023100','03131023312','03131023313','03131023330','031310233= 31','03131031201','03131031203','03131031210','03131031212','03131031231'= ,'03131031232','03131031233','03131031320','03131031321','03131031322','0= 3131031323','03131031332','03131033010','03131033011','03131033100','0313= 1033101','03131033102','03131033103','03131033110','03131033200','0313110= 0111','03131100121','03131100123','03131100130','03131100132','0313110100= 0','03131101001','03131101010','03131102020','03131102022','03131103110',= '03131103111','03131103112','03131103113','03131110332','03131110333','03= 131111222','03131112110','03131112111','03131112112','03131112113','03131= 112310','03131112311','03131113000','03131113002','03131113020','03131113= 021','03131113022','03131113023','03131113200','03131113201','03131113321= ','03131113323','03131121111','03131121113','03131121130','03131121131','= 03131121132','03131121133','03131121310','03131121311','03131121312','031= 31121313','03131121321','03131121322','03131121323','03131121330','031311= 21331','03131121332','03131121333','03131123011','03131123100','031311231= 01','03131123110','03131123111','03131123112','03131123113','03131123313'= ,'03131123331','03131130000','03131130002','03131130022','03131130023','0= 3131130031','03131130032','03131130033','03131130112','03131130113','0313= 1130121','03131130122','03131130123','03131130130','03131130131','0313113= 0132','03131130133','03131130200','03131130201','03131130202','0313113020= 3','03131130210','03131130211','03131130212','03131130213','03131130220',= '03131130221','03131130222','03131130223','03131130230','03131130231','03= 131130232','03131130233','03131130300','03131130301','03131130302','03131= 130303','03131130310','03131130311','03131130312','03131130313','03131130= 320','03131130322','03131130331','03131130333','03131131003','03131131012= ','03131131020','03131131021','03131131022','03131131030','03131131123','= 03131131132','03131131200','03131131202','03131131203','03131131211','031= 31131212','03131131213','03131131220','03131131221','03131131222','031311= 31230','03131131231','03131131300','03131131301','03131131302','031311313= 10','03131131313','03131131320','03131131331','03131132000','03131132001'= ,'03131132002','03131132003','03131132010','03131132011','03131132012','0= 3131132021','03131132030','03131132031','03131132032','03131132033','0313= 1132100','03131132111','03131132113','03131132120','03131132122','0313113= 2132','03131132133','03131132202','03131132203','03131132211','0313113221= 2','03131132213','03131132220','03131132221','03131132230','03131132231',= '03131132233','03131132300','03131132302','03131132310','03131132311','03= 131132320','03131132321','03131132322','03131132323','03131132330','03131= 132332','03131132333','03131133000','03131133002','03131133003','03131133= 020','03131133021','03131133022','03131133023','03131133030','03131133032= ','03131133100','03131133101','03131133102','03131133103','03131133200','= 03131133201','03131133203','03131133210','03131133212','03131133220','031= 31133221','03131133222','03131133223','03131133230','03131133232','031311= 33323','03131133330','03131133332','03131201311','03131201313','031312013= 31','03131210202','03131211012','03131211013','03131301222','03131301223'= ,'03131301232','03131301323','03131301332','03131301333','03131303000','0= 3131303001','03131303010','03131303101','03131303102','03131303103','0313= 1303110','03131303111','03131303112','03131303120','03131303121','0313130= 3130','03131303131','03131303133','03131303233','03131303312','0313130332= 2','03131310010','03131310011','03131310012','03131310013','03131310022',= '03131310023','03131310031','03131310033','03131310100','03131310101','03= 131310102','03131310103','03131310110','03131310111','03131310112','03131= 310113','03131310120','03131310121','03131310130','03131310131','03131310= 200','03131310201','03131310211','03131310212','03131310213','03131310230= ','03131310231','03131310300','03131310302','03131310323','03131310332','= 03131311000','03131311001','03131311002','03131311003','03131311011','031= 31311012','03131311013','03131311030','03131311031','03131311032','031313= 11033','03131311100','03131311102','03131311113','03131311120','031313111= 21','03131311122','03131311123','03131311131','03131311210','03131311211'= ,'03131311213','03131311220','03131311221','03131311222','03131311223','0= 3131311231','03131311232','03131311233','03131311300','03131311301','0313= 1311302','03131311303','03131311310','03131311312','03131311313','0313131= 1320','03131311321','03131311322','03131311323','03131311330','0313131133= 1','03131311332','03131311333','03131312000','03131312001','03131312002',= '03131312003','03131312010','03131312012','03131312013','03131312020','03= 131312021','03131312022','03131312030','03131312031','03131312101','03131= 312103','03131312110','03131312112','03131312312','03131312313','03131312= 322','03131312323','03131312330','03131312331','03131312332','03131312333= ','03131313001','03131313002','03131313003','03131313010','03131313011','= 03131313012','03131313013','03131313020','03131313021','03131313023','031= 31313030','03131313031','03131313032','03131313033','03131313100','031313= 13101','03131313102','03131313103','03131313110','03131313111','031313131= 12','03131313113','03131313120','03131313121','03131313122','03131313123'= ,'03131313130','03131313131','03131313132','03131313133','03131313202','0= 3131313203','03131313210','03131313211','03131313212','03131313220','0313= 1313221','03131313222','03131313223','03131313230','03131313232','0313131= 3233','03131313300','03131313301','03131313310','03131313311','0313131331= 2','03131313313','03131313320','03131313321','03131313322','03131313323',= '03131313330','03131313331','03131313332','03131313333','03131320131','03= 131320133','03131321011','03131321013','03131321020','03131321021','03131= 321022','03131321023','03131321031','03131321033','03131321100','03131321= 102','03131321120','03131330001','03131330003','03131330010','03131330012= ','03131330100','03131330101','03131330110','03131330111','03131333303','= 03131333312','03131333321','03131333330','03133101222','03133101223','031= 33103000','03133103001','03133103102','03133103103','03133103120','031331= 03121','03133110323','03133110330','03133110332','03133111233','031331122= 13','03133112230','03133112231','03133112312','03133112313','03133112330'= ,'03133112331','03133112332','03133112333','03133113122','03133113123','0= 3133113232','03133113233','03133113300','03133113301','03133131010','0313= 3131011','03133131222','03133131223','03133131303','03133131321','0313321= 2322','03133212323','03133213123','03133213132','03133213133','0313321330= 1','03133213310','03133213311','03133213312','03133213313','03133213330',= '03133213331','03133221113','03133221310','03133221311','03133221312','03= 133221313','03133221321','03133221330','03133221331','03133221332','03133= 223133','03133223311','03133223312','03133223313','03133223330','03133223= 331','03133223332','03133223333','03133230002','03133230100','03133230101= ','03133230212','03133230213','03133230231','03133231032','03133231133','= 03133231210','03133232022','03133232200','03133232201','03133233133','031= 33233310','03133233311','03133233333','03133302200','03133303201','031333= 03202','03133303203','03133303210','03133303212','03133303220','031333032= 21','03133311102','03133311103','03133311120','03133311121','03133312221'= ,'03133312223','03133312230','03133312231','03133312232','03133312233','0= 3133312303','03133312312','03133312320','03133312321','03133312322','0313= 3313303','03133313312','03133313321','03133313330','03133320022','0313332= 0332','03133321212','03133321213','03133322110','03133322120','0313332212= 1','03133322122','03133322123','03133322222','03133323222','03133330001',= '03133330002','03133330003','03133330010','03133330011','03133330012','03= 133330021','03133330100','03133330112','03133330130','03133331321','03133= 331323','03133331332','03133332003','03133332012','03133332021','03133332= 030','03133333021','03133333023','03133333030','03133333031','03133333032= ','03133333033','03200000001','03200000002','03200000003','03200000010','= 03200000011','03200000012','03200000013','03200000020','03200000021','032= 00000022','03200000023','03200000030','03200000032','03200000033','032000= 00103','03200000112','03200000113','03200000120','03200000121','032000001= 22','03200000123','03200000130','03200000131','03200000132','03200000133'= ,'03200000202','03200000220','03200000222','03200000232','03200000300','0= 3200000301','03200000302','03200000303','03200000310','03200000311','0320= 0000312','03200000313','03200000320','03200000321','03200000322','0320000= 0323','03200000330','03200000331','03200000332','03200000333','0320000100= 1','03200001002','03200001010','03200001011','03200001020','03200001022',= '03200001100','03200001101','03200001110','03200001200','03200001202','03= 200001203','03200001210','03200001212','03200001220','03200001221','03200= 001223','03200001230','03200001231','03200001232','03200002000','03200002= 001','03200002002','03200002003','03200002010','03200002012','03200002020= ','03200002021','03200002022','03200002030','03200002100','03200002101','= 03200002102','03200002103','03200002110','03200002111','03200002112','032= 00002113','03200002120','03200002121','03200002130','03200002131','032000= 02220','03200002222','03200003002','03200003003','03200003012','032000030= 13','03200003020','03200003021','03200003022','03200003023','03200003030'= ,'03200003031','03200003032','03200003033','03200003121','03200003123','0= 3200003130','03200003131','03200003132','03200003133','03200003200','0320= 0003201','03200003210','03200003211','03200003301','03200003310','0320000= 3311','03200010022','03200010023','03200010032','03200010200','0320001020= 1','03200010202','03200010203','03200010210','03200010212','03200010213',= '03200010230','03200010231','03200010232','03200010233','03200010302','03= 200010303','03200010311','03200010312','03200010313','03200010320','03200= 010321','03200010322','03200010323','03200010330','03200010331','03200010= 332','03200010333','03200011000','03200011001','03200011002','03200011003= ','03200011010','03200011011','03200011012','03200011020','03200011021','= 03200011030','03200011100','03200011101','03200011111','03200011113','032= 00011131','03200011200','03200011201','03200011202','03200011203','032000= 11210','03200011211','03200011212','03200011213','03200011220','032000112= 21','03200011222','03200011223','03200011230','03200011231','03200011232'= ,'03200011233','03200011313','03200011322','03200011323','03200011331','0= 3200011333','03200012010','03200012011','03200012012','03200012013','0320= 0012020','03200012030','03200012031','03200012032','03200012033','0320001= 2100','03200012101','03200012102','03200012103','03200012110','0320001211= 1','03200012112','03200012113','03200012120','03200012121','03200012122',= '03200012123','03200012130','03200012131','03200012132','03200012133','03= 200012210','03200012211','03200012212','03200012213','03200012230','03200= 012231','03200012232','03200012233','03200012300','03200012301','03200012= 302','03200012303','03200012310','03200012311','03200012320','03200012321= ','03200012322','03200012323','03200013000','03200013001','03200013010','= 03200013011','03200013012','03200013013','03200013021','03200013022','032= 00013023','03200013030','03200013032','03200013100','03200013101','032000= 13102','03200013103','03200013111','03200013113','03200013121','032000131= 23','03200013130','03200013131','03200013132','03200013133','03200013200'= ,'03200013201','03200013202','03200013203','03200013210','03200013212','0= 3200013220','03200013221','03200013301','03200013303','03200013310','0320= 0013311','03200013312','03200013313','03200013321','03200013323','0320001= 3330','03200013331','03200013332','03200013333','03200020000','0320002000= 1','03200020002','03200020003','03200020010','03200020012','03200020020',= '03200020021','03200020022','03200020023','03200020200','03200020201','03= 200021301','03200021303','03200021310','03200021312','03200021321','03200= 021323','03200021330','03200022121','03200022123','03200022130','03200022= 131','03200022132','03200022133','03200022310','03200022311','03200022313= ','03200023020','03200023022','03200023113','03200023130','03200023131','= 03200023132','03200023133','03200023200','03200023202','03200023311','032= 00023313','03200023332','03200023333','03200030113','03200030130','032000= 30131','03200030132','03200030133','03200030211','03200030213','032000302= 31','03200030300','03200030301','03200030302','03200030303','03200030310'= ,'03200030311','03200030312','03200030313','03200030320','03200030321','0= 3200030322','03200030323','03200030330','03200030331','03200030332','0320= 0030333','03200031002','03200031003','03200031012','03200031020','0320003= 1021','03200031022','03200031023','03200031030','03200031032','0320003103= 3','03200031101','03200031103','03200031110','03200031111','03200031112',= '03200031113','03200031120','03200031121','03200031122','03200031123','03= 200031130','03200031131','03200031132','03200031200','03200031201','03200= 031202','03200031203','03200031210','03200031211','03200031212','03200031= 213','03200031220','03200031231','03200031300','03200031301','03200031302= ','03200031303','03200031310','03200031311','03200031312','03200031313','= 03200031320','03200031321','03200031323','03200031330','03200031331','032= 00031332','03200031333','03200032002','03200032020','03200032021','032000= 32022','03200032023','03200032200','03200032201','03200032202','032000322= 03','03200032211','03200032213','03200032231','03200032300','03200032301'= ,'03200032302','03200032303','03200032320','03200033110','03200033111','0= 3200033113','03200100000','03200100001','03200100002','03200100003','0320= 0100010','03200100011','03200100012','03200100020','03200100021','0320010= 0030','03200100132','03200100133','03200100202','03200100203','0320010021= 2','03200100220','03200100221','03200100222','03200100223','03200100230',= '03200100231','03200100232','03200100233','03200100310','03200100311','03= 200100312','03200100313','03200100320','03200100321','03200100322','03200= 100323','03200100330','03200100331','03200100332','03200100333','03200101= 001','03200101003','03200101010','03200101011','03200101012','03200101013= ','03200101022','03200101031','03200101033','03200101100','03200101101','= 03200101102','03200101103','03200101110','03200101111','03200101112','032= 00101113','03200101120','03200101121','03200101122','03200101130','032001= 01131','03200101133','03200101200','03200101201','03200101202','032001012= 03','03200101212','03200101213','03200101220','03200101221','03200101222'= ,'03200101223','03200101230','03200101231','03200101232','03200101233','0= 3200101302','03200101303','03200101312','03200101313','03200101320','0320= 0101321','03200101322','03200101323','03200101330','03200101331','0320010= 1332','03200101333','03200102000','03200102001','03200102002','0320010200= 3','03200102010','03200102011','03200102012','03200102013','03200102020',= '03200102021','03200102022','03200102023','03200102030','03200102031','03= 200102032','03200102100','03200102101','03200102102','03200102103','03200= 102110','03200102111','03200102112','03200102113','03200102120','03200102= 121','03200102122','03200102123','03200102130','03200102131','03200102132= ','03200102133','03200102200','03200102201','03200102202','03200102203','= 03200102210','03200102212','03200102220','03200102221','03200102222','032= 00102223','03200102230','03200102232','03200102300','03200102301','032001= 02303','03200102310','03200102311','03200102312','03200102313','032001030= 00','03200103001','03200103002','03200103003','03200103010','03200103011'= ,'03200103012','03200103013','03200103020','03200103021','03200103022','0= 3200103023','03200103030','03200103031','03200103100','03200103101','0320= 0103102','03200103103','03200103110','03200103111','03200103112','0320010= 3113','03200103133','03200103200','03200103201','03200103202','0320010320= 3','03200103310','03200103311','03200103312','03200103313','03200103330',= '03200103331','03200110000','03200110001','03200110002','03200110003','03= 200110010','03200110011','03200110012','03200110013','03200110020','03200= 110021','03200110030','03200110031','03200110033','03200110100','03200110= 101','03200110102','03200110103','03200110110','03200110111','03200110112= ','03200110113','03200110120','03200110121','03200110122','03200110123','= 03200110130','03200110131','03200110132','03200110133','03200110301','032= 00110303','03200110310','03200110311','03200110312','03200110313','032001= 10321','03200110323','03200110330','03200110331','03200110332','032001103= 33','03200111000','03200111001','03200111002','03200111003','03200111010'= ,'03200111012','03200111020','03200111021','03200111022','03200111023','0= 3200111030','03200111031','03200111032','03200111033','03200111113','0320= 0111122','03200111123','03200111131','03200111132','03200111133','0320011= 1200','03200111201','03200111202','03200111203','03200111210','0320011121= 1','03200111212','03200111213','03200111220','03200111221','03200111222',= '03200111223','03200111230','03200111231','03200111232','03200111233','03= 200111300','03200111301','03200111302','03200111303','03200111310','03200= 111311','03200111312','03200111313','03200111320','03200111321','03200111= 322','03200111323','03200111330','03200112022','03200112023','03200112101= ','03200112103','03200112110','03200112111','03200112112','03200112113','= 03200112200','03200112201','03200112202','03200112203','03200112210','032= 00112220','03200113000','03200113001','03200113002','03200113003','032001= 13010','03200113011','03200113012','03200113013','03200113100','032001131= 02','03200113111','03200113113','03200120000','03200120001','03200120010'= ,'03200120120','03200120121','03200120122','03200120123','03200120132','0= 3200120200','03200120202','03200120211','03200120213','03200120220','0320= 0120221','03200120222','03200120223','03200120300','03200120301','0320012= 0302','03200120303','03200120310','03200120311','03200120312','0320012032= 0','03200120321','03200121013','03200121030','03200121031','03200121032',= '03200121033','03200121102','03200121103','03200121113','03200121120','03= 200121121','03200121122','03200121123','03200121130','03200121131','03200= 121132','03200121133','03200121211','03200121222','03200121223','03200121= 232','03200121233','03200121300','03200121310','03200121311','03200121312= ','03200121313','03200122000','03200122001','03200122002','03200122003','= 03200123000','03200123001','03200123002','03200123003','03200123010','032= 00123011','03200123012','03200123013','03200123020','03200123021','032001= 23023','03200123030','03200123031','03200123032','03200123033','032001231= 00','03200123101','03200123102','03200123103','03200123120','03200123121'= ,'03200123122','03200123123','03200123132','03200123210','03200123211','0= 3200123213','03200123231','03200123233','03200123300','03200123301','0320= 0123302','03200123303','03200123310','03200123312','03200123320','0320012= 3321','03200123322','03200123323','03200123330','03200130020','0320013002= 2','03200130123','03200130200','03200130201','03200130202','03200130203',= '03200130301','03200130310','03200132001','03200132003','03200132010','03= 200132011','03200132012','03200132013','03200132021','03200132023','03200= 132030','03200132031','03200132032','03200132033','03200132102','03200132= 120','03200132122','03200133020','03200133021','03200133022','03200133023= ','03200133102','03200133103','03200133120','03200133121','03200133130','= 03200200001','03200200002','03200200003','03200200010','03200200011','032= 00200012','03200200013','03200200020','03200200021','03200200022','032002= 00023','03200200030','03200200031','03200200032','03200200033','032002001= 00','03200200101','03200200102','03200200103','03200200110','03200200111'= ,'03200200112','03200200113','03200200120','03200200121','03200200122','0= 3200200123','03200200130','03200200131','03200200132','03200200133','0320= 0200200','03200200201','03200200210','03200200211','03200200213','0320020= 0300','03200200301','03200200302','03200200303','03200200310','0320020031= 1','03200200312','03200200313','03200200320','03200200321','03200200330',= '03200201000','03200201001','03200201002','03200201003','03200201010','03= 200201011','03200201012','03200201013','03200201020','03200201021','03200= 201022','03200201023','03200201030','03200201031','03200201032','03200201= 033','03200201110','03200201111','03200201112','03200201113','03200201200= ','03200201201','03200201202','03200201203','03200201210','03200201211','= 03200201212','03200201213','03200201223','03200201232','03200201233','032= 00202000','03200202001','03200202002','03200202003','03200202010','032002= 02012','03200202020','03200202021','03200202022','03200202023','032002020= 30','03200202031','03200202032','03200202033','03200202120','03200202121'= ,'03200202122','03200202123','03200202130','03200202131','03200202132','0= 3200202133','03200202200','03200202201','03200202202','03200202203','0320= 0202210','03200202211','03200202212','03200202213','03200202220','0320020= 2221','03200202222','03200202223','03200202230','03200202231','0320020223= 2','03200202233','03200202300','03200202301','03200202302','03200202303',= '03200202310','03200202311','03200202312','03200202313','03200202320','03= 200202321','03200202322','03200202323','03200202330','03200202331','03200= 202332','03200202333','03200203001','03200203003','03200203010','03200203= 011','03200203012','03200203013','03200203020','03200203021','03200203022= ','03200203023','03200203030','03200203031','03200203032','03200203033','= 03200203200','03200203201','03200203202','03200203203','03200203210','032= 00203212','03200203213','03200203220','03200203221','03200203222','032002= 03223','03200203230','03200203231','03200203232','03200203233','032002033= 02','03200203303','03200203312','03200203320','03200203321','03200203322'= ,'03200203323','03200203330','03200203332','03200203333','03200210000','0= 3200210002','03200210003','03200210012','03200210013','03200210020','0320= 0210021','03200210022','03200210023','03200210030','03200210031','0320021= 0032','03200210033','03200210120','03200210122','03200210200','0320021020= 1','03200210210','03200210211','03200210212','03200210213','03200210230',= '03200210231','03200210232','03200210233','03200210300','03200210301','03= 200210302','03200210303','03200210310','03200210320','03200210321','03200= 210322','03200210323','03200211131','03200211133','03200211233','03200211= 301','03200211303','03200211310','03200211311','03200211312','03200211313= ','03200211321','03200211322','03200211330','03200211331','03200211332','= 03200212010','03200212011','03200212013','03200212030','03200212031','032= 00212032','03200212033','03200212100','03200212101','03200212102','032002= 12120','03200212121','03200212122','03200212123','03200212202','032002122= 03','03200212210','03200212211','03200212212','03200212213','03200212220'= ,'03200212221','03200212222','03200212223','03200212230','03200212231','0= 3200212232','03200212233','03200212300','03200212301','03200212302','0320= 0212303','03200212312','03200212313','03200212320','03200212321','0320021= 2322','03200212323','03200212330','03200212331','03200212332','0320021233= 3','03200213003','03200213010','03200213011','03200213012','03200213013',= '03200213021','03200213022','03200213023','03200213030','03200213031','03= 200213032','03200213033','03200213100','03200213101','03200213102','03200= 213103','03200213110','03200213112','03200213113','03200213120','03200213= 121','03200213122','03200213123','03200213130','03200213131','03200213132= ','03200213133','03200213200','03200213201','03200213202','03200213203','= 03200213210','03200213211','03200213220','03200213221','03200213222','032= 00213223','03200213300','03200213330','03200213332','03200213333','032002= 20000','03200220001','03200220002','03200220003','03200220010','032002200= 11','03200220012','03200220013','03200220020','03200220021','03200220022'= ,'03200220023','03200220030','03200220031','03200220032','03200220033','0= 3200220100','03200220101','03200220102','03200220103','03200220110','0320= 0220111','03200220112','03200220113','03200220120','03200220121','0320022= 0122','03200220123','03200220130','03200220131','03200220132','0320022013= 3','03200220200','03200220201','03200220202','03200220203','03200220210',= '03200220211','03200220212','03200220213','03200220220','03200220221','03= 200220222','03200220223','03200220230','03200220231','03200220232','03200= 220233','03200220300','03200220301','03200220302','03200220303','03200220= 310','03200220311','03200220312','03200220313','03200220320','03200220321= ','03200220322','03200220323','03200220330','03200220331','03200220332','= 03200220333','03200221000','03200221001','03200221002','03200221003','032= 00221010','03200221011','03200221012','03200221013','03200221020','032002= 21021','03200221022','03200221023','03200221030','03200221031','032002210= 32','03200221033','03200221100','03200221101','03200221102','03200221103'= ,'03200221110','03200221111','03200221112','03200221113','03200221120','0= 3200221121','03200221122','03200221123','03200221130','03200221131','0320= 0221132','03200221133','03200221200','03200221201','03200221202','0320022= 1203','03200221210','03200221211','03200221212','03200221213','0320022122= 0','03200221221','03200221222','03200221223','03200221230','03200221231',= '03200221232','03200221233','03200221300','03200221301','03200221302','03= 200221303','03200221310','03200221311','03200221312','03200221313','03200= 221320','03200221321','03200221322','03200221323','03200221330','03200221= 331','03200221332','03200221333','03200222000','03200222001','03200222002= ','03200222003','03200222010','03200222011','03200222012','03200222013','= 03200222020','03200222021','03200222022','03200222023','03200222030','032= 00222031','03200222032','03200222033','03200222100','03200222101','032002= 22102','03200222103','03200222110','03200222111','03200222112','032002221= 13','03200222120','03200222121','03200222122','03200222123','03200222130'= ,'03200222131','03200222132','03200222133','03200222200','03200222201','0= 3200222202','03200222203','03200222210','03200222211','03200222212','0320= 0222213','03200222220','03200222221','03200222222','03200222223','0320022= 2230','03200222231','03200222232','03200222233','03200222300','0320022230= 1','03200222302','03200222303','03200222310','03200222311','03200222312',= '03200222313','03200222320','03200222321','03200222322','03200222323','03= 200222330','03200222331','03200222332','03200222333','03200223000','03200= 223001','03200223002','03200223003','03200223010','03200223011','03200223= 012','03200223013','03200223020','03200223021','03200223022','03200223023= ','03200223100','03200223101','03200223102','03200223103','03200223110','= 03200223111','03200223112','03200223113','03200223200','03200223201','032= 00223202','03200223203','03200223220','03200223221','03200230000','032002= 30001','03200230002','03200230003','03200230010','03200230011','032002300= 12','03200230013','03200230020','03200230021','03200230022','03200230023'= ,'03200230030','03200230031','03200230032','03200230033','03200230100','0= 3200230101','03200230102','03200230103','03200230110','03200230111','0320= 0230112','03200230113','03200230120','03200230121','03200230122','0320023= 0123','03200230130','03200230131','03200230132','03200230133','0320023020= 0','03200230201','03200230202','03200230203','03200230210','03200230211',= '03200230212','03200230213','03200230220','03200230221','03200230222','03= 200230223','03200230230','03200230231','03200230232','03200230300','03200= 230301','03200230302','03200230310','03200230311','03200230312','03200230= 313','03200231000','03200231002','03200231020','03200231021','03200231022= ','03200231023','03200231101','03200231103','03200231110','03200231111','= 03200231112','03200231113','03200231120','03200231121','03200231122','032= 00231123','03200231130','03200231131','03200231132','03200231133','032002= 31200','03200231201','03200231202','03200231300','03200231301','032002313= 02','03200231303','03200231310','03200231311','03200231312','03200231313'= ,'03200231321','03200231323','03200231330','03200231331','03200231332','0= 3200231333','03200232000','03200232120','03200232121','03200232122','0320= 0232123','03200232130','03200232131','03200232132','03200232133','0320023= 2211','03200232213','03200232231','03200232300','03200232301','0320023230= 2','03200232303','03200232310','03200232311','03200232312','03200232313',= '03200232320','03200232321','03200232322','03200232323','03200232330','03= 200232331','03200232332','03200233020','03200233021','03200233022','03200= 233023','03200233030','03200233031','03200233032','03200233033','03200233= 111','03200233122','03200233123','03200233132','03200233200','03200233201= ','03200233203','03200233210','03200233211','03200233212','03200233300','= 03200233301','03200233302','03200233303','03200233310','03200300003','032= 00300012','03200300020','03200300021','03200300022','03200300023','032003= 00030','03200300031','03200300032','03200300033','03200300120','032003001= 22','03200300200','03200300201','03200300202','03200300203','03200300210'= ,'03200300211','03200300212','03200300213','03200300220','03200300221','0= 3200300222','03200300223','03200300230','03200300231','03200300232','0320= 0300233','03200300300','03200300302','03200300320','03200300322','0320030= 0323','03200300332','03200300333','03200301011','03200301013','0320030110= 0','03200301101','03200301102','03200301203','03200301212','03200301221',= '03200301222','03200301223','03200301230','03200301231','03200301232','03= 200301233','03200301320','03200301322','03200302001','03200302002','03200= 302003','03200302010','03200302011','03200302012','03200302013','03200302= 020','03200302021','03200302022','03200302023','03200302030','03200302031= ','03200302032','03200302100','03200302101','03200302102','03200302110','= 03200302111','03200302131','03200302132','03200302133','03200302201','032= 00302202','03200302203','03200302210','03200302211','03200302212','032003= 02213','03200302220','03200302221','03200302222','03200302223','032003022= 30','03200302231','03200302232','03200302233','03200302301','03200302303'= ,'03200302310','03200302311','03200302312','03200302313','03200302320','0= 3200302322','03200302330','03200302331','03200302333','03200303001','0320= 0303003','03200303010','03200303011','03200303012','03200303013','0320030= 3020','03200303021','03200303022','03200303023','03200303030','0320030303= 1','03200303032','03200303033','03200303100','03200303102','03200303103',= '03200303112','03200303120','03200303121','03200303122','03200303123','03= 200303130','03200303132','03200303133','03200303200','03200303201','03200= 303202','03200303203','03200303210','03200303211','03200303212','03200303= 213','03200303220','03200303221','03200303222','03200303223','03200303230= ','03200303231','03200303232','03200303300','03200303301','03200303302','= 03200303303','03200303310','03200303311','03200303312','03200303321','032= 00303330','03200310123','03200310130','03200310131','03200310132','032003= 10133','03200310233','03200310301','03200310310','03200310311','032003103= 13','03200310322','03200310323','03200310332','03200310333','03200311020'= ,'03200311021','03200311022','03200311023','03200311030','03200311031','0= 3200311032','03200311033','03200311120','03200311121','03200311122','0320= 0311123','03200311130','03200311131','03200311132','03200311133','0320031= 1200','03200311201','03200311202','03200311203','03200311210','0320031121= 1','03200311212','03200311213','03200311220','03200311221','03200311222',= '03200311223','03200311230','03200311231','03200311232','03200311233','03= 200311300','03200311301','03200311302','03200311303','03200311310','03200= 311311','03200311312','03200311313','03200311330','03200311331','03200311= 332','03200311333','03200312000','03200312001','03200312002','03200312003= ','03200312010','03200312011','03200312012','03200312013','03200312020','= 03200312021','03200312022','03200312023','03200312030','03200312031','032= 00312032','03200312033','03200312100','03200312101','03200312102','032003= 12103','03200312110','03200312111','03200312112','03200312113','032003121= 20','03200312121','03200312122','03200312123','03200312130','03200312131'= ,'03200312132','03200312133','03200312200','03200312201','03200312210','0= 3200312211','03200312300','03200312301','03200312310','03200312311','0320= 0313000','03200313001','03200313002','03200313003','03200313012','0320031= 3013','03200313020','03200313021','03200313022','03200313023','0320031303= 0','03200313031','03200313032','03200313033','03200313112','03200313113',= '03200313120','03200313122','03200313123','03200313130','03200313131','03= 200313132','03200313133','03200313200','03200313201','03200313210','03200= 313211','03200313232','03200313233','03200313310','03200313311','03200320= 000','03200320001','03200320002','03200320003','03200320010','03200320011= ','03200320012','03200320013','03200320020','03200320021','03200320022','= 03200320023','03200320030','03200320031','03200320032','03200320033','032= 00320100','03200320102','03200320103','03200320112','03200320120','032003= 20121','03200320122','03200320123','03200320130','03200320132','032003202= 00','03200320201','03200320202','03200320203','03200320210','03200320211'= ,'03200320212','03200320213','03200320220','03200320221','03200320222','0= 3200320223','03200320230','03200320231','03200320232','03200320300','0320= 0320302','03200320320','03200321131','03200321133','03200321301','0320032= 1302','03200321303','03200321310','03200321311','03200321312','0320032131= 3','03200321320','03200321321','03200321322','03200321323','03200321330',= '03200321331','03200321332','03200322000','03200322001','03200322012','03= 200322013','03200322030','03200322031','03200322033','03200322102','03200= 322103','03200322120','03200322121','03200322122','03200322211','03200322= 300','03200322301','03200323123','03200323132','03200323133','03200323301= ','03200323303','03200323310','03200323311','03200323312','03200323313','= 03200323321','03200323330','03200323331','03200330000','03200330001','032= 00330002','03200330003','03200330010','03200330011','03200330012','032003= 30013','03200330020','03200330021','03200330022','03200330023','032003300= 30','03200330031','03200330032','03200330033','03200330100','03200330102'= ,'03200330103','03200330120','03200330121','03200330122','03200330123','0= 3200330200','03200330201','03200330210','03200330211','03200331000','0320= 0331001','03200331002','03200331003','03200331010','03200331011','0320033= 1012','03200331013','03200331020','03200331021','03200331023','0320033103= 0','03200331031','03200331032','03200331033','03200331120','03200331122',= '03200331123','03200331131','03200331132','03200331133','03200331222','03= 200331223','03200331310','03200331311','03200331312','03200332031','03200= 332033','03200332110','03200332111','03200332112','03200332113','03200332= 120','03200332121','03200332122','03200332123','03200332131','03200332132= ','03200332133','03200332200','03200332202','03200332203','03200332211','= 03200332212','03200332213','03200332220','03200332221','03200332222','032= 00332223','03200332230','03200332231','03200332232','03200332233','032003= 32300','03200332301','03200332302','03200332303','03200332310','032003323= 12','03200332320','03200332321','03200332322','03200332330','03200333000'= ,'03200333001','03200333002','03200333003','03200333012','03200333020','0= 3200333021','03200333022','03200333023','03200333030','03201000002','0320= 1000003','03201000010','03201000011','03201000012','03201000013','0320100= 0020','03201000021','03201000022','03201000023','03201000030','0320100003= 1','03201000032','03201000033','03201000100','03201000101','03201000102',= '03201000103','03201000110','03201000111','03201000112','03201000113','03= 201000120','03201000121','03201000130','03201000200','03201000201','03201= 000202','03201000203','03201000210','03201000211','03201000212','03201000= 220','03201000221','03201000222','03201000223','03201000230','03201000232= ','03201000233','03201000311','03201000312','03201000313','03201000330','= 03201000331','03201000332','03201000333','03201001000','03201001001','032= 01001002','03201001021','03201001023','03201001030','03201001031','032010= 01032','03201001033','03201001101','03201001103','03201001110','032010011= 11','03201001112','03201001113','03201001120','03201001121','03201001122'= ,'03201001123','03201001130','03201001131','03201001132','03201001133','0= 3201001200','03201001201','03201001202','03201001203','03201001210','0320= 1001211','03201001212','03201001213','03201001220','03201001221','0320100= 1222','03201001223','03201001230','03201001231','03201001232','0320100123= 3','03201001300','03201001301','03201001302','03201001303','03201001310',= '03201001311','03201001312','03201001313','03201001320','03201001321','03= 201001322','03201001323','03201001330','03201001331','03201001332','03201= 001333','03201002000','03201002002','03201002012','03201002013','03201002= 030','03201002031','03201002102','03201002103','03201002110','03201002111= ','03201002112','03201002113','03201002120','03201002121','03201002122','= 03201002123','03201002130','03201002131','03201002132','03201002133','032= 01002301','03201002303','03201002310','03201002311','03201002312','032010= 02313','03201002321','03201002330','03201002331','03201002332','032010023= 33','03201003000','03201003001','03201003002','03201003003','03201003010'= ,'03201003011','03201003012','03201003013','03201003020','03201003021','0= 3201003022','03201003023','03201003030','03201003031','03201003032','0320= 1003033','03201003100','03201003101','03201003102','03201003103','0320100= 3110','03201003111','03201003112','03201003113','03201003120','0320100312= 1','03201003122','03201003123','03201003130','03201003131','03201003132',= '03201003133','03201003200','03201003201','03201003202','03201003203','03= 201003210','03201003211','03201003212','03201003213','03201003220','03201= 003221','03201003222','03201003223','03201003230','03201003231','03201003= 232','03201003233','03201003300','03201003301','03201003302','03201003303= ','03201003310','03201003311','03201003312','03201003320','03201003321','= 03201003322','03201003323','03201010000','03201010001','03201010002','032= 01010003','03201010010','03201010011','03201010012','03201010013','032010= 10020','03201010021','03201010022','03201010023','03201010030','032010100= 31','03201010032','03201010033','03201010100','03201010101','03201010102'= ,'03201010103','03201010110','03201010111','03201010112','03201010113','0= 3201010120','03201010121','03201010122','03201010123','03201010130','0320= 1010131','03201010132','03201010133','03201010200','03201010201','0320101= 0202','03201010203','03201010210','03201010211','03201010212','0320101021= 3','03201010220','03201010221','03201010222','03201010223','03201010230',= '03201010231','03201010232','03201010233','03201010300','03201010301','03= 201010302','03201010303','03201010310','03201010311','03201010312','03201= 010313','03201010320','03201010321','03201010322','03201010323','03201010= 330','03201010331','03201010332','03201010333','03201011000','03201011001= ','03201011002','03201011003','03201011010','03201011011','03201011012','= 03201011013','03201011020','03201011021','03201011022','03201011023','032= 01011030','03201011031','03201011032','03201011033','03201011100','032010= 11101','03201011102','03201011103','03201011110','03201011111','032010111= 12','03201011113','03201011120','03201011121','03201011122','03201011123'= ,'03201011130','03201011131','03201011132','03201011200','03201011201','0= 3201011202','03201011203','03201011210','03201011211','03201011212','0320= 1011213','03201011220','03201011221','03201011222','03201011223','0320101= 1230','03201011231','03201011232','03201012000','03201012001','0320101200= 2','03201012003','03201012010','03201012011','03201012012','03201012013',= '03201012020','03201012021','03201012022','03201012023','03201012030','03= 201012031','03201012032','03201012033','03201012100','03201012101','03201= 012102','03201012103','03201012110','03201012111','03201012112','03201012= 113','03201012120','03201012121','03201012122','03201012123','03201012130= ','03201012131','03201012132','03201012133','03201012200','03201012201','= 03201012202','03201012203','03201012210','03201012211','03201012212','032= 01012213','03201012220','03201012221','03201012223','03201012230','032010= 12231','03201012232','03201012233','03201012300','03201012301','032010123= 02','03201012303','03201012310','03201012311','03201012312','03201012313'= ,'03201012321','03201012322','03201012323','03201012330','03201012331','0= 3201012332','03201013000','03201013001','03201013002','03201013003','0320= 1013010','03201013012','03201013020','03201013021','03201013022','0320101= 3023','03201013030','03201013200','03201013201','03201020110','0320102011= 1','03201020112','03201020113','03201020130','03201020131','03201020132',= '03201020133','03201020203','03201020221','03201020310','03201020311','03= 201020332','03201020333','03201021000','03201021001','03201021002','03201= 021003','03201021010','03201021011','03201021012','03201021013','03201021= 020','03201021021','03201021022','03201021030','03201021031','03201021100= ','03201021101','03201021102','03201022101','03201022102','03201022103','= 03201022110','03201022111','03201022112','03201022113','03201022120','032= 01022121','03201022123','03201022130','03201022131','03201022132','032010= 22133','03201022310','03201022311','03201023000','03201023002','032010230= 03','03201023020','03201023021','03201023022','03201023033','03201023122'= ,'03201023123','03201023132','03201023200','03201023211','03201023213','0= 3201023230','03201023231','03201023232','03201023233','03201023300','0320= 1023301','03201023302','03201023303','03201023310','03201023312','0320102= 3313','03201023320','03201023321','03201023322','03201023323','0320102333= 0','03201023331','03201023332','03201023333','03201030001','03201030003',= '03201030010','03201030011','03201030012','03201030013','03201030021','03= 201030030','03201030031','03201030032','03201030033','03201030100','03201= 030101','03201030102','03201030103','03201030120','03201030121','03201030= 122','03201030123','03201032202','03201032220','03201032222','03201100000= ','03201100001','03201100002','03201100003','03201100010','03201100011','= 03201100012','03201100013','03201100020','03201100021','03201100100','032= 01100101','03201100102','03201100110','03201200020','03201200022','032012= 00023','03201200200','03201200201','03201200202','03201200203','032012002= 10','03201200211','03201200212','03201200213','03201200220','03201200221'= ,'03201200222','03201200223','03201200230','03201200231','03201200232','0= 3201200233','03201200300','03201200301','03201200302','03201200303','0320= 1200312','03201200313','03201200320','03201200321','03201200322','0320120= 0323','03201200330','03201200331','03201200332','03201200333','0320120101= 0','03201201011','03201201100','03201201101','03201201110','03201201111',= '03201201112','03201201113','03201201130','03201201131','03201201133','03= 201201202','03201201220','03201201222','03201202000','03201202001','03201= 202002','03201202003','03201202010','03201202011','03201202012','03201202= 013','03201202020','03201202022','03201202023','03201202030','03201202031= ','03201202100','03201202101','03201202102','03201202103','03201202111','= 03201202120','03201202121','03201202200','03201202201','03201202233','032= 01202322','03201202323','03201202332','03201203000','03201203031','032012= 03032','03201203033','03201203120','03201203121','03201203122','032012031= 23','03201203130','03201203132','03201203200','03201203201','03201203202'= ,'03201203203','03201203210','03201203211','03201203212','03201203213','0= 3201203300','03201203301','03201203302','03201203303','03201203310','0320= 1210000','03201210002','03201210020','03201210021','03201210022','0320121= 0023','03201210200','03201210201','03201210203','03201210210','0320121021= 2','03201210230','03201210232','03201212002','03201212003','03201212010',= '03201212012','03201220011','03201220022','03201220100','03201220101','03= 201220102','03201220103','03201220110','03201220120','03201220121','03201= 220200','03202000000','03202000001','03202000002','03202000003','03202000= 010','03202000011','03202000012','03202000013','03202000020','03202000021= ','03202000022','03202000023','03202000030','03202000031','03202000032','= 03202000033','03202000100','03202000101','03202000102','03202000103','032= 02000110','03202000111','03202000112','03202000113','03202000120','032020= 00121','03202000122','03202000123','03202000130','03202000131','032020001= 32','03202000200','03202000201','03202000202','03202000203','03202000210'= ,'03202000211','03202000212','03202000213','03202000220','03202000221','0= 3202000222','03202000223','03202000230','03202000231','03202000232','0320= 2000233','03202000300','03202000301','03202000302','03202000303','0320200= 0310','03202000311','03202000312','03202000313','03202000320','0320200032= 1','03202000322','03202000323','03202000330','03202000331','03202000332',= '03202000333','03202001000','03202001002','03202001020','03202001022','03= 202001200','03202001201','03202001202','03202001203','03202001212','03202= 001213','03202001220','03202001221','03202001222','03202001223','03202001= 230','03202001231','03202001232','03202001233','03202001302','03202001320= ','03202001321','03202001322','03202001323','03202001330','03202001331','= 03202001332','03202001333','03202002000','03202002001','03202002002','032= 02002003','03202002010','03202002011','03202002012','03202002013','032020= 02020','03202002021','03202002022','03202002023','03202002030','032020020= 31','03202002032','03202002033','03202002100','03202002101','03202002102'= ,'03202002103','03202002110','03202002111','03202002112','03202002113','0= 3202002120','03202002121','03202002122','03202002123','03202002130','0320= 2002131','03202002200','03202002201','03202002202','03202002203','0320200= 2210','03202002211','03202002220','03202002222','03202003000','0320200300= 1','03202003002','03202003003','03202003010','03202003011','03202003012',= '03202003013','03202003020','03202003021','03202003023','03202003030','03= 202003031','03202003032','03202003033','03202003100','03202003101','03202= 003102','03202003103','03202003110','03202003111','03202003112','03202003= 113','03202003120','03202003121','03202003122','03202003123','03202003130= ','03202003131','03202003132','03202003133','03202010100','03202010101','= 03202010110','03202010220','03202010221','03202010222','03202010223','032= 02010230','03202010232','03202010333','03202011222','03202011223','032020= 11232','03202012000','03202012001','03202012002','03202012003','032020120= 10','03202012012','03202012020','03202012021','03202012022','03202012030'= ,'03202012111','03202012113','03202012130','03202012131','03202012132','0= 3202012133','03202012311','03202013000','03202013001','03202013002','0320= 2013003','03202013010','03202013012','03202013020','03202013021','0320201= 3022','03202013023','03202013030','03202013032','03202013111','0320201311= 2','03202013113','03202013121','03202013123','03202013130','03202013131',= '03202013132','03202013133','03202013200','03202013201','03202013203','03= 202013210','03202013212','03202020000','03202100002','03202100003','03202= 100020','03202100021','03202100022','03202100023','03202100030','03202101= 311','03202101313','03202101323','03202101332','03202101333','03202102000= ','03202102001','03202102002','03202102003','03202102010','03202102012','= 03202102020','03202102021','03202102022','03202102023','03202102030','032= 02102032','03202102331','03202102333','03202103101','03202103103','032021= 03110','03202103111','03202103112','03202103113','03202103121','032021031= 22','03202103123','03202103130','03202103131','03202103132','03202103133'= ,'03202103202','03202103203','03202103212','03202103213','03202103220','0= 3202103221','03202103222','03202103223','03202103230','03202103231','0320= 2103232','03202103233','03202103301','03202103302','03202103310','0320210= 3311','03202103312','03202103313','03202103320','03202103321','0320210332= 2','03202103323','03202110001','03202110003','03202110010','03202110011',= '03202110012','03202110013','03202110100','03202110200','03202110201','03= 202110202','03202110203','03202110220','03202112000','03202112002','03202= 112003','03202112020','03202112021','03202112022','03202112023','03202112= 200','03202112201','03202121001','03202121010','03202121011','03202121023= ','03202121032','03202121033','03202121100','03202121101','03202121102','= 03202121111','03202121113','03202121123','03202121131','03202121132','032= 02121133','03202121201','03202121203','03202121210','03202121211','032021= 21212','03202121213','03202121221','03202121223','03202121230','032021212= 31','03202121232','03202121233','03202121300','03202121301','03202121302'= ,'03202121303','03202121310','03202121311','03202121312','03202121313','0= 3202121320','03202121321','03202121322','03202121323','03202121330','0320= 2121331','03202121332','03202121333','03202123000','03202123001','0320212= 3002','03202123003','03202123010','03202123011','03202123012','0320212301= 3','03202123020','03202123021','03202123022','03202123023','03202123030',= '03202123031','03202123032','03202123033','03202123100','03202123101','03= 202123102','03202123103','03202123110','03202123111','03202123112','03202= 123113','03202123120','03202123121','03202123122','03202123123','03202123= 130','03202123131','03202123132','03202123133','03202123201','03202123203= ','03202123210','03202123211','03202123212','03202123213','03202123221','= 03202123230','03202123231','03202123232','03202123233','03202123300','032= 02123301','03202123302','03202123303','03202123310','03202123311','032021= 23320','03202123321','03202123322','03202123323','03202130000','032021300= 02','03202130003','03202130010','03202130012','03202130013','03202130020'= ,'03202130021','03202130022','03202130023','03202130030','03202130031','0= 3202130032','03202130033','03202130122','03202130200','03202130201','0320= 2130202','03202130203','03202130210','03202130211','03202130212','0320213= 0213','03202130220','03202130221','03202130222','03202130223','0320213023= 0','03202130231','03202130232','03202130233','03202130300','03202130302',= '03202130320','03202130321','03202130322','03202130323','03202132000','03= 202132001','03202132002','03202132003','03202132010','03202132011','03202= 132012','03202132013','03202132020','03202132021','03202132022','03202132= 023','03202132030','03202132031','03202132032','03202132033','03202132100= ','03202132101','03202132102','03202132103','03202132112','03202132120','= 03202132121','03202132122','03202132123','03202132130','03202132132','032= 02132133','03202132200','03202132201','03202132210','03202132211','032021= 32300','03202132301','03202132302','03202132303','03202132310','032021323= 11','03202132312','03202132313','03202301011','03202301013','03202301031'= ,'03202301033','03202301100','03202301101','03202301102','03202301103','0= 3202301112','03202301113','03202301120','03202301121','03202301122','0320= 2301123','03202301130','03202301131','03202301132','03202301133','0320230= 1300','03202301301','03202301310','03202301311','03202301312','0320230131= 3','03202301330','03202301331','03202301332','03202301333','03202310002',= '03202310003','03202310012','03202310013','03202310020','03202310021','03= 202310022','03202310023','03202310030','03202310031','03202310032','03202= 310033','03202310101','03202310102','03202310103','03202310110','03202310= 111','03202310112','03202310113','03202310120','03202310121','03202310122= ','03202310123','03202310130','03202310131','03202310132','03202310133','= 03202310200','03202310201','03202310202','03202310203','03202310210','032= 02310211','03202310212','03202310213','03202310300','03202310301','032023= 10310','03202310311','03202310312','03202310313','03202310321','032023103= 23','03202310330','03202310331','03202310332','03202310333','03202311000'= ,'03202311002','03202311020','03202311022','03202311200','03202311202','0= 3202311220','03202311222','03202312100','03202312101','03202312102','0320= 2312103','03202312110','03202312111','03202312112','03202312113','0320231= 2121','03202312123','03202312130','03202312131','03202312132','0320231213= 3','03202313000','03202313002','03311001130','03311001131','03311001132',= '03311001133','03311001313','03311001331','03311003101','03311003103','03= 311003110','03311003112','03311003232','03311003233','03311003322','03311= 003323','03311010202','03311010220','03311011111','03311013033','03311013= 233','03311013322','03311021001','03311021003','03311021010','03311021011= ','03311021012','03311021013','03311021031','03311021100','03311021101','= 03311021102','03311021103','03311021120','03311021121','03311032210','033= 11032211','03311032212','03311032213','03311033103','03311033112','033110= 33120','03311033121','03311033123','03311033130','03311033131','033110331= 32','03311033133','03311100000','03311100121','03311100322','03311101000'= ,'03311101020','03311101021','03311101022','03311101023','03311101030','0= 3311101031','03311101032','03311101033','03311101120','03311101121','0331= 1101122','03311101123','03311101130','03311101201','03311101203','0331110= 1210','03311101211','03311101212','03311101213','03311101222','0331110122= 3','03311101230','03311101231','03311101233','03311101300','03311101301',= '03311103000','03311103001','03311103221','03311103223','03311110231','03= 311110233','03311110320','03311110322','03311111201','03311111203','03311= 111210','03311111333','03311113103','03311113112','03311113113','03311113= 120','03311113121','03311113122','03311113123','03311113130','03311113132= ','03311113300','03311113301','03311113310','03311113330','03311113331','= 03311113332','03311113333','03311120231','03311120233','03311120320','033= 11120321','03311120322','03311120323','03311121213','03311121232','033111= 22112','03311122113','03311122123','03311122130','03311122131','033111221= 32','03311122133','03311122213','03311122223','03311122230','03311122231'= ,'03311122232','03311122233','03311122300','03311122301','03311122302','0= 3311122303','03311122310','03311122311','03311122312','03311122313','0331= 1122320','03311122321','03311122322','03311122323','03311122330','0331112= 2331','03311122332','03311122333','03311123002','03311123020','0331112303= 2','03311123033','03311123202','03311123210','03311123211','03311123220',= '03311123221','03311123222','03311123223','03311123230','03311123231','03= 311123232','03311123233','03311123320','03311123322','03311123331','03311= 131031','03311131033','03311131101','03311131103','03311131112','03311131= 113','03311131120','03311131121','03311131122','03311131123','03311131130= ','03311131131','03311131132','03311131202','03311131203','03311131211','= 03311131212','03311131213','03311131220','03311131221','03311131230','033= 11131231','03311131300','03311131301','03311131302','03311131320','033111= 32110','03311132203','03311132212','03311132220','03311132221','033111322= 22','03311132223','03311132230','03311133001','03311133003','03311133010'= ,'03311133012','03311211011','03311211100','03311211102','03311300001','0= 3311300003','03311300010','03311300011','03311300012','03311300013','0331= 1300020','03311300021','03311300022','03311300023','03311300100','0331130= 0101','03311300110','03312120230','03312120231','03312120233','0331212200= 2','03312122003','03312122113','03312122131','03312122133','03312123000',= '03312123002','03312123020','03312123022','03312130032','03312130033','03= 312130210','12000313012','12000313013','12000313030','12000313031','12000= 313102','12001113301','12001113303','12001113310','12001113312','12001130= 332','12001130333','12001132110','12001132111','12001212211','12001212213= ','12001303030','12001303032','12001303033','12001310032','12001310033','= 12001310210','12001310211','12001310213','12001313201','12001313203','120= 01313210','12001313211','12001313212','12001313213','12001313230','120013= 13231','12001320203','12001320212','12001320213','12001320221','120013202= 30','12001320231','12002013303','12002013312','12002013321','12002013323'= ,'12002013330','12002013332','12002122202','12002122220','12002122222','1= 2002131010','12002131012','12002131031','12002131033','12002131120','1200= 2131121','12002131122','12002131123','12002131130','12002131131','1200213= 1132','12002131133','12002131202','12002131203','12002131211','1200213121= 2','12002131221','12002131230','12002131300','12002131301','12002131303',= '12002132132','12002132133','12002132310','12002132311','12002132312','12= 002132313','12002133123','12002133130','12002133131','12002133132','12002= 133133','12002133310','12002300000','12002301321','12002301322','12002301= 323','12002301330','12002301332','12002330131','12002330133','12002331020= ','12002331021','12002331022','12002331023','12002332032','12002332033','= 12002332123','12002332132','12002332210','12002332211','12002332301','120= 02332310','12002332331','12002332333','12002333023','12002333032','120023= 33201','12002333210','12002333220','12002333222','12003013022','120030130= 23','12003013032','12003013200','12003013201','12003013210','12003023102'= ,'12003023103','12003031321','12003031323','12003031330','12003031332','1= 2003032130','12003032132','12003033103','12003033112','12003033121','1200= 3033130','12003102021','12003102023','12003102030','12003102032','1200311= 1013','12003111102','12003111120','12003113301','12003113303','1200311331= 0','12003113311','12003113312','12003113313','12003120033','12003120122',= '12003120123','12003120211','12003120213','12003120300','12003120301','12= 003120302','12003120303','12003120323','12003120332','12003120333','12003= 122033','12003122100','12003122101','12003122102','12003122103','12003122= 110','12003122111','12003122112','12003122113','12003122120','12003122121= ','12003122122','12003122123','12003122130','12003122131','12003122132','= 12003122133','12003122211','12003122300','12003122301','12003122310','120= 03122311','12003123002','12003123020','12003123022','12003123023','120031= 23200','12003123201','12003200211','12003200213','12003200300','120032003= 02','12003200303','12003200312','12003200321','12003200330','12003201132'= ,'12003201133','12003201310','12003201311','12003202030','12003202031','1= 2003202032','12003202033','12003202120','12003202122','12003202123','1200= 3202210','12003202211','12003202213','12003202231','12003202300','1200320= 2301','12003202302','12003202320','12003203022','12003203023','1200320303= 2','12003203133','12003203200','12003203201','12003203210','12003203311',= '12003211013','12003211031','12003211033','12003211102','12003211120','12= 003211122','12003211200','12003211201','12003212020','12003212021','12003= 212022','12003212023','12003212200','12003220103','12003220112','12003220= 121','12003220130','12003221220','12003221221','12003221222','12003221223= ','12003222311','12003222312','12003222313','12003222321','12003222323','= 12003222330','12003222331','12003222332','12003222333','12003223200','120= 03223202','12003223220','12003223222','12003230033','12003230122','120032= 30211','12003230300','12003230302','12003231302','12003231320','120032313= 21','12003231322','12003231323','12003232202','12003233022','12003233023'= ,'12003233200','12003233201','12010030022','12010030023','12010030200','1= 2010030201','12010030202','12010030203','12010213322','12010213323','1201= 0230223','12010230232','12010230233','12010231100','12010231101','1201023= 2001','12010232010','12010232011','12010232012','12010321022','1201032102= 3','12010321032','12010321200','12010321201','12010321210','12012000101',= '12012000103','12012000110','12012000111','12012000112','12012000113','12= 012000130','12012000131','12012001000','12012001002','12012001020','12012= 001230','12012001231','12012001232','12012001233','12012003233','12012003= 303','12012003312','12012003313','12012003320','12012003321','12012003322= ','12012003323','12012003330','12012003331','12012003332','12012003333','= 12012010221','12012010222','12012010223','12012010230','12012010232','120= 12011331','12012013200','12012013201','12012013202','12012013203','120120= 13220','12012013221','12012021011','12012021013','12012021100','120120211= 01','12012021102','12012021103','12012021110','12012021111','12012021112'= ,'12012021113','12012100202','12012100203','12012100220','12012100221','1= 2012100222','12020020202','12020020220','12020022312','12020022313','1202= 0022330','12020022331','12020022332','12020022333','12020023202','1202002= 3220','12020023221','12020023222','12020023223','12020023230','1202002323= 2','12020033032','12020033033','12020033213','12020033223','12020033230',= '12020033231','12020033232','12020033233','12020033320','12020033321','12= 020033322','12020033332','12020033333','12020101131','12020101133','12020= 110020','12020110022','12020110101','12020110103','12020110110','12020110= 112','12020110113','12020110121','12020110123','12020110130','12020110131= ','12020110132','12020111030','12020111031','12020111032','12020111033','= 12020111210','12020111211','12020112103','12020112112','12020112121','120= 20112130','12020113203','12020113212','12020113221','12020113223','120201= 13230','12020113232','12020121222','12020121223','12020121303','120201213= 12','12020121321','12020121330','12020122000','12020122001','12020122002'= ,'12020122003','12020122012','12020122013','12020122030','12020122031','1= 2020122100','12020122101','12020122102','12020122103','12020122121','1202= 0122123','12020122232','12020122233','12020122302','12020122303','1202012= 2311','12020122312','12020122313','12020122321','12020122323','1202012300= 0','12020123001','12020123112','12020123113','12020123130','12020123131',= '12020123223','12020130020','12020130021','12020130023','12020130202','12= 020130203','12020130220','12020130221','12020131000','12020131001','12020= 131002','12020131003','12020131120','12020131121','12020131122','12020131= 123','12020132003','12020132012','12020132020','12020132021','12020132022= ','12020132023','12020132030','12020132031','12020132032','12020132033','= 12020133220','12020133221','12020133222','12020133223','12020200002','120= 20200003','12020200020','12020200021','12020200022','12020200023','120202= 00132','12020200133','12020200202','12020200203','12020200220','120202002= 21','12020200222','12020200223','12020200230','12020200231','12020200232'= ,'12020200233','12020200300','12020200301','12020200302','12020200303','1= 2020200310','12020200311','12020200320','12020200321','12020200322','1202= 0200330','12020201001','12020201010','12020202000','12020202001','1202020= 2002','12020202003','12020202010','12020202011','12020202012','1202020201= 3','12020202020','12020202021','12020202022','12020202023','12020202030',= '12020202031','12020202032','12020202033','12020202100','12020202101','12= 020202102','12020202113','12020202120','12020202121','12020202122','12020= 202123','12020202130','12020202131','12020202201','12020202223','12020202= 230','12020202231','12020202232','12020202233','12020202300','12020202301= ','12020202303','12020202310','12020202311','12020202312','12020202320','= 12020203002','12020203020','12020203212','12020203213','12020203230','120= 20203231','12020203302','12020203303','12020210133','12020210313','120202= 11001','12020211003','12020211010','12020211011','12020211012','120202110= 13','12020211020','12020211021','12020211022','12020211023','12020211030'= ,'12020211031','12020211032','12020211033','12020211100','12020211101','1= 2020211102','12020211103','12020211110','12020211111','12020211112','1202= 0211120','12020211121','12020211122','12020211123','12020211130','1202021= 1131','12020211132','12020211133','12020211200','12020211201','1202021120= 2','12020211203','12020211210','12020211211','12020211212','12020211213',= '12020211220','12020211221','12020211230','12020211231','12020211232','12= 020211233','12020211300','12020211301','12020211311','12020211322','12020= 211323','12020211331','12020212022','12020212023','12020212032','12020212= 121','12020212123','12020212130','12020212132','12020212133','12020212210= ','12020212223','12020212230','12020212231','12020212232','12020212233','= 12020212300','12020212301','12020212302','12020212303','12020212311','120= 20212312','12020212313','12020212330','12020212331','12020212333','120202= 13000','12020213001','12020213002','12020213003','12020213010','120202130= 11','12020213022','12020213023','12020213100','12020213101','12020213110'= ,'12020213111','12020213112','12020213113','12020213130','12020213131','1= 2020213200','12020213201','12020213202','12020213203','12020213212','1202= 0213213','12020213220','12020213221','12020213222','12020213223','1202021= 3230','12020213231','12020213232','12020213233','12020213312','1202021331= 3','12020213330','12020213331','12020213333','12020220001','12020221322',= '12020221323','12020222020','12020222021','12020222022','12020222023','12= 020222121','12020222123','12020222130','12020222132','12020222301','12020= 222310','12020223033','12020223122','12020230000','12020230001','12020230= 002','12020230003','12020230010','12020230011','12020230012','12020230013= ','12020230111','12020230113','12020230130','12020230131','12020230232','= 12020230233','12020231000','12020231001','12020231002','12020231020','120= 20231021','12020231022','12020231023','12020231030','12020231032','120202= 31110','12020231111','12020231112','12020231113','12020232010','120202320= 11','12020232310','12020232311','12020232312','12020232313','12020233010'= ,'12020233011','12020233012','12020233013','12020300010','12020300011','1= 2020300012','12020300013','12020300021','12020300022','12020300023','1202= 0300030','12020300031','12020300032','12020300101','12020300103','1202030= 0110','12020300111','12020300112','12020300113','12020300130','1202030013= 1','12020300200','12020300201','12020300202','12020300203','12020300210',= '12020300220','12020300221','12020300303','12020300312','12020300321','12= 020300323','12020300330','12020300331','12020300332','12020300333','12020= 301000','12020301003','12020301012','12020301013','12020301021','12020301= 030','12020301031','12020301102','12020301103','12020301112','12020301120= ','12020301121','12020301130','12020301210','12020301211','12020301212','= 12020301213','12020301220','12020301221','12020301222','12020301223','120= 20301230','12020301231','12020301232','12020301233','12020301300','120203= 01302','12020301312','12020301313','12020301320','12020301321','120203013= 22','12020301323','12020301333','12020302000','12020302002','12020302012'= ,'12020302013','12020302030','12020302031','12020302100','12020302101','1= 2020302102','12020302103','12020302110','12020302111','12020302112','1202= 0302113','12020302120','12020302121','12020302122','12020302123','1202030= 2130','12020302131','12020302132','12020302133','12020302202','1202030220= 3','12020302212','12020302220','12020302221','12020302222','12020302230',= '12020302231','12020302232','12020302233','12020302300','12020302301','12= 020302310','12020302311','12020302312','12020302313','12020302320','12020= 302321','12020302322','12020302323','12020302330','12020302331','12020302= 332','12020302333','12020303000','12020303001','12020303002','12020303003= ','12020303010','12020303011','12020303012','12020303013','12020303020','= 12020303021','12020303022','12020303023','12020303030','12020303031','120= 20303032','12020303033','12020303100','12020303102','12020303103','120203= 03112','12020303121','12020303130','12020303200','12020303201','120203032= 02','12020303203','12020303210','12020303211','12020303212','12020303213'= ,'12020303220','12020303221','12020303222','12020303223','12020303303','1= 2020303320','12020303321','12020303322','12020303323','12020303330','1202= 0310012','12020310013','12020310022','12020310023','12020310030','1202031= 0110','12020310111','12020310112','12020310113','12020310123','1202031020= 1','12020310210','12020310212','12020310221','12020310223','12020310230',= '12020310232','12020311000','12020311002','12020311032','12020311033','12= 020311100','12020311101','12020311210','12020311211','12020312121','12020= 312123','12020312130','12020312132','12020312221','12020312223','12020312= 230','12020312232','12020313000','12020313002','12020313310','12020313312= ','12020313313','12020313330','12020313331','12020320000','12020320002','= 12020320003','12020320010','12020320011','12020320100','12020320101','120= 20320111','12020320113','12020321000','12020321001','12020321002','120203= 21003','12020321021','12020321030','12020321031','12020321032','120203210= 33','12020321113','12020321211','12020321311','12020321312','12020321313'= ,'12020321330','12020321331','12020321332','12020321333','12020322012','1= 2020322013','12020322030','12020322031','12020322101','12020322103','1202= 0322110','12020322212','12020322213','12020322230','12020322231','1202032= 2311','12020322313','12020323022','12020323023','12020323033','1202032311= 3','12020323122','12020323131','12020323132','12020323133','12020323200',= '12020323201','12020323202','12020323310','12020323311','12020323331','12= 020323333','12020330001','12020330002','12020330003','12020330112','12020= 330113','12020330130','12020330131','12020330200','12020330201','12020330= 202','12020330203','12020330210','12020330212','12020330213','12020330220= ','12020330221','12020330222','12020330223','12020330230','12020330231','= 12020330320','12020331222','12020331323','12020331332','12020332020','120= 20332022','12020332023','12020332200','12020332201','12020332220','120203= 32222','12020332223','12020332233','12020332302','12020332320','120203323= 22','12020333000','12020333112','12020333121','12020333123','12020333130'= ,'12020333131','12020333132','12020333133','12020333310','12020333311','1= 2021000100','12021000101','12021000102','12021000103','12021000110','1202= 1000111','12021000112','12021000113','12021000120','12021000121','1202100= 0122','12021000123','12021000130','12021000131','12021000300','1202100030= 1','12021001000','12021001001','12021001002','12021001003','12021001010',= '12021001011','12021001012','12021001013','12021001020','12021001021','12= 021001023','12021001030','12021001032','12021002322','12021002323','12021= 003203','12021003212','12021003221','12021003223','12021003230','12021003= 232','12021003301','12021003303','12021003310','12021003321','12021020100= ','12021020101','12021021011','12021021100','12021021213','12021021231','= 12021023213','12021023221','12021023223','12021023230','12021023231','120= 21023232','12021023233','12021023302','12021023320','12021023321','120210= 23322','12021023323','12021023330','12021023332','12021200021','120212000= 23','12021200030','12021200032','12021200110','12021200111','12021200112'= ,'12021200113','12021200210','12021200302','12021200303','12021200312','1= 2021200320','12021200321','12021200330','12021201001','12021201003','1202= 1201010','12021201011','12021201012','12021201013','12021201100','1202120= 1101','12021201102','12021201103','12021201110','12021202011','1202120201= 3','12021202100','12021202102','12021202103','12021202112','12021202113',= '12021202120','12021202121','12021202123','12021202130','12021202131','12= 021202132','12021202202','12021202203','12021202212','12021202220','12021= 202221','12021202230','12021202320','12021202321','12021202322','12021202= 323','12021203221','12021203222','12021203223','12021203301','12021203303= ','12021203310','12021203312','12021210010','12021210012','12021210221','= 12021210223','12021210230','12021212123','12021212300','12021212301','120= 21220102','12021220103','12021220120','12021220121','12021220221','120212= 20223','12021220230','12021220232','12021222320','12021222321','120212223= 22','12021222323','12022000222','12022000223','12022001100','12022001101'= ,'12022001102','12022001103','12022001110','12022001112','12022002000','1= 2022002001','12022002211','12022002213','12022002300','12022002302','1202= 2003010','12022003011','12022003012','12022003013','12022003323','1202201= 0312','12022010313','12022013302','12022013303','12022013320','1202201332= 1','12022020023','12022020032','12022020201','12022020210','12022021003',= '12022021021','12022022112','12022022113','12022022130','12022022131','12= 022031013','12022031031','12022032003','12022032012','12022032021','12022= 032030','12022033013','12022033030','12022033031','12022033033','12022033= 102','12022033120','12022033122','12022033200','12022033201','12022033202= ','12022033203','12022100012','12022100013','12022100030','12022100031','= 12022101031','12022101033','12022101110','12022101112','12022101113','120= 22101120','12022101122','12022101123','12022101221','12022101223','120221= 01230','12022101232','12022101300','12022101301','12022101322','120221013= 33','12022102130','12022102131','12022102132','12022102133','12022102212'= ,'12022102221','12022102230','12022103003','12022103012','12022103021','1= 2022103030','12022103031','12022103032','12022103033','12022103100','1202= 2103210','12022103211','12022103311','12022103313','12022103332','1202210= 3333','12022110001','12022110011','12022110012','12022110013','1202211003= 0','12022110031','12022110033','12022110100','12022110101','12022110102',= '12022110103','12022110111','12022110112','12022110113','12022110120','12= 022110121','12022110122','12022110130','12022110131','12022110222','12022= 111000','12022111001','12022111002','12022111200','12022111201','12022111= 301','12022111303','12022111310','12022111312','12022112023','12022112031= ','12022112032','12022112033','12022112120','12022112121','12022112122','= 12022112130','12022112200','12022112201','12022112202','12022112203','120= 22112210','12022112220','12022112221','12022112300','12022112301','120221= 12302','12022112303','12022113012','12022113030','12022113331','120221201= 23','12022120230','12022120231','12022120232','12022120233','12022120300'= ,'12022120301','12022120310','12022121001','12022121003','12022121010','1= 2022121012','12022121110','12022121111','12022122023','12022122201','1202= 2122210','12022122220','12022122222','12022122223','12022123123','1202212= 3132','12022123232','12022123233','12022123301','12022123310','1202212331= 3','12022123322','12022123331','12022131333','12022132000','12022132001',= '12022132002','12022132003','12022132012','12022132013','12022132021','12= 022132030','12022132031','12022132032','12022132102','12022132120','12022= 132122','12022132123','12022132130','12022132131','12022132132','12022132= 133','12022132200','12022132201','12022132202','12022132203','12022132210= ','12022132211','12022132212','12022132213','12022132220','12022132230','= 12022132231','12022132233','12022132300','12022132301','12022132302','120= 22132303','12022132320','12022132321','12022132322','12022132330','120221= 33023','12022133032','12022133111','12022133201','12022133210','120221332= 22','12022133223','12022133301','12022133303','12022133310','12022133311'= ,'12022133312','12022133313','12022133322','12022133323','12022133332','1= 2022202111','12022202133','12022202311','12022203022','12022203200','1202= 2211011','12022211013','12022211100','12022211102','12022212123','1202221= 2132','12022212212','12022212230','12022212301','12022212310','1202221300= 2','12022213003','12022213010','12022213011','12022213012','12022213013',= '12022213020','12022213021','12022213030','12022213032','12022213310','12= 022213311','12022213312','12022213313','12022213330','12022213331','12022= 222031','12022222033','12022222122','12022222330','12022222331','12022222= 332','12022222333','12022223030','12022223033','12022223111','12022223113= ','12022223122','12022223123','12022223132','12022223211','12022223212','= 12022223213','12022223220','12022223222','12022223230','12022223300','120= 22223301','12022223302','12022230020','12022230022','12022232000','120222= 32002','12022301010','12022301011','12022301013','12022301100','120223011= 02','12022301112','12022301113','12022301212','12022301213','12022301331'= ,'12022302133','12022302311','12022303021','12022303022','12022303023','1= 2022303030','12022303031','12022303102','12022303120','12022303200','1202= 2310000','12022310001','12022310002','12022310003','12022310110','1202231= 0111','12022310203','12022310210','12022310211','12022310212','1202231021= 3','12022310220','12022310333','12022311012','12022311013','12022311021',= '12022311030','12022311031','12022311032','12022311033','12022311101','12= 022311110','12022311120','12022311121','12022311122','12022311123','12022= 311130','12022311132','12022311222','12022311301','12022311310','12022311= 311','12022312111','12022313000','12022313001','12022313003','12022313010= ','12022313012','12022313013','12022313030','12022313031','12022313032','= 12022313033','12022313101','12022313102','12022313103','12022313110','120= 22313112','12022313113','12022313120','12022313121','12022313123','120223= 13130','12022313131','12022313132','12022313133','12022313210','120223311= 12','12022331113','12022331130','12022331131','12022332332','12023000002'= ,'12023000003','12023000120','12023000121','12023000122','12023000123','1= 2023000203','12023000212','12023000220','12023000221','12023000222','1202= 3000223','12023000230','12023000232','12023001331','12023002100','1202300= 2101','12023002102','12023002103','12023002202','12023002203','1202300222= 0','12023002221','12023003003','12023003012','12023010201','12023010202',= '12023010203','12023010212','12023010220','12023010221','12023011202','12= 023011203','12023011213','12023011220','12023011221','12023011231','12023= 011233','12023011300','12023011301','12023011302','12023011303','12023011= 312','12023011320','12023011321','12023011322','12023011323','12023011330= ','12023011332','12023012331','12023012333','12023013222','12023020200','= 12023021132','12023021133','12023021232','12023021233','12023021310','120= 23022023','12023022032','12023022111','12023022113','12023022121','120230= 22123','12023022130','12023022132','12023022201','12023022210','120230222= 11','12023022213','12023022232','12023022233','12023022301','12023022302'= ,'12023022303','12023022310','12023022311','12023022312','12023022321','1= 2023022323','12023022330','12023022332','12023023000','12023023002','1202= 3023010','12023023011','12023023101','12023023103','12023023121','1202302= 3123','12023023130','12023023132','12023023133','12023030023','1202303003= 2','12023030111','12023031000','12023200003','12023200010','12023200011',= '12023200012','12023200021','12023200030','12023200200','12023200201','12= 023200202','12023200212','12023200213','12023200230','12023200231','12023= 200301','12023200303','12023200310','12023200312','12023200320','12023200= 322','12023200323','12023200333','12023202002','12023202020','12023202022= ','12023202110','12023202111','12023202112','12023202113','12023202131','= 12023202133','12023202202','12023202211','12023202213','12023202220','120= 23202323','12023202332','12023203000','12023203002','12023203003','120232= 03012','12023203020','12023203021','12023203022','12023203030','120232031= 22','12023203123','12023203300','12023203301','12023220101','12023220110'= ,'12023220133','12023220230','12023220231','12023220232','12023220233','1= 2023220300','12023220301','12023220302','12023220303','12023220311','1202= 3220323','12023220332','12023220333','12023221000','12023221002','1202322= 1022','12023221102','12023221103','12023221112','12023221121','1202322112= 3','12023221130','12023221132','12023221200','12023221201','12023221202',= '12023221203','12023221213','12023221222','12023221302','12023222101','12= 023222103','12023222110','12023222111','12023222112','12023222113','12023= 222121','12023222130','12023222131','12023223000','12023223001','12023223= 002','12023223003','12023223022','12023223023','12023223031','12023223033= ','12023223120','12023223122','12023223200','12023223201','12023223203','= 12023230200','12023230201','12023230202','12023230203','12023232022','120= 23232023','12023232033','12023232131','12023232221','12023232222','120232= 32223','12023232231','12023232233','12023232320','12023232322','120232330= 30','12023233032','12023233200','12023233212','12023233230','12023233302'= ,'12023233303','12023233320','12023233321','12023233330','12023233331','1= 2023233332','12023233333','12023322220','12023322222','12032210122','1203= 2210123','12032210211','12032210213','12032210300','12032210301','1203221= 0302','12032210303','12032210320','12032210321','12032222323','1203222233= 2','12032223220','12032223221','12032223223','12200003130','12200003131',= '12200003133','12200101131','12200101133','12200110002','12200110003','12= 200110020','12200110021','12200110101','12200110110','12200110222','12200= 110223','12200110300','12200110301','12200110302','12200110303','12200112= 000','12200112001','12200112211','12200112213','12200112300','12200112302= ','12201001111','12201001113','12201010000','12201010001','12201010002','= 12201010003','12201010010','12201010011','12201010012','12201010013','122= 01010030','12201010031','12201010100','12201010102','12201010120','122010= 11021','12201011030','12201011101','12201011103','12201011110','122010111= 12','12201011130','12201013211','12201013300','12201013320','12201013321'= ,'12201013322','12201013323','12201013330','12201013332','12201013333','1= 2201020313','12201020331','12201020332','12201020333','12201021211','1220= 1021213','12201021300','12201021302','12201023113','12201023120','1220102= 3121','12201023122','12201023123','12201023131','12201030313','1220103101= 1','12201031013','12201031022','12201031023','12201031110','12201031200',= '12201031201','12201031202','12201031203','12201031220','12201031221','12= 201032001','12201032002','12201032003','12201032103','12201032112','12201= 032121','12201032132','12201032200','12201032201','12201032203','12201032= 212','12201032213','12201032230','12201032231','12201032302','12201032310= ','12201032311','12201032312','12201032313','12201032320','12201100023','= 12201100032','12201100121','12201100130','12201100132','12201100133','122= 01100201','12201100210','12201100310','12201100311','12201100312','122011= 00313','12201102203','12201102221','12201111313','12201112112','122011121= 30','12201113031','12201113113','12201113120','12201113131','12201113333'= ,'12201131003','12201131033','12201131122','12201131211','12201131300','1= 2201133301','12201133303','12210000021','12210000030','12210000031','1221= 0000032','12210000033','12210000202','12210001010','12210001011','1221000= 2002','12210002020','12210002032','12210002210','12210020130','1221002031= 1','12210020312','12210020313','12210020321','12210020330','12210020331',= '12210020332','12210020333','12210021200','12210021202','12210021220','12= 210021222','12210201222','12210203110','12210203111','12210203112','12210= 203113','13300211201','13300211203','13300211210','13300211211','13300211= 212','13300211213','13300211221','13300211223','13300211230','13300211231= ','13300211232','13300211233','13300211302','13300211320','13300211322','= 13300213001','13300213010','13300213011','31121301200','31121301201','311= 21301202','31121301203','31121301220','31121301221','31121301222','311213= 01223','31122312102','31122312103','31122312110','31122312111','311223121= 12','31122312113','31122312120','31122312121','31122312122','31122312123'= ,'31122312130','31122312131','31122312132','31122312133','31122312301','3= 1122312310','31122312311','31122313000','31122313001','31122313002','3112= 2313003','31122313010','31122313012','31122313020','31122313021','3112231= 3023','31122313032','31123013122','31123013123','31123013211','3112301321= 3','31123013231','31123013232','31123013233','31123013300','31123013301',= '31123013302','31123013303','31123013320','31123021313','31123021331','31= 123021333','31123023111','31123030202','31123030220','31123030221','31123= 030222','31123030223','31123031001','31123031003','31123031010','31123031= 011','31123031012','31123032000','31301002303','31301002312','31301002321= ','31301002323','31301002330','31301002331','31301002332'],i=3Dfalse,d=3D= [];this.Init=3Dfunction(a){y=3Da+"/GetBirdsEyeSceneByLocation";z=3Da+"/Ge= tBirdsEyeSceneById";r=3Dtrue};this.SetClientToken=3Dfunction(b){e=3Db;if(= a)a.SetClientToken(e,p)};this.SetUseOriginTiles=3Dfunction(a){p=3Da};this= .SetGUID=3Dfunction(b){m=3Db;if(a)a.SetGUID(m);if(typeof = VEMap!=3D"undefined")s=3DVEMap._GetMapFromGUID(m)};this.Destroy=3Dfunctio= n(){e=3Dnull;r=3Dfalse};this.RequestPending=3Dfunction(){return = i};function P(c,d,b){return a.IsValidTile(c,d,b)}function = N(b,c,d){return = a.GetTileFilename(b,c,d,currentView.mapStyle)}this.GetMiddleTileFilename=3D= function(){return a.GetMiddleTileFilename()};function I(e){if(!a)return = 0;var b=3Dnew = VEPixel(MathRound(originX+offsetX+width/2),MathRound(originY+offsetY+heig= ht/2)),f=3Da.PixelToLatLong(b,e);b.x++;var = g=3Da.PixelToLatLong(b,e),h=3DMath.sin(DegToRad(f.latitude)),i=3DMath.sin= (DegToRad(g.latitude)),c=3DearthRadius/2*MathAbs(Math.log((1+h)/(1-h))-Ma= th.log((1+i)/(1-i))),d=3DearthRadius*MathAbs(DegToRad(f.longitude)-DegToR= ad(g.longitude));return Math.sqrt(d*d+c*c)}function J(c,b){return = a?a.PixelToLatLong(c,b):null}function = E(c,d,b){if(a)a.PixelToLatLongAsync(c,d,b);else b(null)}function = H(c,b){return a?a.LatLongToPixel(c,b):null}function = D(c,d,b){if(a)a.LatLongToPixelAsync(c,d,b);else b(null)}function = B(){return 2}function = G(a){if(a.zoomLevel>=3D2)tileLayerManager.SetMarketMaxZoom(2);if(a.zoomLe= vel<1)a.SetZoomLevel(1);else if(a.zoomLevel>2)a.SetZoomLevel(2)}function = R(){return a}function Q(){return a.GetBounds()}function O(){return = b}function K(){if(!b)return null;var a=3D{};return a}function = F(){if(currentView!=3Dnull&&!Msn.VE.MapStyle.IsViewOblique(currentView.ma= pStyle)&¤tView.zoomLevel>0)if(currentView.zoomLevel0)A(b)}n=3Dfalse}function = S(a){if(!a||!f||f.length=3D=3D0)return false;var = c=3DorthoMode.LatLongToPixel(a,f[0].length),b=3DVEPixelToQuadKey(c,f[0].l= ength);return o(b,0,f.length-1)}function o(a,d,c){if(c=3D0&&b>=3D0&&a=3Dk&&f<=3Di&&g>=3Dl&&g<=3Dj)if(d>=3Da[b].z1= &&d<=3Da[b].z2||d<=3DtileLayerManager.GetMaxTileZoom())return = a[b]}return a[0]}function c(e){var = f=3De.center.x+mapCenterOffset.x,g=3De.center.y+mapCenterOffset.y,c=3D0;f= or(var b=3D0;b=3Dj&&f<=3Dh&&g>=3Dk&&g<=3Di)c=3DMath.ma= x(c,a[b].z2)}c=3DMath.max(c,tileLayerManager.GetMaxTileZoom());return = c}function f(d){var = f=3Dd.center.x+mapCenterOffset.x,g=3Dd.center.y+mapCenterOffset.y,c=3D0;f= or(var b=3D0;b=3Dj&&f<=3Dh&&g>=3Dk&&g<=3Di){c=3D0;if(a= [b].z2>=3Dd.zoomLevel){tileLayerManager.SetMarketMaxZoom(a[b].z2);return}= else = if(a[b].z2>c){tileLayerManager.SetMarketMaxZoom(a[b].z2);c=3Da[b].z2;if(c= 19= )a.SetZoomLevel(19)}function _InternalOrthoMode(){return = internalOrthoMode}this._InternalOrthoMode=3D_InternalOrthoMode;this.IsVal= idTile=3DIsValidTile;this.GetFilename=3DGetFilename;this.MetersPerPixel=3D= MetersPerPixel;this.PixelToLatLong=3DPixelToLatLong;this.PixelToLatLongAs= ync=3DPixelToLatLongAsync;this.LatLongToPixel=3DLatLongToPixel;this.LatLo= ngToPixelAsync=3DLatLongToPixelAsync;this.GetBounds=3DGetBounds;this.Vali= dateZoomLevel=3DValidateZoomLevel;this.GetCurrentMaxZoomLevel=3DGetCurren= tMaxZoomLevel}function BoxTool(){var = b=3Ddocument.createElement("div"),a=3Ddocument.createElement("div"),h,c=3D= 0,d=3D0,e=3D0,f=3D0;this.Init=3Dfunction(){b.className=3D"MSVE_ZoomBox_bg= ";a.className=3D"MSVE_ZoomBox_fg";b.attachEvent("onmouseup",MouseUp);a.at= tachEvent("onmouseup",MouseUp);if(map!=3Dnull){map.appendChild(b);map.app= endChild(a)}};this.Destroy=3Dfunction(){b.detachEvent("onmouseup",MouseUp= );a.detachEvent("onmouseup",MouseUp);if(map!=3Dnull){map.removeChild(b);m= ap.removeChild(a)}};function k(i){if(typeof = VE_ContextMenu!=3D"undefined"&&VE_ContextMenu!=3Dnull){VE_ContextMenu.Rem= oveContextPin();VE_ContextMenu.CloseMenu()}var = b=3DGimme.Screen.getMousePosition(i);h=3Dg(p_elSource).getPagePosition();= c=3De=3Db.x-h.x+offsetX;d=3Df=3Db.y-h.y+offsetY;j(c,d,1,1);o();if(a.setCa= pture)a.setCapture()}function l(i){var = a=3DGimme.Screen.getMousePosition(i);e=3Da.x-h.x+offsetX;f=3Da.y-h.y+offs= etY;var = g=3De-c,b=3Df-d;j(Math.min(c,c+g),Math.min(d,d+b),Math.abs(g),Math.abs(b)= )}function m(j){if(MathAbs(c-e)>1&&MathAbs(d-f)>1){var = b=3DpreferredView.MakeCopy();b.SetZoomLevel(currentView.zoomLevel);if(!j.= shiftKey)b.SetPixelRectangle(new Msn.VE.PixelRectangle(new = VEPixel(originX+c,originY+d),new VEPixel(originX+e,originY+f)));else{var = h=3Dwidth/MathAbs(e-c),i=3Dheight/MathAbs(f-d),g=3Dh0)a=3Da+",";a=3Da+d[f].TopLeftLatLong.Longitud= e+","+d[f].BottomRightLatLong.Latitude+","+d[f].BottomRightLatLong.Longit= ude+","+d[f].TopLeftLatLong.Latitude}a=3Da+'"'}h.AddImageSource(e,c.ID,a,= b[e].zIndex,b[e].opacity)};this.Remove3DTileSource=3Dfunction(b,a,c){c.Re= moveImageSource(b,a.ID)};this.AddAllTileSourcesTo3D=3Dfunction(d){if(type= of Msn.VE.API!=3D"undefined"&&Msn.VE.API!=3Dnull)for(var = c=3D0;c=3Dd[h].MinZoom&¤tView.zoomLevel<=3Dl)if(d[h].Bounds!=3D"undef= ined"&&d[h].Bounds!=3Dnull)k=3DtileLayerManager.CheckTilesAvailability(h,= g);else k=3Dtrue;if(k&&b[g].LoadTiles){b[g].isActive=3Dtrue;for(var = p=3DtileViewportY1;p<=3DtileViewportY2;p++)for(var = o=3DtileViewportX1;o<=3DtileViewportX2;o++){var = q=3DRequestTile(o,p,currentView.zoomLevel,currentView.mapStyle,b[g],h,b[g= ].opacity,b[g].zIndex);c[g].push(q)}}};this.SetViewPort=3Dfunction(){map.= style.top=3D"0px";map.style.left=3D"0px";originX=3DMathRound(currentView.= center.x-width/2);originY=3DMathRound(currentView.center.y-height/2);offs= etX=3D0;offsetY=3D0;var = a=3Dthis.CalculateTileViewPort(true,originX,originY,originX+width,originY= +height);tileViewportX1=3Da[0];tileViewportY1=3Da[1];tileViewportX2=3Da[2= ];tileViewportY2=3Da[3];tileViewportWidth=3Da[4];tileViewportHeight=3Da[5= ];Fire("onmapoffsetreset")};this.CalculateTileViewPort=3Dfunction(f,b,d,c= ,e){var = a=3D[];b=3D(b-buffer)/tileSize;d=3D(d-buffer)/tileSize;c=3D(c+buffer)/til= eSize;e=3D(e+buffer)/tileSize;if(f){b=3DMathFloor(b);d=3DMathFloor(d);c=3D= MathFloor(c);e=3DMathFloor(e)}a[0]=3Db;a[1]=3Dd;a[2]=3Dc;a[3]=3De;a[4]=3D= a[2]-a[0]+1;a[5]=3Da[3]-a[1]+1;return = a};this.GetViewPort=3Dfunction(){var = a=3D[];a[0]=3DtileViewportX1;a[1]=3DtileViewportY1;a[2]=3DtileViewportX2;= a[3]=3DtileViewportY2;a[4]=3DtileViewportWidth;a[5]=3DtileViewportHeight;= return a};this.FinalizeView=3Dfunction(){zooming=3Dfalse;for(var = b=3D0;b=3D0)e=3Db[a= [d]].ID=3D=3DmapTiles||c[a[d]].length>0}return = e};this.PanView=3Dfunction(){if(!i)return;if(zooming)return;var = h=3DoriginX+offsetX,j=3DoriginY+offsetY,k=3DMathFloor((h-buffer)/tileSize= ),m=3DMathFloor((j-buffer)/tileSize),l=3DMathFloor((h+width+buffer)/tileS= ize),n=3DMathFloor((j+height+buffer)/tileSize);while(tileViewportX1=3D0;e--)for(var = d=3D0;dk){tileVie= wportX1--;tileViewportWidth++;for(var = e=3D0;em){tileViewportY1--;tileViewportHe= ight++;for(var f=3DtileViewportWidth-1;f>=3D0;f--)for(var = d=3D0;dl){for(var = e=3DtileViewportHeight-1;e>=3D0;e--)for(var = d=3D0;dn= ){for(var f=3D0;fh)h=3Db.MaxZoom}if(a.GetTilePath!=3D"undefined"&&a.= GetTilePath!=3Dnull)b.GetTilePath=3Da.GetTilePath;tileLayerManager.AddTil= eSource(b)};this.DeleteTileSource=3Dfunction(f){if(d[f]!=3Dnull&&d[f]!=3D= "undefined"){d[f]=3Dnull;delete d[f]}if(a!=3Dnull)for(var = e=3D0;eb.northwest.latitude||a.southeast.longitudeb.southeast.longitude)};this.ShowTrafficLegend=3Dfunction(a){k=3D= a;Fire("onapitrafficdisplay")};this.HideTrafficLegend=3Dfunction(){Fire("= onapitraffichide")};this.GetTimeStamp=3Dfunction(){return = k};this.GetMaxTileZoom=3Dfunction(){return = h};this.SetMarketMaxZoom=3Dfunction(a){marketMaxZoom=3Da;d[mapTiles].MaxZ= oom=3Da};this.SetClientToken=3Dfunction(a,b){g[a]=3Db;if(d[a])d[a].SetCli= entToken(b)};this.SetPrintable=3Dfunction(f){if(f)for(var = b=3D0;b0;b--){c=3D0;var = d=3D1<=3D0)b=3D"&";else = b=3D"?";a=3Da.concat(b,Msn.VE.API.Constants.clienttoken,"=3D",c)}else = this.OriginalName=3Dnull;this.SourceName=3Da}}function = VETileLayerSpecification(){this.ID=3D"";this.ZIndex=3D0;this.Opacity=3D1}= function = VETileContext(){this.XPos=3D0;this.YPos=3D0;this.ZoomLevel=3D0;this.MapSt= yle=3D""}VEAuthenticationCode=3Dfunction(){};VEAuthenticationCode.None=3D= 0;VEAuthenticationCode.NoToken=3D1;VEAuthenticationCode.TokenValid=3D2;VE= AuthenticationCode.TokenInvalid=3D3;VEAuthenticationCode.TokenExpired=3D4= ;VEAuthenticationCode.TokenIPInvalid=3D5;VEAuthenticationCode.TokenExpire= dAndIPInvalid=3D6;VEAuthenticationCode.TokenValidButNotAuthorized=3D7;thi= s.__HandleAuthentication=3Dfunction(a){if(a&&a.ResponseSummary&&a.Respons= eSummary.AuthResultCode){var = b=3Da.ResponseSummary.AuthResultCode;switch(b){case = VEAuthenticationCode.TokenExpired:case = VEAuthenticationCode.TokenExpiredAndIPInvalid:this.Fire("ontokenexpire");= break;case VEAuthenticationCode.TokenInvalid:case = VEAuthenticationCode.TokenIPInvalid:case = VEAuthenticationCode.TokenValidButNotAuthorized:this.Fire("ontokenerror")= }}};this.SetCenter=3DSetCenter;this.SetCenterAccurate=3DSetCenterAccurate= ;this.SetMapStyle=3DSetMapStyle;this.SetScaleBarDistanceUnit=3DSetScaleBa= rDistanceUnit;this.SetScaleBarVisibility=3DSetScaleBarVisibility;this.OnV= iew3DScaleBarPositionUpdate=3DOnView3DScaleBarPositionUpdate;this.GetCent= erLatitude=3DGetCenterLatitude;this.GetCenterLongitude=3DGetCenterLongitu= de;this.GetLatitude=3DGetLatitude;this.GetLongitude=3DGetLongitude;this.G= etY=3DGetY;this.GetX=3DGetX;this.LatLongToPixel=3DLatLongToPixel;this.Lat= LongToPixelAsync=3DLatLongToPixelAsync;this.PixelToLatLong=3DPixelToLatLo= ng;this.PixelToLatLongAsync=3DPixelToLatLongAsync;this.GetZoomLevel=3DGet= ZoomLevel;this.GetMapStyle=3DGetMapStyle;this.GetMapMode=3DGetMapMode;thi= s.GetMode=3DGetMode;this.GetAltitude=3D$MVEM.IsEnabled(MapControl.Feature= s.MapStyle.View3D)?GetAltitude:function(){NotSupportedMethod("VEMapContro= l","GetAltitude")};this.GetDirection=3D$MVEM.IsEnabled(MapControl.Feature= s.MapStyle.View3D)?GetDirection:function(){NotSupportedMethod("VEMapContr= ol","GetDirection")};this.GetTilt=3D$MVEM.IsEnabled(MapControl.Features.M= apStyle.View3D)?GetTilt:function(){NotSupportedMethod("VEMapControl","Get= Tilt")};this.GetMetersPerPixel=3DGetMetersPerPixel;this.Fill=3DFill;this.= Resize=3DResize;this.PanMap=3DPanMap;this.ContinuousPan=3DContinuousPan;t= his.StopContinuousPan=3DStopContinuousPan;this.StopKeyboardPan=3DStopKeyb= oardPan;this.PanToLatLong=3DPanToLatLong;this.PanByPixel=3DPanByPixel;thi= s.GetPushpins=3DGetPushpins;this.AddPushpin=3DAddPushpin;this.RemovePushp= in=3DRemovePushpin;this.ClearPushpins=3DClearPushpins;this.GetPushpinMapP= ixel=3DGetPushpinMapPixel;this.SetViewport=3DSetViewport;this.SetBestMapV= iew=3DSetBestMapView;this.ClipLatitude=3DClipLatitude;this.ClipLongitude=3D= ClipLongitude;this.GetBestMapViewBounds=3DGetBestMapViewBounds;this.Inclu= dePointInViewport=3DIncludePointInViewport;this.SetZoom=3DSetZoom;this.Se= tTilt=3D$MVEM.IsEnabled(MapControl.Features.MapStyle.View3D)?SetTilt:func= tion(){NotSupportedMethod("VEMapControl","SetTilt")};this.SetDirection=3D= $MVEM.IsEnabled(MapControl.Features.MapStyle.View3D)?SetDirection:functio= n(){NotSupportedMethod("VEMapControl","SetDirection")};this.SetAltitude=3D= $MVEM.IsEnabled(MapControl.Features.MapStyle.View3D)?SetAltitude:function= (){NotSupportedMethod("VEMapControl","SetAltitude")};this.ZoomIn=3DZoomIn= ;this.ZoomOut=3DZoomOut;this.SetCenterAndZoom=3DSetCenterAndZoom;this.Add= Line=3DAddLine;this.RemoveLine=3DRemoveLine;this.ClearLines=3DClearLines;= this.AttachEvent=3DAttachEvent;this.DetachEvent=3DDetachEvent;this.Attach= CustomEvent=3DAttachCustomEvent;this.DetachCustomEvent=3DDetachCustomEven= t;this.FireCustomEvent=3DFireCustomEvent;this.DisposeAllCustomEvent=3DDis= poseAllCustomEvent();this.CreateEvent=3DCreateEvent;this.Fire=3DFire;this= .IsObliqueAvailable=3DIsObliqueAvailable;this.GetObliqueScene=3DGetObliqu= eScene;this.SetAnimationEnabled=3DSetAnimationEnabled;this.IsAnimationEna= bled=3DIsAnimationEnabled;this.SetObliqueScene=3D$MVEM.IsEnabled(MapContr= ol.Features.MapStyle.BirdsEye)?SetObliqueScene:function(){NotSupportedMet= hod("VEMapControl","SetObliqueScene")};this.SetObliqueLocation=3D$MVEM.Is= Enabled(MapControl.Features.MapStyle.BirdsEye)?SetObliqueLocation:functio= n(){NotSupportedMethod("VEMapControl","SetObliqueLocation")};this.SetObli= queOrientation=3D$MVEM.IsEnabled(MapControl.Features.MapStyle.BirdsEye)?S= etObliqueOrientation:function(){NotSupportedMethod("VEMapControl","SetObl= iqueOrientation")};this.SetView=3DSetView;this.Debug=3DDebug;this.GetResp= onseRangeCounts=3DGetResponseRangeCounts;this.ResetResponseRangeCounts=3D= ResetResponseRangeCounts;this.GetFailureRate=3DGetFailureRate;this.SetTra= fficView=3D$MVEM.IsEnabled(MapControl.Features.Traffic.Enabled)?SetTraffi= cView:function(){NotSupportedMethod("VEMapControl","SetTrafficView")};thi= s.GetTrafficAvailability=3DGetTrafficAvailability;this.GetMarketsFile=3DG= etMarketsFile;this.GetIncidentsFile=3DGetIncidentsFile;this.GetSlidingExp= irationForAutoRefresh=3D$MVEM.IsEnabled(MapControl.Features.Traffic.Enabl= ed)?GetSlidingExpirationForAutoRefresh:function(){NotSupportedMethod("VEM= apControl","GetSlidingExpirationForAutoRefresh")};this.GetAutoRefreshRate= =3D$MVEM.IsEnabled(MapControl.Features.Traffic.Enabled)?GetAutoRefreshRat= e:function(){NotSupportedMethod("VEMapControl","GetAutoRefreshRate")};thi= s.GetMapLegend=3DGetMapLegend;this.SetFocus=3DSetFocus;this.GetCurrentMod= e=3DGetCurrentMode;this.GetObliqueMode=3DGetObliqueMode;this.GetOrthoMode= =3DGetOrthoMode;this.GetMapWidth=3DGetMapWidth;this.GetMapHeight=3DGetMap= Height;this.GetCurrentMapView=3DGetCurrentMapView;this.SetBaseTileSource=3D= SetBaseTileSource;this.SetTileSource=3DtileLayerManager.SetTileSource;thi= s.SetTileLayerVisibility=3DtileLayerManager.SetTileLayerVisibility;this.A= ddMapServiceLayersTo3D=3DtileLayerManager.AddMapServiceLayersTo3D;this.De= leteMapServiceLayersFrom3D=3DtileLayerManager.DeleteMapServiceLayersFrom3= D;this.LoadTileLayer=3DtileLayerManager.LoadTileLayer;this.ClearTileLayer= =3DtileLayerManager.ClearTileLayer;this.ClearTileLayers=3DtileLayerManage= r.ClearTileLayers;this.DeleteTileSource=3DtileLayerManager.DeleteTileSour= ce;this.HideBaseTileLayer=3DtileLayerManager.HideBaseTileLayer;this.ShowB= aseTileLayer=3DtileLayerManager.ShowBaseTileLayer;this.RefreshTileLayer=3D= tileLayerManager.RefreshTileLayer;this.RefreshTileLayers=3DtileLayerManag= er.RefreshTileLayers;this.ShowTrafficLegend=3D$MVEM.IsEnabled(MapControl.= Features.Traffic.Enabled)?tileLayerManager.ShowTrafficLegend:function(){N= otSupportedMethod("VEMapControl","ShowTrafficLegend")};this.HideTrafficLe= gend=3D$MVEM.IsEnabled(MapControl.Features.Traffic.Enabled)?tileLayerMana= ger.HideTrafficLegend:function(){NotSupportedMethod("VEMapControl","HideT= rafficLegend")};this.GetTimeStamp=3D$MVEM.IsEnabled(MapControl.Features.T= raffic.Enabled)?tileLayerManager.GetTimeStamp:function(){NotSupportedMeth= od("VEMapControl","GetTimeStamp")};this.GetMaxTileZoom=3DtileLayerManager= .GetMaxTileZoom;this.PanView=3DtileLayerManager.PanView;this.LoadBaseLaye= r=3DtileLayerManager.LoadBaseLayer;this.GetCurrentViewMaxZoomLevel=3DGetC= urrentViewMaxZoomLevel;this.SetTilePixelBuffer=3DSetTilePixelBuffer;this.= SetClientToken=3DSetClientToken;this.SetMapHeight=3DSetMapHeight;this.Get= MapSurface=3DGetMapSurface;this.EnableMode=3DEnableMode;this._Enable3DMod= e=3D$MVEM.IsEnabled(MapControl.Features.MapStyle.View3D)?_Enable3DMode:fu= nction(){NotSupportedMethod("VEMapControl","_Enable3DMode")};this._Disabl= e3DMode=3D_Disable3DMode;this.ControlReady=3DControlReady;this.Get3DVisib= leArea=3D$MVEM.IsEnabled(MapControl.Features.MapStyle.View3D)?Get3DVisibl= eArea:function(){NotSupportedMethod("VEMapControl","Get3DVisibleArea")};t= his.Get3DControl=3DGet3DControl;this.IsModeEnabled=3DIsModeEnabled;this.S= ync3dView=3D$MVEM.IsEnabled(MapControl.Features.MapStyle.View3D)?Sync3dVi= ew:function(){NotSupportedMethod("VEMapControl","Sync3dView")};this.OnBeg= inCameraUpdate=3D$MVEM.IsEnabled(MapControl.Features.MapStyle.View3D)?OnB= eginCameraUpdate:function(){NotSupportedMethod("VEMapControl","OnBeginCam= eraUpdate")};this.OnEndCameraUpdate=3D$MVEM.IsEnabled(MapControl.Features= .MapStyle.View3D)?OnEndCameraUpdate:function(){NotSupportedMethod("VEMapC= ontrol","OnEndCameraUpdate")};this.IsCameraFlying=3D$MVEM.IsEnabled(MapCo= ntrol.Features.MapStyle.View3D)?IsCameraFlying:function(){NotSupportedMet= hod("VEMapControl","IsCameraFlying")};this.Show3DTraffic=3D$MVEM.IsEnable= d(MapControl.Features.MapStyle.View3D)?Show3DTraffic:function(){NotSuppor= tedMethod("VEMapControl","Show3DTraffic")};this.Remove3DTraffic=3D$MVEM.I= sEnabled(MapControl.Features.MapStyle.View3D)?Remove3DTraffic:function(){= NotSupportedMethod("VEMapControl","Remove3DTraffic")};this.Show3DBirdseye= =3D$MVEM.IsEnabled(MapControl.Features.MapStyle.View3D)?Show3DBirdseye:fu= nction(){NotSupportedMethod("VEMapControl","Show3DBirdseye")};this.Iterat= iveCameraRefinement=3D$MVEM.IsEnabled(MapControl.Features.MapStyle.View3D= )?IterativeCameraRefinement:function(){NotSupportedMethod("VEMapControl",= "IterativeCameraRefinement")};this.SetChildDiv=3DSetChildDiv;this.EnableG= eoCommunity=3DEnableGeoCommunity;this.IsGeoCommunityEnabled=3DIsGeoCommun= ityEnabled;this.HijackMouseCursor=3DHijackMouseCursor;this.IsHijackMouseC= ursor=3DIsHijackMouseCursor;this.GetOffsetX=3DGetOffsetX;this.GetOriginY=3D= GetOriginY;this.GetOriginX=3DGetOriginX;this.GetOffsetY=3DGetOffsetY;this= .GetCenterOffset=3DGetCenterOffset;this.SetCenterOffset=3DSetCenterOffset= ;this.UpdatePreferredView=3DUpdatePreferredView;this.GetGraphic=3DGetGrap= hic;this.GetCurrentTileViewPort=3DGetCurrentTileViewPort;this.CalculateTi= leViewPort=3DCalculateTileViewPort;this.CreateDashboard=3DCreateDashboard= ;this.GetLastViewChangeType=3DGetLastViewChangeType;this.SetOn3DAnimation= InterruptedCallback=3D$MVEM.IsEnabled(MapControl.Features.MapStyle.View3D= )?SetOn3DAnimationInterruptedCallback:function(){NotSupportedMethod("VEMa= pControl","SetOn3DAnimationInterruptedCallback")};this.GetOn3DAnimationIn= terruptedCallback=3D$MVEM.IsEnabled(MapControl.Features.MapStyle.View3D)?= GetOn3DAnimationInterruptedCallback:function(){NotSupportedMethod("VEMapC= ontrol","GetOn3DAnimationInterruptedCallback")};this.SetShowMapModeSwitch= =3DSetShowMapModeSwitch;this.GetObliqueAvailability=3DGetObliqueAvailabil= ity;this.GetTopPx=3DGetTopPx;this.GetLeftPx=3DGetLeftPx;this.SetPrintable= =3DSetPrintable;this.CreateMinimap=3DCreateMinimap;this.IsMapViewOblique=3D= IsMapViewOblique;this.IsMapViewOrtho=3DIsMapViewOrtho;this.GetTileGenerat= ion=3DGetTileGeneration;this.IsDragging=3Dfunction(){return = dragging};this.IsZooming=3Dfunction(){return zooming}};function = NotSupportedMethod(a,b){throw new = VEException(a,"err_unsupport",L_UnsupportMethod_Text.replace("%1",b))}fun= ction NotSupportedClass(a){throw new = VEException("","err_unsupport",L_UnsupportClass_Text.replace("%1",a))}Msn= .VE.Bounds=3Dfunction(e,f,a,c,b,d){this.z1=3De;this.z2=3Df;this.x1=3Da;th= is.y1=3Dc;this.x2=3Db;this.y2=3Dd};Msn.VE.DashboardStates=3Dnew = function(){this.MapMode=3Dnew = function(){this.Flatland=3D1;this.View3D=3D2};this.MapView=3Dnew = function(){this.Ortho=3D4;this.Oblique=3D8;this.StreetSide=3D16};this.Map= Style=3Dnew = function(){this.Road=3D32;this.Shaded=3D64;this.Aerial=3D128;this.Hybrid=3D= 256}};VEMiniMapSize=3Dfunction(){};VEMiniMapSize.Small=3D"small";VEMiniMa= pSize.Large=3D"large";VEMiniMapExpandState=3Dfunction(){};VEMiniMapExpand= State.Collapsed=3D"collapsed";VEMiniMapExpandState.Expanded=3D"expanded";= VEMiniMapVersion=3Dfunction(){};VEMiniMapVersion[5]=3D"MSVE_Minimap_V5";V= EMiniMapVersion[6]=3D"MSVE_Minimap_V6";Msn.VE.Minimap=3Dfunction(bb,m,cb,= h){var = n=3Dthis,db=3DMsn.VE.Css,U=3DMsn.VE.Css.Functions,t=3DMsn.VE.DashboardSta= tes.MapMode.Flatland,e=3DMsn.VE.DashboardStates.MapView.Ortho,N=3Dfalse,O= =3Dnull,A=3Dfalse,u=3Dfalse,B=3Dfalse,k=3Dtrue,o=3Dnull,c=3Dbb,b=3Dnull,a= =3Dm,i=3D[];i[VEMiniMapSize.Small]=3D"MSVE_smallMinimap";i[VEMiniMapSize.= Large]=3D"MSVE_normalMinimap";var = w=3D[];w[VEMiniMapSize.Small]=3DL_MinimapLargerToolTip_Text;w[VEMiniMapSi= ze.Large]=3DL_MinimapSmallerToolTip_Text;var = r=3D[];r[VEMiniMapSize.Small]=3D138.5;r[VEMiniMapSize.Large]=3D180.5;if(h= !=3D5&&h!=3D6)h=3D5;c.className=3DVEMiniMapExpandState.Expanded+" = "+i[VEMiniMapSize.Small]+" "+VEMiniMapVersion[h];var = p=3Ddocument.createElement("div");p.id=3D"MSVE_minimap_transparency";c.ap= pendChild(p);var = f=3Ddocument.createElement("div");f.id=3D"MSVE_minimap_content";f.title=3D= L_MinimapDragToolTip_Text;p.appendChild(f);var = j=3Ddocument.createElement("span");j.id=3D"MSVE_minimap_glyph";j.title=3D= L_MinimapHideToolTip_Text;if(cb!=3Dfalse&&Msn.VE.Animation){this.rollInDi= rection=3Dnull;this.rollOutDirection=3Dnull;c.appendChild(j);H(this,h)}va= r d=3Dnull,q=3Dfalse;a.AttachEvent("onchangemapstyle",W);var = D=3Ddocument.createElement("div"),C=3Ddocument.createElement("div"),l=3Dd= ocument.createElement("div");l.id=3D"MSVE_minimap_style_wrapper";f.append= Child(l);switch(h){case 5:var = g=3Ddocument.createElement("div");g.id=3D"MSVE_minimap_resize";g.attachEv= ent("onclick",L);g.title=3DL_MinimapLargerToolTip_Text;pseudoHover(g);c.a= ppendChild(g);break;case = 6:if($MVEM.IsEnabled(MapControl.Features.Minimap.ShowByDefault))j.title=3D= L_MinimapHideToolTip_Text;else = j.title=3DL_MinimapShowToolTip_Text}function V(){var = g=3D{};g.latitude=3Da.GetCenterLatitude();g.longitude=3Da.GetCenterLongit= ude();var = h=3Da.GetZoomLevel()-4;if(h<1)h=3D1;if(g.latitude=3D=3Dnull||g.longitude=3D= =3Dnull){g.latitude=3D0;g.longitude=3D0;h=3D1}g.zoomlevel=3Dh;g.mapstyle=3D= Msn.VE.MapStyle.Road;g.showScaleBar=3Dfalse;g.showMapLegend=3Dfalse;g.sho= wDashboard=3Dfalse;g.showMinimap=3Dfalse;g.hideCopyright=3Dtrue;g.disable= Logo=3Dtrue;g.clientToken=3DO;b=3Dnew = Msn.VE.MapControl(f,g);b.Init();b.SetMinimapMode();G(D,"MSVE_minimap_r_st= yle_button","MSVE_minimap_style",L_MinimapRoad_Text,L_MinimapRoadToolTip_= Text,J,$MVEM.IsEnabled(MapControl.Features.MapStyle.Road));G(C,"MSVE_mini= map_h_style_button","MSVE_minimap_style",L_MinimapHybrid_Text,L_MinimapHy= bridToolTip_Text,F,$MVEM.IsEnabled(MapControl.Features.MapStyle.Hybrid));= K();b.AttachEvent("onendpan",S);b.AttachEvent("onclick",x);a.AttachEvent(= "onendpan",R);a.AttachEvent("onobliquechange",M);a.AttachEvent("onendzoom= ",P);a.AttachEvent("onchangeview",I);var = i=3Da.IsModeEnabled(Msn.VE.MapActionMode.Mode3D)?Msn.VE.DashboardStates.M= apMode.View3D:Msn.VE.DashboardStates.MapMode.Flatland;e=3DMsn.VE.Dashboar= dStates.MapView.Ortho;if(a.IsMapViewOblique()){b.SetZoom(14);e=3DMsn.VE.D= ashboardStates.MapView.Oblique}d=3Dnew = Msn.VE.CameraRotator(c,this,f);q=3Dtrue;T(i);y();s()}this.Init=3DV;this.D= estroy=3Dfunction(){E(D,J);E(C,F);D=3DC=3Dnull;if(d){d.Destroy();d=3Dnull= }a.DetachEvent("onendpan",R);a.DetachEvent("onobliquechange",M);a.DetachE= vent("onendzoom",P);a.DetachEvent("onchangeview",I);if(b){b.DetachEvent("= onendpan",S);b.DetachEvent("onclick",x);b.Destroy();b=3Dnull}switch(h){ca= se = 5:g.detachEvent("onclick",L)}l=3Dnull;p=3Dnull;f=3Dnull;j=3Dnull;g=3Dnull= ;n=3Dnull};this.IsInitialized=3Dfunction(){return = q};this.SetClientToken=3Dfunction(a){O=3Da;if(b)b.SetClientToken(a)};func= tion T(a){t=3Da}this.SetMapMode=3DT;function y(){if(!N&&typeof = minimapRoller!=3D"undefined"&&minimapRoller!=3Dnull&&t=3D=3DMsn.VE.Dashbo= ardStates.MapMode.Flatland)if(e=3D=3DMsn.VE.DashboardStates.MapView.Obliq= ue){if(!minimapRoller.isExpanded())minimapRoller.rollOut(n.rollOutDirecti= on)}else = if(e=3D=3DMsn.VE.DashboardStates.MapView.Ortho)if(minimapRoller.isExpande= d()&&!$MVEM.IsEnabled(MapControl.Features.Minimap.ShowByDefault))minimapR= oller.rollIn(n.rollInDirection)}this.SetRollerState=3Dy;this.ChangeOrient= ation=3Dfunction(b){if(t=3D=3DMsn.VE.DashboardStates.MapMode.Flatland)if(= e=3D=3DMsn.VE.DashboardStates.MapView.Oblique)switch(b){case 0:case = 360:a.SetObliqueOrientation("East");break;case = 270:a.SetObliqueOrientation("South");break;case = 90:a.SetObliqueOrientation("North");break;case = 180:a.SetObliqueOrientation("West")}};this.SetKeepRollState=3Dfunction(){= N=3Dtrue};function = s(){if(t=3D=3DMsn.VE.DashboardStates.MapMode.Flatland)if(e=3D=3DMsn.VE.Da= shboardStates.MapView.Oblique){var = b=3Da.GetObliqueScene();if(!b)return;var = c=3Db.GetOrientation();d.SetStyle("oblique");switch(c){case = "North":d.SetOrientation(90);break;case = "South":d.SetOrientation(270);break;case = "East":d.SetOrientation(0);break;case = "West":d.SetOrientation(180)}d.Show()}else = if(e=3D=3DMsn.VE.DashboardStates.MapView.Ortho){d.SetStyle("ortho");d.Sho= w()}else d.Hide();else d.Hide()}function = Z(){u=3Dtrue;a.PanToLatLong(b.GetCenterLatitude(),b.GetCenterLongitude())= }function z(){var = c=3Da.GetCenterLatitude(),d=3Da.GetCenterLongitude();A=3Dtrue;b.PanToLatL= ong(c,d)}this.Hide=3Dfunction(){c.style.display=3D"none"};this.Show=3Dfun= ction(){c.style.display=3D"block"};this.SetPosition=3Dfunction(a,b){c.sty= le.left=3Da+"px";c.style.top=3Db+"px"};this.SetSize=3Dfunction(a){var = d=3Dthis.GetSize();if(a!=3Dd){U.removeClass(c,i[d]);U.addClass(c,i[a]);g.= title=3Dw[a];if(c.className.indexOf(VEMiniMapExpandState.Expanded)>=3D0){= B=3Dtrue;b.Resize(r[a],r[a])}}};this.GetSize=3Dfunction(){return = c.className.indexOf(i[VEMiniMapSize.Large])>-1?VEMiniMapSize.Large:VEMini= MapSize.Small};this.SetDoUpdates=3Dfunction(a){k=3Da;if(k)Q()};this.GetCo= ntainer=3Dfunction(){return c};function W(){var = b=3De;e=3DMsn.VE.DashboardStates.MapView.Ortho;if(a.IsMapViewOblique()){e= =3DMsn.VE.DashboardStates.MapView.Oblique;if(!q)V()}if(q&&e!=3Db){y();s()= }}function S(){if(B){B=3Dfalse;return}if(!A)Z();else A=3Dfalse}function = L(){var = a=3Dn.GetSize()=3D=3DVEMiniMapSize.Small?VEMiniMapSize.Large:VEMiniMapSiz= e.Small;n.SetSize(a)}function R(){if(!k)return;if(!u){o=3Dv();z()}else = u=3Dfalse}function I(){if(!k)return;var = c=3Dv();if(!a.IsMapViewOblique()&&!c.Equals(o)){b.SetView(c);o=3Dnull}}fu= nction M(){if(!k)return;z();s()}function = P(){if(!k)return;o=3Dv();Q()}function v(){var = d=3Db.GetCurrentMapView().MakeCopy(),e=3Da.GetCurrentMapView();d.SetCente= rLatLong(new Msn.VE.LatLong(e.latlong.latitude,e.latlong.longitude));var = c=3D1;if(Msn.VE.MapStyle.IsViewOblique(e.style))c=3D14;else = c=3De.GetZoomLevel()-4;if(c<1)c=3D1;d.SetZoomLevel(c);d.Resolve(b.GetCurr= entMode(),b.GetMapWidth(),b.GetMapHeight());return d}function Q(){var = c=3D0;if(a.IsMapViewOblique())c=3D14;else = c=3Da.GetZoomLevel()-4;if(c<1)c=3D1;if(b.GetZoomLevel()=3D=3Dc){z();retur= n}b.SetCenterAndZoom(a.GetCenterLatitude(),a.GetCenterLongitude(),c)}func= tion G(a,g,d,f,e,c,b){a.innerText=3Df;a.id=3Dg;a.title=3De;if(typeof = b=3D=3D"undefined"||b=3D=3Dtrue){a.className=3Dd;a.attachEvent("onclick",= c);a.attachEvent("onmousedown",IgnoreEvent)};pseudoHover(a);l.appendChild= (a)}function = E(a,b){a.detachEvent("onclick",b);a.detachEvent("onmousedown",IgnoreEvent= )}function x(){f.title=3D"";b.DetachEvent("onclick",x)}function = J(){K()}function F(){X()}function = X(){l.className=3D"MSVE_minimap_hybrid_style";b.SetMapStyle("h")}function= K(){l.className=3D"MSVE_minimap_road_style";b.SetMapStyle("r")}function = ab(){return h}this.GetVersion=3Dab;function H(b,g){var = f=3Dm.IsMapViewOblique()||$MVEM.IsEnabled(MapControl.Features.Minimap.Sho= wByDefault),d,e,c=3D$ID("MSVE_minimap"),a=3D$ID("MSVE_minimap_glyph");if(= !a||!c)return;switch(g){case = 5:b.rollInDirection=3DMsn.VE.Animation.RollDirection.RightLeft;b.rollOutD= irection=3DMsn.VE.Animation.RollDirection.LeftRight;d=3D8;e=3D0;break;cas= e = 6:b.rollInDirection=3DMsn.VE.Animation.RollDirection.LeftRight|Msn.VE.Ani= mation.RollDirection.BottomUp;b.rollOutDirection=3DMsn.VE.Animation.RollD= irection.RightLeft|Msn.VE.Animation.RollDirection.TopDown;d=3Da.offsetWid= th+1;e=3Da.offsetHeight;break;default:return}window.minimapRoller=3Dnew = Msn.VE.Animation.Roller(c);minimapRoller.setAccelerationFunction(Accelera= tionFunctions.CrazyElevator);minimapRoller.setXLeave(d);minimapRoller.set= YLeave(e);pseudoHover(a);Y(c,minimapRoller,"MSVE_minimap_glyph");if(!f)mi= nimapRoller.collapse(b.rollInDirection);a.onclick=3Dfunction(){var = a=3Dm.GetMinimap();a.SetKeepRollState();if(minimapRoller.isExpanded())min= imapRoller.rollIn(a.rollInDirection);else = minimapRoller.rollOut(a.rollOutDirection)};window.attachEvent("onunload",= function(){a=3Dc=3Dnull;window.detachEvent("onunload",arguments.callee)})= }function Y(a,b,c){b.hookEvent("afterrollin",function(){var = d=3DMsn.VE.Css.Functions,b=3Dm.GetMinimap();d.removeClass(a,"expanded");d= .addClass(a,"collapsed");if(b&&b.IsInitialized())b.SetDoUpdates(false);$I= D(c).title=3DL_MinimapShowToolTip_Text});b.hookEvent("afterrollout",funct= ion(){var = d=3DMsn.VE.Css.Functions,b=3Dm.GetMinimap();d.removeClass(a,"collapsed");= d.addClass(a,"expanded");if(b&&b.IsInitialized()){b.SetDoUpdates(true);s(= )}$ID(c).title=3DL_MinimapHideToolTip_Text});b.hookEvent("beforerollout",= function(){var = a=3Dm.GetMinimap();if(a&&!a.IsInitialized())a.Init()})}this.creatMinimapR= oller=3DH;Msn.VE.CameraRotator=3Dfunction(g,j,d){var = n=3DMsn.VE.Css,m=3Dj,g=3Dg,d=3Dd,e=3D0,c=3D"ortho",a=3Ddocument.createEle= ment("div");a.id=3D"MSVE_cameraPosition";d.appendChild(a);b(90);function = i(){a=3Dnull}function k(){a.style.display=3D"none"}function = l(){a.style.display=3D"block"}function f(a){b(a)}function = h(a){switch(a){case "oblique":c=3D"MSVE_direction";b(90);break;case = "ortho":c=3D"MSVE_ortho";b(90);break;default:c=3D"MSVE_ortho";b(90)}}func= tion = b(b){e=3DMathFloor((b+45+720)/90)%4;a.className=3Dc+e}this.Hide=3Dk;this.= Show=3Dl;this.Destroy=3Di;this.SetStyle=3Dh;this.SetOrientation=3Df}};Msn= .VE.DashboardSize=3Dnew = function(){this.Normal=3D"normal";this.Small=3D"small";this.Tiny=3D"tiny"= };Msn.VE.NavControlFactory=3Dfunction(g,i,c,b,e,h,f,d){if(typeof = c=3D=3D"undefined"||c=3D=3Dnull)c=3DMsn.VE.DashboardSize.Normal;if(typeof= = b=3D=3D"undefined"||b=3D=3Dnull)b=3D"MSVE_dashboardId";if(!isFinite(parse= Int(d)))d=3D6;var a;switch(d){case 5:a=3Dnew = Msn.VE.V5Control(g,i,c,b,e,h,f);break;case 6:default:a=3Dnew = Msn.VE.V6Control(g,i,c,b,e,h,f)}a.version=3Dd;a.GetVersion=3Dfunction(){r= eturn a.version};return = a};Msn.VE.V5Control=3Dfunction(z,a,i,C,x,A){Msn.VE.DashboardStates=3Dnew = function(){this.MapMode=3Dnew = function(){this.Flatland=3D1;this.View3D=3D2};this.MapView=3Dnew = function(){this.Ortho=3D4;this.Oblique=3D8;this.StreetSide=3D16};this.Map= Style=3Dnew = function(){this.Road=3D32;this.Shaded=3D64;this.Aerial=3D128;this.Hybrid=3D= 256}};var = s=3D{Style:"MSVE_navAction_mapStyleCell",Road:"MSVE_navAction_RoadMapStyl= e",Aerial:"MSVE_navAction_AerialMapStyle",Hybrid:"MSVE_navAction_HybridMa= pStyle",Mode:"MSVE_navAction_modeCell",Mode2D:"MSVE_navAction_FlatlandMap= Mode",Mode3D:"MSVE_navAction_View3DMapMode",View:"MSVE_navAction_mapViewC= ellInner",Ortho:"MSVE_navAction_OrthoMapView",Oblique:"MSVE_navAction_Obl= iqueMapView",StreetSide:"MSVE_navAction_StreetSideMapView",ShowLabels:"MS= VE_navAction_showLabels",Pan:"MSVE_navAction_panContainer",PanUp:"MSVE_na= vAction_panUp",PanDown:"MSVE_navAction_panDown",PanLeft:"MSVE_navAction_p= anLeft",PanRight:"MSVE_navAction_panRight",TinyZoom:"MSVE_TinyZoomBar",Or= thoZoom:"MSVE_OrthoZoomBar",ObliqueZoom:"MSVE_ObliqueZoomBar",ObliqueComp= ass:"MSVE_compassDiv",ObliqueNotification:"MSVE_obliqueNotification",Thre= eDUpdatedNotification:"MSVE_threeDUpdatedNotification",Traffic:"MSVE_navA= ction_traffic"},G=3D"Nav = Bar";Msn.VE.CommonControls=3Dfunction(c,v){function yb(b){var = f=3Ddocument.createElement("div"),e=3Ddocument.createElement("div"),a=3Dd= ocument.createElement("div"),d=3Ddocument.createElement("div"),w=3D0,s=3D= 0,j=3Dfalse;this.Init=3Dfunction(){d.className=3D"MSVE_ZoomBar_minus";d.i= d=3D"MSVE_navAction_obliqueZoomBar_minus";d.unselectable=3D"on";d.title=3D= L_ZoomBarMinusToolTip_Text;d.attachEvent("onclick",l);pseudoHover(d);a.cl= assName=3D"MSVE_ZoomBar_slider";a.id=3D"MSVE_navAction_obliqueZoomBar_sli= der";a.unselectable=3D"on";a.attachEvent("onmousedown",o);a.attachEvent("= onmousemove",p);a.attachEvent("onmouseup",q);a.attachEvent("onclick",Igno= reEvent);pseudoHover(a);e.className=3D"MSVE_ObliqueZoomBar_bar";e.unselec= table=3D"on";e.appendChild(a);e.attachEvent("onclick",r);f.className=3D"M= SVE_ZoomBar_plus";f.id=3D"MSVE_navAction_obliqueZoomBar_plus";f.title=3DL= _ZoomBarPlusToolTip_Text;f.unselectable=3D"on";f.attachEvent("onclick",m)= ;pseudoHover(f);b.className=3D"MSVE_ZoomBar";b.id=3D"MSVE_ObliqueZoomBar"= ;b.appendChild(d);b.appendChild(e);b.appendChild(f);b.attachEvent("onmous= edown",IgnoreEvent);b.attachEvent("onmouseup",IgnoreEvent);b.attachEvent(= "onclick",IgnoreEvent);b.attachEvent("ondblclick",IgnoreEvent);i()};funct= ion v(){b.style.display=3D"block"}function = u(){b.style.display=3D"none"}function = r(a){a=3DGetEvent(a);CancelEvent(a);k();n(h(Gimme.Screen.getMousePosition= (a).y));return false}function = h(b){b-=3Ds+d.offsetHeight+a.offsetHeight;var = c=3De.offsetHeight-a.offsetHeight;if(b<0)b=3D0;else if(b>c)b=3Dc;return = b}function l(){c.ZoomOut()}function m(){c.ZoomIn()}function = t(){d.detachEvent("onclick",l);a.detachEvent("onmousedown",o);a.detachEve= nt("onmousemove",p);a.detachEvent("onmouseup",q);a.detachEvent("onclick",= IgnoreEvent);e.detachEvent("onclick",r);f.detachEvent("onclick",m);b.deta= chEvent("onmousedown",IgnoreEvent);b.detachEvent("onmousedown",IgnoreEven= t);b.detachEvent("onclick",IgnoreEvent);b.detachEvent("ondblclick",Ignore= Event);d=3Da=3De=3Df=3Dnull}function = o(b){b=3DGetEvent(b);CancelEvent(b);k();if(a.setCapture)a.setCapture();j=3D= true;return false}function = p(b){b=3DGetEvent(b);CancelEvent(b);if(j)a.style.top=3Dh(Gimme.Screen.get= MousePosition(b).y)+"px";return false}function = q(b){b=3DGetEvent(b);CancelEvent(b);if(a.releaseCapture)a.releaseCapture(= );j=3Dfalse;n(h(Gimme.Screen.getMousePosition(b).y));i();return = false}function k(){var = a=3Dg(b).getScreenPosition();w=3Da.x;s=3Da.y}function n(f){var = b=3De.offsetHeight-a.offsetHeight,d=3D1+MathRound((b-f)/b*1);c.SetZoom(d)= }function = i(){if(c.GetZoomLevel()=3D=3D1)a.style.top=3De.offsetHeight-a.offsetHeigh= t+"px";else = a.style.top=3D"0px"}this.Destroy=3Dt;this.Show=3Dv;this.Hide=3Du;this.Upd= ateFromMap=3Di}function C(z,x,y){var = a=3Ddocument.createElement("div");a.setAttribute("id",z);a.innerHTML=3Dx;= var = c=3D"MSVE_obliqueCompassPointOff",g=3Dy;a.attachEvent("onmouseover",f);a.= attachEvent("onmouseout",h);a.attachEvent("onclick",i);this.onclick=3Dnul= l;this.onmouseover=3Dnull;this.onmouseout=3Dnull;var = e=3D25,b=3Dthis,d=3Dfalse,j=3Dnew v(a,17,17);function = f(e){if(d)return;c=3Da.className;a.className=3D"MSVE_obliqueCompassPointH= over";if(b.onmouseover)b.onmouseover(e)}function = i(a){if(d)return;f(a);c=3D"MSVE_obliqueCompassPointOn";if(b.onclick)b.onc= lick(a)}function = h(e){if(d)return;a.className=3Dc;if(b.onmouseout)b.onmouseout(e)}function= = m(){c=3D"MSVE_obliqueCompassPointOn";a.className=3D"MSVE_obliqueCompassPo= intOn"}function = l(){c=3D"MSVE_obliqueCompassPointOff";a.className=3D"MSVE_obliqueCompassP= ointOff"}function u(){d=3Dtrue;l()}function k(){d=3Dfalse;m()}function = q(){return a}function n(){return g}function o(a){g=3Da}function = w(){j.Reset();k()}function = p(b){a.style.left=3Db.left;a.style.top=3Db.top}function v(r,n,o){var = g=3Dr,a=3D0,b=3D.3,c=3D0,l=3D40,k=3DMath.PI/2,h=3Dtrue,p=3Db+.1;function = m(a,b,c){if(b>=3Dc-a&&b<=3Dc+a)return true;return false}function = i(){a+=3Db;if(a>Math.PI*2)a-=3DMath.PI*2;else = if(a<0)a+=3DMath.PI*2;if(m(p,a,c)){b=3D.3;a=3Dc;d(a);return}d(a);window.s= etTimeout(i,l)}function d(a){var = b=3Dn+e*Math.sin(a),c=3Do+e*Math.cos(a);g.style.left=3Db+"px";g.style.top= =3Dc+"px"}function f(a){c=3Da;i()}function = j(a,c){h=3Dc;if(!h)b*=3D-1;f(k*a)}function = q(){a=3D0}this.RotateTo=3Df;this.RotateToIndex=3Dj;this.Reset=3Dq}functio= n = t(){a.detachEvent("onmouseover",f);a.detachEvent("onmouseout",h);a.detach= Event("onclick",i);a=3Dnull}function s(a){e=3Da}function r(){return = e}this.SetRadius=3Ds;this.GetRadius=3Dr;this.GetElement=3Dq;this.GetCurre= ntPositionIndex=3Dn;this.SetCurrentPositionIndex=3Do;this.SetCurrentPosit= ion=3Dp;this.On=3Dm;this.Off=3Dl;this.RotateToIndex=3Dj.RotateToIndex;thi= s.Reset=3Dw;this.Disable=3Du;this.Enable=3Dk;this.Destroy=3Dt}function = xb(D){var = o=3D[];o.push({"top":"-8px","left":"17px"});o.push({"top":"17px","left":"= 42px"});o.push({"top":"42px","left":"17px"});o.push({"top":"17px","left":= "-8px"});var = f=3Ddocument.createElement("div");f.setAttribute("id","MSVE_obliqueCompas= sContainer");f.title=3DL_ObliqueCompassSelectDirection_Text;var a=3Dnew = C("MSVE_obliqueCompassPointN","N",0),i=3Da.GetElement();i.attachEvent("on= click",r);i.attachEvent("onmouseover",u);i.attachEvent("onmouseout",h);va= r d=3Dnew = C("MSVE_obliqueCompassPointE","E",1),k=3Dd.GetElement();k.attachEvent("on= click",t);k.attachEvent("onmouseover",x);k.attachEvent("onmouseout",h);va= r b=3Dnew = C("MSVE_obliqueCompassPointS","S",2),j=3Db.GetElement();j.attachEvent("on= click",s);j.attachEvent("onmouseover",v);j.attachEvent("onmouseout",h);va= r e=3Dnew = C("MSVE_obliqueCompassPointW","W",3),l=3De.GetElement();l.attachEvent("on= click",w);l.attachEvent("onmouseover",y);l.attachEvent("onmouseout",h);va= r = m=3Ddocument.createElement("div");m.id=3D"MSVE_navAction_obliqueCompassAr= row";f.appendChild(i);f.appendChild(k);f.appendChild(j);f.appendChild(l);= f.appendChild(m);D.appendChild(f);q();function = p(a){if(a<0)a=3D4-Math.abs(a);return a}function n(l,i,k){var = c=3Dl.GetCurrentPositionIndex(),h,f=3D[];f[a.GetCurrentPositionIndex()]=3D= L_North_Text;f[b.GetCurrentPositionIndex()]=3DL_South_Text;f[d.GetCurrent= PositionIndex()]=3DL_East_Text;f[e.GetCurrentPositionIndex()]=3DL_West_Te= xt;if(i){h=3Di=3D=3DMsn.VE.BirdsEyeSearchSpinDirection.CounterclockwiseSp= in;if(c+i!=3D2){var g;switch(i){case -1:switch(c){case 0:case = 2:g=3D[3];break;case 1:g=3D[3,2]}break;case 1:switch(c){case 0:case = 2:g=3D[1];break;case 3:g=3D[1,2]}}if(g){var = j=3DL_ObliqueSkippingOneDirection_Text;if(c=3D=3D0)j=3DL_ObliqueNoImagery= InRequestedDirection_Text;if(g.length=3D=3D2)j=3DL_ObliqueSkippingTwoDire= ctions_Text;if(typeof = ShowMessage!=3D"undefined")ShowMessage(j.replace("%1",f[c]).replace("%2",= f[g[0]]).replace("%3",f[g[1]]))}}}else{h=3Dc!=3D3;if(k)if(c=3D=3D0){if(ty= peof = ShowMessage!=3D"undefined")ShowMessage(L_ObliqueModeImageNotAvailable_Tex= t)}else if(typeof = ShowMessage!=3D"undefined")ShowMessage(L_ObliqueNoImageryInRequestedDirec= tion_Text.replace("%1",f[c]).replace("%2",f[0]))}d.SetCurrentPositionInde= x(p(d.GetCurrentPositionIndex()-c));e.SetCurrentPositionIndex(p(e.GetCurr= entPositionIndex()-c));a.SetCurrentPositionIndex(p(a.GetCurrentPositionIn= dex()-c));b.SetCurrentPositionIndex(p(b.GetCurrentPositionIndex()-c));a.R= otateToIndex(2-a.GetCurrentPositionIndex()<0?a.GetCurrentPositionIndex():= 2-a.GetCurrentPositionIndex(),h);d.RotateToIndex(2-d.GetCurrentPositionIn= dex()<0?d.GetCurrentPositionIndex():2-d.GetCurrentPositionIndex(),h);b.Ro= tateToIndex(2-b.GetCurrentPositionIndex()<0?b.GetCurrentPositionIndex():2= -b.GetCurrentPositionIndex(),h);e.RotateToIndex(2-e.GetCurrentPositionInd= ex()<0?e.GetCurrentPositionIndex():2-e.GetCurrentPositionIndex(),h)}funct= ion g(a){switch(a){case 0:h();break;case 1:z();break;case = 2:A();break;case 3:B()}}function = h(){m.className=3D"MSVE_obliqueCompassArrowU"}function = A(){m.className=3D"MSVE_obliqueCompassArrowD"}function = z(){m.className=3D"MSVE_obliqueCompassArrowR"}function = B(){m.className=3D"MSVE_obliqueCompassArrowL"}function = s(){if(c.GetDashboard()&&c.GetDashboard().SetLastRotationDirection)c.GetD= ashboard().SetLastRotationDirection(Msn.VE.BirdsEyeSearchSpinDirection.No= Spin);n(b);g(0);var = a=3Dc.GetObliqueScene();if(a)if(a.GetOrientation()!=3DMsn.VE.Orientation.= South)c.SetObliqueOrientation("South",null,true)}function = r(){if(c.GetDashboard()&&c.GetDashboard().SetLastRotationDirection)c.GetD= ashboard().SetLastRotationDirection(Msn.VE.BirdsEyeSearchSpinDirection.No= Spin);n(a);g(0);var = b=3Dc.GetObliqueScene();if(b)if(b.GetOrientation()!=3DMsn.VE.Orientation.= North)c.SetObliqueOrientation("North",null,true)}function = t(){if(c.GetDashboard()&&c.GetDashboard().SetLastRotationDirection)c.GetD= ashboard().SetLastRotationDirection(Msn.VE.BirdsEyeSearchSpinDirection.No= Spin);n(d);g(0);var = a=3Dc.GetObliqueScene();if(a)if(a.GetOrientation()!=3DMsn.VE.Orientation.= East)c.SetObliqueOrientation("East",null,true)}function = w(){if(c.GetDashboard()&&c.GetDashboard().SetLastRotationDirection)c.GetD= ashboard().SetLastRotationDirection(Msn.VE.BirdsEyeSearchSpinDirection.No= Spin);n(e);g(0);var = a=3Dc.GetObliqueScene();if(a)if(a.GetOrientation()!=3DMsn.VE.Orientation.= West)c.SetObliqueOrientation("West",null,true)}function = v(){g(b.GetCurrentPositionIndex())}function = x(){g(d.GetCurrentPositionIndex())}function = y(){g(e.GetCurrentPositionIndex())}function = u(){g(a.GetCurrentPositionIndex())}function = H(){f.style.display=3D"none"}function = I(){f.style.display=3D"block"}function q(k,j){var = i=3Dc.GetObliqueScene();if(!i)return;var = f=3Di.GetOrientation(),h;switch(f){case "North":h=3Da;break;case = "South":h=3Db;break;case "East":h=3Dd;break;case = "West":h=3De}n(h,k,j);g(0);if(f!=3DMsn.VE.Orientation.North)a.Enable();el= se a.Disable();if(f!=3DMsn.VE.Orientation.South)b.Enable();else = b.Disable();if(f!=3DMsn.VE.Orientation.East)d.Enable();else = d.Disable();if(f!=3DMsn.VE.Orientation.West)e.Enable();else = e.Disable()}function = G(){a.Destroy();d.Destroy();b.Destroy();e.Destroy();i.detachEvent("onclic= k",r);i.detachEvent("onmouseover",u);i.detachEvent("onmouseout",h);k.deta= chEvent("onclick",t);k.detachEvent("onmouseover",x);k.detachEvent("onmous= eout",h);j.detachEvent("onclick",s);j.detachEvent("onmouseover",v);j.deta= chEvent("onmouseout",h);l.detachEvent("onclick",w);l.detachEvent("onmouse= over",y);l.detachEvent("onmouseout",h);f=3Dnull}function = F(c){a.SetRadius(c);b.SetRadius(c);d.SetRadius(c);e.SetRadius(c)}function= E(){return = a.GetRadius()}this.Hide=3DH;this.Show=3DI;this.UpdateFromMap=3Dq;this.Set= Radius=3DF;this.GetRadius=3DE;this.Destroy=3DG}function Bb(b){var = f=3Ddocument.createElement("div"),e=3Ddocument.createElement("div"),a=3Dd= ocument.createElement("div"),d=3Ddocument.createElement("div"),v=3D0,s=3D= 0,j=3Dfalse;this.Init=3Dfunction(){d.className=3D"MSVE_ZoomBar_minus";d.i= d=3D"MSVE_navAction_orthoZoomBar_minus";d.title=3DL_ZoomBarMinusToolTip_T= ext;d.unselectable=3D"on";d.attachEvent("onclick",l);pseudoHover(d);a.cla= ssName=3D"MSVE_ZoomBar_slider";a.id=3D"MSVE_navAction_orthoZoomBar_slider= ";a.title=3DL_ZoomBarSliderToolTip_Text;a.unselectable=3D"on";a.attachEve= nt("onmousedown",o);a.attachEvent("onmousemove",p);a.attachEvent("onmouse= up",q);a.attachEvent("onclick",IgnoreEvent);pseudoHover(a);e.className=3D= "MSVE_OrthoZoomBar_bar";e.unselectable=3D"on";e.appendChild(a);e.attachEv= ent("onclick",r);f.className=3D"MSVE_ZoomBar_plus";f.id=3D"MSVE_navAction= _orthoZoomBar_plus";f.title=3DL_ZoomBarPlusToolTip_Text;f.unselectable=3D= "on";f.attachEvent("onclick",m);pseudoHover(f);b.className=3D"MSVE_ZoomBa= r";b.id=3D"MSVE_OrthoZoomBar";b.appendChild(d);b.appendChild(e);b.appendC= hild(f);b.attachEvent("onmousedown",IgnoreEvent);b.attachEvent("onmouseup= ",IgnoreEvent);b.attachEvent("onclick",IgnoreEvent);b.attachEvent("ondblc= lick",IgnoreEvent);i()};this.Destroy=3Dfunction(){d.detachEvent("onclick"= ,l);a.detachEvent("onmousedown",o);a.detachEvent("onmousemove",p);a.detac= hEvent("onmouseup",q);a.detachEvent("onclick",IgnoreEvent);e.detachEvent(= "onclick",r);f.detachEvent("onclick",m);b.detachEvent("onmousedown",Ignor= eEvent);b.detachEvent("onmousedown",IgnoreEvent);b.detachEvent("onclick",= IgnoreEvent);b.detachEvent("ondblclick",IgnoreEvent);d=3Da=3De=3Df=3Dnull= };function u(){b.style.display=3D"block"}function = t(){b.style.display=3D"none"}function k(){var = a=3Dg(b).getScreenPosition();v=3Da.x;s=3Da.y}function = o(b){b=3DGetEvent(b);CancelEvent(b);k();if(a.setCapture)a.setCapture();j=3D= true;return false}function = p(b){b=3DGetEvent(b);CancelEvent(b);if(j)a.style.top=3Dh(Gimme.Screen.get= MousePosition(b).y)+"px";return false}function = q(b){b=3DGetEvent(b);CancelEvent(b);if(a.releaseCapture)a.releaseCapture(= );j=3Dfalse;n(h(Gimme.Screen.getMousePosition(b).y));i();return = false}function m(){c.ZoomIn()}function l(){c.ZoomOut()}function = r(a){a=3DGetEvent(a);CancelEvent(a);k();n(h(Gimme.Screen.getMousePosition= (a).y));return false}function = h(b){b-=3Ds+d.offsetHeight+a.offsetHeight;var = c=3De.offsetHeight-a.offsetHeight;if(b<0)b=3D0;else if(b>c)b=3Dc;return = b}function n(f){var = b=3De.offsetHeight-a.offsetHeight,d=3D1+MathRound((b-f)/b*18);c.SetZoom(d= )}function i(){var = b=3De.offsetHeight-a.offsetHeight,d=3Db-(c.GetZoomLevel()-1)/18*b;a.style= .top=3Dd+"px"}this.UpdateFromMap=3Di;this.Show=3Du;this.Hide=3Dt}function= Eb(){var = h=3Ddocument.createElement("div"),g=3Ddocument.createElement("div"),f=3Dd= ocument.createElement("div"),a=3Dfalse,d=3Dg,b=3Df;this.maxZoomLevel=3D21= ;this.minZoomLevel=3D1;this.Init=3Dfunction(){g.className=3D"MSVE_ZoomBar= _plus";g.id=3D"MSVE_navAction_tinyZoomBar_plus";g.title=3DL_ZoomBarPlusTo= olTip_Text;g.unselectable=3D"on";f.className=3D"MSVE_ZoomBar_minus";f.id=3D= "MSVE_navAction_tinyZoomBar_minus";f.title=3DL_ZoomBarMinusToolTip_Text;f= .unselectable=3D"on";c.AttachEvent("onendzoom",i);h.className=3D"MSVE_Zoo= mBar";h.id=3D"MSVE_TinyZoomBar";h.appendChild(g);h.appendChild(f);return = h};this.HookupPlusMinusEvents=3Dfunction(b,a){m(b);j(a)};function = m(a){if(a)d=3Da;d.attachEvent("onmousedown",o);d.attachEvent("onmouseup",= e);d.attachEvent("onmouseout",e)}this.HookupPlusEvents=3Dm;function = j(a){if(a)b=3Da;b.attachEvent("onmousedown",l);b.attachEvent("onmouseup",= e);b.attachEvent("onmouseout",e)}this.HookupMinusEvents=3Dj;function = n(){if(d!=3Dnull){d.detachEvent("onmousedown",o);d.detachEvent("onmouseup= ",e);d.detachEvent("onmouseout",e)}if(a=3D=3D"in")a=3Dfalse}this.UnhookPl= usEvents=3Dn;function = k(){if(b!=3Dnull){b.detachEvent("onmousedown",l);b.detachEvent("onmouseup= ",e);b.detachEvent("onmouseout",e)}if(a=3D=3D"out")a=3Dfalse}this.UnhookM= inusEvents=3Dk;this.Destroy=3Dfunction(){n();k();c.DetachEvent("onendzoom= ",i);g=3Df=3Dd=3Db=3Dnull};function = q(){if(c.GetMapMode()=3D=3DMsn.VE.MapActionMode.Mode3D)return true;else = return c.IsAnimationEnabled()}function o(){a=3D"in";c.ZoomIn()}function = i(){window.setTimeout(p,q()?1:500)}function = p(){if(a=3D=3D"in"&&c.GetZoomLevel()<21)c.ZoomIn(false);else = if(a=3D=3D"out"&&c.GetZoomLevel()>1)c.ZoomOut(false)}function = l(){a=3D"out";c.ZoomOut()}function = e(){a=3Dfalse}this.GetPlus=3Dfunction(){return = g};this.GetMinus=3Dfunction(){return f}}var = a=3Ds,j=3D[];j[a.Style]=3D{Id:a.Style,InitialClass:null,OnClickFunction:n= ull,StyleUpdateEvent:null,StyleUpdateFunction:null,Enabled:true,Title:nul= l,Children:[a.Road,a.Aerial,a.Hybrid],Text:null};j[a.Road]=3D{Id:a.Road,I= nitialClass:"MSVE_MapStyle",OnClickFunction:sb,StyleUpdateEvent:"onchange= mapstyle",StyleUpdateFunction:t,Enabled:MapControl.Features.MapStyle.Road= ,Title:L_NavActionRoadToolTip_Text,Children:null,Text:L_NavActionRoad_Tex= t};j[a.Aerial]=3D{Id:a.Aerial,InitialClass:"MSVE_MapStyle",OnClickFunctio= n:mb,StyleUpdateEvent:"onchangemapstyle",StyleUpdateFunction:t,Enabled:Ma= pControl.Features.MapStyle.Aerial,Title:L_NavActionAerialToolTip_Text,Chi= ldren:null,Text:L_NavActionAerial_Text};j[a.Hybrid]=3D{Id:a.Hybrid,Initia= lClass:"MSVE_MapStyle",OnClickFunction:nb,StyleUpdateEvent:"onchangemapst= yle",StyleUpdateFunction:t,Enabled:MapControl.Features.MapStyle.Hybrid,Ti= tle:L_NavActionHybridToolTip_Text,Children:null,Text:L_NavActionHybrid_Te= xt};j[a.Mode]=3D{Id:a.Mode,InitialClass:"MSVE_modeCell",OnClickFunction:n= ull,StyleUpdateEvent:null,StyleUpdateFunction:null,Enabled:true,Title:nul= l,Children:[a.Mode2D,a.Mode3D],Text:null};j[a.Mode2D]=3D{Id:a.Mode2D,Init= ialClass:"MSVE_MapMode",OnClickFunction:kb,StyleUpdateEvent:"oninitmode",= StyleUpdateFunction:Z,Enabled:true,Title:L_NavActionFlatlandToolTip_Text,= Children:null,Text:L_NavActionFlatland_Text};j[a.Mode3D]=3D{Id:a.Mode3D,I= nitialClass:"MSVE_MapMode",OnClickFunction:qb,StyleUpdateEvent:"oninitmod= e",StyleUpdateFunction:Z,Enabled:MapControl.Features.MapStyle.View3D,Titl= e:L_NavActionView3DToolTip_Text,Children:null,Text:L_NavActionView3D_Text= };j[a.View]=3D{Id:a.View,InitialClass:null,OnClickFunction:null,StyleUpda= teEvent:null,StyleUpdateFunction:null,Enabled:true,Title:null,Children:[a= .Ortho,a.Oblique,a.StreetSide],Text:null};j[a.Ortho]=3D{Id:a.Ortho,Initia= lClass:"MSVE_MapStyle",OnClickFunction:u,StyleUpdateEvent:"onchangemapsty= le",StyleUpdateFunction:t,Enabled:true,Title:L_NavActionOrthoToolTip_Text= ,Children:null,Text:null};j[a.Oblique]=3D{Id:a.Oblique,InitialClass:"MSVE= _MapStyle",OnClickFunction:G,StyleUpdateEvent:"onchangemapstyle",StyleUpd= ateFunction:t,Enabled:false,Title:L_NavActionObliqueToolTip_Text,Children= :null,Text:null};j[a.StreetSide]=3D{Id:a.StreetSide,InitialClass:"MSVE_Ma= pStyle",OnClickFunction:hb,StyleUpdateEvent:"onchangemapstyle",StyleUpdat= eFunction:t,Enabled:false,Title:L_NavActionStreetSideToolTip_Text,Childre= n:null,Text:null};j[a.ShowLabels]=3D{Id:a.ShowLabels,InitialClass:"MSVE_M= apStyle",OnClickFunction:vb,StyleUpdateEvent:"onchangemapstyle",StyleUpda= teFunction:t,Enabled:true,Title:L_NavActionShowLabels_Text,Children:null,= Text:L_NavActionLabels_Text};j[a.Traffic]=3D{Id:a.Traffic,InitialClass:"M= SVE_MapStyle",OnClickFunction:Ab,StyleUpdateEvent:null,StyleUpdateFunctio= n:null,Enabled:true,Title:L_NavActionShowTrafficToolTip_Text,Children:nul= l,Text:L_NavActionTraffic_Text};this.ObliqueFunctions=3D[];this.ObliqueFu= nctions.ObliqueImageryIn3D=3D{ObliqueClickFunction:fb,Title:L_NavActionSh= owObliqueToolTip_Text,DependsOnObliqueAvailability:true};this.ObliqueFunc= tions.ObliqueTiltIn3D=3D{ObliqueClickFunction:lb,Title:L_NavAction3DObliq= ueToolTip_Text,DependsOnObliqueAvailability:false};var = e=3Dthis,b=3D[],h=3DMsn.VE.DashboardStates.MapMode.Flatland,d=3DMsn.VE.Da= shboardStates.MapView.Ortho,f=3DMsn.VE.DashboardStates.MapStyle.Road;this= .orthoZoom=3Dnull;var = l;this.obliqueCompass=3Dnull;this.obliqueZoom=3Dnull;this.displaying3DNot= ification=3Dfalse;var = z=3Dnull;this.Oblique3DFunctionality=3Dthis.ObliqueFunctions.ObliqueImage= ryIn3D;var = q=3Ddocument.createElement("div");q.id=3D"MSVE_navAction_palette";documen= t.body.appendChild(q);var = I=3Dfalse,ab=3Dfalse,S=3D19,Q=3D1,k=3Dtrue,R=3Dfalse,r=3DMsn.VE.BirdsEyeS= earchSpinDirection.NoSpin,N;for(N in = v)if(v.hasOwnProperty(N))M(v[N]);function Ib(){var = d=3D$MVEM.IsEnabled(MapControl.Features.MapStyle.BirdsEye)&&(c.IsObliqueA= vailable()||c.IsMapViewOblique());if(d){i(a.Oblique,true);if(b[a.ObliqueN= otification]&&!c.IsMapViewOblique()&&!g(b[a.Oblique]).hasClass("MSVE_sele= cted"))x()}else{i(a.Oblique,false);if(b[a.ObliqueNotification])p()}W();if= (c.IsModeEnabled(Msn.VE.MapActionMode.Mode3D))U();else T()}function = Hb(){var a;for(a in = v)if(v.hasOwnProperty(a))J(v[a]);document.body.removeChild(q);q=3Dnull}fu= nction M(f){switch(f){case = a.OrthoZoom:b[f]=3Ddocument.createElement("div");e.orthoZoom=3Dnew = Bb(b[f]);e.orthoZoom.Init();c.AttachEvent("onendzoom",w);q.appendChild(b[= f]);w();return;case = a.ObliqueZoom:b[f]=3Ddocument.createElement("div");ab=3Dtrue;b[f].id=3Df;= q.appendChild(b[f]);return;case a.TinyZoom:l=3Dnew = Eb;b[f]=3Dl.Init();c.AttachEvent("onendzoom",w);w();return;case = a.ObliqueCompass:b[f]=3Ddocument.createElement("div");b[f].id=3Df;I=3Dtru= e;return;case a.ObliqueNotification:db();return;case = a.ThreeDUpdatedNotification:cb();return;case = a.Oblique:c.AttachEvent("onve3dphotostatechanged",rb)}var = d=3Dj[f],g=3Ddocument.createElement("div");b[d.Id]=3Dg;g.id=3Dd.Id;g.enab= led=3Dd.Enabled;g.classRecipients=3D[g];if(d.Text!=3Dnull)g.innerText=3Dd= .Text;if(d.OnClickFunction!=3Dnull&&d.Enabled=3D=3Dtrue)g.attachEvent("on= click",d.OnClickFunction);if(d.StyleUpdateEvent!=3Dnull&&d.StyleUpdateFun= ction!=3Dnull)c.AttachEvent(d.StyleUpdateEvent,d.StyleUpdateFunction);if(= d.InitialClass){g.className=3Dd.InitialClass;if(!g.enabled)g.className+=3D= "_disabled"}if(d.Children!=3Dnull){var h;for(h in = d.Children)if(d.Children.hasOwnProperty(h))g.appendChild(M(d.Children[h])= )}else pseudoHover(g);switch(f){case a.Oblique:case = a.ObliqueCompass:c.AttachEvent("onobliqueenter",zb);c.AttachEvent("onobli= queleave",K);c.AttachEvent("onendmapstyleoblique",pb);c.AttachEvent("onob= liquechange",wb);c.AttachEvent("obliquerequestunavailable",eb);break;case= a.Traffic:c.AttachEvent("onchangetraffic",A);A()}return g}function = J(f){switch(f){case = a.OrthoZoom:e.orthoZoom.Destroy();b[f]=3Dnull;c.DetachEvent("onendzoom",w= );try{q.removeChild(b[f])}catch(k){}return;case = a.ObliqueZoom:try{q.removeChild(b[f])}catch(k){}if(e.obliqueZoom){e.obliq= ueZoom.Destroy();e.obliqueZoom=3Dnull}case = a.TinyZoom:l.Destroy();b[f]=3Dnull;return;case = a.ObliqueCompass:if(I&&e.obliqueCompass){e.obliqueCompass.onclick=3Dnull;= e.obliqueCompass.Destroy();e.obliqueCompass=3Dnull}return;case = a.ObliqueNotification:b[a.ObliqueNotification].detachEvent("onclick",P);r= eturn;case = a.ThreeDUpdatedNotification:b[a.ThreeDUpdatedNotification]=3Dnull;return;= case a.Traffic:c.DetachEvent("onchangetraffic",A)}var = i=3Db[f];if(i=3D=3Dnull)return;var d=3Dj[f];if(d.Children!=3Dnull){var = g,h;for(h in = d.Children)if(d.Children.hasOwnProperty(h)){g=3Dd.Children[h];try{i.remov= eChild(b[g])}catch(k){}J(g)}}if(d.OnClickFunction!=3Dnull)i.detachEvent("= onclick",d.OnClickFunction);try{if(c&&d.StyleUpdateEvent!=3Dnull&&d.Style= UpdateFunction!=3Dnull)c.DetachEvent(d.StyleUpdateEvent,d.StyleUpdateFunc= tion)}catch(k){}b[d.Id]=3Dnull}function = db(){b[a.ObliqueNotification]=3Ddocument.createElement("div");b[a.Oblique= Notification].id=3Da.ObliqueNotification;b[a.ObliqueNotification].attachE= vent("onclick",P);b[a.ObliqueNotification].innerHTML+=3D'
'+'
'+'
'+L_DashboardBirdsEyeText_Text+"
"+''+"
"}function = cb(){b[a.ThreeDUpdatedNotification]=3Ddocument.createElement("div");b[a.T= hreeDUpdatedNotification].id=3Da.ThreeDUpdatedNotification;b[a.ThreeDUpda= tedNotification].innerHTML+=3D'
 
'+L_Dashboard3DInstalled_Text+"
"}funct= ion sb(){B()}function = B(){if(f=3D=3DMsn.VE.DashboardStates.MapStyle.Road&&d=3D=3DMsn.VE.Dashboa= rdStates.MapView.Ortho)return;f=3DMsn.VE.DashboardStates.MapStyle.Road;d=3D= Msn.VE.DashboardStates.MapView.Ortho;m(h+d+f)}function = mb(){if(b[a.ShowLabels]){i(a.ShowLabels,true);if(k)Y();else X()}else = X()}function = X(){if(f=3D=3DMsn.VE.DashboardStates.MapStyle.Aerial&&d=3D=3DMsn.VE.Dashb= oardStates.MapView.Ortho)return;f=3DMsn.VE.DashboardStates.MapStyle.Aeria= l;d=3DMsn.VE.DashboardStates.MapView.Ortho;m(h+d+f)}function = nb(){Y()}function = Y(){if(f=3D=3DMsn.VE.DashboardStates.MapStyle.Hybrid&&d=3D=3DMsn.VE.Dashb= oardStates.MapView.Ortho)return;f=3DMsn.VE.DashboardStates.MapStyle.Hybri= d;d=3DMsn.VE.DashboardStates.MapView.Ortho;m(h+d+f)}function = u(){if(d=3D=3DMsn.VE.DashboardStates.MapView.Ortho&&h=3D=3DMsn.VE.Dashboa= rdStates.MapMode.Flatland)return;d=3DMsn.VE.DashboardStates.MapView.Ortho= ;if(h=3D=3DMsn.VE.DashboardStates.MapMode.Flatland)switch(f){case = Msn.VE.DashboardStates.MapStyle.Aerial:if($MVEM.IsEnabled(MapControl.Feat= ures.MapStyle.Aerial))m(h+d+f);else B();break;case = Msn.VE.DashboardStates.MapStyle.Hybrid:if($MVEM.IsEnabled(MapControl.Feat= ures.MapStyle.Hybrid))m(h+d+f);else B();break;default:m(h+d+f)}else = m(h+d);o()}function = P(c){if(h=3D=3DMsn.VE.DashboardStates.MapMode.View3D&&g(b[a.Oblique]).has= Class("MSVE_selected")){p();c.cancelBubble=3Dtrue;return}G()}function = G(){if(typeof = b[a.ObliqueNotification]!=3D"undefined"&&b[a.ObliqueNotification])p();if(= h=3D=3DMsn.VE.DashboardStates.MapMode.View3D)e.Oblique3DFunctionality.Obl= iqueClickFunction();else tb()}var L=3Dnull;function fb(){var e=3Dnew = Date;if(L!=3Dnull)if(e.getTime()-L.getTime()<1000)return;L=3De;var = d=3D!g(b[a.Oblique]).hasClass("MSVE_selected");c.Show3DBirdseye(d,f=3D=3D= Msn.VE.DashboardStates.MapStyle.Road||k);var = h=3Dd?"RequestLayerBirdsEyeOn":"RequestLayerBirdsEyeOff"}var n;function = tb(){if(d=3D=3D=3DMsn.VE.DashboardStates.MapView.Oblique)return;d=3DMsn.V= E.DashboardStates.MapView.Oblique;y();if(k)f=3DMsn.VE.DashboardStates.Map= Style.Hybrid;else f=3DMsn.VE.DashboardStates.MapStyle.Aerial;if(typeof = Msn.VE.API=3D=3D"undefined")ob();else F()}function ob(){if(!n){var = a=3D$ID("msve_mapContainer");n=3Ddocument.createElement("div");n.id=3D"an= imator";a.appendChild(n)}n.style.display=3D"block";n.className=3D"zoom_an= imation";window.setTimeout(F,2000)}function = F(){if(n){n.parentNode.removeChild(n);n=3Dnull}if(c.IsDragging()||c.IsZoo= ming()){window.setTimeout(F,250);return}m(h+d+f)}function = lb(){Gb(Msn.VE.DashboardStates.MapMode.View3D+Msn.VE.DashboardStates.MapV= iew.Oblique)}function = hb(){if(d=3D=3DMsn.VE.DashboardStates.MapView.StreetSide&&h=3D=3DMsn.VE.D= ashboardStates.MapMode.Flatland)return;d=3DMsn.VE.DashboardStates.MapView= .StreetSide;m(h+d);jb()}function = vb(){if(f=3D=3DMsn.VE.DashboardStates.MapStyle.Aerial){k=3Dtrue;f=3DMsn.V= E.DashboardStates.MapStyle.Hybrid}else = if(f=3D=3DMsn.VE.DashboardStates.MapStyle.Hybrid){k=3Dfalse;f=3DMsn.VE.Da= shboardStates.MapStyle.Aerial}m(h+d+f)}function = kb(){c.EnableMode(Msn.VE.MapActionMode.Mode2D)}function qb(){if(typeof = b[a.ThreeDUpdatedNotification]!=3D"undefined"&&b[a.ThreeDUpdatedNotificat= ion])E();if(!c.IsModeEnabled(Msn.VE.MapActionMode.Mode3D))if(typeof = ShowMessage!=3D"undefined"){ShowMessage(L_3DLoading_Text);window.setTimeo= ut(View3DSwitch,200)}else = c.EnableMode(Msn.VE.MapActionMode.Mode3D)}function = A(){if(VE_TrafficManager.turnedOn){g(b[a.Traffic]).addClass("MSVE_selecte= d");b[a.Traffic].title=3DL_NavActionHideTrafficToolTip_Text}else{g(b[a.Tr= affic]).removeClass("MSVE_selected");b[a.Traffic].title=3DL_NavActionShow= TrafficToolTip_Text}}function = Ab(){if(VE_TrafficManager.turnedOn)VE_TrafficManager.ClearTraffic();else{= for(var a in = Msn.VE.API.Globals.vemapinstances)if(Msn.VE.API.Globals.vemapinstances[a]= instanceof = VEMap&&Msn.VE.API.Globals.vemapinstances[a].vemapcontrol){VE_TrafficManag= er.m_vemap=3DMsn.VE.API.Globals.vemapinstances[a];break}VE_TrafficManager= .turnedOn=3Dtrue;VE_TrafficManager.showTrafficFlow=3Dtrue;VE_TrafficManag= er.showIncidents=3Dtrue;VE_TrafficManager.showConstructionIncidents=3Dtru= e;VE_TrafficManager.markets=3D[];VE_TrafficManager.incidents=3D[];VE_Traf= ficManager.m_vemap.ShowTrafficLegend();VE_TrafficManager.m_vemap.SetTraff= icLegendText(L_MapLegendAndPopupLink_Text);window.setTimeout(VE_TrafficMa= nager.GetMarkets,100)}A()}function = rb(c){if(c.enabled=3D=3D"1"){g(b[a.Oblique]).addClass("MSVE_selected");b[= a.Oblique].title=3DL_NavActionHideObliqueToolTip_Text}else{g(b[a.Oblique]= ).removeClass("MSVE_selected");b[a.Oblique].title=3DL_NavActionShowObliqu= eToolTip_Text}}function t(a){W(a.view.mapStyle)}function = Z(a){if(a=3D=3DMsn.VE.MapActionMode.Mode3D)U();else T()}function = U(){if(h=3D=3DMsn.VE.DashboardStates.MapMode.View3D)return;h=3DMsn.VE.Das= hboardStates.MapMode.View3D;if(typeof = b[a.Mode]!=3D"undefined"&&b[a.Mode]!=3Dnull)g(b[a.Mode].classRecipients).= swapClass("MSVE_FlatlandMapMode","MSVE_View3DMapMode");i(a.StreetSide,tru= e);i(a.Road,true);i(a.Aerial,true);i(a.Hybrid,true);if(!e.Oblique3DFuncti= onality.DependsOnObliqueAvailability)i(a.Oblique,true);else{if(b[a.Obliqu= eNotification]!=3Dnull&&b[a.ObliqueNotification].enabled&&!g(b[a.Oblique]= ).hasClass("MSVE_selected"))x();o()}if(typeof = b[a.Ortho]!=3D"undefined"&&b[a.Ortho]!=3Dnull)b[a.Ortho].title=3DL_NavAct= ion3DOrthoToolTip_Text;if(typeof = b[a.Oblique]!=3D"undefined"&&b[a.Oblique]!=3Dnull){b[a.Oblique].title=3De= .Oblique3DFunctionality.Title;if(b[a.Oblique].enabled&&!g(b[a.Oblique]).h= asClass("MSVE_selected"))x()}if(typeof = b[a.StreetSide]!=3D"undefined"&&b[a.StreetSide]!=3Dnull)b[a.StreetSide].t= itle=3DL_NavAction3DStreetSideToolTip_Text;var = f=3Dc.GetDashboard().GetShimmedElements(),d;for(d=3D0;d 
'+L_Dashboard3DText_Text+"
";j.attachEv= ent("onclick",u);window.setTimeout(w,6000);e.displaying3DNotification=3Dt= rue}else j.style.display=3D"none"}function = B(a){r(a);h=3Ddocument.createElement("a");h.className=3D"MSVE_toggleGlyph= ";h.title=3DL_NavActionHideToolTip_Text;f.appendChild(h)}function = r(a){if($MVEM.IsEnabled(MapControl.Features.MapStyle.View3D)&&a!=3Dfalse)= {if(!k){e.Create(b.Mode);f.appendChild(d[b.Mode]);v();k=3Dtrue}f.classNam= e=3D"MSVE_header MSVE_with3D"}else{f.className=3D"MSVE_header = MSVE_no3D";k=3Dfalse}}function = y(){if(k){e.DestroyControl(b.Mode);if(d[b.Mode]!=3Dnull)f.removeChild(d[b= .Mode]);k=3Dfalse}f.removeChild(h);c.removeChild(f);h=3Df=3Dnull}function= = u(){j.style.display=3D"none";e.displaying3DNotification=3Dfalse;if(!a.IsM= odeEnabled(Msn.VE.MapActionMode.Mode3D))if(typeof = ShowMessage!=3D"undefined"){ShowMessage(L_3DLoading_Text);window.setTimeo= ut(View3DSwitch,200)}else = a.EnableMode(Msn.VE.MapActionMode.Mode3D)}function = w(){if(j){j.style.display=3D"none";e.displaying3DNotification=3Dfalse}if(= a!=3Dnull&&!a.IsModeEnabled(Msn.VE.MapActionMode.Mode3D))if(a.IsObliqueAv= ailable()&&$MVEM.IsEnabled(MapControl.Features.MapStyle.BirdsEye))e.Displ= ayObliqueNotification()}this.SetX=3Dfunction(a){c.style.left=3Da+"px"};th= is.GetElement=3Dfunction(){return = c};this.GetShimmedElements=3Dfunction(){return = [c]};this.GetHeader=3Dfunction(){return f};this.GetY=3Dfunction(){return = g(c).getScreenPosition().y};this.GetHeight=3Dfunction(){return = c.offsetHeight};this.ShowToggleGlyph=3Dfunction(){if(h!=3Dnull&&h!=3D"und= efined")h.style.display=3D"block"};this.HideToggleGlyph=3Dfunction(){if(h= !=3Dnull&&h!=3D"undefined")h.style.display=3D"none"};this.SetShowMapModeS= witch=3Dfunction(a){if(a!=3Dk){if(!a){e.DestroyControl(b.Mode);f.removeCh= ild(d[b.Mode]);k=3Dfalse}r(a)}};function t(){var = b=3Da.GetDashboard().GetHeader().lastChild;a.GetDashboard().ShowToggleGly= ph();window.dbRoller=3Dnew = Msn.VE.Animation.Roller(a.GetDashboard().GetElement());dbRoller.setAccele= rationFunction(AccelerationFunctions.CrazyElevator);dbRoller.setYLeave(32= );dbRoller.hookEvent("beforerollin",function(){dbRoller.setYLeave(a.GetDa= shboard().GetHeader().offsetHeight);if(a.GetMinimap()){a.GetMinimap().Hid= e();if(a.GetMinimap().IsInitialized())a.GetMinimap().SetDoUpdates(false)}= });dbRoller.hookEvent("afterrollin",function(){a.GetDashboard().GetElemen= t().className=3Da.GetDashboard().GetElement().className.replace(/\s*expan= ded/g,"");a.GetDashboard().GetElement().className+=3D" = collapsed";a.GetDashboard().GetHeader().lastChild.title=3DL_NavActionShow= ToolTip_Text});dbRoller.hookEvent("beforerollout",function(){a.GetDashboa= rd().GetElement().className=3Da.GetDashboard().GetElement().className.rep= lace(/\s*collapsed/g,"");a.GetDashboard().GetElement().className+=3D" = expanded"});dbRoller.hookEvent("afterrollout",function(){if(a.GetMinimap(= )){a.GetMinimap().Show();if(minimapRoller&&minimapRoller.isExpanded()&&a.= GetMinimap().IsInitialized())a.GetMinimap().SetDoUpdates(true)}a.GetDashb= oard().GetHeader().lastChild.title=3DL_NavActionHideToolTip_Text});dbRoll= er.hookEvent("roll",RollShim);b.onclick=3Dfunction(){if(dbRoller.isExpand= ed())dbRoller.rollIn(Msn.VE.Animation.RollDirection.BottomUp);else = dbRoller.rollOut(Msn.VE.Animation.RollDirection.TopDown);return = false};b=3Dnull}this.Hide=3Dfunction(){if(c)c.style.display=3D"none"};thi= s.Show=3Dfunction(){if(c)c.style.display=3D"block"};this.Init=3DE;this.De= stroy=3DD;this.createRoller=3Dt};function = DashboardContainerMouseMoveEvent(a){a=3DGetEvent(a);return = false}Msn.VE.V6Control=3Dfunction(K,e,lb,ib,D,Z,V){Msn.VE.DashboardStates= =3Dnew function(){this.MapMode=3Dnew = function(){this.Flatland=3D1;this.View3D=3D2};this.MapView=3Dnew = function(){this.Ortho=3D4;this.Oblique=3D8;this.StreetSide=3D16};this.Map= Style=3Dnew = function(){this.Road=3D32;this.Shaded=3D64;this.Aerial=3D128;this.Hybrid=3D= 256}};var = G=3D{Style:"MSVE_navAction_mapStyleCell",Road:"MSVE_navAction_RoadMapStyl= e",Aerial:"MSVE_navAction_AerialMapStyle",Hybrid:"MSVE_navAction_HybridMa= pStyle",Mode:"MSVE_navAction_modeCell",Mode2D:"MSVE_navAction_FlatlandMap= Mode",Mode3D:"MSVE_navAction_View3DMapMode",View:"MSVE_navAction_mapViewC= ellInner",Ortho:"MSVE_navAction_OrthoMapView",Oblique:"MSVE_navAction_Obl= iqueMapView",StreetSide:"MSVE_navAction_StreetSideMapView",ShowLabels:"MS= VE_navAction_showLabels",Pan:"MSVE_navAction_panContainer",PanUp:"MSVE_na= vAction_panUp",PanDown:"MSVE_navAction_panDown",PanLeft:"MSVE_navAction_p= anLeft",PanRight:"MSVE_navAction_panRight",TinyZoom:"MSVE_TinyZoomBar",Or= thoZoom:"MSVE_OrthoZoomBar",ObliqueZoom:"MSVE_ObliqueZoomBar",ObliqueComp= ass:"MSVE_compassDiv",ObliqueNotification:"MSVE_obliqueNotification",Thre= eDUpdatedNotification:"MSVE_threeDUpdatedNotification",Traffic:"MSVE_navA= ction_traffic"},jb=3D"Nav = Bar";Msn.VE.CommonControls=3Dfunction(c,u){function yb(b){var = f=3Ddocument.createElement("div"),e=3Ddocument.createElement("div"),a=3Dd= ocument.createElement("div"),d=3Ddocument.createElement("div"),w=3D0,s=3D= 0,j=3Dfalse;this.Init=3Dfunction(){d.className=3D"MSVE_ZoomBar_minus";d.i= d=3D"MSVE_navAction_obliqueZoomBar_minus";d.unselectable=3D"on";d.title=3D= L_ZoomBarMinusToolTip_Text;d.attachEvent("onclick",l);pseudoHover(d);a.cl= assName=3D"MSVE_ZoomBar_slider";a.id=3D"MSVE_navAction_obliqueZoomBar_sli= der";a.unselectable=3D"on";a.attachEvent("onmousedown",o);a.attachEvent("= onmousemove",p);a.attachEvent("onmouseup",q);a.attachEvent("onclick",Igno= reEvent);pseudoHover(a);e.className=3D"MSVE_ObliqueZoomBar_bar";e.unselec= table=3D"on";e.appendChild(a);e.attachEvent("onclick",r);f.className=3D"M= SVE_ZoomBar_plus";f.id=3D"MSVE_navAction_obliqueZoomBar_plus";f.title=3DL= _ZoomBarPlusToolTip_Text;f.unselectable=3D"on";f.attachEvent("onclick",m)= ;pseudoHover(f);b.className=3D"MSVE_ZoomBar";b.id=3D"MSVE_ObliqueZoomBar"= ;b.appendChild(d);b.appendChild(e);b.appendChild(f);b.attachEvent("onmous= edown",IgnoreEvent);b.attachEvent("onmouseup",IgnoreEvent);b.attachEvent(= "onclick",IgnoreEvent);b.attachEvent("ondblclick",IgnoreEvent);i()};funct= ion v(){b.style.display=3D"block"}function = u(){b.style.display=3D"none"}function = r(a){a=3DGetEvent(a);CancelEvent(a);k();n(h(Gimme.Screen.getMousePosition= (a).y));return false}function = h(b){b-=3Ds+d.offsetHeight+a.offsetHeight;var = c=3De.offsetHeight-a.offsetHeight;if(b<0)b=3D0;else if(b>c)b=3Dc;return = b}function l(){c.ZoomOut()}function m(){c.ZoomIn()}function = t(){d.detachEvent("onclick",l);a.detachEvent("onmousedown",o);a.detachEve= nt("onmousemove",p);a.detachEvent("onmouseup",q);a.detachEvent("onclick",= IgnoreEvent);e.detachEvent("onclick",r);f.detachEvent("onclick",m);b.deta= chEvent("onmousedown",IgnoreEvent);b.detachEvent("onmousedown",IgnoreEven= t);b.detachEvent("onclick",IgnoreEvent);b.detachEvent("ondblclick",Ignore= Event);d=3Da=3De=3Df=3Dnull}function = o(b){b=3DGetEvent(b);CancelEvent(b);k();if(a.setCapture)a.setCapture();j=3D= true;return false}function = p(b){b=3DGetEvent(b);CancelEvent(b);if(j)a.style.top=3Dh(Gimme.Screen.get= MousePosition(b).y)+"px";return false}function = q(b){b=3DGetEvent(b);CancelEvent(b);if(a.releaseCapture)a.releaseCapture(= );j=3Dfalse;n(h(Gimme.Screen.getMousePosition(b).y));i();return = false}function k(){var = a=3Dg(b).getScreenPosition();w=3Da.x;s=3Da.y}function n(f){var = b=3De.offsetHeight-a.offsetHeight,d=3D1+MathRound((b-f)/b*1);c.SetZoom(d)= }function = i(){if(c.GetZoomLevel()=3D=3D1)a.style.top=3De.offsetHeight-a.offsetHeigh= t+"px";else = a.style.top=3D"0px"}this.Destroy=3Dt;this.Show=3Dv;this.Hide=3Du;this.Upd= ateFromMap=3Di}function B(z,x,y){var = a=3Ddocument.createElement("div");a.setAttribute("id",z);a.innerHTML=3Dx;= var = c=3D"MSVE_obliqueCompassPointOff",g=3Dy;a.attachEvent("onmouseover",f);a.= attachEvent("onmouseout",h);a.attachEvent("onclick",i);this.onclick=3Dnul= l;this.onmouseover=3Dnull;this.onmouseout=3Dnull;var = e=3D25,b=3Dthis,d=3Dfalse,j=3Dnew v(a,17,17);function = f(e){if(d)return;c=3Da.className;a.className=3D"MSVE_obliqueCompassPointH= over";if(b.onmouseover)b.onmouseover(e)}function = i(a){if(d)return;f(a);c=3D"MSVE_obliqueCompassPointOn";if(b.onclick)b.onc= lick(a)}function = h(e){if(d)return;a.className=3Dc;if(b.onmouseout)b.onmouseout(e)}function= = m(){c=3D"MSVE_obliqueCompassPointOn";a.className=3D"MSVE_obliqueCompassPo= intOn"}function = l(){c=3D"MSVE_obliqueCompassPointOff";a.className=3D"MSVE_obliqueCompassP= ointOff"}function u(){d=3Dtrue;l()}function k(){d=3Dfalse;m()}function = q(){return a}function n(){return g}function o(a){g=3Da}function = w(){j.Reset();k()}function = p(b){a.style.left=3Db.left;a.style.top=3Db.top}function v(r,n,o){var = g=3Dr,a=3D0,b=3D.3,c=3D0,l=3D40,k=3DMath.PI/2,h=3Dtrue,p=3Db+.1;function = m(a,b,c){if(b>=3Dc-a&&b<=3Dc+a)return true;return false}function = i(){a+=3Db;if(a>Math.PI*2)a-=3DMath.PI*2;else = if(a<0)a+=3DMath.PI*2;if(m(p,a,c)){b=3D.3;a=3Dc;d(a);return}d(a);window.s= etTimeout(i,l)}function d(a){var = b=3Dn+e*Math.sin(a),c=3Do+e*Math.cos(a);g.style.left=3Db+"px";g.style.top= =3Dc+"px"}function f(a){c=3Da;i()}function = j(a,c){h=3Dc;if(!h)b*=3D-1;f(k*a)}function = q(){a=3D0}this.RotateTo=3Df;this.RotateToIndex=3Dj;this.Reset=3Dq}functio= n = t(){a.detachEvent("onmouseover",f);a.detachEvent("onmouseout",h);a.detach= Event("onclick",i);a=3Dnull}function s(a){e=3Da}function r(){return = e}this.SetRadius=3Ds;this.GetRadius=3Dr;this.GetElement=3Dq;this.GetCurre= ntPositionIndex=3Dn;this.SetCurrentPositionIndex=3Do;this.SetCurrentPosit= ion=3Dp;this.On=3Dm;this.Off=3Dl;this.RotateToIndex=3Dj.RotateToIndex;thi= s.Reset=3Dw;this.Disable=3Du;this.Enable=3Dk;this.Destroy=3Dt}function = xb(D){var = o=3D[];o.push({"top":"-8px","left":"17px"});o.push({"top":"17px","left":"= 42px"});o.push({"top":"42px","left":"17px"});o.push({"top":"17px","left":= "-8px"});var = f=3Ddocument.createElement("div");f.setAttribute("id","MSVE_obliqueCompas= sContainer");f.title=3DL_ObliqueCompassSelectDirection_Text;var a=3Dnew = B("MSVE_obliqueCompassPointN","N",0),i=3Da.GetElement();i.attachEvent("on= click",r);i.attachEvent("onmouseover",u);i.attachEvent("onmouseout",h);va= r d=3Dnew = B("MSVE_obliqueCompassPointE","E",1),k=3Dd.GetElement();k.attachEvent("on= click",t);k.attachEvent("onmouseover",x);k.attachEvent("onmouseout",h);va= r b=3Dnew = B("MSVE_obliqueCompassPointS","S",2),j=3Db.GetElement();j.attachEvent("on= click",s);j.attachEvent("onmouseover",v);j.attachEvent("onmouseout",h);va= r e=3Dnew = B("MSVE_obliqueCompassPointW","W",3),l=3De.GetElement();l.attachEvent("on= click",w);l.attachEvent("onmouseover",y);l.attachEvent("onmouseout",h);va= r = m=3Ddocument.createElement("div");m.id=3D"MSVE_navAction_obliqueCompassAr= row";f.appendChild(i);f.appendChild(k);f.appendChild(j);f.appendChild(l);= f.appendChild(m);D.appendChild(f);q();function = p(a){if(a<0)a=3D4-Math.abs(a);return a}function n(l,i,k){var = c=3Dl.GetCurrentPositionIndex(),h,f=3D[];f[a.GetCurrentPositionIndex()]=3D= L_North_Text;f[b.GetCurrentPositionIndex()]=3DL_South_Text;f[d.GetCurrent= PositionIndex()]=3DL_East_Text;f[e.GetCurrentPositionIndex()]=3DL_West_Te= xt;if(i){h=3Di=3D=3DMsn.VE.BirdsEyeSearchSpinDirection.CounterclockwiseSp= in;if(c+i!=3D2){var g;switch(i){case -1:switch(c){case 0:case = 2:g=3D[3];break;case 1:g=3D[3,2]}break;case 1:switch(c){case 0:case = 2:g=3D[1];break;case 3:g=3D[1,2]}}if(g){var = j=3DL_ObliqueSkippingOneDirection_Text;if(c=3D=3D0)j=3DL_ObliqueNoImagery= InRequestedDirection_Text;if(g.length=3D=3D2)j=3DL_ObliqueSkippingTwoDire= ctions_Text;if(typeof = ShowMessage!=3D"undefined")ShowMessage(j.replace("%1",f[c]).replace("%2",= f[g[0]]).replace("%3",f[g[1]]))}}}else{h=3Dc!=3D3;if(k)if(c=3D=3D0){if(ty= peof = ShowMessage!=3D"undefined")ShowMessage(L_ObliqueModeImageNotAvailable_Tex= t)}else if(typeof = ShowMessage!=3D"undefined")ShowMessage(L_ObliqueNoImageryInRequestedDirec= tion_Text.replace("%1",f[c]).replace("%2",f[0]))}d.SetCurrentPositionInde= x(p(d.GetCurrentPositionIndex()-c));e.SetCurrentPositionIndex(p(e.GetCurr= entPositionIndex()-c));a.SetCurrentPositionIndex(p(a.GetCurrentPositionIn= dex()-c));b.SetCurrentPositionIndex(p(b.GetCurrentPositionIndex()-c));a.R= otateToIndex(2-a.GetCurrentPositionIndex()<0?a.GetCurrentPositionIndex():= 2-a.GetCurrentPositionIndex(),h);d.RotateToIndex(2-d.GetCurrentPositionIn= dex()<0?d.GetCurrentPositionIndex():2-d.GetCurrentPositionIndex(),h);b.Ro= tateToIndex(2-b.GetCurrentPositionIndex()<0?b.GetCurrentPositionIndex():2= -b.GetCurrentPositionIndex(),h);e.RotateToIndex(2-e.GetCurrentPositionInd= ex()<0?e.GetCurrentPositionIndex():2-e.GetCurrentPositionIndex(),h)}funct= ion g(a){switch(a){case 0:h();break;case 1:z();break;case = 2:A();break;case 3:C()}}function = h(){m.className=3D"MSVE_obliqueCompassArrowU"}function = A(){m.className=3D"MSVE_obliqueCompassArrowD"}function = z(){m.className=3D"MSVE_obliqueCompassArrowR"}function = C(){m.className=3D"MSVE_obliqueCompassArrowL"}function = s(){if(c.GetDashboard()&&c.GetDashboard().SetLastRotationDirection)c.GetD= ashboard().SetLastRotationDirection(Msn.VE.BirdsEyeSearchSpinDirection.No= Spin);n(b);g(0);var = a=3Dc.GetObliqueScene();if(a)if(a.GetOrientation()!=3DMsn.VE.Orientation.= South)c.SetObliqueOrientation("South",null,true)}function = r(){if(c.GetDashboard()&&c.GetDashboard().SetLastRotationDirection)c.GetD= ashboard().SetLastRotationDirection(Msn.VE.BirdsEyeSearchSpinDirection.No= Spin);n(a);g(0);var = b=3Dc.GetObliqueScene();if(b)if(b.GetOrientation()!=3DMsn.VE.Orientation.= North)c.SetObliqueOrientation("North",null,true)}function = t(){if(c.GetDashboard()&&c.GetDashboard().SetLastRotationDirection)c.GetD= ashboard().SetLastRotationDirection(Msn.VE.BirdsEyeSearchSpinDirection.No= Spin);n(d);g(0);var = a=3Dc.GetObliqueScene();if(a)if(a.GetOrientation()!=3DMsn.VE.Orientation.= East)c.SetObliqueOrientation("East",null,true)}function = w(){if(c.GetDashboard()&&c.GetDashboard().SetLastRotationDirection)c.GetD= ashboard().SetLastRotationDirection(Msn.VE.BirdsEyeSearchSpinDirection.No= Spin);n(e);g(0);var = a=3Dc.GetObliqueScene();if(a)if(a.GetOrientation()!=3DMsn.VE.Orientation.= West)c.SetObliqueOrientation("West",null,true)}function = v(){g(b.GetCurrentPositionIndex())}function = x(){g(d.GetCurrentPositionIndex())}function = y(){g(e.GetCurrentPositionIndex())}function = u(){g(a.GetCurrentPositionIndex())}function = H(){f.style.display=3D"none"}function = I(){f.style.display=3D"block"}function q(k,j){var = i=3Dc.GetObliqueScene();if(!i)return;var = f=3Di.GetOrientation(),h;switch(f){case "North":h=3Da;break;case = "South":h=3Db;break;case "East":h=3Dd;break;case = "West":h=3De}n(h,k,j);g(0);if(f!=3DMsn.VE.Orientation.North)a.Enable();el= se a.Disable();if(f!=3DMsn.VE.Orientation.South)b.Enable();else = b.Disable();if(f!=3DMsn.VE.Orientation.East)d.Enable();else = d.Disable();if(f!=3DMsn.VE.Orientation.West)e.Enable();else = e.Disable()}function = G(){a.Destroy();d.Destroy();b.Destroy();e.Destroy();i.detachEvent("onclic= k",r);i.detachEvent("onmouseover",u);i.detachEvent("onmouseout",h);k.deta= chEvent("onclick",t);k.detachEvent("onmouseover",x);k.detachEvent("onmous= eout",h);j.detachEvent("onclick",s);j.detachEvent("onmouseover",v);j.deta= chEvent("onmouseout",h);l.detachEvent("onclick",w);l.detachEvent("onmouse= over",y);l.detachEvent("onmouseout",h);f=3Dnull}function = F(c){a.SetRadius(c);b.SetRadius(c);d.SetRadius(c);e.SetRadius(c)}function= E(){return = a.GetRadius()}this.Hide=3DH;this.Show=3DI;this.UpdateFromMap=3Dq;this.Set= Radius=3DF;this.GetRadius=3DE;this.Destroy=3DG}function Bb(b){var = f=3Ddocument.createElement("div"),e=3Ddocument.createElement("div"),a=3Dd= ocument.createElement("div"),d=3Ddocument.createElement("div"),v=3D0,s=3D= 0,j=3Dfalse;this.Init=3Dfunction(){d.className=3D"MSVE_ZoomBar_minus";d.i= d=3D"MSVE_navAction_orthoZoomBar_minus";d.title=3DL_ZoomBarMinusToolTip_T= ext;d.unselectable=3D"on";d.attachEvent("onclick",l);pseudoHover(d);a.cla= ssName=3D"MSVE_ZoomBar_slider";a.id=3D"MSVE_navAction_orthoZoomBar_slider= ";a.title=3DL_ZoomBarSliderToolTip_Text;a.unselectable=3D"on";a.attachEve= nt("onmousedown",o);a.attachEvent("onmousemove",p);a.attachEvent("onmouse= up",q);a.attachEvent("onclick",IgnoreEvent);pseudoHover(a);e.className=3D= "MSVE_OrthoZoomBar_bar";e.unselectable=3D"on";e.appendChild(a);e.attachEv= ent("onclick",r);f.className=3D"MSVE_ZoomBar_plus";f.id=3D"MSVE_navAction= _orthoZoomBar_plus";f.title=3DL_ZoomBarPlusToolTip_Text;f.unselectable=3D= "on";f.attachEvent("onclick",m);pseudoHover(f);b.className=3D"MSVE_ZoomBa= r";b.id=3D"MSVE_OrthoZoomBar";b.appendChild(d);b.appendChild(e);b.appendC= hild(f);b.attachEvent("onmousedown",IgnoreEvent);b.attachEvent("onmouseup= ",IgnoreEvent);b.attachEvent("onclick",IgnoreEvent);b.attachEvent("ondblc= lick",IgnoreEvent);i()};this.Destroy=3Dfunction(){d.detachEvent("onclick"= ,l);a.detachEvent("onmousedown",o);a.detachEvent("onmousemove",p);a.detac= hEvent("onmouseup",q);a.detachEvent("onclick",IgnoreEvent);e.detachEvent(= "onclick",r);f.detachEvent("onclick",m);b.detachEvent("onmousedown",Ignor= eEvent);b.detachEvent("onmousedown",IgnoreEvent);b.detachEvent("onclick",= IgnoreEvent);b.detachEvent("ondblclick",IgnoreEvent);d=3Da=3De=3Df=3Dnull= };function u(){b.style.display=3D"block"}function = t(){b.style.display=3D"none"}function k(){var = a=3Dg(b).getScreenPosition();v=3Da.x;s=3Da.y}function = o(b){b=3DGetEvent(b);CancelEvent(b);k();if(a.setCapture)a.setCapture();j=3D= true;return false}function = p(b){b=3DGetEvent(b);CancelEvent(b);if(j)a.style.top=3Dh(Gimme.Screen.get= MousePosition(b).y)+"px";return false}function = q(b){b=3DGetEvent(b);CancelEvent(b);if(a.releaseCapture)a.releaseCapture(= );j=3Dfalse;n(h(Gimme.Screen.getMousePosition(b).y));i();return = false}function m(){c.ZoomIn()}function l(){c.ZoomOut()}function = r(a){a=3DGetEvent(a);CancelEvent(a);k();n(h(Gimme.Screen.getMousePosition= (a).y));return false}function = h(b){b-=3Ds+d.offsetHeight+a.offsetHeight;var = c=3De.offsetHeight-a.offsetHeight;if(b<0)b=3D0;else if(b>c)b=3Dc;return = b}function n(f){var = b=3De.offsetHeight-a.offsetHeight,d=3D1+MathRound((b-f)/b*18);c.SetZoom(d= )}function i(){var = b=3De.offsetHeight-a.offsetHeight,d=3Db-(c.GetZoomLevel()-1)/18*b;a.style= .top=3Dd+"px"}this.UpdateFromMap=3Di;this.Show=3Du;this.Hide=3Dt}function= Eb(){var = h=3Ddocument.createElement("div"),g=3Ddocument.createElement("div"),f=3Dd= ocument.createElement("div"),a=3Dfalse,d=3Dg,b=3Df;this.maxZoomLevel=3D21= ;this.minZoomLevel=3D1;this.Init=3Dfunction(){g.className=3D"MSVE_ZoomBar= _plus";g.id=3D"MSVE_navAction_tinyZoomBar_plus";g.title=3DL_ZoomBarPlusTo= olTip_Text;g.unselectable=3D"on";f.className=3D"MSVE_ZoomBar_minus";f.id=3D= "MSVE_navAction_tinyZoomBar_minus";f.title=3DL_ZoomBarMinusToolTip_Text;f= .unselectable=3D"on";c.AttachEvent("onendzoom",i);h.className=3D"MSVE_Zoo= mBar";h.id=3D"MSVE_TinyZoomBar";h.appendChild(g);h.appendChild(f);return = h};this.HookupPlusMinusEvents=3Dfunction(b,a){m(b);j(a)};function = m(a){if(a)d=3Da;d.attachEvent("onmousedown",o);d.attachEvent("onmouseup",= e);d.attachEvent("onmouseout",e)}this.HookupPlusEvents=3Dm;function = j(a){if(a)b=3Da;b.attachEvent("onmousedown",l);b.attachEvent("onmouseup",= e);b.attachEvent("onmouseout",e)}this.HookupMinusEvents=3Dj;function = n(){if(d!=3Dnull){d.detachEvent("onmousedown",o);d.detachEvent("onmouseup= ",e);d.detachEvent("onmouseout",e)}if(a=3D=3D"in")a=3Dfalse}this.UnhookPl= usEvents=3Dn;function = k(){if(b!=3Dnull){b.detachEvent("onmousedown",l);b.detachEvent("onmouseup= ",e);b.detachEvent("onmouseout",e)}if(a=3D=3D"out")a=3Dfalse}this.UnhookM= inusEvents=3Dk;this.Destroy=3Dfunction(){n();k();c.DetachEvent("onendzoom= ",i);g=3Df=3Dd=3Db=3Dnull};function = q(){if(c.GetMapMode()=3D=3DMsn.VE.MapActionMode.Mode3D)return true;else = return c.IsAnimationEnabled()}function o(){a=3D"in";c.ZoomIn()}function = i(){window.setTimeout(p,q()?1:500)}function = p(){if(a=3D=3D"in"&&c.GetZoomLevel()<21)c.ZoomIn(false);else = if(a=3D=3D"out"&&c.GetZoomLevel()>1)c.ZoomOut(false)}function = l(){a=3D"out";c.ZoomOut()}function = e(){a=3Dfalse}this.GetPlus=3Dfunction(){return = g};this.GetMinus=3Dfunction(){return f}}var = a=3DG,j=3D[];j[a.Style]=3D{Id:a.Style,InitialClass:null,OnClickFunction:n= ull,StyleUpdateEvent:null,StyleUpdateFunction:null,Enabled:true,Title:nul= l,Children:[a.Road,a.Aerial,a.Hybrid],Text:null};j[a.Road]=3D{Id:a.Road,I= nitialClass:"MSVE_MapStyle",OnClickFunction:sb,StyleUpdateEvent:"onchange= mapstyle",StyleUpdateFunction:s,Enabled:MapControl.Features.MapStyle.Road= ,Title:L_NavActionRoadToolTip_Text,Children:null,Text:L_NavActionRoad_Tex= t};j[a.Aerial]=3D{Id:a.Aerial,InitialClass:"MSVE_MapStyle",OnClickFunctio= n:mb,StyleUpdateEvent:"onchangemapstyle",StyleUpdateFunction:s,Enabled:Ma= pControl.Features.MapStyle.Aerial,Title:L_NavActionAerialToolTip_Text,Chi= ldren:null,Text:L_NavActionAerial_Text};j[a.Hybrid]=3D{Id:a.Hybrid,Initia= lClass:"MSVE_MapStyle",OnClickFunction:nb,StyleUpdateEvent:"onchangemapst= yle",StyleUpdateFunction:s,Enabled:MapControl.Features.MapStyle.Hybrid,Ti= tle:L_NavActionHybridToolTip_Text,Children:null,Text:L_NavActionHybrid_Te= xt};j[a.Mode]=3D{Id:a.Mode,InitialClass:"MSVE_modeCell",OnClickFunction:n= ull,StyleUpdateEvent:null,StyleUpdateFunction:null,Enabled:true,Title:nul= l,Children:[a.Mode2D,a.Mode3D],Text:null};j[a.Mode2D]=3D{Id:a.Mode2D,Init= ialClass:"MSVE_MapMode",OnClickFunction:kb,StyleUpdateEvent:"oninitmode",= StyleUpdateFunction:Z,Enabled:true,Title:L_NavActionFlatlandToolTip_Text,= Children:null,Text:L_NavActionFlatland_Text};j[a.Mode3D]=3D{Id:a.Mode3D,I= nitialClass:"MSVE_MapMode",OnClickFunction:qb,StyleUpdateEvent:"oninitmod= e",StyleUpdateFunction:Z,Enabled:MapControl.Features.MapStyle.View3D,Titl= e:L_NavActionView3DToolTip_Text,Children:null,Text:L_NavActionView3D_Text= };j[a.View]=3D{Id:a.View,InitialClass:null,OnClickFunction:null,StyleUpda= teEvent:null,StyleUpdateFunction:null,Enabled:true,Title:null,Children:[a= .Ortho,a.Oblique,a.StreetSide],Text:null};j[a.Ortho]=3D{Id:a.Ortho,Initia= lClass:"MSVE_MapStyle",OnClickFunction:t,StyleUpdateEvent:"onchangemapsty= le",StyleUpdateFunction:s,Enabled:true,Title:L_NavActionOrthoToolTip_Text= ,Children:null,Text:null};j[a.Oblique]=3D{Id:a.Oblique,InitialClass:"MSVE= _MapStyle",OnClickFunction:F,StyleUpdateEvent:"onchangemapstyle",StyleUpd= ateFunction:s,Enabled:false,Title:L_NavActionObliqueToolTip_Text,Children= :null,Text:null};j[a.StreetSide]=3D{Id:a.StreetSide,InitialClass:"MSVE_Ma= pStyle",OnClickFunction:hb,StyleUpdateEvent:"onchangemapstyle",StyleUpdat= eFunction:s,Enabled:false,Title:L_NavActionStreetSideToolTip_Text,Childre= n:null,Text:null};j[a.ShowLabels]=3D{Id:a.ShowLabels,InitialClass:"MSVE_M= apStyle",OnClickFunction:vb,StyleUpdateEvent:"onchangemapstyle",StyleUpda= teFunction:s,Enabled:true,Title:L_NavActionShowLabels_Text,Children:null,= Text:L_NavActionLabels_Text};j[a.Traffic]=3D{Id:a.Traffic,InitialClass:"M= SVE_MapStyle",OnClickFunction:Ab,StyleUpdateEvent:null,StyleUpdateFunctio= n:null,Enabled:true,Title:L_NavActionShowTrafficToolTip_Text,Children:nul= l,Text:L_NavActionTraffic_Text};this.ObliqueFunctions=3D[];this.ObliqueFu= nctions.ObliqueImageryIn3D=3D{ObliqueClickFunction:fb,Title:L_NavActionSh= owObliqueToolTip_Text,DependsOnObliqueAvailability:true};this.ObliqueFunc= tions.ObliqueTiltIn3D=3D{ObliqueClickFunction:lb,Title:L_NavAction3DObliq= ueToolTip_Text,DependsOnObliqueAvailability:false};var = e=3Dthis,b=3D[],h=3DMsn.VE.DashboardStates.MapMode.Flatland,d=3DMsn.VE.Da= shboardStates.MapView.Ortho,f=3DMsn.VE.DashboardStates.MapStyle.Road;this= .orthoZoom=3Dnull;var = l;this.obliqueCompass=3Dnull;this.obliqueZoom=3Dnull;this.displaying3DNot= ification=3Dfalse;var = y=3Dnull;this.Oblique3DFunctionality=3Dthis.ObliqueFunctions.ObliqueImage= ryIn3D;var = q=3Ddocument.createElement("div");q.id=3D"MSVE_navAction_palette";documen= t.body.appendChild(q);var = I=3Dfalse,ab=3Dfalse,S=3D19,Q=3D1,k=3Dtrue,R=3Dfalse,r=3DMsn.VE.BirdsEyeS= earchSpinDirection.NoSpin,N;for(N in = u)if(u.hasOwnProperty(N))M(u[N]);function Ib(){var = d=3D$MVEM.IsEnabled(MapControl.Features.MapStyle.BirdsEye)&&(c.IsObliqueA= vailable()||c.IsMapViewOblique());if(d){i(a.Oblique,true);if(b[a.ObliqueN= otification]&&!c.IsMapViewOblique()&&!g(b[a.Oblique]).hasClass("MSVE_sele= cted"))w()}else{i(a.Oblique,false);if(b[a.ObliqueNotification])p()}W();if= (c.IsModeEnabled(Msn.VE.MapActionMode.Mode3D))U();else T()}function = Hb(){var a;for(a in = u)if(u.hasOwnProperty(a))J(u[a]);document.body.removeChild(q);q=3Dnull}fu= nction M(f){switch(f){case = a.OrthoZoom:b[f]=3Ddocument.createElement("div");e.orthoZoom=3Dnew = Bb(b[f]);e.orthoZoom.Init();c.AttachEvent("onendzoom",v);q.appendChild(b[= f]);v();return;case = a.ObliqueZoom:b[f]=3Ddocument.createElement("div");ab=3Dtrue;b[f].id=3Df;= q.appendChild(b[f]);return;case a.TinyZoom:l=3Dnew = Eb;b[f]=3Dl.Init();c.AttachEvent("onendzoom",v);v();return;case = a.ObliqueCompass:b[f]=3Ddocument.createElement("div");b[f].id=3Df;I=3Dtru= e;return;case a.ObliqueNotification:db();return;case = a.ThreeDUpdatedNotification:cb();return;case = a.Oblique:c.AttachEvent("onve3dphotostatechanged",rb)}var = d=3Dj[f],g=3Ddocument.createElement("div");b[d.Id]=3Dg;g.id=3Dd.Id;g.enab= led=3Dd.Enabled;g.classRecipients=3D[g];if(d.Text!=3Dnull)g.innerText=3Dd= .Text;if(d.OnClickFunction!=3Dnull&&d.Enabled=3D=3Dtrue)g.attachEvent("on= click",d.OnClickFunction);if(d.StyleUpdateEvent!=3Dnull&&d.StyleUpdateFun= ction!=3Dnull)c.AttachEvent(d.StyleUpdateEvent,d.StyleUpdateFunction);if(= d.InitialClass){g.className=3Dd.InitialClass;if(!g.enabled)g.className+=3D= "_disabled"}if(d.Children!=3Dnull){var h;for(h in = d.Children)if(d.Children.hasOwnProperty(h))g.appendChild(M(d.Children[h])= )}else pseudoHover(g);switch(f){case a.Oblique:case = a.ObliqueCompass:c.AttachEvent("onobliqueenter",zb);c.AttachEvent("onobli= queleave",K);c.AttachEvent("onendmapstyleoblique",pb);c.AttachEvent("onob= liquechange",wb);c.AttachEvent("obliquerequestunavailable",eb);break;case= a.Traffic:c.AttachEvent("onchangetraffic",z);z()}return g}function = J(f){switch(f){case = a.OrthoZoom:e.orthoZoom.Destroy();b[f]=3Dnull;c.DetachEvent("onendzoom",v= );try{q.removeChild(b[f])}catch(k){}return;case = a.ObliqueZoom:try{q.removeChild(b[f])}catch(k){}if(e.obliqueZoom){e.obliq= ueZoom.Destroy();e.obliqueZoom=3Dnull}case = a.TinyZoom:l.Destroy();b[f]=3Dnull;return;case = a.ObliqueCompass:if(I&&e.obliqueCompass){e.obliqueCompass.onclick=3Dnull;= e.obliqueCompass.Destroy();e.obliqueCompass=3Dnull}return;case = a.ObliqueNotification:b[a.ObliqueNotification].detachEvent("onclick",P);r= eturn;case = a.ThreeDUpdatedNotification:b[a.ThreeDUpdatedNotification]=3Dnull;return;= case a.Traffic:c.DetachEvent("onchangetraffic",z)}var = i=3Db[f];if(i=3D=3Dnull)return;var d=3Dj[f];if(d.Children!=3Dnull){var = g,h;for(h in = d.Children)if(d.Children.hasOwnProperty(h)){g=3Dd.Children[h];try{i.remov= eChild(b[g])}catch(k){}J(g)}}if(d.OnClickFunction!=3Dnull)i.detachEvent("= onclick",d.OnClickFunction);try{if(c&&d.StyleUpdateEvent!=3Dnull&&d.Style= UpdateFunction!=3Dnull)c.DetachEvent(d.StyleUpdateEvent,d.StyleUpdateFunc= tion)}catch(k){}b[d.Id]=3Dnull}function = db(){b[a.ObliqueNotification]=3Ddocument.createElement("div");b[a.Oblique= Notification].id=3Da.ObliqueNotification;b[a.ObliqueNotification].attachE= vent("onclick",P);b[a.ObliqueNotification].innerHTML+=3D'
'+'
'+'
'+L_DashboardBirdsEyeText_Text+"
"+''+"
"}function = cb(){b[a.ThreeDUpdatedNotification]=3Ddocument.createElement("div");b[a.T= hreeDUpdatedNotification].id=3Da.ThreeDUpdatedNotification;b[a.ThreeDUpda= tedNotification].innerHTML+=3D'
 
'+L_Dashboard3DInstalled_Text+"
"}funct= ion sb(){A()}function = A(){if(f=3D=3DMsn.VE.DashboardStates.MapStyle.Road&&d=3D=3DMsn.VE.Dashboa= rdStates.MapView.Ortho)return;f=3DMsn.VE.DashboardStates.MapStyle.Road;d=3D= Msn.VE.DashboardStates.MapView.Ortho;m(h+d+f)}function = mb(){if(b[a.ShowLabels]){i(a.ShowLabels,true);if(k)Y();else X()}else = X()}function = X(){if(f=3D=3DMsn.VE.DashboardStates.MapStyle.Aerial&&d=3D=3DMsn.VE.Dashb= oardStates.MapView.Ortho)return;f=3DMsn.VE.DashboardStates.MapStyle.Aeria= l;d=3DMsn.VE.DashboardStates.MapView.Ortho;m(h+d+f)}function = nb(){Y()}function = Y(){if(f=3D=3DMsn.VE.DashboardStates.MapStyle.Hybrid&&d=3D=3DMsn.VE.Dashb= oardStates.MapView.Ortho)return;f=3DMsn.VE.DashboardStates.MapStyle.Hybri= d;d=3DMsn.VE.DashboardStates.MapView.Ortho;m(h+d+f)}function = t(){if(d=3D=3DMsn.VE.DashboardStates.MapView.Ortho&&h=3D=3DMsn.VE.Dashboa= rdStates.MapMode.Flatland)return;d=3DMsn.VE.DashboardStates.MapView.Ortho= ;if(h=3D=3DMsn.VE.DashboardStates.MapMode.Flatland)switch(f){case = Msn.VE.DashboardStates.MapStyle.Aerial:if($MVEM.IsEnabled(MapControl.Feat= ures.MapStyle.Aerial))m(h+d+f);else A();break;case = Msn.VE.DashboardStates.MapStyle.Hybrid:if($MVEM.IsEnabled(MapControl.Feat= ures.MapStyle.Hybrid))m(h+d+f);else A();break;default:m(h+d+f)}else = m(h+d);o()}function = P(c){if(h=3D=3DMsn.VE.DashboardStates.MapMode.View3D&&g(b[a.Oblique]).has= Class("MSVE_selected")){p();c.cancelBubble=3Dtrue;return}F()}function = F(){if(typeof = b[a.ObliqueNotification]!=3D"undefined"&&b[a.ObliqueNotification])p();if(= h=3D=3DMsn.VE.DashboardStates.MapMode.View3D)e.Oblique3DFunctionality.Obl= iqueClickFunction();else tb()}var L=3Dnull;function fb(){var e=3Dnew = Date;if(L!=3Dnull)if(e.getTime()-L.getTime()<1000)return;L=3De;var = d=3D!g(b[a.Oblique]).hasClass("MSVE_selected");c.Show3DBirdseye(d,f=3D=3D= Msn.VE.DashboardStates.MapStyle.Road||k);var = h=3Dd?"RequestLayerBirdsEyeOn":"RequestLayerBirdsEyeOff"}var n;function = tb(){if(d=3D=3D=3DMsn.VE.DashboardStates.MapView.Oblique)return;d=3DMsn.V= E.DashboardStates.MapView.Oblique;x();if(k)f=3DMsn.VE.DashboardStates.Map= Style.Hybrid;else f=3DMsn.VE.DashboardStates.MapStyle.Aerial;if(typeof = Msn.VE.API=3D=3D"undefined")ob();else E()}function ob(){if(!n){var = a=3D$ID("msve_mapContainer");n=3Ddocument.createElement("div");n.id=3D"an= imator";a.appendChild(n)}n.style.display=3D"block";n.className=3D"zoom_an= imation";window.setTimeout(E,2000)}function = E(){if(n){n.parentNode.removeChild(n);n=3Dnull}if(c.IsDragging()||c.IsZoo= ming()){window.setTimeout(E,250);return}m(h+d+f)}function = lb(){Gb(Msn.VE.DashboardStates.MapMode.View3D+Msn.VE.DashboardStates.MapV= iew.Oblique)}function = hb(){if(d=3D=3DMsn.VE.DashboardStates.MapView.StreetSide&&h=3D=3DMsn.VE.D= ashboardStates.MapMode.Flatland)return;d=3DMsn.VE.DashboardStates.MapView= .StreetSide;m(h+d);jb()}function = vb(){if(f=3D=3DMsn.VE.DashboardStates.MapStyle.Aerial){k=3Dtrue;f=3DMsn.V= E.DashboardStates.MapStyle.Hybrid}else = if(f=3D=3DMsn.VE.DashboardStates.MapStyle.Hybrid){k=3Dfalse;f=3DMsn.VE.Da= shboardStates.MapStyle.Aerial}m(h+d+f)}function = kb(){c.EnableMode(Msn.VE.MapActionMode.Mode2D)}function qb(){if(typeof = b[a.ThreeDUpdatedNotification]!=3D"undefined"&&b[a.ThreeDUpdatedNotificat= ion])D();if(!c.IsModeEnabled(Msn.VE.MapActionMode.Mode3D))if(typeof = ShowMessage!=3D"undefined"){ShowMessage(L_3DLoading_Text);window.setTimeo= ut(View3DSwitch,200)}else = c.EnableMode(Msn.VE.MapActionMode.Mode3D)}function = z(){if(VE_TrafficManager.turnedOn){g(b[a.Traffic]).addClass("MSVE_selecte= d");b[a.Traffic].title=3DL_NavActionHideTrafficToolTip_Text}else{g(b[a.Tr= affic]).removeClass("MSVE_selected");b[a.Traffic].title=3DL_NavActionShow= TrafficToolTip_Text}}function = Ab(){if(VE_TrafficManager.turnedOn)VE_TrafficManager.ClearTraffic();else{= for(var a in = Msn.VE.API.Globals.vemapinstances)if(Msn.VE.API.Globals.vemapinstances[a]= instanceof = VEMap&&Msn.VE.API.Globals.vemapinstances[a].vemapcontrol){VE_TrafficManag= er.m_vemap=3DMsn.VE.API.Globals.vemapinstances[a];break}VE_TrafficManager= .turnedOn=3Dtrue;VE_TrafficManager.showTrafficFlow=3Dtrue;VE_TrafficManag= er.showIncidents=3Dtrue;VE_TrafficManager.showConstructionIncidents=3Dtru= e;VE_TrafficManager.markets=3D[];VE_TrafficManager.incidents=3D[];VE_Traf= ficManager.m_vemap.ShowTrafficLegend();VE_TrafficManager.m_vemap.SetTraff= icLegendText(L_MapLegendAndPopupLink_Text);window.setTimeout(VE_TrafficMa= nager.GetMarkets,100)}z()}function = rb(c){if(c.enabled=3D=3D"1"){g(b[a.Oblique]).addClass("MSVE_selected");b[= a.Oblique].title=3DL_NavActionHideObliqueToolTip_Text}else{g(b[a.Oblique]= ).removeClass("MSVE_selected");b[a.Oblique].title=3DL_NavActionShowObliqu= eToolTip_Text}}function s(a){W(a.view.mapStyle)}function = Z(a){if(a=3D=3DMsn.VE.MapActionMode.Mode3D)U();else T()}function = U(){if(h=3D=3DMsn.VE.DashboardStates.MapMode.View3D)return;h=3DMsn.VE.Das= hboardStates.MapMode.View3D;if(typeof = b[a.Mode]!=3D"undefined"&&b[a.Mode]!=3Dnull)g(b[a.Mode].classRecipients).= swapClass("MSVE_FlatlandMapMode","MSVE_View3DMapMode");i(a.StreetSide,tru= e);i(a.Road,true);i(a.Aerial,true);i(a.Hybrid,true);if(!e.Oblique3DFuncti= onality.DependsOnObliqueAvailability)i(a.Oblique,true);else{if(b[a.Obliqu= eNotification]!=3Dnull&&b[a.ObliqueNotification].enabled&&!g(b[a.Oblique]= ).hasClass("MSVE_selected"))w();o()}if(typeof = b[a.Ortho]!=3D"undefined"&&b[a.Ortho]!=3Dnull)b[a.Ortho].title=3DL_NavAct= ion3DOrthoToolTip_Text;if(typeof = b[a.Oblique]!=3D"undefined"&&b[a.Oblique]!=3Dnull){b[a.Oblique].title=3De= .Oblique3DFunctionality.Title;if(b[a.Oblique].enabled&&!g(b[a.Oblique]).h= asClass("MSVE_selected"))w()}if(typeof = b[a.StreetSide]!=3D"undefined"&&b[a.StreetSide]!=3Dnull)b[a.StreetSide].t= itle=3DL_NavAction3DStreetSideToolTip_Text;var = f=3Dc.GetDashboard().GetShimmedElements(),d;for(d=3D0;d = div");B.addEvent("mousedown",IgnoreEvent);B.addEvent("mouseup",IgnoreEven= t);B.addEvent("mousemove",DashboardContainerMouseMoveEvent);B.addEvent("m= ousewheel",IgnoreEvent);B.addEvent("dblclick",IgnoreEvent);B.addEvent("co= ntextmenu",IgnoreEvent);B.addEvent("keydown",IgnoreEvent);B.addEvent("key= up",IgnoreEvent);B.addEvent("click",IgnoreEvent);h=3D[];for(s=3D0;s<5;s++= ){h[s]=3Ddocument.createElement("div");h[s].className=3D"MSVE_navAction_s= eparator";h[s].id=3D"MSVE_navAction_separator"+s}y=3Ddocument.createEleme= nt("div");y.id=3D"MSVE_navAction_toggleGlyphInner";y.className=3D"MSVE_na= vAction_toggleGlyph";j.appendChild(y);b[a.Road].title=3DL_NavActionRoadTo= olTip_Text;b[a.Aerial].title=3DL_NavActionAerialToolTip_Text;b[a.Hybrid].= title=3DL_NavActionHybridToolTip_Text;b[a.Mode2D].title=3DL_NavActionFlat= landToolTip_Text;b[a.Mode3D].title=3DL_NavActionView3DToolTip_Text;i.appe= ndChild(b[a.Road]);i.appendChild(b[a.Aerial]);i.appendChild(h[1]);i.appen= dChild(b[a.Oblique]);if(D){d.appendChild(b[a.Mode]);d.appendChild(h[0])}d= .appendChild(i);d.appendChild(h[2]);f.SetLabelsState(V!=3Dfalse);d.append= Child(b[a.ShowLabels]);d.appendChild(h[3]);if(b[a.Traffic]!=3Dnull){b[a.T= raffic].title=3DL_NavActionShowTrafficToolTip_Text;d.appendChild(b[a.Traf= fic]);d.appendChild(h[4])}else C.addClass("notraffic");if(!Z){var = F=3DparseInt(C.getStyle("width"))-parseInt(g(b[a.Oblique]).getStyle("widt= h"));c.style.width=3DF+"px";b[a.Oblique].style.display=3D"none"}r=3Ddocum= ent.createElement("div");r.id=3D"MSVE_navAction_compassWrapper";q.appendC= hild(r);z=3Dnew = ab(r);z.Init();pseudoHover(z.GetElement());b[a.ObliqueCompass].radius=3D3= 1;r.appendChild(b[a.ObliqueCompass]);var = E=3Df.GetTinyZoom();m.appendChild(b[a.TinyZoom]);p=3Ddocument.createEleme= nt("div");p.id=3D"MSVE_navAction_zoomPlusWrapper";pseudoHover(p);p.append= Child(E.GetPlus());b[a.TinyZoom].appendChild(p);o=3Ddocument.createElemen= t("div");o.id=3D"MSVE_navAction_zoomMinusWrapper";pseudoHover(o);o.append= Child(E.GetMinus());b[a.TinyZoom].appendChild(o);E.HookupPlusMinusEvents(= p,o);n=3Ddocument.createElement("div");n.id=3D"MSVE_navAction_rotatorCont= ainer";u=3Ddocument.createElement("div");u.id=3D"MSVE_navAction_ccw";u.ti= tle=3DL_NavActionObliqueRotationToolTip_CCW_Text;u.className=3D"MSVE_navA= ction_rotator";v=3Ddocument.createElement("div");v.id=3D"MSVE_navAction_c= w";v.title=3DL_NavActionObliqueRotationToolTip_CW_Text;v.className=3D"MSV= E_navAction_rotator";k=3Ddocument.createElement("div");k.id=3D"MSVE_navAc= tion_ccwWrapper";pseudoHover(k);k.appendChild(u);l=3Ddocument.createEleme= nt("div");l.id=3D"MSVE_navAction_cwWrapper";pseudoHover(l);l.appendChild(= v);g(k).addEvent("click",N);g(l).addEvent("click",P);n.appendChild(k);n.a= ppendChild(l);m.appendChild(n);d.appendChild(b[a.ObliqueNotification]);d.= appendChild(b[a.ThreeDUpdatedNotification]);f.Init();e.AttachEvent("onini= tmode",X);if(Msn.VE.Animation)I();f.UpdateZoom()}function = bb(){d.removeChild(b[a.ObliqueNotification]);d.removeChild(b[a.ThreeDUpda= tedNotification]);g(k).removeEvent("click",N);g(l).removeEvent("click",P)= ;k.removeChild(u);l.removeChild(v);n.removeChild(k);n.removeChild(l);m.re= moveChild(n);var s=3Df.GetTinyZoom();if(s){var = A=3Ds.GetMinus();if(A)o.removeChild(A);var = F=3Ds.GetPlus();if(F)p.removeChild(F);b[a.TinyZoom].removeChild(o);b[a.Ti= nyZoom].removeChild(p);m.removeChild(b[a.TinyZoom])}z.Destroy();q.removeC= hild(r);r.removeChild(b[a.ObliqueCompass]);if(b[a.Traffic]!=3Dnull){d.rem= oveChild(b[a.Traffic]);d.removeChild(h[4])}d.removeChild(b[a.ShowLabels])= ;d.removeChild(h[3]);i.removeChild(b[a.Road]);i.removeChild(b[a.Aerial]);= i.removeChild(h[1]);i.removeChild(b[a.Oblique]);if(D){d.removeChild(b[a.M= ode]);d.removeChild(h[0])}d.removeChild(i);d.removeChild(h[2]);j.removeCh= ild(y);var G=3Dg(c),e=3DG.select("> = div");e.removeEvent("mouseleave",B);e.removeEvent("mouseenter",C);e.remov= eEvent("mousedown",IgnoreEvent);e.removeEvent("mouseup",IgnoreEvent);e.re= moveEvent("mousemove",DashboardContainerMouseMoveEvent);e.removeEvent("mo= usewheel",IgnoreEvent);e.removeEvent("dblclick",IgnoreEvent);e.removeEven= t("contextmenu",IgnoreEvent);e.removeEvent("keydown",IgnoreEvent);e.remov= eEvent("keyup",IgnoreEvent);e.removeEvent("click",IgnoreEvent);c.removeCh= ild(x);c.removeChild(w);c.removeChild(t);c.removeChild(q);c.removeChild(m= );c.removeChild(d);c.removeChild(j);K.removeChild(c);f.Destroy();if(Msn.V= E.Animation)E().onclick=3Dnull}function = B(){Gimme.Animation.end("MSVE_NAVACTION_FADEIN");g(c).select("div.MSVE_na= vAction_background").fadeTo(null,F,J,"MSVE_NAVACTION_FADEOUT")}function = C(){Gimme.Animation.end("MSVE_NAVACTION_FADEOUT");g(c).select("div.MSVE_n= avAction_background").fadeTo(null,W,J,"MSVE_NAVACTION_FADEIN")}function = X(a){if(a=3D=3DMsn.VE.MapActionMode.Mode3D){Y();if(e.Get3DControl())if(g(= M()).hasClass("collapsed"))e.Get3DControl().ShowNavigationControl=3Dfalse= ;else e.Get3DControl().ShowNavigationControl=3Dtrue}else O()}function = O(){var a=3Dg(c),b=3Da.select("> = div");a.select("div.MSVE_navAction_background").setStyle("opacity",F);b.a= ddEvent("mouseleave",B);b.addEvent("mouseenter",C)}function Y(){var = a=3Dg(c),b=3Da.select("> = div");b.removeEvent("mouseleave",B);b.removeEvent("mouseenter",C);a.selec= t("div.MSVE_navAction_background").setStyle("opacity",L)}function = N(){H(Msn.VE.BirdsEyeSearchSpinDirection.CounterclockwiseSpin)}function = P(){H(Msn.VE.BirdsEyeSearchSpinDirection.ClockwiseSpin)}function = H(a){f.SetLastRotationDirection(a);var b=3De.GetObliqueScene();if(b){var = d=3DQ[b.GetOrientation()],c=3DT[(d+a+4)%4];e.SetObliqueOrientation(c,a,tr= ue);f.obliqueCompass.UpdateFromMap()}}function M(){return c}function = S(){return f.GetObliqueNotifierShimmedElements().concat([t])}function = E(){return j}function cb(){return f.GetMapModeState()}function = fb(){if(c)c.style.display=3D"block"}function = db(){if(c)c.style.display=3D"none"}function = I(){if(!e.GetDashboard().GetToggleGlyph())return;e.GetDashboard().GetTogg= leGlyph().onclick=3Dfunction(){var = a=3De.GetDashboard();if(g(a.GetElement()).hasClass("collapsed")){g(a.GetE= lement()).removeClass("collapsed");a.GetToggleGlyph().title=3DL_NavAction= HideToolTip_Text;if(e.Get3DControl())e.Get3DControl().ShowNavigationContr= ol=3Dtrue}else{g(a.GetElement()).addClass("collapsed");a.GetToggleGlyph()= .title=3DL_NavActionShowToolTip_Text;if(e.Get3DControl())e.Get3DControl()= .ShowNavigationControl=3Dfalse}var = c=3De.GetDashboard().GetShimmedElements(),b;for(b=3D0;b=3Da.longitude&&c.latitude>=3Db.lat= itude&&c.longitude<=3Db.longitude};this.ContainsRectangle=3Dfunction(a){r= eturn = a.southeast.latitude>=3Dthis.southeast.latitude&&a.southeast.longitude<=3D= this.southeast.longitude&&a.northwest.latitude<=3Dthis.northwest.latitude= &&a.northwest.longitude>=3Dthis.northwest.longitude}};Msn.VE.MapStyle=3Dn= ew = function(){this.Road=3D"r";this.Shaded=3D"s";this.Aerial=3D"a";this.Hybri= d=3D"h";this.Oblique=3D"o";this.ObliqueHybrid=3D"b"};Msn.VE.MapStyle.IsVi= ewOblique=3Dfunction(a){return = a=3D=3DMsn.VE.MapStyle.ObliqueHybrid||a=3D=3DMsn.VE.MapStyle.Oblique};Msn= .VE.MapStyle.IsViewOrtho=3Dfunction(a){return = a=3D=3DMsn.VE.MapStyle.Road||a=3D=3DMsn.VE.MapStyle.Shaded||a=3D=3DMsn.VE= .MapStyle.Hybrid||a=3D=3DMsn.VE.MapStyle.Aerial};Msn.VE.MapViewType=3Dfun= ction(){};Msn.VE.MapViewType.Pixel=3D"pixel";Msn.VE.MapViewType.PixelRect= =3D"pixelRect";Msn.VE.MapViewType.LatLong=3D"latlong";Msn.VE.MapViewType.= LatLongAccurate=3D"latlongaccurate";Msn.VE.MapViewType.LatLongRect=3D"lat= longRect";Msn.VE.MapView=3Dfunction(map){this.zoomLevel=3D0;this.mapStyle= =3Dnull;this.doRoadShading=3Dfalse;this.tilt=3D-90;this.direction=3D0;thi= s.altitude=3D-1000;this.center=3Dnew VEPixel;this.latlong=3Dnew = Msn.VE.LatLong;this.cameraLatlong=3Dnull;this.pixelRect=3Dnew = Msn.VE.PixelRectangle;this.latlongRect=3Dnew = Msn.VE.LatLongRectangle;this.sceneId=3Dnull;this.sceneOrientation=3Dnull;= this.bySceneId=3Dfalse;this.callback=3Dnull;this.photoX=3Dnull;this.photo= Y=3Dnull;this.photoScale=3Dnull;this._supressFlyToCall=3Dfalse;this._need= sPivotOperation=3Dtrue;var = mapInstance=3Dmap,p_this=3Dthis,viewType=3DMsn.VE.MapViewType.Pixel;this.= Destroy=3Dfunction(){this.center=3Dthis.latlong=3Dp_this=3DmapInstance=3D= null};this.GetViewType=3Dfunction(){return = viewType};this.GetMap=3Dfunction(){return = mapInstance};this.SetMap=3Dfunction(a){mapInstance=3Da};function = MakeCopy(){var a=3Dnew Msn.VE.MapView;a.Copy(p_this);return a}function = Copy(a){p_this.zoomLevel=3Da.zoomLevel;p_this.mapStyle=3Da.mapStyle;p_thi= s.doRoadShading=3Da.doRoadShading;p_this.tilt=3Da.tilt;p_this.direction=3D= a.direction;p_this.altitude=3Da.altitude;p_this.center.Copy(a.center);if(= a.cameraLatlong!=3Dnull){p_this.cameraLatlong=3Dnew = Msn.VE.LatLong;p_this.cameraLatlong.Copy(a.cameraLatlong)}p_this.latlong.= Copy(a.latlong);p_this.pixelRect.Copy(a.pixelRect);p_this.latlongRect.Cop= y(a.latlongRect);p_this.sceneId=3Da.sceneId;p_this.sceneOrientation=3Da.s= ceneOrientation;p_this.photoX=3Da.photoX;p_this.photoY=3Da.photoY;p_this.= photoScale=3Da.photoScale;p_this.SetMap(a.GetMap());viewType=3Da.GetViewT= ype()}function Equals(a){return = a!=3Dnull&&p_this.zoomLevel=3D=3Da.zoomLevel&&p_this.mapStyle=3D=3Da.mapS= tyle&&MathAbs(p_this.tilt-a.tilt)<1e-6&&MathAbs(p_this.direction-a.direct= ion)<1e-6&&MathAbs(p_this.altitude-a.altitude)<1e-6&&MathAbs(p_this.cente= r.x-a.center.x)<1e-6&&MathAbs(p_this.center.y-a.center.y)<1e-6&&p_this.sc= eneId=3D=3Da.sceneId&&p_this.GetMap()=3D=3Da.GetMap()&&p_this.sceneOrient= ation=3D=3Da.sceneOrientation}function ToString(){return = "("+p_this.latlong.ToString()+", "+p_this.zoomLevel+", = "+p_this.mapStyle+")"}function = SetCenter(a){if(!a)return;p_this.center=3Da;viewType=3DMsn.VE.MapViewType= .Pixel}function = SetCenterLatLong(a){if(!a)return;p_this.latlong=3Da;p_this.cameraLatlong=3D= null;viewType=3DMsn.VE.MapViewType.LatLong}function = SetCenterLatLongAccurate(a){if(a){p_this.latlong=3Da;p_this.cameraLatlong= =3Dnull;if(Msn.VE.MapStyle.IsViewOblique(p_this.mapStyle))viewType=3DMsn.= VE.MapViewType.LatLongAccurate;else = viewType=3DMsn.VE.MapViewType.LatLong}}function = SetPixelRectangle(a){p_this.pixelRect=3Da;p_this.cameraLatlong=3Dnull;p_t= his.tilt=3D-90;p_this.direction=3D0;viewType=3DMsn.VE.MapViewType.PixelRe= ct}function = SetLatLongRectangle(a){p_this.latlongRect=3Da;p_this.cameraLatlong=3Dnull= ;p_this.tilt=3D-90;p_this.direction=3D0;viewType=3DMsn.VE.MapViewType.Lat= LongRect}function SetZoomLevel(a){if(a<=3D0)a=3D1;var = c=3DmapInstance.GetCenterOffset().x,d=3DmapInstance.GetCenterOffset().y;s= witch(viewType){case Msn.VE.MapViewType.Pixel:var = b=3DMath.pow(2,a-p_this.zoomLevel);p_this.center.x=3D(p_this.center.x+c)*= b-c;p_this.center.y=3D(p_this.center.y+d)*b-d;break;case = Msn.VE.MapViewType.PixelRect:var = b=3DMath.pow(2,a-p_this.zoomLevel);p_this.pixelRect.topLeft.x=3Dp_this.pi= xelRect.topLeft.x*b;p_this.pixelRect.topLeft.y=3Dp_this.pixelRect.topLeft= .y*b;p_this.pixelRect.bottomRight.x=3Dp_this.pixelRect.bottomRight.x*b;p_= this.pixelRect.bottomRight.y=3Dp_this.pixelRect.bottomRight.y*b}if(p_this= .zoomLevel!=3Da){p_this.altitude=3D-1000;if(p_this.zoomLevel!=3D0)p_this.= cameraLatlong=3Dnull}p_this.zoomLevel=3Da}function = SetMapStyle(a,c,b,e,d){var = f=3Dp_this.mapStyle;p_this.mapStyle=3Da;if(viewType=3D=3DMsn.VE.MapViewTy= pe.Pixel)viewType=3DMsn.VE.MapViewType.LatLong;if(!Msn.VE.MapStyle.IsView= Oblique(a)){p_this.sceneId=3Dnull;p_this.sceneOrientation=3Dnull;p_this.b= ySceneId=3Dfalse}else{p_this.sceneId=3Dc;if(b)p_this.sceneOrientation=3Db= ;p_this.spinDirection=3Df=3D=3Da?e:null;p_this.preserveScene=3Dd;if(c)p_t= his.bySceneId=3Dtrue;else p_this.bySceneId=3Dfalse}}function = SetTilt(a){if(a>=3D269.99999)a=3Da-360;if(a<-90)a=3D-90;if(a>90)a=3D90;p_= this.tilt=3Da;p_this._needsPivotOperation=3Dtrue}function = SetDirection(a){if(a<0||a>=3D360){a=3Da%360;if(a<0)a=3D360+a}p_this.direc= tion=3Da;p_this._needsPivotOperation=3Dtrue}function = SetAltitude(a){if(a<-1000||a>15000000)a=3D-1000;p_this.altitude=3Da}funct= ion GetTilt(){return p_this.tilt}function GetDirection(){return = p_this.direction}function GetAltitude(){return p_this.altitude}function = ScaleCoord(a,b){if(b)a=3Da*Math.pow(2,b-p_this.zoomLevel);return = a}function GetX(a){return ScaleCoord(p_this.center.x,a)}function = GetY(a){return ScaleCoord(p_this.center.y,a)}function GetCenter(a){var = b=3DScaleCoord(p_this.center.x+mapInstance.GetCenterOffset().x,a),c=3DSca= leCoord(p_this.center.y+mapInstance.GetCenterOffset().y,a);return new = VEPixel(b,c)}function GetZoomLevel(){return p_this.zoomLevel}function = GetLatLongRectangle(){return p_this.latlongRect}function = GetPixelRectangle(){return p_this.pixelRect}function = GetCenterLatLong(){var = b=3Dp_this.center.x+mapInstance.GetCenterOffset().x,c=3Dp_this.center.y+m= apInstance.GetCenterOffset().y,a=3DmapInstance.GetCurrentMode().PixelToLa= tLong(new VEPixel(b,c),p_this.zoomLevel);return = a=3D=3Dnull?p_this.latlong:a}function = Resolve(b,d,c,a){if(viewType=3D=3DMsn.VE.MapViewType.LatLongAccurate)Reso= lveAsync(b,d,c,a);else ResolveSync(b,d,c,a)}function = ResolveAsync(b,e,d,a){function c(c){if(c!=3Dnull&&typeof = c!=3D"undefined"&&c.length=3D=3D1)p_this.center=3Dc[0];if(p_this.cameraLa= tlong=3D=3Dnull)if(!p_this._UpdateCamera(b)){p_this.tilt=3D-90;p_this.cam= eraLatlong=3Dp_this.latlong}viewType=3DMsn.VE.MapViewType.Pixel;if(a!=3Dn= ull&&typeof = a=3D=3D"function")a()}b.LatLongToPixelAsync([p_this.latlong],p_this.zoomL= evel,c)}function ResolveSync(a,e,c,b){switch(viewType){case = Msn.VE.MapViewType.Pixel:p_this.latlong=3Da.PixelToLatLong(p_this.center,= p_this.zoomLevel);break;case = Msn.VE.MapViewType.LatLong:p_this.center=3Da.LatLongToPixel(p_this.latlon= g,p_this.zoomLevel);if(p_this.center!=3Dnull){p_this.center.x-=3DmapInsta= nce.GetCenterOffset().x;p_this.center.y-=3DmapInstance.GetCenterOffset().= y}break;case = Msn.VE.MapViewType.PixelRect:ResolveRectangle(a,e,c);break;case = Msn.VE.MapViewType.LatLongRect:if(Msn.VE.MapStyle.IsViewOblique(p_this.ma= pStyle)){p_this.zoomLevel=3D1;var = d=3Da.GetScene();if(!d||!d.ContainsLatLong(p_this.latlongRect.northwest)|= |!d.ContainsLatLong(p_this.latlongRect.southeast)){p_this.latlong=3Dp_thi= s.latlongRect.Center();p_this.center=3Da.LatLongToPixel(p_this.latlong,p_= this.zoomLevel)}else{p_this.pixelRect.topLeft=3Da.LatLongToPixel(p_this.l= atlongRect.northwest,p_this.zoomLevel);p_this.pixelRect.bottomRight=3Da.L= atLongToPixel(p_this.latlongRect.southeast,p_this.zoomLevel);ResolveRecta= ngle(a,e,c)}}else{p_this.zoomLevel=3D12;p_this.altitude=3D-1000;p_this.pi= xelRect.topLeft=3Da.LatLongToPixel(p_this.latlongRect.northwest,p_this.zo= omLevel);p_this.pixelRect.bottomRight=3Da.LatLongToPixel(p_this.latlongRe= ct.southeast,p_this.zoomLevel);ResolveRectangle(a,e,c)}}if(p_this.cameraL= atlong=3D=3Dnull)if(!p_this._UpdateCamera(a)){p_this.tilt=3D-90;p_this.ca= meraLatlong=3Dp_this.latlong}viewType=3DMsn.VE.MapViewType.Pixel;if(b!=3D= null&&typeof b=3D=3D"function")b()}function ResolveRectangle(i,k,j){var = c=3D19,a=3DMath.pow(2,c-p_this.zoomLevel),g=3DMathMax(1,MathAbs(p_this.pi= xelRect.topLeft.x-p_this.pixelRect.bottomRight.x)*a),f=3DMathMax(1,MathAb= s(p_this.pixelRect.topLeft.y-p_this.pixelRect.bottomRight.y)*a),d=3DMath.= log(2),e=3Dc-Math.ceil(Math.log(g/k)/d),h=3Dc-Math.ceil(Math.log(f/j)/d),= b=3DMathMin(e,h);if(b<=3D0)b=3D1;a=3DMath.pow(2,b-p_this.zoomLevel);p_thi= s.center.x=3D.5*(p_this.pixelRect.topLeft.x+p_this.pixelRect.bottomRight.= x)*a-mapInstance.GetCenterOffset().x;p_this.center.y=3D.5*(p_this.pixelRe= ct.topLeft.y+p_this.pixelRect.bottomRight.y)*a-mapInstance.GetCenterOffse= t().y;p_this.zoomLevel=3Db;p_this.altitude=3D-1000;p_this.latlong=3Di.Pix= elToLatLong(p_this.center,p_this.zoomLevel)}function = _UpdateCamera(viewMode){if(p_this.latlong=3D=3Dnull)if(p_this.center!=3Dn= ull&&p_this.zoomLevel!=3Dnull&&typeof = viewMode._InternalOrthoMode=3D=3D"function"){var = orthoMode=3DviewMode._InternalOrthoMode();p_this.latlong=3DorthoMode.Pixe= lToLatLong(p_this.center,p_this.zoomLevel);if(p_this.latlong!=3Dnull){p_t= his.tilt=3D-90;p_this.direction=3D0}}if(p_this.latlong=3D=3Dnull)return = false;p_this._needsPivotOperation=3Dfalse;if(mapInstance.IsModeEnabled(Ms= n.VE.MapActionMode.Mode3D)){var = control=3DmapInstance.Get3DControl();if(control!=3Dnull){var = cam=3Dcontrol.CameraPositionGivenTarget(p_this.latlong.latitude,p_this.la= tlong.longitude,p_this.altitude,p_this.zoomLevel,p_this.tilt,p_this.direc= tion);if(cam!=3Dnull){var = lat,lon,alt;eval(cam);p_this.cameraLatlong=3Dnew = Msn.VE.LatLong;p_this.cameraLatlong.latitude=3Dlat;p_this.cameraLatlong.l= ongitude=3Dlon;p_this.altitude=3Dalt}else return false}}return = true}this.MakeCopy=3DMakeCopy;this.Copy=3DCopy;this.Equals=3DEquals;this.= ToString=3DToString;this.SetCenter=3DSetCenter;this.SetCenterLatLong=3DSe= tCenterLatLong;this.SetCenterLatLongAccurate=3DSetCenterLatLongAccurate;t= his.SetPixelRectangle=3DSetPixelRectangle;this.SetLatLongRectangle=3DSetL= atLongRectangle;this.SetZoomLevel=3DSetZoomLevel;this.SetMapStyle=3DSetMa= pStyle;this.SetTilt=3DSetTilt;this.SetDirection=3DSetDirection;this.SetAl= titude=3DSetAltitude;this.GetTilt=3DGetTilt;this.GetDirection=3DGetDirect= ion;this.GetAltitude=3DGetAltitude;this.ScaleCoord=3DScaleCoord;this.GetX= =3DGetX;this.GetY=3DGetY;this.GetCenter=3DGetCenter;this.Resolve=3DResolv= e;this.SetZoomLevel=3DSetZoomLevel;this.GetZoomLevel=3DGetZoomLevel;this.= GetLatLongRectangle=3DGetLatLongRectangle;this.GetPixelRectangle=3DGetPix= elRectangle;this.GetCenterLatLong=3DGetCenterLatLong;this._UpdateCamera=3D= _UpdateCamera};Msn.VE.ViewChangeType=3Dfunction(){};Msn.VE.ViewChangeType= .Zoom=3D1;Msn.VE.ViewChangeType.Pan=3D2;Msn.VE.ViewChangeType.Hybrid=3D3;= Msn.VE.ViewChangeType.IsValid=3Dfunction(a){return typeof = a=3D=3D"number"&&a>0&&a<4};Msn.VE.ObliqueScene=3Dfunction(e,J,C,F,H,O,b,d= ,v,u,I){var = c=3Dnull,a=3D"",g=3Dnull,h=3Dnull,f=3D{};f[Msn.VE.MapStyle.Oblique]=3D"39= 2";f[Msn.VE.MapStyle.ObliqueHybrid]=3D"392";var = i=3D{};i[Msn.VE.MapStyle.Oblique]=3D"%0ecn.t%3.tiles.virtualearth.net/til= es/o%4-%5-%6-%7.jpeg?g=3D%8";i[Msn.VE.MapStyle.ObliqueHybrid]=3D"%0ecn.t%= 3.tiles.virtualearth.net/tiles/cmd/ObliqueHybrid?a=3D%4-%5-%6-%7&g=3D%8";= var = w=3DMsn.VE.MapStyle.Oblique,j=3Dnull,N=3Dnull,o=3Dnull;if(Msn.VE.API=3D=3D= null)j=3D"__obliqueCalcServiceUrl__";else = o=3DMsn.VE.API.Constants.imageryurl+"/ConvertLatLongToPixelInBirdsEye";va= r r=3Dnew _xz1,q=3D256,M=3Dthis,K=3Dnew = Msn.VE.Bounds(1,2,0,0,b/2,d/2);function B(d,e){var = c=3DMath.pow(2,e-2),f=3D[[d.x/c],[d.y/c],[1]],a=3DMatrixMultiply(v,f),b=3D= new = Msn.VE.LatLong;b.longitude=3Da[0][0]/a[2][0];b.latitude=3Da[1][0]/a[2][0]= ;return b}function y(d,g,f){var b=3D[];for(var a=3D0;a=3D0&&d>=3D0&&c0;c--){var = b=3D0,e=3D1<this.topLeft.x&&a.y>this.topLeft.y&&a.x0){g[i]=3DMath.floor(c%d);c=3DMath.floor(c/d);--i}for(var= b=3D0;b=3Da&&d<=3Dc){var = e=3D(d-a)/(c-a),f=3De*b+.5;return Math.min(Math.floor(f),b)}else throw = L_floatintegermapencodingoutofrange_text};this.IntToFloat=3Dfunction(d){i= f(d<=3Db){var f=3Dd/b,e=3Da+f*(c-a);return e}else throw = L_floatintegermapencodingoutofrange_text}}var = L_velatlongencodinginvalidstringlength_text=3D"_xz1: Invalid string = length";function _xz1(b){var = i=3D-90,h=3D90,g=3D-180,f=3D180,j=3D"0123456789bcdfghjkmnpqrstvwxyz",e=3D= 6;if(b!=3Dnull&&typeof b!=3D"undefined")e=3Db;var a=3Dnew = VEIntegerEncoding(j,e),d=3Dnew = VEFloatIntegerMap(i,h,a.MaxValue()),c=3Dnew = VEFloatIntegerMap(g,f,a.MaxValue());this.Encode=3Dfunction(e,b){var = f=3Da.Encode(d.FloatToInt(e))+a.Encode(c.FloatToInt(b));return = f};this.Decode=3Dfunction(f){if(f.length=3D=3D2*a.ValueLength()){var = e=3Da.ValueLength(),j=3Df.substr(0,e),h=3Df.substr(e,e),i=3Da.Decode(j),g= =3Da.Decode(h),b=3D[];b[0]=3Dd.IntToFloat(i);b[1]=3Dc.IntToFloat(g);retur= n b}else throw L_velatlongencodinginvalidstringlength_text}}function = _xz1ForMobile(){_xz1.call(this,5)}var = Shims=3D["help","msve_ScratchPad","VE_MessageControl","contextMenu","MSVE= _dashboardId"],vedomain=3D"http://ecn.dev.virtualearth.net/mapcontrol/v6.= 2",_entityIdShapePostfix=3D"_Shape",_hackUniqueLayerId=3D"UniqueLayer_Hac= k";function GetManifestUrl(a){return = a.indexOf("http")=3D=3D0?a:vedomain+a}function Get3dMarket(){if(typeof = Msn.VE.API=3D=3D"undefined"||Msn.VE.API=3D=3Dnull)return = window.locale;else return Msn.VE.API.Globals.locale}function = Get3dInstallMarket(){if(typeof = Msn.VE.API=3D=3D"undefined"||Msn.VE.API=3D=3Dnull)return = window.locale;else return Msn.VE.API.Globals.resourcelocale}function = Get3dInstallUrl(b,a){if(typeof = a=3D=3D"undefined"||a=3D=3Dnull)a=3DGet3dInstallMarket();if(typeof = b=3D=3D"undefined"||b=3D=3Dnull){b=3D"Default.aspx?action=3Dinstall";if(a= )b+=3D"&mkt=3D{0}"}var = c=3D"http://www.bing.com/maps/Help/VE3DInstall/"+b;c=3Dc.replace("{0}",a)= ;return c}function Get3dHelpUrl(c,a){var = b=3D"http://www.bing.com/maps/Help/{0}/"+c;if(typeof = a=3D=3D"undefined"||a=3D=3Dnull)a=3DGet3dMarket();b=3Db.replace("{0}",a);= return b}function initShimElements(){for(var = a=3D0;a=3D0;functi= on SetShimPosition(a,b){var = c=3Dg(b).getRelativePosition(a.parentNode);a.style.top=3Dc.y+"px";a.style= .left=3Dc.x+"px";a.width=3Db.offsetWidth;a.height=3Db.offsetHeight;if(Use= ClipToSize)ConvertClipToSize(a,b);else = a.style.clip=3Db.style.clip}function UpdateIFrameShim(c,e,d){var = a=3Dtypeof = c=3D=3D"object"?c:$ID(c);if(!a)return;if(!a.shimElement)addIFrameShim(a,e= ,d);var = b=3Da.shimElement;SetShimPosition(b,a);if(Msn.VE.Css.Functions.getCompute= dStyle(a,"display")=3D=3D"none"||Msn.VE.Css.Functions.getComputedStyle(a,= "visibility")=3D=3D"hidden")b.style.display=3D"none";else = b.style.display=3D"block"}function = RepositionShims(){if(!view3DMode)return;for(var = b=3D0;b=3D0)a.style.zIndex=3De;else = a.style.zIndex=3D"1";a.style.backgroundColor=3D"white";b.shimElement=3Da;= HideShim(b);var c=3Df;if(c=3D=3Dnull)c=3Db;var = d=3Dc.parentNode;if(d=3D=3Dnull)d=3Ddocument.body;d.insertBefore(a,c);if(= b.id=3D=3D"msve_ScratchPad"||b.id&&b.id.indexOf("_vefindcontrolinput")>0)= hookResizeEvent(b);return a}function destroyIFrameShim(b){var = a=3D$ID(b);DestroyShim(a)}function = ShowShim(a,b){UpdateIFrameShim(a,b);if(a!=3Dnull&&a.shimElement)a.shimEle= ment.style.display=3D"block"}function = HideShim(a){if(a!=3Dnull&&a.shimElement)a.shimElement.style.display=3D"no= ne"}function = DestroyShim(a){if(a!=3Dnull&&a.shimElement){a.shimElement.parentNode.remo= veChild(a.shimElement);a.shimElement=3Dnull}}function RollShim(b){var = a=3Db.Recipient;if(a.shimElement)if(UseClipToSize)ConvertClipToSize(a.shi= mElement,a);else a.shimElement.style.clip=3Da.style.clip}function = OnView3DKeyDown(d,c){var = b=3DparseInt(d);CloseContextMenu(b);ero.hide();var = a=3DGetMapControlInstance(c);if(a=3D=3Dnull)return;switch(b){case = 65:a.SetMapStyle("a");break;case 72:a.SetMapStyle("h");break;case = 82:case 86:a.SetMapStyle("r");break;case 50:case = 98:window.setTimeout(function(){a.EnableMode(Msn.VE.MapActionMode.Mode2D)= },10);break;case 66:case 79:a.GetDashboard().Oblique3DToggle()}}function = OnNavigationHelpFired(){VE_Help.OpenLiveHelp("wl_local","topic","WL_LOCAL= _PROC_3D_NavigateMap.htm")}function = OnHardwareAccelHelpFired(){VE_Help.OpenLiveHelp("wl_local","topic","WL_LO= CAL_TROU_3D_VideoAcceleration.htm")}var = __shapeIdBeingDragged=3Dnull;function Deserialize3DMessage(message){var = messageObject;if(typeof = Sys!=3D"undefined"&&Sys!=3Dnull&&Sys.Serialization!=3Dnull)messageObject=3D= Sys.Serialization.JavaScriptSerializer.deserialize(message);else = eval("messageObject =3D "+message+";");return messageObject}function = OnView3DMouseDown(b){var = a=3DDeserialize3DMessage(b);if(a.button=3D=3D"Left"){__shapeIdBeingDragge= d=3Da.shapeId;window.setTimeout(BeginDragPin3D,300)}CloseContextMenu();er= o.hide();if(typeof = Msn.VE.API=3D=3D"undefined"||Msn.VE.API=3D=3Dnull)VE_MapDispatch.ClickedE= ntity=3Dnull}function = BeginDragPin3D(){if(__shapeIdBeingDragged!=3Dnull){var = d=3Dtrue,b=3DVE_MapManager.GetCollectionByAnId(__shapeIdBeingDragged);if(= b!=3Dnull){var = c=3DVE_MapManager.GetSelectedCollection();if(c!=3Dnull&&c.GetId()!=3Db.Ge= tId())return}else return;var = a=3DVE_MapManager.GetAnnotationInCollectionById(b,__shapeIdBeingDragged);= if(typeof = a!=3D"undefined"&&a!=3Dnull&&a.GetType()=3D=3DMC_GEO_TYPE_POINT){VE_Annot= ations.EnterMovePushpinMode(__shapeIdBeingDragged,true);View3DMovePin(__s= hapeIdBeingDragged)}}}function OnView3DDropGeometry(b){var = a=3DDeserialize3DMessage(b);if(!a.pushpinId)return;var = c=3DVE_MapManager.GetAnnotationById(a.pushpinId);if(c)VE_Annotations.Move= Pushpin(null,new Msn.VE.LatLong(a.lat,a.lon))}function = OnView3DLatLonAltClicked(b){var = a=3DDeserialize3DMessage(b);VE_MapUpdateView_AutoSaveEntity();if(VE_EditC= ontrol.GetMode()=3D=3DMC_DRAW_MODEL)VE_MapDispatch.OnCreateModel(a.lat,a.= lon,a.alt);else VE_EditControl.AddPoint(null,a.lat,a.lon,a.alt)}function = OnBeginFlyTo(c,b){ero.hide();var = a=3DGetMapControlInstance(b);if(a!=3Dnull)a.OnBeginCameraUpdate()}functio= n OnView3DUpdateViewpoint(k,l){var = b=3DDeserialize3DMessage(k),c=3DGetMapControlInstance(l);if(c=3D=3Dnull)r= eturn;c.OnEndCameraUpdate();var = f=3D1e-6,e=3D.1,j=3D.01,a=3Dc.GetCurrentMapView(),h=3DMath.abs(b.heading-= a.GetDirection())0){VE_MapManager.SetHighlightEntity(entit= y,isCV);return}if(!isCV)VE_MapViewPreUpdate.ShowEro(pushpinId,VE_Directio= ns.EntryPoint.Scratchpad,rect);else = VE_MapViewPreUpdate.Viewer.ShowEroToItem(null,pushpinId,rect,null)}}catch= (a){}return}}var = ddERO=3D$find(pushpinId+"_ero");if(ddERO){CloseContextMenu();var = content=3DddERO.get_Content();ero.clearActions();var = ddActionNames=3Deval(ddERO.get_ActionNames()),ddActionValues=3Deval(ddERO= .get_ActionValues());g(ddActionNames).forEach(function(a,b){ero.addAction= (''+a+"")});ero.setContent(content);ero.dockToRect(rect,null,-1= );return}result=3DpushpinId.match(/pin_traffic_market_(.*)/);if(result!=3D= null&&result.length>=3D2){var = entity=3DVE_TrafficManager.GetEntity(pushpinId);if(entity!=3Dnull){var = content=3DVE_TrafficManager.CreateZoomPopupContent(entity);if(content!=3D= null&&content!=3D""&&content!=3D"undefined"){CloseContextMenu();ero.setCo= ntent(content);ero.dockToRect(rect,null,-1);return}}}result=3DpushpinId.m= atch(/pin_traffic_incident_(.*)/);if(result!=3Dnull&&result.length>=3D2){= var = entity=3DVE_TrafficManager.GetEntity(pushpinId);if(entity!=3Dnull){var = content=3DVE_TrafficManager.CreatePopupContent(entity,true);if(content!=3D= null&&content!=3D""&&content!=3D"undefined"){CloseContextMenu();ero.setCo= ntent(content);ero.dockToRect(rect,null,-1);return}}}if(pushpinId=3D=3D"a= utolocate"){var pushpins=3Dmapcontrol.GetPushpins();if(pushpins)for(var = i=3D0;i=3D2){var = entityID=3Dresult[1],r=3DVE_SearchManager.GetEntity(entityID);if(r=3D=3D=3D= null){entityID=3Dresult[0];r=3DVE_SearchManager.GetEntity(entityID);if(r=3D= =3D=3Dnull){var = correspondingItem=3DGimme.id(entityID+"_number");entityID=3Dcorresponding= Item&&correspondingItem.parentNode.id.replace(/_pin$/,"");r=3DVE_SearchMa= nager.GetEntity(entityID)}}if(r!=3D=3Dnull){CloseContextMenu();VE_SearchM= anager.SetLatLong(r.latitude,r.longitude);if(r.type!=3DVE_SearchType.Coll= ection){var = content=3DVE_SearchManager.CreatePopupContent(r,true);ero.setContent(cont= ent);ero.dockToRect(rect,null,-1)}else ShowCollectionPopup(new = VE_CollectionSearchEroData(r),rect,null)}return}}function = OnHardwareCapabilitiesUpdate(){if(typeof = view3DMode!=3D"undefined"&&view3DMode){map.Setup3DManifests();var = b=3D"3D performance option =EF=BF=BD = ",a=3Dmap.Get3DControl().HardwareClassificationLevel;if(typeof = a!=3D"undefined"&&a!=3Dnull){switch(a){case 3:b+=3D"Quality";break;case = 2:b+=3D"Balanced";break;case = 1:b+=3D"Performance"}UpdateStreetLevelGeometryState(map.Get3DControl());U= pdateHiResModelsState(map.Get3DControl());UpdateWeatherPluginState(map.Ge= t3DControl())}}}function = View3DMovePin(a){map.Get3DControl().PickupGeometry("UniqueLayer_Hack",a)}= Msn.VE.FFSentinel=3Dfunction(a){this.CurrentVersion=3Da};function = BrowserSupports3D(){var a=3Dwindow.navigator.userAgent;return = a.indexOf("Windows")!=3D-1&&(a.indexOf("MSIE")!=3D-1||a.indexOf("Firefox"= )!=3D-1)}function = GetSentinel(){if(BrowserSupports3D()){if(window.navigator.userAgent.index= Of("MSIE")!=3D-1){var b;try{b=3Dnew = ActiveXObject("Microsoft.SentinelVirtualEarth3DProxy.SentinelVE3DProxy")}= catch(f){try{b=3Dnew = ActiveXObject("Microsoft.SentinelVirtualEarth3D.SentinelVE3D")}catch(g){b= =3Dnull}}return b}else if(typeof navigator.plugins!=3Dundefined)for(var = a=3D0;a=3D0){var = e=3Dnavigator.plugins[a].name.indexOf("plugin"),d=3DparseFloat(navigator.= plugins[a].name.substring(c+17,e-1));return new = Msn.VE.FFSentinel(d)}}}else if(typeof = navigator.plugins!=3Dundefined)for(var = a=3D0;a=3D0){var = e=3Dnavigator.plugins[a].name.indexOf("plugin"),d=3DparseFloat(navigator.= plugins[a].name.substring(c+17,e-1));return new = Msn.VE.FFSentinel(d)}}return null}function = HandleModeNotInstalled(b){if(b=3D=3DMsn.VE.MapActionMode.Mode3D){map.Enab= leMode(Msn.VE.MapActionMode.Mode2D);if(BrowserSupports3D()){var = a=3DGetSentinel();if(a!=3Dnull)View3DDamaged();else View3DInstall()}else = if(typeof = ShowMessage!=3D"undefined")ShowMessage(L_BrowserNotSupported3D_Text)}}fun= ction View3DInstall(){try{if(typeof = Msn.VE.API=3D=3D"undefined"||Msn.VE.API=3D=3Dnull)state.Set3DViewInstallI= nProgress("true");if(window.navigator.userAgent.indexOf("MSIE")!=3D-1)VE_= Help.OpenSized(L_View3DHelpWindowTitle_Text,Get3dInstallUrl(),650,520);el= se = VE_Help.OpenSized(L_View3DHelpWindowTitle_Text,Get3dInstallUrl(),680,540)= ;var = a=3DVE_Help.helpPanel.onCloseClick;VE_Help.helpPanel.onCloseClick=3Dfunct= ion(){a();VE_Help.helpPanel.onCloseClick=3Da}}catch(b){}}function = View3DUpgrade(c){try{var = b=3DGet3dInstallUrl("Default.aspx?v=3D"+c+"&mkt=3D{0}");if(typeof = Msn.VE.API=3D=3D"undefined"||Msn.VE.API=3D=3Dnull)state.Set3DViewInstallI= nProgress("true");if(typeof = Msn.VE.API!=3D"undefined"&&Msn.VE.API!=3Dnull)window.open(b,"_blank","wid= th=3D600,height=3D320,menubar=3D0,resizeable=3D0,status=3D0,titlebar=3D0,= toolbar=3D0,scrollbars=3D0");else{VE_Help.OpenSized(L_View3DHelpWindowTit= le_Text,b,600,320);var = a=3DVE_Help.helpPanel.onCloseClick;VE_Help.helpPanel.onCloseClick=3Dfunct= ion(){a();VE_Help.helpPanel.onCloseClick=3Da}}}catch(d){}}function = View3DDamaged(){try{VE_Help.Open("",Get3dHelpUrl("View3DUnavailable.htm")= )}catch(a){}}function = View3DSwitch(){if(map)map.EnableMode(Msn.VE.MapActionMode.Mode3D)}functio= n Start3DView(){if(map){if(typeof = ShowMessage!=3D"undefined")ShowMessage(L_3DLoading_Text);window.setTimeou= t(View3DSwitch,200)}}function = Start3DViewWhenUpgradeComplete(){if(map){var = a=3DGetSentinel();if(a.CurrentVersion>=3D4.0){if(typeof = ShowMessage!=3D"undefined")ShowMessage(L_3DLoading_Text);window.setTimeou= t(View3DSwitch,200)}else = setTimeout(Start3DViewWhenUpgradeComplete,1500);a=3Dnull}}function = NotifyWhen3DUpgraded(){if(map){var = a=3DGetSentinel();if(a.CurrentVersion>=3D4.0)if(map.GetDashboard()&&map.G= etDashboard().DisplayThreeDUpdatedNotification)map.GetDashboard().Display= ThreeDUpdatedNotification();else{if(typeof = ShowMessage!=3D"undefined")ShowMessage(L_3DLoading_Text);window.setTimeou= t(View3DSwitch,200)}else = setTimeout(NotifyWhen3DUpgraded,1500);a=3Dnull}}function = PushpinURL(d,c){var = a=3Dvedomain+"/i/bin/"+window.buildVersion+"/";if(typeof = d=3D=3D"undefined"||d=3D=3Dnull||!d)return a+"pins/red_circ7px.gif";var = b=3DMsn.VE.PushPinTypes;switch(d){case = b.Annotation:if(c=3D=3D"shared")return a+"pins/poi_viewer.gif";else = return a+"pins/poi_usergenerated.gif";case = b.Overlay:if(c=3D=3D"shared")return = a+"pins/poi_cruncher_viewer.gif";else return = a+"pins/poi_cruncher.gif";case = b.SearchResultPrecise:if(c=3D=3D"model"||c=3D=3D"sharemodel")return = a+"pins/modelpoi.gif";else if(c=3D=3D"shared")return = a+"pins/poi_title_viewer.gif";return a+"pins/poi_"+c+".gif";case = b.SearchResultNonprecise:if(c=3D=3D"model"||c=3D=3D"sharemodel")return = a+"pins/modelpoi.gif";else if(c=3D=3D"shared")return = a+"pins/poi_title_viewer.gif";return = a+"pins/poi_search_nonprecise.gif";case b.Collection:return = a+"pins/poi_"+c+".gif";case b.AdSponsor:return = a+"pins/poi_search.gif";case b.DirectionStep:return = a+"pins/poi_direction_step.png";case b.Direction:return = a+"blue_pushpin.png";case b.DirectionTemp:return = a+"pins/mapicon_"+c+".gif";case b.TrafficOthers:return = a+"Traffic/Traffic"+c+".gif";case b.YouAreHere:return = a+"pins/poi_youarehere.gif";case b.Default:return a+"pins/"+c;case = b.Context:return a+"pins/red_circ7px.gif";case b.AdRoofStandard:case = b.AdRoofWide:case b.AdStandard:case b.AdWide:case b.AdCategory:return = c}return a+"pins/poi_usergenerated.gif"}function = _VEExtractImgUrlFromHtml(d){var = b=3Dnull,a=3Ddocument.createElement("div");a.innerHTML=3Dd;var = c=3Da.getElementsByTagName("img");if(c.length>=3D1)b=3Dc[0].getAttribute(= "src");a=3Dnull;return b}var _VEHtmlToImgUrlHash=3D[];function = TranslatePushpinURL(d,f,g){var = a=3DMsn.VE.PushPinTypes,h,c=3Dnull;switch(g){case a.DirectionTemp:var = e=3D/mapicon_(start|end).gif/g,b=3De.exec(f);if(b!=3Dnull&&b.length>=3D2)= {c=3Db[1];break}else return vedomain+_VEExtractImgUrlFromHtml(f);case = a.SearchResultPrecise:case a.SearchResultNonprecise:case = a.Collection:var e=3D/VE_Pushpin = VE_Pushpin_(.*)/g,b=3De.exec(d);if(b!=3Dnull&&b.length>=3D2)c=3Db[1];brea= k;case a.TrafficOthers:if(typeof = _VEHtmlToImgUrlHash[d]=3D=3D"string")c=3D_VEHtmlToImgUrlHash[d];else{var = e=3Dnew RegExp(/VE_Pushpin = VE_Traffic_(.*)/g),b=3De.exec(d);if(b!=3Dnull&&b.length>=3D2){c=3Db[1];_V= EHtmlToImgUrlHash[d]=3Dc}e=3Dnull}break;case a.AdRoofStandard:case = a.AdRoofWide:case a.AdStandard:case a.AdWide:case = a.AdCategory:c=3D_VEExtractImgUrlFromHtml(f)}var = h=3DPushpinURL(g,c);return h}var _VE_previousShapeId=3Dnull;function = RaiseMouseEvent3D(g,d,b){try{var = a=3DDeserialize3DMessage(g);if(a.shapeId!=3Dnull){var e=3Dtypeof = Msn.VE.API!=3D"undefined"&&Msn.VE.API!=3Dnull;if(b=3D=3D"onclick"||!e&&b=3D= =3D"onmouseover"&&a.shapeId.indexOf(_entityIdShapePostfix)>0&&_VE_previou= sShapeId!=3Da.shapeId){if(typeof = VE_Annotations!=3D"undefined")if(VE_Annotations.PanelOpen)return;_VE_prev= iousShapeId=3Da.shapeId;Process3DPushpinHover(a.layerId,a.shapeId,a.rX1,a= .rY1,a.rX2,a.rY2,d)}else = if(!e&&b=3D=3D"onmouseout"&&a.shapeId.indexOf(_entityIdShapePostfix)>0){V= E_MapManager.HighlightEntity(false);_VE_previousShapeId=3Dnull}}var = c=3DGetMapControlInstance(d);if(c=3D=3Dnull)return;var = f=3Dc.CreateEvent(a.lat=3D=3Dnull||a.lon=3D=3Dnull?null:new = Msn.VE.LatLong(a.lat,a.lon),null,null,null,a.shapeId,a.button,a.alt);c.Fi= re(b,f)}catch(h){}}function = OnMouseDown3D(b,a){RaiseMouseEvent3D(b,a,"onmousedown")}function = OnMouseUp3D(b,a){__shapeIdBeingDragged=3Dnull;RaiseMouseEvent3D(b,a,"onmo= useup")}function = OnClick3D(b,a){RaiseMouseEvent3D(b,a,"onclick")}function = OnMouseOver3D(b,a){RaiseMouseEvent3D(b,a,"onmouseover")}function = OnMouseOut3D(b,a){ero.hide();RaiseMouseEvent3D(b,a,"onmouseout")}function= OnDoubleClick3D(b,a){RaiseMouseEvent3D(b,a,"ondoubleclick")}function = OnChangeMapStyle3D(){var b=3DGetMapControlInstance();if(b){var = a=3Db.Get3DControl();UpdateStreetLevelGeometryState(a);UpdateHiResModelsS= tate(a);UpdateWeatherPluginState(a)}}function = GetMapControlInstance(b){if(typeof = Msn.VE.API=3D=3D"undefined"||Msn.VE.API=3D=3Dnull)return map;var = a=3DGetVEMapInstance(b);if(a=3D=3Dnull)return null;return = a.vemapcontrol}function GetVEMapInstance(a){if(typeof = a=3D=3D"undefined"||a=3D=3Dnull){if(Msn.VE.API=3D=3Dnull||Msn.VE.API=3D=3D= "undefined"||Msn.VE.API.Globals.vemapinstances=3D=3Dnull||Msn.VE.API.Glob= als.vemapinstances=3D=3D"undefined")return null;var c=3D0;for(var b in = Msn.VE.API.Globals.vemapinstances)if(Msn.VE.API.Globals.vemapinstances[b]= instanceof = VEMap&&Msn.VE.API.Globals.vemapinstances[b].GetMapMode()=3D=3DVEMapMode.M= ode3D){c++;a=3Db}if(c!=3D1)return null}return = VEMap._GetMapFromGUID(a)}function Get3DHardwareClassification(b){var = a=3Db.HardwareClassificationLevel;if(a=3D=3D3)a=3D"Quality";else = if(a=3D=3D2)a=3D"Balanced";else if(a=3D=3D1)a=3D"Performance";else = a=3D"Unknown";return = a}VE_3DPlugin=3D{MovieRecorderGuid:"791BC97B-7526-4C74-85DB-8CC220E3A65E"= ,PhotoGuid:"B1FC67C1-F8CE-4CA5-A957-B5FF2215037B",PhotoManifest:GetManife= stUrl("http://go.microsoft.com/fwlink/?LinkID=3D99342"),PhotoUrl:GetManif= estUrl("http://go.microsoft.com/fwlink/?LinkID=3D98905"),HiResModelsGuid:= "5D4BE259-4D19-492F-8D6B-830833E2EAD9",HiResModelsManifest:GetManifestUrl= ("http://go.microsoft.com/fwlink/?LinkID=3D124117"),HiResModelsUrl:GetMan= ifestUrl("http://go.microsoft.com/fwlink/?LinkID=3D124119"),WeatherPlugin= Guid:"A020A315-34D9-4357-94AD-97F909E96B22",WeatherPluginManifest:GetMani= festUrl("http://go.microsoft.com/fwlink/?LinkID=3D124118"),WeatherPluginU= rl:GetManifestUrl("http://go.microsoft.com/fwlink/?LinkID=3D124120"),GeoC= ommunityGuid:"49D0BC0C-67A7-44CD-93BA-C7CF6F20EAB9",GeoCommunityManifest:= GetManifestUrl("http://go.microsoft.com/fwlink/?LinkID=3D99343"),GeoCommu= nityUrl:GetManifestUrl("http://go.microsoft.com/fwlink/?LinkID=3D98904"),= StreetLevelGeometryGuid:"C9F0B259-0B78-464A-BEC4-B4E90CF0BC8D",StreetLeve= lGeometryManifest:GetManifestUrl("http://go.microsoft.com/fwlink/?LinkID=3D= 111353"),StreetLevelGeometryUrl:GetManifestUrl("http://go.microsoft.com/f= wlink/?LinkID=3D109495")};var = VE_3DPhotoPluginObj=3D0,VE_3DHiResModelsPluginObj=3D0,VE_3DWeatherPluginO= bj=3D0,VE_3DGeoCommunityPluginObj=3D0,VE_3DStreetLevelGeometryObj=3D0,Plu= ginEventRegistered=3D0,PhotoPluginEventRegistered=3D0,GeoCommunityPluginE= ventRegistered=3D0,StreetLevelGeometryEventRegistered=3D0,VE3DVIASavedAct= ion=3D0;function = GetVE3DVIAInstallState(a){if(!a){a=3Dmap.Get3DControl();if(!a)return = 0}return = a.GetComponentInstallState("EE3B731B-969E-4cb6-8949-ADFDC763A547")}functi= on = OnVE3DVIAInstallEnd(){if(VE3DVIASavedAction!=3D0){ProcessModelIn3DEx(VE3D= VIASavedAction.actionType,VE3DVIASavedAction.properties,VE3DVIASavedActio= n.control,L_PluginFeatureNotAvailable_Text);VE3DVIASavedAction=3D0}}funct= ion ProcessModelRequire3DVIA(b,c,a){if(typeof = b=3D=3D"undefined"||b=3D=3Dnull)return;if(!a){a=3Dmap.Get3DControl();if(!= a)return}if(GetVE3DVIAInstallState()=3D=3D2)ProcessModelIn3DEx(b,c,a,L_Pl= uginFeatureNotAvailable_Text);else{if(!VE3DVIASavedAction)VE3DVIASavedAct= ion=3D{};VE3DVIASavedAction.actionType=3Db;VE3DVIASavedAction.properties=3D= c;VE3DVIASavedAction.control=3Da;OnSetupVE3DVIA()}}function = ProcessModelIn3D(b,c,d){var = a=3DL_UnableToDisplay3DVIAModel_Text;if(VE_ModelActionType.DeleteModel=3D= =3Db)a=3D"";ProcessModelIn3DEx(b,c,d,a)}function = ProcessModelIn3DEx(b,e,a,d){if(typeof = b=3D=3D"undefined"||b=3D=3Dnull)return;if(!a){var = c=3DGetMapControlInstance();if(c)a=3Dc.Get3DControl();if(!a)return}if(!VE= _3DGeoCommunityPluginObj)VE_3DGeoCommunityPluginObj=3DCreatePluginObj(a,V= E_3DPlugin.GeoCommunityGuid,VE_3DPlugin.GeoCommunityManifest,VE_3DPlugin.= GeoCommunityUrl);if(!GeoCommunityPluginEventRegistered){a.AttachPlugInEve= nt(VE_3DPlugin.GeoCommunityGuid,"OnRefreshModel","OnRefreshModel");a.Atta= chPlugInEvent(VE_3DPlugin.GeoCommunityGuid,"OnLaunchVE3DVIA","OnLaunchVE3= DVIA");a.AttachPlugInEvent(VE_3DPlugin.GeoCommunityGuid,"LoadModelFileSta= tus","VE_OnLoadModelFileStatus");GeoCommunityPluginEventRegistered=3D1}Fi= rePluginEventIn3D(VE_3DGeoCommunityPluginObj,b,e,a,d)}function = ProcessPhotoPluginActionIn3D(b,c,a){if(typeof = b=3D=3D"undefined"||b=3D=3Dnull)return;if(!a){a=3Dmap.Get3DControl();if(!= a)return}if(!VE_3DPhotoPluginObj)VE_3DPhotoPluginObj=3DCreatePluginObj(a,= VE_3DPlugin.PhotoGuid,VE_3DPlugin.PhotoManifest,VE_3DPlugin.PhotoUrl);if(= !PhotoPluginEventRegistered){a.AttachPlugInEvent(VE_3DPlugin.PhotoGuid,"O= nSelectPhoto","OnSelectPhoto");a.AttachPlugInEvent(VE_3DPlugin.PhotoGuid,= "OnActivate","OnActivate");a.AttachPlugInEvent(VE_3DPlugin.PhotoGuid,"OnC= ameraPan","OnPhotoCameraPan");a.AttachPlugInEvent(VE_3DPlugin.PhotoGuid,"= OnCameraZoom","OnPhotoCameraZoom");a.AttachPlugInEvent(VE_3DPlugin.PhotoG= uid,"OnPhotoStateChanged","OnPhotoStateChanged");PhotoPluginEventRegister= ed=3D1}FirePluginEventIn3D(VE_3DPhotoPluginObj,b,c,a,null)}function = AllowWeatherPlugin(a){if(!a)return false;var = c=3DGetMapControlInstance(null),d=3Da.HardwareClassificationLevel,b=3Dc.G= etMapStyle();return d=3D=3D3&&(b=3D=3D"a"||b=3D=3D"h")}function = AllowHiResModels(a){if(!a)return false;var = c=3DGetMapControlInstance(null),b=3Da.HardwareClassificationLevel;return = b=3D=3D3}function AllowStreetLevelDetail(a){if(!a)return false;var = c=3DGetMapControlInstance(null),d=3Da.HardwareClassificationLevel,b=3Dc.G= etMapStyle();return d=3D=3D3&&(b=3D=3D"a"||b=3D=3D"h")}function = LoadWeatherPlugin(a){if(!VE_3DWeatherPluginObj)if(a&&AllowWeatherPlugin(a= )){VE_3DWeatherPluginObj=3DCreatePluginObj(a,VE_3DPlugin.WeatherPluginGui= d,VE_3DPlugin.WeatherPluginManifest,VE_3DPlugin.WeatherPluginUrl);if(VE_3= DWeatherPluginObj){VE_3DWeatherPluginObj.Loading=3D1;a.LoadPlugInDll(VE_3= DWeatherPluginObj.Url)}}}function OnHiResModelViewed(){}function = LoadHiResModelsPlugin(a){if(!VE_3DHiResModelsPluginObj)if(a&&AllowHiResMo= dels(a)){VE_3DHiResModelsPluginObj=3DCreatePluginObj(a,VE_3DPlugin.HiResM= odelsGuid,VE_3DPlugin.HiResModelsManifest,VE_3DPlugin.HiResModelsUrl);if(= VE_3DHiResModelsPluginObj){a.AttachPlugInEvent(VE_3DPlugin.HiResModelsGui= d,"OnHiResModelViewed","OnHiResModelViewed");VE_3DHiResModelsPluginObj.Lo= ading=3D1;a.LoadPlugInDll(VE_3DHiResModelsPluginObj.Url)}}}function = LoadStreetLevelGeometry(a){if(!VE_3DStreetLevelGeometryObj)if(a&&AllowStr= eetLevelDetail(a)){VE_3DStreetLevelGeometryObj=3DCreatePluginObj(a,VE_3DP= lugin.StreetLevelGeometryGuid,VE_3DPlugin.StreetLevelGeometryManifest,VE_= 3DPlugin.StreetLevelGeometryUrl);if(VE_3DStreetLevelGeometryObj){VE_3DStr= eetLevelGeometryObj.Loading=3D1;a.LoadPlugInDll(VE_3DStreetLevelGeometryO= bj.Url)}}}function = ActivateStreetLevelGeometry(a){if(AllowStreetLevelDetail(a))if(!VE_3DStre= etLevelGeometryObj)LoadStreetLevelGeometry(a);else = if(VE_3DStreetLevelGeometryObj.Loaded&&!VE_3DStreetLevelGeometryObj.Activ= ated)if(a)a.ActivatePlugIn(VE_3DStreetLevelGeometryObj.Guid,VE_3DStreetLe= velGeometryObj.Manifest)}function = DeactivateStreetLevelGeometry(a){if(VE_3DStreetLevelGeometryObj)if(VE_3DS= treetLevelGeometryObj.Loaded&&VE_3DStreetLevelGeometryObj.Activated&&!All= owStreetLevelDetail(a))if(a)a.DeactivatePlugIn(VE_3DStreetLevelGeometryOb= j.Guid)}function UpdateStreetLevelGeometryState(a){var = b=3DAllowStreetLevelDetail(a);if(b){if(!VE_3DStreetLevelGeometryObj.Activ= ated)ActivateStreetLevelGeometry(a)}else = if(VE_3DStreetLevelGeometryObj.Activated)DeactivateStreetLevelGeometry(a)= }function = ActivateWeatherPlugin(a){if(AllowWeatherPlugin(a))if(!VE_3DWeatherPluginO= bj)LoadWeatherPlugin(a);else = if(VE_3DWeatherPluginObj.Loaded&&!VE_3DWeatherPluginObj.Activated)if(a)a.= ActivatePlugIn(VE_3DWeatherPluginObj.Guid,VE_3DWeatherPluginObj.Manifest)= }function = DeactivateWeatherPlugin(a){if(VE_3DWeatherPluginObj)if(VE_3DWeatherPlugin= Obj.Loaded&&VE_3DWeatherPluginObj.Activated&&!AllowWeatherPlugin(a))if(a)= a.DeactivatePlugIn(VE_3DWeatherPluginObj.Guid)}function = UpdateWeatherPluginState(a){var = b=3DAllowWeatherPlugin(a);if(b){if(!VE_3DWeatherPluginObj.Activated)Activ= ateWeatherPlugin(a)}else = if(VE_3DWeatherPluginObj.Activated)DeactivateWeatherPlugin(a)}function = ActivateHiResModelsPlugin(a){if(AllowHiResModels(a))if(!VE_3DHiResModelsP= luginObj)LoadHiResModelsPlugin(a);else = if(VE_3DHiResModelsPluginObj.Loaded&&!VE_3DHiResModelsPluginObj.Activated= )if(a)a.ActivatePlugIn(VE_3DHiResModelsPluginObj.Guid,VE_3DHiResModelsPlu= ginObj.Manifest)}function = DeactivateHiResModelsPlugin(a){if(VE_3DHiResModelsPluginObj)if(VE_3DHiRes= ModelsPluginObj.Loaded&&VE_3DHiResModelsPluginObj.Activated&&!AllowHiResM= odels(a))if(a)a.DeactivatePlugIn(VE_3DHiResModelsPluginObj.Guid)}function= UpdateHiResModelsState(a){var = b=3DAllowHiResModels(a);if(b){if(!VE_3DHiResModelsPluginObj.Activated)Act= ivateHiResModelsPlugin(a)}else = if(VE_3DHiResModelsPluginObj.Activated)DeactivateHiResModelsPlugin(a)}fun= ction = CreatePluginObj(b,d,c,e){if(!PluginEventRegistered){b.AttachEvent("OnPlug= InLoaded","On3DPlugInLoaded");b.AttachEvent("OnPlugInActivated","On3DPlug= InActivated");b.AttachEvent("OnPlugInDeactivated","On3DPlugInDeactivated"= );PluginEventRegistered=3D1}var = a=3D{};a.Loaded=3D0;a.Loading=3D0;a.Activated=3D0;a.actionCounter=3D0;a.a= ctionType=3D[];a.properties=3D[];a.control=3D[];a.errorMessage=3D[];a.Gui= d=3Dd.toUpperCase();a.Manifest=3Dc;a.Url=3De;return a}function = FirePluginEventIn3D(a,c,d,b,e){if(a.Activated)b.RaiseEvent(a.Guid,c,d);el= se{if(!a.Loaded&&!a.Loading){a.Loading=3D1;b.LoadPlugInDll(a.Url)}QueuePl= uginEvent(a,c,d,b,e)}}function = QueuePluginEvent(a,c,d,e,b){a.actionType[a.actionCounter]=3Dc;a.propertie= s[a.actionCounter]=3Dd;a.control[a.actionCounter]=3De;a.errorMessage[a.ac= tionCounter]=3Db;a.actionCounter=3Da.actionCounter+1}function = FireErrorMessage(b){var = a,c;for(a=3D0;a=3D500};Web.Browser.AttachSafariCompatibil= ity=3Dfunction(a){if(Web.Browser.isSafari2())try{document.getElementsByTa= gName("HTML")[0]}catch(s){}a.CollectGarbage=3Dfunction(){};Web.Browser.Bu= tton=3D{LEFT:0,RIGHT:2,MIDDLE:1};function i(a){window.event=3Da}function = q(b,c,d){var = a=3Dc.slice(2);if(a!=3D=3D"mouseenter"&&a!=3D=3D"mouseleave")b.addEventLi= stener(a,i,true);else{b.addEventListener("mouseover",i,true);b.addEventLi= stener("mouseout",i,true)}b.addEventListener(a,d,false)}function = p(d,b,c){var = a=3Db.slice(2);if(b=3D=3D=3D"mousewheel")a=3D"DOMMouseScroll";d.removeEve= ntListener(a,c,false)}function = j(a,b){if(a=3D=3D=3D"onclick")a=3D"onmouseup";q(this,a,b)}function = k(a,b){if(a=3D=3D=3D"onclick")a=3D"onmouseup";p(this,a,b)}if(Web.Browser.= isSafari2())if(typeof = a["[[DOMDocument.prototype]]"]=3D=3D=3D"undefined"||typeof = a["[[DOMElement.prototype]]"]=3D=3D=3D"undefined"){Object.prototype.attac= hEvent=3Dj;Object.prototype.detachEvent=3Dk}else{a.attachEvent=3Da["[[DOM= Document.prototype]]"].attachEvent=3Da["[[DOMElement.prototype]]"].attach= Event=3Dj;a.detachEvent=3Da["[[DOMDocument.prototype]]"].detachEvent=3Da[= "[[DOMElement.prototype]]"].detachEvent=3Dk}else = if(Web.Browser.isSafari3()){a.attachEvent=3Da.HTMLDocument.prototype.atta= chEvent=3Da.HTMLElement.prototype.attachEvent=3Dj;a.detachEvent=3Da.HTMLD= ocument.prototype.detachEvent=3Da.HTMLElement.prototype.detachEvent=3Dk}v= ar g=3Dfalse;function = c(a){if(g){a.preventDefault();a.returnValue=3Dfalse;document.removeEventL= istener(a.type,c,true);a.capturedTarget=3Da.target;g.dispatchEvent(a);del= ete = a.captureTarget;if(g)document.addEventListener(a.type,c,true);a.stopPropa= gation()}}function b(a){a.stopPropagation();a.preventDefault()}function = o(){g=3Dthis;document.addEventListener("mousemove",c,true);document.addEv= entListener("mouseover",b,true);document.addEventListener("mouseout",b,tr= ue);document.addEventListener("mouseenter",b,true);document.addEventListe= ner("mouseleave",b,true);document.addEventListener("mouseup",c,true)}func= tion = m(){g=3Dnull;document.removeEventListener("mousemove",c,true);document.re= moveEventListener("mouseover",b,true);document.removeEventListener("mouse= out",b,true);document.removeEventListener("mouseenter",b,true);document.r= emoveEventListener("mouseleave",b,true);document.removeEventListener("mou= seup",c,true)}if(Web.Browser.isSafari2()){var n=3D0;function = l(){if(typeof = a["[[DOMElement.prototype]]"]=3D=3D=3D"undefined"){if(n<100){n++;setTimeo= ut(l,100)}}else{a["[[DOMElement.prototype]]"].setCapture=3Do;a["[[DOMElem= ent.prototype]]"].releaseCapture=3Dm}}l()}else = if(Web.Browser.isSafari3()){a.HTMLElement.prototype.setCapture=3Do;a.HTML= Element.prototype.releaseCapture=3Dm}function h(){}function d(){}var = f=3Dnull,e=3Dnull;if(Web.Browser.isSafari2()){h=3Dfunction(e,c,b){var = a=3Dd(e,c,b);if(a.length>0)return a[0];else return = null};d=3Dfunction(g,e,d){var = c=3Dd.getElementsByTagName(e),b=3D[],a,f=3Dc.length;for(a=3D0;a0)return b[0];else return = null};d=3Dfunction(b,f,e){var = d=3Db.evaluate(f,e,b.createNSResolver(b.documentElement),XPathResult.ORDE= RED_NODE_SNAPSHOT_TYPE,null),c=3D[],a,g=3Dd.snapshotLength;for(a=3D0;a1){a=3DparseInt(a);if(a=3D=3D=3DNaN)a=3D.3= ;else a/=3D100}return a}}}var = windowWidth=3D0,windowHeight=3D0,scrollbarWidth=3Dnull;function = $ID(a){var b=3Ddocument;return b.getElementById(a)}function $CE(a){var = b=3Ddocument;return b.createElement(a)}function $CENS(a){var = b=3Ddocument;return b.createElementNS(a)}function GetWindowWidth(){var = a=3D0;if(typeof = window.innerWidth=3D=3D"number")a=3Dwindow.innerWidth;else = if(document.documentElement&&document.documentElement.clientWidth)a=3Ddoc= ument.documentElement.clientWidth;else = if(document.body&&document.body.clientWidth)a=3Ddocument.body.clientWidth= ;if(!a||a<100)a=3D100;return a}function GetWindowHeight(){var = a=3D0;if(typeof = window.innerHeight=3D=3D"number")a=3Dwindow.innerHeight;else = if(document.documentElement&&document.documentElement.clientHeight)a=3Ddo= cument.documentElement.clientHeight;else = if(document.body&&document.body.clientHeight)a=3Ddocument.body.clientHeig= ht;if(!a||a<100)a=3D100;return a}function = GetScrollbarWidth(){if(scrollbarWidth)return = scrollbarWidth;if(navigator.userAgent.indexOf("IE")>=3D0){var = a=3Ddocument.createElement("div"),b=3Dnull;a.style.visible=3D"hidden";a.s= tyle.overflowY=3D"scroll";a.style.position=3D"absolute";a.style.width=3D0= ;document.body.insertAdjacentElement("afterBegin",a);b=3Da.offsetWidth;a.= parentNode.removeChild(a);if(!b)b=3D16;scrollbarWidth=3Db;return b}else = return 0}function GetUrlPrefix(){var = a=3Dwindow.location.pathname.lastIndexOf("/"),b=3Dwindow.location.protoco= l+"//"+window.location.hostname+window.location.pathname.substring(0,a+1)= ;return b}function GetUrlParameterString(){var = a=3Dwindow.location.search;if(a.length=3D=3D0||a.indexOf("?")=3D=3D-1)ret= urn "";return a.substr(a.indexOf("?")+1)}function = CheckWipExistence(){var = a=3DGetUrlParameterString();if(a!=3D""&&a.indexOf("wip=3D")>-1)return = true;return false}function GetUrlParameters(){var = b=3D[],d=3DGetUrlParameterString();if(!d)return b;var = e=3Dd.split("&");for(var c=3D0;c1)c=3Dh.elem;if(i.initialCollection!=3D=3Dnu= ll)elems=3Dj(i.initialCollection,b[b.length-1]);else = elems=3Dm(b[b.length-1],c);if(b.length=3D=3D=3D1)return = elems;if(b.length=3D=3D=3D3)if(h.isIdeal)return elems;var = s=3D0,k,g,t=3Delems.length,r=3Da.combinator,l,p,f,e,n=3Dnull,o=3D[];a:for= (k=3D0;k0&&!g["."].processFn(b,j)||i.length>0&&!g["["].processFn(b,i)|= |l.length>0&&!g[":"].processFn(b,l))return false;var = h,e,k=3Dd.exProps;for(h in = f){e=3Df[h].name;if(k[e]&&!f[h].processFn(b,k[e]))return false}return = true}function m(h,f){f=3Df||document.documentElement;var = l=3D0,d,j,c,a=3Dh.inProps,m=3Dh.exProps;if(a.id){c=3D[$ID(a.id)];delete = a.id}else{var = e=3Da.pseudos[a.pseudos.length-1];if(e&&e.name=3D=3D=3D"nth-child"){c=3Dk= (e.param.a,e.param.b,a.tag);a.pseudos=3Da.pseudos.splice(a.pseudos.length= ,1)}else = c=3Df.getElementsByTagName(a.tag||"*");if(m.isEmpty&&a.classes.length<1&&= a.attributes.length<1&&a.pseudos.length<1)return g(c);delete a.tag}var = i=3D[];j=3Dc.length;for(d=3D0;d=3D0&&g%j=3D=3D=3D0&&(b&&a.tagName!=3D=3Db?false:true)){if(h)d.pus= h(a);d[c(a)]=3Dtrue}}return d}function i(c,d,f){var = b=3Dc+"n+"+d,a=3De[b];if(!a)a=3De[b]=3Dl(c,d);return = a[f]=3D=3D=3Dtrue}},d=3Dnew function(){var = d=3Dnull,f=3Dnull,c=3D"";this.setRules=3Dfunction(b){d=3Db;var a;for(a = in d.combinator)if(d.combinator.hasOwnProperty(a))c+=3Da;f=3Dnew = RegExp("\\s*(["+c+"])\\s*","g")};this.parseSelector=3Dfunction(l){l=3De(l= ).replace(f,"$1");var i=3Dnull,k=3D[],n=3Dnew b,m=3D{anchor:new = g,isPartialQuery:false,initialCollection:null},h=3Dm.anchor,p=3Dh,s,t,v,q= ,r,u,d,j=3D0,o=3D"",w=3Dl.length;while(j"&&h.elem&&h.elem!=3D=3D-1&= &h.index=3D=3D=3Dk.length-2?h.elem.childNodes:null}else{i=3Da.inRules["ta= g"];continue}j++}k.push(n);h.isIdeal=3Dh.elem!=3D=3D-1&&k.length-3=3D=3D=3D= h.index;m.anchor=3Dh;return = {selectors:k,hints:m}};this.parseAttribute=3Dfunction(c){var = d=3D/\=3D|\^=3D|\$=3D|\*=3D|\|=3D|~=3D|!=3D/,a=3Dc.match(d);a=3Da&&a[0];v= ar = b=3Dc.split(a),f=3Db[0]&&e(b[0].replace(/[\[\]"]/g,"")),g=3Db[1]&&e(b[1].= replace(/[\[\]"]/g,""));return = {name:f,delim:a,val:g}};this.parsePseudo=3Dfunction(f){var = d=3D/(.*)\((.*)\)/,b=3Df.match(d),g=3Db&&b[1]||f,a=3Db&&b[2],c,h,e;if(g=3D= =3D=3D"nth-child")if(a=3D=3D=3D"even")a=3D{wholeValue:a,a:2,b:0};else = if(a=3D=3D=3D"odd")a=3D{wholeValue:a,a:2,b:1};else{d=3D/([+-]?\d+)?(n)?([= +-]?\d+)?/;b=3Da.match(d);c=3DparseInt(b[1])||1;e=3Db[2]?1:0;h=3Dc&&!e?c:= parseInt(b[3])||0;a=3D{wholeValue:a,a:c*e,b:h}}return = {name:g,param:a}};this.createReferenceSelector=3Dfunction(a){return new = b(a)};function = b(e){this.cursor=3Dnull;this.refersTo=3De;this.inProps=3D{id:null,tag:nul= l,classes:[],attributes:[],pseudos:[]};this.exProps=3D{isEmpty:true};var = d,b,c=3Da.exRules;for(d in c)if(c.hasOwnProperty(d)){delete = this.exProps.isEmpty;b=3Dc[d];switch(b.objType){case = "array":this.exProps[b.name]=3D[];break;case = "null":default:this.exProps[b.name]=3Dnull}}}b.prototype.addPart=3Dfuncti= on(a,c){var b=3Dc.name,f=3Dc.preFn,e=3Dc.hintFn,g=3D-1;if(typeof = f=3D=3D=3D"function")a=3Df(a);var d=3Dtypeof = this.inProps[b]!=3D=3D"undefined"?this.inProps:this.exProps;d[b]instanceo= f Array?d[b].push(a):(d[b]=3Da);if(typeof = e=3D=3D=3D"function")g=3De(a);return g};function = g(b,a,c){this.index=3Db=3D=3D=3D0?0:b||NaN;this.elem=3Da=3D=3D=3Dnull?nul= l:a||-1;this.isIdeal=3Dc||false}},a=3D{inRules:{"tag":{name:"tag",endsWit= h:"#.[:",preFn:function(a){return = a.toUpperCase()},hintFn:function(a){return = a=3D=3D=3D"BODY"||a=3D=3D=3D"HTML"?document.getElementsByTagName(a)[0]:-1= },processFn:function(a,b){return = a.tagName=3D=3D=3Db}},"#":{name:"id",endsWith:"#.[:",startSkip:1,preFn:nu= ll,hintFn:function(a){return $ID(a)},processFn:function(a,b){return = a.id=3D=3D=3Db}},".":{name:"classes",endsWith:".[:",startSkip:1,objType:"= array",processFn:function(d,c){var a=3Dd.className;if(typeof = a!=3D=3D"string")a=3Dd.getAttribute("class");if(!a||a.length<1)return = false;var e=3D" "+a+" ",b,f=3Dc.length;for(b=3D0;b":function(a,d){var c=3Dd.parentNode;a.cursor=3Dc;return = b.processSelector(a,c)},"<":function(d,e){var = c=3De.childNodes,a,f=3Dc.length;for(a=3D0;a0)if(a)a=3Da.parentNode;else = break;return a};Gimme.ext.getSibling=3Dfunction(b,g){var = c=3Dthis.entities[g||0];if(b=3D=3D=3D0)return c;var = e=3Db>0?"nextSibling":"previousSibling",a=3Dc,f=3DMath.abs(b),d=3D0;while= (da-1)b=3Da-1;return = this.points[b]};Gimme.Animation.AccelerationLine=3Dfunction(a,c){var = d=3Da[a.length-1],b=3Dg(a).map(function(a){return = {x:a/d,y:0}});this.bezier=3Dnew = Gimme.Animation.BezierCurve(b,c);this.points=3Dthis.bezier.points};Gimme.= Animation.AccelerationLine.prototype.getValue=3Dfunction(a){return = this.bezier.getPoint(a).x};Gimme.Animation.AccelerationLines=3D{zoom:new = Gimme.Animation.AccelerationLine([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,1= 6,17,18,19,20,500,501,502,503,504,505,506,507,508,509,510,511,512,513,514= ,515,516,517,518,519,520],75),slowStartAccelerate:new = Gimme.Animation.AccelerationLine([0,1,2,3,8,50],100),quickStartDecelerate= :new Gimme.Animation.AccelerationLine([0,50,55,56,57,58],100),linear:new = Gimme.Animation.AccelerationLine([0,10],100)};Gimme.Animation.Acceleratio= nLines.defaultLine=3DGimme.Animation.AccelerationLines.zoom;Gimme.ext.fad= eIn=3Dfunction(b,c,a){g(this.entities).fadeTo(null,.99999,b,c,a);a=3Dnull= ;return = this};Gimme.ext.fadeOut=3Dfunction(b,c,a){g(this.entities).fadeTo(null,0,= b,c,a);a=3Dnull;return = this};Gimme.ext.fadeTo=3Dfunction(b,c,e,h,d,a){a=3Da||Gimme.Animation.Acc= elerationLines.linear;g(this.entities).animate(a,e,h,d,f,i);function = i(d){d.style.zoom=3D"1";var = a=3Db=3D=3D=3D0?0:b||Number(g(d).getStyle("opacity")),e=3Dc-a;return = {startOpacity:a,deltaO:e}}function f(e,b,c,a){var = f=3Dc.getValue(b),d=3Da.startOpacity+f*a.deltaO;g(e).setStyle("opacity",d= )}return this};Gimme.ext.veil=3Dfunction(b,d,h,c,e){var = a=3DGimme.Animation.Directions;b=3DMath.floor(b)||a[b]||a.vertically;g(th= is.entities).animate(e,d,h,c,f,i);function i(d){var = e=3Dd.style.display||g(d).getStyle("display");if(e=3D=3D=3D"none")return = false;var c=3Dfunction(b){var = a=3D{};g(b).forEach(function(b){a[b]=3DparseInt(g(d).getStyle(b),10)});re= turn = a}(["height","width","paddingTop","paddingRight","paddingBottom","padding= Left"]);d["_$gimme$_veil"]=3Dc.height+";"+c.width+";"+c.paddingTop+";"+c.= paddingRight+";"+c.paddingBottom+";"+c.paddingLeft;d.style.overflow=3D"hi= dden";if((b&a.horizontally)=3D=3D=3Da.horizontally)d.style.height=3Dc.hei= ght+"px";return c}function = f(d,g,m,c){if(g>=3D1)d.style.display=3D"none";var = e=3Dm.getValue(g),k,l,j,h,f,i;if((b&a.vertically)=3D=3D=3Da.vertically){k= =3Dc.height-e*c.height;j=3Dc.paddingTop-e*c.paddingTop;f=3Dc.paddingBotto= m-e*c.paddingBottom;d.style.height=3Dk+"px";d.style.paddingTop=3Dj+"px";d= .style.paddingBottom=3Df+"px"}if((b&a.horizontally)=3D=3D=3Da.horizontall= y){l=3Dc.width-e*c.width;h=3Dc.paddingRight-e*c.paddingRight;i=3Dc.paddin= gLeft-e*c.paddingLeft;d.style.width=3Dl+"px";d.style.paddingRight=3Dh+"px= ";d.style.paddingLeft=3Di+"px"}}return = this};Gimme.ext.unveil=3Dfunction(b,e,i,d,f){var = a=3DGimme.Animation.Directions;b=3DMath.floor(b)||a[b]||a.vertically;var = c=3Dtrue;g(this.entities).animate(f,e,i,d,h,j);function j(b){var = l=3Db.style.display||g(b).getStyle("display");if(l!=3D=3D"none"&&l!=3D=3D= null)return false;var = m=3DGimme.Helper.convertToPixels,d=3Db.cloneNode(true);d.setAttribute("st= yle","position:absolute;top:0;left:0;visibility:hidden;margin:0;padding:0= ;border:0;height:;width:;");d.style.display=3D"block";b.parentNode.append= Child(d);var = j,k,i,f,e,h,a=3Db["_$gimme$_veil"];if(a){a=3Da.split(";");j=3Da[0];k=3Da[= 1];i=3Da[2];f=3Da[3];e=3Da[4];h=3Da[5]}else{var = c=3Dg(d);j=3DparseInt(m(b.style.height),10)||parseInt(c.getStyle("height"= ),10);k=3DparseInt(m(b.style.width),10)||parseInt(c.getStyle("width"),10)= ;d.style.padding=3D"";i=3DparseInt(c.getStyle("paddingTop"),10);e=3Dparse= Int(c.getStyle("paddingBottom"),10);f=3DparseInt(c.getStyle("paddingRight= "),10);h=3DparseInt(c.getStyle("paddingLeft"),10)}b.parentNode.removeChil= d(d);b.style.overflow=3D"hidden";return = {deltaH:j,deltaW:k,paddingTop:i,paddingBottom:e,paddingLeft:h,paddingRigh= t:f}}function h(h,j,p,d){var = n,o,m,i,k,l,f=3Dg(h),e=3D1-p.getValue(j);if(c){h.style.display=3D"block";= c=3Dfalse}if(j>=3D1)h.style.overflow=3D"";if(b=3D=3D=3Da.vertically)f.set= Styles("width",d.deltaW+"px","paddingRight",d.paddingRight+"px","paddingL= eft",d.paddingLeft+"px");else = if(b=3D=3D=3Da.horizontally)f.setStyles("height",d.deltaH+"px","paddingTo= p",d.paddingTop+"px","paddingBottom",d.paddingBottom+"px");if((b&a.vertic= ally)=3D=3D=3Da.vertically){n=3Dd.deltaH-e*d.deltaH;m=3Dd.paddingTop-e*d.= paddingTop;i=3Dd.paddingBottom-e*d.paddingBottom;f.setStyles("height",n+"= px","paddingTop",m+"px","paddingBottom",i+"px")}if((b&a.horizontally)=3D=3D= =3Da.horizontally){o=3Dd.deltaW-e*d.deltaW;k=3Dd.paddingRight-e*d.padding= Right;l=3Dd.paddingLeft-e*d.paddingLeft;f.setStyles("width",o+"px","paddi= ngRight",k+"px","paddingLeft",l+"px")}}return = this};Gimme.ext.scrollTo=3Dfunction(b,e,a,c){g(this.entities[0]).animate(= c,b,e,a,d,f);function f(c){var = a=3DGimme.Screen.getScrollPosition(),b=3Dg(c).getPagePosition().y-a.y;ret= urn {scrollPos:a,deltaY:b}}function d(f,b,c,a){var = d=3Dc.getValue(b),e=3Da.scrollPos.y+d*a.deltaY;window.scrollTo(0,Math.flo= or(e))}return = this};Gimme.ext.slideToPoint=3Dfunction(a,c,f,b,d){g(this.entities).anima= te(d,c,f,b,e,h);function h(e){var = b=3Dg(e).getComputedPosition();if(a.x=3D=3D=3Dnull)a.x=3Db.x;if(a.y=3D=3D= =3Dnull)a.y=3Db.y;var d=3Da.y-b.y,c=3Da.x-b.x;return = {startPt:b,deltaX:c,deltaY:d}}function e(c,e,f,a){var = b=3Da.startPt,g=3Da.deltaX,h=3Da.deltaY,d=3Df.getValue(e),i=3Db.x+d*g,j=3D= b.y+d*h;c.style.top=3DMath.floor(Math.round(j))+"px";c.style.left=3DMath.= floor(Math.round(i))+"px"}return = this};Gimme.ext.followPath=3Dfunction(f,a,d,e,c){a=3Da||1;g(this.entities= ).animate(f,d,e,c,b,h);function h(b){var = a=3Dg(b).getComputedPosition();return {startPt:a}}function = b(c,e,g,f){var = b=3Df.startPt,d=3Dg.getPoint(e),h=3Db.x+d.x*a,i=3Db.y+d.y*a;c.style.top=3D= Math.floor(Math.round(i))+"px";c.style.left=3DMath.floor(Math.round(h))+"= px"}return this};Gimme.ext.animate=3Dfunction(d,b,a,h,c,e){var = f=3Dthis.entities.length;if(f<1)return;d=3Dd||Gimme.Animation.Acceleratio= nLines.defaultLine;b=3DMath.floor(b)||Gimme.Animation.Speeds[b]||Gimme.An= imation.Speeds.quickly;a=3Da||"AUTOGUID_"+Math.random((new = Date).getTime());if(!Gimme.Animation.isGrouping()&&Gimme.Animation.isRunn= ing(a))return;Gimme.Animation.whenDone(a,h);var g=3D0,j=3D(new = Date).getTime();this.forEach(function(c,b){Gimme.Animation.start(a,i(c,b)= ,1)});function i(i){var h=3De(i),l=3Dfunction(){var l=3D(new = Date).getTime(),k=3D(l-j)/b;if(k>=3D1){if(typeof = c=3D=3D=3D"function")c(i,1,d,h);if(++g=3D=3D=3Df){Gimme.Animation.end(a);= e=3Dnull;c=3Dnull}}else = c(i,k,d,h)},k=3Dfunction(){Gimme.Animation.end(a)};return = h?l:k}};Gimme.Events=3Dnew function(){var = c=3D{},b=3Dnull,a=3Dnull;this.captureMouse=3Dfunction(c){Gimme.Events.rel= easeMouse();b=3Dc;if(typeof = c.setCapture!=3D=3D"undefined")c.setCapture();else{a=3Dfunction(b){b.stop= Propagation();var = d,e;if(Gimme.Browser.isGecko){d=3Ddocument.createEvent("MouseEvents");d.i= nitMouseEvent(b.type,b.bubbles,b.cancelable,window,b.detail,b.screenX,b.s= creenY,b.clientX,b.clientY,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,b.butt= on,b.relatedTarget);e=3DGimme.Screen.getScrollPosition();d.__defineGetter= __("pageX",function(){return = this.clientX+e.x});d.__defineGetter__("pageY",function(){return = this.clientY+e.y})}else = d=3Db;document.removeEventListener(b.type,a,true);d.captureTarget=3Db.tar= get;c.dispatchEvent(d);if(a!=3D=3Dnull)document.addEventListener(b.type,a= ,true);delete = d.captureTarget};document.addEventListener("mouseover",a,true);document.a= ddEventListener("mouseout",a,true);document.addEventListener("mousemove",= a,true);document.addEventListener("mouseup",a,true);document.addEventList= ener("mousedown",a,true);document.addEventListener("click",a,true);docume= nt.addEventListener("dblclick",a,true)}return = this};this.releaseMouse=3Dfunction(){if(b!=3D=3Dnull){if(typeof = b.releaseCapture!=3D=3D"undefined")b.releaseCapture();else{document.remov= eEventListener("mouseover",a,true);document.removeEventListener("mouseout= ",a,true);document.removeEventListener("mousemove",a,true);document.remov= eEventListener("mouseup",a,true);document.removeEventListener("mousedown"= ,a,true);document.removeEventListener("click",a,true);document.removeEven= tListener("dblclick",a,true)}b=3Da=3Dnull}return = this};this.getCaptureTarget=3Dfunction(a){return = a.captureTarget||a.srcElement||a.target};Gimme.ext.onmouseenter=3Dfunctio= n(e,b,c){var = a=3Dd(e);c?this.addEvent("mouseover",a,b,false):this.removeEvent("mouseov= er",a,b,false);a=3Dnull};Gimme.ext.onmouseleave=3Dfunction(e,b,c){var = a=3Dd(e);c?this.addEvent("mouseout",a,b,false):this.removeEvent("mouseout= ",a,b,false);a=3Dnull};Gimme.ext.onmousewheel=3Dfunction(d,c,e){var = a=3D"mousewheel",b=3Dd;if(Gimme.Browser.isGecko){a=3D"DOMMouseScroll";b=3D= f(d)}e?this.addEvent(a,b,c,false):this.removeEvent(a,b,c,false)};function= e(c,a,b){if(c=3D=3D=3Da)return false;var = d=3D0;while(a&&a!=3Dc){d++;a=3Da.parentNode}b=3Db||d;return = a=3D=3D=3Dc&&b=3D=3D=3Dd}function d(b){var = d=3DGimme.Helper.getObjectGUID(b),a=3Dc[d];if(typeof = a=3D=3D=3D"undefined")a=3Dc[d]=3Dfunction(c){var = a=3Dc.relatedTarget;if(this=3D=3D=3Da||e(this,a))return;b.call(this,c)};r= eturn a}function f(b){var = d=3DGimme.Helper.getObjectGUID(b),a=3Dc[d];if(typeof = a=3D=3D=3D"undefined")a=3Dc[d]=3Dfunction(a){a.wheelDelta=3D-a.detail;b.c= all(this,a);a.wheelDelta=3Dnull};return a}};Gimme.ver=3D"Gimme v2.0.0.3 = (Caspian) :: 12/2/2008, = 9:57:48";Gimme.ext.getRelativePosition=3Dfunction(d,e){var = a=3Dthis.entities[e||0],b=3D0,c=3D0;while(a!=3D=3Dnull&&a!=3D=3Dd){b+=3Da= .offsetLeft;c+=3Da.offsetTop;a=3Da.offsetParent}return = {x:b,y:c}};Gimme.ext.addShim=3Dfunction(d,e){var = b=3Dthis.entities[0];if(b.shim){b.shim.parentNode.removeChild(b.shim);b.s= him=3Dnull}var = a=3Ddocument.createElement("iframe");a.frameBorder=3D"0";a.scrolling=3D"n= o";a.className=3D"iframeShim";a.style.position=3D"absolute";a.style.zInde= x=3De||"1";a.style.background=3D"#fff";a.style.height=3Db.offsetHeight+"p= x";a.style.width=3Db.offsetWidth+"px";var = c=3Dg(b);a.style.top=3Dc.getStyle("top");a.style.left=3Dc.getStyle("left"= );a.style.marginTop=3Dc.getStyle("marginTop");a.style.marginLeft=3Dc.getS= tyle("marginLeft");a.style.marginRight=3Dc.getStyle("marginRight");a.styl= e.marginBottom=3Dc.getStyle("marginBottom");this.entities.push(a);d=3Dd||= b;(d.parentNode||document.body).insertBefore(a,d);b.shim=3Da;return = this};Gimme.ext.removeShim=3Dfunction(){var = b=3Dthis.entities[0],a=3Db.shim;if(a){a.parentNode.removeChild(a);b.shim=3D= null}return = this};Gimme.ext.toggle=3Dfunction(a){if(a!=3D=3Dtrue)a=3Dfalse;this.forEa= ch(function(c){var = b=3Dg(c);if(a)b.setStyle("visibility",b.getStyle("visibility")=3D=3D=3D"v= isible"?"hidden":"visible");else = b.setStyle("display",b.getStyle("display")!=3D=3D"none"?"none":"block")})= ;return this};function = MVC_Init_AbstractView_Shared(){Msn.MVC.AbstractView.prototype.GetMoveMenu= OptionAsHtml=3Dfunction(a){return a}}function = MVC_Init_View3D_Shared(){Msn.MVC.View3D.prototype.GetMoveMenuOptionAsHtml= =3Dfunction(d,c){var e=3Dc.GetPrimitiveCount();for(var = a=3D0;a=3D0&&d=3D0)a.childNodes[f].className=3Dm;c=3Dd;a.childNodes[d].cla= ssName=3Dr;e=3Da.childNodes[d].className}else{var = f=3Dg();if(f>=3D0)a.childNodes[f].className=3Dm;c=3D-1}}function = g(){return c}function o(){if(c>=3D0&&c=3Db.length)return;if(d0)b.pop();while(a.childNodes.length>0)a.removeChild(a.= lastChild);c=3D-1}function = A(){a.style.display=3D"block";this.isVisible=3Dtrue}function = z(){a.style.display=3D"none";this.isVisible=3Dfalse}this.OnClick=3Dnull;t= his.GetCount=3Dx;this.GetElement=3Du;this.GetSelectedIndex=3Dg;this.GetSe= lectedItem=3Do;this.SelectItemAtIndex=3Di;this.OnSelect=3Dnull;this.AddIt= em=3Dy;this.OnMouseOver=3Dnull;this.OnSelect=3Dnull;this.OnMouseOut=3Dnul= l;this.ClearItems=3Dt;this.RemoveItemAtIndex=3Dn;this.Show=3DA;this.Hide=3D= z}function DecodeHtml(a){var c=3D"";if(typeof = a=3D=3D"string"&&a.length>0){var = b=3Ddocument.createElement("span");b.innerHTML=3Da;c=3Db.firstChild.nodeV= alue;b=3Dnull}return c}function = OutputEncoder_URLEncodeUTF8(e){if(e=3D=3Dnull)return "";var = d=3D["%00","%01","%02","%03","%04","%05","%06","%07","%08","%09","%0a","%= 0b","%0c","%0d","%0e","%0f","%10","%11","%12","%13","%14","%15","%16","%1= 7","%18","%19","%1a","%1b","%1c","%1d","%1e","%1f","%20","%21","%22","%23= ","%24","%25","%26","%27","%28","%29","%2a","%2b","%2c","%2d","%2e","%2f"= ,"%30","%31","%32","%33","%34","%35","%36","%37","%38","%39","%3a","%3b",= "%3c","%3d","%3e","%3f","%40","%41","%42","%43","%44","%45","%46","%47","= %48","%49","%4a","%4b","%4c","%4d","%4e","%4f","%50","%51","%52","%53","%= 54","%55","%56","%57","%58","%59","%5a","%5b","%5c","%5d","%5e","%5f","%6= 0","%61","%62","%63","%64","%65","%66","%67","%68","%69","%6a","%6b","%6c= ","%6d","%6e","%6f","%70","%71","%72","%73","%74","%75","%76","%77","%78"= ,"%79","%7a","%7b","%7c","%7d","%7e","%7f","%80","%81","%82","%83","%84",= "%85","%86","%87","%88","%89","%8a","%8b","%8c","%8d","%8e","%8f","%90","= %91","%92","%93","%94","%95","%96","%97","%98","%99","%9a","%9b","%9c","%= 9d","%9e","%9f","%a0","%a1","%a2","%a3","%a4","%a5","%a6","%a7","%a8","%a= 9","%aa","%ab","%ac","%ad","%ae","%af","%b0","%b1","%b2","%b3","%b4","%b5= ","%b6","%b7","%b8","%b9","%ba","%bb","%bc","%bd","%be","%bf","%c0","%c1"= ,"%c2","%c3","%c4","%c5","%c6","%c7","%c8","%c9","%ca","%cb","%cc","%cd",= "%ce","%cf","%d0","%d1","%d2","%d3","%d4","%d5","%d6","%d7","%d8","%d9","= %da","%db","%dc","%dd","%de","%df","%e0","%e1","%e2","%e3","%e4","%e5","%= e6","%e7","%e8","%e9","%ea","%eb","%ec","%ed","%ee","%ef","%f0","%f1","%f= 2","%f3","%f4","%f5","%f6","%f7","%f8","%f9","%fa","%fb","%fc","%fd","%fe= ","%ff"],b,a=3D[],g=3De.length;for(var f=3D0;f>6];a=3Da+d[128|c&63]}else{a=3Da+d[224|c>>12]= ;a=3Da+d[128|c>>6&63];a=3Da+d[128|c&63]}}return a}function = OutputEncoder_URLEncodeEscapeUTF8(e){if(e=3D=3Dnull)return "";var = d=3D["00","01","02","03","04","05","06","07","08","09","0a","0b","0c","0d= ","0e","0f","10","11","12","13","14","15","16","17","18","19","1a","1b","= 1c","1d","1e","1f","20","21","22","23","24","25","26","27","28","29","2a"= ,"2b","2c","2d","2e","2f","30","31","32","33","34","35","36","37","38","3= 9","3a","3b","3c","3d","3e","3f","40","41","42","43","44","45","46","47",= "48","49","4a","4b","4c","4d","4e","4f","50","51","52","53","54","55","56= ","57","58","59","5a","5b","5c","5d","5e","5f","60","61","62","63","64","= 65","66","67","68","69","6a","6b","6c","6d","6e","6f","70","71","72","73"= ,"74","75","76","77","78","79","7a","7b","7c","7d","7e","7f","80","81","8= 2","83","84","85","86","87","88","89","8a","8b","8c","8d","8e","8f","90",= "91","92","93","94","95","96","97","98","99","9a","9b","9c","9d","9e","9f= ","a0","a1","a2","a3","a4","a5","a6","a7","a8","a9","aa","ab","ac","ad","= ae","af","b0","b1","b2","b3","b4","b5","b6","b7","b8","b9","ba","bb","bc"= ,"bd","be","bf","c0","c1","c2","c3","c4","c5","c6","c7","c8","c9","ca","c= b","cc","cd","ce","cf","d0","d1","d2","d3","d4","d5","d6","d7","d8","d9",= "da","db","dc","dd","de","df","e0","e1","e2","e3","e4","e5","e6","e7","e8= ","e9","ea","eb","ec","ed","ee","ef","f0","f1","f2","f3","f4","f5","f6","= f7","f8","f9","fa","fb","fc","fd","fe","ff"],b,a=3D[],g=3De.length;for(va= r f=3D0;f>6];a=3Da+"%25"+d[128|c&63]}else{a=3Da+= "%25"+d[224|c>>12];a=3Da+"%25"+d[128|c>>6&63];a=3Da+"%25"+d[128|c&63]}}re= turn a}function OutputEncoder_EncodeHtml(c){var = a,b=3D"";if(c=3D=3Dnull)return "";for(var = d=3D0;d96&&a<123||a>64&&a<91||a=3D= =3D32||a>47&&a<58||a=3D=3D46||a=3D=3D44||a=3D=3D45||a=3D=3D95)b=3Db+Strin= g.fromCharCode(a);else b=3Db+"&#"+a+";"}return b}function = OutputEncoder_EncodeHtmlAttribute(c){var a,b=3D"";if(c=3D=3Dnull)return = "";for(var = d=3D0;d96&&a<123||a>64&&a<91||a>4= 7&&a<58||a=3D=3D46||a=3D=3D44||a=3D=3D45||a=3D=3D95)b=3Db+String.fromChar= Code(a);else b=3Db+"&#"+a+";"}return b}function = OutputEncoder_EncodeXml(a){return OutputEncoder_EncodeHtml(a)}function = OutputEncoder_EncodeXmlAttribute(a){return = OutputEncoder_EncodeHtmlAttribute(a)}function = OutputEncoder_EncodeJs(c){var a,b=3D"";if(c=3D=3Dnull)return "";for(var = d=3D0;d96&&a<123||a>64&&a<91||a=3D= =3D32||a>47&&a<58||a=3D=3D46||a=3D=3D44||a=3D=3D45||a=3D=3D95)b=3Db+Strin= g.fromCharCode(a);else = if(a>127)b=3Db+"\\u"+OutputEncoder_TwoByteHex(a);else = b=3Db+"\\x"+OutputEncoder_SingleByteHex(a)}return "'"+b+"'"}function = OutputEncoder_EncodeVbs(d){var b,a=3D"",c=3Dfalse;if(d=3D=3Dnull)return = "";for(var = e=3D0;e96&&b<123||b>64&&b<91||b=3D= =3D32||b>47&&b<58||b=3D=3D46||b=3D=3D44||b=3D=3D45||b=3D=3D95){if(!c){a=3D= a+'&"';c=3Dtrue}a=3Da+String.fromCharCode(b)}else{if(c){a=3Da+'"';c=3Dfal= se}a=3Da+"&chrw("+b+")"}}if(a.charAt(0)=3D=3D"&")a=3Da.substring(1);if(a.= length=3D=3D0)a=3D'""';if(c)a=3Da+'"';return a}function = OutputEncoder_AsUrl(a){if(a=3D=3Dnull)return = "";if(a.search(/^(?:http|https|ftp):\/\/[a-zA-Z0-9\.\-]+(?:\:\d{1,5})?(?:= [A-Za-z0-9\.\;\:\@\&\=3D\+\$\,\?\/]|%u[0-9A-Fa-f]{4}|%[0-9A-Fa-f]{2})*$/i= ))throw"Unsanitized value passed to AsUrl";return a}function = OutputEncoder_QualifyUrl(a){if(a=3D=3Dnull)return = "";if(a.search(/^(?:http|https|ftp):\/\//i))if(document.location.protocol= =3D=3D"HTTPS")return = "https://"+document.location.hostname+OutputEncoder_QualifyUrl_MakePath(a= );else return = "http://"+document.location.hostname+OutputEncoder_QualifyUrl_MakePath(a)= ;else return a}function = OutputEncoder_QualifyUrl_MakePath(a){if(a=3D=3Dnull)return = "";if(!a.search(/^[\/\\]/))return a;var = b=3D/^(\/(?:.*\/|))(?:[^\/\\]*\.\w+|\w*)$/;if(!document.location.pathname= .search(b)){var c=3Db.exec(document.location.pathname);return = c[1]+a}return "/"+a}function = OutputEncoder_AsNumeric(a){if(a=3D=3Dnull)return = "";if(isNaN(parseFloat(a)))throw"IOSec.AsNumeric(): Error input ["+a+"] = not a valid number.";return a}function = OutputEncode_TruncateUrlSafe(a,b,e){if(a.length<=3Db)return a;var = d=3D"";if(e&&e.length>0){d=3DOutputEncoder_EncodeUrl(e);b-=3Dd.length}var= a=3Da.substring(0,b);for(var = c=3D1;c<6;c++)if(a.charAt(b-c)=3D=3D"%"){a=3Da.substring(0,b-c);break}ret= urn a+d}function OutputEncode_EncodeUrlDelims(f,c){if(!f)return c;var = a,h,b=3D"";for(var = d=3D0;d127)e=3D"%u"+= OutputEncoder_TwoByteHex(a);else = e=3D"%"+OutputEncoder_SingleByteHex(a);break}}b+=3De}return b}function = OutputEncoder_EncodeUrl(c){if(c=3D=3Dnull)return "";var = a,e=3Dc.length,b=3Dnew Array(e);for(var = d=3D0;d96&&a<123||a>64&&a<91||a>47&&a<58= ||a=3D=3D46||a=3D=3D45||a=3D=3D95)b.push(String.fromCharCode(a));else = if(a>127){b.push("%u");b.push(OutputEncoder_TwoByteHex(a))}else{b.push("%= ");b.push(OutputEncoder_SingleByteHex(a))}}return b.join("")}function = OutputEncoder_SingleByteHex(b){if(b=3D=3Dnull)return "";var = a=3Db.toString(16);for(var c=3Da.length;c<2;c++)a=3D"0"+a;return = a}function OutputEncoder_TwoByteHex(b){if(b=3D=3Dnull)return "";var = a=3Db.toString(16);for(var c=3Da.length;c<4;c++)a=3D"0"+a;return = a}function = GetValidatedUrl(a){if(a=3D=3Dnull||a=3D=3D"undefined"||a.length<=3D0)retu= rn "";try{a=3Dunescape(a);a=3Da.replace(/\|/g," ").replace(/\^/g," = ").replace(/^\s+/g,"").replace(/\s+$/g,"");var b=3Dnew = RegExp(/(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:= .?+=3D&%@!\-\/]))?/);if(a.match(b))return a;else return = ""}catch(c){return ""}}function = OutputEncoder(){this.GetValidatedUrl=3DGetValidatedUrl;this.EncodeHtml=3D= OutputEncoder_EncodeHtml;this.EncodeHtmlAttribute=3DOutputEncoder_EncodeH= tmlAttribute;this.EncodeXml=3DOutputEncoder_EncodeXml;this.EncodeXmlAttri= bute=3DOutputEncoder_EncodeXmlAttribute;this.EncodeJs=3DOutputEncoder_Enc= odeJs;this.EncodeVbs=3DOutputEncoder_EncodeVbs;this.AsNumeric=3DOutputEnc= oder_AsNumeric;this.EncodeUrl=3DOutputEncoder_EncodeUrl;this.EncodeUrlDel= ims=3DOutputEncode_EncodeUrlDelims;this.TruncateUrlSafe=3DOutputEncode_Tr= uncateUrlSafe;this.SingleByteHex=3DOutputEncoder_SingleByteHex;this.TwoBy= teHex=3DOutputEncoder_TwoByteHex;this.AsUrl=3DOutputEncoder_AsUrl;this.Qu= alifyUrl=3DOutputEncoder_QualifyUrl;this.EncodeUrlUTF8=3DOutputEncoder_UR= LEncodeUTF8;this.EncodeUrlEscapeUTF8=3DOutputEncoder_URLEncodeEscapeUTF8;= this.DecodeHtml=3DDecodeHtml}var IOSec=3Dnew OutputEncoder;function = VE_Panel(c,q,r,o,m,f,d,n,p,l,s,t,e,h,i,j){var = b=3Dthis;this.index=3D0;this.x=3Dq;this.y=3Dr;this.width=3Do;this.height=3D= m;this.dynamicHeightMax=3D600;this.color=3Df;this.sPanel=3Dnull;this.tool= barHeight=3D20;this.footerHeight=3D20;this.min=3Dfalse;this.visible=3Dtru= e;this.onTitleClick=3Dnull;this.onCloseClick=3Dnull;this.onMaximize=3Dnul= l;this.onMinimize=3Dnull;this.isLegacyPanel=3Dh=3D=3Dtrue;this.usesShimIn= 3D=3D!this.isLegacyPanel;if(!e)e=3Ddocument.body;var = a=3Dnull;if(!this.isLegacyPanel){a=3DVE_Panel._CreateElement("div",c,"VE_= Panel_el",d);this.el=3Da;this.titleDisabled=3Dfalse;this.title=3Ddocument= .createElement("a");this.title.id=3Dc+"_title";this.title.className=3D"VE= _Panel_title";this.title.appendChild(document.createElement("span"));this= .title.onclick=3Dfunction(a){VE_Panel._OnTitleClick(a);return = false};this.title.href=3D"#";a.appendChild(this.title);this.SetTitle(n);t= his.closeboxDisabled=3Dfalse;this.cb=3DVE_Panel._CreateElement("a",c+"_cb= ","VE_Panel_cb = VE_Panel_cb_"+f,d+1);this.cb.onclick=3Dfunction(a){VE_Panel._OnCloseClick= (a);return false};this.cb.onmouseover=3Dfunction(){if(typeof = Msn.VE.Css!=3D"undefined")Msn.VE.Css.Functions.addClass(b.title,"VE_Panel= _title_hover")};this.cb.onmouseout=3Dfunction(){if(typeof = Msn.VE.Css!=3D"undefined")Msn.VE.Css.Functions.removeClass(b.title,"VE_Pa= nel_title_hover")};this.cb.href=3D"#";this.cb.unselectable=3D"on";a.appen= dChild(this.cb);this.tb=3DVE_Panel._CreateElement("div",c+"_tb","toolbar"= ,d+1);this.tb.unselectable=3D"on";a.appendChild(this.tb)}else{var = k=3D$ID(c+"_tb");this.tb=3DVE_Panel._CreateElement("div","","",d+1);k.app= endChild(this.tb)}this.body=3DVE_Panel._CreateElement("div",c+"_body","VE= _Panel_body",d+1);this.body.innerHTML=3Dp;if(!this.isLegacyPanel){a.appen= dChild(this.body);this.foot=3DVE_Panel._CreateElement("div",c+"_foot","VE= _Panel_foot = VE_Panel_foot_"+f,d+1);this.foot.innerHTML=3Dl;this.foot.unselectable=3D"= on";a.appendChild(this.foot)}else{a=3Dthis.body;this.el=3Da}VE_Panel.pane= ls.push(this);if(i){a.style.top=3D"0";a.style.left=3D"0";if(j)a.style.pos= ition=3D"absolute";else{a.style.display=3D"none";a.style.visibility=3D"hi= dden"}}e.appendChild(a);if(!Gimme.Browser.isKHTML){var = g=3DGimme.id("TaskHost_CollectionsViewer_state");if(g!=3D=3Dnull)e.append= Child(g)}this.Destroy=3Dfunction(){if(a.parentNode)a.parentNode.removeChi= ld(a);if(b.sPanel!=3Dnull)b.sPanel.Destroy();if(a.shimElement&&a.shimElem= ent.parentNode)a.shimElement.parentNode.removeChild(a.shimElement);a.shim= Element=3Dnull;var d=3DVE_Panel.panels;for(var = c=3D0;c0?"block":"none";this.tb.style.display=3Dd;this.R= esize()};VE_Panel.prototype.SetFooterSize=3Dfunction(footerHeight){if(!th= is.isLegacyPanel){this.footerHeight=3DfooterHeight;var = d=3Deval(footerHeight)>0?"block":"none";this.foot.style.display=3Dd;this.= Resize()}};VE_Panel.prototype.Resize=3Dfunction(){if(typeof = ve_globals!=3D"undefined"){var = geoFn=3DMsn.VE.Geometry.Functions,taskAreaHeight=3DGimme.Screen.getViewpo= rtSize().y-g(ve_globals["taskArea"]).getScreenPosition().y-ve_globals["fo= oter"].offsetHeight;if(taskAreaHeight>=3D0&&typeof = taskAreaHeight=3D=3D"number")ve_globals["taskArea"].style.height=3DtaskAr= eaHeight-2+"px";if(this.el.id=3D=3D"contextMenu"||this.el.id=3D=3D"scratc= hpad"||this.el.id=3D=3D"annotationPanel"||this.el.id=3D=3D"annotationPopu= p"||this.el.id=3D=3D"searchPopup"||this.el.id=3D=3D"help"){if(this.height= !=3D"auto"&&typeof = this.height=3D=3D"number")this.el.style.height=3Deval(this.height)+"px";i= f(this.width!=3D"auto"&&typeof = this.width=3D=3D"number")this.el.style.width=3Deval(this.width)+"px";if(t= his.x!=3D"auto"&&typeof = this.x=3D=3D"number")this.el.style.left=3Deval(this.x)+"px";if(this.y!=3D= "auto"&&typeof = this.y=3D=3D"number")this.el.style.top=3Deval(this.y)+"px"}if(this.el.shi= mElement)ShowShim(this.el)}};VE_Panel.prototype.SetHeightToFit=3Dfunction= (){var = contentid=3Dthis.id+"_body_table",content=3D$ID(contentid);if(!content)re= turn false;this.height=3D0;var = width=3DMath.max(eval(this.width),100);if(content.offsetWidth>width-14)th= is.height+=3DscrollbarWidth;this.height+=3Dthis.titleDisabled?14:21+14;th= is.height+=3Dthis.toolbarHeight;this.height+=3Dcontent.offsetHeight;this.= height+=3Dthis.footerHeight;this.height=3DMath.min(this.dynamicHeightMax,= this.height)};VE_Panel.prototype.DisableClosebox=3Dfunction(){if(!this.is= LegacyPanel){if(this.closeboxDisabled)return;this.closeboxDisabled=3Dtrue= ;this.el.removeChild(this.cb)}};VE_Panel.prototype.EnableClosebox=3Dfunct= ion(){if(!this.isLegacyPanel){if(!this.closeboxDisabled)return;this.close= boxDisabled=3Dfalse;this.el.appendChild(this.cb)}};VE_Panel.prototype.Dis= ableTitle=3Dfunction(){if(!this.isLegacyPanel){if(this.titleDisabled)retu= rn;this.titleDisabled=3Dtrue;this.el.removeChild(this.cb);this.el.removeC= hild(this.title)}};VE_Panel.prototype.EnableTitle=3Dfunction(){if(!this.i= sLegacyPanel){if(!this.titleDisabled)return;this.titleDisabled=3Dfalse;th= is.el.insertBefore(this.cb,this.tb);this.el.insertBefore(this.title,this.= cb)}};VE_Panel.prototype.SetTitle=3Dfunction(c){if(!this.isLegacyPanel){v= ar = b=3Ddocument.createTextNode(c),a=3Dthis.title.firstChild;if(a)if(a.firstC= hild)a.replaceChild(b,a.firstChild);else = a.appendChild(b)}};VE_Panel.prototype.SetToolbar=3Dfunction(a){this.tb.in= nerHTML=3Da};VE_Panel.prototype.SetBody=3Dfunction(a){this.body.innerHTML= =3Da};VE_Panel.prototype.SetDynamicBody=3Dfunction(a){this.body.innerHTML= =3D'
'+a+"
"};VE_Panel.= prototype.SetFooter=3Dfunction(a){if(!this.isLegacyPanel)this.foot.innerH= TML=3Da};VE_Panel.prototype.SetOpacity=3Dfunction(o){if(o>=3D100)o=3D99.9= 9;with(this.el.style){filter=3D"alpha(opacity:"+o+")";o*=3D.01;KHTMLOpaci= ty=3Do;MozOpacity=3Do;opacity=3Do}};VE_Panel.prototype.SetColor=3Dfunctio= n(a){if(!this.isLegacyPanel){this.color=3Da;this.title.className=3D"VE_Pa= nel_title VE_Panel_title_"+a;this.foot.className=3D"VE_Panel_foot = VE_Panel_foot_"+a;this.cb.className=3D"VE_Panel_cb = VE_Panel_cb_"+a}};VE_Panel.prototype.Minimize=3Dfunction(){this.el.classN= ame=3D" = VE_Panel_el_minimized";if(this.onMinimize)this.onMinimize(this._CreateEve= nt())};VE_Panel.prototype.Maximize=3Dfunction(){this.el.className=3D"VE_P= anel_el";if(this.onMaximize)this.onMaximize(this._CreateEvent());this.Res= ize()};VE_Panel.prototype.isMaximized=3Dfunction(){return = this.el.className=3D=3D"VE_Panel_el"};VE_Panel.prototype.Show=3Dfunction(= ){this.el.style.display=3D"block";this.visible=3Dtrue;if(this.usesShimIn3= D)mvcViewFacade.ShowShimIfSupported(this.el)};VE_Panel.prototype.Hide=3Df= unction(){this.el.style.display=3D"none";this.visible=3Dfalse;HideShim(th= is.el)};VE_Panel.prototype.IsVisible=3Dfunction(){return = this.el.style.display!=3D"none"};function = VE_PanelEvent(a){this.srcPanel=3Da}VE_Panel.prototype._CreateEvent=3Dfunc= tion(){return new = VE_PanelEvent(this)};VE_Panel._OnTitleClick=3Dfunction(c){if(!c)c=3Dwindo= w.event;var d=3DGetTarget(c),b=3DVE_Panel.panels;for(var = a=3D0;a"+''+IOSec.EncodeHtml(this.title)+""+"$AdDescription$"+"";= if(this.description&&this.description.length>0)a=3Da.replace("$AdDescript= ion$","

"+IOSec.EncodeHtml(this.description)+"

");return = a};Ad.prototype.HasAddress=3Dfunction(){return = this.address1.length>0&&this.city.length>0&&this.state.length>0&&this.zip= .length>0};Ad.prototype.GetAdDescription=3Dfunction(){var = a=3Dthis.description;if(this.HasAddress())a=3Dthis.address1+", = "+this.city+", "+this.state+" "+this.zip;return = a};Msn.VE.DirectionsDecoder=3Dfunction(){var a=3D4,b=3D1000000;function = e(a,c,m,l){if(!a||a.length',a=3Dnew = VE_Panel("help",e,f,c<=3D300?300:c,b<=3D200?200:b,"blue",VE_Help.helpZInd= ex,L_Help_Text,d,"",null,null,null,null,true,null);a.body.className=3D"VE= _Panel_body_help";a.Hide();a.el.style.visibility=3D"";a.SetToolbarSize(0)= ;a.SetFooterSize(0);a.onCloseClick=3Dfunction(){VE_Help.DisablePreventLay= er();VE_Help.ClosePanel()};VE_Help.helpPanel=3Da};VE_Help.EnablePreventLa= yer=3Dfunction(){var = a=3D$ID("__preventLayer__");if(!a)a=3Ddocument.createElement("div");a.id=3D= "__preventLayer__";a.className=3D"preventLayer";document.body.appendChild= (a)};VE_Help.DisablePreventLayer=3Dfunction(){var = a=3D$ID("__preventLayer__");if(a)document.body.removeChild(a)};VE_Help.En= ableDrawingPreventLayer=3Dfunction(){var = c=3D$ID("msve_header");if(c){var = b=3D$ID("__preventLayerHeader__");if(!b)b=3Ddocument.createElement("div")= ;b.id=3D"__preventLayerHeader__";b.className=3D"preventLayer";b.style.lef= t=3Dc.clientLeft;b.style.top=3Dc.clientTop;b.style.width=3Dc.clientWidth;= b.style.height=3Dc.clientHeight;document.body.appendChild(b)}var = d=3D$ID("sb_foot");if(d){var = a=3D$ID("__preventLayerFooter__");if(!a)a=3Ddocument.createElement("div")= ;a.id=3D"__preventLayerFooter__";a.className=3D"preventLayer";a.style.lef= t=3D0;a.style.top=3DGetWindowHeight()-d.clientHeight;a.style.width=3Dd.cl= ientWidth;a.style.height=3Dd.clientHeight;document.body.appendChild(a)}};= VE_Help.DisableDrawingPreventLayer=3Dfunction(){var = d=3D$ID("__preventLayerHeader__");if(d)document.body.removeChild(d);var = b=3D$ID("__preventLayerTaskArea__");if(b)document.body.removeChild(b);var= = a=3D$ID("__preventLayerActionBar__");if(a)document.body.removeChild(a);va= r = c=3D$ID("__preventLayerFooter__");if(c)document.body.removeChild(c)};func= tion findPosX(a){var = b=3D0;if(a.offsetParent)while(a.offsetParent){b+=3Da.offsetLeft;a=3Da.off= setParent}else if(a.x)b+=3Da.x;return b}function findPosY(a){var = b=3D0;if(a.offsetParent)while(a.offsetParent){b+=3Da.offsetTop;a=3Da.offs= etParent}else if(a.y)b+=3Da.y;return = b}VE_Help.Open=3Dfunction(b,c){VE_Help.EnablePreventLayer();VE_Help.helpP= anel.Show();VE_Help.helpPanel.SetTitle(b);VE_Help.helpPanel.SetBody('');var = a=3D$ID("helpFrame");a.src=3Dc;VE_Help.Redraw()};VE_Help.OpenSized=3Dfunc= tion(f,g,a,b){var = d=3DGetWindowWidth(),c=3DGetWindowHeight();if(a>d-10)a=3Dd-10;if(b>c-10)b= =3Dc-10;VE_Help.CreateSizedHelpPanel((d-a)/2,(c-b)/2,a,b);VE_Help.EnableP= reventLayer();VE_Help.helpPanel.Show();VE_Help.helpPanel.SetTitle(f);VE_H= elp.helpPanel.SetBody('');var = e=3D$ID("helpFrame");e.src=3Dg};VE_Help.OpenLiveHelp=3Dfunction(b,a,c){va= r = g=3D"_live_help",f=3D550,e=3D575,i=3D(screen.availWidth-f)*.5,j=3D(screen= .availHeight-e)*.5,h=3D"resizable=3Dyes,top=3D"+j+",width=3D"+f+",height=3D= "+e+",left=3D"+i;if(typeof = b=3D=3D"undefined"||b=3D=3Dnull||b=3D=3D"")b=3DliveLocalHelpProjectCode;i= f(typeof = a=3D=3D"undefined"||a=3D=3Dnull||a=3D=3D"")a=3DVE_Help.LiveHelp.Keyword;i= f(typeof c=3D=3D"undefined"||c=3D=3Dnull||c=3D=3D"")c=3D"qaf";var = k=3DliveHelpUrl+"&project=3D"+b+"&querytype=3D"+a+"&query=3D"+c,d=3Dwindo= w.open(k,g,h);if(d!=3Dnull&&typeof = d=3D=3D"object")d.focus()};VE_Help.Redraw=3Dfunction(){var = b=3DVE_Help.helpPanel;if(!b)return;var = c=3DGimme.Screen.getViewportSize(),a=3Dg(b.el);a.setStyle("top",(c.height= -a.element().offsetHeight)/2+"px");a.setStyle("left",(c.width-a.element()= .offsetWidth)/2+"px");ShowShim(b.el)};VE_Help.CloseIntro=3Dfunction(){if(= VE_Help.introPanel)VE_Help.introPanel.Hide()};VE_Help.ClosePanel=3Dfuncti= on(){if(VE_Help.helpPanel){VE_Help.helpPanel.Hide();VE_Help.DisablePreven= tLayer()}};VE_Help.Destroy=3Dfunction(){if(VE_Help.introPanel){VE_Help.in= troPanel.Destroy();VE_Help.introPanel=3Dnull}if(VE_Help.helpPanel){VE_Hel= p.helpPanel.Destroy();VE_Help.helpPanel=3Dnull}};function = SanitizeHtmlString(a){if(!a||typeof a!=3D"string")return a;return = IOSec.EncodeHtml(a)}function GetTarget(b){if(!b)b=3Dwindow.event;var = a=3Dnull;if(b.srcElement)a=3Db.srcElement;else = if(b.target)a=3Db.target;if(a&&a.nodeType){if(b.capturedTarget)a=3Db.capt= uredTarget;if(a.nodeType=3D=3D3)a=3Da.parentNode}return a}function = SelectText(a,c,d){if(!a)return;if(a.createTextRange){var = b=3Da.createTextRange();b.moveStart("character",c);b.moveEnd("character",= d);b.select()}else = if(a.setSelectionRange)a.setSelectionRange(c,d)}function = SelectedTextLength(a){if(!a)return 0;if(a.document){var = b=3Da.document.selection.createRange();return b.text.length}else{var = c=3Da.selectionStart,d=3Da.selectionEnd;return d-c}}function = GetXMLText(a){if(a.text)return a.text;else if(a.textContent)return = a.textContent;else if(a.firstChild&&a.firstChild.data)return = a.firstChild.data;return ""}function = VEValidator(){}VEValidator.ValidateFloat=3Dfunction(b,c){var = a=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)a=3DVEValidator.Get= Caller(arguments.caller);if(a=3D=3D"")a=3D"VEValidator.ValidateFloat";if(= b=3D=3Dnull||b=3D=3D"undefined")throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","float"));try{if(isNaN(parseFloat(b)))throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","float"));return true}catch(d){throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","float"))}};VEValidator.ValidateInt=3Dfunction(b,c){var = a=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)a=3DVEValidator.Get= Caller(arguments.caller);if(a=3D=3D"")a=3D"VEValidator.ValidateInt";if(b=3D= =3Dnull||b=3D=3D"undefined")throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","int"));try{if(isNaN(parseInt(b))||parseFloat(b)!=3DparseI= nt(b))throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","int"));return true}catch(d){throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","int"))}};VEValidator.ValidateNonNegativeInt=3Dfunction(a,= c){var = b=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)b=3DVEValidator.Get= Caller(arguments.caller);if(b=3D=3D"")b=3D"VEValidator.ValidateNonNegativ= eInt";if(a=3D=3Dnull||a=3D=3D"undefined")throw new = VEException(b,"err_invalidargument",L_invalidnonnegativeint_text.replace(= "%1",c));try{if(isNaN(parseInt(a))||parseFloat(a)!=3DparseInt(a)||parseIn= t(a)<0)throw new = VEException(b,"err_invalidargument",L_invalidnonnegativeint_text.replace(= "%1",c));return true}catch(d){throw new = VEException(b,"err_invalidargument",L_invalidnonnegativeint_text.replace(= "%1",c))}};VEValidator.ValidateFunction=3Dfunction(b,c){var = a=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)a=3DVEValidator.Get= Caller(arguments.caller);if(a=3D=3D"")a=3D"VEValidator.ValidateFunction";= if(b=3D=3Dnull||typeof b!=3D"function")throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","function"))};VEValidator.ValidateNonNull=3Dfunction(b,c){= var = a=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)a=3DVEValidator.Get= Caller(arguments.caller);if(a=3D=3D"")a=3D"VEValidator.ValidateNonNull";i= f(b=3D=3Dnull||b=3D=3D"undefined")throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","non = null"))};VEValidator.ValidateBetween=3Dfunction(b,e,d,c){var = a=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)a=3DVEValidator.Get= Caller(arguments.caller);if(a=3D=3D"")a=3D"VEValidator.ValidateBetween";i= f(bc)throw new = VEException(a,"err_invalidargument",L_invalidbetweenint_text.replace("%1"= ,e).replace("%2",d).replace("%3",c))};VEValidator.ValidateBoolean=3Dfunct= ion(b,c){var = a=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)a=3DVEValidator.Get= Caller(arguments.caller);if(a=3D=3D"")a=3D"VEValidator.ValidateBoolean";i= f(b!=3Dtrue&&b!=3Dfalse)throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","bool"))};VEValidator.ValidateMapStyle=3Dfunction(a,c){var= = b=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)b=3DVEValidator.Get= Caller(arguments.caller);if(b=3D=3D"")b=3D"VEValidator.ValidateMapStyle";= if(a=3D=3Dnull||a=3D=3D"undefined")throw new = VEException(b,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","MapStyle"));if(a=3D=3D"r"||a=3D=3D"R"||$MVEM.IsEnabled(Ma= pControl.Features.MapStyle.Shaded)&&(a=3D=3D"s"||a=3D=3D"S")||$MVEM.IsEna= bled(MapControl.Features.MapStyle.Aerial)&&(a=3D=3D"a"||a=3D=3D"A")||$MVE= M.IsEnabled(MapControl.Features.MapStyle.BirdsEye)&&(a=3D=3D"o"||a=3D=3D"= O")||$MVEM.IsEnabled(MapControl.Features.MapStyle.BirdsEye)&&(a=3D=3D"b"|= |a=3D=3D"B")||$MVEM.IsEnabled(MapControl.Features.MapStyle.Hybrid)&&(a=3D= =3D"h"||a=3D=3D"H"))return true;throw new = VEException(b,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","MapStyle"))};VEValidator.ValidateClusteringType=3Dfunctio= n(a,c){var = b=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)b=3DVEValidator.Get= Caller(arguments.caller);if(b=3D=3D"")b=3D"VEValidator.ValidateClustering= Type";if(a=3D=3Dnull||a=3D=3D"undefined")throw new = VEException(b,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","ClusteringType"));if(typeof = a=3D=3D"number"&&(a=3D=3DVEClusteringType.None||a=3D=3DVEClusteringType.G= rid))return true;throw new = VEException(b,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","ClusteringType"))};VEValidator.ValidateMapMode=3Dfunction= (b,c){var = a=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)a=3DVEValidator.Get= Caller(arguments.caller);if(a=3D"")a=3D"VEValidator.ValidateMapMode";if(b= =3D=3Dnull||b=3D=3D"undefined")throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","MapMode"));if(b=3D=3DVEMapMode.Mode2D||$MVEM.IsEnabled(Ma= pControl.Features.MapStyle.View3D)&&b=3D=3DVEMapMode.Mode3D)return = true;throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","MapMode"))};VEValidator.ValidateDistanceUnit=3Dfunction(b= ,c){var = a=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)a=3DVEValidator.Get= Caller(arguments.caller);if(a=3D=3D"")a=3D"VEValidator.ValidateDistanceUn= it";if(b=3D=3Dnull||b=3D=3D"undefined")throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","VEDistanceUnit"));if(b=3D=3DVEDistanceUnit.Miles||b=3D=3D= VEDistanceUnit.Kilometers)return true;throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","VEDistanceUnit"))};VEValidator.ValidateMaxZoom=3Dfunction= (b,c){var = a=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)a=3DVEValidator.Get= Caller(arguments.caller);if(a=3D=3D"")a=3D"VEValidator.ValidateMaxZoom";i= f(b=3D=3Dnull||b=3D=3D"undefined")throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","ValidateMaxZoom"));if(b<=3DMsn.VE.API.Globals.vemaxzoom)r= eturn true;throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","ValidateMaxZoom"))};VEValidator.ValidateLayerType=3Dfunct= ion(a,c){var = b=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)b=3DVEValidator.Get= Caller(arguments.caller);if(b=3D=3D"")b=3D"VEValidator.ValidateLayerType"= ;if(a=3D=3Dnull||a=3D=3D"undefined")throw new = VEException(b,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","VEDataType"));if(a=3D=3DVEDataType.GeoRSS||a=3D=3DVEDataT= ype.VECollection||a=3D=3DVEDataType.VETileSource)return true;throw new = VEException(b,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","VEDataType"))};VEValidator.ValidateDashboardSize=3Dfuncti= on(a,c){var = b=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)b=3DVEValidator.Get= Caller(arguments.caller);if(b=3D=3D"")b=3D"VEValidator.ValidateDashboardS= ize";if(a=3D=3Dnull||a=3D=3D"undefined")throw new = VEException(b,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","VEDashboardSize"));if(a=3D=3DVEDashboardSize.Normal||a=3D= =3DVEDashboardSize.Small||a=3D=3DVEDashboardSize.Tiny)return true;throw = new = VEException(b,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","VEDashboardSize"))};VEValidator.ValidateMiniMapSize=3Dfun= ction(b,c){var = a=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)a=3DVEValidator.Get= Caller(arguments.caller);if(a=3D=3D"")a=3D"VEValidator.ValidateMiniMapSiz= e";if(b=3D=3Dnull||b=3D=3D"undefined")throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","VEMiniMapSize"));if(b=3D=3DVEMiniMapSize.Small||b=3D=3DVE= MiniMapSize.Large)return true;throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","VEMiniMapSize"))};VEValidator.ValidateAltitudeMode=3Dfunc= tion(b,c){var = a=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)a=3DVEValidator.Get= Caller(arguments.caller);if(a=3D=3D"")a=3D"VEValidator.ValidateAltitudeMo= de";if(b=3D=3Dnull)throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","VEAltitudeMode"));if(b!=3DVEAltitudeMode.Absolute&&b!=3DV= EAltitudeMode.RelativeToGround)throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","VEAltitudeMode"));return = true};VEValidator.ValidateObject=3Dfunction(b,c,e,d){var = a=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)a=3DVEValidator.Get= Caller(arguments.caller);if(a=3D=3D"")a=3D"VEValidator.ValidateObject";if= (b=3D=3Dnull||b=3D=3D"undefined")throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","non null"));if(!(b instanceof e))throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2",d))};VEValidator.ValidateObjectArray=3Dfunction(a,d,f,e){v= ar = b=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)b=3DVEValidator.Get= Caller(arguments.caller);if(b=3D=3D"")b=3D"VEValidator.ValidateObject";if= (a=3D=3Dnull||typeof a=3D=3D"undefined"||a.length=3D=3Dnull||typeof = a.length=3D=3D"undefined")throw new = VEException(b,"err_invalidargument",L_invalidargument_text.replace("%1",d= ).replace("%2","array"));for(var = c=3D0;c=3Da.BottomRightLatLong.Longitu= de)throw new = VEException(b,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","VELatLongRectangle"))};VEValidator.GetCaller=3Dfunction()= {return ""};function = VEPushpin(f,e,d,h,g,c,b,a){VEValidator.ValidateNonNull(f,"pinId");VEValid= ator.ValidateNonNull(e,"veLatLong");var = i=3Dthis;this.IsInLayer=3Dfalse;this.ID=3Df;this.LatLong=3De;this.Title=3D= h;if(d=3D=3Dnull||d=3D=3D"undefined"||d.length=3D=3D0)this.Iconurl=3DMsn.= VE.API.Constants.iconurl;else = this.Iconurl=3Dd;this.Details=3Dg;if(c=3D=3Dnull||c=3D=3D"undefined"||c.l= ength=3D=3D0)this.IconStyle=3D"";else = this.IconStyle=3Dc;if(b=3D=3Dnull||b=3D=3D"undefined"||b.length=3D=3D0)th= is.TitleStyle=3D"VE_Pushpin_Popup_Title";else = this.TitleStyle=3Db;if(a=3D=3Dnull||a=3D=3D"undefined"||a.length=3D=3D0)t= his.DetailsStyle=3D"VE_Pushpin_Popup_Body";else = this.DetailsStyle=3Da;if(window.ero=3D=3Dnull||window.ero=3D=3D"undefined= ")window.ero=3DERO.getInstance()}VEPushpin.ShowDetailOnMouseOver=3Dtrue;V= EPushpin.OnMouseOverCallback=3Dnull;VEPushpin.prototype.Dispose=3Dfunctio= n(){this.DetailsStyle=3D=3Dnull;this.TitleStyle=3Dnull;this.IconStyle=3Dn= ull;this.Details=3Dnull;this.IconUrl=3Dnull;this.Title=3Dnull;this.LatLon= g=3Dnull;this.ID=3Dnull;this.m_vemapcontrol=3Dnull;this.m_vemap=3Dnull};V= EPushpin.Hide=3Dfunction(a){if(window.ero!=3Dnull){if(a=3D=3D"undefined"|= |a=3D=3Dnull)a=3Dfalse;window.ero.hide(a)}};VEPushpin.GetEroContent=3Dfun= ction(c,b,e,d){var = a=3D"

";if(c!=3Dnull&&c!=3D"undefined"&&c.length>0)a+=3D'

'+unescape(c)+"
";if(b!=3Dnull&&b!=3D"undefined"&&b.= length>0)a+=3D'
'+unescape(b)+"
";if(!document.all&&(c.length=3D=3D0= ||b.length=3D=3D0))a+=3D"

";a+=3D"

";return = a};VEPushpin.Show=3Dfunction(l,m,k,h,d,c,g,e){var = a=3DVEMap._GetMapFromGUID(l);if(a=3D=3Dnull||a=3D=3D"undefined")return;va= r = i=3Da.vemapcontrol.GetX(h)+a.GetLeft(),j=3Da.vemapcontrol.GetY(k)+a.GetTo= p();if(VEPushpin.ShowDetailOnMouseOver){var = b=3D$ID(m+"_"+a.GUID);if(b!=3Dnull&&b!=3D"undefined"){var = f=3DVEPushpin.GetEroContent(d,c,g,e);window.ero.setContent(f);window.ero.= setBoundingArea(null);window.ero.getBoundingArea().move(Gimme.Screen.getS= crollPosition());window.ero.dockToElement(b)}}if(VEPushpin.OnMouseOverCal= lback!=3Dnull)VEPushpin.OnMouseOverCallback(i,j,d,unescape(c))};VEPushpin= .Show3D=3Dfunction(a,c,b,f,d){if(VEPushpin.ShowDetailOnMouseOver){var = e=3DVEPushpin.GetEroContent(c,b,f,d);window.ero.setContent(e);ero.setGlit= z(false,false,false,true);window.ero.dockToRect(a,null,-1)}if(VEPushpin.O= nMouseOverCallback!=3Dnull)VEPushpin.OnMouseOverCallback(a.getP1().x,a.ge= tP1().y,c,unescape(b))};function GetContent(){var = g=3Dthis.ID+"_"+this.m_vemap.GUID,a=3D"0,d=3D= this.Details!=3Dnull&&this.Details!=3D"undefined"&&this.Details.length>0;= if(e||d){var b=3D"if = (VEMap._GetMapFromGUID("+this.m_vemap.GUID+").FireEvent(",c=3D"))return;"= ;a+=3D" onmouseout=3D'"+b+'"onmouseout"'+c+"VEPushpin.Hide();' ";a+=3D" = onmousedown=3D'"+b+'"onmousedown"'+c+"VEPushpin.Hide(true);' ";a+=3D" = onmouseover=3D'"+b+'"onmouseover"'+c+'VEPushpin.Show("'+this.m_vemap.GUID= +'","'+this.ID+'",'+this.LatLong.Latitude+","+this.LatLong.Longitude;if(e= )a+=3D', "'+escape(this.Title)+'"';else a+=3D',""';if(d)a+=3D', = "'+escape(this.Details)+'"';else = a+=3D',""';a+=3D',"'+this.TitleStyle+'"';a+=3D',"'+this.DetailsStyle+'"';= a+=3D");' "}a+=3D"/>";return = a}VEPushpin.DisposeERO=3Dfunction(){if(window.ero!=3Dnull&&window.ero!=3D= "undefined"){window.ero.destroy();window.ero=3Dnull}};VEPushpin.prototype= ._SetMapInstance=3Dfunction(a){this.m_vemap=3Da;this.m_vemapcontrol=3Da.v= emapcontrol};VEPushpin.prototype.GetContent=3DGetContent;function = GetImageFullUrl(a){var = b=3D"";if(a&&a.constructor=3D=3DString&&a.length>0){var c=3Dnew = Image;c.src=3Da;b=3Dc.src}return b}function = VE_ScratchpadManager(){}VE_ScratchpadManager.AddGeoLocation=3Dfunction(){= return};VE_ScratchpadManager.AddLocation=3DVE_ScratchpadManager.AddGeoLoc= ation;VE_Scratchpad=3DVE_ScratchpadManager;function = VEMessage(b){VEValidator.ValidateObject(b,"vemap",VEMap,"VEMap");this.m_v= emap=3Db;var = a=3Dthis;this.Show=3Dfunction(g){if(g=3D=3Dnull||g=3D=3D"undefined"||g.le= ngth<=3D0)return;g=3Dc(g);if(this.vemessagepanel=3D=3Dnull||this.vemessag= epanel=3D=3D"undefined"){var = d=3Ddocument.createElement("div");d.id=3Dthis.m_vemap.ID+"_vemessagepanel= ";d.className=3D"VE_Message";d.style.zIndex=3DMsn.VE.API.Globals.vemessag= epanelzIndex;var = i=3Dthis.m_vemap.GetHeight()/2-Msn.VE.API.Globals.vemessagepanelheight/2;= if(i<0)i=3D0;d.style.top=3Di+"px";d.style.left=3D30+"px";var = h=3Dthis.m_vemap.GetWidth()-60;if(h<30)h=3D30;d.style.width=3Dh+"px";d.st= yle.height=3DMsn.VE.API.Globals.vemessagepanelheight+"px";d.style.positio= n=3D"absolute";this.vemessagepanel=3Dd;var = e=3Ddocument.createElement("a");e.className=3D"VE_Message_Title";e.style.= zIndex=3DparseInt(Msn.VE.API.Globals.vemessagepanelzIndex)+1;e.style.top=3D= "1px";e.style.left=3D"1px";e.style.width=3DparseInt(this.vemessagepanel.s= tyle.width)-5+"px";e.innerHTML=3DIOSec.EncodeHtml(L_error_text);e.unselec= table=3D"on";this.vemessagepanel.appendChild(e);var = f=3Ddocument.createElement("a");f.className=3D"VE_Message_Close";f.style.= zIndex=3DparseInt(Msn.VE.API.Globals.vemessagepanelzIndex)+2;f.style.top=3D= "1px";f.style.right=3D"1px";f.onclick=3Da.Hide;f.unselectable=3D"on";f.in= nerHTML=3DL_close_text;this.vemessagepanel.appendChild(f);var = b=3Ddocument.createElement("div");b.id=3Dthis.m_vemap.ID+"_vemessagepanel= _body";b.className=3D"VE_Message_Body";b.style.zIndex=3DparseInt(Msn.VE.A= PI.Globals.vemessagepanelzIndex)+3;b.style.top=3D22+"px";b.style.left=3D0= +"px";b.style.width=3DparseInt(this.vemessagepanel.style.width)-8+"px";b.= onclick=3Da.Hide;b.unselectable=3D"on";b.innerHTML=3Dg;this.vemessagepane= l.appendChild(b);this.m_vemap.AddControl(this.vemessagepanel,Msn.VE.API.G= lobals.vemessagepanelzIndex)}else{var = b=3D$ID(this.m_vemap.ID+"_vemessagepanel_body");b.innerHTML=3Dg}this.veme= ssagepanel.style.display=3D"block";mvcViewFacade.ShowShimIfSupported(this= .vemessagepanel);this.timeoutIntervalID=3Dwindow.setInterval(this.Hide,10= 000)};this.Hide=3Dfunction(){if(a.vemessagepanel!=3Dnull&&a.vemessagepane= l!=3D"undefined"){a.vemessagepanel.style.display=3D"none";HideShim(a.veme= ssagepanel);if(a.timeoutIntervalID!=3Dnull){window.clearInterval(a.timeou= tIntervalID);a.timeoutIntervalID=3Dnull}}};this.Dispose=3Dfunction(){if(t= his.vemessagepanel!=3Dnull&&this.vemessagepanel!=3D"undefined")this.vemes= sagepanel=3Dnull};function c(a){var = b=3D/]*>/gi;a=3Da.replace(b,"");b=3D/<\/a>/gi;a=3Da.replace(b,"");re= turn a}}function = VEAmbiguouslist(vemap){VEValidator.ValidateNonNull(vemap,"vemap");this.m_= vemap=3Dvemap;var = self=3Dthis;this.ID=3Dthis.m_vemap.ID+"_veplacelistpanel";this.Show=3Dfun= ction(a,onSelectCallback,callbackOnClose){var = body=3Dnull,veambiglistHide=3D"VEMap._GetMapFromGUID('"+this.m_vemap.GUID= +"').m_veambiguouslist.Hide();",veambiglistSetViewport=3D"VEMap._GetMapFr= omGUID('"+this.m_vemap.GUID+"').vemapcontrol.SetViewport";if(this.veplace= listpanel=3D=3Dnull||this.veplacelistpanel=3D=3D"undefined"){var = e=3Ddocument.createElement("div");e.id=3Dthis.ID;e.className=3D"VE_PlaceL= ist";e.style.top=3Dthis.m_vemap.GetHeight()/2-Msn.VE.API.Globals.veplacel= istpanelheight/2+"px";e.style.left=3Dthis.m_vemap.GetWidth()/2-Msn.VE.API= .Globals.veplacelistpanelwidth/2+"px";e.style.width=3DMsn.VE.API.Globals.= veplacelistpanelwidth+"px";e.style.height=3DMsn.VE.API.Globals.veplacelis= tpanelheight+"px";e.style.position=3D"absolute";this.veplacelistpanel=3De= ;var = title=3Ddocument.createElement("a");title.className=3D"VE_PlaceList_Title= ";title.style.zIndex=3DparseInt(Msn.VE.API.Globals.veplacelistpanelzIndex= )+1;title.style.width=3DparseInt(Msn.VE.API.Globals.veplacelistpanelwidth= )-5+"px";title.style.top=3D"1px";title.style.left=3D"1px";title.style.hei= ght=3D"20px";title.innerHTML=3DIOSec.EncodeHtml(L_selectlocation_text);ti= tle.unselectable=3D"on";this.veplacelistpanel.appendChild(title);var = cb=3Ddocument.createElement("a");cb.className=3D"VE_PlaceList_Close";cb.i= d=3Dthis.m_vemap.ID+"_veplaceListclose";cb.style.zIndex=3DparseInt(Msn.VE= .API.Globals.veplacelistpanelzIndex)+2;cb.style.top=3D"1px";cb.style.righ= t=3D"1px";cb.unselectable=3D"on";cb.innerHTML=3DL_close_text;this.veplace= listpanel.appendChild(cb);body=3Ddocument.createElement("div");body.id=3D= this.m_vemap.ID+"_veplacelistbody";body.style.zIndex=3D300;body.style.hei= ght=3DMsn.VE.API.Globals.veplacelistpanelheight-38+"px";body.style.width=3D= Msn.VE.API.Globals.veplacelistpanelwidth-8+"px";body.className=3D"VE_Plac= eList_Body";this.veplacelistpanel.appendChild(body);this.m_vemap.AddContr= ol(this.veplacelistpanel,Msn.VE.API.Globals.veplacelistpanelzIndex)}else = body=3D$ID(this.m_vemap.ID+"_veplacelistbody");var = cb=3D$ID(this.m_vemap.ID+"_veplaceListclose");if(callbackOnClose=3D=3Dtru= e)cb.onclick=3Dfunction(){eval(veambiglistHide+onSelectCallback+"();")};e= lse cb.onclick=3Dself.Hide;body.innerHTML=3D"";for(var = i=3D0;i'+a[i].name+"";else = loc.innerHTML=3D''+a[i].name+"";else = if(onSelectCallback!=3Dnull&&onSelectCallback!=3D"undefined")loc.innerHTM= L=3D''+a[i][0]+"";else loc.innerHTML=3D''+a[i][0]+"";body.appendChild(loc)}this.veplacelistpan= el.style.display=3D"block";mvcViewFacade.ShowShimIfSupported(this.veplace= listpanel)};this.Hide=3Dfunction(){if(self.veplacelistpanel!=3Dnull&&self= .veplacelistpanel!=3D"undefined"){HideShim(self.veplacelistpanel);self.ve= placelistpanel.style.display=3D"none"}};this.IsVisible=3Dfunction(){var = a=3Dfalse;if(this.veplacelistpanel!=3Dnull&&this.veplacelistpanel!=3D"und= efined"&&this.veplacelistpanel.style.display!=3D"none")a=3Dtrue;return = a};this.Dispose=3Dfunction(){DestroyShim(self.veplacelistpanel);if(this.v= eplacelistpanel!=3Dnull&&this.veplacelistpanel!=3D"undefined")this.veplac= elistpanel=3Dnull}}function = VEGraphicsManager(w){VEValidator.ValidateObject(w,"vemap",VEMap,"VEMap");= var = a=3Dthis;this._spacecontrol=3Dnull;this._hackUniqueLayerId=3D"UniqueLayer= _Hack";var = ab=3Dnull;this._entityIdShapePostfix=3D"_Shape";this.m_vemap=3Dw;this.m_v= emapcontrol=3Dthis.m_vemap.vemapcontrol;var = f=3Dnull,F=3Dw._mapOptions.DrawingBuffer,p=3Dfalse,S=3D1,d=3Dnull;this._u= seOffset=3DVEShapeAccuracy.None;this._drawOverMaxShapes=3DVEFailedShapeRe= quest.DrawInaccurately;this._failRequest=3DVEFailedShapeRequest.DrawInacc= urately;var = Z=3Dnull,x=3Dnull,g=3D[],b=3D[],j=3D{},e=3Dfalse,c=3Dnull;this.m_spec=3Dn= ull;var = s=3Dnull,k=3Dnull,m=3Dtrue,Y=3DMsn.VE.API.Constants.iconurl,t=3D0,n=3Dnew= = _xy1;this.SetDisplayThreshold=3Dfunction(a){t=3Da};this.Initialize=3Dfunc= tion(){if(this.m_vegraphiccanvas=3D=3Dnull||this.m_vegraphiccanvas=3D=3D"= undefined"){this.m_vegraphicspolylines=3D[];this.m_vegraphicspolygons=3D[= ];var = b=3Ddocument.createElement("div");b.id=3D"rootgraphicshape";this.m_vemapc= ontrol.SetChildDiv(b);this.m_vegraphiccanvas=3DMsn.Drawing.Graphic.Create= Graphic(b,this.m_vemapcontrol);this.m_vegraphiccanvas.SetZIndex(17);this.= m_vemapcontrol.AttachEvent("onstartzoom",a.OnStartZoom);this.m_vemapcontr= ol.AttachEvent("onchangeview",a.Update);this.m_vemapcontrol.AttachEvent("= onmapoffsetreset",a.OnMapOffsetReset);this.m_vemapcontrol.AttachEvent("on= initmode",a.UpdateViewMode);if(window.ero=3D=3Dnull||window.ero=3D=3D"und= efined")window.ero=3DERO.getInstance()}};this.HideClusterLayers=3Dfunctio= n(){var d=3Da.m_vemap.GetShapeLayerCount();for(var c=3D0;cd.x1&&a.minY>d.y1&&a.maxX0){d++;if(f[d]=3D= =3Dnull){k=3Dfalse;d=3Dd+i-1;i=3D0}else{var = j=3Da.m_vemapcontrol.PixelToLatLong(f[d],a.m_vemapcontrol.GetZoomLevel())= ;b[c]._OffsetPoints.push(s.CreateVELatLong(j.latitude,j.longitude));i--;l= .push(f[d])}}}q(b[c]);if(k){h(b[c]);if(b[c]._OffsetCallBack)b[c]._OffsetC= allBack(l)}else{b[c]._OffsetScene=3Dnull;b[c]._OffsetLatLong=3Dnull;b[c].= _OffsetPoints=3Dnull;if(a._failRequest=3D=3DVEFailedShapeRequest.DoNotDra= w){if(b[c]._OffsetCallBack)b[c]._OffsetCallBack(null)}else = if(a._failRequest=3D=3DVEFailedShapeRequest.DrawInaccurately){b[c]._Offse= tScene=3D-1;h(b[c]);b[c]._OffsetScene=3Dnull;if(b[c]._OffsetCallBack)b[c]= ._OffsetCallBack(null)}else = if(a._failRequest=3D=3DVEFailedShapeRequest.QueueRequest){e=3Dtrue;o(b[c]= )};}d++}else for(var = c=3D0;c0){var = f=3DMsn.VE.API.Constants.maxasynlatlongs,d=3D[];while(g.length>0&&f>0){va= r = c=3Dg.shift();if(c.GetPrimitive(0).type!=3DVEShapeType.Pushpin&&c.GetPrim= itive(0).points.length/2>f-1){var = j=3Dc.GetPrimitive(0).points;if(j.length/2>Msn.VE.API.Constants.maxasynla= tlongs-1){q(c);if(a._drawOverMaxShapes=3D=3DVEFailedShapeRequest.DoNotDra= w){if(c._OffsetCallBack)c._OffsetCallBack(null)}else = if(a._drawOverMaxShapes=3D=3DVEFailedShapeRequest.DrawInaccurately){c._Of= fsetScene=3D-1;h(c);if(c._OffsetCallBack)c._OffsetCallBack(null)};}else{g= .unshift(c);f=3D0}}else = if(c._OffsetScene!=3Dk.GetID()){b.push(c);d.push(new = Msn.VE.LatLong(c.Latitude,c.Longitude));f--;if(c.GetPrimitive(0).type!=3D= VEShapeType.Pushpin){var j=3Dc.GetPrimitive(0).points;for(var = i=3D0;i0)e=3Dtrue;if(d!=3Dnull&&d.length>0){x=3Dk.GetID();a.m_v= emapcontrol.LatLongToPixelAsync(d,a.m_vemapcontrol.GetZoomLevel(),I)}}};f= unction = X(){if(!c)return;MC_MAX_COL_SIZE=3D200;if(c.GetCollectionCount()<1)return= ;l();for(var d=3D0;db.MaxScale||p0&&!IsBoundsIntersect(f,e))return = false;if(b.Spec!=3Dnull&&b.Spec.IconUrl!=3Dnull&&b.Spec.IconUrl!=3D"undef= ined")Y=3Db.Spec.IconUrl;var = g=3D$ID(b.GetId());if(g=3D=3Dnull){g=3Ddocument.createElement("div");g.se= tAttribute("id",b.GetId());k.appendChild(g)}var = o=3Dtrue;m=3Dtrue;if(IsContainedInView(d,e)){m=3Dfalse;o=3DIsDisplayShape= (a.m_vemap.vemapcontrol,t,e.x1,e.y1,e.x2,e.y2)}for(var = n=3D0;nb.maxZoomLevel||m0){var = c=3Da.m_vegraphicspolylines.length;for(var b=3D0;b0){var = g=3Da.m_vegraphicspolygons.length;for(var b=3D0;b0)L(e,b._clusteringOptions)}if(b._c= lusteringOptions&&b._clusteringOptions.Callback)clusterDescription=3Db._c= lusteringOptions.Callback(d);var f=3D[];for(var = c=3D0;c0){var = h=3Dd/c,i=3De/c;a.LatLong=3Dnew VELatLong(h,i)}var g=3Dnew = VEShape(VEShapeType.Pushpin,a.LatLong);a._clusterShape=3Dg;P(a,f);K(a)}}f= unction = P(a,b){if(a!=3Dnull&&a._clusterShape!=3Dnull)if(b&&b.Icon)a._clusterShape= .SetCustomIcon(b.Icon);else = a._clusterShape.SetCustomIcon(Msn.VE.API.Constants.clustericonurl)}functi= on K(b){if(b!=3Dnull&&b._clusterShape!=3Dnull){var = d=3DL_ClusterDefaultTitle_Text.replace(/%1/g,b.Shapes.length);b._clusterS= hape.SetTitle(d);var = c=3Da.m_vemap.vemapcontrol.GetCurrentMode();if(c&&a.m_vemap.GetZoomLevel(= )0){g[i]=3DMath.floor(c%d);c=3DMath.floor(c/d);--i}for(var= b=3D0;b=3Da&&d<=3Dc){var = e=3D(d-a)/(c-a),f=3De*b+.5;return Math.min(Math.floor(f),b)}else throw = L_floatintegermapencodingoutofrange_text};this.IntToFloat=3Dfunction(d){i= f(d<=3Db){var f=3Dd/b,e=3Da+f*(c-a);return e}else throw = L_floatintegermapencodingoutofrange_text}}var = L_velatlongencodinginvalidstringlength_text=3D"_xz1: Invalid string = length";function _xz1(b){var = i=3D-90,h=3D90,g=3D-180,f=3D180,j=3D"0123456789bcdfghjkmnpqrstvwxyz",e=3D= 6;if(b!=3Dnull&&typeof b!=3D"undefined")e=3Db;var a=3Dnew = VEIntegerEncoding(j,e),d=3Dnew = VEFloatIntegerMap(i,h,a.MaxValue()),c=3Dnew = VEFloatIntegerMap(g,f,a.MaxValue());this.Encode=3Dfunction(e,b){var = f=3Da.Encode(d.FloatToInt(e))+a.Encode(c.FloatToInt(b));return = f};this.Decode=3Dfunction(f){if(f.length=3D=3D2*a.ValueLength()){var = e=3Da.ValueLength(),j=3Df.substr(0,e),h=3Df.substr(e,e),i=3Da.Decode(j),g= =3Da.Decode(h),b=3D[];b[0]=3Dd.IntToFloat(i);b[1]=3Dc.IntToFloat(g);retur= n b}else throw L_velatlongencodinginvalidstringlength_text}}function = _xz1ForMobile(){_xz1.call(this,5)}VEMapMode=3Dnew = function(){this.Mode2D=3D1;this.Mode3D=3D2};function = VEMapViewSpecification(c,d,e,g,f){this.LatLong=3Dnull;this.ZoomLevel=3Dnu= ll;this.Altitude=3Dnull;this.Pitch=3Dnull;this.Heading=3Dnull;if(c!=3Dnul= l&&c!=3D"undefined"){VEValidator.ValidateObject(c,"veLatLong",VELatLong,"= VELatLong");this.LatLong=3Dc}if(d!=3Dnull&&d!=3D"undefined"){VEValidator.= ValidateNonNegativeInt(d,"zoomLevel");this.ZoomLevel=3Dd}if(e!=3Dnull&&e!= =3D"undefined"){VEValidator.ValidateFloat(e,"altitude");this.Altitude=3Dp= arseFloat(e)}if(g!=3Dnull&&g!=3D"undefined"){VEValidator.ValidateFloat(g,= "pitch");var = a=3DparseFloat(g);a=3Da%360;if(a<-90)a=3D-90;if(a>90)a=3D90;this.Pitch=3D= a}if(f!=3Dnull&&f!=3D"undefined"){VEValidator.ValidateFloat(f,"heading");= var = b=3DparseFloat(f);b=3Db%360;if(b<0)b+=3D360;this.Heading=3Db}}function = MapViewSpecClone(){var a=3Dnew = VEMapViewSpecification;a.LatLong=3Dthis.LatLong.Clone();a.Altitude=3Dthis= .Altitude;a.Pitch=3Dthis.Pitch;a.Heading=3Dthis.Heading;return = veLatLong}VEMapViewSpecification.prototype.Clone=3DMapViewSpecClone;VEMap= Style=3Dnew = function(){this.Road=3DMsn.VE.MapStyle.Road;this.Shaded=3DMsn.VE.MapStyle= .Shaded;this.Aerial=3DMsn.VE.MapStyle.Aerial;this.Hybrid=3DMsn.VE.MapStyl= e.Hybrid;this.Oblique=3DMsn.VE.MapStyle.Oblique;this.Birdseye=3DMsn.VE.Ma= pStyle.Oblique;this.BirdseyeHybrid=3DMsn.VE.MapStyle.ObliqueHybrid};VEOri= entation=3Dnew = function(){this.North=3DMsn.VE.Orientation.North;this.East=3DMsn.VE.Orien= tation.East;this.West=3DMsn.VE.Orientation.West;this.South=3DMsn.VE.Orien= tation.South};function = VEBirdseyeScene(d){VEValidator.ValidateNonNull(d,"obliqueScene");var = a=3Dd,f=3Dnull,c=3Dnull,e=3Dnew VELatLongFactory(new = VELatLongFactoryAlwaysEncodeSpec),b=3Dnew = _xy1;this.PixelToLatLong=3Dfunction(d,b,f){if(b!=3Dnull){VEValidator.Vali= dateNonNegativeInt(b,"zoomLevel");b=3DparseInt(b)}else = b=3DVEMap._GetMapFromGUID(c).GetZoomLevel();if(f){VEValidator.ValidateObj= ectArray(d,"pixelArray",VEPixel,"VEPixel = array");VEValidator.ValidateFunction(f,"callback");this.PixelToLatLongAsy= nc(d,b,f)}else{VEValidator.ValidateObject(d,"pixel",VEPixel,"VEPixel");va= r g=3Da.PixelToLatLong(d,b);return = e.CreateVELatLong(g.latitude,g.longitude)}};this.PixelToLatLongAsync=3Dfu= nction(b,c,d){a.PixelToLatLongAsync(b,c,d)};this.LatLongToPixel=3Dfunctio= n(e,d,f){if(d!=3Dnull){VEValidator.ValidateNonNegativeInt(d,"zoomLevel");= d=3DparseInt(d)}else = d=3DVEMap._GetMapFromGUID(c).GetZoomLevel();if(f){VEValidator.ValidateObj= ectArray(e,"veLatLongArray",VELatLong,"VELatLong = array");VEValidator.ValidateFunction(f,"callback");this.LatLongToPixelAsy= nc(e,d,f)}else{VEValidator.ValidateObject(e,"veLatLong",VELatLong,"VELatL= ong");var g=3Db.Decode(e),h=3Dnew = Msn.VE.LatLong(g.Latitude,g.Longitude);return = a.LatLongToPixel(h,d)}};this.LatLongToPixelAsync=3Dfunction(e,g,h){var = f=3D[];for(var c=3D0;ca)d=3Da;return = b[d]};this.getTotal=3Dfunction(){return this.getValue(1)};function = c(){b=3D[];b[0]=3D0;for(var = c=3D1;c<=3Da;c++)b[c]=3Db[c-1]+d(c/a)}},Movie:function(b,g){var = a=3Dthis;this.Repeat=3Dtrue;this.AppendContent=3Dtrue;var = e=3D[],c=3D-1,d=3Dnull;this.addFrame=3Dfunction(b,a){if(a=3D=3Dnull)a=3Dt= rue;var = c=3D{data:b,append:a};e.push(c)};this.start=3Dfunction(){a.stop();a.show(= );a.clear();c=3D-1;d=3DsetInterval(h,g)};this.stop=3Dfunction(){if(d)clea= rInterval(d)};this.end=3Dfunction(){a.stop();f(e.length-1)};this.show=3Df= unction(){b.style.visibility=3D"visible"};this.hide=3Dfunction(){b.style.= visibility=3D"hidden"};this.clear=3Dfunction(){b.innerHTML=3D""};function= = h(){c++;if(c>e.length-1){c=3D0;if(!a.Repeat){clearInterval(d);return}else= a.clear()}f(c)}function f(c){var = a=3De[c];if(a.append)b.innerHTML+=3Da.data;else = b.innerHTML=3Da.data}},RollDirection:{TopDown:1,RightLeft:2,BottomUp:4,Le= ftRight:8},RollStyle:{In:0,Out:1},Roller:function(q){var = c=3Dthis;this.superclass=3DMsn.VE.OO.Eventable.EventableObject;this.super= class();var = l=3DMsn.VE.Css,a=3DMsn.VE.Animation,h=3DMsn.VE.OO.Eventable,b=3Dq,d=3Dnul= l,f=3Dtrue,g=3Dfalse,e=3DAccelerationFunctions.CrazyElevator,i=3D10,j=3D1= 0,m=3D5,p=3D{top:1,right:2,bottom:3,left:4},o=3D{top:3,right:4,bottom:1,l= eft:2};this.setAccelerationFunction=3Dfunction(a){if(a instanceof = Msn.VE.Animation.AccelerationFunction)e=3Da};this.setXLeave=3Dfunction(a)= {if(typeof = a=3D=3D"number"&&a>=3D0)i=3DMath.floor(a,10)};this.setYLeave=3Dfunction(a= ){if(typeof = a=3D=3D"number"&&a>=3D0)j=3DMath.floor(a,10)};this.getLeave=3Dfunction(){= return {x:i,y:j}};this.setDelay=3Dfunction(a){if(typeof = a=3D=3D"number"&&a>0)m=3DMath.floor(a,10)};this.isExpanded=3Dfunction(){r= eturn f};this.isRolling=3Dfunction(){return = g};this.isAssociated=3Dfunction(){if(d!=3Dnull&&d.length>0)return = true;return false};this.associate=3Dfunction(a){if(a instanceof = Array)d=3Da};this.rollIn=3Dfunction(d){if(g)return;c.executeEvent("before= rollin",c,new = h.EventArgs("beforerollin",b));k(a.RollStyle.In,d);f=3Dfalse};this.rollOu= t=3Dfunction(d){if(g)return;c.executeEvent("beforerollout",c,new = h.EventArgs("beforerollout",b));k(a.RollStyle.Out,d);f=3Dtrue};this.expan= d=3Dfunction(b){k(a.RollStyle.Out,b,false);f=3Dtrue};this.collapse=3Dfunc= tion(b){k(a.RollStyle.In,b,false);f=3Dfalse};function = k(u,k,t){g=3Dtrue;if(t!=3D=3Dfalse)t=3Dtrue;n();var = f=3Dp,q=3D0,r=3D0;if(u=3D=3Da.RollStyle.Out){f=3Do;q=3Di;r=3Dj}var = y=3Db.offsetWidth,w=3Db.offsetHeight,A=3Dy-i,B=3Dw-j,C=3DA/e.getTotal(),D= =3DB/e.getTotal(),x=3De.getSteps();if(!t){v(1)();return}for(var = s=3D0;s<=3Dx;s++){var z=3Ds/x;setTimeout(v(z),s*m)}function v(i){return = function(){var = m=3DparseInt(Math.round(e.getValue(i)*C))+q,n=3DparseInt(Math.round(e.get= Value(i)*D))+r,j=3D{top:0,right:0,bottom:0,left:0};if((k&a.RollDirection.= TopDown)=3D=3Da.RollDirection.TopDown){l.Functions.setClip(b,f.top,n+"px"= );j.top=3Dn-r}if((k&a.RollDirection.RightLeft)=3D=3Da.RollDirection.Right= Left){l.Functions.setClip(b,f.right,y-m+"px");j.right=3D-m+q}if((k&a.Roll= Direction.BottomUp)=3D=3Da.RollDirection.BottomUp){l.Functions.setClip(b,= f.bottom,w-n+"px");j.bottom=3D-n+r}if((k&a.RollDirection.LeftRight)=3D=3D= a.RollDirection.LeftRight){l.Functions.setClip(b,f.left,m+"px");j.left=3D= m-q}if(d!=3Dnull){var p;for(p=3D0;p0)b=3Da};this.slideToPoint=3Dfunction(e,i){var = d=3Dnew = c.Point(e.offsetLeft,e.offsetTop),n=3Dd.getDistanceFrom(i);a.setSteps(Mat= h.floor(n/10));var = p=3Dn/a.getTotal(),o=3Di.y-d.y,l=3Di.x-d.x,f=3DMath.atan(o/l),m=3Da.getSt= eps();for(var h=3D0;h<=3Dm;h++){sum=3Da.getValue(h/m);var = g=3Dsum*p,k,j;if(l<0){k=3Dd.y-Math.sin(f)*g;j=3Dd.x-Math.cos(f)*g}else{k=3D= d.y+Math.sin(f)*g;j=3Dd.x+Math.cos(f)*g}setTimeout(q(j,k),h*b)}function = q(a,b){return = function(){e.style.top=3DparseInt(Math.round(b))+"px";e.style.left=3Dpars= eInt(Math.round(a))+"px"}}}}};var AccelerationFunctions=3D{Linear:new = Msn.VE.Animation.AccelerationFunction(function(){return = 1}),ExponentialAcc:new = Msn.VE.Animation.AccelerationFunction(function(b){var = a=3D0,d=3D1,c=3Dd-a,f=3Da+b*c,e=3DMath.pow(f,2);return = e}),ExponentialDec:new = Msn.VE.Animation.AccelerationFunction(function(b){var = a=3D-1,d=3D0,c=3Dd-a,f=3Da+b*c,e=3DMath.pow(f,2);return = e}),CosineWave:new Msn.VE.Animation.AccelerationFunction(function(b){var = a=3D-Math.PI,d=3DMath.PI,c=3Dd-a,f=3Da+b*c,e=3DMath.cos(f)+1;return = e}),CrazyElevator:new = Msn.VE.Animation.AccelerationFunction(function(b){var = a=3D-5,d=3D5,c=3Dd-a,f=3Da+b*c,e=3D2/(Math.pow(Math.abs(f),3)+1);return = e})};_VERegisterNamespaces("Msn.VE.Geometry");Msn.VE.Geometry.Point=3Dfun= ction(c,d){var = a=3Dthis,b=3DMsn.VE.Geometry;this.x=3Dc;this.y=3Dd;this.add=3Dfunction(c,= d){var e=3Dnew b.Point(a.x+c,a.y+d);return = e};this.getDistanceFrom=3Dfunction(b){var = c=3DMath.pow(b.x-a.x,2)+Math.pow(b.y-a.y,2),d=3DMath.sqrt(c);return = d}};Msn.VE.Geometry.Overlap=3D{Range:{GreaterThanX:1,LessThanX:2,GreaterT= hanY:4,LessThanY:8,InXRange:16,InYRange:32,InRange:48},getInstance:functi= on(f,g){var d=3DMsn.VE.Geometry.Overlap,a=3Df,b=3Dg,c=3D0;e();function = e(){if(b.getP2().x>a.getP2().x)c+=3Dd.Range.GreaterThanX;if(b.getP1().xa.getP2().y)c+=3Dd.Range= .GreaterThanY;if(b.getP1().y=3Da.x&&c.x<=3Db.x&&c.y>=3Da.y&&c.y<=3Db.y};this.scale=3Dfunction(d){= a.x-=3Dd;a.y-=3Dd;b.x+=3Dd;b.y+=3Dd;c()};this.getOverlap=3Dfunction(a){va= r b=3DMsn.VE.Geometry;return new b.Overlap.getInstance(g,a)};function = c(){d=3Db.y-a.y;e=3Db.x-a.x}};Msn.VE.Geometry.Functions=3D{getSlope:funct= ion(a,b){return (b.y-a.y)/(b.x-a.x)},getYIntercept:function(b,a){return = a.y-b*a.x},getBestBoundingPoint:function(f,b,c){var = a=3DMsn.VE.Geometry;if(!b)b=3Dg(f).getScreenPosition();var e=3Dnew = a.Rectangle(b,new = a.Point(b.x+f.offsetWidth,b.y+f.offsetHeight)),j=3Dc.getOverlap(e),d=3Dj.= getRange();if((d&a.Overlap.Range.InRange)=3D=3Da.Overlap.Range.InRange)re= turn b;var = h=3Db.x,i=3Db.y;if(d&a.Overlap.Range.GreaterThanX)h=3Dc.getP2().x-e.getWi= dth();if(d&a.Overlap.Range.LessThanX)h=3Dc.getP1().x;if(d&a.Overlap.Range= .GreaterThanY)i=3Dc.getP2().y-e.getHeight();if(d&a.Overlap.Range.LessThan= Y)i=3Dc.getP1().y;return new = a.Point(h,i)}};_VERegisterNamespaces("Msn.VE.OO.Eventable");Msn.VE.OO.Eve= ntable.EventArgs=3Dfunction(b,a){this.EventName=3Db;this.Recipient=3Da};M= sn.VE.OO.Eventable.EventableObject=3Dfunction(){if(typeof = window.attachEvent!=3D"undefined")window.attachEvent("onunload",c);var = a=3D[];this.getEventHash=3Dfunction(){return = a};this.hookEvent=3Dfunction(d,e){var c=3Da[d];if(typeof = c=3D=3D"undefined"||c=3D=3Dnull){c=3Dnew = b(d);a[d]=3Dc}c.addEvent(e)};this.unhookEvent=3Dfunction(d,e){var = c=3Da[d];if(c instanceof = b)c.removeEvent(e)};this.executeEvent=3Dfunction(g,h,f){var = d=3Da[g];if(!(d instanceof b))return;var = e=3Dd.getEvents(),c;for(c=3D0;c');e.addFrame('
');e.addFrame('
');e.addFrame("");e.addFrame("");e.addFrame('
',false);e.addFrame('
',false);e.Repeat=3Dfalse;this.destroy=3Dfunction(){if(b){= if(typeof = b.removeEventListener!=3D"undefined"){b.removeEventListener("mouseover",x= ,false);b.removeEventListener("mouseout",y,false)}else{b.detachEvent("onm= ouseover",x);b.detachEvent("onmouseout",y)}if(j.shimElement){j.shimElemen= t.removeNode(true);j.shimElement=3Dnull}b.parentNode.removeChild(b);d.par= entNode.removeChild(d);b=3Dnull;s=3Dnull;j=3Dnull;q=3Dnull;p=3Dnull;m=3Dn= ull;l=3Dnull;t=3Dnull;v=3Dnull}ERO.m_theEro=3Dnull;k=3Dnull};this.getElem= ent=3Dfunction(){return b};this.getBody=3Dfunction(){return = j};this.getAnimation=3Dfunction(){return = e};this.getDelay=3Dfunction(){return = o+n};this.setDelay=3Dfunction(a){o=3Da||o};this.getDelayDelta=3Dfunction(= ){return = n};this.setDelayDelta=3Dfunction(a,b){B=3Db=3D=3Dfalse?false:true;if(type= of = a=3D=3D"number"){n=3Da;if(!h&&r!=3D-1)c.hide()}};this.setClasses=3Dfuncti= on(b,d){var = a;if(ERO.DefaultClasses=3D=3D=3Dnull){ERO.DefaultClasses=3D{};for(a in = ERO.Classes)ERO.DefaultClasses[a]=3DERO.Classes[a]}if(d!=3D=3Dfalse)c.set= Classes(ERO.DefaultClasses,false);for(a in b)if(typeof = ERO.Classes[a]!=3D"undefined")ERO.Classes[a]=3Db[a];D()};this.setBeak=3Df= unction(a){if(a=3D=3DERO.BeakDirection.Left)g(b).removeClass(ERO.Classes.= ContainerRightBeak).addClass(ERO.Classes.ContainerLeftBeak);else = g(b).removeClass(ERO.Classes.ContainerLeftBeak).addClass(ERO.Classes.Cont= ainerRightBeak)};this.setContent=3Dfunction(c){var = a=3Ddocument.createElement("div");a.className=3D"firstChild";a.innerHTML=3D= c;var b=3Dl.firstChild;if(b)l.replaceChild(a,b);else = l.appendChild(a);a=3Dnull;b=3Dnull};this.addAction=3Dfunction(b){var = a=3Ddocument.createElement("li");if(!b)return;a.innerHTML=3Db;p.appendChi= ld(a);a=3Dnull};this.clearActions=3Dfunction(){var = a=3Dp.getElementsByTagName("li"),c=3Da.length;for(var = b=3D0;bf.getP2().x?= f.getP1().x+f.getWidth()-B:s-B-m.getWidth()}if(p&a.Overlap.Range.LessThan= X){c.setBeak(ERO.BeakDirection.Left);w=3Df.getP1().x}if(p&a.Overlap.Range= .GreaterThanY){x=3Df.getP1().y+f.getHeight()-G;var = H=3DD.getBottomYBleed();g+=3DH;if(g>b.offsetHeight-ERO.BeakHeight)g=3Db.o= ffsetHeight-ERO.BeakHeight-4}if(p&a.Overlap.Range.LessThanY){x=3Df.getP1(= ).y;var = H=3DD.getTopYBleed();g-=3DH;if(g<0)g=3D0}b.style.top=3Dx+v;b.style.left=3D= w+v;t.style.top=3Dg+"px";c.executeEvent("beforeshow",c,new = ERO.EROEventArgs("beforeshow",b,k));if(!i.useBeak)b.className=3DERO.Class= es.ContainerNoBeak;z=3Dfalse;if(i.useProgressTimer){e.start();if(!i.useFa= de){setTimeout(u,o+n);return}}if(i.useFade)setTimeout(F,o+n);else = u()};this.showImmediate=3Dfunction(){z=3Dh=3Dtrue;e.end();u()};this.hide=3D= function(a){h=3Dfalse;if(a=3D=3D=3Dtrue)A();else{clearTimeout(r);r=3DsetT= imeout(A,o+n)}};this.setGlitz=3Dfunction(c,d,a,b){if(c!=3Dnull)i.useBeak=3D= c;if(d!=3Dnull)i.useFade=3Dd;if(a!=3Dnull)i.useProgressTimer=3Da;if(b=3D=3D= =3Dtrue)i.isTemporary=3Db;else = C=3Di.copy()};this.setBoundingArea=3Dfunction(e,g){if(e=3D=3D=3Dnull){var= = b=3DGimme.Screen.getScrollPosition(),c=3DGimme.Screen.getViewportSize(),d= =3Dnew a.Rectangle(new a.Point(0,0),new = a.Point(c.width,c.height));d.move(new a.Point(b.x,b.y));f=3Dd}else = f=3Dnew a.Rectangle(e,g)};this.getBoundingArea=3Dfunction(){return = f};this.isInUse=3Dfunction(){return = h};this.isVisible=3Dfunction(){return = b.style.visibility=3D=3D"visible"};this.addToPage=3Dfunction(){b.style.vi= sibility=3D"hidden";d.style.visibility=3D"hidden";document.body.appendChi= ld(b);document.body.appendChild(d)};this.getSize=3Dfunction(){var = c=3Db.offsetLeft,d=3Db.offsetTop,f=3Dc+b.offsetWidth,g=3Dd+b.offsetHeight= ,e=3Dnew a.Rectangle(new a.Point(c,d),new a.Point(f,g));return = e};function E(b,a){if(b=3D=3Da)return = false;while(a&&a!=3Db)a=3Da.parentNode;return a=3D=3Db}function = x(){h=3Dtrue}function y(a){var = d=3Da.relatedTarget||a.toElement||a.srcElement;if(!E(b,d))c.hide()}functi= on = u(){if(b&&h){if(b.style.visibility!=3D"visible")b.style.visibility=3D"vis= ible";if(typeof = b.style.opacity!=3D"undefined")b.style.opacity=3D1;c.executeEvent("afters= how",c,new ERO.EROEventArgs("aftershow",b,k));i=3DC.copy()}}function = A(){if(!h&&b){c.executeEvent("beforehide",c,new = ERO.EROEventArgs("beforehide",b,k));b.style.visibility=3D"hidden";e.hide(= );if(!Msn.VE.API){d.style.left=3Db.style.left=3D"0";d.style.top=3Db.style= .top=3D"0"}k=3Dnull;c.executeEvent("afterhide",c,new = ERO.EROEventArgs("afterhide",b,k))}if(B)n=3D0}function = F(){if(z||!h||!b)return;if(b.style&&typeof = b.style.filter!=3D"undefined"){b.style.filter=3D"progid:DXImageTransform.= Microsoft.Fade(duration=3D.5)";b.filters[0].Apply();b.style.visibility=3D= "visible";b.style.display=3D"block";b.filters[0].Play();var = c=3DsetInterval(function(){if(b.filters[0].status=3D=3D0){clearInterval(c= );u()}},10)}else{b.style.visibility=3D"visible";if(w=3D=3D=3D0)a()}functi= on a(){if(h&&++w<=3D10){var = c=3Dw*.09999999;b.style.opacity=3Dc;setTimeout(a,50)}else{u();w=3D0}}}fun= ction = D(){b.className=3DERO.Classes.Container;s.className=3DERO.Classes.Shadow;= j.className=3DERO.Classes.Body;t.className=3DERO.Classes.Beak;q.className= =3DERO.Classes.Actions;m.className=3DERO.Classes.ActionsBackground;l.clas= sName=3DERO.Classes.PreviewArea;v.className=3DERO.Classes.PaddingHack;d.c= lassName=3DERO.Classes.ProgressAnimation}}}};function = LogEROBehavior(eroEvent,fromPanel){var = bERO=3D$find(eroEvent.Entity.id+"_ero");if(bERO!=3Dnull){var = eroSource=3Deval(fromPanel?bERO.get_EROPanel():bERO.get_EROMap()),pageNam= e=3Deval(bERO.get_PageName());if(eroSource)$VE_A.Log(pageName,eroSource)}= }function = LogEROBehaviorFromPanel(a){ero.unhookEvent("aftershow",LogEROBehaviorFrom= Panel);LogEROBehavior(a,true)}function = LogEROBehaviorFromMap(a){ero.unhookEvent("aftershow",LogEROBehaviorFromMa= p);LogEROBehavior(a,false)}function = VETime(){}VETime.FormatTime=3Dfunction(a){if(a=3D=3Dnull||a=3D=3D""||a=3D= =3D"undefined")return "";var = c=3Dfalse,d=3Da.substr(0,10),e=3Da.substr(11,5),b=3D"";if(a.indexOf("AM")= >-1){b=3D"AM";c=3Dtrue}else b=3D"PM";return d+" = "+VETime.ConvertTo12HourFormat(e,c)+" = "+b};VETime.ConvertTo12HourFormat=3Dfunction(d,c){var a=3Dd;try{var = b=3DparseFloat(a.replace(":","."));if(b>12)if(b<13&&c!=3Dtrue);else = b=3Db-12;a=3Db.toFixed(2);a=3Da.replace(".",":")}catch(e){a=3D""}return = a};VETime.FormatPanelTime=3Dfunction(a,g){if(a=3D=3Dnull||a=3D=3D""||a=3D= =3D"undefined")return "";try{var = b=3D0,d=3Dfalse,i=3Da.substr(4,8),h=3Da.indexOf(":"),f=3Da.substr(h-2,5),= c=3D"";if(a.indexOf("AM")>-1){c=3D"AM";d=3Dtrue;b=3Da.indexOf("AM")}else{= c=3D"PM";b=3Da.indexOf("PM")}var = e=3D"";if(b>0)e=3Da.substr(b+3,3);if(g)return i+" = "+VETime.ConvertTo12HourFormat(f,d)+" "+c+" "+e;else return = VETime.ConvertTo12HourFormat(f,d)+" "+c+" = "+e}catch(j){}};VETime.getMonth=3Dfunction(a){switch(a){case "01":return = " Jan";case "02":return " Feb";case "03":return " Mar";case "04":return = " Apr";case "05":return " May";case "06":return " Jun";case "07":return = " Jul";case "08":return " Aug";case "09":return " Sep";case "10":return = " Oct";case "11":return " Nov";case "12":return " = Dec"}};VEMap.prototype.GetImageryMetadata=3Dfunction(c,a){var = j=3Dthis;VEValidator.ValidateFunction(c);if(a){VEValidator.ValidateObject= (a,"options",VEImageryMetadataOptions,"VEImageryMetadataOptions");if(a.La= tLong!=3Dnull)VEValidator.ValidateObject(a.LatLong,"LatLong",VELatLong,"V= ELatLong");if(a.MapStyle!=3Dnull)VEValidator.ValidateMapStyle(a.MapStyle,= "MapStyle");if(a.ZoomLevel!=3Dnull){VEValidator.ValidateNonNegativeInt(a.= ZoomLevel,"ZoomLevel");if(a.ZoomLevel=3D=3D0||a.ZoomLevel>Msn.VE.API.Glob= als.vemaxzoom)throw new = VEException("VEMap.GetImageryMetadata","err_invalidargument",L_invalidarg= ument_text.replace("%1","ZoomLevel").replace("%2","int"))}}else a=3Dnew = VEImageryMetadataOptions;if(a.LatLong=3D=3Dnull)a.LatLong=3Dthis.GetCente= r();if(a.MapStyle=3D=3Dnull)a.MapStyle=3Dthis.GetMapStyle();if(a.ZoomLeve= l=3D=3Dnull)a.ZoomLevel=3Dthis.GetZoomLevel();if((a.MapStyle=3D=3DVEMapSt= yle.Road||a.MapStyle=3D=3DVEMapStyle.Shaded||a.MapStyle=3D=3DVEMapStyle.A= erial||a.MapStyle=3D=3DVEMapStyle.Hybrid)&&(this.HasClientToken()||this.H= asValidCredentials())){if(a.MapStyle=3D=3DVEMapStyle.Shaded)a.MapStyle=3D= =3DVEMapStyle.Road;var d=3Dnew = Msn.VE.LatLong;d.latitude=3Da.LatLong.Latitude;d.longitude=3Da.LatLong.Lo= ngitude;var = g=3Dthis.vemapcontrol.GetOrthoMode(),i=3Dg.LatLongToPixel(d,a.ZoomLevel),= h=3DVEPixelToQuadKey(i,a.ZoomLevel),b=3D[];if(this.HasClientToken())b.pus= h(new = VEParameter(Msn.VE.API.Constants.clienttoken,this.ClientToken));b.push(ne= w VEParameter("quadKey",'"'+h+'"'));b.push(new = VEParameter("mapStyle",'"'+a.MapStyle+'"'));b.push(new = VEParameter("tileGeneration",'"'+this.vemapcontrol.GetTileGeneration(a.Ma= pStyle)+'"'));this.vemapcontrol.Fire("onstartrequest");function = e(a){j._GetImageryMetadataHandler(a,c)}VEAPIRequestInvoke(Msn.VE.API.Cons= tants.imageryurl+"/GetTileMetadata",b,e)}else{var f=3Dnew = VEImageryMetadata;c(f)}};VEMap.prototype._GetImageryMetadataHandler=3Dfun= ction(a,c){this.vemapcontrol.Fire("onendrequest");this.__HandleAuthentica= tion(a);var b=3Dnull;if(a){b=3Dnew VEImageryMetadata;if(typeof = a.Vintage!=3D"undefined"&&a.Vintage!=3Dnull){if(typeof = a.Vintage.From!=3D"undefined"&&a.Vintage.From!=3Dnull){var = d=3Da.Vintage.From;b.DateRangeStart=3DParseJsonDate(d)}if(typeof = a.Vintage.To!=3D"undefined"&&a.Vintage.To!=3Dnull){var = e=3Da.Vintage.To;b.DateRangeEnd=3DParseJsonDate(e)}}}if(typeof = c=3D=3D"function")c(b)};function ParseJsonDate(dateString){var = date=3Dnull;if(dateString)try{dateString=3DdateString.replace(/\//g,"");d= ate=3Deval("new "+dateString+";")}catch(a){}return date}function = VEImageryMetadata(){this.DateRangeStart=3Dnull;this.DateRangeEnd=3Dnull;t= his.toString=3Dfunction(){strDateStart=3D"";strDateEnd=3D"";if(this.DateR= angeStart)strDateStart+=3Dthis.DateRangeStart.getFullYear();if(this.DateR= angeEnd)strDateEnd+=3Dthis.DateRangeEnd.getFullYear();var = a;if(strDateStart=3D=3DstrDateEnd)a=3DstrDateStart;else = a=3DstrDateStart+" - "+strDateEnd;return a}}function = VEImageryMetadataOptions(){this.LatLong=3Dnull;this.MapStyle=3Dnull;this.= ZoomLevel=3Dnull}var = customCursors=3DMsn.VE.Css.Cursors.CustomCursors;if(customCursors!=3Dnull= ){var = i,len=3DcustomCursors.length;for(i=3D0;i=3D0)&&(typeof = VEAPI_DisableAtlasCompat=3D=3D"undefined"||VEAPI_DisableAtlasCompat!=3Dtr= ue))VENetwork.DownloadScript(Msn.VE.API.Constants.atlascompatjs);VENetwor= k.AttachStyleSheet(Msn.VE.API.Constants.stylesheet);if(navigator.userAgen= t.indexOf("MSIE")>=3D0&&parseInt(navigator.userAgent.substring(navigator.= userAgent.indexOf("MSIE")+5))=3D=3D6)VENetwork.AttachStyleSheet(Msn.VE.AP= I.Constants.stylesheetiev6);try{document.namespaces.add("v","urn:schemas-= microsoft-com:vml")}catch(a){}function = RequestQueueItem(a,b,c,d){this.Call=3Da;this.Param1=3Db;this.Param2=3Dc;t= his.Param3=3Dd}function = VECustomEvent(b,a){this.Name=3Db;this.Callback=3Da}VECacheMode=3D{Auto:0,= EnableTileCaching:1};function = VEMapOptions(){this.EnableBirdseye=3Dtrue;this.EnableDashboardLabels=3Dtr= ue;this.LoadBaseTiles=3Dtrue;this.BirdseyeOrientation=3DVEOrientation.Nor= th;this.DrawingBuffer=3D0;this.CacheMode=3DVECacheMode.Auto}function = VEMap(g){var = a=3Dthis;this.ID=3Dg;this.GUID=3DVENetwork.GetExecutionID();this.ClientTo= ken=3Dnull;this.Credentials=3Dnull;var = f=3Dfalse;if(Msn.VE.API.Globals.vemapinstances=3D=3Dnull||Msn.VE.API.Glob= als.vemapinstances=3D=3D"undefined")Msn.VE.API.Globals.vemapinstances=3D[= ];Msn.VE.API.Globals.vemapinstances[this.GUID]=3Da;this.requestQueue=3D[]= ;this.preInitCustomEvents=3D[];this.network=3Dnew = VENetwork;this.mapelement=3D$ID(g);this.pushpins=3D[];this.Disambiguation= Callback=3Dnull;this.ShowMessageBox=3Dtrue;if(this.mapelement=3D=3Dnull)t= hrow new = VEException("VEMap:cstr","err_invalidelement",L_invalidelement_text);this= .m_vedirectionsmanager=3Dnull;this._dm=3Dthis.m_vedirectionsmanager;this.= m_routemanager=3Dnull;this.m_vesearchmanager=3Dnull;this._sm=3Dthis.m_ves= earchmanager;this.m_vemessage=3Dnew = VEMessage(this);this.m_veambiguouslist=3Dnew VEAmbiguouslist(this);var = c=3Dnew VELatLongFactory(new VELatLongFactorySpecFromMap(this)),b=3Dnew = _xy1;this.queueEventInitialized=3Dfalse;this.RequestQueueEnabled=3Dtrue;t= his.queueEventInitialized=3Dfalse;windowWidth=3DGetWindowWidth();windowHe= ight=3DGetWindowHeight();scrollbarWidth=3DGetScrollbarWidth();this.dashbo= ardSize=3DMsn.VE.DashboardSize.Normal;this.dashboardVersion=3D6;this._sho= wDashboard=3Dtrue;this._showScalebar=3Dtrue;this._mapPrintOptions=3Dnull;= this.LoadMap=3Dfunction(c,i,l,k,d,h,e,g){if(!a)throw new = VEException("VEMap:LoadMap","err_notinitializedmap",L_notinitialized_text= );if(typeof = d!=3D"undefined"&&d!=3Dnull){VEValidator.ValidateMapMode(d,"mapMode");thi= s.mapMode=3Dd}if(c!=3Dnull&&c!=3D"undefined"){VEValidator.ValidateObject(= c,"veLatLong",VELatLong,"VELatLong");var = f=3Db.Decode(c);this.initialLatitude=3Df.Latitude;this.initialLongitude=3D= f.Longitude}this.fixedMap=3Dk;this.initialZoomLevel=3Di;this.initialMapSt= yle=3Dl;this.showMapModeSwitch=3Dh;if(e!=3Dnull&&typeof = e!=3D"undefined")this.tileBuffer=3De;this._mapOptions=3Dg?g:new = VEMapOptions;VEValidator.ValidateOrientation(this._mapOptions.BirdseyeOri= entation,"VEMapOptions.BirdseyeOrientation");VEValidator.ValidateFloat(th= is._mapOptions.DrawingBuffer,"VEMapOptions.DrawingBuffer");VEValidator.Va= lidateBetween(this._mapOptions.DrawingBuffer,"VEMapOptions.DrawingBuffer"= ,0,Number.POSITIVE_INFINITY);VEValidator.ValidateCacheMode(this._mapOptio= ns.CacheMode,"VEMapOptions.CacheMode");this.veonmaploadevent=3Dthis.onLoa= dMap;this.mapelement.innerHTML=3D"";this.mapelement.innerHTML=3D"

"+L_loading_text+"

";this.Initi= alizeMap();this.vemapcontrol.AttachEvent("onstartpan",function(){if(windo= w.ero)window.ero.hide(true)});setTimeout(j,10)};function j(){e([new = VEParameter("entry","0")])}function e(b){if(b){var = g=3DMsn.VE.API.Constants.logservice+"/Log?",f=3Dfalse,c=3Dnull;if(a.Crede= ntials!=3Dnull&&a.Credentials.length>0)c=3Da.Credentials;else = if(a.HasClientToken())c=3Da.ClientToken;else{c=3DMsn.VE.API.Constants.def= aultLogCredentials;f=3Dtrue}var e=3Dnew = Image;if(c!=3Dnull&&c.length>0){b.push(new = VEParameter("auth",c));if(!f){e.onerror=3Dh;e.onload=3Di}}b.push(new = VEParameter("fmt","1"));b.push(new VEParameter("type","3"));b.push(new = VEParameter("group","MapControl"));b.push(new = VEParameter("name","AJAX"));b.push(new = VEParameter("version",Msn.VE.API.Globals.vecurrentversion));b.push(new = VEParameter("session",a.GUID));b.push(new = VEParameter("mkt",Msn.VE.API.Globals.locale));b.push(new = VEParameter("image","1"));for(var = d=3D0;d0)this.PixelToLatLongAsync(b,a,d)}else{= VEValidator.ValidateObject(b,"pixel",VEPixel,"VEPixel");var = e=3Dthis.vemapcontrol.PixelToLatLong(b,a),f=3Dc.CreateVELatLong(e.latitud= e,e.longitude);return = f}};this.PixelToLatLongAsync=3Dfunction(a,b,c){this.vemapcontrol.PixelToL= atLongAsync(a,b,c)};this.SetCenter=3Dfunction(c){VEValidator.ValidateObje= ct(c,"veLatLong",VELatLong,"VELatLong");var = a=3Db.Decode(c);this._QueueRequest(this.vemapcontrol.SetCenterAccurate,a.= Latitude,a.Longitude)};this.SetCenterClassic=3Dfunction(c){VEValidator.Va= lidateObject(c,"veLatLong",VELatLong,"VELatLong");var = a=3Db.Decode(c);this._QueueRequest(this.vemapcontrol.SetCenter,a.Latitude= ,a.Longitude)};this.SetCenterAndZoom=3Dfunction(c,d){VEValidator.Validate= Object(c,"veLatLong",VELatLong,"VELatLong");VEValidator.ValidateNonNegati= veInt(d,"zoomLevel");var = a=3Db.Decode(c);this._QueueRequest(this.vemapcontrol.SetCenterAndZoom,a.L= atitude,a.Longitude,d);return = true};this.GetMouseWheelZoomToCenter=3Dfunction(){return = a.vemapcontrol.GetMouseWheelZoomToCenter()};this.SetMouseWheelZoomToCente= r=3Dfunction(b){return = a.vemapcontrol.SetMouseWheelZoomToCenter(b)};this.IncludePointInView=3Dfu= nction(c){VEValidator.ValidateObject(c,"veLatLong",VELatLong,"VELatLong")= ;var a=3Db.Decode(c);return = this.vemapcontrol.IncludePointInViewport(a.Latitude,a.Longitude)};this.Ge= tOffsetX=3Dfunction(){return = a.vemapcontrol.GetOffsetX()};this.GetOffsetY=3Dfunction(){return = a.vemapcontrol.GetOffsetY()};this.getSvgLayer=3Dfunction(){return = a.vemapcontrol.getSvgLayer()};this.resizeSVG=3Dfunction(){return = a.vemapcontrol.resizeSVG()};this.GetsvgDiv=3Dfunction(){return = a.vemapcontrol.GetsvgDiv()};this.LatLongToPixel=3Dfunction(c,a,d){if(a!=3D= null){VEValidator.ValidateNonNegativeInt(a,"zoomLevel");a=3DparseInt(a)}i= f(d){VEValidator.ValidateObjectArray(c,"veLatLongArray",VELatLong,"VELatL= ong = array");VEValidator.ValidateFunction(d,"callback");this.LatLongToPixelAsy= nc(c,a,d)}else{VEValidator.ValidateObject(c,"veLatLong",VELatLong,"VELatL= ong");var e=3Db.Decode(c),f=3Dnew = Msn.VE.LatLong(e.Latitude,e.Longitude);return = this.vemapcontrol.LatLongToPixel(f,a)}};this.LatLongToPixelAsync=3Dfuncti= on(d,f,g){var e=3D[];for(var a=3D0;a0)this.Find(this.lastwhatsear= ch,null,1,this.m_vesearchmanager.vesearchcallback)};this._DoFind=3Dfuncti= on(){try{this.lastwhatsearch=3D$ID(this.ID+"_vewhatinput").value;this.las= twheresearch=3D$ID(this.ID+"_vewhereinput").value;this.Find(this.lastwhat= search,this.lastwheresearch)}catch(a){this.ShowMessage(a.message)}};this.= Dispose=3Dfunction(){try{e([new = VEParameter("entry","1")]);if(a.vemapcontrol!=3Dnull){a.vemapcontrol.Deta= chEvent("onchangeview",a._ClearView);a.vemapcontrol.DetachEvent("onresize= ",a._ReArrangeControls);a.vemapcontrol.DetachEvent("onendpan",a._RefreshL= ayers);a.vemapcontrol.DetachEvent("oninitmode",a._EROHouseKeeping)}a.vema= pcontrol.DetachEvent("onclick",VEPushpin.Hide);var = c=3Da.controlzIndexes.length;for(var = b=3D0;b=3D0||a>=3D0){if(b<0)b=3Dthis.GetWidth();if(a<0)a=3Dthis.Get= Height()}return = this.vemapcontrol.Resize(b,a)};VEMap.prototype.SetMapMode=3Dfunction(a){V= EValidator.ValidateMapMode(a,"mapMode");this.vemapcontrol.EnableMode(a,th= is.GUID)};VEMap.prototype.GetMapMode=3Dfunction(){if(this.vemapcontrol.Is= ModeEnabled(Msn.VE.MapActionMode.Mode3D))return VEMapMode.Mode3D;return = VEMapMode.Mode2D};VEMap.prototype.SetMapStyle=3Dfunction(a){VEValidator.V= alidateMapStyle(a,"mapStyle");if(this.GetMapMode()=3D=3DMsn.VE.MapActionM= ode.Mode3D&&(a=3D=3DVEMapStyle.Birdseye||a=3D=3DVEMapStyle.BirdseyeHybrid= ))return = false;this.vemapcontrol.SetMapStyle(a)};VEMap.prototype.SetScaleBarDistan= ceUnit=3Dfunction(a){VEValidator.ValidateDistanceUnit(a,"distanceUnit");t= his.vemapcontrol.SetScaleBarDistanceUnit(a=3D=3DVEDistanceUnit.Miles?Msn.= VE.DistanceUnit.Miles:Msn.VE.DistanceUnit.Kilometers)};VEMap.prototype.Se= tZoomLevel=3Dfunction(a){VEValidator.ValidateNonNegativeInt(a,"zoomLevel"= );this._QueueRequest(this.vemapcontrol.SetZoom,parseInt(a));return = true};VEMap.prototype.ZoomIn=3Dfunction(){this.vemapcontrol.ZoomIn()};VEM= ap.prototype.ZoomOut=3Dfunction(){this._QueueRequest(this.vemapcontrol.Zo= omOut)};VEMap.prototype.AttachEvent=3Dfunction(b,a){VEValidator.ValidateN= onNull(b,"eventname");VEValidator.ValidateNonNull(a,"eventhandler");if(th= is.vemapcontrol)this.vemapcontrol.AttachCustomEvent(b,a);else = this.preInitCustomEvents.push(new = VECustomEvent(b,a))};VEMap.prototype.DetachEvent=3Dfunction(b,a){VEValida= tor.ValidateNonNull(b,"eventname");VEValidator.ValidateNonNull(a,"eventha= ndler");this.vemapcontrol.DetachCustomEvent(b,a)};VEMap.prototype.FireEve= nt=3Dfunction(a){try{var b=3Dwindow.event;return = this.vemapcontrol.FireCustomEvent(a,b)}catch(c){return = false}};VEMap.prototype.ShowMessage=3Dfunction(a){if(this.ShowMessageBox)= this.m_vemessage.Show(a)};VEMap.prototype.GetHeight=3Dfunction(){var = a=3D0;if(this.mapelement.style.height.search(/px/)>0)a=3DparseInt(this.ma= pelement.style.height.replace("px",""));if(isNaN(a)||a=3D=3D0)a=3Dthis.ma= pelement.offsetHeight;return = a};VEMap.prototype.GetWidth=3Dfunction(){var = a=3D0;if(this.mapelement.style.width.search(/px/)>0)a=3DparseInt(this.map= element.style.width.replace("px",""));if(isNaN(a)||a=3D=3D0)a=3Dthis.mape= lement.offsetWidth;return a};VEMap.prototype.GetLeft=3Dfunction(){return = this.vemapcontrol.GetLeftPx()};VEMap.prototype.GetTop=3Dfunction(){return= = this.vemapcontrol.GetTopPx()};VEMap.prototype.SetFindResultsPanel=3Dfunct= ion(a){if(a=3D=3Dnull||a=3D=3D"undefined")throw new = VEException("VEMap:SetFindResultsPanel","err_invalidelement",L_invalidele= ment_text);var b=3D$ID(a);if(b=3D=3Dnull||b=3D=3D"undefined")throw new = VEException("VEMap:SetFindResultsPanel","err_invalidelement",L_invalidele= ment_text);this.searchelement=3Da};VEMap.prototype._AddControlInner=3Dfun= ction(a){a.style.position=3D"absolute";a.style.zIndex=3D201;var = e=3Dthis.GetTop(),d=3Dthis.GetLeft();if(!a.style.top)a.style.top=3D"0px";= if(!a.style.left)a.style.left=3D"0px";var = c=3Da.style.top,b=3Da.style.left;if(isNaN(c))c=3Dc.toString().toLowerCase= ();if(isNaN(b))b=3Db.toString().toLowerCase();e+=3DparseInt(c.replace("px= "));d+=3DparseInt(b.replace("px"));a.style.top=3De+"px";a.style.left=3Dd+= "px";document.body.appendChild(a)};VEMap.prototype.AddControl=3Dfunction(= a,b){if(a=3D=3Dnull||a=3D=3D"undefined")throw new = VEException("VEMap:AddControl","err_invalidelement",L_invalidelement_text= );if(this.controls=3D=3Dnull||this.controls=3D=3D"undefined")throw new = VEException("VEMap:AddControl","err_notinitialized",L_notinitialized_text= );this.controlzIndexes.push(b);this.controls.push(a);this.controltops.pus= h(a.style.top);this.controllefts.push(a.style.left);this._AddControlInner= (a,b)};VEMap.prototype.DeleteControl=3Dfunction(b){if(b=3D=3Dnull||b=3D=3D= "undefined")throw new = VEException("VEMap:DeleteControl","err_invalidelement",L_invalidelement_t= ext);if(this.controls=3D=3Dnull||this.controls=3D=3D"undefined")throw = new = VEException("VEMap:DeleteControl","err_notinitialized",L_notinitialized_t= ext);if(b.shimElement){b.shimElement.removeNode(true);b.shimElement=3Dnul= l}document.body.removeChild(b);var c=3D-1;for(var = a=3D0;a=3D0){for(var = a=3Dc;a0){this.requestQueue.push(new = RequestQueueItem(a,b,c,d));return}}a(b,c,d)};VEMap.prototype._ProcessQueu= edRequest=3Dfunction(){if(this.requestQueue.length>0){var = a=3Dthis.requestQueue.shift();a.Call(a.Param1,a.Param2,a.Param3)}};VEMap.= prototype.ShowMapModeSwitch=3Dfunction(a){if(this.fixedMap!=3Dtrue){this.= vemapcontrol.SetShowMapModeSwitch(a);this.showMapModeSwitch=3Da}};VEMap.p= rototype.SetTileBuffer=3Dfunction(a){this.tileBuffer=3Da;if(this.vemapcon= trol!=3Dnull&&this.vemapcontrol!=3D"undefined")this.vemapcontrol.SetTileP= ixelBuffer(a*Msn.VE.API.Globals.vetilesize)};VEMap.prototype._EROHouseKee= ping=3Dfunction(d){if(d=3D=3DMsn.VE.MapActionMode.Mode2D){ero.setGlitz(tr= ue,false,true,false);ero.unhookEvent("aftershow",c);ero.unhookEvent("afte= rhide",b);ero.unhookEvent("beforeshow",a)}else{ero.setGlitz(true,false,tr= ue,false);ero.hookEvent("aftershow",c);ero.hookEvent("afterhide",b);ero.h= ookEvent("beforeshow",a)}function = c(){ShowShim(ero.getBody(),ero.getElement())}function = b(){HideShim(ero.getBody())}function = a(a){if(a.Entity=3D=3D-1)ero.setGlitz(false,null,false,true)}};VEMap.prot= otype.AllTilesLoaded=3Dfunction(){if(this.vemapcontrol.IsModeEnabled(Msn.= VE.MapActionMode.Mode3D)){var = a=3Dthis.vemapcontrol.Get3DControl();return = a?a.AllTilesLoaded:false}return = true};VEMap.prototype.HasClientToken=3Dfunction(){return = this.ClientToken!=3Dnull&&typeof = this.ClientToken!=3D"undefined"&&this.ClientToken.length>0};VEMap.GetVers= ion=3Dfunction(){return = Msn.VE.API.Globals.vecurrentversion};VEMap.prototype.ShowDisambiguationDi= alog=3Dfunction(a){VEValidator.ValidateBoolean(a,"value");this.m_vedirect= ionsmanager.m_showDisambigousDialog=3Da};VEMap.prototype.SetAnimationEnab= led=3Dfunction(a){VEValidator.ValidateBoolean(a,"value");if(this.vemapcon= trol)this.vemapcontrol.SetAnimationEnabled(a)};function = VEPrintOptions(a){VEValidator.ValidateBoolean(a,"enablePrinting");this.En= ablePrinting=3Da}VEMap.prototype.SetPrintOptions=3Dfunction(a){VEValidato= r.ValidateBoolean(a.EnablePrinting,"VEPrintOptions.EnablePrinting");if(!(= Web.Browser.isSafari()||Msn.VE.Environment.IsIE80())){this._mapPrintOptio= ns=3Da;if(this.vemapcontrol)this.vemapcontrol.SetPrintable(a.EnablePrinti= ng)}};function VEAPIRequestInvoke(e,a,d){var c=3Dnew = VENetwork,b=3DVENetwork.GetExecutionID();c.UseCloseDep=3Dtrue;c.ServiceUr= l=3De;a.push(new = VEParameter(Msn.VE.API.Constants.culture,'"'+Msn.VE.API.Globals.locale+'"= '));a.push(new = VEParameter(Msn.VE.API.Constants.format,Msn.VE.API.Constants.json));a.pus= h(new = VEParameter(Msn.VE.API.Constants.requestid,b));c.BeginInvoke("_f"+b,a,d,n= ull,b)}VEMap.prototype.GetDistance=3Dfunction(a,b){VEValidator.ValidateOb= ject(a,"veLatLong1",VELatLong,"VELatLong");VEValidator.ValidateObject(b,"= veLatLong2",VELatLong,"VELatLong");var = h=3D6378137,c=3DMath.PI/180,d=3Da.Latitude*c,e=3Db.Latitude*c,f=3DMath.si= n((d-e)/2),g=3DMath.sin((a.Longitude-b.Longitude)*c/2),i=3DMath.asin(Math= .sqrt(f*f+Math.cos(d)*Math.cos(e)*g*g));return = h*2*i/1000};VEMap.prototype.InitNavControl=3Dfunction(){};VEDashboardSize= =3DMsn.VE.DashboardSize;VEMap.prototype.SetDashboardSize=3Dfunction(a){if= (typeof = a!=3D"undefined"&&a!=3Dnull){VEValidator.ValidateDashboardSize(a,"VEDashb= oardSize");this.dashboardSize=3Da;this.dashboardVersion=3D6;if(this.dashb= oardSize=3D=3DVEDashboardSize.Small||this.dashboardSize=3D=3DVEDashboardS= ize.Tiny)this.dashboardVersion=3D5}};VEMap.prototype.SetDashboardVersion=3D= function(a){this.dashboardVersion=3Da};VEMap.prototype.ShowDashboard=3Dfu= nction(){if(this.vemapcontrol){var = a=3Dthis.vemapcontrol.GetDashboard();if(!a)this.vemapcontrol.CreateDashbo= ard(5,5,this.dashboardSize,this.m_dashboardId,this.showMapModeSwitch,this= ._mapOptions.EnableBirdseye,this._mapOptions.EnableDashboardLabels,this.d= ashboardVersion);else = a.Show();if($MVEM.IsEnabled(MapControl.Features.MapStyle.View3D))this.Sho= w3DNavigationControl()}this._showDashboard=3Dtrue};VEMap.prototype.HideDa= shboard=3Dfunction(){if(this.vemapcontrol){var = a=3Dthis.vemapcontrol.GetDashboard();if(a)a.Hide();if($MVEM.IsEnabled(Map= Control.Features.MapStyle.View3D))this.Hide3DNavigationControl()}this._sh= owDashboard=3Dfalse};VEMap.prototype.ShowScalebar=3Dfunction(){if(this.ve= mapcontrol)this.vemapcontrol.SetScaleBarVisibility(true);this._showScaleb= ar=3Dtrue};VEMap.prototype.HideScalebar=3Dfunction(){if(this.vemapcontrol= )this.vemapcontrol.SetScaleBarVisibility(false);this._showScalebar=3Dfals= e};VEMap.prototype.ShowMiniMap=3Dfunction(a,b,d){if(a!=3Dnull&&typeof = a!=3D"undefined"&&b!=3Dnull&&typeof = b!=3D"undefined"){VEValidator.ValidateInt(a,"x");VEValidator.ValidateInt(= b,"y")}if(d)VEValidator.ValidateMiniMapSize(d,"size");var = c=3Dthis.vemapcontrol.GetMinimap();if(c){if(a!=3Dnull&&typeof = a!=3D"undefined"&&b!=3Dnull&&typeof = b!=3D"undefined")c.SetPosition(parseInt(a),parseInt(b));c.Show()}else = c=3Dthis.vemapcontrol.CreateMinimap(a,b,null,true,false,null,this.ClientT= oken);if(d)c.SetSize(d)};VEMap.prototype.HideMiniMap=3Dfunction(){var = a=3Dthis.vemapcontrol.GetMinimap();if(a)a.Hide()};VE_SetModuleStatus(VE_M= oduleName.APICONTROLS,"loaded");VEMap.prototype.InitBirdseye=3Dfunction()= {};VEMap.prototype.GetBirdseyeScene=3Dfunction(){if(this.GetMapMode()=3D=3D= Msn.VE.MapActionMode.Mode3D)return null;var = a=3Dnull,b=3Dthis.vemapcontrol.GetObliqueScene();if(b!=3Dnull&&b!=3D"unde= fined"){a=3Dnew = VEBirdseyeScene(b);a.SetClientToken(this.ClientToken);a.SetGUID(this.GUID= )}return = a};VEMap.prototype.IsBirdseyeAvailable=3Dfunction(){if(this.GetMapMode()=3D= =3DMsn.VE.MapActionMode.Mode3D)return false;return = this.vemapcontrol.IsObliqueAvailable()};VEMap.prototype.SetBirdseyeOrient= ation=3Dfunction(a){if(this.GetMapMode()=3D=3DMsn.VE.MapActionMode.Mode3D= )return false;VEValidator.ValidateOrientation(a,"orientation");return = this.vemapcontrol.SetObliqueOrientation(a)};VEMap.prototype.SetBirdseyeSc= ene=3Dfunction(a,b,c,d){if(this.GetMapMode()=3D=3DMsn.VE.MapActionMode.Mo= de3D)return false;if(a=3D=3Dnull||a instanceof VELatLong)return = this.SetBirdseye(a,b,c,d);else return = this.vemapcontrol.SetObliqueScene(a)};VEMap.prototype.SetBirdseye=3Dfunct= ion(b,a,c,d){if(this.GetMapMode()=3D=3DMsn.VE.MapActionMode.Mode3D)return= = false;if(b)VEValidator.ValidateObject(b,"veLatLong",VELatLong,"VELatLong"= );else = b=3Dthis.GetCenter();if(a)VEValidator.ValidateOrientation(a,"orientation"= );else = a=3DVEOrientation.North;if(c)VEValidator.ValidateNonNegativeInt(c,"zoomLe= vel");else c=3D1;if(d)VEValidator.ValidateFunction(d,"callback");else = d=3Dnull;var e=3D(new _xy1).Decode(b);return = this.vemapcontrol.SetObliqueLocation(new = Msn.VE.LatLong(e.Latitude,e.Longitude),a,c,d)};VEMap.prototype.SetShapesA= ccuracy=3Dfunction(a){if(a!=3DVEShapeAccuracy.None&&a!=3DVEShapeAccuracy.= Pushpin&&a!=3DVEShapeAccuracy.All)throw new = VEException("VEMap:SetShapesAccuracy","err_invalidargument",L_invalidargu= ment_text.replace("%1","value").replace("%2","VEShapeAccuracy"));this.m_v= egraphicsmanager._useOffset=3Da};VEMap.prototype.SetOverMaxPointsShapeReq= uest=3Dfunction(a){if(a!=3DVEFailedShapeRequest.DoNotDraw&&a!=3DVEFailedS= hapeRequest.DrawInaccurately)throw new = VEException("VEMap:SetOverMaxPointsShapeRequest","err_invalidargument",L_= invalidargument_text.replace("%1","value").replace("%2","VEFailedShapeReq= uest"));this.m_vegraphicsmanager._drawOverMaxShapes=3Da};VEMap.prototype.= SetFailedShapeRequest=3Dfunction(a){if(a!=3DVEFailedShapeRequest.DoNotDra= w&&a!=3DVEFailedShapeRequest.DrawInaccurately&&a!=3DVEFailedShapeRequest.= QueueRequest)throw new = VEException("VEMap:SetFailedShapeRequest","err_invalidargument",L_invalid= argument_text.replace("%1","value").replace("%2","VEFailedShapeRequest"))= ;this.m_vegraphicsmanager._failRequest=3Da};VEMap.prototype.SetShapesAccu= racyRequestLimit=3Dfunction(a){VEValidator.ValidateNonNegativeInt(a,"valu= e");Msn.VE.API.Constants.maxasynlatlongs=3Da};VEShapeAccuracy=3Dnew = function(){this.None=3D0;this.Pushpin=3D1;this.All=3D2};VEFailedShapeRequ= est=3Dnew = function(){this.DoNotDraw=3D0;this.DrawInaccurately=3D1;this.QueueRequest= =3D2};VE_SetModuleStatus(VE_ModuleName.APIBIRDSEYE,"loaded");VEMap.protot= ype.SetDisplayThreshold=3Dfunction(a){var = a=3DparseInt(a);if(isNaN(a))this.m_vegraphicsmanager.SetDisplayThreshold(= a)};VEMap.prototype.EnableShapeDisplayThreshold=3Dfunction(a){VEValidator= .ValidateBoolean(a,"value");VE_LatLongThreshold.UseThreshold=3Da};VEMap.p= rototype.ImportShapeLayerData=3Dfunction(a,c,b){VEValidator.ValidateObjec= t(a,"_spec",VEShapeSourceSpecification,"VEShapeSourceSpecification");if(t= ypeof a.LayerSource!=3D"string"||typeof a.Type!=3D"string")throw new = VEException("VEMap:AddLayer","err_invalidlayertype",L_invalidlayertype_te= xt);this.m_velayermanager.ImportLayer(a,c,b)};VEMap.prototype.Import3DMod= el=3Dfunction(a,c,d,b,e){VEValidator.ValidateObject(a,"modelShapeSource",= VEModelSourceSpecification,"VEModelSourceSpecification");if(typeof = a.ModelSource!=3D"string"||typeof a.Format!=3D"string")throw new = VEException("VEMap:Import3DModel","err_invalidlayertype",L_invalidlayerty= pe_text);return = this.m_velayermanager.ImportModelLayer(a,c,d,b,e)};VEMap.prototype.SetInf= oBoxStyles=3Dfunction(a){window.ero.setClasses(a)};VEMap.prototype.ClearI= nfoBoxStyles=3Dfunction(){window.ero.setClasses(_VECustomInfoBox)};VEMap.= prototype.SetDefaultInfoBoxStyles=3Dfunction(){window.ero.setClasses(ERO.= DefaultClasses)};VEMap.prototype.ShowInfoBox=3Dfunction(c,b,d){var = l=3Dtypeof c=3D=3D"object"&&c instanceof VEShape;if(!l)return;var = k=3Dc._shplayer=3D=3Dnull||c._shplayer._mapGuid=3D=3Dnull;if(k)return;var= h=3Dnull,e=3Dnull,g=3Dnull;if(typeof b=3D=3D"object")if(b instanceof = VELatLong){var i=3Dnew = _xy1;b=3Di.Decode(b);e=3Db.Latitude;g=3Db.Longitude}else if(b instanceof = VEPixel)if(!isNaN(b.x)&&!isNaN(b.y))h=3Db;if(e=3D=3Dnull&&h=3D=3Dnull){va= r = f=3Dc.Primitives[0];if(f.type=3D=3DVEShapeType.Pushpin){e=3Df.points[1];g= =3Df.points[0]}else{e=3Df.labelPosY;g=3Df.labelPosX}}var = m=3DMsn.Drawing.GetLabelUID(c.Primitives[0].iid),a=3Dnull;if(e!=3Dnull){a= =3Dthis.vemapcontrol.LatLongToPixel(new = Msn.VE.LatLong(e,g),this.vemapcontrol.GetZoomLevel());if(a=3D=3Dnull)a=3D= new VEPixel(0,0)}else a=3Dh;var j=3Dtypeof d=3D=3D"object"&&d instanceof = VEPixel;if(j)if(!isNaN(d.x)&&!isNaN(d.y)){a.x+=3Dd.x;a.y+=3Dd.y}if(a.x<0|= |a.x>this.GetWidth()||a.y<0||a.y>this.GetHeight())if(b instanceof = VELatLong)throw new = VEException("VEMap:ShowInfoBox","L_invalidargument_text",L_invalidargumen= t_text.replace("%1","veAnchor").replace("%2","VELatLong"));else if(b = instanceof VEPixel)throw new = VEException("VEMap:ShowInfoBox","L_invalidargument_text",L_invalidargumen= t_text.replace("%1","veAnchor").replace("%2","VEPixel"));else = return;a.x+=3Dthis.GetLeft();a.y+=3Dthis.GetTop();VEShowVEShapeERO(m,this= .GUID,null,c,a.x,a.y)};VEMap.prototype.HideInfoBox=3Dfunction(){VEHideVES= hapeERO(true)};VEMap.prototype.CloneShape=3Dfunction(a){VEValidator.Valid= ateObject(a,"_veshape",VEShape,"VEShape");var = c=3Dthis.m_velayermanager.VE_LayerManager,b=3Dc.CloneAnnotation(a);return= b};VEMap.prototype.AddShape=3Dfunction(b){var = a=3Dthis.m_velayermanager.VE_LayerManager.GetCollectionByIndex(0);a._mapG= uid=3Dthis.GUID;a.AddShape(b)};VEMap.prototype.DeleteShape=3Dfunction(a){= VEValidator.ValidateObject(a,"_veshape",VEShape,"VEShape");if(a._shplayer= )a._shplayer.DeleteShape(a)};VEMap.prototype.GetShapeByID=3Dfunction(a){i= f(typeof a=3D=3D"undefined"||a=3D=3Dnull||a=3D=3D"")return null;var = b=3Dthis.m_velayermanager.VE_LayerManager,c=3Db.GetAnnotationById(a);retu= rn = c};VEMap.prototype.AddShapeLayer=3Dfunction(a,c){VEValidator.ValidateObje= ct(a,"shpLyr",VEShapeLayer,"VEShapeLayer");if(a._mapGuid!=3Dnull)throw = new = VEException("VEMap:AddLayer","err_invalidlayertype",L_invalidlayertype_te= xt);a._mapGuid=3Dthis.GUID;var = d=3Dthis.m_velayermanager.VE_LayerManager;d.AddCollection(null,a);if(!a.G= etVisibility())return;if(typeof c!=3D"undefined"&&c=3D=3Dtrue){var = b=3Da.GetBoundingBox(),e=3D[new Msn.VE.LatLong(b.y1,b.x1),new = Msn.VE.LatLong(b.y2,b.x2)];this.vemapcontrol.SetBestMapView(e)}this.m_veg= raphicsmanager.DrawLayer(a)};VEMap.prototype.DeleteShapeLayer=3Dfunction(= a){VEValidator.ValidateObject(a,"shpLyr",VEShapeLayer,"VEShapeLayer");try= {a._clusteringAlgorithm=3Dnull;a.DeleteAllShapes();a.DeleteClusterLayer()= ;this.m_velayermanager.VE_LayerManager.RemoveCollection(a)}catch(b){}};VE= Map.prototype.DeleteAllShapeLayers=3Dfunction(){try{this.DeleteAllShapes(= );var d=3D[],c=3Dthis.GetShapeLayerCount();for(var a=3D0;a0){var = d=3Dc.GetBoundingBox(),h=3D[new Msn.VE.LatLong(d.y1,d.x1),new = Msn.VE.LatLong(d.y2,d.x2)];a.m_vemapcontrol.SetBestMapView(h)}a.m_vemap.m= _vegraphicsmanager.DrawLayer(c)}if(typeof = c.Spec.FnCallback=3D=3D"function")c.Spec.FnCallback(c)};this.RetrieveImpo= rtedCallback=3Dfunction(a,b){var = c=3DparseInt(a);if(isNaN(c))this.RetrieveCollectionCallback(a,b)};this.Re= trieveCollectionCallback=3Dfunction(f,g){var = h=3Dd(f),b=3Da.VE_LayerManager.RetrieveCollectionById(g);if(!b)return;b.S= pec.Success=3Dtrue;var e=3Dnew = VE_MapRequestBean(MC_ACTION_RETRIEVE_COLLECTION);VE_MapCmlReader.ExtractC= ollections(e,h,this.VE_LayerManager);if(b.GetVisibility()){if(b.Spec.Sets= BestMapView&&b.GetShapeCount()>0){var c=3Db.GetBoundingBox(),i=3D[new = Msn.VE.LatLong(c.y1,c.x1),new = Msn.VE.LatLong(c.y2,c.x2)];a.m_vemapcontrol.SetBestMapView(i)}a.m_vemap.m= _vegraphicsmanager.DrawLayer(b)}if(b.Spec.FnCallback!=3Dnull&&b.Spec.FnCa= llback!=3D"undefined")b.Spec.FnCallback(b)};this.RetrieveAllAnnotationsCa= llback=3Dfunction(){}}VELayerManager.prototype.Dispose=3Dfunction(){this.= m_vemap.m_vegraphicsmanager.ClearAll();this.VE_LayerManager.DeleteAll();t= his.m_vemapcontrol=3Dnull;this.m_vemap=3Dnull;this.m_veLatLongDecoder=3Dn= ull;this.m_spec=3Dnull;this.VE_LayerManager.Dispose();this.VE_LayerManage= r=3Dnull};VELayerManager.prototype.ShowAllLayers=3Dfunction(){this.VE_Lay= erManager.SetVisibility(true);var = b=3D[],e=3Dthis.VE_LayerManager.GetCollectionCount();for(var = c=3D0;c0){= var a=3Dd.GetBoundingBox();if(a!=3Dnull){b.push(new = Msn.VE.LatLong(a.y1,a.x1));b.push(new = Msn.VE.LatLong(a.y2,a.x2))}}}if(b.length>=3D2)this.m_vemapcontrol.SetBest= MapView(b);this.m_vemap.m_vegraphicsmanager.DrawAll()};function = _VEAPIOnImportLayerDataCallback(h,a){try{if(typeof = a=3D=3D"string"&&a.length>2){var = g=3Da.length,c=3Da.indexOf("_");if(c<0||c>g-2)return;var = f=3Da.substring(0,c),e=3Da.substring(c+1),d=3DVEMap._GetMapFromGUID(f)._l= m,b=3Dd.VE_LayerManager.RetrieveCollectionById(e);if(!b.Spec.Success)if(t= ypeof = b.Spec.FnCallback=3D=3D"function")b.Spec.FnCallback(b,L_loadxml_text);els= e d.m_vemap.ShowMessage(L_loadxml_text)}}catch(i){throw = i;return}}function = VECreateVEShapeERO(b,d){if(b._IconContent=3D=3Dnull){var = a=3D[],f=3Db.GetPrimitive(0),e=3Df.iid;if(f.type!=3DVEShapeType.Pushpin)e= =3DMsn.Drawing.GetLabelUID(e);var = c=3Db._customIcon;if(c=3D=3Dnull)c=3Db.IconUrl;if(c.indexOf("<")<0)c=3D'<= img src=3D"'+c+'" />';a.push("
= ");a.push(c);a.push("
");b._IconContent=3Da.join("")}return = b._IconContent}function VEDragVEShapeDown(f,e){var = a=3DGetVEMapInstance(e);if(a=3D=3Dnull)return;if(a.m_velayermanager=3D=3D= null)return;var = b=3Da.m_velayermanager.VE_LayerManager;if(!b)return;annotation=3Db.GetAnn= otationById(f);if(!annotation)return;if(annotation.Draggable){function = c(c){var b=3Da.PixelToLatLong(new = VEPixel(c.mapX,c.mapY));if(annotation.GetShapeType()=3D=3DVEShapeType.Pus= hpin)annotation.SetPoints(b);else annotation.SetIconAnchor(b);return = true}function = d(){a.DetachEvent("onmousemove",c);a.DetachEvent("onmouseup",d)}a.AttachE= vent("onmousemove",c);a.AttachEvent("onmouseup",d)}}function = VEShowVEShapeERO(m,q,h,p,f,g){var = j=3DGetVEMapInstance(q);if(j=3D=3Dnull)return;var = a=3Dnull,s=3Dnull,r=3Dnull;if(typeof = p=3D=3D"object")a=3Dp;else{if(j.m_velayermanager=3D=3Dnull)return;var = k=3Dnull;k=3Dj.m_velayermanager.VE_LayerManager;if(!k)return;a=3Dk.GetAnn= otationById(m);if(!a)return}if(!a._eroContent){var = l=3Dfalse,e=3Da.Title,d=3Da.Notes,n=3DIOSec.GetValidatedUrl(a.Url),i=3DIO= Sec.GetValidatedUrl(a.PhotoUrl);r=3Da.Latitude;s=3Da.Longitude;var = c=3D"";if(typeof i=3D=3D"string"&&i.length>1){c=3Dc.concat('");c=3Dc.concat('')}e=3Dc.concat(e);if(typeof = n=3D=3D"string"&&n.length>0)d=3Dd.concat("

. . .

');var = b=3D[];b.push("

");if(e.length>0){b.push('

');b.push(unescape(e));b.push("
");= l=3Dtrue}if(d.length>0){b.push('
');b.push(unescape(d));b.push("
");l= =3Dtrue}if(!document.all&&(e.length=3D=3D0||d.length=3D=3D0))b.push("

");b.push("

");if(l)a._eroContent=3Db.join("");else = a._eroContent=3D""}eroContent=3Da._eroContent;if(eroContent.length>0){win= dow.ero.setContent(eroContent);if(j.GetMapMode()=3D=3DMsn.VE.MapActionMod= e.Mode2D)if(typeof f=3D=3D"number"&&typeof g=3D=3D"number"){var h=3Dnew = Msn.VE.Geometry.Rectangle(new Msn.VE.Geometry.Point(f,g),new = Msn.VE.Geometry.Point(f,g));window.ero.dockToRect(h,null,-1)}else{var = o=3D$ID(m);if(o!=3Dnull&&o!=3D"undefined"){window.ero.setBoundingArea(nul= l);window.ero.getBoundingArea().move(Gimme.Screen.getScrollPosition());wi= ndow.ero.dockToElement(o)}}else{if(typeof = h=3D=3D"undefined"||h=3D=3Dnull)h=3Dnew Msn.VE.Geometry.Rectangle(new = Msn.VE.Geometry.Point(f,g),new = Msn.VE.Geometry.Point(f,g));ero.setGlitz(false,false,false,true);window.e= ro.dockToRect(h,null,-1)}}}function = VEHideVEShapeERO(a){if(window.ero!=3Dnull){if(a=3D=3D"undefined"||a=3D=3D= null)a=3Dfalse;window.ero.hide(a)}}var = _VECustomInfoBox=3D{ContainerNoBeak:"customInfoBox-noBeak",ContainerRight= Beak:"customInfoBox-with-rightBeak",ContainerLeftBeak:"customInfoBox-with= -leftBeak",Beak:"customInfoBox-beak",Shadow:"customInfoBox-shadow",Body:"= customInfoBox-body",Actions:"customInfoBox-actions",ActionsBackground:"cu= stomInfoBox-actionsBackground",PreviewArea:"customInfoBox-previewArea",Pa= ddingHack:"customInfoBox-paddingHack",ProgressAnimation:"customInfoBox-pr= ogressAnimation"};function VE_GetGeoCommunityUrl(a){if(a)return = MC_GEOCOMMUNITY_SERVICEURL;else return "GeoCommunity.asjx"}function = VE_IsLargeData(a){if(a.length>MC_GEOCOMMUNITY_SIZELIMIT-2048)return = true;return false}var = MC_GEOCOMMUNITY_SIZELIMIT=3D204800,MC_GEOCOMMUNITY_SERVICEURL=3D"GeoCommu= nity.asjx",MC_VESHAPE_EMPTY=3D-1777,MC_VIEW_BUFFER=3D1,MC_STYLE_PINZIndex= =3D300,MC_IID_NAMESPACE=3D"msftve",MC_IID_CON_TOKEN=3D"_",MC_GEO_TYPE_MUL= TIGEOMETRY=3D"Multigeometry",MC_GEO_TYPE_FREEHAND=3D"Freehand",MC_STYLE_F= ILL_COLOR=3D"fillcolor",MC_STYLE_STROKE_COLOR=3D"strokecolor",MC_STYLE_ST= ROKE_WEIGHT=3D"strokeweight",MC_STYLE_STROKE_STYLE=3D"stroke-style",MC_ST= YLE_STROKE_DASH=3D"stroke-dashstyle",MC_STYLE_FONT_COLOR=3D"font_color",M= C_STYLE_STROKE_ARROW=3D"stroke_arrow",MC_STYLE_FONT_ITALIC=3D"font_italic= ",MC_STYLE_FONT_UNDERSCORE=3D"font_underscore",MC_STYLE_FONT_BOLD=3D"font= _bold",STATE_DEFAULT=3D0,STATE_DRAWING=3D1,STATE_EDITING=3D2,MC_DRAW_DEFA= ULT=3D100,MC_DRAW_POINT=3D101,MC_DRAW_POLYLINE=3D102,MC_DRAW_POLYGON=3D10= 3,MC_DRAW_RECT=3D104,MC_DRAW_CIRCLE=3D105,MC_DRAW_TEXT=3D1065,MC_DRAW_MOD= EL=3D1066,MC_EDIT_ADDNODE=3D107,MC_EDIT_DELNODE=3D108,MC_EDIT_MOVENODE=3D= 108,MC_EDIT_SELNODE=3D109,MC_EDIT_SELEDGE=3D110,MC_EDIT_CONTINUELINE=3D11= 1,MC_LABEL_VIEWER=3D"viewer",MC_PROPERTY_DEFAULT=3D0,MC_PROPERTY_HIGHWAY=3D= 1,MC_PROPERTY_ROAD=3D2,MC_PROPERTY_LAKE=3D3,MC_PROPERTY_PARK=3D4,MC_PROPE= RTY_PARKINGLOT=3D5,MC_PROPERTY_PUSHPIN=3D6,MC_PROPERTY_TEMPDRAW=3D7,MC_PR= OPERTY_TEMPEDIT=3D8,MC_PROPERTY_EDITNODE=3D10,MC_PROPERTY_EDITSELNODE=3D1= 1,MC_PROPERTY_GHOSTNODE=3D12,MC_NUMBERFORMAT_NUMBEROFDIGITSAFTERDOT=3D2,M= C_NUMBERFORMAT_ZEROSTRING=3D"0",MC_DECIMALROUNDOFF_THRESHOLD=3D100,MC_CML= _ENTITY_NAME=3D"Entity",MC_CML_ENTITY_PRIMITIVES=3D"Primitives",MC_CML_EN= TITY_PRIMITIVE=3D"Primitive",MC_CML_ENTITY_COORDINATES=3D"coordinates",MC= _CML_DESCRIPTION=3D"Description",MC_CML_TAGS=3D"Tags",MC_CML_VIEWPORT=3D"= ViewPort",MC_CML_TOUR=3D"Tour",MC_CML_PITCH=3D"pitch",MC_CML_HEADING=3D"h= eading",MC_CML_MAPSTYLE=3D"mapstyle",MC_CML_SCENEID=3D"sceneId",MC_CML_AC= TIONS=3D"Actions",MC_CML_ACTION=3D"Action",MC_CML_MODELREP=3D"ModelRep",M= C_CML_TRANSFORM=3D"transform",MC_CML_MODELREFID=3D"modelRefId",MC_CML_ENT= ITY_TYPE_PUSHPIN=3D"pushpin",MC_CML_PROPERTYS=3D"Properties",MC_CML_PROPE= RTY=3D"Property",MC_CML_MINBOUNDS=3D"minbounds",MC_CML_MAXBOUNDS=3D"maxbo= unds",MC_CML_R2EOFFSET=3D"r2eoffset",MC_CML_PHOTOS=3D"Photos",MC_CML_PHOT= O=3D"Photo",MC_CML_PREAUTHURL=3D"PreAuthUrl",MC_CML_PUBLISHER=3D"publishe= r",MC_CML_PROPERTY_ROUTABLELATITUDE=3D"RoutableLatitude",MC_CML_PROPERTY_= ROUTABLELONGITUDE=3D"RoutableLongitude",MC_CML_PROPERTY_ICONURL=3D"iconur= l",MC_CML_PROPERTY_KEYWORDS=3D"keywords",MC_CML_PROPERTY_URL=3D"url",MC_C= ML_PROPERTY_PHOTOURL=3D"photourl",MC_CML_PROPERTY_USERDATE=3D"userdate",M= C_CML_PROPERTY_DISPLAYORDER=3D"displayorder",MC_CML_PROPERTY_BUSINESSLIST= INGID=3D"businesslistingid",MC_CML_PROPERTY_MAPSERVICETYPE=3D"mapserviceT= ype",MC_CML_PROPERTY_MAPSERVICESOURCE=3D"mapserviceSource",MC_CML_PROPERT= Y_MAPSERVICEOPACITY=3D"mapserviceOpacity",MC_CML_PROPERTY_MAPSERVICEMETAD= ATA=3D"mapserviceMetadata",MC_CML_PROPERTY_MAPSERVICESTATUS=3D"mapservice= Status",MC_CML_PROPERTY_SOURCEURL=3D"sourceurl",MC_CML_PROPERTY_SOURCETYP= E=3D"sourcetype",MC_CML_TILEID=3D"tileId",MC_CML_PROPERTY_TYPE=3D"type",M= C_CML_LASTMODIFIED=3D"DateModified",MC_CML_DATECREATED=3D"DateCreated",MC= _CML_ROOT=3D"CML",MC_CML_SEPERT=3D"/",MC_CML_TOKEN=3D",",MC_CML_VERSION=3D= "0.1",MC_CML_ID=3D"id",MC_CML_IID=3D"clientid",MC_CML_NAME=3D"name",MC_CM= L_CULTURE=3D"culture",MC_CML_SHARELEVEL=3D"Sharelevel",MC_CML_STATE=3D"St= ate",MC_CML_STATE_PUBLIC_CAN_VIEW=3D1,MC_CML_STATE_OWNER_CAN_VIEW=3D2,MC_= CML_STATE_OWNER_CAN_UPDATE=3D4,MC_CML_STATE_OWNER_IS_VIEWING=3D8,MC_CML_T= YPE=3D"Type",MC_CML_Add=3D"Add",MC_CML_EXTRUSION=3D"Extrusion",MC_CML_VIS= IBILITY=3D"visibility",MC_CML_DISPLAYORDER=3D"displayorder",MC_CML_DEFAUL= TSTYLE=3D"DefaultStyle",MC_CML_LABELSTYLE=3D"LabelStyle",MC_CML_POSITION=3D= "Position",MC_CML_STYLE=3D"Style",MC_CML_FILLSYMBOL=3D"Fill",MC_CML_SHAPE= SYMBOL=3D"Shape",MC_CML_STYLESYMBOL=3D"Style",MC_CML_STROKESYMBOL=3D"Stro= ke",MC_CML_SHADOWSYMBOL=3D"Shadow",MC_CML_IMAGEDATASYMBOL=3D"Imagedata",M= C_CML_ZOOMLEVEL=3D"zoomlevel",MC_CML_ONSCRATCHPAD=3D"onScratchpad",MC_CML= _TOKEN1=3D",",MC_CML_TOKEN2=3D":",MC_CML_TOKEN3=3D";",MC_CML_CONTENTS=3D"= Contents",MC_CML_CONTENT=3D"Content",MC_CML_SIMPLEHTML=3D"SimpleHTML",MC_= CML_GLINK=3D"glink",MC_CML_COLLECTIONS=3D"Collections",MC_CML_COLLECTION=3D= "Collection",MC_CML_ENTITY=3D"Entity",MC_CML_MULTIGEOMETRY=3D"MultiGeomet= ry",MC_CML_POLYGON=3D"Polygon",MC_CML_OUTLS=3D"outerBoundaryIs",MC_CML_IT= LS=3D"interBoundaryIs",MC_CML_LINEARSTRING=3D"LinearRing",MC_CML_POLYLINE= =3D"LineString",MC_CML_LENGTH=3D"length",MC_CML_AREA=3D"area",MC_CML_HREF= =3D"href",MC_CML_POINT=3D"Point",MC_CML_COORDS=3D"coordinates",MC_CML_ALT= ITUDE=3D"altitudes",MC_CML_ALTITUDEMODE=3D"altitudemode",MC_CML_ALTGROUND= =3D"Ground",MC_CML_ALTDATUM=3D"Datum",MC_CML_EXTRUDE=3D"extruded",MC_CML_= KEY=3D"key",MC_CML_VALUE=3D"value",MC_CML_CLIENTDATA=3D"ClientData",MC_CM= L_EXCOL_PREFIX=3D"E*",MC_CML_IMPORT_DATAURL=3D"mapurl",MC_CML_IMPORT_SAVE= STATUS=3D"saveimport",MC_CML_IMPORT_COLNAME=3D"colname",MC_CML_IMPORT_REP= ORT=3D"importreport",MC_CML_IMPORT_FILEUPLOAD=3D"fileupload",MC_CML_CID_L= IST=3D"cids",MC_ACTION_IMPORT_COLLECTION=3D"ImportCol",MC_ACTION_IMPORT_E= NTITY=3D"ImportEntity",MC_ACTION_CLONE_ENTITY=3D"CloneEntity",MC_ACTION_C= REATE_COLLECTION=3D"CreateCollection",MC_ACTION_UPDATE_COLLECTION=3D"Upda= teCollection",MC_ACTION_DELETE_COLLECTION=3D"DeleteCollection",MC_ACTION_= CLEAR_COLLECTION=3D"ClearCollection",MC_ACTION_RETRIEVE_ALLCOLLECTIONS=3D= "RetrieveAllCollections",MC_ACTION_RETRIEVE_ALLCOLLECTIONS_METADATA=3D"Re= trieveAllCollectionsMetadata",MC_ACTION_RETRIEVE_COLLECTION=3D"RetrieveCo= llection",MC_ACTION_RETRIEVE_SHAREDCOLLECTION=3D"RetrieveSharedCollection= ",MC_ACTION_DELETE_ENTITY=3D"DeleteEntity",MC_ACTION_ADD_ENTITY=3D"AddEnt= ity",MC_FCCALLBACK=3D"fncallback",MC_ACTION_REPAINT=3D"Repaint",MC_ACTION= _CREATE_PHOTO=3D"CreatePhoto",MC_ACTION_DELETE_PHOTO=3D"DeletePhoto",MC_C= HANGE_STATE_UPDATE=3D1,MC_CHANGE_STATE_DELETE=3D2,MC_CHANGE_STATE_CREATE=3D= 3,MC_CHANGE_STATE_CLONE=3D4,MC_CHANGE_STATE_MOVE=3D5,MC_CHANGE_STATE_DEFA= ULT=3D0,MC_CHANGE_TYPE_METADATA=3D1,MC_CHANGE_TYPE_CHILDREN=3D2,MC_CHANGE= _TYPE_ALL=3D3,MC_MAPSERVICE_STATUS_NONE=3D0,MC_MAPSERVICE_STATUS_ERROR=3D= 1,MC_MAPSERVICE_STATUS_READY=3D2,MC_MAPSERVICE_STATUS_FETCH=3D3,MC_MAPSER= VICE_ARG_SERVICETYPE=3D"svc",MC_MAPSERVICE_ARG_COLLECTIONID=3D"cid",MC_MA= PSERVICE_ARG_ENTITYID=3D"eid",MC_COLLECTION_SIGNIN_SIZE=3D2048,MC_MAXSHAP= EPOINTS_IN_EMAIL=3D200,MC_MAX_EMAIL_LINK_LEN=3D1800,MC_MIN_EMAIL_NOTES_LE= N=3D100,MC_MAX_DRILL_SIZE=3D200,MC_TIMER_KEEPTRYING=3D"keeptrying",MC_TIM= ER_MINDELAY=3D0,MC_TIMER_DELAY=3D3000,MC_TIMER_REPEAT_DELAY=3D3000,MC_TIM= ER_NOW=3D10,MC_TIMER_EXTENDDELAY=3D5000,MC_TIMER_EXTENDDELAY_CN=3D100000,= MC_REQUEST_QUEUE_MAXSIZE=3D20,MC_TIMER_VALUE=3D"DELAYVALUE",MC_UPLOAD_TIM= EOUT=3D90000,MC_KVP_COLLIST=3D"COLLIST",MC_KVP_COL_MSNID=3D"COL_MSNID",MC= _KVP_COL_MSNID2=3D"COL_MSNID2",MC_KVP_COL=3D"COL",MC_KVP_COL_CLIENTDATA=3D= "COL_CLIENTDATA",MC_KVP_ENTITY_MSNID=3D"ENTITY_MSNID",MC_KVP_ENTITYLIST=3D= "ENTITYLIST",MC_KVP_ENTITY=3D"ENTITY",MC_KVP_SERVER_STATUS=3D"req_status"= ,MC_KVP_SETBESTMAPVIEW=3D"set_best_view",MC_KVP_VIEWTOUR=3D"view_tour",MC= _KVP_CML=3D"CML",MC_COLLECTIONLIST_UL_ID=3D"sp_collection_list",MC_SCRATC= HPADITEM_LI_SUFFIX=3D"_li",MC_SCRATCHPADITEM_MEASURE_SUFFIX=3D"_m",MC_SIG= NIN=3D"Signin",MC_SCRATCHPAD_DRAGCURSOR=3D"move",MC_SCRATCHPAD_DRAGGEDSTY= LE=3D"DraggedLI",MC_SCRATCHPAD_COLLECTIONLISTDIV_ID=3D"scratchPadCollecti= onListWrapper",MC_SCRATCHPAD_WRAPLEN_TITLE=3D22,MC_SCRATCHPAD_WRAPLEN_DES= C=3D26,MC_CV_WRAPLEN_COLLECTIONDESC=3D28,MC_CV_WRAPLEN_TITLE=3D22,MC_CV_W= RAPLEN_DESC=3D22,MC_ERO_WRAPLEN_TITLE=3D22,MC_ERO_WRAPLEN_DESC=3D28,MC_SE= RVER_STATUS_NO_ACCESS=3D"not authorized",MC_SERVER_STATUS_BUSY=3D"server = busy",MC_SERVER_STATUS_OK=3D"200",MC_SERVER_STATUS_STORE_ERROR=3D"570",MC= _SERVER_STATUS_NAMEEXIST_ERROR=3D"571",MC_SERVER_STATUS_QUOTA_ERROR=3D"57= 2",MC_SERVER_STATUS_UNEXPECTED_ERROR=3D"500",MC_SERVER_STATUS_ACCESSDENIE= D_ERROR=3D"403",MC_SERVER_STATUS_CONTAINSSENSITIVEWORDS_ERROR=3D"581",MC_= COL_TYPE_FAVORITE=3D1,MC_COL_TYPE_COLLECTION=3D0,MC_COL_TYPE_RESULT=3D2,M= C_COL_TYPE_TRAFFIC=3D3,MC_COL_TYPE_DRIVING=3D4,MC_COL_TYPE_RSSFEED=3D5,MC= _COL_TYPE_TILEIMAGE=3D6,MC_DS_MSN_CML=3D0,MC_DS_FILE_CML=3D1,MC_DS_MSN_VE= ML=3D2,MC_MAX_LOADED_COLS=3D2,MC_MAX_COL_SIZE=3D200,cssCursors,MC_SA_NEWC= OL=3D"newcol",MC_SA_IMPORT=3D"import",MC_SA_UPLOADPHOTO=3D"uploadphoto",M= C_SA_REFRESH=3D"forcedrefresh";function = VE_MapStruct(){}VE_MapStruct.PushpinType=3D{ViewerClass:"VE_Community_sea= rchResult",PushpinClass:"VE_Pushpin",Token:" ",PushpinAn:"VE_Pushpin = VE_Pushpin_aN",Polyline:"VE_Pushpin = VE_Pushpin_Polyline",Polygon:"VE_Pushpin = VE_Pushpin_Polygon",Model:"VE_Pushpin = VE_Pushpin_Model_viewer",Overlay:"VE_Pushpin = VE_Pushpin_Overlay",PushpinViewer:"VE_Pushpin_viewer",PolylineViewer:"VE_= Pushpin_Polyline_viewer",PolygonViewer:"VE_Pushpin_Polygon_viewer",ModelV= iewer:"VE_Pushpin_Model_viewer",OverlayViewer:"VE_Pushpin_Overlay_viewer"= ,PushpinViewerTopMost:"VE_Pushpin_viewer = topMost",PolylineViewerTopMost:"VE_Pushpin_Polyline_viewer = polytopMost",PolygonViewerTopMost:"VE_Pushpin_Polyline_viewer = polytopMost",ModelViewerTopMost:"VE_Pushpin_Model_viewer = polytopMost",OverlayViewerTopMost:"VE_Pushpin_Overlay_viewer = polytopMost",SearchResults:"searchResults"};VE_MapStruct.PushpinSize=3D{W= idthaN:22,HeightaN:17,WidthShp:22,HeightShp:-17,WidthLbl:-29,HeightLbl:-1= 7,WidthView:22,HeightView:17,WidthShpView:22,HeightShpView:-17};_VERegist= erNamespaces("Msn.VE.Core");Msn.VE.Core.Layer=3Dfunction(){this.iid=3Dnul= l;this.MsnId=3Dnull;this.Name=3D"unsaved = collection";this.Type=3D0;this.Visibility=3Dtrue;this.Boundingbox=3Dnull;= this.MaxScale=3D21;this.MinScale=3D1;this.Spec=3Dnull};Msn.VE.Core.Layer.= prototype.SetMsnId=3Dfunction(a){this.MsnId=3Da};Msn.VE.Core.Layer.protot= ype.GetMsnId=3Dfunction(){return = this.MsnId};Msn.VE.Core.Layer.prototype.SetId=3Dfunction(a){this.iid=3Da}= ;Msn.VE.Core.Layer.prototype.GetId=3Dfunction(){return = this.iid};Msn.VE.Core.Layer.prototype.SetName=3Dfunction(a){this.Name=3Da= };Msn.VE.Core.Layer.prototype.GetName=3Dfunction(){return = this.Name};Msn.VE.Core.Layer.prototype.SetType=3Dfunction(a){this.Type=3D= a};Msn.VE.Core.Layer.prototype.GetType=3Dfunction(){return = this.Type};Msn.VE.Core.Layer.prototype.SetVisibility=3Dfunction(a){this.V= isibility=3Da};Msn.VE.Core.Layer.prototype.GetVisibility=3Dfunction(){ret= urn = this.Visibility};Msn.VE.Core.Layer.prototype.SetMaxZoomLevel=3Dfunction(a= ){this.MaxScale=3Da};Msn.VE.Core.Layer.prototype.GetMaxZoomLevel=3Dfuncti= on(){return = this.MaxScale};Msn.VE.Core.Layer.prototype.SetMinZoomLevel=3Dfunction(a){= this.MinScale=3Da};Msn.VE.Core.Layer.prototype.GetMinZoomLevel=3Dfunction= (){return = this.MinScale};Msn.VE.Core.Layer.prototype.SetBoundingBox=3Dfunction(f,e,= c,d,a,b){if(!this.Boundingbox){if(c=3D=3Dnull||d=3D=3Dnull||a=3D=3Dnull||= b=3D=3Dnull)return null;this.Boundingbox=3Dnew = Msn.VE.Bounds(f,e,c,d,a,b)}else{this.Boundingbox.x1=3Dc;this.Boundingbox.= y1=3Dd;this.Boundingbox.z1=3Df;this.Boundingbox.x2=3Da;this.Boundingbox.y= 2=3Db;this.Boundingbox.z2=3De}return = this.Boundingbox};Msn.VE.Core.Layer.prototype.GetBoundingBox=3Dfunction()= {if(typeof = this.Boundingbox=3D=3D"undefined"||!this.Boundingbox)this.Boundingbox=3Dn= ew Msn.VE.Bounds(0,0,Infinity,Infinity,-Infinity,-Infinity);return = this.Boundingbox};Msn.VE.Core.VectorLayer=3Dfunction(){};Msn.VE.Core.Vect= orLayer.prototype=3Dnew = Msn.VE.Core.Layer;Msn.VE.Core.RasterLayer=3Dfunction(){};Msn.VE.Core.Rast= erLayer.prototype=3Dnew Msn.VE.Core.Layer;function = VELatLong(b,a,c,d){this.Latitude=3Dnull;this.Longitude=3Dnull;this.Altitu= de=3Dnull;this.AltitudeMode=3Dnull;this._reserved=3Dnull;if(b!=3Dnull){VE= Validator.ValidateFloat(b,"latitude");this.Latitude=3Db}if(a!=3Dnull){VEV= alidator.ValidateFloat(a,"longitude");this.Longitude=3Da}if(c!=3Dnull)thi= s.SetAltitude(c,d)}VELatLong.prototype.SetAltitude=3Dfunction(b,a){VEVali= dator.ValidateFloat(b,"altitude");this.Altitude=3Db;if(a!=3Dnull){VEValid= ator.ValidateAltitudeMode(a,"altitudeMode");this.AltitudeMode=3Da}else = this.AltitudeMode=3DVEAltitudeMode.Default};VELatLong.prototype.HasAltitu= de=3Dfunction(){return this.Altitude!=3Dnull};function Clone(){var = a=3Dnew = VELatLong;a.Latitude=3Dthis.Latitude;a.Longitude=3Dthis.Longitude;a._rese= rved=3Dthis._reserved;a.Altitude=3Dthis.Altitude;a.AltitudeMode=3Dthis.Al= titudeMode;return a}function toString(){var = a=3D"";if(this.Latitude!=3Dnull&&this.Longitude!=3Dnull)a=3Dthis.Latitude= +", "+this.Longitude;if(this.Altitude!=3Dnull)a+=3D", = "+this.Altitude;return = a}VELatLong.prototype.toString=3DtoString;VELatLong.prototype.Clone=3DClo= ne;function = VELatLongRectangle(d,c,b,a){VEValidator.ValidateObject(d,"topLeftLatLong"= ,VELatLong,"VELatLong");VEValidator.ValidateObject(c,"bottomRightLatLong"= ,VELatLong,"VELatLong");this.TopLeftLatLong=3Dd;this.BottomRightLatLong=3D= c;if(b!=3Dnull&&b!=3D"undefined"){VEValidator.ValidateObject(b,"topRightL= atLong",VELatLong,"VELatLong");this.TopRightLatLong=3Db}if(a!=3Dnull&&a!=3D= "undefined"){VEValidator.ValidateObject(a,"bottomLeftLatLong",VELatLong,"= VELatLong");this.BottomLeftLatLong=3Da}}VEAltitudeMode=3Dnew = function(){this.Default=3D"Ground";this.Absolute=3D"Datum";this.RelativeT= oGround=3D"Ground"};function = VEValidator(){}VEValidator.ValidateFloat=3Dfunction(b,c){var = a=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)a=3DVEValidator.Get= Caller(arguments.caller);if(a=3D=3D"")a=3D"VEValidator.ValidateFloat";if(= b=3D=3Dnull||b=3D=3D"undefined")throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","float"));try{if(isNaN(parseFloat(b)))throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","float"));return true}catch(d){throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","float"))}};VEValidator.ValidateInt=3Dfunction(b,c){var = a=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)a=3DVEValidator.Get= Caller(arguments.caller);if(a=3D=3D"")a=3D"VEValidator.ValidateInt";if(b=3D= =3Dnull||b=3D=3D"undefined")throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","int"));try{if(isNaN(parseInt(b))||parseFloat(b)!=3DparseI= nt(b))throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","int"));return true}catch(d){throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","int"))}};VEValidator.ValidateNonNegativeInt=3Dfunction(a,= c){var = b=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)b=3DVEValidator.Get= Caller(arguments.caller);if(b=3D=3D"")b=3D"VEValidator.ValidateNonNegativ= eInt";if(a=3D=3Dnull||a=3D=3D"undefined")throw new = VEException(b,"err_invalidargument",L_invalidnonnegativeint_text.replace(= "%1",c));try{if(isNaN(parseInt(a))||parseFloat(a)!=3DparseInt(a)||parseIn= t(a)<0)throw new = VEException(b,"err_invalidargument",L_invalidnonnegativeint_text.replace(= "%1",c));return true}catch(d){throw new = VEException(b,"err_invalidargument",L_invalidnonnegativeint_text.replace(= "%1",c))}};VEValidator.ValidateFunction=3Dfunction(b,c){var = a=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)a=3DVEValidator.Get= Caller(arguments.caller);if(a=3D=3D"")a=3D"VEValidator.ValidateFunction";= if(b=3D=3Dnull||typeof b!=3D"function")throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","function"))};VEValidator.ValidateNonNull=3Dfunction(b,c){= var = a=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)a=3DVEValidator.Get= Caller(arguments.caller);if(a=3D=3D"")a=3D"VEValidator.ValidateNonNull";i= f(b=3D=3Dnull||b=3D=3D"undefined")throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","non = null"))};VEValidator.ValidateBetween=3Dfunction(b,e,d,c){var = a=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)a=3DVEValidator.Get= Caller(arguments.caller);if(a=3D=3D"")a=3D"VEValidator.ValidateBetween";i= f(bc)throw new = VEException(a,"err_invalidargument",L_invalidbetweenint_text.replace("%1"= ,e).replace("%2",d).replace("%3",c))};VEValidator.ValidateBoolean=3Dfunct= ion(b,c){var = a=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)a=3DVEValidator.Get= Caller(arguments.caller);if(a=3D=3D"")a=3D"VEValidator.ValidateBoolean";i= f(b!=3Dtrue&&b!=3Dfalse)throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","bool"))};VEValidator.ValidateMapStyle=3Dfunction(a,c){var= = b=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)b=3DVEValidator.Get= Caller(arguments.caller);if(b=3D=3D"")b=3D"VEValidator.ValidateMapStyle";= if(a=3D=3Dnull||a=3D=3D"undefined")throw new = VEException(b,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","MapStyle"));if(a=3D=3D"r"||a=3D=3D"R"||$MVEM.IsEnabled(Ma= pControl.Features.MapStyle.Shaded)&&(a=3D=3D"s"||a=3D=3D"S")||$MVEM.IsEna= bled(MapControl.Features.MapStyle.Aerial)&&(a=3D=3D"a"||a=3D=3D"A")||$MVE= M.IsEnabled(MapControl.Features.MapStyle.BirdsEye)&&(a=3D=3D"o"||a=3D=3D"= O")||$MVEM.IsEnabled(MapControl.Features.MapStyle.BirdsEye)&&(a=3D=3D"b"|= |a=3D=3D"B")||$MVEM.IsEnabled(MapControl.Features.MapStyle.Hybrid)&&(a=3D= =3D"h"||a=3D=3D"H"))return true;throw new = VEException(b,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","MapStyle"))};VEValidator.ValidateClusteringType=3Dfunctio= n(a,c){var = b=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)b=3DVEValidator.Get= Caller(arguments.caller);if(b=3D=3D"")b=3D"VEValidator.ValidateClustering= Type";if(a=3D=3Dnull||a=3D=3D"undefined")throw new = VEException(b,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","ClusteringType"));if(typeof = a=3D=3D"number"&&(a=3D=3DVEClusteringType.None||a=3D=3DVEClusteringType.G= rid))return true;throw new = VEException(b,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","ClusteringType"))};VEValidator.ValidateMapMode=3Dfunction= (b,c){var = a=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)a=3DVEValidator.Get= Caller(arguments.caller);if(a=3D"")a=3D"VEValidator.ValidateMapMode";if(b= =3D=3Dnull||b=3D=3D"undefined")throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","MapMode"));if(b=3D=3DVEMapMode.Mode2D||$MVEM.IsEnabled(Ma= pControl.Features.MapStyle.View3D)&&b=3D=3DVEMapMode.Mode3D)return = true;throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","MapMode"))};VEValidator.ValidateDistanceUnit=3Dfunction(b= ,c){var = a=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)a=3DVEValidator.Get= Caller(arguments.caller);if(a=3D=3D"")a=3D"VEValidator.ValidateDistanceUn= it";if(b=3D=3Dnull||b=3D=3D"undefined")throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","VEDistanceUnit"));if(b=3D=3DVEDistanceUnit.Miles||b=3D=3D= VEDistanceUnit.Kilometers)return true;throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","VEDistanceUnit"))};VEValidator.ValidateMaxZoom=3Dfunction= (b,c){var = a=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)a=3DVEValidator.Get= Caller(arguments.caller);if(a=3D=3D"")a=3D"VEValidator.ValidateMaxZoom";i= f(b=3D=3Dnull||b=3D=3D"undefined")throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","ValidateMaxZoom"));if(b<=3DMsn.VE.API.Globals.vemaxzoom)r= eturn true;throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","ValidateMaxZoom"))};VEValidator.ValidateLayerType=3Dfunct= ion(a,c){var = b=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)b=3DVEValidator.Get= Caller(arguments.caller);if(b=3D=3D"")b=3D"VEValidator.ValidateLayerType"= ;if(a=3D=3Dnull||a=3D=3D"undefined")throw new = VEException(b,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","VEDataType"));if(a=3D=3DVEDataType.GeoRSS||a=3D=3DVEDataT= ype.VECollection||a=3D=3DVEDataType.VETileSource)return true;throw new = VEException(b,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","VEDataType"))};VEValidator.ValidateDashboardSize=3Dfuncti= on(a,c){var = b=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)b=3DVEValidator.Get= Caller(arguments.caller);if(b=3D=3D"")b=3D"VEValidator.ValidateDashboardS= ize";if(a=3D=3Dnull||a=3D=3D"undefined")throw new = VEException(b,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","VEDashboardSize"));if(a=3D=3DVEDashboardSize.Normal||a=3D= =3DVEDashboardSize.Small||a=3D=3DVEDashboardSize.Tiny)return true;throw = new = VEException(b,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","VEDashboardSize"))};VEValidator.ValidateMiniMapSize=3Dfun= ction(b,c){var = a=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)a=3DVEValidator.Get= Caller(arguments.caller);if(a=3D=3D"")a=3D"VEValidator.ValidateMiniMapSiz= e";if(b=3D=3Dnull||b=3D=3D"undefined")throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","VEMiniMapSize"));if(b=3D=3DVEMiniMapSize.Small||b=3D=3DVE= MiniMapSize.Large)return true;throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","VEMiniMapSize"))};VEValidator.ValidateAltitudeMode=3Dfunc= tion(b,c){var = a=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)a=3DVEValidator.Get= Caller(arguments.caller);if(a=3D=3D"")a=3D"VEValidator.ValidateAltitudeMo= de";if(b=3D=3Dnull)throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","VEAltitudeMode"));if(b!=3DVEAltitudeMode.Absolute&&b!=3DV= EAltitudeMode.RelativeToGround)throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","VEAltitudeMode"));return = true};VEValidator.ValidateObject=3Dfunction(b,c,e,d){var = a=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)a=3DVEValidator.Get= Caller(arguments.caller);if(a=3D=3D"")a=3D"VEValidator.ValidateObject";if= (b=3D=3Dnull||b=3D=3D"undefined")throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","non null"));if(!(b instanceof e))throw new = VEException(a,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2",d))};VEValidator.ValidateObjectArray=3Dfunction(a,d,f,e){v= ar = b=3D"";if(arguments!=3Dnull&&arguments.caller!=3Dnull)b=3DVEValidator.Get= Caller(arguments.caller);if(b=3D=3D"")b=3D"VEValidator.ValidateObject";if= (a=3D=3Dnull||typeof a=3D=3D"undefined"||a.length=3D=3Dnull||typeof = a.length=3D=3D"undefined")throw new = VEException(b,"err_invalidargument",L_invalidargument_text.replace("%1",d= ).replace("%2","array"));for(var = c=3D0;c=3Da.BottomRightLatLong.Longitu= de)throw new = VEException(b,"err_invalidargument",L_invalidargument_text.replace("%1",c= ).replace("%2","VELatLongRectangle"))};VEValidator.GetCaller=3Dfunction()= {return ""};Msn.VE.Core.MapServiceLayerManager=3Dfunction(){var = a=3D[],v=3D200,b=3Dnull;MapOverlayNode=3Dfunction(b,a){this.item=3Db;this= .layers=3Da};function f(d){if(!d.IsOverlay())return -1;var = e=3Da.length;for(var c=3D0;c=3D0;a--){var = d=3Dc.layers[a];if(d=3D=3Dnull)continue;b.push(d.ID)}if(map.IsModeEnabled= (Msn.VE.MapActionMode.Mode3D))r(b);var e=3Db.length;for(var = a=3D0;a=3D0;b--){var = d=3Da[b];a.splice(b,1);c(d)}}function = o(a,d,b){if(!a.IsOverlay())return;var c=3Dg(a);return i(c,d,b)}function = i(c,h,i){if(c=3D=3Dnull||c.layers=3D=3Dnull||c.layers.length=3D=3D0)retur= n;var a=3D[],m=3Dc.layers.length;for(var g=3D0;gw)i=3D1;var = d=3Dl["maxzoom"];d=3Dd=3D=3Dnull||typeof = d=3D=3D"undefined"||d=3D=3D""?w:parseInt(d);if(d<1||d>w||d100)k=3D.6;if(k>1= )k/=3D100;var = j=3Dg(e),J=3D"{VE_MapServiceLayer:"+e.mapserviceType+":"+e.iid+"}",T=3Dv.= length;for(var A=3D0;A0){var = j,o,A,F=3Dl.length;for(j=3D0;j1){g=3Dc[1];f=3Dc[0];= if(a=3D=3D"georss:line")k=3DVEShapeType.Polyline;else = if(a=3D=3D"georss:polygon")k=3DVEShapeType.Polygon}}}else = if(a=3D=3D"gml:name")if(b.firstChild)r=3Db.firstChild.nodeValue;else = r=3D"";else = if(a=3D=3D"gml:description")if(b.firstChild)p=3Db.firstChild.nodeValue;el= se p=3D"";else = if(a=3D=3D"gml:Point"||a=3D=3D"gml:point"||a=3D=3D"georss:where"&&b.first= Child.nodeName=3D=3D"gml:Point"){var = i=3Dnull;if(a=3D=3D"gml:Point"||a=3D=3D"gml:point")i=3Db.childNodes;else = i=3Db.firstChild.childNodes;for(d=3D0;d1){g=3Dc[1];f=3Dc[0]}}}}else = if(a=3D=3D"gml:pos"||a=3D=3D"gml:posList"){if(l[j].childNodes[o].firstChi= ld){var = n=3Dl[j].childNodes[o].firstChild.nodeValue;c=3Dthis.ExtractLatLonPairFro= mXMLList(n);if(c&&c.length>1){g=3Dc[1];f=3Dc[0];if(a=3D=3D"gml:posList")k= =3DVEShapeType.Polyline}}}else = if(a=3D=3D"gml:LineString"||a=3D=3D"georss:where"&&b.firstChild.nodeName=3D= =3D"gml:LineString"){var = i=3Dnull;if(a=3D=3D"gml:LineString")i=3Db.childNodes;else = i=3Db.firstChild.childNodes;k=3DVEShapeType.Polyline;var = x=3Di.length;for(d=3D0;d1){g=3Dc[1];f=3Dc[0]}}}}else = if(a=3D=3D"gml:Polygon"||a=3D=3D"georss:where"&&b.firstChild.nodeName=3D=3D= "gml:Polygon"){var = i=3Dnull;if(a=3D=3D"gml:Polygon")i=3Db.childNodes;else = i=3Db.firstChild.childNodes;k=3DVEShapeType.Polygon;var = x=3Di.length;for(d=3D0;d1){g=3Dc[1];f=3Dc[0]}}}}}}}if(g=3D=3Dnull||g=3D=3D"undefine= d"||g.length<=3D0||f=3D=3Dnull||f=3D=3D"undefined"||f.length<=3D0)continu= e;if(q.Spec.IconUrl!=3Dnull&&q.Spec.IconUrl!=3D"undefined")m=3Dq.Spec.Ico= nUrl;if(m=3D=3Dnull||m=3D=3D"undefined"||m.length<=3D0)m=3DMsn.VE.API.Con= stants.iconurl;var D=3Dp;try{var = s=3Dnull;if(k=3D=3DVEShapeType.Pushpin)if(g!=3Dnull&&f!=3Dnull)s=3Dnew = Msn.Drawing.Point(f,g);else continue;else = if(k=3D=3DVEShapeType.Polyline){if(c.length<4)continue;s=3Dnew = Msn.Drawing.PolyLine(c)}else = if(k=3D=3DVEShapeType.Polygon){if(c.length<8)continue;s=3Dnew = Msn.Drawing.Polygon(c)}var h;if(Msn.VE.API!=3Dnull){var = w=3Ds.points,x=3Dw.length,B=3D[];for(var d=3D0;d0)C=3Dtrue;return = C};Msn.Drawing.MapGeoRssReader.prototype.ExtractLatLonPairFromXMLList=3Df= unction(a){a=3Da.replace(/^\s+/g,"");a=3Da.replace(/\s+$/g,"");var = b=3D[];if(a.indexOf(",")>0)b=3Da.split(",");else{a=3Da.replace(/\s+/g," = ");b=3Da.split(" ")}var d=3Db.length;if(d/2!=3DMath.round(d/2))return = null;for(var c=3D0;c0)VE_MapOverlays.E= xtractEntityOverlay(g,j.childNodes[0],e,c);break}}return}var = h;if(g=3D=3DMC_ACTION_CREATE_COLLECTION||g=3D=3DMC_ACTION_IMPORT_ENTITY||= g=3D=3DMC_ACTION_IMPORT_COLLECTION)h=3Do.GetAnnotationByMsnId(c,m,r);else= h=3Do.GetAnnotationByMsnId(c,m);var = a=3Dh[1];if(h[0])return;if(l&&l!=3D"")a.SetType(l);if(k&&k!=3D"")a.Title=3D= k;if(s&&s!=3D"")a.SetVisibility(false);var = b=3Dnull,v=3Dnull,u=3Dd.childNodes.length;for(var = n=3D0;n/gi,"\n");break;case MC_CML_ENTITY_PRIMITIVES:var = q=3DVE_MapCmlReader.ExtractPrimitives(b);if(q){a.ClearAllPrimitives();a.S= etPrimitives(q)}break;case = MC_CML_VIEWPORT:a.ViewPort=3DVE_MapCmlReader.ExtractViewPort(b);break;cas= e MC_CML_TOUR:a.Tour=3DVE_MapCmlReader.ExtractTour(b);break;case = MC_CML_MODELREP:a.ModelRep=3DVE_MapCmlReader.ExtractModelRep(b);break;cas= e = MC_CML_PHOTOS:a.Photos=3DVE_MapCmlReader.ExtractPhotos(b)}}}if(a.GetPrimi= tiveCount()=3D=3D0)VE_MapManager.GetLayerManager().DeleteAnnotationFromCo= llection(c,a);else if(!h[0])if(Msn.VE.API!=3Dnull)c.AddShape(a);else = c.AddEntityAnnotation(a);else c.UpdateEntityAnnotation(a);return = c};VE_MapCmlReader.ExtractViewPort=3Dfunction(g){var a=3Dnew = VE_3DViewPort,f=3Dtrue,h=3Dg.childNodes.length;for(var = e=3D0;e0){for(var j=3D0;j0&&c.indexOf("http")<= 0))a.SetIconUrl(c);break;case = MC_CML_PROPERTY_KEYWORDS:a.Keywords=3Dunescape(b);break;case = MC_CML_PROPERTY_PHOTOURL:var = f=3Dnull;f=3Dunescape(b);if(f)a.PhotoUrl=3Df;break;case = MC_CML_PROPERTY_USERDATE:a.UserDate=3Db;break;case = MC_CML_PROPERTY_DISPLAYORDER:a.DisplayOrder=3Db;break;case = MC_CML_PROPERTY_BUSINESSLISTINGID:a.SetBusinessListingId(b);break;case = MC_CML_LASTMODIFIED:a.LastModified=3Db;break;case = MC_CML_DISPLAYORDER:a.SetDisplayOrder(b);break;case = MC_CML_ZOOMLEVEL:a.SetZoomLevel(b);break;case = MC_CML_ONSCRATCHPAD:a.SetOnScratchpad(b);break;case = MC_CML_PROPERTY_SOURCEURL:a.SourceUrl=3Dunescape(b);break;case = MC_CML_PROPERTY_SOURCETYPE:a.SourceType=3Db;break;case = MC_CML_TILEID:a.TileId=3Db;break;case = MC_CML_PROPERTY_MAPSERVICETYPE:a.mapserviceType=3Db;break;case = MC_CML_PROPERTY_MAPSERVICESOURCE:a.mapserviceSource=3Dunescape(b);break;c= ase MC_CML_PROPERTY_MAPSERVICEOPACITY:a.mapserviceOpacity=3Db;break;case = MC_CML_PROPERTY_MAPSERVICEMETADATA:a.mapserviceMetadata=3Dunescape(b);bre= ak;case MC_CML_PROPERTY_MAPSERVICESTATUS:a.mapserviceStatus=3Db}}}return = a};VE_MapCmlReader.ExtractPhotos=3Dfunction(l){var = n=3D[],j=3Dl.childNodes.length;if(j=3D=3D0)return null;for(var = g=3D0;g1){var = h=3Di[1];if(h){a.labelPosX=3Dh.longitude;a.labelPosY=3Dh.latitude}}}}if(a= !=3Dnull){if(Msn.VE.API){if(!c)c=3DVE_GetDefaultAPISymbol(a.type);a.symbo= l=3Dc}else = if(a.type!=3DVEShapeType.Pushpin)a.symbol=3Dc;g.push(a)}}}if(g.length<1)r= eturn null;return g};VE_MapCmlReader.ExtractPolygon=3Dfunction(c){var = a=3Dc.selectSingleNode(MC_CML_OUTLS).selectSingleNode(MC_CML_LINEARSTRING= ),b=3Da.selectSingleNode(MC_CML_COORDS);return = VE_MapCmlReader.BuildShape(VEShapeType.Polygon,GetXMLText(b),a)};VE_MapCm= lReader.ExtractPolyLine=3Dfunction(a){var = b=3Da.selectSingleNode(MC_CML_COORDS);return = VE_MapCmlReader.BuildShape(VEShapeType.Polyline,GetXMLText(b),a)};VE_MapC= mlReader.BuildShape=3Dfunction(c,i,d){var = h=3Dnull,g=3Dd.selectSingleNode(MC_CML_ALTITUDE);if(g!=3Dnull)h=3DGetXMLT= ext(g);var = b=3DVE_GetLatLongPairsFromString(i,h);if(b=3D=3Dnull||b.LonLats=3D=3Dnull= )return null;var a=3Dnull;if(VEShapeType.Polyline=3D=3Dc){a=3Dnew = Msn.Drawing.PolyLine(b.LonLats);a.iid=3DMsn.Drawing.GetGeoUID(VEShapeType= .Polyline)}else if(VEShapeType.Polygon=3D=3Dc){a=3Dnew = Msn.Drawing.Polygon(b.LonLats);a.iid=3DMsn.Drawing.GetGeoUID(VEShapeType.= Polygon)}else if(VEShapeType.Pushpin=3D=3Dc){a=3Dnew = Msn.Drawing.Point(b.LonLats[0],b.LonLats[1]);a.iid=3DMsn.Drawing.GetGeoUI= D(VEShapeType.Pushpin)}if(b.Altitudes){var = e=3Dd.selectSingleNode(MC_CML_ALTITUDEMODE);if(e!=3Dnull)a.altitudeMode=3D= GetXMLText(e);if(VEShapeType.Pushpin=3D=3Dc){a.altitudes=3Db.Altitudes;re= turn a}else{a.altitudes=3Db.Altitudes;var = f=3Dd.selectSingleNode(MC_CML_EXTRUDE);if(f!=3Dnull)if(GetXMLText(f).toLo= werCase()=3D=3D"true")a.extruded=3Dtrue;a.minZ=3Db.minZ;a.maxZ=3Db.maxZ;a= .labelPosZ=3Da.maxZ}}if(VEShapeType.Pushpin!=3Dc){a.minX=3Db.minX;a.minY=3D= b.minY;a.maxX=3Db.maxX;a.maxY=3Db.maxY}return = a};VE_MapCmlReader.ExtractPoint=3Dfunction(a){var = b=3Da.selectSingleNode(MC_CML_COORDS);return = VE_MapCmlReader.BuildShape(VEShapeType.Pushpin,GetXMLText(b),a)};VE_MapCm= lReader.ExtractStyle=3Dfunction(i,n){var = e=3D[],a;if(Msn.VE.API)a=3DVE_GetDefaultAPISymbol(n);else = a=3DVE_MapDispatch_SymbolLib.GetCurrentDefaultSymbol();a=3Da.Clone();var = k=3Di.childNodes.length,d=3Dnull;for(var f=3D0;f0){for(var = d=3D0;d0?true:false};Msn.Drawing.GetShpElementUI= DByLabelUID=3Dfunction(c){var = b=3D"",a=3Dc.split(MC_IID_CON_TOKEN);if(!a||a[0]!=3DMC_IID_NAMESPACE)retu= rn = null;b=3Db.concat(a[0],MC_IID_CON_TOKEN,a[1],MC_IID_CON_TOKEN,a[2],MC_IID= _CON_TOKEN,a[3]);return = b};Msn.Drawing.GetEntityUIDByPrimitiveUID=3Dfunction(c){var = b=3D"",a=3Dc.split(MC_IID_CON_TOKEN);if(!a||a[0]!=3DMC_IID_NAMESPACE)retu= rn = null;b=3Db.concat(a[0],MC_IID_CON_TOKEN,a[1],MC_IID_CON_TOKEN,a[2]);retur= n b};Msn.Drawing.CreatePointPushpin=3Dfunction(p,a,r,y,g,m,l,x,h){var = d=3Dnull,i=3Dr;Msn.Drawing.CalculateLabelPosition(a,false);var = u=3Da.labelPosX?a.labelPosX:a.points[0],t=3Da.labelPosY?a.labelPosY:a.poi= nts[1],s=3Dm?m:22,q=3Dl?l:17,f=3Da.iid,b=3Dg,n=3Dg&&g.indexOf("VE_Pushpin= _Overlay")!=3D-1;if(a.type=3D=3DVEShapeType.Pushpin){if(typeof = b=3D=3D"undefined"||!b)b=3Dn?VE_MapStruct.PushpinType.Overlay:VE_MapStruc= t.PushpinType.PushpinAn}else{f=3DMsn.Drawing.GetLabelUID(a.iid);if(typeof= b=3D=3D"undefined"||!b)b=3DVE_MapStruct.PushpinType.Polyline}var = o=3Dn?Msn.VE.PushPinTypes.Overlay:Msn.VE.PushPinTypes.Annotation,k=3Di+""= ;if(h){b=3D"VEAPI_Pushpin";k=3D_VE_GetCustomIcon(f+"_img",h,i,false)}d=3D= p.AddPushpin(f,t,u,s,q,b,k,MC_STYLE_PINZIndex,o,true);if(h){var = c=3D$ID(f+"_img");if(c!=3Dnull){var = w=3Dc.style.height,v=3Dc.style.width;if(isNaN(parseInt(w))||isNaN(parseIn= t(v))){c.style.height=3D"25px";c.style.width=3D"30px"}if(d!=3Dnull){var = e=3DparseInt(d.style.top),j=3DparseInt(c.style.height);if(isNaN(e))e=3Dj;= else e+=3Dj;d.style.top=3De+"px"}}}return d};function = _VE_GetCustomIcon(i,h,e,f){var g=3D"3D"',e,'"")}function _VE_OnCustonIconError(a,e){var = f=3Dtypeof Msn.VE.API!=3D"undefined"&&Msn.VE.API!=3Dnull;if(!f&&typeof = a!=3D"undefined"){var = b=3DVE_MapManager.GetAnnotationById(a.id);if(b){b.IconUrl=3Dnull;var = d=3DVE_MapStruct.PushpinType,c=3Dd.PushpinViewer;if(b.IsOverlay())c=3Dd.O= verlayViewer;else = if(b.GetType()!=3DVEShapeType.Pushpin)c=3Dd.PolylineViewer;if(a.parentEle= ment){a.parentElement.className=3D"bullet = "+c;a.parentElement.innerText=3De;a.parentElement.removeChild(a)}}}}funct= ion _VE_ResizeImage(a,c,b){var = e=3Dc,d=3Db;if(a.width>c)d=3DparseInt(a.height*c/a.width);else = if(a.height>b)e=3DparseInt(a.width*b/a.height);else{e=3Da.width;d=3Da.hei= ght}a.style.height=3Dd+"px";a.style.width=3De+"px";if(a.style.visibility=3D= =3D"hidden")a.style.visibility=3D"visible";return a}function = IsPointInPolygon(a,b,e,f,c,d){if(a>c||ad||b0){= a=3Da.parentElement;--b}return a}function = VE_ChangeOpacity(b,a){if(typeof Web!=3D"undefined"&&typeof = Web.Browser!=3D"undefined"&&typeof = Web.Browser.isMozilla=3D=3D"function"&&Web.Browser.isMozilla())b.style.op= acity=3Da/100;else b.style.filter=3D"alpha(opacity=3D"+a+")"}function = VE_SanitizeHTML(b){if(typeof b=3D=3D"undefined"||!b)return b;var = a=3Ddocument.createElement("div");a.innerHTML=3Db+" = __hack";VE_WalkNode(a,VE_RemoveHarmfulHTML);var = c=3Da.innerHTML;a=3Dnull;return c.substring(0,c.length-7)}function = VE_RemoveHarmfulHTML(c){if(c=3D=3Dnull)return;var = e=3D"",a=3Dnull,f=3D[];for(var = d=3D0;c.hasChildNodes()&&d-1?b:0;a.labelPosX=3D(a.p= oints[2*b]+a.points[2*b+2])/2;a.labelPosY=3D(a.points[2*b+1]+a.points[2*b= +3])/2;if(a.altitudes)a.labelPosZ=3DMath.max(a.altitudes[b],a.altitudes[b= +1])}else if(a.type=3D=3DVEShapeType.Polygon){var = c=3Da.points.length,d=3D0,e=3D0,f=3Dnull;if(a.altitudes)f=3Da.altitudes[0= ];if(c>=3D4&&a.points[0]=3D=3Da.points[c-2]&&a.points[1]=3D=3Da.points[c-= 1])c-=3D2;for(var = b=3D0;bMC_MAX_LOADED_COLS){var = c=3DloadedColIds.shift();c=3DGetCollectionIndexByMsnId(c);if(c>0){var = b=3DGetCollectionByIndex(c);if(b&&b.GetType()=3D=3DMC_COL_TYPE_COLLECTION= ){mvcViewFacade.OnCollectionLayerClear(b);EmptyCollection(b)}}}}};this.Ad= dListener=3Dfunction(b,a){register.AddListener(b,a)};this.RemoveListener=3D= function(b,a){register.RemoveListener(b,a)};this.Fire=3Dfunction(b,a){reg= ister.Fire(b,a)};function = AddCollection(b,a){if(b=3D=3D0)cols.unshift(a);else cols.push(a);return = a}function IsCollectionExist(c){if(cols.length>0)for(var = a=3D0;a0)for(var = a=3D0;a0)for(var b=3D0;b0)for(var = a=3D0;a0)for(var = a=3D0;a0)for(var = b=3D0;b1){a=3Dcols.pop();EmptyCollection(a)}if(cols.l= ength=3D=3D1)EmptyCollection(cols[0])}function = RemoveCollection(a){EmptyCollection(a);DeleteCollection(a)}function = EmptyCollection(a){VE_MapOverlays.DeactivateCollectionOverlays(a);var = c=3Dnull;if(a.Annotations.length>0)for(var = b=3D0;b0)for(var = c=3D0;cb;--a){cols[c].Annotations[a]=3Dcols[c].Annotations[a-1];d=3Dcols= [c].Annotations[a];d.SetDisplayOrder(a+1);d.SetIndex(a);d.SetChangeState(= MC_CHANGE_STATE_UPDATE)}cols[c].Annotations[b]=3Dj;d=3Dcols[c].Annotation= s[b];d.SetDisplayOrder(b+1);d.SetIndex(b);d.SetChangeState(MC_CHANGE_STAT= E_UPDATE);if(e0){var = e=3Dnull,f=3Dnull;for(var = d=3D0;d0){var = c=3Da.GetPrimitiveCount();if(c<1)return null;for(var = b=3D0;b0)for(var b=3D0;b=3D0&&b0&&b){var = a=3D0;while(a0){for(va= r a=3D0;ab.x2&&a.y2>b.y2;c.Update(true,this.iid);if(a)i= f(d){a.x1=3DMath.min(b.x1,a.x1);a.y1=3DMath.min(b.y1,a.y1);a.x2=3DMath.ma= x(b.x2,a.x2);a.y2=3DMath.max(b.y2,a.y2)}else = a=3Dthis.UpdateBoundingBox();else a=3Dnew = Msn.VE.Bounds(0,0,b.x1,b.y1,b.x2,b.y2);this.SetBoundingBox(0,0,a.x1,a.y1,= a.x2,a.y2);this._SetTileId();a=3Dnull;return = c};VEShapeLayer.prototype.UpdateBoundingBox=3Dfunction(){var = h=3Dthis.Annotations.length,g=3Dnull,a=3Dnull,b=3DInfinity,d=3DInfinity,c= =3D-Infinity,e=3D-Infinity;for(var = f=3D0;f0&&aMsn.VE.API.Globals.veshapemaxzoom||aMsn.VE.API= .Globals.veshapemaxzoom)throw new = VEException("VEShapeLayer.SetMinZoomLevel","err_incorrectzoomlevel",L_Shp= _IncorrectZoomLevel_Text);else if(a>this.MaxScale)throw new = VEException("VEShapeLayer.SetMinZoomLevel","err_incorrectzoomlevel",L_Shp= _IncorrectZoomLevel2_Text);this.MinScale=3Da;if(this.GetVisibility())this= .Show()};VEShapeLayer.prototype.GetMinZoomLevel=3Dfunction(){return = this.MinScale};VEShapeLayer.prototype.IsVisible=3Dfunction(){return = this.GetVisibility()};VEShapeLayer.prototype.SetClusteringConfiguration=3D= function(b,a){if(!this._isClusterLayer){if(a!=3Dnull){VEValidator.Validat= eObject(a,"clusteringOptions",VEClusteringOptions,"VEClusteringOptions");= if(a.Icon!=3Dnull)VEValidator.ValidateObject(a.Icon,"clusteringOptions.Ic= on",VECustomIconSpecification,"VECustomIconSpecification");if(a.Callback!= =3Dnull)VEValidator.ValidateFunction(a.Callback,"clusteringOptions.Callba= ck")}if(typeof = b=3D=3D"number"){VEValidator.ValidateClusteringType(b,"type");if(b=3D=3DV= EClusteringType.Grid)this._clusteringAlgorithm=3DGridCluster;else = this._clusteringAlgorithm=3Dnull}else if(typeof = b=3D=3D"function")this._clusteringAlgorithm=3Db;else throw new = VEException("VEShapeLayer:SetClusteringConfiguration","err_invalidargumen= t",L_invalidargument_text.replace("%1","type").replace("%2","VEClustering= Type"));this._clusteringOptions=3Da;if(this._clusteringAlgorithm=3D=3Dnul= l)this.DeleteClusterLayer();else this.CreateClusterLayer();var = c=3DGetVEMapInstance(this._mapGuid);if(c!=3Dnull&&c.m_vegraphicsmanager!=3D= null)if(this._clusterLayer!=3Dnull)this.Cluster();else = c.m_vegraphicsmanager.DrawLayer(this)}else throw new = VEException("VEShapeLayer:SetClusteringConfiguration","err_invalidlayerty= pe",L_InvalidClusterLayer_Text)};VEShapeLayer.prototype.Cluster=3Dfunctio= n(){if(!this._isClusterLayer&&this._clusterLayer){this._clusterLayer._clu= sterZoomLevel=3Dnull;var = a=3DGetVEMapInstance(this._mapGuid);if(a!=3Dnull&&a.m_vegraphicsmanager!=3D= null)a.m_vegraphicsmanager.DrawLayer(this)}};VEShapeLayer.prototype.GetCl= usteredShapes=3Dfunction(b){var = a=3D[];VEValidator.ValidateClusteringType(b,"type");switch(b){case = VEClusteringType.Grid:a=3DGridCluster(this)}return = a};VEShapeLayer.prototype.CreateClusterLayer=3Dfunction(){if(!this._isClu= sterLayer&&!this._clusterLayer){var = a=3DGetVEMapInstance(this._mapGuid);if(a!=3Dnull){this._clusterLayer=3Dne= w = VEShapeLayer;this._clusterLayer._isClusterLayer=3Dtrue;a.AddShapeLayer(th= is._clusterLayer)}}};VEShapeLayer.prototype.DeleteClusterLayer=3Dfunction= (){if(this._clusterLayer){var = a=3DGetVEMapInstance(this._mapGuid);if(a!=3Dnull){a.DeleteShapeLayer(this= ._clusterLayer);this._clusterLayer=3Dnull}}};VEShapeLayer.prototype.Clear= ClusterLayer=3Dfunction(){if(this._clusterLayer){this._clusterLayer._clus= terZoomLevel=3Dnull;this._clusterLayer.DeleteAllShapes()}};function = GridCluster(m){var = q=3D[],g=3DGetVEMapInstance(m._mapGuid);if(g!=3Dnull){var = b=3D{},d=3Dg.GetZoomLevel(),p=3D2,r=3D0;if(g.vemapcontrol.IsMapViewObliqu= e())d+=3D18;var u=3Dm.Annotations.length;for(var n=3D0;n1){var h=3Dnew = VEClusterSpecification;h.Shapes=3De;var k=3D0,l=3D0,i=3Dfalse;for(var = f=3D0;f0&&a[0]!=3Dnull){this.Keywords=3Da;this.Keywords[0]=3Dt= his.Keywords[0].replace(/%0D%0A/g,"\r\n").replace(/%0A/g,"\n")}else = this.Keywords=3Da;this.Url=3Do;this.PhotoUrl=3Dj;this.UserDate=3Dk;this.B= usinessListingId=3Dc;this.IconId=3Dl;this.LastModified=3Di;this.mapservic= eType=3Dh;this.mapserviceSource=3Df;this.mapserviceOpacity=3Dd};VEShape.p= rototype.symbolUrl=3D"samplesymbol";VEShape.prototype.GetMsnId=3Dfunction= (){return = this.Id};VEShape.prototype.SetMsnId=3Dfunction(a){this.Id=3Da};VEShape.pr= ototype.SetBoundingBox=3Dfunction(f,e,c,d,a,b){if(typeof = this.Boundingbox=3D=3D"undefined"||this.Boundingbox=3D=3Dnull){if(c=3D=3D= null||d=3D=3Dnull||a=3D=3Dnull||b=3D=3Dnull)return = null;this.Boundingbox=3Dnew = Msn.VE.Bounds(f,e,c,d,a,b)}else{this.Boundingbox.x1=3Dc;this.Boundingbox.= y1=3Dd;this.Boundingbox.z1=3Df;this.Boundingbox.x2=3Da;this.Boundingbox.y= 2=3Db;this.Boundingbox.z2=3De}if(typeof = VE_ShapeIndexManager!=3D"undefined")this.TileId=3DVE_ShapeIndexManager.Ge= tTileId(this.Boundingbox);return = this.Boundingbox};VEShape.prototype.GetBoundingBox=3Dfunction(){if(typeof= = this.Boundingbox=3D=3D"undefined"||!this.Boundingbox)this.Boundingbox=3Dn= ew Msn.VE.Bounds(0,0,Infinity,Infinity,-Infinity,-Infinity);return = this.Boundingbox};VEShape.prototype.GetCenterPoint=3Dfunction(){if(!this.= GetBoundingBox())return;var a=3Dnew = Array(2);a[0]=3D(this.GetBoundingBox().x1+this.GetBoundingBox().x2)/2;a[1= ]=3D(this.GetBoundingBox().y1+this.GetBoundingBox().y2)/2;return = a};VEShape.prototype.SetId=3Dfunction(a){this.iid=3Da};VEShape.prototype.= GetId=3Dfunction(){if(typeof = this.iid=3D=3D"undefined"||this.iid=3D=3D0||this.iid=3D=3Dnull)this.iid=3D= Msn.Drawing.GetGeoUID(MC_GEO_TYPE_ENTITY);return = this.iid};VEShape.prototype.SetVisibility=3Dfunction(a){this.Visibility=3D= a};VEShape.prototype.GetVisibility=3Dfunction(){if(typeof = this.Visibility=3D=3D"undefined"||typeof = this.Visibility=3D=3D"null")this.Visibility=3Dtrue;return = this.Visibility};VEShape.prototype.SetBusinessListingId=3Dfunction(a){if(= typeof a=3D=3D"undefined"||a=3D=3D"null")this.BusinessListingId=3D0;else = this.BusinessListingId=3Da};VEShape.prototype.GetBusinessListingId=3Dfunc= tion(){if(typeof = this.BusinessListingId=3D=3D"undefined"||this.BusinessListingId=3D=3Dnull= ||this.BusinessListingId=3D=3D"null")this.BusinessListingId=3D0;return = this.BusinessListingId};VEShape.prototype.SetType=3Dfunction(a){this.Type= =3Da};VEShape.prototype.GetType=3Dfunction(){if(typeof = this.Type=3D=3D"undefined")this.Type=3D"aN";return = this.Type};VEShape.prototype.SetSaveStatus=3Dfunction(a){this.SaveStatus=3D= a};VEShape.prototype.IsSaved=3Dfunction(){if(typeof = this.SaveStatus=3D=3D"undefined")this.SaveStatus=3Dtrue;return = this.SaveStatus};VEShape.prototype.SetOnScratchpad=3Dfunction(a){this.OnS= cratchpad=3Da};VEShape.prototype.IsOnScratchpad=3Dfunction(){if(typeof = this.OnScratchpad=3D=3D"undefined")this.OnScratchpad=3Dtrue;return = this.OnScratchpad};VEShape.prototype.SetZoomLevel=3Dfunction(a){this.Zoom= Level=3Da};VEShape.prototype.GetZoomLevel=3Dfunction(){if(typeof = this.ZoomLevel=3D=3D"undefined")this.ZoomLevel=3D12;return = this.ZoomLevel};VEShape.prototype.SetChangeState=3Dfunction(a){this.Chang= eState=3Da};VEShape.prototype.GetChangeState=3Dfunction(){if(typeof = this.ChangeState=3D=3D"undefined")this.ChangeState=3DMC_CHANGE_STATE_DEFA= ULT;return = this.ChangeState};VEShape.prototype.SetChangeType=3Dfunction(a){this.Chan= geType=3Da};VEShape.prototype.GetChangeType=3Dfunction(){if(typeof = this.ChangeType=3D=3D"undefined")this.ChangeType=3DMC_CHANGE_TYPE_ALL;ret= urn this.ChangeType};VEShape.prototype.HasAltitude=3Dfunction(){var = a=3Dthis.Primitives;if(typeof a=3D=3D"undefined"||a=3D=3Dnull)return = false;if(a[0].altitudes=3D=3Dnull)return false;else return = true};VEShape.prototype.GetPrimitiveCount=3Dfunction(){if(typeof = this.Primitives=3D=3D"undefined"||this.Primitives=3D=3Dnull){this.Primiti= ves=3D[];return 0}return = this.Primitives.length};VEShape.prototype.SetPrimitives=3Dfunction(a){thi= s.Primitives=3Da;this.SetType(a[0].type)};VEShape.prototype.GetPrimitives= =3Dfunction(){if(typeof = this.Primitives=3D=3D"undefined"||this.Primitives=3D=3Dnull)this.Primitiv= es=3D[];return = this.Primitives};VEShape.prototype.GetPrimitive=3Dfunction(a){if(typeof = this.Primitives=3D=3D"undefined"||this.Primitives=3D=3Dnull||this.Primiti= ves.length=3D=3D0){this.Primitives=3D[];return = null}if(a",f=3Dthis.Primitives.length,d=3Dnull;for(var = e=3D0;e",d.points.join(","),"")}var = b=3D"",c=3D"";a=3Da.concat("");a=3Da.concat(b,this.GetBusiness= ListingId(),c,b,this.Url,c,b,this.PhotoUrl,c,b,this.Title,c,b,this.Type,c= );a=3Da.concat("");a=3Da.concat("");return a};function = VE_3DViewPort(){this.Latitude=3D0;this.Longitude=3D0;this.Altitude=3D0;th= is.Altitudemode=3D"Datum";this.Pitch=3D0;this.Heading=3D0;this.Mapstyle=3D= "r";this.SceneId=3D0;this.Properties=3Dnull}function = VE_3DModelRep(){this.Transform=3Dnull;this.ModelRefId=3Dnull;this.MinBoun= ds=3Dnull;this.MaxBounds=3Dnull;this.Properties=3Dnull;this.R2eoffset=3Dn= ull}function = VE_3DModelData(){this.Properties=3Dnull;this.Callback=3Dnull}function = VE_3DTour(){this.Actions=3Dnull}function = VE_Photo(){this.Id=3Dnull;this.Url=3Dnull;this.Properties=3Dnull}VEShape.= prototype.SetPhotos=3Dfunction(a){this.Photos=3Da};function = _VE_EntityDrawingState(){this.zIndexIcon=3Dnull;this.zIndexPolyShape=3Dnu= ll;this.minZoomLevel=3Dnull;this.maxZoomLevel=3Dnull;this.isShared=3Dnull= ;this.parentEl=3Dnull;this.text=3Dnull}function = _VE_CreateServiceInstance(a){switch(a){case = _VE_ServiceType.MapCruncher:return new = VETileSourceSpecification;default:return null}return = null}_VE_ServiceType=3D{MapCruncher:"t",NetworkLink:"n"};VEShape.Decoder=3D= new _xy1;VEShape.LatLongFactory=3Dnew VELatLongFactory(new = VELatLongFactoryAlwaysEncodeSpec);VEShape.prototype._Construct=3Dfunction= (j,g,e){var a=3D[],d=3D[],k=3Dfalse,f=3Dnull;if(typeof = g!=3D"undefined"){if(g=3D=3DMC_VESHAPE_EMPTY&&j){this.maxZoomLevel=3DMsn.= VE.API.Globals.veshapemaxzoom;this.minZoomLevel=3DMsn.VE.API.Globals.vesh= apeminzoom;this._eroContent=3Dnull;this._shplayer=3Dnull;return}}else = throw new = VEException("VEShape","err_invalidargument",L_invalidargument_text.replac= e("%1","type").replace("%2","VEShapeType"));if(typeof = e=3D=3D"object")if(typeof e.length=3D=3D"number"){var = l=3De.length;for(var h=3D0;hthis.maxZoomLevel)throw new = VEException("VEShape.SetMaxZoomLevel","err_incorrectzoomlevel",L_Shp_Inco= rrectZoomLevel_Text);else if(athis.maxZoomLevel)throw new = VEException("VEShape.SetMinZoomLevel","err_incorrectzoomlevel",L_invalidm= inmaxzoom_text);this.minZoomLevel=3Da;if(this.GetVisibility())this.Show()= };VEShape.prototype.GetMinZoomLevel=3Dfunction(){return = this.minZoomLevel};VEShape.prototype.GetCustomIcon=3Dfunction(){var = a=3Dnull,b=3Dthis.Primitives[0].symbol;if(typeof = b=3D=3D"object"&&b.isOn=3D=3Dtrue){a=3Dnew = VECustomIconSpecification;a.Image=3Db.imagedata_src;a.TextBold=3Db.textbo= x_bold;a.TextItalics=3Db.textbox_italic;a.TextUnderline=3Db.textbox_under= score;a.TextFont=3Db.textbox_font;a.TextSize=3Db.textbox_size;a.TextOffse= t=3Dnew VEPixel(b.textbox_OffsetX,b.textbox_OffsetY);a.ImageOffset=3Dnew = VEPixel(b.img_offsetX,b.img_offsetY);a.CustomHTML=3Dthis._customIcon;a.Te= xtContent=3Dthis.Primitives[0].name;a.ImageWidth=3Db.img_width;a.ImageHei= ght=3Db.img_height;var e=3Dnew = VEHexStringToColor,d=3Db.textbox_color;if(d.indexOf("#")=3D=3D0)d=3Dd.sub= string(1);a.ForeColor=3De.Convert(d);a.ForeColor.A=3Db.textbox_color_opac= ity;var = c=3Db.textbox_backcolor;if(c.indexOf("#")=3D=3D0)c=3Dc.substring(1);a.Bac= kColor=3De.Convert(c);a.BackColor.A=3Db.textbox_backcolor_opacity}else = a=3Dthis._customIcon;return = a};VEShape.prototype.SetCustomIcon=3Dfunction(b){if(typeof = b=3D=3D"undefined"||b=3D=3Dnull)return null;if(typeof = b=3D=3D"object"){VEValidator.ValidateObject(b,"_content_",VECustomIconSpe= cification,"VECustomIconSpecification");if(typeof = b.TextContent=3D=3D"string"&&b.TextContent!=3Dnull)this.Primitives[0].nam= e=3Db.TextContent;var = a=3Dthis.Primitives[0].symbol;if(a.id=3D=3DMC_PROPERTY_PARK||a.id=3D=3DMC= _PROPERTY_PUSHPIN)a=3Da.Clone();if(typeof = b.Image=3D=3D"string"&&b.Image!=3Dnull)a.imagedata_src=3DGetImageFullUrl(= b.Image);else a.imagedata_src=3DMsn.VE.API.Constants.iconurl;var = e=3Db.ForeColor;if(typeof = e=3D=3D"object"&&e!=3Dnull){VEValidator.ValidateObject(e,"fC",VEColor,"VE= Color");a.textbox_color=3De.ToHexString();a.textbox_color_opacity=3De.A}v= ar d=3Db.BackColor;if(typeof = d=3D=3D"object"&&d!=3Dnull){VEValidator.ValidateObject(d,"bC",VEColor,"VE= Color");a.textbox_backcolor=3Dd.ToHexString();a.textbox_backcolor_opacity= =3Dd.A}var g=3Db.TextOffset;if(typeof = g=3D=3D"object"&&g!=3Dnull){VEValidator.ValidateObject(g,"tO",VEPixel,"VE= Pixel");a.textbox_OffsetX=3Db.TextOffset.x;a.textbox_OffsetY=3Db.TextOffs= et.y}var f=3Db.ImageOffset;if(typeof = f=3D=3D"object"&&f!=3Dnull){VEValidator.ValidateObject(f,"iO",VEPixel,"VE= Pixel");a.img_offsetX=3Df.x;a.img_offsetY=3Df.y}if(b.TextBold)a.textbox_b= old=3Dtrue;if(b.TextItalics)a.textbox_italic=3Dtrue;if(b.TextUnderline)a.= textbox_underscore=3Dtrue;var = l=3DparseInt(b.ImageWidth);if(!isNaN(l))a.img_width=3Dl;var = k=3DparseInt(b.ImageHeight);if(!isNaN(k))a.img_height=3Dk;a.textbox_font=3D= b.TextFont;a.imagedata_on=3Dtrue;var = i=3DparseInt(b.TextSize);if(!isNaN(i))a.textbox_size=3Di;a.isOn=3Dtrue;th= is.Primitives[0].symbol=3Da;if(b.CustomHTML!=3Dnull)this._customIcon=3Db.= CustomHTML;else if(this.Primitives[0].name){var c=3D[];c.push("
");c.push("
");= c.push(this.Primitives[0].name);c.push("
");c.push(" ');else = c.push("/>");c.push("
");this._customIcon=3Dc.join("")}else = this._customIcon=3Da.imagedata_src}else if(typeof = b=3D=3D"string"){this._customIcon=3Db;if(b.indexOf("<")<0){var = a=3Dthis.Primitives[0].symbol;if(a.id=3D=3DMC_PROPERTY_PARK||a.id=3D=3DMC= _PROPERTY_PUSHPIN)a=3Da.Clone();a.imagedata_src=3DGetImageFullUrl(b);a.is= On=3Dtrue;this.Primitives[0].symbol=3Da}}this._IconContent=3Dnull;this.Re= draw(false,false,false,true)};VEShape.prototype.GetIconAnchor=3Dfunction(= ){if(this.Altitude)return new = VELatLong(this.Latitude,this.Longitude,this.Altitude,this.Primitives[0].a= ltitudeMode);else return new = VELatLong(this.Latitude,this.Longitude)};VEShape.prototype.SetIconAnchor=3D= function(a){if(this.IsModel())return = false;if(a!=3Dnull&&a!=3D"undefined"){VEValidator.ValidateObject(a,"veLat= long",VELatLong,"VELatLong");if(a.HasAltitude()&&a.AltitudeMode!=3Dthis.P= rimitives[0].altitudeMode)throw new = VEException("VEShape","err_altitudemodemismatch",L_altitudemodemismatch_T= ext);var = b=3Dthis.Primitives[0];if(b.type!=3DVEShapeType.Pushpin){this.Latitude=3D= a.Latitude;this.Longitude=3Da.Longitude;b.labelPosX=3Dthis.Longitude;b.la= belPosY=3Dthis.Latitude;if(a.HasAltitude()){this.Altitude=3Da.Altitude;b.= labelPosZ=3Da.Altitude}else{this.Altitude=3Dnull;b.labelPosZ=3Dnull}}}thi= s.Redraw(false,true)};VEShape.prototype.GetCustomInfoBox=3Dfunction(){ret= urn = this._eroContent};VEShape.prototype.SetCustomInfoBox=3Dfunction(a){if(typ= eof = a!=3D"undefined"&&a!=3Dnull)this._eroContent=3Da.replace(/%0D%0A/g,"\r\n"= ).replace(/%0A/g,"\n")};VEShape.prototype.SetZIndex=3Dfunction(c,b){if(c!= =3Dnull)VEValidator.ValidateInt(c,"icon");if(b!=3Dnull)VEValidator.Valida= teInt(b,"polyshape");if(c=3D=3Dnull&&b=3D=3Dnull)throw new = VEException("VEShape.SetZIndex","L_invalidzindex_text",L_invalidzindex_te= xt);var = a=3Dthis.Primitives[0].symbol;if(a.id=3D=3DMC_PROPERTY_PARK||a.id=3D=3DMC= _PROPERTY_PUSHPIN)a=3Da.Clone();if(c!=3Dnull)a.style_zIndex=3DparseInt(c)= ;if(b!=3Dnull)a.style_zIndex_polyshape=3DparseInt(b);this.Primitives[0].s= ymbol=3Da;this.Redraw(false,false,true,true)};VEShape.prototype.GetZIndex= =3Dfunction(){if(this.Primitives[0].symbol!=3Dnull&&this.Primitives[0].sy= mbol.style_zIndex!=3Dnull)return = this.Primitives[0].symbol.style_zIndex;else return = Msn.VE.API.Globals.veshapeiconzindex};VEShape.prototype.GetZIndexPolyShap= e=3Dfunction(){if(this.Primitives[0].symbol!=3Dnull&&this.Primitives[0].s= ymbol.style_zIndex_polyshape!=3Dnull)return = this.Primitives[0].symbol.style_zIndex_polyshape;else return = Msn.VE.API.Globals.veshapepolyshapezindex};VEShape.prototype.SetLineColor= =3Dfunction(b){if(this.Primitives[0].type=3D=3DVEShapeType.Pushpin)return= false;if(typeof = b=3D=3D"object"&&b!=3Dnull){VEValidator.ValidateObject(b,"_color",VEColor= ,"VEColor");var = a=3Dthis.Primitives[0].symbol;if(a.id=3D=3DMC_PROPERTY_PARK||a.id=3D=3DMC= _PROPERTY_PUSHPIN)a=3Da.Clone();a.stroke_color=3Db.ToHexString();a.stroke= _opacity=3Db.A;this.Primitives[0].symbol=3Da;this.Redraw(false,false,true= ,false)}else if(typeof b!=3D"undefined")throw new = VEException("SetLineColor","err_invalidargument",L_invalidargument_text.r= eplace("%1","color").replace("%2","VEColor"))};VEShape.prototype.GetLineC= olor=3Dfunction(){if(this.Primitives[0].type=3D=3DVEShapeType.Pushpin)ret= urn null;var c=3Dthis.Primitives[0].symbol,e=3Dnew = VEHexStringToColor,a=3Dc.stroke_color;if(a.indexOf("#")=3D=3D0)a=3Da.subs= tring(1);var = b=3De.Convert(a),d=3Dc.stroke_opacity.toString();if(d.indexOf("%")>0)b.A=3D= parseInt(d)/100;else b.A=3Dc.stroke_opacity;return = b};VEShape.prototype.SetFillColor=3Dfunction(b){if(this.Primitives[0].typ= e=3D=3DVEShapeType.Pushpin)return false;if(typeof = b=3D=3D"object"&&b!=3Dnull){VEValidator.ValidateObject(b,"_color",VEColor= ,"VEColor");var = a=3Dthis.Primitives[0].symbol;if(a.id=3D=3DMC_PROPERTY_PARK||a.id=3D=3DMC= _PROPERTY_PUSHPIN)a=3Da.Clone();a.fill_color=3Db.ToHexString();a.fill_opa= city=3Db.A;this.Primitives[0].symbol=3Da;this.Redraw(false,false,true,fal= se)}else if(typeof b!=3D"undefined")throw new = VEException("SetFillColor","err_invalidargument",L_invalidargument_text.r= eplace("%1","color").replace("%2","VEColor"))};VEShape.prototype.GetFillC= olor=3Dfunction(){if(this.Primitives[0].type=3D=3DVEShapeType.Pushpin)ret= urn null;var c=3Dthis.Primitives[0].symbol,e=3Dnew = VEHexStringToColor,a=3Dc.fill_color;if(a.indexOf("#")=3D=3D0)a=3Da.substr= ing(1);var = b=3De.Convert(a),d=3Dc.fill_opacity.toString();if(d.indexOf("%")>0)b.A=3D= parseInt(d)/100;else b.A=3Dc.fill_opacity;return = b};VEShape.prototype.SetLineWidth=3Dfunction(c){if(this.Primitives[0].typ= e=3D=3DVEShapeType.Pushpin)throw new = VEException("VEShape.SetLineWidth","err_invalidlinewidth",L_Shp_Incorrect= LineWidth_Text);var b=3DparseInt(c);if(isNaN(b)||b<1)throw new = VEException("VEShape.SetLineWidth","err_invalidlinewidth",L_Shp_Incorrect= LineWidth_Text);var = a=3Dthis.Primitives[0].symbol;if(a.id=3D=3DMC_PROPERTY_PARK||a.id=3D=3DMC= _PROPERTY_PUSHPIN)a=3Da.Clone();a.stroke_weight=3Db;this.Primitives[0].sy= mbol=3Da;this.Redraw(false,false,true,false)};VEShape.prototype.GetLineWi= dth=3Dfunction(){if(this.Primitives[0].type=3D=3DVEShapeType.Pushpin)retu= rn null;var = a=3DparseInt(this.Primitives[0].symbol.stroke_weight);if(isNaN(a))return = 0;else return = a};VEShape.prototype.SetPhotoURL=3Dfunction(a){this._eroContent=3Dnull;th= is.PhotoUrl=3Da};VEShape.prototype.GetPhotoURL=3Dfunction(){return = this.PhotoUrl};VEShape.prototype.SetMoreInfoURL=3Dfunction(a){this._eroCo= ntent=3Dnull;this.Url=3Da};VEShape.prototype.GetMoreInfoURL=3Dfunction(){= return = this.Url};VEShapeLayer.prototype.GetBoundingRectangle=3Dfunction(){var = a=3Dthis.GetBoundingBox();return new VELatLongRectangle(new = VELatLong(a.y2,a.x1),new = VELatLong(a.y1,a.x2))};VEShape.prototype._OffsetScene=3Dnull;VEShape.prot= otype._OffsetLatLong=3Dnull;VEShape.prototype._OffsetPoints=3Dnull;VEShap= e.prototype._OriginalPoints=3Dnull;VEShape.prototype._UsingOffset=3Dfalse= ;VEShape.prototype.SetUseOffset=3Dfunction(b){if(this._UsingOffset!=3Db){= this._UsingOffset=3Db;if(b){if(this._OffsetPoints!=3Dnull){var = a=3D[];for(var c=3D0;c');a.push(VECreateVEShapeERO(this,this._shplayer._mapGuid));a.push("= ")}return = a.join("")};VEShape.prototype._isDrawn=3Dfalse;VEShape.prototype._isHidde= nForZoom=3Dfalse;VEShape.prototype.GetShapeElement=3Dfunction(){var = a=3Dthis.Primitives[0];if(this._isDrawn&&a&&a.type!=3DVEShapeType.Pushpin= ){if(a._shapeElement=3D=3Dnull)a._shapeElement=3D$ID(a.iid);return = a._shapeElement}return = null};VEShape.prototype.GetIconElement=3Dfunction(){var = a=3Dthis.Primitives[0];if(this._isDrawn&&a){if(a._iconElement=3D=3Dnull)i= f(a.type=3D=3DVEShapeType.Pushpin)a._iconElement=3D$ID(a.iid);else = a._iconElement=3D$ID(Msn.Drawing.GetLabelUID(a.iid));return = a._iconElement}return = null};VEShape.prototype.ClearDomElements=3Dfunction(){var = a=3Dthis.Primitives[0];if(a){a._shapeElement=3Dnull;a._iconElement=3Dnull= }};VEShape.prototype.DisposeEx=3Dfunction(){this.ClearDomElements();this.= Dispose()};VEShape.prototype.Draggable=3Dfalse;function = VECustomIconSpecification(){this.Image=3Dnull;this.TextContent=3Dnull;thi= s.CustomHTML=3Dnull;this.textFont=3D"Arial";this.TextBold=3Dfalse;this.Te= xtItalics=3Dfalse;this.TextUnderline=3Dfalse;this.TextSize=3D7;this.Image= Offset=3Dnull;this.TextOffset=3Dnull;this.ForeColor=3Dnull;this.BackColor= =3Dnull;this.ImageWidth=3D-1;this.ImageHeight=3D-1}function = VEClusteringOptions(){this.Icon=3Dnull;this.Callback=3Dnull}VEClusteringT= ype=3Dnew function(){this.None=3D0;this.Grid=3D1};function = VEClusterSpecification(){this._clusterShape=3Dnull;this.Shapes=3D[];this.= LatLong=3Dnull;VEClusterSpecification.prototype.GetClusterShape=3Dfunctio= n(){return = this._clusterShape}}VE_SetModuleStatus(VE_ModuleName.APILAYERS,"loaded");= VEMap.prototype.InitMapDrawing=3Dfunction(){cssCursors=3DMsn.VE.Css.Curso= rs;if(VE_MapDispatch_SymbolLib=3D=3Dnull){VE_MapDispatch_SymbolLib=3Dnew = VEShapeStyleLibrary;VEShapeStyle.prototype.imagedata_src=3DMsn.VE.API.Con= stants.iconurl}if(this.m_velayermanager=3D=3Dnull){this.m_velayermanager=3D= new = VELayerManager(this);this._lm=3Dthis.m_velayermanager}};VEMap.prototype.I= nitTiles=3Dfunction(){if(!this.m_vetilesourcemanager)this.m_vetilesourcem= anager=3Dnew = VETileSourceManager(this)};VEMap.prototype.AddTileLayer=3Dfunction(a,b,c)= {VEValidator.ValidateObject(a,"tileSourceSpec",VETileSourceSpecification,= "VETileSourceSpecification");this.m_vetilesourcemanager.AddTileSource(a,c= ,b)};VEMap.prototype.ShowTileLayer=3Dfunction(a){this.m_vetilesourcemanag= er.ShowTileLayer(a)};VEMap.prototype.ShowAllTileLayers=3Dfunction(){this.= m_vetilesourcemanager.ShowAllTileLayers()};VEMap.prototype.HideTileLayer=3D= function(a){this.m_vetilesourcemanager.HideTileLayer(a)};VEMap.prototype.= ShowBaseTileLayer=3Dfunction(){this.m_vetilesourcemanager.ShowBaseTileLay= er()};VEMap.prototype.HideBaseTileLayer=3Dfunction(){this.m_vetilesourcem= anager.HideBaseTileLayer()};VEMap.prototype.HideAllTileLayers=3Dfunction(= ){this.m_vetilesourcemanager.HideAllTileLayers()};VEMap.prototype.DeleteT= ileLayer=3Dfunction(a){this.m_vetilesourcemanager.DeleteSourceById(a)};VE= Map.prototype.DeleteAllTileLayers=3Dfunction(){this.m_vetilesourcemanager= .DeleteAllSources()};VEMap.prototype.GetTileLayerCount=3Dfunction(){retur= n = this.m_vetilesourcemanager.GetSourceCount()};VEMap.prototype.GetTileLayer= ByID=3Dfunction(a){return = this.m_vetilesourcemanager.GetSourceById(a)};VEMap.prototype.GetTileLayer= ByIndex=3Dfunction(a){return = this.m_vetilesourcemanager.GetSourceByIndex(a)};function = VETileSourceSpecification(h,i,d,g,f,e,c,a,b){this.ID=3Dnull;this.TileSour= ce=3Dnull;this.NumServers=3D1;this.Bounds=3Dnull;this.MinZoomLevel=3D0;th= is.MaxZoomLevel=3D1;this.GetTilePath=3Dnull;this.Opacity=3Dnull;this.ZInd= ex=3Dnull;this.SetsBestMapView=3Dtrue;this.FnCallback=3Dnull;this.IsVisib= le=3Dtrue;this.LoadTiles=3Dtrue;if(typeof = h=3D=3D"string")this.ID=3Dh;else throw new = VEException("VETileSourceSpecification","err_invalidargument",L_invalidar= gument_text.replace("%1","ID").replace("%2","string"));if(typeof = i=3D=3D"string")this.TileSource=3Di.replace(/%20/g," ");else throw new = VEException("VETileSourceSpecification","err_invalidargument",L_invalidar= gument_text.replace("%1","tileSource").replace("%2","string"));if(d!=3D"u= ndefined"&&d!=3Dnull)this.NumServers=3Dd;if(g!=3D"undefined"&&g!=3Dnull)t= his.Bounds=3Dg;if(f!=3D"undefined"&&f!=3Dnull)this.MinZoomLevel=3Df;if(e!= =3D"undefined"&&e!=3Dnull)this.MaxZoomLevel=3De;if(c!=3D"undefined"&&c!=3D= null)this.GetTilePath=3Dc;if(a!=3D"undefined"&&a!=3Dnull){VEValidator.Val= idateFloat(a,"Opacity");if(a<0||a>1)throw new = VEException("VEMap:AddTileLayer","err_invalidOpacity",L_invalidopacity_te= xt);this.Opacity=3Da}if(b!=3D"undefined"&&b!=3Dnull){VEValidator.Validate= Int(b,"ZIndex");this.ZIndex=3Db}else = this.ZIndex=3DMsn.VE.API.Globals.vetilelayerdefaultzindex}function = VETileSourceManager(a){var = b=3Dthis;VEValidator.ValidateNonNull(a,"vemap");this.m_vemap=3Da;this.m_v= emapcontrol=3Dthis.m_vemap.vemapcontrol;this.m_vetilesources=3D[];this.Ad= dTileSource=3Dfunction(a,d,c){VEValidator.ValidateObject(a,"tileSourceSpe= c",VETileSourceSpecification,"VETileSourceSpecification");VEValidator.Val= idateNonNull(a.ID,"tileSourceSpec.ID");if(a.MinZoomLevel!=3Dnull)VEValida= tor.ValidateNonNegativeInt(a.MinZoomLevel,"tileSourceSpec.MinZoomLevel");= if(a.MaxZoomLevel!=3Dnull){VEValidator.ValidateNonNegativeInt(a.MaxZoomLe= vel,"tileSourceSpec.MaxZoomLevel");VEValidator.ValidateMaxZoom(a.MaxZoomL= evel,"tileSourceSpec.MaxZoomLevel")}if(a.MinZoomLevel!=3Dnull&&a.MaxZoomL= evel!=3Dnull)if(a.MinZoomLevel>a.MaxZoomLevel)throw new = VEException("VETileSourceManager:AddVETileSource","err_invalidsourceid",L= _invalidminmaxzoom_text);if(a.Bounds){var e=3Da.Bounds.length;for(var = b=3D0;b"+L_what_text+" "+''+""+"
"+L_where_text+" "+'"+"
"+"
"+'"+"
";this.mapelement.appendChild(el= );addIFrameShim(el);if(el.shimElement)el.shimElement.className=3D"VE_Find= Control_Iframe";return = el};VEMap.prototype.ShowFindControl=3Dfunction(c,b){if(typeof = c!=3D"undefined"||typeof = b!=3D"undefined"){VEValidator.ValidateInt(c,"top");VEValidator.ValidateIn= t(b,"left")}var d=3Dthis.ID+"_vefindcontrolinput",a=3D$ID(d);if(typeof = a=3D=3D"undefined"||a=3D=3Dnull)a=3Dthis.CreateFindControl(d);if(isNaN(c)= )a.style.top=3D"35px";else = a.style.top=3Dc+"px";if(isNaN(b))a.style.left=3D"195px";else = a.style.left=3Db+"px";a.style.display=3D"block";ShowShim(a)};VEMap.protot= ype.HideFindControl=3Dfunction(){var = a=3D$ID(this.ID+"_vefindcontrolinput");if(a!=3Dnull&&a!=3D"undefined"){a.= style.display=3D"none";HideShim(a)}};VEMap.prototype.SetFindResultsPanel=3D= function(a){if(a=3D=3Dnull||a=3D=3D"undefined")throw new = VEException("VEMap:SetFindResultsPanel","err_invalidelement",L_invalidele= ment_text);var b=3D$ID(a);if(b=3D=3Dnull||b=3D=3D"undefined")throw new = VEException("VEMap:SetFindResultsPanel","err_invalidelement",L_invalidele= ment_text);this.searchelement=3Da};function = VEMatchCode(){}VEMatchCode.None=3D0;VEMatchCode.Good=3D1;VEMatchCode.Ambi= guous=3D2;VEMatchCode.UpHierarchy=3D4;VEMatchCode.Modified=3D8;function = VEMatchConfidence(){}VEMatchConfidence.High=3D0;VEMatchConfidence.Medium=3D= 1;VEMatchConfidence.Low=3D2;function = VELocationPrecision(){}VELocationPrecision.Interpolated=3D0;VELocationPre= cision.Rooftop=3D1;function = VEGeocodeLocation(b,a){this.LatLong=3Db;this.Precision=3Da}function = VEPlace(e,d,a,b,c,g,f){VEValidator.ValidateNonNull(e,"name");VEValidator.= ValidateNonNull(d,"velatLong");this.Name=3De;this.LatLong=3Dd;if(typeof = a!=3D"undefined"&&a!=3Dnull)this.LatLongRect=3Da;else = this.LatLongRect=3Dnull;this.MatchConfidence=3Dtypeof = b!=3D"undefined"?b:null;this.MatchCode=3Dtypeof = c!=3D"undefined"?c:null;this.Precision=3Dg;this.Locations=3Df}function = VEGeocodeOptions(b,a){this.SetBestMapView=3Db;this.UseDefaultDisambiguati= on=3Da}function = VESearchOptions(d,e,f,i,g,h,c,b,a){this.SetBestMapView=3Dd;this.CreateRes= ults=3De;this.ShowResults=3Df;this.FindType=3Di;this.ShapeLayer=3Dg;this.= StartIndex=3Dh;this.NumberOfResults=3Dc;this.BoundingRectangle=3Db;this.U= seDefaultDisambiguation=3Da}function = VEFindSpec(l,a,j,g,h,b,f,e,c,d,i,k){this.DisambuigationCancelled=3Dfalse;= this.WhatString=3D"";this.WhatResults=3Dnull;this.WhatHasMore=3Dnull;if(l= !=3Dnull){if(typeof l!=3D"string")throw new = VEException("VEMap.Find","err_invalidargument",L_invalidargument_text.rep= lace("%1","what").replace("%2","string"));this.WhatString=3DIOSec.EncodeU= rl(l)}this.WhereString=3D"";this.WhereRect=3Dnull;this.WhereLatLong=3Dnul= l;this.WhereResults=3Dnull;if(a!=3Dnull)if(a instanceof = VELatLongRectangle)this.WhereRect=3Da;else if(a instanceof = VEPlace){this.WhereRect=3Da.LatLongRect;this.WhereLatLong=3Da.LatLong;thi= s.WhereResults=3Da}else if(a instanceof = VELatLong)this.WhereLatLong=3Da;else if(typeof = a=3D=3D"string"){if(Msn.VE.API.Globals.locale.toLowerCase()=3D=3D"zh-cn"&= &a.replace(/(^\s*)/g,"").toLowerCase().indexOf("map of ")!=3D0)a=3D"map = of "+a;this.WhereString=3DIOSec.EncodeUrl(a)}else throw new = VEException("VEMap.Find","err_invalidargument",L_invalidwhere_text);if(th= is.WhatString=3D=3D""&&this.WhereString=3D=3D""&&this.QueryString=3D=3D""= )throw new = VEException("VEMap.Find","err_invalidwhatwhere",L_invalidwhatwhere_text);= this.FindType=3DVEFindType.Businesses;if(j!=3Dnull)if(j=3D=3DVEFindType.B= usinesses)this.FindType=3Dj;else throw new = VEException("VEMap.Find","err_invalidargument",L_invalidargument_text.rep= lace("%1","findType").replace("%2","VEFindType"));this.ShapeLayer=3Dnull;= if(g!=3Dnull){VEValidator.ValidateObject(g,"shapeLayer",VEShapeLayer,"VES= hapeLayer");this.ShapeLayer=3Dg}this.StartIndex=3D0;if(h!=3Dnull){VEValid= ator.ValidateNonNegativeInt(h,"startIndex");this.StartIndex=3DparseInt(h)= }this.NumberOfResults=3DMsn.VE.API.Globals.vefindnumresultsdefault;if(b!=3D= null){VEValidator.ValidateInt(b);b=3DparseInt(b);VEValidator.ValidateBetw= een(b,"numberOfResults",Msn.VE.API.Globals.vefindnumresultsmin,Msn.VE.API= .Globals.vefindnumresultsmax);this.NumberOfResults=3Db}this.ShowResults=3D= true;if(f!=3Dnull){VEValidator.ValidateBoolean(f,"showResults");this.Show= Results=3Df}this.CreateResults=3Dtrue;if(e!=3Dnull){VEValidator.ValidateB= oolean(e,"createResults");this.CreateResults=3De}this.UseDefaultDisambigu= ation=3Dtrue;if(c!=3Dnull){VEValidator.ValidateBoolean(c,"useDefaultDisam= biguation");this.UseDefaultDisambiguation=3Dc}this.SetBestMapView=3Dtrue;= if(d!=3Dnull){VEValidator.ValidateBoolean(d,"setBestMapView");this.SetBes= tMapView=3Dd}this.Callback=3Dnull;if(i!=3Dnull)if(typeof = i=3D=3D"function")this.Callback=3Di;else throw new = VEException("VEMap.Find","err_invalidargument",L_invalidargument_text.rep= lace("%1","callback").replace("%2","function"));this.QueryString=3D"";if(= typeof = k!=3D"undefined"&&k!=3Dnull)this.QueryString=3DIOSec.EncodeUrl(k);this.Er= rorMessage=3Dnull}function = VEFindResults(a,c,b){this.ShapeLayer=3Da;this.Results=3Dc;this.HasMore=3D= b}function = VEFindResult(a,d,e,b,f,c,g){VEValidator.ValidateNonNull(a,"findType");VEV= alidator.ValidateNonNull(e,"name");VEValidator.ValidateNonNull(b,"descrip= tion");VEValidator.ValidateNonNull(c,"isSponsored");this.findType=3Da;thi= s.FindType=3Da;this.shape=3Dd;this.Shape=3Dd;this.Name=3De;this.Descripti= on=3Db;this.LatLong=3Df;this.IsSponsored=3Dc;this.Phone=3Dg}VEFindType=3D= new function(){this.Businesses=3D"Business"};function = VE_SearchManager(b){VEValidator.ValidateObject(b,"vemap",VEMap,"VEMap");t= his.m_vemap=3Db;var a=3Dthis,c=3Dnew VELatLongFactory(new = VELatLongFactorySpecFromMap(this.m_vemap));this.m_showDisambigousDialog=3D= true;this._DisambiguateCallback=3D"VEMap._GetMapFromGUID("+b.GUID+")._sm.= FindAmbiguousListCallBack";var g=3Dnew = _xy1,e=3Dnull;this.Initialize=3Dfunction(){};this.Find=3Dfunction(b){if(b= .QueryString.length>0)h(b);else if(b.WhereString.length>0)i(b);else = if(b.WhatString.length>0)j(b);else{if(b.SetBestMapView&&b.DisambuigationC= ancelled=3D=3Dfalse)if(b.WhereRect!=3Dnull)a.m_vemap.SetMapView(b.WhereRe= ct);else if(b.WhereLatLong!=3Dnull&&b.WhatResults!=3Dnull){var = d=3D[b.WhereLatLong];for(var = c=3D0;c0){var = n=3Dg.Results[0].MatchConfidence,o=3Dg.Results.length,h=3D[];for(var = k=3D0;k1){if(d.SetBestMapVie= w)a.m_vemap.SetViewport(f[0][1],f[0][2],f[0][3],f[0][4]);e=3Dd;if(d.UseDe= faultDisambiguation)a.m_vemap.m_veambiguouslist.Show(f,a._DisambiguateCal= lback,true);else if(typeof = a.m_vemap.DisambiguationCallback!=3D"undefined"&&a.m_vemap.Disambiguation= Callback!=3Dnull&&typeof = a.m_vemap.DisambiguationCallback=3D=3D"function")a.m_vemap.Disambiguation= Callback(d.WhereResults);else a.Find(d)}else = a.Find(d)};this.SearchQueryResponseHandler=3Dfunction(b,f){a.m_vemap.vema= pcontrol.Fire("onendrequest");a.m_vemap.__HandleAuthentication(b);var = p=3Dnull,m=3D[],i=3D[];if(b.SearchRegion!=3Dnull&&b.SearchRegion.Source=3D= =3D"Query"&&b.SearchRegion.GeocodeLocations!=3Dnull&&b.SearchRegion.Geoco= deLocations.length>0){var = s=3Db.SearchRegion.GeocodeLocations.length,l=3D[];for(var = h=3D0;h0)for(var = h=3D0;h0){if(p=3D=3Dnull)p=3Dd.MatchConfi= dence;var l=3D[],s=3Dd.GeocodeLocations.length;for(var = t=3D0;t0)f.Wher= eResults=3Dm;f.WhereString=3D"";var = r=3D[],w=3D[],x=3Df.ShapeLayer;if(b.SearchResults!=3Dnull&&b.SearchResult= s.length>0){var = s=3DMath.min(b.SearchResults.length,f.NumberOfResults);for(var = h=3D0;h0?g.Addres= s+", ":"";j+=3Dg.City!=3Dnull&&g.City.length>0?g.City+", = ":"";j+=3Dg.State!=3Dnull&&g.State.length>0?g.State:"";j=3Dj.replace(/(, = )+$/,"");if(f.CreateResults){k=3Dnew = VEShape(VEShapeType.Pushpin,u);k.SetTitle(g.Name);k.SetDescription(g.Phon= e!=3Dnull?j+"
"+g.Phone:j);if(!f.ShowResults)k.SetVisibility(false);x= .AddShape(k);w.push(k)}var v=3Dnew = VEFindResult(f.FindType,k,g.Name,j,u,false,g.Phone);r.push(v)}}f.WhatStri= ng=3D"";f.QueryString=3D"";if(r.length>0){f.WhatResults=3Dr;f.WhatHasMore= =3Db.SearchResults.length>f.NumberOfResults}var = q=3Dfalse;if(i.length>1){if(f.SetBestMapView)a.m_vemap.SetViewport(i[0][1= ],i[0][2],i[0][3],i[0][4]);e=3Df;if(f.UseDefaultDisambiguation){if(b.Pars= eResults!=3Dnull&&b.ParseResults.length>0&&b.ParseResults[0].Keyword!=3Dn= ull&&b.ParseResults[0].Keyword!=3D"")f.WhatString=3DIOSec.EncodeUrl(b.Par= seResults[0].Keyword);a.m_vemap.m_veambiguouslist.Show(i,a._DisambiguateC= allback,true);q=3Dtrue}else if(typeof = a.m_vemap.DisambiguationCallback!=3D"undefined"&&a.m_vemap.Disambiguation= Callback!=3Dnull&&typeof = a.m_vemap.DisambiguationCallback=3D=3D"function"){a.m_vemap.Disambiguatio= nCallback(f.WhereResults);q=3Dtrue}}if((f.WhereResults=3D=3Dnull||f.Where= Results.length=3D=3D0)&&(f.WhatResults=3D=3Dnull||f.WhatResults.length=3D= =3D0))f.ErrorMessage=3DL_invalidsearchresult_Text;if(!q)a.Find(f)};this.S= earchResponseHandler=3Dfunction(g,d){a.m_vemap.vemapcontrol.Fire("onendre= quest");a.m_vemap.__HandleAuthentication(g);var = h=3D[],l=3D[],m=3Dd.ShapeLayer;if(g.SearchResults!=3Dnull&&g.SearchResult= s.length>0){var = n=3DMath.min(g.SearchResults.length,d.NumberOfResults);for(var = i=3D0;i0?b.Addres= s+", ":"";e+=3Db.City!=3Dnull&&b.City.length>0?b.City+", = ":"";e+=3Db.State!=3Dnull&&b.State.length>0?b.State:"";e=3De.replace(/(, = )+$/,"");if(d.CreateResults){f=3Dnew = VEShape(VEShapeType.Pushpin,j);f.SetTitle(b.Name);f.SetDescription(b.Phon= e!=3Dnull?e+"
"+b.Phone:e);if(!d.ShowResults)f.SetVisibility(false);m= .AddShape(f);l.push(f)}var k=3Dnew = VEFindResult(d.FindType,f,b.Name,e,j,false,b.Phone);h.push(k)}}d.WhatStri= ng=3D"";if(h.length>0){d.WhatResults=3Dh;d.WhatHasMore=3Dg.SearchResults.= length>d.NumberOfResults}else = d.ErrorMessage=3DL_invalidsearchresult_Text;a.Find(d)};this.FindAmbiguous= ListCallBack=3Dfunction(f,h,j,i,k){var c=3De;e=3Dnull;if(f!=3Dnull){var = d=3D$ID(this.m_vemap.ID+"_vewhereinput");if(d)d.value=3Dunescape(f);var = b=3Dc.WhereResults,g=3D-1;if(b)for(var = a=3D0;a0){e=3D[];var = l=3Dd.Results.length;for(var g=3D0;g0};this.Destroy=3Dfunction(){this.id=3Dnull;thi= s.name=3Dnull}}Msn.VE.Search=3D{};Msn.VE.Search.strLastWhere=3D"";functio= n = VE_SearchResult(w,u,l,t,s,v,p,n,r,d,o,k,h,g,q,f,a,j,i,c,b,m){this.id=3Dw;= this.name=3Du;this.description=3Dl;this.phone=3Dt;this.rating=3Ds;this.ty= pe=3Dv;this.latitude=3Dp;this.longitude=3Dn;this.pushPin=3Dnull;this.pinI= d=3Dnull;this.keywords=3Do;this.infoUrl=3Dr;this.photoUrl=3Dtypeof = d!=3D"undefined"?d:"";this.mapserviceType=3Dk;this.mapserviceSource=3Dh;t= his.mapserviceOpacity=3Dg;this.website=3Db!=3Dnull&&typeof = b!=3D"undefined"&&b.constructor=3D=3DString?b:"";this.country=3Dq;var = e=3Dnull;this.SetGeoRef=3Dfunction(a){e=3Da};this.GetGeoRef=3Dfunction(){= return e};this.insideBoundingBox=3Df;var = a=3Da;this.GetDistanceFromCenter=3Dfunction(b,c){if(typeof = a=3D=3D"number"&&Msn.VE.DistanceUnit.IsValidType(b))if(b=3D=3D"mi"){if(a.= toFixed)return c?a.toFixed(2)+L_DirectionsMi_Text:a.toFixed(2)}else = if(b=3D=3D"km")if(a.toFixed)return = c?(a*1.60934).toFixed(2)+L_DirectionsKm_Text:(a*1.60934).toFixed(2)};this= .roofTopLatitude=3Dj;this.roofTopLongitude=3Di;if(typeof = c=3D=3D=3D"boolean")this.isLocationPrecise=3Dc;else = this.isLocationPrecise=3Dtrue;this.brandInfo=3Dm;this.adInfo=3Dnull;this.= whitePageInfo=3Dnull}function VE_WebSearchResult(h,g,i,j,k){var = c=3Da(h),d=3Da(g),e=3Da(i),b=3Da(j),f=3Da(k);this.GetCaptionUrl=3Dfunctio= n(){return = c};this.SetCaptionUrl=3Dfunction(b){c=3Da(b)};this.GetDescription=3Dfunct= ion(){return = d};this.SetDescription=3Dfunction(b){d=3Da(b)};this.GetDisplayUrl=3Dfunct= ion(){return = e};this.SetDisplayUrl=3Dfunction(b){e=3Da(b)};this.GetTitle=3Dfunction(){= return = b};this.SetTitle=3Dfunction(c){b=3Da(c)};this.GetUrl=3Dfunction(){return = f};this.SetUrl=3Dfunction(b){f=3Da(b)};function a(a){if(typeof = a=3D=3D"string"&&a.length>=3D0)return a;return = null}}VE_SearchResult.prototype.Equals=3Dfunction(a){if(a=3D=3Dnull||a=3D= =3D"undefined")return false;try{var = b=3Dthis.name=3D=3Da.name&&this.description=3D=3Da.description&&this.phon= e=3D=3Da.phone&&this.rating=3D=3Da.rating&&this.type=3D=3Da.type&&this.la= titude=3D=3Da.latitude&&this.longitude=3D=3Da.longitude;return = b}catch(c){return = false}};VE_WebSearchResult.prototype.Equals=3Dfunction(a){if(a = instanceof VE_WebSearchResult){var = b=3Dthis.GetCaptionUrl()=3D=3Da.GetCaptionUrl()&&this.GetDescription()=3D= =3Da.GetDescription()&&this.GetTitle()=3D=3Da.GetTitle()&&this.GetDisplay= Url()=3D=3Da.GetDisplayUrl()&&this.GetUrl()=3D=3Da.GetUrl();return = b}return false};function = VE_ColInfo(e,d,b,a,c){this.id=3De;this.name=3Dd;this.businessId=3Db;this.= entityCount=3Da;this.colType=3Dc}VE_SetModuleStatus(VE_ModuleName.APIFIND= ,"loaded");VEMap.prototype.InitRouting=3Dfunction(){if(!this.m_vedirectio= nsmanager){this.m_vedirectionsmanager=3Dnew = VEDirectionsManager(this);this.m_vedirectionsmanager.Initialize();this._d= m=3Dthis.m_vedirectionsmanager}if(!this.m_routemanager)this.m_routemanage= r=3Dnew = VERouteManager(this)};VEMap.prototype.GetRoute=3Dfunction(d,e,b,c,a){this= .InitRouting();this.m_vedirectionsmanager.GetDrivingDirections(d,e,b,c,a)= };VEMap.prototype.DeleteRoute=3Dfunction(){this.InitRouting();this.m_rout= emanager.ClearRoute()};function = VERouteDistanceUnit(){}VERouteDistanceUnit.Mile=3D"Mile";VERouteDistanceU= nit.Kilometer=3D"Kilometer";VERouteDistanceUnit.Default=3DVERouteDistance= Unit.Mile;function = VERouteOptimize(){}VERouteOptimize.MinimizeTime=3D"MinimizeTime";VERouteO= ptimize.MinimizeDistance=3D"MinimizeDistance";VERouteOptimize.Default=3D"= Default";function = VERouteMode(){}VERouteMode.Driving=3D"Driving";VERouteMode.Walking=3D"Wal= king";VERouteMode.Default=3DVERouteMode.Driving;function = VERouteWarningSeverity(){}VERouteWarningSeverity.None=3D0;VERouteWarningS= everity.LowImpact=3D1;VERouteWarningSeverity.Minor=3D2;VERouteWarningSeve= rity.Moderate=3D3;VERouteWarningSeverity.Serious=3D4;function = VERouteHintType(){}VERouteHintType.PreviousIntersection=3D1;VERouteHintTy= pe.NextIntersection=3D2;VERouteHintType.Landmark=3D3;function = VEServiceRequest(d,b,c,a){this.ID=3Dd;this.Service=3Db;this.Params=3Dc;th= is.Callback=3Da}function = VE_Location(c,b,a){this.name=3Dc;this.latitude=3Db;this.longitude=3Da}fun= ction = VERouteOptions(){this.DistanceUnit=3DVERouteDistanceUnit.Default;this.Rou= teOptimize=3DVERouteOptimize.Default;this.RouteMode=3DVERouteMode.Default= ;this.RouteCallback=3Dnull;this.DrawRoute=3Dtrue;this.RouteWeight=3D6;thi= s.RouteColor=3Dnew = VEColor(0,169,235,.7);this.RouteZIndex=3D4;this.SetBestMapView=3Dtrue;thi= s.ShowDisambiguation=3Dtrue;this.ShowErrorMessages=3Dtrue;this.UseTraffic= =3Dfalse;this.UseMWS=3Dfalse}function = VERoute(){this.RouteLegs=3D[];this.Distance=3D0;this.Time=3D0;this.ShapeP= oints=3Dnull}function VERouteItinerary(){this.Items=3D[]}function = VERouteItineraryItem(f,c,a,e,g,b,d){this.Text=3Df;this.LatLong=3Dc;this.D= istance=3Da;this.Shape=3De;this.Time=3Dg;this.Warnings=3Db;this.Hints=3Dd= }function = VERouteLeg(a,b,d,c,e){this.StartLocation=3Da;this.EndLocation=3Db;this.Di= stance=3Dd;this.Itinerary=3Dc;this.Time=3De}function = VERouteHint(b,a){this.Type=3Db;this.Text=3Da}function = VERouteWarning(b,a){this.Text=3Db;this.Severity=3Da}VEMap.prototype.GetDi= rections=3Dfunction(b,a){this.m_routemanager.GetRoute(b,a)};function = VERouteManager(vemap){var = self=3Dthis,m_vemap=3Dvemap,m_routeShapeLayer=3Dnull,m_routeHighlight=3Dn= ull,m_encoder=3Dnew _xz1,m_veLatLongDecoder=3Dnew = _xy1,m_veLatLongFactory=3Dnew VELatLongFactory(new = VELatLongFactorySpecFromMap(m_vemap)),m_routeDecoder=3Dnew = Msn.VE.DirectionsDecoder,m_routeOptions=3Dnull,m_locations=3D[],m_current= LocationIndex=3D0,m_requestQueue=3D[],m_route=3Dnull,m_requestID=3Dnull;t= his.GetRoute=3Dfunction(e,a){m_requestID=3DVENetwork.GetExecutionID();m_v= emap.DeleteRoute();if(!e||!e.length||e.length<2)throw new = VEException("","err_invalidargument",L_invaliddirections_text);if(a){VEVa= lidator.ValidateObject(a,"routeOptions",VERouteOptions,"VERouteOptions");= if(a.DistanceUnit!=3DVERouteDistanceUnit.Mile&&a.DistanceUnit!=3DVERouteD= istanceUnit.Kilometer)throw new = VEException("","err_invalidargument",L_invalidargument_text.replace("%1",= "routeOptions.DistanceUnit").replace("%2","VERouteDistanceUnit"));if(a.Ro= uteOptimize!=3DVERouteOptimize.Default&&a.RouteOptimize!=3DVERouteOptimiz= e.MinimizeTime&&a.RouteOptimize!=3DVERouteOptimize.MinimizeDistance)throw= new = VEException("","err_invalidargument",L_invalidargument_text.replace("%1",= "routeOptions.RouteOptimize").replace("%2","VERouteOptimize"));if(a.Route= Mode!=3DVERouteMode.Driving&&a.RouteMode!=3DVERouteMode.Walking)throw = new = VEException("","err_invalidargument",L_invalidargument_text.replace("%1",= "routeOptions.RouteMode").replace("%2","VERouteMode"));if(a.RouteMode=3D=3D= VERouteMode.Driving&&!$MVEM.IsEnabled(MapControl.Features.RouteOptions.Ro= uteMode.Driving)||a.RouteMode=3D=3DVERouteMode.Walking&&!$MVEM.IsEnabled(= MapControl.Features.RouteOptions.RouteMode.Walking))throw new = VEException("","err_notSupportProperty",L_UnsupportProperty_Text.replace(= "%1","VERouteOptions").replace("%2","RouteMode").replace("%3",a.RouteMode= .toString()));VEValidator.ValidateBoolean(a.DrawRoute,"routeOptions.DrawR= oute");if(a.RouteCallback)VEValidator.ValidateFunction(a.RouteCallback,"r= outeOptions.RouteCallback");VEValidator.ValidateFloat(a.RouteWeight,"rout= eOptions.RouteWeight");VEValidator.ValidateObject(a.RouteColor,"routeOpti= ons.RouteColor",VEColor,"VEColor");VEValidator.ValidateInt(a.RouteZIndex,= "routeOptions.RouteZIndex");VEValidator.ValidateBoolean(a.SetBestMapView,= "routeOptions.SetBestMapView");VEValidator.ValidateBoolean(a.ShowDisambig= uation,"routeOptions.ShowDisambiguation");VEValidator.ValidateBoolean(a.S= howErrorMessages,"routeOptions.ShowErrorMessages");VEValidator.ValidateBo= olean(a.UseMWS,"routeOptions.UseMWS");VEValidator.ValidateBoolean(a.UseTr= affic,"routeOptions.UseTraffic");if(!$MVEM.IsEnabled(MapControl.Features.= RouteOptions.UseMWS)&&a.UseMWS)throw new = VEException("","err_notSupportProperty",L_UnsupportProperty_Text.replace(= "%1","VERouteOptions").replace("%2","UseMWS").replace("%3","true"));if(!$= MVEM.IsEnabled(MapControl.Features.RouteOptions.UseTraffic)&&a.UseTraffic= )throw new = VEException("","err_notSupportProperty",L_UnsupportProperty_Text.replace(= "%1","VERouteOptions").replace("%2","UseTraffic").replace("%3","true"));m= _routeOptions=3Da}else m_routeOptions=3Dnew = VERouteOptions;m_locations=3D[];m_currentLocationIndex=3D0;m_requestQueue= =3D[];var i=3De.length;for(var d=3D0;d0){var b=3Dm_requestID;function = c(c){if(m_requestID=3D=3Db)a.Callback(c,a.ID)}var = a=3Dm_requestQueue.shift();m_vemap.vemapcontrol.Fire("onstartrequest");VE= APIRequestInvoke(a.Service,a.Params,c)}else = self.ExecuteRouteRequest()};this.ExecuteRouteRequest=3Dfunction(){var = d=3Dm_requestID;function = e(a){if(m_requestID=3D=3Dd)self.RouteResponseHandler(a)}var = a=3D[];if(m_vemap.HasClientToken())a.push(new = VEParameter(Msn.VE.API.Constants.clienttoken,m_vemap.ClientToken));var = c=3D"",f=3Dm_locations.length;for(var = b=3D0;b0)if(a.Results.length=3D= =3D1||!m_routeOptions.ShowDisambiguation||a.Results[0].MatchConfidence!=3D= a.Results[1].MatchConfidence){var = b=3DGetRouteLocation(a.Results[0]);if(b!=3Dnull)m_locations[e]=3Dnew = VELatLong(b.Coordinates.Latitude,b.Coordinates.Longitude);self.ExecuteNex= tRequest()}else{var g=3Da.Results[0].MatchConfidence,f=3D[];for(var = d=3D0;d0){if(m_routeOptions.DrawRoute){var = shapes=3D[],stepIndex=3D0;for(var = routeLegIndex=3D0;routeLegIndex0){var c=3Da.length;for(var = b=3D0;b0){VE_TrafficManager.incidentsAvailable=3Dtrue;for(= var a=3D0;a0){var e=3Da.length;for(var = c=3D0;cb.TopLeftLatLong.Latitude||a.BottomRightL= atLong.Longitudeb.BottomRightLatL= ong.Longitude)};VE_TrafficManager.GetTrafficInfo=3Dfunction(){if(!VE_Traf= ficManager.turnedOn)return;try{if(VE_TrafficManager.m_vemap.vemapcontrol.= IsModeEnabled(Msn.VE.MapActionMode.Mode3D))if(VE_TrafficManager.showTraff= icFlow)VE_TrafficManager.m_vemap.vemapcontrol.Show3DTraffic(false);else = VE_TrafficManager.m_vemap.vemapcontrol.Remove3DTraffic();var = a=3DVE_TrafficManager.m_vemap.GetZoomLevel();if(VE_TrafficManager.m_vemap= .vemapcontrol.IsMapViewOblique())return;VE_TrafficManager.prevZoomLevel=3D= a;VE_TrafficManager.prevMapStyle=3DVE_TrafficManager.m_vemap.GetMapStyle(= );VE_TrafficManager.incidentsAvailable=3Dfalse;VE_TrafficManager.flowAvai= lable=3Dfalse;VE_TrafficManager._ClearPins();VE_TrafficManager.m_vemap.ve= mapcontrol.ClearTileLayer("Traffic");if(a>VE_TrafficManager.displayAtZoom= levelMin){VE_TrafficManager._GetIncidents(VE_TrafficManager.showIncidents= );if(VE_TrafficManager.showTrafficFlow&&VE_TrafficManager.flowAvailable&&= a0){v= ar d=3DVE_TrafficManager.showingMarkets.length;for(var = b=3D0;b0&&$MVEM.IsEnabled(MapCon= trol.Features.Traffic.ShowIncidents)){VE_TrafficManager._RemoveDuplicates= (a);VE_TrafficManager._RenderTrafficInfo(a)}}if(this.LastUpdateTimestamp!= =3Dnull&&typeof = this.LastUpdateTimestamp!=3D"undefined")VE_TrafficManager.SetTrafficLegen= dText(this.LastUpdateTimestamp);VE_TrafficManager.ShowTrafficLegend();if(= VE_TrafficManager.m_vemap){var = c=3DVE_TrafficManager.m_vemap.GetDashboardSize();if(c=3D=3DVEDashboardSiz= e.Small||c=3D=3DVEDashboardSize.Tiny)VE_TrafficManager.ShowTrafficLegend(= 41,37)}}};VE_TrafficManager._RenderTrafficInfo=3Dfunction(c){if(c)VE_Traf= ficManager._ClearPins(c);else VE_TrafficManager._ClearPins();var = e=3DVE_TrafficManager.m_vemap.GetZoomLevel();if(e>VE_TrafficManager.displ= ayAtZoomlevelMin){if(c=3D=3Dnull)return;if(VE_TrafficManager.incidents[c]= !=3Dnull){var = b=3DVE_TrafficManager.incidents[c],f=3DVE_TrafficManager.incidents[c].len= gth;for(var = a=3D0;a0&&d>VE_TrafficManager.displayAtZoomlevelMin){for(var = b=3D0;b'+L_MapLegendAndPopupLink_Text+"";return = d};VE_TrafficManager.GetColor=3Dfunction(a){switch(a){case 0:return = Msn.VE.UI.Color.Red;break;case 1:return = Msn.VE.UI.Color.Orange;break;case 2:return = Msn.VE.UI.Color.Yellow;break;default:return = Msn.VE.UI.Color.Yellow}};VE_TrafficManager.CreatePopupContent=3Dfunction(= a){var b=3D'
'+(a.Type?IOSec.EncodeHtml(a.Type.replace(/&/gi,"&")):= "")+"
"+'
'+L_TrafficPopupSeverity_Text+":
"+'
'+VE_TrafficManager._GetSeverity(a.Criticality)+"
"+'<= div class =3D "trafficheader">'+L_TrafficPopupLocation_Text+": = "+'
'+(a.Location?IOSec.EncodeHtml(a.Location.replace(/&/gi= ,"&")):"")+"
"+'
'+L_TrafficPopupDescription_Text+":
"+'
'+(a.Description?IOSec.EncodeHtml(a.Description.replace(/&a= mp;/gi,"&")):"")+"
"+"
"+'
'+L_TrafficPopupStartTime_Text+":
"+'
'+(a.Starttime?IOSec.EncodeHtml(VETime.FormatTime(a.Startti= me,true)):"")+"
"+"
"+"
"+'
'+L_TrafficPopupEstEndTime_Text+":
"+'
'+(a.Endtime?IOSec.EncodeHtml(VETime.FormatTime(a.Endtime,t= rue)):"")+"
"+"
";return = b};VE_TrafficManager._GetSeverity=3Dfunction(a){switch(a){case 0:return = VE_TrafficManager.Severity.Serious;break;case 1:return = VE_TrafficManager.Severity.Moderate;break;case 2:return = VE_TrafficManager.Severity.Minor;break;default:return = VE_TrafficManager.Severity.Minor}};VE_TrafficManager._RemoveDuplicates=3D= function(c){if(c=3D=3Dnull||c=3D=3D"undefined")return;var = a=3DVE_TrafficManager.incidents[c];if(a=3D=3Dnull)return;for(var = b=3D0;b0){var = h=3DVE_TrafficManager.markets[0].length;for(var d=3D0;d0)for(var = a=3D0;a0&&VE_TrafficManager.MarketIcons!=3Dnull)for(var = a=3D0;a0)for(var = d=3D0;dVE_TrafficManager.di= splayAtZoomlevelMin)VE_TrafficManager.isViewDirty=3Dtrue;else = if(VE_TrafficManager.prevZoomLevel>VE_TrafficManager.displayAtZoomlevelMi= n&&a<=3DVE_TrafficManager.displayAtZoomlevelMin)VE_TrafficManager.isViewD= irty=3Dtrue;else = if(VE_TrafficManager.prevZoomLevel=3DVE_TrafficManager.displayAtZoomlevelMax)VE_TrafficManager.isViewD= irty=3Dtrue;else = if(VE_TrafficManager.prevZoomLevel>=3DVE_TrafficManager.displayAtZoomleve= lMax&&a0)for(= var c=3D0;c=3D9)VE_TrafficManager.= GetTrafficInfo()}catch(b){}};VE_TrafficIncidentType=3Dnew = function(){this.ScheduledConstruction=3D"SCHEDULED = CONSTRUCTION";this.OtherNews=3D"OTHER = NEWS";this.Congestion=3D"CONGESTION";this.Accident=3D"ACCIDENT";this.Disa= bledVehicle=3D"DISABLED VEHICILE";this.RoadHazard=3D"ROAD = HAZARD";this.UnscheduledConstruction=3D"UNSCHEDULED = CONSTRUCTION";this.PlannedEvent=3D"PLANNED = EVENT";this.MassTransit=3D"MASS = TRANSIT";this.Weather=3D"WEATHER";this.Miscellaneous=3D"MISCELLANEOUS"};f= unction = VE_Market(h,g,f,e,c,d,b,a){this.Id=3Dh;this.Name=3Dg;this.GMTOffset=3Df;t= his.SWLatitude=3De;this.SWLongitude=3Dc;this.NELatitude=3Dd;this.NELongit= ude=3Db;if(a.indexOf("Flow")=3D=3D0)this.Flow=3D"Flow";if(a.indexOf("Inci= dents")!=3D-1)this.Incident=3D"Incidents"}function = VE_Incident(h,k,b,g,j,f,d,a,e,i,c){this.MarketId=3Dh;this.Id=3Dk;this.Des= cription=3Db;this.Location=3Dg;this.Type=3Dj;this.Latitude=3Df;this.Longi= tude=3Dd;this.Criticality=3Da;this.Starttime=3De;this.Endtime=3Di;this.Di= rection=3Dc}VE_TrafficManager.ShowTrafficLegend=3Dfunction(a,b){if(VE_Tra= fficManager.turnedOn){if(VE_TrafficManager.legend=3D=3Dnull){VE_TrafficMa= nager.legend=3DVE_TrafficManager.m_vemap.vemapcontrol.CreateLegend();if(V= E_TrafficManager.legend!=3Dnull)VE_TrafficManager.legend.ShowTrafficLegen= d(true)}if(VE_TrafficManager.legend&&typeof = a!=3D"undefined"&&a!=3Dnull&&typeof = b!=3D"undefined"&&b!=3Dnull){VE_TrafficManager.legend.UnPin();VE_TrafficM= anager.legend.MoveTo(a,b);VE_TrafficManager.legendPinned=3Dfalse}VE_Traff= icManager.m_vemap.vemapcontrol.OnView3DScaleBarPositionUpdate()}};VE_Traf= ficManager.HideTrafficLegend=3Dfunction(){if(VE_TrafficManager.legend!=3D= null){VE_TrafficManager.legend.ShowTrafficLegend(false);VE_TrafficManager= .legend=3Dnull;VE_TrafficManager.m_vemap.vemapcontrol.OnView3DScaleBarPos= itionUpdate()}};VE_TrafficManager.SetTrafficLegendText=3Dfunction(a){if(V= E_TrafficManager.legend!=3Dnull){if(typeof = a=3D=3D"undefined"||a=3D=3Dnull)a=3D"";VE_TrafficManager.legend.SetTraffi= cLegendMsg(a)}};function = VETime(){}VETime.FormatTime=3Dfunction(a){if(a=3D=3Dnull||a=3D=3D""||a=3D= =3D"undefined")return "";var = c=3Dfalse,d=3Da.substr(0,10),e=3Da.substr(11,5),b=3D"";if(a.indexOf("AM")= >-1){b=3D"AM";c=3Dtrue}else b=3D"PM";return d+" = "+VETime.ConvertTo12HourFormat(e,c)+" = "+b};VETime.ConvertTo12HourFormat=3Dfunction(d,c){var a=3Dd;try{var = b=3DparseFloat(a.replace(":","."));if(b>12)if(b<13&&c!=3Dtrue);else = b=3Db-12;a=3Db.toFixed(2);a=3Da.replace(".",":")}catch(e){a=3D""}return = a};VETime.FormatPanelTime=3Dfunction(a,g){if(a=3D=3Dnull||a=3D=3D""||a=3D= =3D"undefined")return "";try{var = b=3D0,d=3Dfalse,i=3Da.substr(4,8),h=3Da.indexOf(":"),f=3Da.substr(h-2,5),= c=3D"";if(a.indexOf("AM")>-1){c=3D"AM";d=3Dtrue;b=3Da.indexOf("AM")}else{= c=3D"PM";b=3Da.indexOf("PM")}var = e=3D"";if(b>0)e=3Da.substr(b+3,3);if(g)return i+" = "+VETime.ConvertTo12HourFormat(f,d)+" "+c+" "+e;else return = VETime.ConvertTo12HourFormat(f,d)+" "+c+" = "+e}catch(j){}};VETime.getMonth=3Dfunction(a){switch(a){case "01":return = " Jan";case "02":return " Feb";case "03":return " Mar";case "04":return = " Apr";case "05":return " May";case "06":return " Jun";case "07":return = " Jul";case "08":return " Aug";case "09":return " Sep";case "10":return = " Oct";case "11":return " Nov";case "12":return " = Dec"}};VE_SetModuleStatus(VE_ModuleName.APITRAFFIC,"loaded");VEMap.protot= ype.SetAltitude=3Dfunction(a){try{VEValidator.ValidateFloat(a,"level");va= r = b=3DparseFloat(a);this._QueueRequest(this.vemapcontrol.SetAltitude,b)}cat= ch(c){throw = c;return}};VEMap.prototype.SetPitch=3Dfunction(b){try{VEValidator.Validat= eFloat(b,"pitch");var = a=3DparseFloat(b);a=3Da%360;if(a>0)a=3Da<1?0:-90;if(a<-90)a=3D-90;this._Q= ueueRequest(this.vemapcontrol.SetTilt,a)}catch(c){throw = c;return}};VEMap.prototype.SetHeading=3Dfunction(b){try{VEValidator.Valid= ateFloat(b,"heading");var = a=3DparseFloat(b);a=3Da%360;if(a<0)a=3D360+a;this._QueueRequest(this.vema= pcontrol.SetDirection,a)}catch(c){throw = c;return}};VEMap.prototype.GetAltitude=3Dfunction(){return = this.vemapcontrol.GetAltitude()};VEMap.prototype.GetPitch=3Dfunction(){re= turn = this.vemapcontrol.GetTilt()};VEMap.prototype.GetHeading=3Dfunction(){retu= rn = this.vemapcontrol.GetDirection()};VEMap.prototype._Toggle3DNavigationCont= rol=3Dfunction(b){if(this.GetMapMode()=3D=3DVEMapMode.Mode3D){var = a=3Dthis.vemapcontrol.Get3DControl();if(a!=3Dnull)a.ShowNavigationControl= =3Db}};VEMap.prototype.Show3DNavigationControl=3Dfunction(){this._Toggle3= DNavigationControl(true)};VEMap.prototype.Hide3DNavigationControl=3Dfunct= ion(){this._Toggle3DNavigationControl(false)};VEMap.prototype.Show3DBirds= eye=3Dfunction(b){VEValidator.ValidateBoolean(b,"birdseyeOption");if(this= .GetMapMode()=3D=3DVEMapMode.Mode3D&&this.vemapcontrol){var = a=3Dthis.GetMapStyle(),c=3Da=3D=3DVEMapStyle.Road||a=3D=3DVEMapStyle.Hybr= id||a=3D=3DVEMapStyle.Shaded;this.vemapcontrol.Show3DBirdseye(b,c)}};func= tion = MVC_Init_AbstractView_Shared(){Msn.MVC.AbstractView.prototype.GetMoveMenu= OptionAsHtml=3Dfunction(a){return a}}function = MVC_Init_View3D_Shared(){Msn.MVC.View3D.prototype.GetMoveMenuOptionAsHtml= =3Dfunction(d,c){var e=3Dc.GetPrimitiveCount();for(var = a=3D0;aa._shpla= yer.MaxScale)b=3Da._shplayer.MaxScale;return = b}Msn.MVC.View3D.prototype._GetZIndex=3Dfunction(a,b){var = d=3D60;if(typeof = Msn.VE.API=3D=3D"undefined"||Msn.VE.API=3D=3Dnull){if(a=3D=3Dnull)a=3DVE_= MapManager.GetCollectionByAnId(b.GetId());if(a!=3Dnull)d=3Dc(a,b)}else = d=3Db.GetZIndex();return = d};Msn.MVC.View3D.prototype._GetZIndexPolyShape=3Dfunction(a,b){var = d=3D60;if(typeof = Msn.VE.API=3D=3D"undefined"||Msn.VE.API=3D=3Dnull){if(a=3D=3Dnull)a=3DVE_= MapManager.GetCollectionByAnId(b.GetId());if(a!=3Dnull)d=3Dc(a,b)}else = d=3Db.GetZIndexPolyShape();return d};function c(c,a){var = b=3DVE_MapManager.GetCollectionCount();return = (b-c._index)*MC_MAX_COL_SIZE+a.GetIndex()}Msn.MVC.View3D.prototype._Clear= Entity=3Dfunction(a){if(a.IsModel()){var = b,c=3D"clientid=3D"+a.GetId();if(a.ModelData)b=3DVE_ModelActionType.Delet= eModelFile;else{c+=3D";msnid=3D"+a.GetMsnId()+"";b=3DVE_ModelActionType.D= eleteModel}ProcessModelIn3D(b,c,this._spacecontrol)}var = e=3Da.GetId();this._spacecontrol.DeleteGeometry(this._hackUniqueLayerId,e= );var = d=3Da.GetPrimitive(0);if(d=3D=3Dnull||d.type!=3DVEShapeType.Pushpin){var = f=3De+this._entityIdShapePostfix;this._spacecontrol.DeleteGeometry(this._= hackUniqueLayerId,f)}};Msn.MVC.View3D.prototype._DrawEntityPrimitive=3Dfu= nction(){};Msn.MVC.View3D.prototype._ClearEntityPrimitive=3Dfunction(a,b)= {if(a=3D=3Dnull)return;if(typeof = b!=3D"undefined"&&b=3D=3Dtrue)if(a.type!=3DVEShapeType.Pushpin){var = c=3DMsn.Drawing.GetEntityUIDByPrimitiveUID(a.iid);this._spacecontrol.Dele= teGeometry(this._hackUniqueLayerId,c)}};Msn.MVC.View3D.prototype._Convert= PointArrayToView3DParameter=3Dfunction(c,b){var = a=3D"",d=3Dc.length;for(i=3D0;i 1) { veMap.SetMapView(pinArray); } } if(pinId<=3D250) //display red push pins with numbers up to 250, = for all listings above 250, just place a pin with no label. { pinFile=3DsRapMLSImages + '/VE_icons/' + pinId + '.gif'; } else { pinFile=3DsRapMLSImages + '/VE_icons/'+'VEmarker.gif'; } var pin =3D new VEShape(VEShapeType.Pushpin, point); pin.SetCustomIcon(pinFile); veMap.AddShape(pin); map.AttachEvent("onmouseover", map_MouseOver); } return veMap; //Provides for PDF printing w/ Rapattoni activeX control=09 findCopyright(); } } } function GetMap(iZoomLevel) { if(document.getElementById('imgMapDiv'))=20 { if(mgLongitude =3D=3D 0.000000 || typeof(mgLongitude) =3D=3D = 'undefined')=20 { document.getElementById('imgMapDiv').style.display =3D "none"; document.getElementById('imgNoMap').style.display =3D ""; document.getElementById('imgNoMap').src =3D sRapMLSImages + = 'p_nomap.jpg'; if(typeof(document.getElementById('MapTable')) !=3D 'undefined' ) { if(document.getElementById('MapTable') !=3D null) { document.getElementById('MapTable').style.display =3D "none"; } } } else { if (document.getElementById('imgMapDiv') !=3D null) { map =3D new VEMap('imgMapDiv'); =09 if ((typeof(veToken) !=3D 'undefined')&&(veToken !=3D '')) { map.SetClientToken(veToken) // veToken generated using merge = tag. } =09 if(document.getElementById('footer') !=3D null) { document.getElementById('footer').id =3D 'temp_footer';=09 } map.LoadMap(new VELatLong(mgLatitude, mgLongitude ), iZoomLevel,'r' = ,true, VEMapMode.Mode2D, false); if(document.getElementById('temp_footer') !=3D null) { document.getElementById('temp_footer').id =3D 'footer';=09 } AddPin(); //Provides for PDF printing w/ Rapattoni activeX control=09 findCopyright(); } } } } function GetMapWithFlash(iZoomLevel) { GetMap(iZoomLevel); LoadFlash(); } function LoadFlash() { if(map !=3D null) { flash =3D document.getElementById('flashObj_Map'); flash.INIT('imgMapDiv', MediaURL + 'rapmlsimages/map/flash4maps/', = map.GetZoomLevel(), GetPixelsPerMile(), 8,'A'); flash.HideButtonBar('imgMapDiv'); }//if(map !=3D null) } function GetPixelsPerMile() { var CenterPoint =3D new VELatLong(mgLatitude, mgLongitude); var pixelsPerMile =3D 0; pixelsPerMile =3D (metersPerMile /(metersArray[map.GetZoomLevel()] * = Math.cos(CenterPoint.Latitude * Math.PI/180))); return pixelsPerMile; } function hideMouseoverImage(x)=20 { switch(x)=20 { case "n": document.all.ibtnPanN.src =3D "/mq/graphics/pan_n1.gif"; document.all.ibtnPanNW.src =3D "/mq/graphics/pan_nw1.gif"; document.all.ibtnPanNE.src =3D "/mq/graphics/pan_ne1.gif"; break; case "s": document.all.ibtnPanS.src =3D "/mq/graphics/pan_s1.gif"; document.all.ibtnPanSW.src =3D "/mq/graphics/pan_sw1.gif"; document.all.ibtnPanSE.src =3D "/mq/graphics/pan_se1.gif"; break; case "e": document.all.ibtnPanE.src =3D "/mq/graphics/pan_e1.gif"; document.all.ibtnPanSE.src =3D "/mq/graphics/pan_se1.gif"; document.all.ibtnPanNE.src =3D "/mq/graphics/pan_ne1.gif"; break; case "w": document.all.ibtnPanW.src =3D "/mq/graphics/pan_w1.gif"; document.all.ibtnPanNW.src =3D "/mq/graphics/pan_nw1.gif"; document.all.ibtnPanSW.src =3D "/mq/graphics/pan_sw1.gif"; break; case "nw": document.all.ibtnPanNW.src =3D "/mq/graphics/pan_nw1.gif"; break; case "sw": document.all.ibtnPanSW.src =3D "/mq/graphics/pan_sw1.gif"; break; case "ne": document.all.ibtnPanNE.src =3D "/mq/graphics/pan_ne1.gif"; break; case "se": document.all.ibtnPanSE.src =3D "/mq/graphics/pan_se1.gif"; break; } } function showMouseoverImage(x)=20 { switch(x)=20 { case "n": document.all.ibtnPanN.src =3D "/mq/graphics/pan_n2.gif"; document.all.ibtnPanNW.src =3D "/mq/graphics/pan_nw3.gif"; document.all.ibtnPanNE.src =3D "/mq/graphics/pan_ne3.gif"; break; case "s": document.all.ibtnPanS.src =3D "/mq/graphics/pan_s2.gif"; document.all.ibtnPanSW.src =3D "/mq/graphics/pan_sw3.gif"; document.all.ibtnPanSE.src =3D "/mq/graphics/pan_se3.gif"; break; case "e": document.all.ibtnPanE.src =3D "/mq/graphics/pan_e2.gif"; document.all.ibtnPanNE.src =3D "/mq/graphics/pan_en3.gif"; document.all.ibtnPanSE.src =3D "/mq/graphics/pan_es3.gif"; break; case "w": document.all.ibtnPanW.src =3D "/mq/graphics/pan_w2.gif"; document.all.ibtnPanNW.src =3D "/mq/graphics/pan_wn3.gif"; document.all.ibtnPanSW.src =3D "/mq/graphics/pan_ws3.gif"; break; case "nw": document.all.ibtnPanNW.src =3D "/mq/graphics/pan_nw2.gif"; break; case "sw": document.all.ibtnPanSW.src =3D "/mq/graphics/pan_sw2.gif"; break; case "ne": document.all.ibtnPanNE.src =3D "/mq/graphics/pan_ne2.gif"; break; case "se": document.all.ibtnPanSE.src =3D "/mq/graphics/pan_se2.gif"; break; } } function SetZoomLevel(id, level) { map.SetZoomLevel(level); } function PanMap(x,y) { flash.ClearShape(); zoomLevel =3D map.GetZoomLevel(); zoomLevel =3D 20 - zoomLevel; =09 map.Pan(x*zoomLevel,y*zoomLevel); =09 } // Method called after rectangle is drawn on map. function SetArea(controlID, topX, topY, bottomX, bottomY)=20 { // Convert Pixels to LatLong. var topPoint =3D map.PixelToLatLong(new VEPixel(topX, topY)); var bottomPoint =3D map.PixelToLatLong(new VEPixel(bottomX, bottomY)); pointsArray =3D new Array(); pointsArray[0] =3D topPoint; pointsArray[1] =3D bottomPoint; map.SetMapView(pointsArray); =09 var topPixels =3D map.LatLongToPixel(topPoint); var bottomPixels =3D map.LatLongToPixel(bottomPoint); flash.DrawArea(topPixels.x, topPixels.y, bottomPixels.x, = bottomPixels.y); =09 =09 } function Proceed(controlID, message) { return true; } // Clears the drawn figure. function Clear(controlID) { } // Returns current zoom level. function GetZoomLevel(controlID) { return map.GetZoomLevel(); } function AddPin() { if (typeof(pinArray) !=3D 'undefined' && pinArray.length !=3D 0 || = typeof(PinPType) !=3D 'undefined') { //alert ('Multiple Pins') AddMultiplePins() if (pinArray.length > 1) { map.SetMapView(pinArray); } } else { //alert ('Single Pin') AddSinglePin(); } } function AddMultiplePins() { if(typeof(PinPType) !=3D 'undefined') // check Map with multiple pins = by Proprty Type { pinArray =3D eval('pinArray_' + PinPType); } else { pinArray =3D eval('pinArray'); } =09 for (iCounter=3D0; iCounter 1) { title =3D 'Listing #' + = mgMLNumberDisplay} var pin =3D new VEShape(VEShapeType.Pushpin, map.GetCenter()); pin.SetCustomIcon(mgMapPinFile); pin.SetTitle(title); map.AddShape(pin); map.AttachEvent("onmouseover", map_MouseOver); } function AddMyControl() { var el =3D document.createElement("div"); el.id =3D "myControl"; el.style.top =3D "155px"; el.style.left =3D "160px"; el.style.border =3D "2px solid darkblue"; el.style.background =3D "White"; el.innerHTML =3D "# 30001066"; el.style.fontSize=3D'8pt'; el.style.fontfamily =3D 'arial'; map.AddControl(el); //we can't get this to work correctly so commented out for now //addShim(el); } function addShim(el) { var shim =3D document.createElement("iframe"); shim.id =3D "myShim"; shim.frameBorder =3D "0"; shim.style.position =3D "relative"; shim.style.zIndex =3D "1"; shim.style.top =3D el.offsetTop; shim.style.left =3D el.offsetLeft; shim.width =3D el.offsetWidth; shim.height =3D el.offsetHeight; el.shimElement =3D shim; document.getElementById('MapTD').parentNode.insertBefore(shim, el); } var collChildren; function findCopyright() { var coll=3Ddocument.getElementsByTagName('div'); var copyrightDiv; =09 for(i =3D 0; i < coll.length; i++) { if(coll[i].innerHTML.indexOf('PoweredByLogo') !=3D -1) { for(n =3D 0; n < coll[i].childNodes.length; n++) { if(coll[i].childNodes[n].className.indexOf('PoweredByLogo') !=3D -1) { coll[i].childNodes[n].style.cssText =3D ""; } } } } } function map_MouseOver(e) { if (e.elementID) { return true; } } ------=_NextPart_000_0000_01CA8E62.D6614AC0--