'+msgArray[1]+'
'+
(msgArray[2].length<51?msgArray[2]:(msgArray[2].substring(0,49)+'...'))+'
';_this._365call_ad_Frame.contentWindow.showmsg(parseInt(msgArray[0]),newmsg,isPreview);if(_this.autoOpenChatWinTime>0)
setTimeout(function(){_this._365call_ad_Frame.contentWindow.chat(0,0);},_this.autoOpenChatWinTime*1000);}}
this.cancelClosePrompt=function(){if(_this._365call_ad_close_Container!=null)
_this._365call_ad_close_Container.style.display="none";if(_this._365call_ad_close_Container2!=null)
_this._365call_ad_close_Container2.style.display="none";}
this.removeClosePrompt=function(){if(_this._365call_ad_close_Container!=null){_this._365call_ad_close_Container.parentNode.removeChild(_this._365call_ad_close_Container);_this._365call_ad_close_Container=null;}
if(_this._365call_ad_close_Container2!=null){_this._365call_ad_close_Container2.parentNode.removeChild(_this._365call_ad_close_Container2);_this._365call_ad_close_Container2=null;}}
this.hide2=function(){if(_this.show_type==3){_this._switchAdShow();}
else{_this._365call_ad_Container.style.display="none";if(_this._365call_ad_Frame!=null)
_this._365call_ad_Frame.style.display="none";}
_this.display=false;_this._365call_ad_show=0;if(_this._onHide!=null)
_this._onHide(_this);}
this.hide=function(){if(_this._365call_ad_close_Container!=null&&_this._365call_ad_close_Container2!=null){_this._365call_ad_close_Container.style.display="block";_this._365call_ad_close_Container2.style.display="block";return;}
_this._365call_ad_Container.style.display="none";if(_this._365call_ad_Frame!=null)
_this._365call_ad_Frame.style.display="none";_this.display=false;_this._365call_ad_show=0;if(_this._onHide!=null)
_this._onHide(_this);if(_this._365call_ad_Container!=null){_this._365call_ad_Container.parentNode.removeChild(_this._365call_ad_Container);_this._365call_ad_Container=null;}}
this._HideWin=function(){_this._365call_ad_Container.style.height="110px";_this._365call_ad_Container.style.width="200px";_this._365call_ad_Frame_Container.style.height="1px";_this._365call_ad_Frame_Container.style.width="1px";_this._365call_ad_min_Container.style.display="block";_this._365call_ad_show=0;if(_this._onIndent!=null)
_this._onIndent(_this);}
this._IndentAd=function(){if(this.show_type==1||this.show_type==3){_this._365call_ad_top-=_this._365call_ad_show_rate;if(_this._365call_ad_top<_this._365call_ad_height_head){_this._365call_ad_top=_this._365call_ad_height_head;}}
if(this.show_type==2||this.show_type==3){_this._365call_ad_length-=_this._365call_ad_show_rate;if(_this._365call_ad_length<_this._365call_ad_width_head){_this._365call_ad_length=_this._365call_ad_width_head;}}
if($365_IE){if(this.show_type==1||this.show_type==3){if(_this._365call_ad_Frame!=null)
_this._365call_ad_Frame.style.height=_this._365call_ad_top+"px";_this._365call_ad_Container.style.height=_this._365call_ad_top+"px";}
if(this.show_type==2||this.show_type==3){var w=0;if(_this.Resize)
w=8;if(_this._365call_ad_Frame!=null)
_this._365call_ad_Frame.style.width=(_this._365call_ad_length-w)+"px";_this._365call_ad_Container.style.width=_this._365call_ad_length+"px";}}
else{var clientSize=$365_getClientSize(_this._365call_ad_Container);var dy=clientSize.t+clientSize.b;var dx=clientSize.l+clientSize.r;if(this.show_type==1||this.show_type==3){if(_this._365call_ad_Frame!=null)
_this._365call_ad_Frame.style.height=_this._365call_ad_top-dy+"px";_this._365call_ad_Container.style.height=_this._365call_ad_top-dy+"px";}
if(this.show_type==2||this.show_type==3){var w=0;if(_this.Resize)
w=8;if(_this._365call_ad_Frame!=null)
_this._365call_ad_Frame.style.width=(_this._365call_ad_length-w-dx)+"px";_this._365call_ad_Container.style.width=_this._365call_ad_length-dx+"px";}}
if(((this.show_type==1||this.show_type==3)&&_this._365call_ad_top>_this._365call_ad_height_head)||((this.show_type==2||this.show_type==3)&&_this._365call_ad_length>_this._365call_ad_width_head)){if(_this._365call_ad_act!=null)
clearTimeout(_this._365call_ad_act);_this._365call_ad_act=window.setTimeout(function(){_this._IndentAd();},20);}
else{_this.fix_position(_this.leftPos(),_this.topPos());if(_this._365call_ad_switchButton&&_this._switchButton_Expand_url.length>0){if($365_IE&&_this._switchButton_Expand_url.indexOf(".png")>0)
_this._365call_ad_switchButton.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+_this._switchButton_Expand_url+"', sizingMethod='scale')";else
_this._365call_ad_switchButton.style.backgroundImage="url(\""+_this._switchButton_Expand_url+"\")";}}}
this._switchBigWin=function(){_this._365call_ad_Container.parentNode.removeChild(_this._365call_ad_Container);_this._365call_ad_Container=null;_this.display=false;_this._365call_ad_show=0;if(_this._365call_openWin)
_this._365call_openWin(_this);}
this._closeAd=function(evnt){_this._365call_ad_height_head=0;_this._365call_ad_width_head=0;_this.hide();_this._365call_ad_show=0;}
this._switchAdShow=function(evnt){if(_this.show_type==1&&_this._365call_ad_top>_this._365call_ad_height_head&&_this._365call_ad_top<_this._365call_ad_height)
return;if(_this.show_type==2&&_this._365call_ad_length>_this._365call_ad_width_head&&_this._365call_ad_length<_this._365call_ad_width)
return;if(_this.show_type==3&&((_this._365call_ad_top>_this._365call_ad_height_head&&_this._365call_ad_top<_this._365call_ad_height)||(_this._365call_ad_length>_this._365call_ad_width_head&&_this._365call_ad_length<_this._365call_ad_width)))
return;if(_this._365call_ad_top<=_this._365call_ad_height_head||_this._365call_ad_length<=_this._365call_ad_width_head){if(_this._onOpen!=null)
_this._onOpen(_this);_this._ExpandAd();}
else{if(_this._onClose!=null)
_this._onClose(_this);_this._365call_ad_show=0;_this._IndentAd();}}
this._switchFullWin=function(h){_this.ChangeFrameSize(0,h);}
this.ChangeFrameSize=function(w,h){if(_this.noChange)
return;if(w>0&&parseInt(_this._365call_ad_Frame.style.width)!=w){_this._365call_ad_Container.style.width=w+"px";_this._365call_ad_Frame.style.width=w+"px";_this._365call_ad_width=w;_this._365call_ad_length=w;}
if(typeof(h)!="undefined"&&h>0&&parseInt(_this._365call_ad_Frame.style.height)!=h){_this._365call_ad_Container.style.height=h+"px";_this._365call_ad_Frame.style.height=h+"px";_this._365call_ad_height=h;_this._365call_ad_top=h;}}
this.FixedFrameSize=function(){try{if(_this.display){var bHeight=_this._365call_ad_Frame.contentWindow.document.body.scrollHeight;var dHeight=_this._365call_ad_Frame.contentWindow.document.documentElement.scrollHeight;var h=Math.max(bHeight,dHeight);if(h<=_this._365call_ad_Frame.height)
h=Math.min(bHeight,dHeight);if(h>0&&parseInt(_this._365call_ad_Frame.style.height)!=h){_this._365call_ad_Container.style.height=h+"px";_this._365call_ad_Frame.style.height=h+"px";_this._365call_ad_height=h;_this._365call_ad_top=h;}
var bWidth=_this._365call_ad_Frame.contentWindow.document.body.scrollWidth;var dWidth=_this._365call_ad_Frame.contentWindow.document.documentElement.scrollWidth;var w=Math.max(bWidth,dWidth);if(w>0&&parseInt(_this._365call_ad_Frame.style.Width)!=w){_this._365call_ad_Container.style.width=w+"px";_this._365call_ad_Frame.style.width=w+"px";_this._365call_ad_width=w;_this._365call_ad_length=w;}}
var t=1000;if(_this._showListTimes<10)
_this._showListTimes++;else
t=100
window.setTimeout(function(){_this.FixedFrameSize();},t);}catch(ex){}}
this.stayTopLeft=function(){if(!_this.dragapproved){_this._fx=_this.leftPos();var dy=(_this.topPos()-_this._fy)/8;if(Math.abs(dy)>0.01){_this._fy+=dy;var rs=false;if($365_IE&&_this._365call_ad_Container.style.display!="none"){rs=true;_this._365call_ad_Container.style.display="none";}
_this._365call_ad_Container.style.left=_this._fx+"px";_this._365call_ad_Container.style.top=_this._fy+"px";if(rs)
_this._365call_ad_Container.style.display="block";}}
window.setTimeout(function(){_this.stayTopLeft();},30);}
this.stayposition=function(){if(!_this.dragapproved){_this._fx=_this.leftPos();var rs=false;if($365_IE&&_this._365call_ad_Container.style.display!="none"){rs=true;_this._365call_ad_Container.style.display="none";}
_this._365call_ad_Container.style.top=_this._fy+"px";_this._365call_ad_Container.style.position="fixed";if(_this._365call_ad_frombottom==2){_this._365call_ad_Container.style.cssText=_this._365call_ad_Container.style.cssText.replace('top','bottom');_this._365call_ad_Container.style.bottom="0";}
if(rs)
_this._365call_ad_Container.style.display="block";}}
this._openFrame=function(color){_this._ie6=_365call_isIE6()||($365_IE&&this._get_absolute_position());if(_this._365call_ad_Container!=null){_this._365call_ad_Container.style.display="none";}
_this._createAdContainer();if(_this._layer_con.length==0)
_this._layer_con="IFRAME_365webcall_"+new Date().getTime().toString();_this._365call_ad_Frame_Container.innerHTML="