
function initRollovers(){if(!document.getElementById)return;var aImgs=document.getElementsByTagName('img');var aInputs=document.getElementsByTagName('input');bj(aImgs,aImgs.length);bj(aInputs,aInputs.length);}function bj(aImages,n){var aPreLoad=new Array();var sTempSrc;for(var j=0;j<n;j++){if(aImages[j].className.match('imgover')){var src=aImages[j].getAttribute('src');var ftype=src.substring(src.lastIndexOf('.'),src.length);var hsrc=src.replace(ftype,'_o'+ftype);aImages[j].setAttribute('hsrc',hsrc);aPreLoad[j]=new Image();aPreLoad[j].src=hsrc;aImages[j].onmouseover=function(){sTempSrc=this.getAttribute('src');this.setAttribute('src',this.getAttribute('hsrc'));};aImages[j].onmouseout=function(){if(!sTempSrc)sTempSrc=this.getAttribute('src').replace('_o'+ftype,ftype);this.setAttribute('src',sTempSrc);};}}}var lcl=0;var safari=navigator.userAgent.indexOf('AppleWebKit')==-1?0:1;function vH(){var h;if(self.innerHeight)h=self.innerHeight;else if(document.documentElement&&document.documentElement.clientHeight)h=document.documentElement.clientHeight;else if(document.body)h=document.body.clientHeight;return h;}function vW(){var w;if(self.innerWidth)w=self.innerWidth;else if(document.documentElement&&document.documentElement.clientWidth)w=document.documentElement.clientWidth;else if(document.body)w=document.body.clientWidth;return w;}function vS(){var y;if(self.pageYOffset){y=self.pageYOffset;}else if(document.documentElement&&document.documentElement.scrollTop){y=document.documentElement.scrollTop;}else if(document.body){y=document.body.scrollTop;}return y;}function hS(){var x;if(self.pageXOffset){x=self.pageXOffset;}else if(document.documentElement&&document.documentElement.scrollLeft){x=document.documentElement.scrollLeft;}else if(document.body){x=document.body.scrollLeft;}return x;}function findPosX(obj){var curleft=0;if(obj.offsetParent){while(obj.offsetParent){curleft+=obj.offsetLeft;obj=obj.offsetParent;}}else if(obj.x)curleft+=obj.x;curleft+=totalElementXOffset(obj);return curleft;}function findPosY(obj){var curtop=0;if(obj.offsetParent){while(obj.offsetParent){curtop+=obj.offsetTop;obj=obj.offsetParent;}}else if(obj.y)curtop+=obj.y;curtop+=totalElementYOffset(obj);return curtop;}function totalElementYOffset(obj){var yOffset=((obj.offsetTop)?obj.offsetTop:0);var elParent=obj.offsetParent;while(elParent){yOffset+=((elParent.offsetTop)?elParent.offsetTop:0);elParent=elParent.offsetParent;}return(yOffset-0);}function totalElementXOffset(obj){var xOffset=((obj.offsetLeft)?obj.offsetLeft:0);var elParent=obj.offsetParent;while(elParent){xOffset+=((elParent.offsetLeft)?elParent.offsetLeft:0);elParent=elParent.offsetParent;}return(xOffset-0);}function PositionCal(frm,idValue){var obj=document.getElementById(frm);var txtbx=document.getElementById(idValue);var vh=vH();var vs=vS();var vw=vW();var hs=hS();var th=findPosY(txtbx);var tw=findPosX(txtbx);if((tw+130)>vw&&hs==0)tw=vw-130;if(th+200>vh&&vs==0)th=vh-200;obj.style.left=tw+'px';obj.style.top=th+20+'px';}function SrcCal(frm,idValue,chkinId){var frame=document.getElementById(frm);var value=document.getElementById(idValue);var fnm=value.name;var calSrc='/ARES/calendar.html?id='+idValue+'&selectedDate=';if(idValue.indexOf('checkOut')!=-1&&(document.getElementById(idValue).value==""||document.getElementById(idValue).value=="mm/dd/yyyy")){calSrc+=document.getElementById(chkinId).value;}else{calSrc+=value.value;}if(fnm.indexOf('flights')!=-1)calSrc+='&air=1';window.frames['CalFrame'].location.replace(calSrc);return false;}function ShowCal(frm,idValue,chkinId){hideCal();PositionCal(frm,idValue);if(safari){document.getElementById(frm).style.visibility='visible';}else{document.getElementById(frm).style.display='block';}SrcCal(frm,idValue,chkinId);document.getElementById(idValue).select();}function SetDateForID(id,date){if(id.indexOf('nosync')==-1){var idr;var inpts=document.getElementsByTagName('input');if(id.indexOf('checkIn')!=-1)idr='checkIn';else if(id.indexOf('checkOut')!=-1)idr='checkOut';else return;for(var i=0;i<inpts.length;i++){if(inpts[i].type=='text'&&inpts[i].id.indexOf(idr)!=-1&&inpts[i].id.indexOf('nosync')==-1){inpts[i].value=date;}}}else{var value=document.getElementById(id);if(value)value.value=date;}hideCal();}function hideCal(){var frameRef=window.frames['CalFrame'];frameRef.document.body.style.visibility = 'hidden';if(frameRef.location.href.indexOf('blank')==-1)frameRef.location.replace('/ARES/blank.html');if(safari){document.getElementById('CalFrame').style.visibility='hidden';}else{document.getElementById('CalFrame').style.display='none';}return false;}var ns6=document.getElementById&&!document.all;function toggleCal(e){var cur=ns6?e.target:event.srcElement;if(cur.id.indexOf('checkIn')==-1&&cur.id.indexOf('checkOut')==-1)hideCal();}function makeFrame(){var ifrm=document.createElement("IFRAME");ifrm.id="CalFrame";ifrm.name="CalFrame";ifrm.src="/ARES/blank.html";ifrm.scrolling="no";ifrm.frameBorder=0;ifrm.style.position="absolute";ifrm.style.borderWidth=0+"px";ifrm.style.width=130+"px";ifrm.style.height=180+"px";if(!safari)ifrm.style.display="none";else ifrm.style.visibility="hidden";ifrm.style.zIndex=1000001;ifrm.style.backgroundColor="#fff";document.body.insertBefore(ifrm,document.body.lastChild);document.onclick=toggleCal;}if(typeof ifrm=='undefined')makeFrame();var htmlStr="<style type=\"text/css\"> #bot_container {background-repeat: no-repeat; background-image: url(http://arestravel.com/images/visitwesthollywood/bot_bg2.png); width: 228px; height: 246px; line-height: 1em !important;} #bot_nav_container {width: inherit; height: 20px;} #bot_content {position: relative; height: 80px; width: 220px; padding-left: 10px; font-family: Trebuchet, Arial, Helvetica, sans-serif; color: #000; font-size: 10px;} #bot_content .date_box {width: 96px; height: 19px; font-family: Arial, Helvetica, sans-serif; font-size: 11px; padding-left: 3px;} #bot_content .dropdown {width: 45px; height: 19px; color: #757572; border: 1px solid #0c9fe2; font-family: Trebuchet, Arial, Helvetica, sans-serif; font-size: 11px; background-color:#fef6e2;} .field_title {font-size: 11px; color: #fff;} #adv_link {font-family: Trebuchet, Arial, Helvetica, sans-serif; color: #ce0000; font-size: 10px; padding-top: 15px; padding-left: 15px; width: 67px;} #adv_link a{color: #ce0000; text-decoration: underline;} #adv_link a:hover{color: #ce0000; text-decoration: underline; background-color: #fff;} input {border: 1px solid #b4cfe5; background-color:#fff; color: #3E3E3E; } input:focus {border: 1px solid #b4cfe5; background-color:#fff; color: #009b7a;} select {border: 1px solid #b4cfe5; background-color:#fef6e2; color: #3E3E3E; } select:focus {border: 1px solid #b4cfe5; background-color:#ffe8b6; color: #d26630;} #promo_box {position: relative; margin-left:10px; height: 130px; width: 210px;} .hotel_name {color: #fff !important; font-family:Trebuchet, Arial, Arial, Verdana, Helvetica, sans-serif; font-size: 11px; font-weight: bold;} .title_link {color: #fff !important; text-decoration: none !important; border: 0;} .title_link:hover {color: #fff !important; text-decoration: underline; border: 0;} .hotel_blurb {color: #346997; font-family: Trebuchet,Arial, Verdana, Geneva, sans-serif; font-size: 10px; line-height: 11px !important; margin: 0px; padding-left: 3px; padding-top: 3px;} .rate {color: #fff; font-family: Trebuchet, Arial, Verdana, Geneva, sans-serif; font-size: 11px;} .price {color: #fff; font-family: Trebuchet, Arial, Verdana, Geneva, sans-serif; font-size: 11px; font-weight:bold;} .img_border {border: 2px solid #fff; text-decoration: none; margin: 0px; padding: 0px;} .img_border:hover {border: 2px solid #91abd2; text-decoration: none; margin: 0px; padding: 0px;} .iefix {margin-top: -4px;} /** .iefix2 {margin-top: -14px;} **/ .no_border {border: 0;} .no_border:focus {border: 0;} </style> <script type=\"text/javascript\"> function getLocation() { var strlocation2='http://reservations.visitwesthollywood.com/796_hotel-list.html?locationID=m7&checkInDate='; strlocation2=strlocation2+document.getElementById('checkIn').value; strlocation2=strlocation2+'&checkOutDate='; strlocation2=strlocation2+document.getElementById('checkOut').value; strlocation2=strlocation2+'&numberOfRooms='; strlocation2=strlocation2+document.getElementById('numberOfRooms')[document.getElementById('numberOfRooms').selectedIndex].value; strlocation2=strlocation2+'&numberOfAdults='; strlocation2=strlocation2+document.getElementById('numberOfAdults')[document.getElementById('numberOfAdults').selectedIndex].value; strlocation2=strlocation2+'&numberOfChildren='; strlocation2=strlocation2+document.getElementById('numberOfChildren')[document.getElementById('numberOfChildren').selectedIndex].value; window.location.href=strlocation2; } </script> <div id=\"bot_container\"> <div id=\"bot_nav_container\"> <a href=\"http://arestravel.com/796_hotel-search.html\" class=\"no_border\"><img src=\"http://arestravel.com/images/visitwesthollywood/tab1a.png\" width=\"90\" height=\"20\" alt=\"Hotels\" border=\"0\" /></a><a href=\"http://arestravel.com/796_ticket-search.html\" class=\"no_border\"><img src=\"http://arestravel.com/images/visitwesthollywood/tab2a.png\" width=\"71\" class=\"imgover\" height=\"20\" alt=\"Activities\" border=\"0\" /></a><a href=\"http://arestravel.com/796_package-search.html\" class=\"no_border\"><img src=\"http://arestravel.com/images/visitwesthollywood/tab3a.png\" width=\"67\" class=\"imgover\" height=\"20\" alt=\"Packages\" border=\"0\" /></a> </div> <div id=\"bot_content\"> <!--[if IE]> <div class=\"iefix\"> <![endif]--> <table width=\"210\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"> <tr> <td width=\"54%\" height=\"16\" valign=\"bottom\" class=\"field_title\">Check in:</td> <td height=\"16\" colspan=\"2\" align=\"left\" valign=\"bottom\" class=\"field_title\">Check out: </td> </tr> <tr> <td width=\"54%\" height=\"20\" valign=\"bottom\"><input name=\"checkInDate\" type=\"text\" class=\"date_box\" id=\"checkIn\" onClick=\"ShowCal('CalFrame', this.id, 'checkIn')\" value=\"mm/dd/yyyy\" size=\"11\" maxlength=\"10\" /></td> <td height=\"20\" colspan=\"2\" align=\"left\" valign=\"bottom\" class=\"field_title\"><input name=\"checkOutDate\" type=\"text\" class=\"date_box\" id=\"checkOut\" onclick=\"ShowCal('CalFrame', this.id, 'checkIn')\" value=\"mm/dd/yyyy\" size=\"11\" maxlength=\"10\" /></td> </tr> <tr> <td height=\"22\" colspan=\"3\" valign=\"bottom\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"> <tr> <td width=\"27%\" height=\"16\" valign=\"bottom\" class=\"field_title\">Rooms:</td> <td width=\"25%\" height=\"16\" valign=\"bottom\" class=\"field_title\">Adults:</td> <td width=\"25%\" height=\"16\" valign=\"bottom\" class=\"field_title\">Children:</td> <td width=\"23%\" height=\"16\" valign=\"bottom\" class=\"field_title\">&nbsp;</td> </tr> <tr> <td width=\"25%\" height=\"21\"><select class=\"dropdown\" name=\"numberOfRooms\" id=\"numberOfRooms\"> <option value=\"1\" >1</option> <option value=\"2\">2</option> <option value=\"3\">3</option> <option value=\"4\">4</option> <option value=\"5\">5</option> <option value=\"6\">6</option> <option value=\"7\">7</option> <option value=\"8\">8</option> <option value=\"9\">9</option> </select></td> <td width=\"27%\" height=\"21\"><select class=\"dropdown\" name=\"numberOfAdults\" id=\"numberOfAdults\"> <option value=\"1\">1</option> <option value=\"2\">2</option> <option value=\"3\">3</option> <option value=\"4\">4</option> </select></td> <td width=\"27%\" height=\"21\" align=\"left\"><select class=\"dropdown\" name=\"numberOfChildren\" id=\"numberOfChildren\"> <option value=\"0\">0</option> <option value=\"1\">1</option> <option value=\"2\">2</option> <option value=\"3\">3</option> <option value=\"4\">4</option> <option value=\"5\">5</option> </select></td> <td width=\"44\" height=\"21\" align=\"right\"><img name=\"imagesubmit\" type=\"image\" src=\"http://arestravel.com/images/visitwesthollywood/button2.png\" class=\"imgover no_border\" onClick=\"getLocation();\" style=\"cursor:pointer;\" border=\"0\" /></td> </tr> </table></td> </tr> <tr> <td colspan=\"3\" valign=\"bottom\"></td> </tr> </table> <!--[if IE]> </div> <![endif]--> </div> <!--[if IE]> <div class=\"iefix2\"> <![endif]--> <div id=\"promo_box\"><table width=\"210\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" style=\"margin: 0; padding: 0;\"> <tr><td height=\"74\" colspan=\"2\"><a href=\"http://arestravel.com/796_hotel-info_h1451.html\"><img src=\"http://arestravel.com/images/visitwesthollywood/h1451.jpg\" width=\"206\" height=\"70\" alt=\"Hotel Image\" class=\"img_border\" /></a></td></tr> <tr><td height=\"17\" colspan=\"2\" valign=\"middle\" bgcolor=\"#009b7a\" class=\"hotel_name\" style=\"padding-left: 3px\"><a href=\"http://arestravel.com/796_hotel-info_h1451.html\" class=\"title_link\">The London West Hollywood</a></td></tr> <tr><td colspan=\"2\" class=\"hotel_blurb\" >Hollywood glamour meets modern, sexy sophistication with the opening of The...</td></tr> <tr><td width=\"65%\" height=\"25\" valign=\"bottom\" class=\"rate\">Rooms from: <span class=\"price\">$237</span></td> <td height=\"25\" align=\"right\" valign=\"bottom\"><a href=\"http://arestravel.com/796_hotel-info_h1451.html\"><img src=\"http://arestravel.com/images/visitwesthollywood/book_btn2.png\" width=\"71\" height=\"13\" alt=\"Book Now\" class=\"no_border\" /></a></td></tr></table></div> <!--[if IE]> </div> <![endif]--> </div> ";document.write(htmlStr);var ro='1';if(ro==1)initRollovers();