jQuery(function() { /*--------------表单提示语js-------------*/ inputTip("nav-input"); }); /* 自适应宽度*/ function resizeBody() { autoWidthForFloat(".Con-ThreeRight", ".Con-left"); }
topflash_2013.gif
function gsearch() { var objsearch=document.getElementById("myanchor").value; window.open("http://www.baidu.com/baidu?word="+objsearch+"&tn=90877335_hao_pg&cl=3&ct=2097152&si=www.gxdrc.gov.cn&s=on") } function SearchGoogle(key,evt) { if(evt.keyCode==13 || evt.keyCode==0 || evt.type=='click') { try { var keystr = encodeURIComponent(key.value); url = "http://www.google.com.hk/search?q="; url = url+keystr; url += "&ie=UTF-8&oe=GB2312&hl=zh-CN&domains=www.gxdrc.gov.cn&sitesearch=www.gxdrc.gov.cn"; window.location=url; return; } catch(e) { } } } //模仿语言包式的简繁转换功能插件! //Edited by Stardy --2005-04-16 , Web :http://www.stardy.com , QQ:2885465 //Download by http://www.codefans.net var Default_isFT = 0 //默认是否繁体,0-简体,1-繁体 var StranIt_Delay = 50 //翻译延时毫秒(设这个的目的是让网页先流畅的显现出来) //-------代码开始,以下别改------- //转换文本 function StranText(txt,toFT,chgTxt) { if(txt==""||txt==null)return "" toFT=toFT==null?BodyIsFt:toFT if(chgTxt)txt=txt.replace((toFT?"简":"繁"),(toFT?"繁":"简")) if(toFT){return Traditionalized(txt)} else {return Simplized(txt)} } //转换对象,使用递归,逐层剥到文本 function StranBody(fobj) { if(typeof(fobj)=="object"){var obj=fobj.childNodes} else { var tmptxt=StranLink_Obj.innerHTML.toString() if(tmptxt.indexOf("简")<0) { BodyIsFt=1 StranLink_Obj.innerHTML=StranText(tmptxt,0,1) StranLink_Obj.title=StranText(StranLink_Obj.title,0,1) } else { BodyIsFt=0 StranLink_Obj.innerHTML=StranText(tmptxt,1,1) StranLink_Obj.title=StranText(StranLink_Obj.title,1,1) } setCookie(JF_cn,BodyIsFt,7) var obj=document.body.childNodes } for(var i=0;i10000&&ss.indexOf(cc.charAt(i))!=-1)str+=tt.charAt(ss.indexOf(cc.charAt(i))); else str+=cc.charAt(i); } return str; } function Simplized(cc){ var str='',ss=JTPYStr(),tt=FTPYStr(); for(var i=0;i10000&&tt.indexOf(cc.charAt(i))!=-1)str+=ss.charAt(tt.indexOf(cc.charAt(i))); else str+=cc.charAt(i); } return str; } function setCookie(name, value) //cookies设置 { var argv = setCookie.arguments; var argc = setCookie.arguments.length; var expires = (argc > 2) ? argv[2] : null; if(expires!=null) { var LargeExpDate = new Date (); LargeExpDate.setTime(LargeExpDate.getTime() + (expires*1000*3600*24)); } document.cookie = name + "=" + escape (value)+((expires == null) ? "" : ("; expires=" +LargeExpDate.toGMTString())); } function getCookie(Name) //cookies读取 { var search = Name + "=" if(document.cookie.length > 0) { offset = document.cookie.indexOf(search) if(offset != -1) { offset += search.length end = document.cookie.indexOf(";", offset) if(end == -1) end = document.cookie.length return unescape(document.cookie.substring(offset, end)) } else return "" } } var StranLink_Obj=document.getElementById("StranLink") if (StranLink_Obj) { var JF_cn="ft"+self.location.hostname.toString().replace(/\./g,"") var BodyIsFt=getCookie(JF_cn) if(BodyIsFt!="1")BodyIsFt=Default_isFT with(StranLink_Obj) { if(typeof(document.all)!="object") //非IE浏览器 { href="javascript:StranBody()" } else { href="#"; onclick= new Function("StranBody();return false") } title=StranText("点击以繁体中文方式浏览",1,1) innerHTML=StranText(innerHTML,1,1) } if(BodyIsFt=="1"){setTimeout("StranBody()",StranIt_Delay)} } currentChannel = '政务公开';
document.write(unescape("%3Cspan id='_ideConac' %3E%3C/span%3E%3Cscript src='http://dcs.conac.cn/js/21/000/0000/40966058/CA210000000409660580001.js' type='text/javascript'%3E%3C/script%3E"));
南宁市公安局公共信息网络监察处  报警电话:0771-3999364、0771-2891100  桂ICP备05000416号
网警备案号45010302000018
建议使用1440*900、IE7.0或以上浏览器获得最佳显示效果
var lt = document.getElementById("ul_id").getElementsByTagName("li").length; if(lt==1){ var hr=document.getElementById("ul_id").getElementsByTagName("a"); window.location.href=hr[0].href; }