var jgIP="18.218.168.16";var swt_middle = 'middle';var right_css = 'default';var right_img = 'default';var bottom_img = 'default';refer = document.referrer;var reg = /[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+\.?/;var re_domain=reg.exec(refer)?reg.exec(refer)[0]:refer;jgSwtConfig =null;jgSwtConfig.searchWord = ''; if(re_domain.indexOf('baidu.com')>0) { jgSwtConfig.searchWord = decodeURIComponent(getUrlParam(refer,'wd')); jgSwtConfig.searchWord = jgSwtConfig.searchWord?jgSwtConfig.searchWord:decodeURIComponent(getUrlParam(refer,'word')); jgSwtConfig.searchWord = jgSwtConfig.searchWord?jgSwtConfig.searchWord:decodeURIComponent(getUrlParam(refer,'p')); jgSetCookie('searchWord',jgSwtConfig.searchWord); }else if(re_domain.indexOf('sogou.com')>0){ jgSwtConfig.searchWord = decodeURIComponent(getUrlParam(refer,'query')); jgSetCookie('searchWord',jgSwtConfig.searchWord); }else if(re_domain.indexOf('sm.cn')>0){ jgSwtConfig.searchWord = decodeURIComponent(getUrlParam(refer,'q')); jgSetCookie('searchWord',jgSwtConfig.searchWord); }else{ if(jgGetCookie('searchWord')){ jgSwtConfig.searchWord = jgGetCookie('searchWord'); } }function getUrlParam(url,paras){ var paraString = url.substring(url.indexOf('?')+1,url.length).split('&'); var paraObj = {} for (i=0; j=paraString[i]; i++){ paraObj[j.substring(0,j.indexOf('=')).toLowerCase()] = j.substring(j.indexOf('=')+1,j.length); } var returnValue = paraObj[paras.toLowerCase()]; if(typeof(returnValue)=='undefined'){ return ''; }else{ return returnValue; } } function jgSetCookie(k, v) { var nowDate = new Date(); nowDate.setTime(nowDate.getTime() + 2 * 24 * 60 * 60 * 1000); document.cookie = k + '=' + escape(v) + ';path=/;expires=' + nowDate.toGMTString() }; function jgGetCookie(k) { var arr = document.cookie.match(new RegExp('(^| )' + k + '=([^;]*)(;|$)')); if (arr != null) return unescape(arr[2]); return null };var all_form = document.querySelectorAll('form'); if(all_form.length>0){ var input=document.createElement('input'); input.setAttribute('type','hidden'); input.setAttribute('name','searchWord'); input.setAttribute('value',jgSwtConfig.searchWord); for(var i=0;iinput::-webkit-input-placeholder {color: #666;}input:-moz-placeholder {color: #666;}input::-moz-placeholder {color: #666;}input:-ms-input-placeholder {color: #666;}#logoa{display:block;float:left;width:200px;height:100px;background-repeat:no-repeat;background-image:url("',jgSwtConfig.imgPath,'/pc/img/middle.png"); }', '' ]; /*中间弹窗样式二*/ var pcCenterStyle2 = [ '', '' ]; /*中间弹窗样式三*/ var pcCenterStyle3 = [ '', '' ]; var pcCenterStyle = eval(jgSwtConfig.pcCenterStyle); var floatDivInsert = document.createElement('div'); floatDivInsert.innerHTML = pcCenterStyle.join(''); document.body.appendChild(floatDivInsert); function showmd() { $('#mdswt').show(1000); /* showDivFun();*/ }; var x = 0; function hidemd() { x++; $('#mdswt').hide(600); /* $('#maskDiv').remove();*/ setTimeout("showmd()", x*10 * 1000); }; // 创建遮罩层 /*function showDivFun() { // 参数w为弹出页面的宽度,参数h为弹出页面的高度,参数s为弹出页面的路径 if (showBlock) { var maskDiv = window.parent.document.createElement("div"); maskDiv.id = "maskDiv"; maskDiv.style.position = "fixed"; maskDiv.style.top = "0"; maskDiv.style.left = "0"; maskDiv.style.zIndex = '99999999'; maskDiv.style.backgroundColor = "#333"; maskDiv.style.filter = "alpha(opacity=70)"; maskDiv.style.opacity = "0.7"; maskDiv.style.width = "100%"; maskDiv.style.height = (window.parent.document.body.scrollHeight + 50) + "px"; window.parent.document.body.appendChild(maskDiv); maskDiv.onmousedown = function() { window.parent.document.body.removeChild(window.parent.document.getElementById("maskDiv")); }; } }*/ /*document.getElementById("tcButton").onclick = function(e) { e.preventDefault(); var msg = document.getElementById("content_1").value; openZoosUrl('chatwin', '&e=zjtc:' + msg); } document.getElementById("mdswt").onmouseover = function() { var form_1 = document.getElementById("form"); var x_1 = document.getElementById("x_1"); form_1.style.display = "block"; x_1.style.display = "block"; }; document.getElementById("mdswt").onmouseout = function() { var form_1 = document.getElementById("form"); var x_1 = document.getElementById("x_1"); form_1.style.display = "none"; x_1.style.display = "none"; };*/ /*左侧固定*/ var pcLeftStyle1 = [ /*左侧弹窗*/ '', '', ]; var pcLeftStyle2 = [ /*优化左侧弹窗*/ '', '', ]; var pcLeftStyle = eval(jgSwtConfig.pcLeftStyle); var floatLeftInsert = document.createElement('div'); floatLeftInsert.innerHTML = pcLeftStyle.join(''); document.body.appendChild(floatLeftInsert); function showleft() { $('#leftswt').show(); }; function hideleft() { $('#leftswt').hide(600); }; /*右侧固定*/ var pcRightStyle1 = [ '', '', ]; var pcRightStyle2 = [ '', '', ]; var pcRightStyle = eval(jgSwtConfig.pcRightStyle); var floatRightInsert = document.createElement('div'); floatRightInsert.innerHTML = pcRightStyle.join(''); document.body.appendChild(floatRightInsert); function showright() { $('#rightswt').show(); }; function hideright() { $('#rightswt').hide(600); }; if(jgSwtConfig.dbPop=="on"){ /*页面底部特效*/ // JavaScript Document $(function(){ $('#ddd').mouseover(function(){ $('#footAdd').stop().animate({'bottom':'0px'},'fast') }) $('#ddd').mouseout(function(){ $('#footAdd').stop().animate({'bottom':'-160px'},'fast') }) var t; $(function(){ $(window).scroll(function(e) { clearTimeout(t); t = setTimeout(function(){ $("#fix_tel").animate({bottom:"25px"}) $("#fix_tel").animate({bottom:"0px"}) },500); }); }) }) var cont=true; function flush(){ if(cont){ document.nettel.tel.value=""; cont=false; } else cont=false; } if(typeof document.compatMode!='undefined'&&document.compatMode!='BackCompat'){ cot_t1_DOCtp=""; }else{ cot_t1_DOCtp=""; } var fdc_bodyCSS='* html {}'; var fdcCSS='#fix_tel {position:fixed;'; var fdcCSS=fdcCSS+'_position:absolute;'; var fdcCSS=fdcCSS+'width:100%;'; var fdcCSS=fdcCSS+'bottom:0px;'; var fdcCSS=fdcCSS+'left:0px;'; var fdcCSS=fdcCSS+'clip:rect(0 100% 100% 0);'; var fdcCSS=fdcCSS+cot_t1_DOCtp; document.write('