function gets_id(objName){if(document.getElementById){return eval('document.getElementById("'+objName+'")')}else{if(document.layers){return eval("document.layers['"+objName+"']")}else{return eval("document.all."+objName)}}}function disp_cc(){if(gets_id("hh").style.display=="none"){gets_id("hh").style.display=""}else{gets_id("hh").style.display="none"}}function gets_value(a){gets_id("class").value=a;gets_id("hh").style.display="none"}function MM_jumpMenu(targ,selObj,restore){eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");if(restore){selObj.selectedIndex=0}}function topsearch(){if($.trim($("#topkeyword").val())==""||$.trim($("#topkeyword").val())=="请输入关键字"){alert("请输入关键字");return false}if($.trim($("#topkeyword").val()).toUpperCase().indexOf("<SCRIPT>")>=0){alert("请输入合法关键字！");return false}$.formhelper.go({data:{keyword:$.trim($("#topkeyword").val()),area:0,condition:false,type:document.getElementById("tophosorexp").value,page:1},action:"/find/search.html"});return false}function bottomsearch(){if($.trim($("#bottomkeyword").val())==""||$.trim($("#bottomkeyword").val())=="请输入您感兴趣的关键字"){alert("请输入您感兴趣的关键字");return false}if($.trim($("#bottomkeyword").val()).toUpperCase().indexOf("<SCRIPT>")>=0){alert("请输入合法关键字！");return false}$.formhelper.go({data:{keyword:$.trim($("#bottomkeyword").val()),area:0,condition:false,type:document.getElementById("bottomhosorexp").value,page:1},action:"/find/search.html"});return false}function settype(b,a){document.getElementById("bottomhosorexp").value=b;document.getElementById("myshow").value=a;document.getElementById("searchsel").style.display="none"}$(function(){$.ajax({url:"http://"+window.location.host+"/ws/data.do?"+Math.random(),type:"POST",dataType:"json",data:{action:"ipaddr"},success:function(a){if(200==a.code){$("#theipaddr").html(a.data.showname)}}})});
