if(typeof(popLxWindow) != 'function') {function popLxWindow(url) { var lxwindow = window.open(url, '_blank', 'toolbar=no,location=no,directories=no,scrollbars=no,menubar=no,width=690,height=543,resizable=no,left=0,top=0, status=no'); lxwindow.focus(); } } if (typeof(HJFloater) != 'function') { function HJFloater(id, imgId, imgStr, imgWidth, imgHeight, alignX, alignY, offsetX, offsetY) { this.id = id; this.imgId = imgId; this.imgStr = imgStr; this.imgWidth = parseInt(imgWidth); this.imgHeight = parseInt(imgHeight); this.alignX = alignX; this.alignY = alignY; this.offsetX = parseInt(offsetX) + 2; this.offsetY = parseInt(offsetY) + 2; this.msoffsetX = 0; this.msoffsetY = 0; this.left = 0; this.top = 0; this.left_last = 0; this.top_last = 0; this.scrollLeft = 0; this.scrollTop = 0; this.documentWidth = 0; this.documentHeight = 0; this.flagmousedown = false; this.isIE = (document.all) ? 1 : 0;this.innerHTML = '
' + this.imgStr + '
';this.init = HJFloater_init; this.float = HJFloater_float; this.popchatwindow = HJFloater_popchatwindow; this.startmove = HJFloater_startmove; this.moving = HJFloater_moving; this.stopmove = HJFloater_stopmove; this.init(); this.float(); } } if (typeof(HJFloater_init) != 'function') { function HJFloater_init() { if (!document.getElementById(this.id)) { if (document.getElementById('HJLiveChatPageScript' )) { if (document.styleSheets.length > 0) var oStyleSheet = document.styleSheets[0]; var oStyleSheet = document.createStyleSheet(); oStyleSheet.addRule('.HJLiveChat_text_01','font-family: verdana, arial, helvetica, sans-serif;font-size: 12px;color: #666666; line-height:130%; letter-spacing:normal'); oStyleSheet.addRule('.HJLiveChat_text_02','font-family: verdana, arial, helvetica, sans-serif;font-size: 11px;color: #f99d1e; line-height:130%; letter-spacing:normal'); oStyleSheet.addRule('.HJLiveChat_text_c_05','font-family: verdana,arial,sans-serif;font-size: 12px;color: #000000;'); oStyleSheet.addRule('.HJLiveChat_text_title_02','font-family: verdana, arial, helvetica, sans-serif;font-size: 12px;color: #ffffff; font-weight: bold; letter-spacing:normal; line-height:normal'); oStyleSheet.addRule('a.link_online:link','ffont-family:,verdana,arial,sans-serif;font-size: 12px;color: #ff6600;text-decoration: none; letter-spacing:normal; line-height:normal'); oStyleSheet.addRule('a.link_online:visited','font-family:,verdana,arial,sans-serif;font-size: 12px;color: #ff6600;text-decoration: none; letter-spacing:normal; line-height:normal'); oStyleSheet.addRule('a.link_online:hover','font-family:,verdana,arial,sans-serif;font-size: 12px;color: #ff6600;text-decoration: underline; letter-spacing:normal; line-height:normal'); oStyleSheet.addRule('a.link_online:active','font-family:,verdana,arial,sans-serif;font-size: 12px;color: #ff6600;text-decoration: none; letter-spacing:normal; line-height:normal'); oStyleSheet.addRule('a.link_offline:link','font-family:,verdana,arial,sans-serif;font-size: 12px;color: #ff6600;text-decoration: none; letter-spacing:normal; line-height:normal'); oStyleSheet.addRule('a.link_offline:visited','font-family:,verdana,arial,sans-serif;font-size: 12px;color: #ff6600;text-decoration: none; letter-spacing:normal; line-height:normal'); oStyleSheet.addRule('a.link_offline:hover','font-family:,verdana,arial,sans-serif;font-size: 12px;color: #ff6600;text-decoration: underline; letter-spacing:normal; line-height:normal'); oStyleSheet.addRule('a.link_offline:active','font-family:,verdana,arial,sans-serif;font-size: 12px;color: #ff6600;text-decoration: none; letter-spacing:normal; line-height:normal'); var objFloater = document.createElement('div'); objFloater.id = this.id; var objScript = document.getElementById('HJLiveChatPageScript' ); objScript.parentNode.insertBefore(objFloater, objScript); objFloater.innerHTML = this.innerHTML; } else { document.write('
' + this.innerHTML + '
'); } } } } if (typeof(HJFloater_float) != 'function') { function HJFloater_float() { this.scrollLeft = document.body.scrollLeft; this.scrollTop = document.body.scrollTop; if (this.scrollLeft == 0) { this.scrollLeft = document.documentElement.scrollLeft; } if (this.scrollTop == 0) { this.scrollTop = document.documentElement.scrollTop; } this.documentWidth = document.documentElement.clientWidth; this.documentHeight = document.documentElement.clientHeight; if (this.documentWidth == 0) { this.documentWidth = document.body.clientWidth; } if (this.documentHeight == 0) { this.documentHeight = document.body.clientHeight; } try { this.imgWidth = document.getElementById(this.imgId).clientWidth; this.imgHeight = document.getElementById(this.imgId).clientHeight; } catch(e) { } if (this.msoffsetX == 0 && this.msoffsetY == 0) { if (this.alignX == 'left') { this.left = this.scrollLeft + this.offsetX; } else if (this.alignX == 'right') { if (this.documentWidth > this.imgWidth + this.offsetX) this.left = this.scrollLeft + this.documentWidth - this.imgWidth - this.offsetX; else this.left = this.scrollLeft + this.offsetX; } else { if (this.documentWidth > this.imgWidth) this.left = this.scrollLeft + this.offsetX + this.documentWidth/2 - this.imgWidth/2 ; else this.left = this.scrollLeft + this.offsetX; } if (this.alignY == 'top') { this.top = this.scrollTop + this.offsetY; } else if (this.alignY == 'buttom') { if (this.documentHeight > this.imgHeight + this.offsetY) this.top = this.scrollTop + this.documentHeight - this.imgHeight - this.offsetY; else this.top = this.scrollTop + this.offsetY; } else { if (this.documentHeight > this.imgHeight) this.top = this.scrollTop + this.documentHeight/2 - this.imgHeight/2; else this.top = this.scrollTop + this.offsetY; } }else{ this.top = this.scrollTop + this.offsetY; this.left = this.scrollLeft + this.offsetX; } if (this.left != this.left_last || this.top != this.top_last) { if (document.getElementById(this.id)) { var floater = document.getElementById(this.id); //this.innerHTML = '
' +'scrollTop='+this.scrollTop+'
top='+this.top+'
offsetY='+ this.offsetY+'
msoffsetY='+ this.msoffsetY + this.imgStr + '
'; this.innerHTML = '
' + this.imgStr + '
'; floater.innerHTML = this.innerHTML; } this.left_last = this.left; this.top_last = this.top; } } } if(typeof(HJFloater_popchatwindow) != 'function') { function HJFloater_popchatwindow() { var url = ''; var chatwindow = window.open(url, '_blank', 'toolbar=no,location=no,directories=no,scrollbars=no,menubar=no,width=690,height=543,resizable=no,left=0,top=0, status=no'); chatwindow.focus(); } } if(typeof(HJFloater_startmove) != 'function') { function HJFloater_startmove() { this.flagmousedown = true; this.msoffsetX = event.clientX - parseInt(this.left); this.msoffsetY = event.clientY - parseInt(this.top); } } if(typeof(HJFloater_moving) != 'function') { function HJFloater_moving() { if (this.flagmousedown) { this.left = event.clientX - this.msoffsetX; this.top = event.clientY - this.msoffsetY; this.offsetX = this.left - this.scrollLeft; this.offsetY = this.top - this.scrollTop this.innerHTML = '
' + this.imgStr + '
'; var floater = document.getElementById(this.id); floater.innerHTML = this.innerHTML; } } } if(typeof(HJFloater_stopmove) != 'function') { function HJFloater_stopmove() { this.flagmousedown = false; } } if (typeof(objNowHJLiveChat_EventObject) == 'undefined') {var objNowHJLiveChat_EventObject = null;} if (typeof(aryHJLiveChat_IconID) == 'undefined') {var aryHJLiveChat_IconID = Array();} if (typeof(aryHJLiveChat_IconObject) == 'undefined') {var aryHJLiveChat_IconObject = Array();} if(typeof(HJLiveChatIcon_getobj) != 'function') { function HJLiveChatIcon_getobj() { objNowHJLiveChat_EventObject = event.srcElement; while (objNowHJLiveChat_EventObject.id.indexOf("idHJLiveChat_") == -1) { objNowHJLiveChat_EventObject = objNowHJLiveChat_EventObject.parentElement; if (objNowHJLiveChat_EventObject == null) { return null; } } if (typeof(objNowHJLiveChat_EventObject.id) != "undefined") { for (var i=0; i <= aryHJLiveChat_IconID.length; i++) { if (objNowHJLiveChat_EventObject.id == aryHJLiveChat_IconID[i]) return aryHJLiveChat_IconObject[i]; } } } } if(typeof(HJLiveChatIcon_startmove) != 'function') { function HJLiveChatIcon_startmove() { var obj = HJLiveChatIcon_getobj(); if (obj != null) { obj.startmove(); } } } if(typeof(HJLiveChatIcon_moving) != 'function') { function HJLiveChatIcon_moving() { var obj = HJLiveChatIcon_getobj(); if (obj != null) { obj.moving(); } } } if(typeof(HJLiveChatIcon_stopmove) != 'function') { function HJLiveChatIcon_stopmove() { var obj = HJLiveChatIcon_getobj(); if (obj != null) { obj.stopmove(); } } } if(typeof(HJLiveChatIcon_showList) != 'function') { function HJLiveChatIcon_showList(tbid, imgid) { if (document.getElementById(tbid).style.display == '') { document.getElementById(tbid).style.display = 'none'; document.getElementById(imgid).src = 'http://cs.5107.cn/v4/images/icon_list_open.gif'; var obj = HJLiveChatIcon_getobj(); if (obj != null) { var oldSrc = obj.imgStr; var re = /style='display:'/g; var newSrc = oldSrc.replace(re, "style='display:none'"); var re = /icon_list_close.gif/g; newSrc = newSrc.replace(re, "icon_list_open.gif"); obj.imgStr = newSrc; } } else { document.getElementById(tbid).style.display = ''; document.getElementById(imgid).src = 'http://cs.5107.cn/v4/images/icon_list_close.gif'; var obj = HJLiveChatIcon_getobj(); if (obj != null) { var oldSrc = obj.imgStr; var re = /style='display:none'/g; var newSrc = oldSrc.replace(re, "style='display:'"); var re = /icon_list_open.gif/g; newSrc = newSrc.replace(re, "icon_list_close.gif"); obj.imgStr = newSrc; } } } } if(typeof(HJLiveChatIcon_ImgMouseOver) != 'function') { function HJLiveChatIcon_ImgMouseOver(obj) { var oldSrc = obj.src; var re = /.gif/g; var newSrc = oldSrc.replace(re, '_over.gif'); obj.src = newSrc; } } if(typeof(HJLiveChatIcon_ImgMouseOut) != 'function') { function HJLiveChatIcon_ImgMouseOut(obj) { var oldSrc = obj.src; var re = /_over.gif/g; var newSrc = oldSrc.replace(re, '.gif'); obj.src = newSrc; } } var objHJLiveChat_IconList_48_5 = new HJFloater("idHJLiveChat_IconList_48_5", "tbHJLiveChat_IconList_Main_48_5", "
MSN Online
MSN Online Status Indicator
MSN Online Status Indicator

", 100, 100, "right", "middle", 0, 0);setInterval("objHJLiveChat_IconList_48_5.float();",200);aryHJLiveChat_IconID.push("idHJLiveChat_IconList_48_5"); aryHJLiveChat_IconObject.push(objHJLiveChat_IconList_48_5); //document.onmousedown = HJLiveChatIcon_startmove; //document.onmousemove = HJLiveChatIcon_moving; //document.onmouseup = HJLiveChatIcon_stopmove;