手机
var swt_autoDisplay_times=10;/*商务通自动弹出时间,秒为单位*/
var float_left_ad_display_Init=0;/*在允许滚动浮动广告的情况下,允许左边广告显示*/
var float_right_ad_display_Init=1;/*在允许滚动浮动广告的情况下,允许右边广告显示*/
var float_center_ad_display_Init=1;/*显示中间广告*/
var float_bottom_ad_display_Init=0;/*显示右下角广告*/
var roll_ad_left_tc=1;/*关闭左边 30秒后弹出*/
var roll_ad_right_tc=1;/*关闭右边 30秒后弹出*/
var roll_ad_center_tc=1;/*关闭中间 30秒后弹出*/
var roll_ad_bottom_tc=1;/*关闭右下角 30秒后弹出*/
var timerOutWindows1=null;
var timerOutWindows2=null;
var timerOutWindows3=null;
var timerOutWindows4=null;
var roll_bupin=0.1;
var roll_pinlv=10;
var timerrollmove_left=null;
var timerrollmove_right=null;
var timerrollmove_center=null;
var timerrollmove_rightxiao=null;
var roll_ad_left_top=80; /*设置左广告距顶部多少像素*/
var roll_ad_right_top=80; /*设置右广告距顶部多少像素*/
var roll_ad_rightxiao_top=160; /*设置右广告距顶部多少像素*/
var roll_ad_center_top=160; /*设置中广告距顶部多少像素*/
var swtJS='<script language="javascript" src="http://swt.zoosnet.net/JS/LsJS.aspx?siteid=SWT75347958&float=1&lng=cn"></script>';
/*定义商务通样式*/
document.writeln('<style type="text/css">');
/*隐藏商务通默认样式*/
document.writeln('#LR_Flash,#LRfloater0,#BDBridgeInviteWrap,#BDBridgeMess,#IconContainer,#globalMobileBridgeJSLoad,#QIAO_ICON_CONTAINER,#LXB_CONTAINER,.qiao-icon-sector-inner,#QIAO_INVITE_CONTAINER{display:none !important;}');
/*定义商务通左侧样式*/
document.write('#roll_ad_left {z-index:10;position:absolute; top:80px; background: url(/images/swt.gif) no-repeat; width: 136px;height: 510px;}');
/*定义商务通右侧样式*/
document.write('#roll_ad_right {z-index:10;overflow:hidden;position:fixed;right:0px;top:120px;width:40px; height:100px; visibility:hidden;}');
/*定义商务通中间样式*/
document.write('#roll_ad_center {z-index:1000;overflow:hidden;position:fixed;top:160px;width:250px; height:123px; background:url(/images/main.gif) no-repeat; }');
document.write('#center_tou{display: block; height: 15px; width:250px;}');
document.write('#center_gb{display: block; float: right; height: 15px; width: 15px;}');
document.write('#center_nl{display: block; float: left; height: 110px; width: 175px;}');
document.write('#center_nr{display: block; float: left; height: 40px; width: 70px; margin-top:70px;}');
/*定义右下角样式*/
document.write('#roll_ad_bottom {z-index:1000;overflow:hidden;position:fixed;right:0;bottom:0px;width:240px; height:120px;background:url(/images/swt.gif) no-repeat;}');
document.writeln("</style>");
document.write(swtJS);
/*显示左侧漂浮广告*/
var leftcode='<div id="roll_ad_left" ><a onclick="hide_ad(1);" href="javascript:void(0)" style="cursor: pointer;">点击关闭</a><a>内容</a></div>';
if(float_left_ad_display_Init==1)
{
document.write(leftcode);
}
/*显示右侧漂浮广告*/
var rightcode='<div id="roll_ad_right" ><img src="/images/right.gif" border="0" usemap="#Map23" /><map name="Map23" id="Map23"><area shape="rect" coords="23,2,39,17" target="_self" onclick="hide_ad(2);" href="javascript:void(0)" /><area shape="rect" coords="4,19,36,94" onclick="return openChat();" href="javascript:void(0);" /></map></div>';
if(float_right_ad_display_Init==1)
{
document.write(rightcode);
}
/*显示中间漂浮广告*/
var centercode='<DIV id="roll_ad_center"><a id="center_nl" onclick="return openChat();" href="javascript:void(0);"></a><a id="center_nr" onclick="hide_ad(3);"></a></DIV>';
if(float_center_ad_display_Init==1)
{
document.write(centercode);
}
/*显示右下角广告*/
var bottomcode='<DIV id="roll_ad_bottom"><a onclick="hide_ad(4);" href="javascript:void(0)" style="cursor: pointer;">点击关闭</a><a>内容</a></DIV>';
if(float_bottom_ad_display_Init==1)
{
document.write(bottomcode);
}
function hide_ad(num)
{
switch(num)
{
case 1:{
if(float_left_ad_display_Init!=0)
{
document.getElementById("roll_ad_left").style.visibility="hidden";
if(roll_ad_left_tc==1)
{
timerOutWindows1=setTimeout(function(){show_ad(1);},swt_autoDisplay_times*1000);
}
}
break;}
case 2:{
if(float_right_ad_display_Init!=0)
{
document.getElementById("roll_ad_right").style.visibility="hidden";
document.getElementById("roll_ad_center").style.visibility="visible";
if(roll_ad_right_tc==1)
{
timerOutWindows2=setTimeout(function(){show_ad(2);},swt_autoDisplay_times*1000);
}}
break;}
case 3:{
if(float_center_ad_display_Init!=0)
{
document.getElementById("roll_ad_center").style.visibility="hidden";
document.getElementById("roll_ad_right").style.visibility="visible";
if(roll_ad_center_tc==1)
{
timerOutWindows3=setTimeout(function(){show_ad(3);},swt_autoDisplay_times*2000);
}}
break;}
case 4:{
if(float_bottom_ad_display_Init!=0)
{
document.getElementById("roll_ad_bottom").style.visibility="hidden";
if(roll_ad_bottom_tc==1)
{
timerOutWindows4=setTimeout(function(){show_ad(4);},swt_autoDisplay_times*1000);
}}
break;}
}
}
function show_ad(num)
{
switch(num)
{
case 1:{
if(float_left_ad_display_Init!=0)
{
document.getElementById("roll_ad_left").style.visibility="visible";
}
break;}
case 2:{
if(float_right_ad_display_Init!=0)
{
document.getElementById("roll_ad_right").style.visibility="visible";
}
break;}
case 3:{
if(float_center_ad_display_Init!=0)
{
document.getElementById("roll_ad_center").style.visibility="visible";
document.getElementById("roll_ad_right").style.visibility="hidden";
}
break;}
case 4:{
if(float_bottom_ad_display_Init!=0)
{
document.getElementById("roll_ad_bottom").style.visibility="visible";
}
break;}
default:{
break;}
}
}
/*定义商务通打开*/
var PopOutInit=false;/*弹出窗时候弹出的判断*/
function openChat()
{
openZoosUrl();
PopOutInit=false;
clearOutWindowTimer();
openStartTimerOfOutWindow();
hide_ad(3);
return false;
}
function closeAskWindow()
{
PopOutInit=false;
hide_ad(3);
LR_HideInvite();
LR_RefuseChat();
}
/*在打开商务通的时候 重新定义*/
function clearOutWindowTimer()
{
clearTimeout(timerOutWindows1);
clearTimeout(timerOutWindows2);
clearTimeout(timerOutWindows3);
clearTimeout(timerOutWindows4);
}
/*重新启动计时器*/
function openStartTimerOfOutWindow()
{
timerOutWindows1=setTimeout(function(){show_ad(1);},swt_autoDisplay_times*1000);
timerOutWindows2=setTimeout(function(){show_ad(2);},swt_autoDisplay_times*1000);
timerOutWindows3=setTimeout(function(){show_ad(3);},swt_autoDisplay_times*1000);
timerOutWindows4=setTimeout(function(){show_ad(4);},swt_autoDisplay_times*1000);
}
function popFloatWindow()
{
if(!PopOutInit)
{
show_ad(3);
PopOutInit=true;
if(document.getElementById("LRfloater0")) {onlinerIcon0.hidden();}
clearOutWindowTimer();
self.focus();
}
}
/*检测弹出窗的弹出*/
function guestZoosNetWindow()
{
if(document.getElementById("LRdiv1"))
{
if(document.getElementById("LRdiv1").style.display=="block")
{
//发现弹出,马上关闭弹出,然后开启美化的弹出窗
if(document.getElementById("LRfloater1"))
{
document.getElementById("LRfloater1").style.visibility="hidden";
}
document.getElementById("LRdiv1").style.visibility="hidden";
document.getElementById("lr_swf_div").style.visibility="hidden";
onlinerIcon0.hidden();
popFloatWindow();
}
}
}
/*定义随屏滚动*/
function roll_ad_all()
{
var top_roll=getScrollTop();
var roll_total_js_left=top_roll+roll_ad_left_top;
var roll_total_js_right=top_roll+roll_ad_right_top;
var roll_total_js_center=top_roll+roll_ad_center_top;
var roll_total_js_rightxiao=top_roll+roll_ad_rightxiao_top;
if(document.getElementById("roll_ad_center"))
{
/*判断浏览器渲染方式 采用body 还是 element*/
var ids=document.getElementById("roll_ad_center");
if(typeof document.compatMode!='undefined'&&document.compatMode!='BackCompat')
{
var leftHs =(document.documentElement.clientWidth-ids.offsetWidth)/2;
}
else
{
var leftHs =(document.body.clientWidth-ids.offsetWidth)/2;
}
document.getElementById("roll_ad_center").style.left=leftHs+"px";
clearInterval(timerrollmove_center);
timerrollmove_center=setInterval(function(){roll_move("roll_ad_center",roll_total_js_center)},roll_pinlv);
}
if(document.getElementById("roll_ad_left"))
{
clearInterval(timerrollmove_left);
timerrollmove_left=setInterval(function(){roll_move("roll_ad_left",roll_total_js_left)},roll_pinlv);
}
if(document.getElementById("roll_ad_right"))
{
clearInterval(timerrollmove_right);
timerrollmove_right=setInterval(function(){roll_move("roll_ad_right",roll_total_js_right)},roll_pinlv);
}
}
function roll_move(id,js)
{
var idg=document.getElementById(id);
var ks=idg.offsetTop+1;
var offset = (js-idg.offsetTop)*roll_bupin;
offset = offset > 0 ? Math.ceil(offset) : Math.floor(offset);
if(idg.offsetTop-js==0)
{
clearInterval(timerrollmove_left);
clearInterval(timerrollmove_right);
clearInterval(timerrollmove_center);
clearInterval(timerrollmove_rightxiao);
}
else
{
ks=idg.offsetTop+offset;
idg.style.top=ks+"px";
}
}
function getScrollTop() {
var scrollPos;
if (typeof window.pageYOffset != 'undefined') {
scrollPos = window.pageYOffset;
}
else if (typeof document.compatMode != 'undefined'
&& document.compatMode != 'BackCompat') {
scrollPos = document.documentElement.scrollTop;
}
else if (typeof document.body != 'undefined') {
scrollPos = document.body.scrollTop;
}
return scrollPos;
}
function scall_roll()
{
//roll_ad_all();
}
/*定义加载完毕函数*/
function AdInitOK(){
jiastyle();
window.setInterval("guestZoosNetWindow()",1);
}
if (document.all){
window.attachEvent('onload',AdInitOK);
window.attachEvent('onscroll',scall_roll);
}
else{
window.addEventListener('load',AdInitOK,false);
window.addEventListener('scroll',scall_roll,false);
}
/*这个玩意是随机数*/
function getBDonline()
{
var r = 60;
var r = Math.floor(Math.random() * 99) + 53;
document.getElementById("onlinePersons").innerHTML="<strong>"+r+"</strong>";
setTimeout("getBDonline()",5000);
}
function jiastyle()
{
var x=document.getElementsByTagName("a");
for(i=0;i<x.length;i++)
{
x[i].style.cursor="pointer";
}
}
document.write("<script>var stu=document.getElementById('roll_ad_center').style.display;document.getElementById('roll_ad_center').style.display='block';document.getElementById('roll_ad_center').style.left=(document.body.clientWidth-document.getElementById('roll_ad_center').offsetWidth)/2+'px';document.getElementById('roll_ad_center').style.display=stu;</script>");
/*document.write('<script charset="utf-8" type="text/javascript" src="http://wpa.b.qq.com/cgi/wpa.php?key=XzgwMDA1NjkzNl85MTE0OV84MDAwNTY5MzZf"></script>');*/
window.onload = function(){ window.setInterval(function(){document.getElementById('roll_ad_center').style.display='block';},0);};
---PC----------------------------------------------------------------------------------------------------------
//定义商务通链接,不同项目组需换用不同的链接。
var swtJS='<script language="javascript" src="http://swt.zoosnet.net/JS/LsJS.aspx?siteid=SWT75347958&float=1&lng=cn"><script>';
document.write(swtJS);
//隐藏商务通自带的浮动div
document.write('<style>#baidu-auth-pop{display:none;}#LRfloater0,#LRdiv1,.qiao-icon-sector-inner,#QIAO_INVITE_CONTAINER,#BDBridgeInviteWrap,#BDBridgeWrap,#LR_Flash{display:none !important;} a{cursor: pointer;} a:hover{ text-decoration:none;}</style>');
var ie = -[1,];
var pos=['center','right','bottom','left','top','topLeft','topRight','bottomLeft','bottomRight'];
//商务通浮动div类,使用creatnew方式调用。
//如 var left=swt.createNew(); 实例化对象,left名称可以随意改变
// left.position=3; 给对象赋值,格式为之前实例化的对象名.属性名=属性值。
//必须赋值的属性有
//position 对象位置
//inner 对象的内容,字符串格式,内容是html内容,会展示在生成div框里。
//属性赋值完成后使用,shou()方法执行。
//下面是个完整示例:
//var center=swt.createNew();
//center.position=0;
//center.inner='<a onclick="openChat()"><img src="/jsplus/images/center.gif"/></a>';
//center.show();
//就会生成一个在页面中间的div框。
//所有的属性值列表:
//status 是否直接显示div,1开启,其他数值为关闭
//position div位置,0中间,1右方,2底部,3左方,4顶部,5左上,6右上,7左下,8右下
//autoDisplayTime 页面打开后的延时弹出时间,以秒为单位。
//sideSize div距侧面的距离差,可以为负数,每个位置的相对位置不同。如100即为在原有位置上向左或向右移动100像素。
//topSize div距顶部的距离差,同上
//change 默认1,在自身div关闭,且有关联div时,自身div再次显示时,隐藏关联div,设为0时,关联div不隐藏。
//reDisplay 关闭后的再次显示时间
//hiddenPlay 关闭时打开的另外一个div,填另一个div定义好的id值,不能为0。
//id 定义一个用于标识的id,只在与上一项配合使用时有效。
//scr 滚动方式,默认为惯性滚动,非0为固定位置滚动。
//inner div内部的内容。字符串格式,html内容。
//closeText 关闭按钮的内容,可以是文字,也可以是任意html代码。
//margins; 关闭按钮的位置,默认是右上角,坐标的写法是 margin='上,右,下,左'
//closeTextColor 关闭按钮的文字颜色。
//fontSize 关闭按钮的文字大小。
//closePlus div上可以加入一个新的关闭按钮,直接写样式定位和高宽,默认自带有绝对定位属性,样式写法为嵌入式。
//cursor 默认div全局样式鼠标悬浮变为手型,通常不需要改变这个值,改为''可以取消该样式。
var swt={
createNew:function(){
var swt={};
swt.status=1;
swt.position=0;
swt.autoDisplayTime=0;
swt.sideSize=0;
swt.topSize=0;
swt.change=1;
swt.reDisplay=0;
swt.margins='0'
swt.hiddenPlay='';
swt.id='';
swt.scr=0;
swt.inner='';
swt.closeText='关闭';
swt.closeTextColor='black';
swt.fontSize='12px';
swt.closePlus='';
swt.cursor=1;
swt.timer='';
swt.e=document.createElement('div');
swt.x=document.createElement('a');
swt.show=function(){
swt.x.innerHTML=this.closeText;
swt.x.style.color=this.closeTextColor;
swt.x.style.padding='3px';
swt.x.style.background='url(about:blank)';//解决IE6789 下面 解决ie下空标签不显示的问题
swt.x.style.margin=swt.margins;
swt.x.style.fontSize=swt.fontSize;
swt.x.style.position='absolute';
swt.x.style.right=0;
swt.x.style.top=0;
swt.x.target='_self';
if(swt.id!=''){
swt.x.href='javascript:closeAd("'+swt.id+'",'+swt.reDisplay+',"'+swt.hiddenPlay+'","'+swt.change+'")';
swt.e.id='id'+swt.id+'ad';
}else{
var i=Math.ceil(Math.random()*1000);
swt.x.href='javascript:closeAd("'+i+'",'+swt.reDisplay+',"'+swt.hiddenPlay+'","'+swt.change+'")';
swt.e.id='id'+i+'ad';
}
swt.e.innerHTML+=swt.inner;
swt.e.style.position='absolute';
swt.e.style.zIndex=999;
swt.e.style.visibility='hidden';
if(swt.cursor!='')swt.e.style.cursor='pointer';
if(swt.closePlus!=''){
var xp=document.createElement('a');
var sty=getStyle('position:absolute;'+swt.closePlus);
for(st in sty){
xp.style[st]=sty[st];
}
xp.style.background='url(about:blank)';//解决IE6789 下面 解决ie下空标签不显示的问题
xp.target='_self';
xp.href=swt.x.href;
swt.e.appendChild(xp);
}
if(ie){
window.addEventListener('load',function(){
document.body.appendChild(swt.e);
swt.e.appendChild(swt.x);
setTimeout(function(){swt.display(swt.e);
},swt.autoDisplayTime*1000)},false);
window.addEventListener('scroll',function(){swt.scroll(swt.e)},false);
window.addEventListener('resize',function(){swt.resize(swt.e)},false);
}else{
window.attachEvent('onload',function(){
document.body.appendChild(swt.e);
swt.e.appendChild(swt.x);
setTimeout(function(){swt.display(swt.e);
},swt.autoDisplayTime*1000)});
window.attachEvent('onscroll',function(){swt.scroll(swt.e)});
window.attachEvent('onresize',function(){swt.resize(swt.e)});
}
}
swt.display=function(e){
var size=GetPageSize();
switch(swt.position){
case 0:
e.style.left=(size['WinW']-e.offsetWidth)/2+swt.sideSize+'px';
e.style.top=size['scroll']+(size['WinH']-e.offsetHeight)/2+swt.topSize+'px';
break;
case 1:
e.style.right=swt.sideSize+'px';
e.style.top=size['scroll']+(size['WinH']-e.offsetHeight)/2+swt.topSize+'px';
break;
case 2:
e.style.left=(size['WinW']-e.offsetWidth)/2+swt.sideSize+'px';
e.style.top=size['scroll']+size['WinH']-e.offsetHeight+swt.topSize+'px';
break;
case 3:
e.style.left=swt.sideSize+'px';
e.style.top=size['scroll']+(size['WinH']-e.offsetHeight)/2+swt.topSize+'px';
break;
case 4:
e.style.left=(size['WinW']-e.offsetWidth)/2+swt.sideSize+'px';
e.style.top=size['scroll']+swt.topSize+'px';
break;
case 5:
e.style.left=swt.sideSize+'px';
e.style.top=size['scroll']+swt.topSize+'px';
break;
case 6:
e.style.right=swt.sideSize+'px';
e.style.top=size['scroll']+swt.topSize+'px';
break;
case 7:
e.style.left=swt.sideSize+'px';
e.style.top=size['scroll']+size['WinH']-e.offsetHeight+swt.topSize+'px';
break;
case 8:
e.style.right=swt.sideSize+'px';
e.style.top=size['scroll']+size['WinH']-e.offsetHeight+swt.topSize+'px';
break;
}
if(swt.status==1)e.style.visibility='visible';
}
swt.scroll=function(e){
var c=GetPageSize();
if(swt.scr==0){
clearInterval(swt.timer);
swt.timer=setInterval(function(){
if(swt.position==0 || swt.position==1 || swt.position==3){
var h=Math.ceil(c['scroll']+(c['WinH']-e.offsetHeight)/2-e.offsetTop+swt.topSize);
if(h!=0){
e.style.top=e.offsetTop+Math.ceil(Math.abs(h)/20)*(h>0?1:(-1))+'px';
}else clearInterval(swt.timer);
}else if(swt.position==2 || swt.position==7 || swt.position==8){
var h=Math.ceil(c['scroll']+c['WinH']-e.offsetHeight-e.offsetTop+swt.topSize);
if(h!=0){
e.style.top=e.offsetTop+Math.ceil(Math.abs(h)/20)*(h>0?1:(-1))+'px';
}else clearInterval(swt.timer);
}else{
var h=Math.ceil(c['scroll']-e.offsetTop+swt.topSize);
if(h!=0){
e.style.top=e.offsetTop+Math.ceil(Math.abs(h)/20)*(h>0?1:(-1))+'px';
}else clearInterval(swt.timer);
}
},10);
}else{
if(swt.position==0 || swt.position==1 || swt.position==3)e.style.top=c['scroll']+(c['WinH']-e.offsetHeight)/2+swt.topSize+'px';
else if(swt.position==2 || swt.position==7 || swt.position==8) e.style.top=c['scroll']+c['WinH']-e.offsetHeight+swt.topSize+'px';
else e.style.top=c['scroll']+swt.topSize+'px';
}
}
swt.resize=function(e){
var l=GetPageSize();
if(swt.position==0 || swt.position==2 || swt.position==4){
e.style.left=(l['WinW']-e.offsetWidth)/2+swt.sideSize+'px';
}
}
return swt;
}
}
//获取各环境下的页面尺寸信息
function GetPageSize() {
var scrW, scrH;
if(window.innerHeight && window.scrollMaxY) {
// Mozilla
scrW = window.innerWidth + window.scrollMaxX;
scrH = window.innerHeight + window.scrollMaxY;
} else if(document.body.scrollHeight > document.body.offsetHeight){
// all but IE Mac
scrW = document.body.scrollWidth;
scrH = document.body.scrollHeight;
} else if(document.body) { // IE Mac
scrW = document.body.offsetWidth;
scrH = document.body.offsetHeight;
}
var winW, winH;
if(window.innerHeight) { // all except IE
winW = window.innerWidth;
winH = window.innerHeight;
} else if (document.documentElement
&& document.documentElement.clientHeight) {
// IE 6 Strict Mode
winW = document.documentElement.clientWidth;
winH = document.documentElement.clientHeight;
} else if (document.body) { // other
winW = document.body.clientWidth;
winH = document.body.clientHeight;
}
var scrollPos;
if (typeof window.pageYOffset != 'undefined') {
scrollPos = window.pageYOffset;
}
else if (typeof document.compatMode != 'undefined'
&& document.compatMode != 'BackCompat') {
scrollPos = document.documentElement.scrollTop;
}
else if (typeof document.body != 'undefined') {
scrollPos = document.body.scrollTop;
}
var pageW = (scrW<winW) ? winW : scrW;
var pageH = (scrH<winH) ? winH : scrH;
return {PageW:pageW, PageH:pageH, WinW:winW, WinH:winH,scroll:scrollPos};
}
function openChat()
{
openZoosUrl();
return false;
}
function closeAd(o,b,c,e){
var obj=document.getElementById('id'+o+'ad');
obj.style.visibility='hidden';
if(b!=0){
setTimeout(function(){
obj.style.visibility='visible';
},b*1000);
}
if(c!=''){
document.getElementById('id'+c+'ad').style.visibility='visible';
if(e!=0 && b!=0){
setTimeout(function(){
document.getElementById('id'+c+'ad').style.visibility='hidden';
},b*1000);
}
}
}
function getStyle(string){
if(string.charAt(string.length-1)==';'){
string=string.substring(0,string.length-1);
}
var cssArray=string.split(';');
var styleArray=new Array();
for(var k=0;k <cssArray.length;k++){
var style=cssArray[k].split(':');
styleArray[style[0]]=style[1];
}
return styleArray;
}
var center=swt.createNew();
center.position=4;
center.topSize=197;
center.closePlus='width:80px;height:30px;top:300px;left:135px';
center.margins='4px';
center.reDisplay=20;
center.hiddenPlay=1;
center.id=2;
center.scr='1';
center.inner='<a href="javascript:void(0);" onclick="return openChat();"><img src="swt.gif" /></a>';
center.closeText='<img src="/images/leave.gif" />';
center.show();
var right=swt.createNew();
right.status=0;
right.position=6;
right.topSize=197;
right.reDisplay=13;
right.hiddenPlay=2;
right.id=1;
right.scr=1;
right.inner='<a href="javascript:void(0);" onclick="return openChat();"><img src="online_right.gif" /></a>';
right.closeText='<img src="/images/leave.gif"/>';
right.show();
var left=swt.createNew();
left.position=5;
left.scr=1;
left.topSize=193;
left.inner='<iframe src=\"/js/call.html\" frameborder=\"0\" scrolling=\"no\" width=\"170\" height=\"360\"></iframe>';
left.closeText=' ';
left.show();