function check() { if (login.uname.value=="") alert("Please fill in your login email!"); else if (document.login.uname.value.search(/[<>']/gi) != -1) { alert("illegal character "); return false; } else if (login.pwd.value=="") alert("Please fill in your password!"); else login.submit(); } function s_check() { if (search.stype.value=="") alert("Select!"); else if (search.gzdd.value=="") alert("Please select area!"); else search.submit(); } function go(formobject) { if (formobject.options[formobject.selectedIndex].value!="") { window.open(formobject.options[formobject.selectedIndex].value) } } function openwin(page,size) { window.open(page,"newuser","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,"+ size); } function research_onsubmit() { if(document.research.Options[0].checked==false &&document.research.Options[1].checked==false&&document.research.Options[2].checked==false&&document.research.Options[3].checked==false) { alert("Warning:no choice!") return false } }