var uw=null,uvwv=false,vuuww=false,uvvvv=false,wvwv=1,vvwuvw=false,uvvvw=false;uvuu=false,uvvvu=new Array(),vwvvw=false,uwwu=false,uuvu="",vvwuwv=false,uvvwu=false;function uvvuv(){}uvvuv.wwuuvv=200;uvvuv.wwuuuv=300;var vvwuv=0;if(wvu.wwv.indexOf("IE")!=-1){vvwuv=108;}else{vvwuv=102;}var wuvww=45;var wvvvu="Superpages Map Based Search";var wwuuvw="Superpages Map Based Search";window.send2phoneenabled=true;window.wuvvvw='http://mobile.live.com';var spPhone={wuvvvv:{wwuuuu:true,wuvvvu:["US"]}};var vvuuw=350;var wwuuuw=false,wwuuwu=3000,wwuuww=true;var wwuuwv="The server is currently busy. Try again later.",wuvuuv="Driving Directions",wwuuvu="E-mail",wwvvwu="Clear",wwuvwv="Yes",wwvvww="No",wuvvuv="Start",wuvwvw="End",wwvvvu="Options",wvwvvu="Cancel",wvvwww="Origin",wvvwwv="Destination",wvvwvu="Title",wvvwwu="Notes",wvvwvw="Drive from...",wvvvuu="Drive to...",wvvvuw="or",wvvvuv="Permalink",wvvvwu="Search",wvvwvv="Collections",wvvwuv="Help",wvvwuu="Feedback",wvvuwu="Privacy",wvvuvv="Legal",wvwvvv="Trademarks",wvvuuu="%1 Feedback",vvwwvv="%1 at %2",wvvuuw="Traffic",wvwvvw="Favorites",wvvuuv="Advertisers",wvvuww="Sign in",wvvuwv="Sign out",wvvuvu=",",wvvuvw="powered by",wvvvww="beta",wvvwuw="%1 SuperPages.com %2",wvvvwv="SuperPages.com",vuuwuw="Share",vuuwww="Send instant message",vuuwwv="E-mail",vuuwvu="Copy link to clipboard",vuuwwu="Add blog entry",vuuwvw="Map all",vuuvuu="Delete",vuuvuw="Welcome to %1, the best way to find what you're searching for.%1 has slick new features for online mapping and local search that you'll want to try!",vuuvuv="Address, city, or other place",vuuvwu="Business, Category, or Keyword",vuuwvv="Search",vuuwuv="Local",vuuwuu="Locate me",wuwvww="Add pushpin",vuuuvv="Community",wvvvvv="What",vuuuuu="Where",vuuuuw="About",wvvvvw="Developers",vuuuuv="Share",vuuuww="Send instant message",vuuuwv="E-mail",vuuuvu="Copy link to clipboard",vuuuvw="Add blog entry",wvvvvu="View permalink",wvwvwv="Map all",wvuvvu="Delete",wvwvww="Share in Messenger",wvuwww="Clear All",wvuwwv="Tools",wvuwvu="Open",wvuwwu="New",wvuwvw="Businesses",wvuvuu="People",wvuvuw="Maps",wvuvuv="Windows Live Local is not designed to provide optimized experience to your browser.%1Click OK to proceed to Windows Live Local or Cancel to be redirected to an optimized experience.",wvuvwu="OK",wvuwvv="Cancel",wvuwuv="Unsupported browser",wvuwuu="Install",wvuuwu="Location Finder install",wvuuvv="Your %1 permalink",wwvvvv="Use the following link to open %1 with your current map view, searches, and scratch pad as you see them now. You can also share this link with others.",wvuuuu="Bookmark it",wvuuuw="E-mail",wwvvvw="Copy link to clipboard",wvuuuv="The scratch pad is empty. %1Learn%2 how to add items to the scratch pad.",wvuuww="Your scratch pad already contains the maximum number of items. To add another item to your scratch pad, you must first remove one.",wvuuwv="Your scratch pad has been truncated.",wvuuvu="Scratch pad",wvuuvw="blog it!",wvuvww="The scratch pad is empty. Add an item to the scratch pad and try again.",wvuwuw="%1 Results",wvuvwv="You must %1 to save your collection",wvwwuw="Are you sure you want to delete the collection, %1",wvwwww="A %1 collection can be viewed by everyone on the Internet. Do you want to make this collection %1?",wvwwwv="A %1 collection can no longer be viewed by others. Do you want to make this collection %1?",wvwwvu="private",wvwwwu="public",wvwwvw="Delete",wvwvuu="Update",wvwvuw="Private collections cannot be shared. Select Public, and try again.",wvwvuv="Collection privacy",wvwvwu="New collection",wvwwvv=" Pan and zoom ",wvwwuv=" Pan, zoom, and select shapes ",wvwwuu=" Add a pushpin ",wvwuwu=" Draw a path or a trail on the map ",wvwuvv=" Mark an area on the map ",wvuvvv=" Set the fill color ",wvwuuu=" Set the line color ",wvwuuw=" Set the line width ",wvuvvw=" Set the line dash style ",wvwuuv="Add an item",wvwuww="Edit item properties",wvwuwv="Location info",wvwuvu="Untitled item",wvwuvw="The unsaved collection can contain a maximum of 15 items.",wwvvwv="To add more items, %1save this collection.%2",wuwvwv="The maxium size of an item is 10k. To save it, please reduce the size of the item",uvwwuw="Save",wuwvwu="Please give your item a title.",uwvvww="Please give your item some notes.",uwvvwv="Click anywhere in the visible map area to place the pushpin at its new location.",uwvvvu="Click on the drawing to place the pushpin at its new location.",uwvvwu="Click inside the drawing to place the pushpin at its new location.",uwvvvw="Cannot add the pushpin because an identical item already exists in the scratchpad.",uvuuuu="Photo URL",uvuuuw="URL for more info",uvuuuv="Keywords",uwvvvv="Move",uwvvuv="Edit",uwvvuu="Delete this item",uwvwww="Drive from...",uwvwvv="Drive to...",uwvwuu="E-mail",uwvwuw="More info...",uwvwuv="Add pushpin",uwvuvv="Center map here",uwvwwu="Add node",uwvwwv="Delete node",uwvwvu="Show properties",uwvwvw="Delete drawing",uvuuwu="Finish drawing",uwvvuw="Zoom to region level",uvuuww="Zoom to city level",uvuuvu="Zoom to street level",uvuvuu="Get directions",uvuvwu="Print Options",uvuvww="There are no directions to send at this time.",uvuvwv="There are no directions to print at this time.",uvuvuv=" Find Near by",uvuvvu="%3 Directions From '%1' To '%2'",wuvuvv="Shortest distance",wuvwuw="Shortest time",uvuvvv="Reverse start and end points",wwuvuw="Step",uvwuuu="miles",uvwuuw="km",uvuvvw="Use kilometers",uwvuwv="Map and text",uvuwvv="Map only",uvuwwu="Text only",uvuwvw="Custom...",wuvuwv="Please wait while %1 prepares your printing.",wuvuuu="Miles",wuwvvu="Kilometers",uvuuvv="Directions sponsored by",uvuwuu="(none of the above)",uvuwuw="Step %1 of %2",uvuuvw="Please sign in to use this feature",uvuwuv="Manage my favorites",uvuwww="%1Your list of favorites is empty.%2You can save public collections as favorites for quick reference. To learn more, read %3Save a Collection as a Favorite%4.%5",uvuwwv="On exit",uvuwvu="Save my last location",uvuuwv="Save my searches",uwvuvw="Remember the items in my scratch pad",uwvuvu="Map navigation",uwwwvw="Use animated pan and zoom",uwuvvu="Searching",uwuvvw="Select the number of search results to display at one time",uwwuuv="Location Finder",uwwuwu="Don't ask about installing Microsoft Location Finder",uwwuww="The unsaved collection has exceeded the storage limit allowed for it.",uwwuuw="To avoid losing data, sign in and save the collection.",uwuvwu="OK",uwuwvu="3D Options",uwuwww="Network...",uwuwvw="Do you mean...?",wwuwww="No route to display",wwuwuv="Total distance",wwuwvu="Estimated time",uwuwvv="Reverse",wwuvuu="Next step",wwuwvv="Previous step",uwuvuu="You must provide a start location.",uwwuwv="You must provide an end location.",wwuvuv="Getting directions...",wwuwwv="Route summary",uwwuvw="Arrive at",uwwvuv="Road map has been activated to show your entire route.",uwwvwv="Driving directions are temporarily unavailable. Please try again.",uwwvvu="Loading...",uwwvvw="Next page",uwwvww="Previous page",uwvuww="Add categories",uwvuuw="Remove categories",uwvuuv="Sort by...",uwvuwu="Sort by distance",uwvuuu="Sort by relevance",uwwvwu="Business",uwwvuw="Person",uwwwwv="Web results",uwwvuu="More...",uwwwuw="Didn't find what you were looking for?",uwwwuv="Help us improve",uwwwwu="Add to Saved Locations",uwwwuu="E-mail",uwwwww="Zoom to street level",uwwwvv="Details",uwuvww="Drive from...",uwwuvu="Drive to...",vvvuv="e.g. Boston MA",uwwvvv="First name, last name, or phone number",uwwwvu="Sponsors From %1",uwwuvv="Browser not supported",uwuwwv="Messenger download",uwuwwu="i/bin/logo-on-white.gif",uwuvuw="Invalid script source URL is assigned; cannot download the assigned script.",uwuvuv="Head element is missing for the current document; cannot initialize the API framework.",uwwuuu="Zoom in for traffic details",uwuvwv="Severity",uwuvvv="Location",uvwuuv="Description",uvuvuw="Start time",uvwuww="Est. end time",uvvvvv="Zoom to incident",wuuwvu="Getting traffic information...",wuuwvw="Update traffic data now",wuuwvv="Not all traffic information is available. %1Try again.%2",wuuwwv="Traffic information only available in major urban areas.",wuuvuu="Incidents",wuuvuv="Serious",wuuvwu="Moderate",wuuvww="Minor",wuuvuw="Incident information is not available in this area.",wuuwww="%1Zoom out%2 for speed information.",wuuwuv="Speed information is not available for this area.",wuuuvu="Show all construction",wuuwuw="Speed",wuuuuv="Updated",wuuuwu="Traffic information cannot be shown in bird's eye view. To view traffic information, switch to road or aerial view.",wuuuww="Traffic sponsored by",wuuuuw="Last updated",wuuuwv="Add to favorites",wuuuvw="%1 to add this collection to your favorites",wuuuvv="Call for free",wuwwwv="mobile",wuwuuv="Scratch pad",wuuvvv="This collection is not saved. %1Save%2",uvwvuw="Save collection as...",uvwvuv="Delete collection",uvwvwu="Clear collection",uvwvuu="Are you sure you want to remove all of the items from this collection?",uvwvww="%1Your scratch pad is empty%2To get started with the scratch pad, pause on map items and select 'Add to scratch pad'%3",uvwvwv="%1Your scratch pad is empty. To add items to your scratch pad, you can:%3%3 - Hover over a search result and choose %4Add to collection%5%3%3 or %3%3 - Add a pushpin to the map%8",uvwvvu="Properties",uvwwvu="Delete",uvwuvu="Public",uvvvuw="Public collections can be viewed by everyone. Find out how to %1protect your personal safety%2 and %3choose your collection privacy settings%2.",uvvvwu="Collection Properties",uvvvwv="Shared collection",uvvvuv="Unsaved collection",uvvwuv="Unsaved collections cannot be deleted from storage.",uvvuwu="Collections cannot be deleted from storage.",uvvuww="You have a collection with this name. Please try again with a different name.",uvvuvv="You cannot add more than 200 items to a collection. To add more items, create another collection.",uvvwuw="This collection is no longer available. It may have been deleted by the author.",wuuwuu="Either your session has timed out or the server is temporarily unavailable. Try signing in again.",uvvwuu="The maxium size of a collection is 2M. To save it, please reduce the size of the collection";var spFS0,spFS1,spFS2,spFS3,spFS4,spFS5,spFS6,spFS7,spFS8,spFS9,wuvvw,wwuuu,spP0,spP1,spP2,spP3,spP4,spP5,spP6,spP7,spP8,spP9,uvvuvu;var uvvuuv="Customize my map",uuuv=0;var uvvuwv=0,uvvuvw=new Array(),uvvwwu=false;var wwwvu=new Array();var vwuuu=new Array();var uvvwwv=false;var vvuuvv=31;var uvuv=new Array();function GetMap(){uw=new VEMap("myMap");if(token!="null"){uw.SetClientToken(token);}var uww=vvuvuu,long=vvuwvv,wwwvv=vvuvwv,wwvuw=vvuvvu;if(spLat&&spLon){uww=parseFloat(spLat);long=parseFloat(spLon);}else if(spc_lat&&spc_long){uww=spc_lat;long=spc_long;}if(spZoom){wwwvv=parseInt(spZoom);}if(spStyle){wwvuw=spStyle;}if(wvu.wwv=="IE6"){$ID("myMap").style.height=(document.body.offsetHeight);$ID("myMap").style.width=(document.body.offsetWidth);}uw.LoadMap(new VELatLong(uww,long),wwwvv,wwvuw,false);uw.HideDashboard();if(typeof controls!="undefined"&&controls){uuwww();}uw.AttachEvent("onmouseover",uvuvw);if(spAddress!=""){vwwww(spAddress);}else if(poiLons.length>0){var aLL=new Array();for(var ww=0;ww<poiLons.length;ww++){var vwu=vwwvv(ww+1);var wvw=new VELatLong(poiLats[ww],poiLons[ww]);aLL.push(wvw);var vuv=uuvwv(wvw,ww+1,"",poiColors[ww]);vwu.AddShape(vuv);if(aLL.length>0){if(aLL.length==1){var vvwvww=new VEMapViewSpecification(wvw,14);uw.SetMapView(vvwvww);}else{uw.SetMapView(aLL);}}else{uw.SetZoomLevel(16);}}}else{wwuwu(new VELatLong(spLat,spLon));}}function uuvvv(){var vu=null;if(spOnAMap){if(onAMapQuery!=""){uvvwu=true;vu=onAMapQuery;uwuu(1,onAMapQuery);}spOnAMap=false;}else if(spLid!=""){uvvwu=true;if(spShare){if(singleQuery!=""){wwu.uuvuv=true;wwu.uvwu=spType;var vv=wwu.decode(spLid);singleQuery+="&LID="+vv;vu=singleQuery;if(wwu.uvwu!=wwu.wwwuu){uwuu(2,singleQuery);}}}else{if(singleQuery!=""){wwu.uuvuv=true;wwu.uvwu=wwu.uvvvuu;vu=singleQuery;uwuu(2,singleQuery);}}spLid="";}if(spC&&spC!=""){vu=spC;uwuu(3,spC);spC="";}return vu;}function uwuu(type,wv){if(spStartLocation&&this.uvwu!=wwu.uvvwvv){var uwvu=wv.split("&"),vwvuu="",wwuvu="",title="";if(type==1){vwvuu="C=";}if(type==2){vwvuu="POI1name=";}if(type==4){vwvuu="cbdt=";}if(uwvu.length>2){for(var ww=0;ww<uwvu.length;ww++){if(uwvu[ww].indexOf("SRC=")==-1&&uwvu[ww].indexOf(vwvuu)!=-1){wwuvu=uwvu[ww].split("=");title=wwuvu[1];title=title.replace(/\+/g," ");vwuvw=decodeURI(title);break;}}}else{title=uwvu[0];title=title.replace(/\+/g," ");vwuvw=decodeURI(title);}if(type==1&&vwuvw==""){uwuu(4,wv);}}}function uvvwvw(){}function uvvwww(){}function uvvuuu(){wvwvu.uuuuw();vuvu.Show(true);uvww.wvwvw();}function setFocus(){var wvwwv=uvvvww();if(wvwwv){$ID("SearchInput"+wvwwv).focus();}else{$ID("searchbttn").focus();}}function vuvvw(uvuwv){try{wwu.Search(uvuwv);}catch(e){alert(e.message);}}function vwwww(vv){try{uw.Find(null,vv,null,null,null,null,true,false,false,true,uvwwv);}catch(e){alert(e.message);}}function uvwwuv(uu){var uu=(uu)?uu:((window.event)?event:null);if(uu){if(uu.keyCode==13){var uv=(uu.target)?uu.target:uu.srcElement;if(uv.wvvv){uv.wvvv();}if(wvu.wwv.indexOf("IE")==-1){uu.uvwwwu();}uvvvw=false;vwwww();uuw(uu);}}}var uvwvvv=0,uvwwww=false;function uvwwv(layer,uvwwuu,uvwuwv,uvwuvv,veErrorMessage){if(!veErrorMessage||veErrorMessage==""){var wvw=uw.GetCenter();wwuwu(wvw);}}function uvvwvu(uwu,wvw,uv,vuvuv){vwvvw=true;var vwuvu=false,uuvv=uuvvv();if(uuvv&&wwu.uvwu!=wwu.wwwuu){uv.firstChild.value=vwuvw;vwuvu=true;}else if(uuvv&&wwu.uvwu==wwu.wwwuu){wvwv=6;wwu.uvwuvw=true;vuvvw(uuvv);vwuvu=true;}if(uv.firstChild.value!=""){vvwuvw=true;wuvuu(wvw,0,uv.firstChild.value,uwu,vuvuv);if(uuvv){vuvvw(uuvv);}else{wwu.uvwu=wwu.uvwwvw;vuvvw(uv.firstChild.value);}var wvuwv=uw.LatLongToPixel(wvw);uv.style.visibility="hidden";uwvuu(uv,wvuwv.x+vvuuw,wvuwv.y);vwwwu();}vwvvw=false;return vwuvu;}function MapStartPanning(){if(wwu.uwuvw){wwu.uwuvw=false;}spero.hide();uvwv=true;vvvuw();}function MapStopPanning(){uvwv=false;vvvwu();uuuvv();vwuwu();}function MapStartZoom(){vuuww=true;vvvuw();}function MapEndZoom(){vuuww=false;vvvwu();uuuvv();vwuwu();}function vvvwu(){if(!uvwv&&!vuuww){var vv=uw.GetShapeLayerCount(),wuuuv=false;for(var ww=vv;ww>1;ww--){var layer=uw.GetShapeLayerByIndex(ww-1);if(layer){var vuw=layer.GetShapeByIndex(0);if(vuw&&vuw.Title.indexOf("Start")==-1){var wwvw=vuw.GetCustomIcon();if(wwvw.indexOf("target")!=-1){var uwv=wwvw.substr(wwvw.indexOf("target")+6,1);var uv=$ID("SearchPin"+uwv);if(!vvwvwv(vuw.GetIconAnchor())&&uv.firstChild.value==""){uv.style.position="absolute";uv.style.left=wuvww+"px";uv.style.top=vvwuv+"px";layer.DeleteShape(vuw);wuuuv=true;}else{if(!uvvvv){vuw.Show();}}}}}}if(wuuuv){vwwwu();}}}function vvvuw(){if(uwwu){uwwu=false;vwwwu();}}function TabOrder(uu){var uu=(uu)?uu:((window.event)?event:null);if(uu){if(uu.keyCode==13){var uv=(uu.target)?uu.target:uu.srcElement;if(uv.wvvv){uv.wvvv();}uwwu=false;$ID("searchbttn").click();}}}function uvwwwv(uu){var uu=(uu)?uu:((window.event)?event:null);if(uu){var uv=(uu.target)?uu.target:uu.srcElement;if(uv.tagName=="INPUT"){uwwu=true;uuvu=uv.value;}uuw(uu);}}function uvwwvv(data){return"<div class=\"infobox\">"+data+"</div>";}function SetLayer(uwu){var vwu=new VEShapeLayer();switch(uwu){case 1:vwu.SetTitle("Green Results");break;case 2:vwu.SetTitle("Orange Results");break;case 3:vwu.SetTitle("Blue Results");break;case 4:vwu.SetTitle("Red Results");break;case 6:vwu.SetTitle("Wifi Results");break;case 7:vwu.SetTitle("Location Marker");break;}if(cobrand=="SWBD"){switch(uwu){case 1:vwu.SetTitle("Blue Results");break;case 2:vwu.SetTitle("Orange Results");break;case 3:vwu.SetTitle("Red Results");break;case 4:vwu.SetTitle("Green Results");break;}}uw.AddShapeLayer(vwu);return vwu;}function vwwvv(uwu){var layer=null,uwuv=false;if(uw.GetShapeLayerCount()>1){var color="";switch(uwu){case 1:color="green";break;case 2:color="orange";break;case 3:color="blue";break;case 4:color="red";break;case 6:color="wifi";break;case 7:color="location";break;}if(cobrand=="SWBD"){switch(uwu){case 1:color="blue";break;case 2:color="orange";break;case 3:color="red";break;case 4:color="green";break;}}for(var ww=0;ww<uw.GetShapeLayerCount();ww++){layer=uw.GetShapeLayerByIndex(ww);if(layer.Name.toLowerCase().indexOf(color)!=-1){uwuv=true;break;}}if(!uwuv){layer=SetLayer(uwu);}}else{layer=SetLayer(uwu);}return layer;}function uuvwv(wvw,wwwu,uvvv,color){var vuv=new VEShape(VEShapeType.Pushpin,wvw),uwvw="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;",vwwv=((wvu.wwv.indexOf("IE6")!=-1)?true:false);var vvvw=uwvv("SP_Pushpin_wifi",vwwv);if(color!=6){vvvw=uwvv("SP_Pushpin_search"+color,vwwv);}if(wvu.wwv.indexOf("IE")==-1){uwvw="";}vvvw+=vvwuu(wwwu,color)+uwvw+"</div>"+(vwwv?"</div>":"");vuv.SetCustomIcon(vvvw);uw.ClearInfoBoxStyles();vuv.SetDescription(wwwu+","+color);return vuv;}function wuvuu(wvw,wwwu,uvvv,uwu,vuvuv){var vuv=new VEShape(VEShapeType.Pushpin,wvw),vvvw=null,cl="search",uwvw="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;",vwwv=((wvu.wwv.indexOf("IE6")!=-1)?true:false);if(wwwu==0){if(uwu==7){cl="locationMarker";vvvw=uwvv("SP_Pushpin_"+cl,vwwv);}else{cl="target";vvvw=uwvv("SP_Pushpin_"+cl+uwu,vwwv);}}if(vwwv){if(uwu==7){vvvw+=vvwuu(wwwu,uwu)+uwvw+"</div></div>";}else{vvvw+="<img src=\"i/pins/geotargetIE6.gif\" style=\"position:absolute; top:3px; left:5px; z-index:2; font-size:30px; filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0); \" />"+uwvw+"</div></div>";}}else{vvvw+=vvwuu(wwwu,uwu)+uwvw+"</div>";}vuv.SetCustomIcon(vvvw);uw.ClearInfoBoxStyles();vuv.SetDescription(uvvv);vuv.SetZIndex(vuvuv?100:1100);vuv.SetTitle(cl);var vwu=vwwvv(uwu);vwu.AddShape(vuv);vwu.Show();}function uwvv(wvvwu,vwwv){var vuu="<div class = 'SP_Pushpin "+wvvwu+"'>";if(vwwv){vuu="<div class = 'glass' "+(wvvwu.indexOf("wifi")!=-1?"style = 'width:50px;'":"")+"><div class = '"+wvvwu+"'>";}return vuu;}function wwuwu(wvw,location){var wuuw=7,vwu=vwwvv(wuuw);vwu.DeleteAllShapes();wuvuu(wvw,0,(location?location:""),wuuw);}function vvwuu(vww,color,www){var vuu="",wuu=new Array("","green","orange","blue","red","black","wifi"),top=8,wuuww=20,wuwuw=17,wuuvw=23,vuvv=0;if(cobrand=="SWBD"){wuu=new Array("","blue","orange","red","green","black","wifi");switch(color){case 1:vuvv=3;break;case 2:vuvv=2;break;case 3:vuvv=4;break;case 4:vuvv=1;break;}}if(wvu.wwv.indexOf("IE6")!=-1){top=10;}if(color==6){wuuww=19;wuwuw=16;wuuvw=22;}if(vww!=0){if(vww<10){if(www){if(color==6){vuu="<img src='"+MapSourceURL+"i/pins/iconWIFIprintLong.gif' style='z-index:1;'><img src=\""+MapSourceURL+"i/numbers/N"+wuu[color]+vww+".gif\" class=\"firstFirstDigitWifiIcon\" />";}else{vuu="<img src='"+MapSourceURL+"i/pins/print_search"+(vuvv?vuvv:color)+".gif' style='z-index:1;'><img src=\""+MapSourceURL+"i/numbers/N"+wuu[color]+vww+".gif\" class=\"firstFirstDigitSearchIcon\"  />";}}else{vuu="<img src=\""+MapSourceURL+"i/numbers/N"+wuu[color]+vww+".gif\" style=\"position:absolute; top:"+top+"px; left:"+wuuww+"px; z-index:2;font-size:30px; \" />";}}else{if(vww>=10&&vww<100){var vvwv=String(vww);if(www){if(color==6){vuu="<img src='"+MapSourceURL+"i/pins/iconWIFIprintLong.gif' style='z-index:1;'><img src=\""+MapSourceURL+"i/numbers/N"+wuu[color]+vvwv.substring(0,1)+".gif\" class=\"secondFirstDigitWifiIcon\" /><img src=\""+MapSourceURL+"i/numbers/N"+wuu[color]+vvwv.substring(1,2)+".gif\" class=\"firstSecondDigitWifiIcon\" />";}else{vuu="<img src='"+MapSourceURL+"i/pins/print_search"+(vuvv?vuvv:color)+".gif' style='z-index:1;'><img src=\""+MapSourceURL+"i/numbers/N"+wuu[color]+vvwv.substring(0,1)+".gif\" class=\"secondFirstDigitSearchIcon\"  /><img src=\""+MapSourceURL+"i/numbers/N"+wuu[color]+vvwv.substring(1,2)+".gif\" class=\"firstSecondDigitSearchIcon\" />";}}else{vuu="<img src=\""+MapSourceURL+"i/numbers/N"+wuu[color]+vvwv.substring(0,1)+".gif\" style=\"position:absolute; top:"+top+"px; left:"+wuwuw+"px; z-index:2;\" /><img src=\""+MapSourceURL+"i/numbers/N"+wuu[color]+vvwv.substring(1,2)+".gif\" style=\"position:absolute; top:"+top+"px; left:"+wuuvw+"px; z-index:3;\" />";}}else{if(vww>=100&&vww<1000){var vvwv=String(vww);if(www){if(color==6){vuu="<img src='"+MapSourceURL+"i/pins/iconWIFIprintLong.gif' style='z-index:1;'><img src=\""+MapSourceURL+"i/numbers/N"+wuu[color]+vvwv.substring(0,1)+".gif\" class=\"thirdFirstDigitWifiIcon\" /><img src=\""+MapSourceURL+"i/numbers/N"+wuu[color]+vvwv.substring(1,2)+".gif\" class=\"thirdSecondDigitWifiIcon\" /><img src=\""+MapSourceURL+"i/numbers/N"+wuu[color]+vvwv.substring(2,3)+".gif\" class=\"firstThirdDigitWifiIcon\" />";}else{vuu="<img src='"+MapSourceURL+"i/pins/print_search"+(vuvv?vuvv:color)+".gif' style='z-index:1;'><img src=\""+MapSourceURL+"i/numbers/N"+wuu[color]+vvwv.substring(0,1)+".gif\" class=\"thirdFirstDigitSearchIcon\" /><img src=\""+MapSourceURL+"i/numbers/N"+wuu[color]+vvwv.substring(1,2)+".gif\" class=\"secondSecondDigitSearchIcon\" /><img src=\""+MapSourceURL+"i/numbers/N"+wuu[color]+vvwv.substring(2,3)+".gif\" class=\"firstThirdDigitSearchIcon\" />";}}else{vuu="<img src=\""+MapSourceURL+"i/numbers/N"+wuu[color]+vvwv.substring(0,1)+".gif\" style=\"position:absolute; top:"+top+"px; left:14px; z-index:2;\" /><img src=\""+MapSourceURL+"i/numbers/N"+wuu[color]+vvwv.substring(1,2)+".gif\" style=\"position:absolute; top:"+top+"px; left:20px; z-index:3;\" /><img src=\""+MapSourceURL+"i/numbers/N"+wuu[color]+vvwv.substring(2,3)+".gif\" style=\"position:absolute; top:"+top+"px; left:26px; z-index:4;\" />";}}}}}else{if(www){if(color==6){vuu="<img src='"+MapSourceURL+"i/pins/iconWIFIprintLong.gif' style='z-index:1;'><img src=\""+MapSourceURL+"i/numbers/N"+wuu[color]+"A.gif\" style=\"position:absolute; top:"+top+"px; left:10px; z-index:2; \" />";}else{vuu="<img src='"+MapSourceURL+"i/pins/print_search"+(vuvv?vuvv:color)+".gif' style='z-index:1;'><img src=\""+MapSourceURL+"i/numbers/N"+wuu[color]+"A.gif\" style=\"position:absolute; top:"+top+"px; left:15px; z-index:2; \" />";}}}return vuu;}function uvvvvu(){var ll=uw.GetCenter();var uww=ll.Latitude;var vvuw=ll.Longitude;var vuv=new VEShape(VEShapeType.Polyline,[new VELatLong(uww-0.1,vvuw-0.1),new VELatLong(uww+0.1,vvuw-0.1),new VELatLong(uww+0.1,vvuw),new VELatLong(uww-0.1,vvuw),new VELatLong(uww-0.1,vvuw+0.1),new VELatLong(uww+0.1,vvuw+0.1)]);var vuwvw=new VEColor(Math.round(254*Math.random()),Math.round(254*Math.random()),Math.round(254*Math.random()),Math.random());vuv.SetLineColor(vuwvw);var vuwww=Math.round(5*Math.random()+1);vuv.SetLineWidth(vuwww);vuv.SetCustomIcon(vvvw);uw.ClearInfoBoxStyles();vuv.SetDescription(uvvv);uw.AddShape(vuv);}function uvvuuw(){var ll=uw.GetCenter();var uww=ll.Latitude;var vvuw=ll.Longitude;var vuv=new VEShape(VEShapeType.Polygon,[new VELatLong(uww,vvuw-0.15),new VELatLong(uww+0.1,vvuw-0.05),new VELatLong(uww+0.1,vvuw+0.05),new VELatLong(uww,vvuw+0.15),new VELatLong(uww-0.1,vvuw+0.05),new VELatLong(uww-0.1,vvuw-0.05)]);var vuwvw=new VEColor(Math.round(254*Math.random()),Math.round(254*Math.random()),Math.round(254*Math.random()),Math.random());vuv.SetLineColor(vuwvw);var vuwww=Math.round(5*Math.random()+1);vuv.SetLineWidth(vuwww);var uwwvv=new VEColor(Math.round(254*Math.random()),Math.round(254*Math.random()),Math.round(254*Math.random()),Math.random());vuv.SetFillColor(uwwvv);vuv.SetCustomIcon(vvvw);uw.ClearInfoBoxStyles();vuv.SetTitle("<h2>Custom Pin</h2>");vuv.SetDescription(uvvv);uw.AddShape(vuv);}function getCenter(){var wuwuv=uw.GetCenter();var uww=document.getElementById("lat");var vvuw=document.getElementById("lon");var uwuvv=document.getElementById("zlevel");uww.innerHTML=wuwuv.Latitude;vvuw.innerHTML=wuwuv.Longitude;uwuvv.innerHTML=uw.GetZoomLevel();}function wuwvu(uv){return parseInt(uv.id.substring(uv.id.length-1));}function DeleteSearch(wvwv){uuvu="";var vv=wwu.wuwww("search"+wvwv);if(vv){wuuuuu(wvwv);var uv=$ID("SearchPin"+wvwv);uv.firstChild.value="";vwvuv(uv,false);uvww.vvuwwv(vv.uvuv);wwu._RemoveSearch(vv.index);}}function vwwwu(){var wuuvvw=0,vuuvu=0,uv=null;for(var uwv=4;uwv>=1;uwv--){if(!uvvvv){uv=$ID("SearchPin"+uwv);if(uuuwu(uv)){var uvuuv=uv.getElementsByTagName("input");if(uvuuv[0].value!=""){vwvuv(uv,false);wvwv=uwv;wuuuw(uv,uwv);}else{vwvuv(uv,true);uv.style.visibility="hidden";uv.firstChild.tabIndex="-1";}}else{vwvuv(uv,false);var uvuv=$ID("search_"+uwv);if(uvuv){wvwv=uwv;wuuuw(uv,uwv);}else{uv.style.position="absolute";uv.style.left=wuvww+"px";uv.style.top=vvwuv+"px";uv.style.zIndex=(uwv==1?1103:(uwv==2?1102:(uwv==3?1101:1100)));uv.firstChild.tabIndex="-1";vuuvu=uwv;}}}}if(vuuvu){$ID("SearchPin"+vuuvu).firstChild.tabIndex="2";}}function uvvvvw(uwvuw,uwu){if(uw.GetShapeLayerCount()>0){var color=uwu<6?vuuuv(uwu).toLowerCase():"wifi";for(var ww=0;ww<uw.GetShapeLayerCount();ww++){var layer=uw.GetShapeLayerByIndex(ww);if(layer.Name.toLowerCase().indexOf(color)!=-1){if(uwvuw){uw.DeleteShapeLayer(layer);}else{for(var vwv=layer.GetShapeCount();vwv>0;vwv--){if(layer.GetShapeByIndex(vwv)){var vuv=layer.GetShapeByIndex(vwv);layer.DeleteShape(vuv);}}}break;}}}}function uvwvvw(layer,wuwwv,wuwvw){var vuu=null;for(var vwv=layer.GetShapeCount();vwv>0;vwv--){if(layer.GetShapeByIndex(vwv)){var vuv=layer.GetShapeByIndex(vwv);var vv=vuv.GetDescription();var vu=vv.split(",");if(wuwvw){if(vu[1]==wuwwv&&vu[2]==wuwvw){vuu=vuv;break;}}else{if(vu[1]==wuwwv){vuu=vuv;break;}}}}return vuu;}function wuuuw(wwvu,wvwv){var vv=wwu.wuwww("search"+wvwv);if(vv){wwvu.style.visibility="hidden";uwvuu(wwvu,20,0);vv.uvuv.vvuwuw(wwvu,"DragableSearchTitle");wwvu.style.visibility="visible";wwvu.firstChild.tabIndex="8";}}function uvwvu(uv){var uwv=wuwvu(uv);var vv=wwu.wuwww("search"+uwv);if(vv){vv.uvuv.SetTitle(uv.firstChild.value);vv.uvuv.title.firstChild.style.color=vv.wuwuvw();}}function ShowPopup(ID){var uv=null,uwv=null,wuwwu=null,vuw=null;vuw=uw.GetShapeByID(ID);if(vuw.Title.indexOf("Step")!=-1||vuw.Title.indexOf("End")!=-1||vuw.Title.indexOf("Start")!=-1){return;}var wwvw=vuw.GetCustomIcon();if(wwvw.indexOf("target")!=-1){spero.hide();if(uwwu){vvvuw();vvvwu();}uwv=wwvw.substr(wwvw.indexOf("target")+6,1);wuwwu=$ID("SearchCollection");uv=$ID("SearchPin"+uwv);uv.style.visibility="hidden";wuwwu.appendChild(uv);uvwvu(uv);var wuuu=uw.LatLongToPixel(vuw.GetIconAnchor());var uwvvv=-2;uwvvw=-4;uv.style.left=parseInt(wuuu.x)+uwvvv+vvuuw+"px";uv.style.top=parseInt(wuuu.y)-uwvvw+"px";uv.className="SearchPin_flyout";uv.style.width="171px";var color=vuuuv(uwv).toLowerCase();uv.firstChild.style.width="105px";if(wvu.wwv.indexOf("IE")!=-1){uv.firstChild.style.marginTop="37px";}else{uv.firstChild.style.marginTop="38px";}if(wvu.wwv.indexOf("IE6")!=-1){uv.wuuwu.item("DXImageTransform.Microsoft.AlphaImageLoader").src="i/pins/geotargetflyout_"+color+".png";}else{uv.style.backgroundImage="url(i/pins/geotargetflyout_"+color+".png)";}uv.style.visibility="visible";vuw.vuuv();}else if(wwvw.indexOf("locationMarker")!=-1){uuvuu(vuw);}else{wwu._ShowSearchPopupFromId(ID);}}function uuvuu(vuw){var uuv=uvwuv(vuw);spero.wuvwuu(uuv);spero.wuvvww(vuw,0,wwu.wuwuvu,true,false);}function uvwuv(vuw){var vvw=vuw.GetDescription(),wvw=vuw.GetIconAnchor();var e="<div class =\"title\">"+uvwuu(vvuwu.vvwuvv(vvw))+"</div>";var vwuw=vvw+"\n";var vvwvv=vuuuw("spLocalHost").replace(/mapserver.superpages.com:80\/mapbasedsearch/g,"maps.superpages.com")+"?spaddress="+vvuwu.vuvuw(vvw);vvwvv+="&splat="+wvw.Latitude;vvwvv+="&splng="+wvw.Latitude;;vvwvv+="&spshare=true&level="+uw.GetZoomLevel()+"&spstyle="+uw.GetMapStyle();vwuw+=vvwvv;vwuw+="\n\n";vwuw+="Please copy & paste the URL above into your browser to get the best results.";vwuw=escape(vwuw);spero.wuvvwu();var vv="";var uvwuw="<span>&nbsp;|</span>"+"<a class=\"SP_Panel_sublink\" href=\"javascript:spero.hide();DeleteLocationMarker();\"><span class =\"centerto\" >Delete</span></a>";if(uw.GetMapStyle()!="Oblique"){vv+="<a class=\"SP_Panel_sublink\" href=\"javascript:spero.hide();SP_SearchManager.SetCenterAndZoom("+wuvuvu.wuwuwv+")\">"+"<span class = \"zoomto\" >Zoom to street level</span></a><br/>";vv+="<a class=\"SP_Panel_sublink\" href=\"javascript:spero.hide();SP_SearchManager.SetCenter()\"><span class =\"centerto\" >Center map here</span>"+"</a>  "+uvwuw;}spero.vuvvv(vv);var uvuvv="";spero.vuvvv(uvuvv);wwu.SetLatLong(wvw.Latitude,wvw.Longitude);var uvv=escape(vvwwvv.replace("%1",vvw).replace(/%2/g,wvvvu));spero.vuvvv("<span class=\"sendTo\">Send to: </span>"+"<span id=\"s2p\"></span>"+"<a href = \"mailto:?subject="+uvv+"&body="+vwuw+"\" class = \"SP_Panel_sublink\" oncontextmenu = \"return false;\">"+"<span class = \"emailto\" >email</span>"+"</a>");var uvw="<span class=\"flyoutDirection\">Directions: </span><a href = \"javascript:"+wwu._GenerateDriveFrom(vvw)+";\" class = \"SP_Panel_sublink\"><img align=\"bottom\" src=\"i/dd/ddstartcar.gif\" />&nbsp;&nbsp;<span class=\"startto_start\" >Start</span></a>&nbsp;&nbsp;<a href = \"javascript:"+wwu._GenerateDriveTo(vvw)+";\" class = \"SP_Panel_sublink\"><img align=\"bottom\" src=\"i/dd/ddendcar.gif\" />&nbsp;&nbsp;<span class = \"endto_end\" >End</span></a><br/>";spero.vuvvv(uvw);vv=null;return e;};function wuwuwu(){var wuuw=7,vwu=vwwvv(wuuw);vwu.DeleteAllShapes();}function uvuvw(uu){uuw(uu);return true;}function wuwuuw(uu){if(uu.elementID){ShowPopup(uu.elementID);}uuw(uu);return true;}function wuwuuu(uu){if(vwvvw){vwvvw=false;}uvuuw();return true;}function uvuuw(){do{window.clearTimeout(uvvvu.pop());}while(uvvvu.length>0)}function vvu(vw,uvv,vwuw,vwv,vvw,wv,vu,ww,vwvu,vvv,uuv,wu,e){this.index=0;this.x=uvv;this.y=vwuw;this.width=vwv;this.height=vvw;this.color=wv;this.vvvvu=40;this.vvuvv=20;this.min=false;this.visible=true;this.wuvu=false;this.vuwuv=null;this.vuwuu=null;this.vuwvu=null;this.wuvwu=null;var vv=vvu._CreateElement("div",vw,"SP_Panel_el",vu);this.wvv=vv;this.vvwwu=false;this.title=document.createElement("a");this.title.id=vw+"_title";this.title.className="SP_Panel_title";this.title.appendChild(document.createElement("h1"));this.title.onclick=function(vv){if(!vv){vv=wvuuw(vv);}var wuvuw=wuww(vv);if(wuvuw.id.indexOf("SearchPin")==-1){uvuu=false;vvu._OnTitleClick(vv);}return false;};this.title.href="#";vv.appendChild(this.title);this.SetTitle(ww);this.vvwwv=false;this.vuww=vvu._CreateElement("a",vw+"_cb","SP_Panel_cb SP_Panel_cb_"+wv,vu+1);this.vuww.onclick=function(vv){vvu._OnCloseClick(vv);return false;};this.vuww.href="#";this.vuww.uvuw="on";vv.appendChild(this.vuww);this.wvuw=vvu._CreateElement("div",vw+"_tb","SP_Panel_tb SP_Panel_tb_"+wv,vu+1);this.wvuw.uvuw="on";vv.appendChild(this.wvuw);this.body=vvu._CreateElement("div",vw+"_body","SP_Panel_body",vu+1);this.body.innerHTML=vwvu;vv.appendChild(this.body);this.wuwv=vvu._CreateElement("div",vw+"_foot","SP_Panel_foot SP_Panel_foot_"+wv,vu+1);this.wuwv.innerHTML=vvv;this.wuwv.uvuw="on";vv.appendChild(this.wuwv);if(!wu){this.SetOpacity(90);}vvu.vvwvw.push(this);if(!e){e=document.body;}e.appendChild(vv);}vvu.vvwvw=[];vvu.wuwuvv=3;vvu._CreateElement=function(wv,e,vw,vu){var vv=document.createElement(wv);vv.id=e;vv.className=vw;vv.style.zIndex=vu;return vv;};vvu._PositionElement=function(vv,wv,e,vu,vw){vv.style.top=e+"px";vv.style.left=wv+"px";vv.style.width=vu+"px";vv.style.height=vw+"px";};vvu.prototype.SetPosition=function(vu,wv,vw,vv){this.x=vu;this.y=wv;this.width=vw;this.height=vv;if(this.wvv.wuwuww){wuwwuu(this.wvv);}};vvu.prototype.vvvuwv=function(vvvvu){this.vvvvu=vvvvu;var wv=eval(vvvvu)>0?"block":"none";this.wvuw.style.display=wv;this.wvuw.style.height=vvvvu+"px";};vvu.prototype.vvuwvu=function(vvuvv){this.vvuvv=vvuvv;var wv=eval(vvuvv)>0?"block":"none";this.wuwv.style.display=wv;};vvu.prototype.Resize=function(){uvuu=false;var vuuu=Math.max(GetWindowHeight(),500);if(vuuu>=0&&typeof vuuu=="number"){vwuww.style.height=vuuu+"px";vwuwv.style.height=vuuu+"px";}if(this.wvv.id=="contextMenu"||this.wvv.id=="searchPopup"){if(this.height!="auto"&&typeof this.height=="number"){this.wvv.style.height=eval(this.height)+"px";}if(this.width!="auto"&&typeof this.width=="number"){this.wvv.style.width=eval(this.width)+"px";}if(this.x!="auto"&&typeof this.x=="number"){this.wvv.style.left=eval(this.x)+"px";}if(this.y!="auto"&&typeof this.y=="number"){this.wvv.style.top=eval(this.y)+"px";}}else{var count=uvww.vvvvuu();var uwuww=3;var wvuu=this.title.offsetHeight+uwuww;var uvwvw=150;var vwww=vwuww.offsetHeight-((wvuu*count)+this.wvuw.offsetHeight+this.wuwv.offsetHeight+uvwvw);var wvvu=null,wuwwuv=0,vuwu=0,uvvwv=10,wuuuu=10;if(this.wvv.id.indexOf("search_")!=-1){wvvu=this.body.getElementsByTagName("UL");if(wvvu&&wvvu.length>0&&wvvu[0].childNodes.length>0){vuwu=(navigator.userAgent.indexOf("IE")>=0?wvvu[0].offsetHeight:parseInt(wvvu[0].currentStyle.height));wvvu[0].parentNode.parentNode.style.uwwvu="hidden";if(vuwu!=0){if((vuwu+wvuu+uvvwv+this.body.lastChild.offsetHeight+wuuuu)<vwww-uuuv){vwww=vuwu+wvuu+uvvwv+this.body.lastChild.offsetHeight+wuuuu;wvvu[0].parentNode.parentNode.style.wuwu="hidden";}else{vwww-=uuuv;wvvu[0].parentNode.parentNode.style.wuwu="auto";}}else{vwww=0;}}else{if(this.body.childNodes.length>0){if(this.body.childNodes[0].clientHeight){vwww=(wvuu-2)+this.body.childNodes[0].clientHeight;}else{vuwu=(navigator.userAgent.indexOf("IE")>=0?240:200);if((vuwu+wvuu)<vwww-uuuv){vwww=vuwu+wvuu;this.body.style.wuwu="hidden";}else{vwww-=uuuv;this.body.style.wuwu="auto";}}}else{vwww=0;}}}if(this.wvv.id=="directions"){if(this.body.childNodes.length>0){vuwu=(wvuu-2)+this.body.childNodes[0].clientHeight+(this.body.childNodes[1]?this.body.childNodes[1].clientHeight:0);if(wvu.wwv.indexOf("IE6")!=-1){vuwu=(wvuu-2)+this.body.childNodes[0].offsetHeight+this.body.childNodes[1].offsetHeight;this.body.style.width="310px";}if(vuwu<vwww){vwww=vuwu;this.body.style.wuwu="hidden";}else{this.body.style.wuwu="auto";}this.body.style.uwwvu="hidden";}}if(vwww>=0&&typeof vwww=="number"){if(!this.wuvu){var vwwuv=uvvww(this);wwuuu=window.setInterval("spP"+vwwuv+".spMaximizer("+vwww+")",1);this.wuvu=true;wwwvu.push(this.body.id,wwuuu);}}}};vvu.prototype.wuwwvv=function(vvvvw){var vwvvu=this.body;var wvwu=0;if(!isNaN(parseInt(vwvvu.style.height))){wvwu=parseInt(vwvvu.style.height);}if(wvwu>vvvvw){wvwu=vvvvw-1;}if(wvwu<vvvvw){vwvvu.style.height=(wvwu+(wvwu<=(vvvvw-15)?15:1))+"px";}if(wvwu==vvvvw){vwwuw(wwwvu,vwvvu.id);this.wuvu=false;if(wvwu==0){this.wvv.className=" SP_Panel_el_minimized";}uvuu=true;}};vvu.prototype.DisableClosebox=function(){if(this.vvwwv){return;}this.vvwwv=true;this.wvv.removeChild(this.vuww);};vvu.prototype.EnableClosebox=function(){if(!this.vvwwv){return;}this.vvwwv=false;this.wvv.wwvvv(this.vuww,this.wvuw);};vvu.prototype.uuwvw=function(){if(this.vvwwu){return;}this.vvwwu=true;this.wvv.removeChild(this.vuww);this.wvv.removeChild(this.title);};vvu.prototype.EnableTitle=function(){if(!this.vvwwu){return;}this.vvwwu=false;this.wvv.wwvvv(this.vuww,this.wvuw);this.wvv.wwvvv(this.title,this.vuww);};vvu.prototype.SetTitle=function(vu){var vw=document.createTextNode(vu),vv=this.title.firstChild,wv=document.createElement("h1");wv.appendChild(vw);if(vv){if(vv.firstChild){vv.replaceChild(wv,vv.firstChild);}else{vv.appendChild(wv);}}else{this.title.appendChild(wv);}};vvu.prototype.wuwvuv=function(vu){var vv=this.title.firstChild;if(vv){var wuvv=document.createElement("div");wuvv.className="nav";wuvv.innerHTML=vu;if(vv.firstChild){vv.replaceChild(wuvv,vv.firstChild);}else{vv.appendChild(wuvv);}wuuvu(vv);}};vvu.prototype.vvuwuw=function(vu,cn){var vv=this.title;if(vv){var wuvv=document.createElement("div");wuvv.className=cn;vv.style.height="32px";wuvv.appendChild(vu);if(vv.firstChild){vv.replaceChild(vu,vv.firstChild);}else{vv.appendChild(vu);}wuuvu(vv);}};vvu.prototype.wuwvuw=function(){var vv=null;if(typeof this.title.text=="string"){vv=this.title.text;}return vv;};vvu.prototype.wuwvvw=function(vv){this.wvuw.innerHTML=vv;};vvu.prototype.wuwvuu=function(vv){this.body.innerHTML=vv;};vvu.prototype.wuwwvw=function(vv){this.body.style.wuwu="auto";this.body.innerHTML+=vv;};vvu.prototype.SetDynamicBody=function(vv){this.body.innerHTML="<table id=\""+this.id+"_body_table\"><tr><td>"+vv+"</td></tr></table>";};vvu.prototype.SetFooter=function(vv){this.wuwv.innerHTML=vv;};vvu.prototype.SetOpacity=function(vww){if(vww>=100){vww=99.99;}with(this.wvv.style){wuwwwu="alpha(opacity:"+vww+")";vww*=0.01;KHTMLOpacity=vww;MozOpacity=vww;opacity=vww;}};vvu.prototype.SetColor=function(vv){this.color=vv;this.title.className="SP_Panel_title SP_Panel_title_"+vv;this.wuwv.className="SP_Panel_foot SP_Panel_foot_"+vv;this.vuww.className="SP_Panel_cb SP_Panel_cb_"+vv;};vvu.prototype.wuwwvu=function(){if(!isNaN(parseInt(this.body.style.height))&&this.body.style.height!="0px"){uvuu=false;if(!this.wuvu){uuuv=0;var vwwuv=uvvww(this);wuvvw=window.setInterval("spP"+vwwuv+".spMinimizer()",1);this.wuvu=true;vwuuu.push(this.body.id,wuvvw);if(this.wuvwu){this.wuvwu(this._CreateEvent());}}}else{this.body.style.height="0px";this.wvv.className=" SP_Panel_el_minimized";}};vvu.prototype.wuwwww=function(){var vuuw=this.body;if(vuuw&&vuuw.style.height!="0px"){vuuw.style.height=(parseInt(vuuw.style.height)-(parseInt(vuuw.style.height)>=25?25:1))+"px";if(vuuw.style.height=="0px"){var wwwwv=vuuw.parentNode;wwwwv.className=" SP_Panel_el_minimized";wwwwv=null;vwwuw(vwuuu,vuuw.id);this.wuvu=false;uvuu=true;}}else{vwwuw(vwuuu,vuuw.id);this.wuvu=false;vuuw.style.height="0px";uvuu=true;}};vvu.prototype.wuwwuw=function(){this.wvv.className="SP_Panel_el";if(this.vuwvu){this.vuwvu(this._CreateEvent());}this.Resize();};vvu.prototype.wuuvvu=function(){return this.wvv.className=="SP_Panel_el";};vvu.prototype.Show=function(){this.wvv.style.display="block";this.visible=true;};vvu.prototype.vuuv=function(){this.wvv.style.display="none";this.visible=false;};vvu.prototype.Destroy=function(){this.wvv.parentNode.removeChild(this.wvv);var vw=vvu.vvwvw;for(var vv=0;vv<vw.length;vv++){if(vw[vv]==this){vw.splice(vv,1);return;}}this.vuwuv=null;this.vuwuu=null;this.vuwvu=null;};vvu.prototype.Redraw=function(){var vuuu=Math.max(GetWindowHeight(),500);if(vuuu>=0&&typeof vuuu=="number"){vwuww.style.height=vuuu+"px";vwuwv.style.height=vuuu+"px";}};function uuvvw(vv){this.wuuwwu=vv;}vvu.prototype._CreateEvent=function(){return new uuvvw(this);};vvu._OnTitleClick=function(vu){if(!vu){vu=window.event;}var wv=wuww(vu),vw=vvu.vvwvw;for(var vv=0;vv<vw.length;vv++){if(vw[vv].title==wv||vw[vv].title==wv.parentNode){if(vw[vv].vuwuv){vw[vv].vuwuv(vw[vv]._CreateEvent());}return;}}};vvu._OnCloseClick=function(vu){if(!vu){vu=window.event;}var wv=wuww(vu),vw=vvu.vvwvw;for(var vv=0;vv<vw.length;vv++){if(vw[vv].vuww==wv){if(vw[vv].vuwuu){vw[vv].vuwuu(vw[vv]._CreateEvent());}return;}}};function uuvuw(){spFS0=null;spFS1=null;spFS2=null;spFS3=null;spFS4=null;spFS5=null;spFS6=null;spFS7=null;spFS8=null;spFS9=null;}function vwwuw(vvwvu,uvuvu){var ww=0;while(ww<vvwvu.length){if(vvwvu[ww]==uvuvu){clearInterval(vvwvu[ww+1]);vvwvu.splice(ww,2);}else{ww=ww+2;}}}function uvvww(wuvw){var vuu=0;switch(wuvw.body.id){case"spSearchPanel_body":spP0=wuvw;vuu=0;break;case"directions_body":spP1=wuvw;vuu=1;break;case"search_1_body":spP2=wuvw;vuu=2;break;case"search_2_body":spP3=wuvw;vuu=3;break;case"search_3_body":spP4=wuvw;vuu=4;break;case"search_4_body":spP5=wuvw;vuu=5;break;}return vuu;}function wvwvu(){}wvwvu.uuuuw=function(){var vw="<div class=\"brandlink normal\" onclick=\"javascript:location=\'http://superpages.com\';\" onmouseover=\"transformBrand(this, true);\" onmouseout=\"transformBrand(this, false);\"></div>";vw+="<div id = \"wwf\" >";vw+="<table class=\"searchPanelTable\" width=\"250\" border=\"0\"><tbody><tr><td width=\"20\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>";vw+="<td><span class=\"extfieldlabels\"><span class=\"whatwhere\">Where</span> (city, state OR zip)</span></td></tr><tr>";vw+="<td><img border=\"0\" alt=\"Step One: type any location (e.g. Boston MA)\" src=\"i/pins/PanelOneBlue.gif\"></td>";vw+="<td><input id = \"where\" type=\"text\" tabindex=\"1\" onkeydown = \"TabOrder(event);\" maxlength=\"100\" name=\"where\" class = \"inactiveTextBox\" value = \""+vvvuv+"\" tabindex=\"1\" /></td></tr><tr><td>&nbsp;</td>";vw+="<td><br style=\"line-height: 7px;\" /><span class=\"extfieldlabels\"><span class=\"whatwhere\">What</span> (business or category)</span></td></tr><tr>";vw+="<td valign = \"top\" ><img border=\"0\" alt=\"Step Two: type a business or category (e.g. Hotels)\" src=\"i/pins/PanelTwoBlue.gif\"></td><td>&nbsp;<br/><br/><br/></td></tr><tr><td>&nbsp;</td>";vw+="<td><button tabIndex=\"3\" id =\"searchbttn\" type=\"button\" value=\"Find\" name =\"find\" onclick=\"BubbleSW=false;FindWhere();\" onkeydown =\"preventBubbling(event);\" tabindex=\"3\" ></button><br/></td></tr></tbody></table>";vw+="</div><br/>";var vv=new vvu("spSearchPanel",0,0,"auto","auto","SearchPanel",vvuuvv,"",vw,"","",true,wuwuu);vv.vvvuwv(0);vv.vvuwvu(0);vv.uuwvw();uvww.vvuwuv(vv,true);};var uvwwu=function(){var vu=this,vv=[],vw=null;this.uvwvv=null;this.destroy=function(){vu=null;vv=null;vw=null;};this.vvuwuv=function(vw,wuuvwv){vv.push(vw);wuwuu.appendChild(vw.wvv);};this.vvuwwv=function(vvv){var wv=-1;for(var e=0;e<vv.length;e++){if(vv[e].wvv.id==vvv.wvv.id){wv=e;break;}}if(wv>-1){vv.splice(wv,1);var wu=wv-1;if(wu<0){wu=0;}if(vw==vvv){vw=vv[0];}}return;};this.uvwuwu=function(){return vw;};this.wuwvvv=function(e,vuwwv){if(e){vw=e;uuvuw();for(var wv=0;wv<vv.length;wv++){var vu=vv[wv];switch(wv){case 0:spFS0=vu;break;case 1:spFS1=vu;break;case 2:spFS2=vu;break;case 3:spFS3=vu;break;case 4:spFS4=vu;break;case 5:spFS5=vu;break;case 6:spFS6=vu;break;case 7:spFS7=vu;break;case 8:spFS8=vu;break;case 9:spFS9=vu;break;}if(vu.wvv.id!="spSearchPanel"){if((vu!=vw&&vu.body.style.height!="0px")||(vu==vw&&!vuwwv&&vu.body.style.height!="0px")){window.setTimeout("spFS"+wv+".Minimize()",1);}else if(vu==vw&&vuwwv&&vu.body.clientHeight<=1){window.setTimeout("spFS"+wv+".Maximize()",1);}else if(vu==vw&&vuwwv&&vu.wvv.id.indexOf("search")!=-1){window.setTimeout("spFS"+wv+".Maximize()",1);}}}}};this.wvwvw=function(){vu.vvuwww("spSearchPanel").Redraw();};this.vvvvuu=function(){var vu=0;for(var vw=0;vw<vv.length;vw++){if(vv[vw].wvv.style.display!="none"){vu++;}}return vu;};this.vuuvww=function(){return false;};this.wuvuuw=function(){var vu=null;if(vv.length>0){vu=vv[0];}return vu;};this.vuuuwu=function(){var vu=null;if(vv.length>0){vu=vv[vv.length-1];}return vu;};this.vvuwww=function(vvwvvw){var vu=null;for(var ww=0;ww<vv.length;ww++){if(vv[ww].wvv.id==vvwvvw){vu=vv[ww];break;}}return vu;};this.vuuvwv=function(ww){var vu=null;if(vv.length>ww){vu=vv[ww];}return vu;};};function vwuwvw(){window.vvvwv=new VEPixel(350,30);window.vwuwv=$ID("sp_TaskArea_positioner");window.vwwwwv="mid";window.vwuww=$ID("sp_TaskArea_transparency");window.wuwuu=$ID("sp_TaskArea_data");window.vwwwww=$ID("sp_TaskArea_gutter");window.spero=spERO.wwvvw();window.uvww=new uvwwu;window.onresize=uuvvu;uvww.uvwvv=function(){};}function uuvvu(){var mymap=$ID("myMap");if(wvu.wwv.indexOf("IE")==-1){uw.Resize(mymap.currentStyle.width,mymap.currentStyle.height);}else{uw.Resize(document.body.offsetWidth-vvvwv.x,document.body.offsetHeight-vvvwv.y-70);}uvww.wvwvw();}function uuwuu(){var vv=$ID("where");if(vv.value!=vvvuv){vv.value=vvvuv;}uuwuw(vv);}function uvuwu(vw){var vv=vw.parentNode;if(vv){vv.className="activeTextBox";}}function uuwuw(vw){var vv=vw.parentNode;if(vv){vv.className="inactiveTextBox";}}function $ID(vv){var vw=document;return vw.getElementById(vv);}function vvuwwu(vv){var vu=function(){vv.className+=" ms_pseudoHover";},vw=function(){vv.className=vv.className.replace(/\s*ms_pseudoHover/g,"");};vv.attachEvent("onmouseover",vu);vv.attachEvent("onmouseout",vw);window.attachEvent("onunload",wv);function wv(){vv.detachEvent("onmouseover",vu);vv.detachEvent("onmouseout",vw);}}function wuuvu(wv,vv){if(!vv){vv="LI";}var vu=wv.getElementsByTagName(vv);for(var vw=0;vw<vu.length;vw++){this.vvuwwu(vu[vw]);}}function vwwvww(){window.attachEvent("onclick",function(){if(document.wvvv){document.wvvv();}});var vw=$ID("where");vw.attachEvent("onfocus",uwuuv);vw.attachEvent("onblur",uuuwv);for(var ww=1;ww<4;ww++){var vu=$ID("SearchInput"+ww);if(wvu.wwv.indexOf("IE")!=-1){vu.attachEvent("onbeforedeactivate",wwwuw);}else{vu.attachEvent("onblur",wwwuw);}}}function wwwuw(uu){var uu=(uu)?uu:((window.event)?event:null);var uv=(uu.target)?uu.target:uu.srcElement;if(uuvu){if(wvu.wwv.indexOf("IE")!=-1&&!vvwuwv){if(uu){if(uu.keyCode!=13){if(uv&&uv.value==""){uv.value=uuvu;}}}}else{if(this.value==""){this.value=uuvu;}}}vvvuw();vvvwu();}function uwuuv(vw){var vv=vw.srcElement||vw.target;if(vv.tagName=="INPUT"){if(vv.value==vvvuv){vv.value="";uwuuu(vv,0,0);}else{vv.select();}uvuwu(vv);}}function uuuwv(vw){var vv=vw.srcElement||vw.target;if(vv.id=="where"){vwwuwv=false;}if(uvvuu(vv)){if(vv.id=="where"){uuwuu();}}}function uvvuu(vv){return vv.value==""||(/^\s+$/).test(vv.value);}function uwuuu(vv,vu,wv){if(!vv){return;}if(vv.createTextRange){var vw=vv.createTextRange();vw.vwwuuv("character",vu);vw.vwwuvu("character",wv);vw.select();}else{if(vv.vvvwuu){vv.vvvwuu(vu,wv);}}}function wwuwvw(vv){var vvvuvw=$ID("where");vvvuvw.value=vv;uvvvw=false;vwwww();}function vuuuv(ww){var color=new Array("","Green","Orange","Blue","Red","Black","Wi-fi");if(cobrand=="SWBD"){color=new Array("","Blue","Orange","Red","Green","Black","Wi-fi");}return color[ww];};function vwvwuu(uv,uwwv){if(uwwv){uv.className=uv.className.replace(/\s*normal/g," hover");}else{uv.className=uv.className.replace(/\s*hover/g," normal");}return;}function vwvuv(vuw,uvwww){var vv=wuwvu(vuw),color=vuuuv(vv).toLowerCase();vuw.style.visibility="hidden";vuw.className="SearchPin";if(wvu.wwv.indexOf("IE6")!=-1){vuw.firstChild.style.marginTop="1px";}else{vuw.firstChild.style.marginTop="0px";}if(uvwww){vuw.style.width="155px";vuw.firstChild.style.width="105px";if(wvu.wwv.indexOf("IE6")!=-1){vuw.wuuwu.item("DXImageTransform.Microsoft.AlphaImageLoader").src="i/pins/SearchInputFlyout_"+color+".png";}else{vuw.style.backgroundImage="url(i/pins/SearchInputFlyout_"+color+".png)";}}else{vuw.style.width="270px";vuw.firstChild.style.width="213px";if(wvu.wwv.indexOf("IE6")!=-1){vuw.wuuwu.item("DXImageTransform.Microsoft.AlphaImageLoader").src="i/pins/geotargetsearchextend_"+color+".png";}else{vuw.style.backgroundImage="url(i/pins/geotargetsearchextend_"+color+".png)";}}vuw.style.visibility="visible";}
