//输出帮助所需的层代码
function WriteHelpDIV(HelpURL)
{
    var strDIV;
    strDIV = "";

    strDIV += "<div id=\"LayHelpFrame\" style=\"position:absolute; width:560px; height:260px; z-index:100;  border:1px solid #666666;left: 165px; top: 471px; display:none; filter:progid:DXImageTransform.Microsoft.Shadow(Color=#333333,Direction=120,strength=5);overflow: visible;\" class=\"helpDIV\">";
    strDIV +="<table width=\"100%\"  border=\"0\" cellspacing=\"0\" cellpadding=\"3\">";
    strDIV +="  <tr>";
    strDIV +="    <td bgcolor=\"#EEEEEE\"> 帮助<\/td>";
    strDIV +="	<td bgcolor=\"#EEEEEE\" align=\"right\"><a style=\"cursor:hand\" onMouseDown=\"javascript:CloseHelpFrame();\">关闭 <\/a><\/td>";
    strDIV +="  <\/tr>";
    strDIV +="<\/table>";
    strDIV +="<iframe id=\"HelpFrame\" name=\"HelpFrame\" src=\"" + HelpURL + "\" frameborder=\"0\" width=\"560px\" height=\"230px\" scrolling=\"auto\"><\/iframe>";
    strDIV +="<\/div>";
    document.write(strDIV);

}

//查看帮助的事件
function showHelpFrame(obj)
{
  var LayHelpFrames = document.getElementById("LayHelpFrame");
  if(LayHelpFrames==null)
   {
    alert("页面加载完成后才能显示帮助，或者本页面暂无帮助！");
    return;
   }
    LayHelpFrames.style.display="block";   
//    LayHelpFrames.style.left=window.event.x;
//    LayHelpFrames.style.top = window.event.y;
}


//查看帮助的事件,Addx为动态增加的水平位移,Addy是垂直位移
function showHelpFrame(obj,Addx, Addy)
{
  var LayHelpFrames = document.getElementById("LayHelpFrame");
  if(LayHelpFrames==null)
   {
    alert("页面加载完成后才能显示帮助，或者本页面暂无帮助！");
    return;
   }
    LayHelpFrames.style.display="block";   
//    LayHelpFrames.style.left=window.event.x + Addx;
//    LayHelpFrames.style.top = window.event.y + Addy;
}

//状态栏显示文字
document.write("<script language=\"JavaScript\">var scrtxt=\"欢迎光临宽高学习网\";var lentxt=scrtxt.length;var width=100;var pos=1-width;");

document.write("function scroll() {pos++;var scroller='';");
 document.write(" if (pos==lentxt) {    pos=1-width;  }");
 document.write(" if (pos<0) { for (var i=1; i<=Math.abs(pos); i++) {scroller=scroller+' ';}scroller=scroller+scrtxt.substring(0,width-i+1);}");
 document.write(" else { scroller=scroller+scrtxt.substring(pos,width+pos);  }");
  document.write("window.status = scroller;");
 document.write(" setTimeout('scroll()',200);}");
 document.write(" window.onload=scroll;");
document.write("</script>");

//关闭帮助的事件

function CloseHelpFrame()
{
 var LayHelpFrames = document.getElementById("LayHelpFrame");
 LayHelpFrames.style.display="none";
}


//开始输出客服所需的跟踪代码
document.write("<scrip");
document.write("t language=\"javascript\"");
document.write("src=\"http://chat.live800.com/live800/chatClient/monitor.js?jid=6452989878&companyID=60628&configID=43639&codeType=custom\"></");
document.write("script>");
//结束客服跟踪代码

//开始第三方访问统计代码
document.write("<div style=\"DISPLAY:none;LEFT:-50px\"><scri");
document.write("pt src=\"http://s55.cnzz.com/stat.php?id=213991&amp;web_id=213991&amp;show=pic1\" language=\"JavaScript\" charset=\"gb2312\"></");
document.write("script></div>");
//结束第三方访问统计代码

//开始GOOGLE访问统计代码
document.write("<scrip");
document.write("t type=\"text/javascript\"> var gaJsHost = ((\"https:\" == document.location.protocol) ? \"https://ssl.\" : \"http://www.\");");
document.write("document.write(unescape(\"%3Cscript src='\" + gaJsHost + \"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E\"));</script>");
document.write("<script language=\"text/javascript\">try {var pageTracker = _gat._getTracker(\"UA-8745721-2\");pageTracker._trackPageview();alert(pageTracker);} catch(err) {}</");
document.write("script>");
//结束GOOGLE访问统计代码
