function ChangeEnable(EventID) { var EventObj; EventObj=EventID.IsElement(); if (EventObj) { if (EventID=="room_type_1") { if (EventObj.checked) { document.getElementById("livingroom").disabled="disabled"; document.getElementById("hall").disabled="disabled"; document.getElementById("bathroom").disabled="disabled"; document.getElementById("livingroom").style.backgroundColor="#ddd"; document.getElementById("hall").style.backgroundColor="#ddd"; document.getElementById("bathroom").style.backgroundColor="#ddd"; document.getElementById("specialHousehold").disabled=""; document.getElementById("specialHousehold").style.backgroundColor="#fff"; } else { document.getElementById("livingroom").disabled=""; document.getElementById("hall").disabled=""; document.getElementById("bathroom").disabled=""; document.getElementById("livingroom").style.backgroundColor="#fff"; document.getElementById("hall").style.backgroundColor="#fff"; document.getElementById("bathroom").style.backgroundColor="#fff"; document.getElementById("specialHousehold").disabled="disabled"; document.getElementById("specialHousehold").style.backgroundColor="#ddd"; } } else if (EventID.toUpperCase()=="SYJYXM") { if (EventObj.value=="其他") { document.getElementById("syjyxm1").disabled=""; document.getElementById("syjyxm1").style.backgroundColor="#ffffff"; } else { document.getElementById("syjyxm1").disabled="disabled"; document.getElementById("syjyxm1").style.backgroundColor="#dddddd"; } } } } //我们已经记录你的IP,请自重! //document.write(""); //日期/星期_显示 updated 20060104 function get_time() { var cdate="2018.04.21 周六"; if (document.dataTime){ document.all.dataTime.innerHTML=cdate; } else if (document.getElementById("dataTime")){ document.getElementById("dataTime").innerHTML=cdate; } //else{ //document.write(cdate); //} if (!document.all&&!document.getElementById){ get_time(); } } function add_zero(temp) { if(temp<10) return "0"+temp; else return temp; } setInterval('get_time()',500); //setTimeout('get_time()',500); function openWin(URL, width, height) { var OpenedWin = window.open(URL, "", "width="+width+",height="+height+",status=no,menubar=no,location=no,toolbar=no,directories=no,scrollbars=yes "); var NewX = (screen.availWidth/2)-(width/2); var NewY = (screen.availHeight/2)-(height/2); OpenedWin.moveTo(NewX, NewY); }