function addLoadListener(b){if(typeof window.addEventListener!="undefined"){window.addEventListener("load",b,false)}else{if(typeof document.addEventListener!="undefined"){document.addEventListener("load",b,false)}else{if(typeof window.attachEvent!="undefined"){window.attachEvent("onload",b)}else{var a=window.onload;if(typeof window.onload!="function"){window.onload=b}else{window.onload=function(){a();b()}}}}}}addLoadListener(initHighlight);var oldClass;function initHighlight(){var a=document.getElementById("viewProp_roomType");if(a){var b=a.getElementsByTagName("tr");for(i=0;i<b.length;i++){oldClass=b[i].className;if(oldClass=="head"){}else{b[i].onmouseover=highlight;b[i].onmouseout=normal}}}}function highlight(){var b=this.id;if(b.match("calendar")){newId1=b.replace(/calendarType_/,"")}else{newId1=b.replace(/roomType_/,"")}var a=document.getElementById("calendarType_"+newId1);var c=document.getElementById("roomType_"+newId1);if(a&&c){a.style.background="#E0E4E1";c.style.background="#E0E4E1"}}function normal(){var b=this.id;if(b.match("calendar")){newId2=b.replace(/calendarType_/,"")}else{newId2=b.replace(/roomType_/,"")}var c=document.getElementById("roomType_"+newId2);var a=document.getElementById("calendarType_"+newId2);if(c&&a){if(newId2%2==1){document.getElementById("roomType_"+newId2).style.background="#F6F6F6"}else{document.getElementById("roomType_"+newId2).style.background="#FFFFFF"}a.style.background="#FFFFFF"}};