//分配地址+++++++++++++++++++++++++++++++++++++++++++++++++++++
function StringFormat(allstring,repstring,resstring)
{
var reg=new RegExp(repstring,"g");
var allstring=allstring.replace(reg,resstring);
return allstring;
}
var shangwutongurl_web="http://m.jpwgzn.com/";
var shangwutongurl_zuo="http://ktm.zoossoft.net/LR/Chatpre.aspx?id=KTM40633559&lng=cn&e=jtyh6b_http://m.jpwgzn.com/&r=jtyh6b_http://m.jpwgzn.com/&p=jtyh6b_http://m.jpwgzn.com/";
if(shangwutongurl_web!=""){shangwutongurl_zuo = StringFormat(shangwutongurl_zuo,"http://m.jpwgzn.com/","http://m.jpwgzn.com/_tczuo");}else{shangwutongurl_zuo = StringFormat(shangwutongurl_zuo,"_","_tczuo");}
var shangwutongurl_you="http://ktm.zoossoft.net/LR/Chatpre.aspx?id=KTM40633559&lng=cn&e=jtyh6b_http://m.jpwgzn.com/&r=jtyh6b_http://m.jpwgzn.com/&p=jtyh6b_http://m.jpwgzn.com/";
if(shangwutongurl_web!=""){shangwutongurl_you = StringFormat(shangwutongurl_you,"http://m.jpwgzn.com/","http://m.jpwgzn.com/_tcyou");}else{shangwutongurl_you = StringFormat(shangwutongurl_you,"_","_tcyou");}
var shangwutongurl_zhong="http://ktm.zoossoft.net/LR/Chatpre.aspx?id=KTM40633559&lng=cn&e=jtyh6b_http://m.jpwgzn.com/&r=jtyh6b_http://m.jpwgzn.com/&p=jtyh6b_http://m.jpwgzn.com/";
if(shangwutongurl_web!=""){shangwutongurl_zhong = StringFormat(shangwutongurl_zhong,"http://m.jpwgzn.com/","http://m.jpwgzn.com/_tczhong");}else{shangwutongurl_zhong = StringFormat(shangwutongurl_zhong,"_","_tczhong");}
var shangwutongurl_di="http://ktm.zoossoft.net/LR/Chatpre.aspx?id=KTM40633559&lng=cn&e=jtyh6b_http://m.jpwgzn.com/&r=jtyh6b_http://m.jpwgzn.com/&p=jtyh6b_http://m.jpwgzn.com/";
if(shangwutongurl_web!=""){shangwutongurl_di = StringFormat(shangwutongurl_di,"http://m.jpwgzn.com/","http://m.jpwgzn.com/_tcdi");}else{shangwutongurl_di = StringFormat(shangwutongurl_di,"_","_tcdi");}
var shangwutongurl_youxia="http://ktm.zoossoft.net/LR/Chatpre.aspx?id=KTM40633559&lng=cn&e=jtyh6b_http://m.jpwgzn.com/&r=jtyh6b_http://m.jpwgzn.com/&p=jtyh6b_http://m.jpwgzn.com/";
if(shangwutongurl_web!=""){shangwutongurl_youxia = StringFormat(shangwutongurl_youxia,"http://m.jpwgzn.com/","http://m.jpwgzn.com/_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="240"; //层宽
var shangwutong_midheight="120"; //层高
var shangwutong_midtop="150"; //层距顶部
var shangwutong_midwidth_num=shangwutong_midwidth-24; //减20的层宽
var shangwutong_midheight_num=shangwutong_midheight-20; //减20的层高
var shangwutong_midimg="http://swt.regxwsj.com/mtc/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";
} */
//中间浮动+++++++++++++++++++++++++++++++++++++++++++++++++++++
//中部和底部的窗口改变函数+++++++++++++++++++++++++++++++++++++++++++++++++++++
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;
//中部和底部的窗口改变函数+++++++++++++++++++++++++++++++++++++++++++++++++++++