/* DATA */ storePhonesArray = [ // edit this // "venuename", // "818.555.1212", <== no comma on last item in array "anaheim", "714.520.2340", "atlanticcity", "609.343.5764", "cambridge", "617.491.2583", "chicago", "312.923.2008", "cleveland", "216.274.3345", "lasvegas", "702.632.7605", "myrtlebeach", "843.913.3731", "neworleans", "504.310.4999", "orlando", "407.934.2220", "sandiego", "619.525.1964", "sunsetstrip", "323.848.5131" ]; // You're done editing /* pops up a new window for the Expedia map */ /* as of May, 2001 this is probably no longer being used */ function showMap(mapid) { window.open("/bin/redir.plx?"+mapid); } /* pops up the slideshow window */ /* as of May, 2001 this is probably no longer being used */ function openWin(win1) { newwin1=window.open(win1,"link1","toolbar=no,directories=no,status=yes,menubar=no,scrollbars=no,resize=no,width=490,height=339,left=20,top=20,screenX=20,screenY=20"); } /* used by companystore.asp to display company store phone numbers */ function storePhone(venue) { if (!storePhonesArray.length%2) { return (""); } // should have even number here; pairs var phones = new Object; for (var i = 0; i < storePhonesArray.length; i=i+2 ) { phones[storePhonesArray[i]] = storePhonesArray[i+1]; } document.write( phones[venue]); }