//分配地址+++++++++++++++++++++++++++++++++++++++++++++++++++++ function StringFormat(allstring,repstring,resstring) { var reg=new RegExp(repstring,"g"); var allstring=allstring.replace(reg,resstring); return allstring; } var shangwutongurl_web="http://www.kedxb.com/dxby/2812.html"; var shangwutongurl_zuo="http://ktm.zoossoft.net/LR/Chatpre.aspx?id=KTM40633559&lng=cn&e=jtyh3b_http://www.kedxb.com/dxby/2812.html&r=jtyh3b_http://www.kedxb.com/dxby/2812.html&p=jtyh3b_http://www.kedxb.com/dxby/2812.html"; if(shangwutongurl_web!=""){shangwutongurl_zuo = StringFormat(shangwutongurl_zuo,"http://www.kedxb.com/dxby/2812.html","http://www.kedxb.com/dxby/2812.html_tczuo");}else{shangwutongurl_zuo = StringFormat(shangwutongurl_zuo,"_","_tczuo");} var shangwutongurl_you="http://ktm.zoossoft.net/LR/Chatpre.aspx?id=KTM40633559&lng=cn&e=jtyh3b_http://www.kedxb.com/dxby/2812.html&r=jtyh3b_http://www.kedxb.com/dxby/2812.html&p=jtyh3b_http://www.kedxb.com/dxby/2812.html"; if(shangwutongurl_web!=""){shangwutongurl_you = StringFormat(shangwutongurl_you,"http://www.kedxb.com/dxby/2812.html","http://www.kedxb.com/dxby/2812.html_tcyou");}else{shangwutongurl_you = StringFormat(shangwutongurl_you,"_","_tcyou");} var shangwutongurl_zhong="http://ktm.zoossoft.net/LR/Chatpre.aspx?id=KTM40633559&lng=cn&e=jtyh3b_http://www.kedxb.com/dxby/2812.html&r=jtyh3b_http://www.kedxb.com/dxby/2812.html&p=jtyh3b_http://www.kedxb.com/dxby/2812.html"; if(shangwutongurl_web!=""){shangwutongurl_zhong = StringFormat(shangwutongurl_zhong,"http://www.kedxb.com/dxby/2812.html","http://www.kedxb.com/dxby/2812.html_tczhong");}else{shangwutongurl_zhong = StringFormat(shangwutongurl_zhong,"_","_tczhong");} var shangwutongurl_di="http://ktm.zoossoft.net/LR/Chatpre.aspx?id=KTM40633559&lng=cn&e=jtyh3b_http://www.kedxb.com/dxby/2812.html&r=jtyh3b_http://www.kedxb.com/dxby/2812.html&p=jtyh3b_http://www.kedxb.com/dxby/2812.html"; if(shangwutongurl_web!=""){shangwutongurl_di = StringFormat(shangwutongurl_di,"http://www.kedxb.com/dxby/2812.html","http://www.kedxb.com/dxby/2812.html_tcdi");}else{shangwutongurl_di = StringFormat(shangwutongurl_di,"_","_tcdi");} var shangwutongurl_youxia="http://ktm.zoossoft.net/LR/Chatpre.aspx?id=KTM40633559&lng=cn&e=jtyh3b_http://www.kedxb.com/dxby/2812.html&r=jtyh3b_http://www.kedxb.com/dxby/2812.html&p=jtyh3b_http://www.kedxb.com/dxby/2812.html"; if(shangwutongurl_web!=""){shangwutongurl_youxia = StringFormat(shangwutongurl_youxia,"http://www.kedxb.com/dxby/2812.html","http://www.kedxb.com/dxby/2812.html_tcyouxia");}else{shangwutongurl_youxia = StringFormat(shangwutongurl_youxia,"_","_tcyouxia");} //分配地址+++++++++++++++++++++++++++++++++++++++++++++++++++++ //自动显示+++++++++++++++++++++++++++++++++++++++++++++++++++++ function shangwutong_fun_Show() { document.getElementById("swt-div-mid").style.visibility=""; document.getElementById("swt-div-left").style.visibility=""; //document.getElementById("swt-div-right").style.visibility=""; //document.getElementById("swt-div-bottom").style.visibility=""; document.getElementById("swt-div-rb").style.visibility=""; } var shangwutong_skipdivtime = 10000; //自动显示时间 setInterval("shangwutong_fun_Show()",shangwutong_skipdivtime); //自动显示+++++++++++++++++++++++++++++++++++++++++++++++++++++ //中间浮动+++++++++++++++++++++++++++++++++++++++++++++++++++++ /* var shangwutong_midwidth="468"; //层宽 var shangwutong_midheight="313"; //层高 var shangwutong_midtop="100"; //层距顶部 var shangwutong_midwidth_num=shangwutong_midwidth-24; //减20的层宽 var shangwutong_midheight_num=shangwutong_midheight-20; //减20的层高 var shangwutong_midimg="http://jh.regxwsj.com/tc/junhai/js/swt.gif"; //图片 document.write(''); document.write('
'); document.write('
'); document.write('
'); document.write('
'); var shangwutong_midwinwidth = document.documentElement.clientWidth; var shangwutong_midwidthnum=shangwutong_midwinwidth-shangwutong_midwidth; if(shangwutong_midwidthnum>0){var shangwutong_midmarleft=parseInt((shangwutong_midwinwidth-shangwutong_midwidth)/2);}else{var shangwutong_midmarleft=0;} document.getElementById('swt-div-mid').style.left=shangwutong_midmarleft+'px'; function shangwutong_fun_mid_hide() { document.getElementById("swt-div-mid").style.visibility="hidden"; } */ //中间浮动+++++++++++++++++++++++++++++++++++++++++++++++++++++ //左部浮动+++++++++++++++++++++++++++++++++++++++++++++++++++++ var shangwutong_leftwidth="160"; //层宽 var shangwutong_leftheight="470"; //层高 var shangwutong_lefttop="30"; //层距顶部 var shangwutong_leftleft="10"; //层距左部 var shangwutong_leftwidth_num=shangwutong_leftwidth-24; //减20的层宽 var shangwutong_leftheight_num=shangwutong_leftheight-20; //减20的层高 var shangwutong_leftimg="http://jh.regxwsj.com/tc/junhai/js/left.gif"; //图片 document.write(''); document.write('
'); document.write('
'); document.write('
'); document.write('
'); function shangwutong_fun_left_hide() { document.getElementById("swt-div-left").style.visibility="hidden"; } //左部浮动+++++++++++++++++++++++++++++++++++++++++++++++++++++ //右部浮动+++++++++++++++++++++++++++++++++++++++++++++++++++++ //var shangwutong_rightwidth="160"; //层宽 //var shangwutong_rightheight="470"; //层高 //var shangwutong_righttop="20"; //层距顶部 //var shangwutong_rightright="10"; //层距右部 //var shangwutong_rightwidth_num=shangwutong_rightwidth-24; //减20的层宽 //var shangwutong_rightheight_num=shangwutong_rightheight-20; //减20的层高 //var shangwutong_rightimg="http://jh.regxwsj.com/tc/junhai/js/right.gif"; //图片 //document.write(''); //document.write('
'); //document.write('
'); //document.write('
'); //document.write('
'); //function shangwutong_fun_right_hide() //{ //document.getElementById("swt-div-right").style.visibility="hidden"; //} //右部浮动+++++++++++++++++++++++++++++++++++++++++++++++++++++ //底部浮动+++++++++++++++++++++++++++++++++++++++++++++++++++++ //var shangwutong_bottomwidth="1000"; //层宽 //var shangwutong_bottomheight="110"; //层高 //var shangwutong_bottombottom="10"; //层距底部 //var shangwutong_bottomwidth_num=shangwutong_bottomwidth-24; //减20的层宽 //var shangwutong_bottomheight_num=shangwutong_bottomheight-20; //减20的层高 //var shangwutong_bottomimg="http://jh.regxwsj.com/tc/junhai/js/foot.gif"; //图片 //document.write(''); //document.write('
'); //document.write('
'); //document.write('
'); //document.write('
'); //var shangwutong_bottomwinwidth = document.documentElement.clientWidth; //var shangwutong_bottomwidthnum=shangwutong_bottomwinwidth-shangwutong_bottomwidth; //if(shangwutong_bottomwidthnum>0){var shangwutong_bottommarleft=parseInt((shangwutong_bottomwinwidth-shangwutong_bottomwidth)/2);}else{var shangwutong_bottommarleft=0;} //document.getElementById('swt-div-bottom').style.left=shangwutong_bottommarleft+'px'; //function shangwutong_fun_bottom_hide() //{ //document.getElementById("swt-div-bottom").style.visibility="hidden"; //} //底部浮动+++++++++++++++++++++++++++++++++++++++++++++++++++++ //右下部浮动+++++++++++++++++++++++++++++++++++++++++++++++++++++ /* var shangwutong_rbwidth="230"; //层宽 var shangwutong_rbheight="110"; //层高 var shangwutong_rbright="5"; //层距右部 var shangwutong_rbbottom="0"; //层距底部 var shangwutong_rbwidth_num=shangwutong_rbwidth-24; //减20的层宽 var shangwutong_rbheight_num=shangwutong_rbheight-20; //减20的层高 var shangwutong_rbimg="http://jh.regxwsj.com/tc/junhai/js/dd.gif"; //图片 document.write(''); document.write('
'); document.write('
'); document.write('
'); document.write('
'); function shangwutong_fun_rb_hide() { document.getElementById("swt-div-rb").style.visibility="hidden"; } */ //右下部浮动+++++++++++++++++++++++++++++++++++++++++++++++++++++ //中部和底部的窗口改变函数+++++++++++++++++++++++++++++++++++++++++++++++++++++ function shangwutong_fun_move() { //中部 var shangwutong_midwinwidth_move = document.documentElement.clientWidth; var shangwutong_midwidthnum_move=shangwutong_midwinwidth_move-shangwutong_midwidth; if(shangwutong_midwidthnum_move>0){var shangwutong_midmarleft_move=parseInt((shangwutong_midwinwidth_move-shangwutong_midwidth)/2);}else{var shangwutong_midmarleft_move=0;} document.getElementById('swt-div-mid').style.left=shangwutong_midmarleft_move+'px'; //中部 //底部 //var shangwutong_bottomwinwidth_move = document.documentElement.clientWidth; //var shangwutong_bottomwidthnum_move=shangwutong_bottomwinwidth_move-shangwutong_bottomwidth; //if(shangwutong_bottomwidthnum_move>0){var shangwutong_bottommarleft_move=parseInt((shangwutong_bottomwinwidth_move-shangwutong_bottomwidth)/2);}else{var shangwutong_bottommarleft_move=0;} //document.getElementById('swt-div-bottom').style.left=shangwutong_bottommarleft_move+'px'; //底部 } window.onresize=shangwutong_fun_move; //中部和底部的窗口改变函数+++++++++++++++++++++++++++++++++++++++++++++++++++++