function ExpandGroupList(obj) { var x, dis; if (obj.node == 1) { obj.node = 0; obj.src = "http://www.dooite.com:80/pic/plus1.gif"; dis = "none"; } else { obj.node = 1; dis = "inline"; obj.src = "http://www.dooite.com:80/pic/minus1.gif"; } for(var x = obj.parentNode.parentNode.rowIndex + 1; x < document.all.CTState.rows.length; x ++) { if (document.all.CTState.rows[x].cells.length == 1) break; document.all.CTState.rows[x].style.display = dis; } } function ActiveService(nMode) { if (nMode == 1) document.all.TitleID.style.backgroundColor = "#10246A"; else document.all.TitleID.style.backgroundColor = "gray"; } function MinimizeServiceWin() { if (document.all.MainServiceTR.style.display == "none") { document.all.MainServiceTR.style.display = "inline"; document.all.MinImg.src = "http://www.dooite.com:80/pic/Minimize.gif"; } else { document.all.MainServiceTR.style.display = "none"; document.all.MinImg.src = "http://www.dooite.com:80/pic/Maximize.GIF"; } } var g_oDrag, g_posX, g_posY; function WOLBeginDrag(obj) { document.body.setActive(); document.onmousemove = WOLDragingObj; document.onmouseup = WOLEndDragObj; document.ondragstart = WOLDragingObj; g_posX = event.screenX - obj.style.pixelLeft; g_posY = event.screenY - obj.style.pixelTop; obj.style.zIndex += 1; obj.setCapture(); obj.setActive(); if (typeof(g_oDrag) == "object") g_oDrag.style.zIndex = g_oDrag.oldIndex; g_oDrag = obj; g_oDrag.oldIndex = g_oDrag.style.zIndex; g_oDrag.style.zIndex = 50; } function WOLDragingObj() { g_oDrag.style.pixelLeft = event.screenX - g_posX; g_oDrag.style.pixelTop = event.screenY - g_posY; event.returnValue = false; } function WOLEndDragObj() { document.onmousemove = null; document.onmouseup = null; document.ondragstart = null; document.releaseCapture(); document.onmousemove = null; g_oDrag.oldx = g_oDrag.style.pixelLeft - document.body.scrollLeft; g_oDrag.oldy = g_oDrag.style.pixelTop - document.body.scrollTop; } function PushButton(obj) { obj.style.borderLeftColor = "#404040"; obj.style.borderTopColor = "#404040"; obj.style.borderRightColor = "white"; obj.style.borderBottomColor = "white"; obj.all.MinImg.style.borderLeft = "1px solid #808080"; obj.all.MinImg.style.borderTop = "1px solid #808080"; obj.all.MinImg.style.borderRight = "0px none"; obj.all.MinImg.style.borderBottom = "0px none"; event.cancelBubble = true; } function PopButton(obj) { obj.style.borderLeftColor = "white"; obj.style.borderTopColor = "white"; obj.style.borderRightColor = "#404040"; obj.style.borderBottomColor = "#404040"; obj.all.MinImg.style.borderLeft = "0px none"; obj.all.MinImg.style.borderTop = "0px none"; obj.all.MinImg.style.borderRight = "1px solid #808080"; obj.all.MinImg.style.borderBottom = "1px solid #808080"; } var g_nUsers = 0; function UserChange(UserName, nChange) { if ((UserName == "客人") || (UserName.indexOf("G_") == 0)) return; switch (nChange) { case 1: g_nUsers ++; break; case 2: g_nUsers --; break; case 3: g_nUsers = 0; break; default: break; } CheckState(UserName, nChange); } function CheckState(UserName, nChange) { for (var x = 0; x < CTState.rows.length; x++) { if (((UserName == CTState.rows[x].cells[0].node) || (nChange == 3)) && (CTState.rows[x].cells.length > 1)) { if (nChange == 1) { CTState.rows[x].style.color = "black"; CTState.rows[x].cells[1].innerText = "[交谈]"; CTState.rows[x].online = 1; CTState.rows[x].all.UserImg.src = "http://www.dooite.com:80/pic/msn.gif"; } else { CTState.rows[x].style.color = "gray"; CTState.rows[x].cells[1].innerText = "[留言]"; CTState.rows[x].all.UserImg.src = "http://www.dooite.com:80/pic/msn1.gif"; CTState.rows[x].online = 0; } } } } var oPopTimer; function ShowPageMessage(msg) { var ss = msg.split("|"); document.all.JNet_MsgBox.msg = msg; document.all.JNet_MsgBox.style.width = 240; document.all.JNet_MsgBox.style.height = 180; document.body.focus(); document.all.JNet_MsgBox.contentWindow.document.write("
" + "| " + ss[2] + ": | " +
"![]() | |
| " +
" " + ss[5] +
" | ||
| ||||||||||||||||||||||||
| ||||||||||||||||||||||||