document.writeln("<style type=\"text\/css\">");
document.writeln("body{font-size:12px;color:#000000}");
document.writeln("td{font-size:12px;color:#000000}");
document.writeln("a:link{font-size:12px;color:#000000}");
document.writeln("<\/style>");
document.writeln("<script language=\"javascript\">");
document.writeln("var pltsPop=null;");
document.writeln("var pltsoffsetX = 12; \/\/ 弹出窗口位于鼠标左侧或者右侧的距离；3-12 合适");
document.writeln("var pltsoffsetY = 3; \/\/ 弹出窗口位于鼠标下方的距离；3-12 合适");
document.writeln("var pltsTitle=\"\";");
document.writeln("document.write(\'<div id=pltsTipLayer style=\"display: none;position: absolute; z-index:10001\"><\/div>\');");
document.writeln("function pltsinits()");
document.writeln("{");
document.writeln(" document.onmouseover = plts;");
document.writeln(" document.onmousemove = moveToMouseLoc;");
document.writeln("}");
document.writeln("function plts()");
document.writeln("{ var o=event.srcElement;");
document.writeln(" if(o.alt!=null  &&  o.alt!=\"\"){o.dypop=o.alt;o.alt=\"\"};");
document.writeln(" if(o.title!=null  &&  o.title!=\"\"){o.dypop=o.title;o.title=\"\"};");
document.writeln(" pltsPop=o.dypop;");
document.writeln(" if(pltsPop!=null && pltsPop!=\"\" && typeof(pltsPop)!=\"undefined\")");
document.writeln(" {");
document.writeln(" pltsTipLayer.style.left=-1000;");
document.writeln(" pltsTipLayer.style.display=\'\';");
document.writeln(" var Msg=pltsPop.replace(\/\\n\/g,\"<br>\");");
document.writeln(" Msg=Msg.replace(\/\\0x13\/g,\"<br>\");");
document.writeln(" var re=\/\\{(.[^\\{]*)\\}\/ig;");
document.writeln(" if(!re.test(Msg))pltsTitle=\"『水净化 问三达』\";");
document.writeln(" else{");
document.writeln(" re=\/\\{(.[^\\{]*)\\}(.*)\/ig;");
document.writeln(" pltsTitle=Msg.replace(re,\"$1\")+\" \";");
document.writeln(" re=\/\\{(.[^\\{]*)\\}\/ig;");
document.writeln(" Msg=Msg.replace(re,\"\");");
document.writeln(" Msg=Msg.replace(\"<br>\",\"\");}");
document.writeln(" var content =");
document.writeln(" \'<table style=\"FILTER:alpha(opacity=90);border: 1px solid #cccccc\" id=\"toolTipTalbe\" cellspacing=\"1\" cellpadding=\"0\"><tr><td width=\"100%\"><table bgcolor=\"#ffffff\" cellspacing=\"0\" cellpadding=\"0\">\'+");
document.writeln(" \'<tr id=\"pltsPoptop\"><td height=\"20\" bgcolor=\"#0094bb\"><font color=\"#ffffff\"><b><p id=\"topleft\" align=\"left\">↖\'+pltsTitle+\'<\/p><p id=\"topright\" align=\"right\" style=\"display:none\">\'+pltsTitle+\'↗<\/font><\/b><\/font><\/td><\/tr>\'+");
document.writeln(" \'<tr><td \"+attr+\" style=\"padding-left:10px;padding-right:10px;padding-top: 8px;padding-bottom:6px;line-height:140%\">\'+Msg+\'<\/td><\/tr>\'+");
document.writeln(" \'<tr id=\"pltsPopbot\" style=\"display:none\"><td height=\"20\" bgcolor=\"#0094bb\"><font color=\"#ffffff\"><b><p id=\"botleft\" align=\"left\">↙\'+pltsTitle+\'<\/p><p id=\"botright\" align=\"right\" style=\"display:none\">\'+pltsTitle+\'↘<\/font><\/b><\/font><\/td><\/tr>\'+");
document.writeln(" \'<\/table><\/td><\/tr><\/table>\';");
document.writeln(" pltsTipLayer.innerHTML=content;");
document.writeln(" toolTipTalbe.style.width=Math.min(pltsTipLayer.clientWidth,document.body.clientWidth\/2.2);");
document.writeln(" moveToMouseLoc();");
document.writeln(" return true;");
document.writeln(" }");
document.writeln(" else");
document.writeln(" {");
document.writeln(" pltsTipLayer.innerHTML=\'\';");
document.writeln(" pltsTipLayer.style.display=\'none\';");
document.writeln(" return true;");
document.writeln(" }");
document.writeln("}");
document.writeln("function moveToMouseLoc()");
document.writeln("{");
document.writeln(" if(pltsTipLayer.innerHTML==\'\')return true;");
document.writeln(" var MouseX=event.x;");
document.writeln(" var MouseY=event.y;");
document.writeln(" var popHeight=pltsTipLayer.clientHeight;");
document.writeln(" var popWidth=pltsTipLayer.clientWidth;");
document.writeln(" if(MouseY+pltsoffsetY+popHeight>document.body.clientHeight)");
document.writeln(" {");
document.writeln(" popTopAdjust=-popHeight-pltsoffsetY*1.5;");
document.writeln(" pltsPoptop.style.display=\"none\";");
document.writeln(" pltsPopbot.style.display=\"\";");
document.writeln(" }");
document.writeln(" else");
document.writeln(" {");
document.writeln(" popTopAdjust=0;");
document.writeln(" pltsPoptop.style.display=\"\";");
document.writeln(" pltsPopbot.style.display=\"none\";");
document.writeln(" }");
document.writeln(" if(MouseX+pltsoffsetX+popWidth>document.body.clientWidth)");
document.writeln(" {");
document.writeln(" popLeftAdjust=-popWidth-pltsoffsetX*2;");
document.writeln(" topleft.style.display=\"none\";");
document.writeln(" botleft.style.display=\"none\";");
document.writeln(" topright.style.display=\"\";");
document.writeln(" botright.style.display=\"\";");
document.writeln(" }");
document.writeln(" else");
document.writeln(" {");
document.writeln(" popLeftAdjust=0;");
document.writeln(" topleft.style.display=\"\";");
document.writeln(" botleft.style.display=\"\";");
document.writeln(" topright.style.display=\"none\";");
document.writeln(" botright.style.display=\"none\";");
document.writeln(" }");
document.writeln(" pltsTipLayer.style.left=MouseX+pltsoffsetX+document.body.scrollLeft+popLeftAdjust;");
document.writeln(" pltsTipLayer.style.top=MouseY+pltsoffsetY+document.body.scrollTop+popTopAdjust;");
document.writeln(" return true;");
document.writeln("}");
document.writeln("pltsinits();");
document.writeln("<\/script>");
