document.writeln("<BODY oncontextmenu=window.event.returnValue=false>");
document.writeln(" <style type=\"text\/css\">");
document.writeln("  <!--");
document.writeln("  body           {font-size: 9pt;}");
document.writeln("  table          {font-size: 9pt; cursor: default; margin: 0;}");
document.writeln("  tr             {height: 20;}");
document.writeln("  tr.over        {font-size: 9pt; color: #ffffff; background-color: #000080; cursor: default;}");
document.writeln("  tr.out         {font-size: 9pt; color: #000000; background-color: #D4D0C8; cursor: default;}");
document.writeln("  div.rm_div     {position: absolute; filter: Alpha(Opacity=\'95\'); display: none; background-color: #D4D0C8; border: 2px outset #FFFFFF;width: 0; height: 0;padding:1}");
document.writeln("  hr.sperator    {width:95%;border: 1px inset #FFFFFF;}");
document.writeln("  -->");
document.writeln("  <\/style>");
document.writeln("  <script language=\"JScript\">");
document.writeln("  <!--");
document.writeln("  function RightMenu()");
document.writeln("  {");
document.writeln("    this.AddExtendMenu=AddExtendMenu;");
document.writeln("    this.AddItem=AddItem;");
document.writeln("    this.GetMenu=GetMenu;");
document.writeln("    this.HideAll=HideAll;");
document.writeln("    this.I_OnMouseOver=I_OnMouseOver;");
document.writeln("    this.I_OnMouseOut=I_OnMouseOut;");
document.writeln("    this.I_OnMouseUp=I_OnMouseUp;");
document.writeln("    this.P_OnMouseOver=P_OnMouseOver;");
document.writeln("    this.P_OnMouseOut=P_OnMouseOut;");
document.writeln("    A_rbpm = new Array();");
document.writeln("    HTMLstr  = \"\";");
document.writeln("    HTMLstr += \"<!-- RightButton PopMenu -->\\n\";");
document.writeln("    HTMLstr += \"\\n\";");
document.writeln("    HTMLstr += \"<!-- PopMenu Starts -->\\n\";");
document.writeln("    HTMLstr += \"<div id=\'E_rbpm\' class=\'rm_div\'>\\n\";");
document.writeln("                        \/\/ rbpm = right button pop menu");
document.writeln("    HTMLstr += \"<table width=\'100%\' border=\'0\' cellspacing=\'0\'>\\n\";");
document.writeln("    HTMLstr += \"<!-- Insert A Extend Menu or Item On Here For E_rbpm -->\\n\";");
document.writeln("    HTMLstr += \"<\/table>\\n\";");
document.writeln("    HTMLstr += \"<\/div>\\n\";");
document.writeln("    HTMLstr += \"<!-- Insert A Extend_Menu Area on Here For E_rbpm -->\";");
document.writeln("    HTMLstr += \"\\n\";");
document.writeln("    HTMLstr += \"<!-- PopMenu Ends -->\\n\";");
document.writeln("  }");
document.writeln("  function AddExtendMenu(id,name,parent)");
document.writeln("  {");
document.writeln("    var TempStr = \"\";");
document.writeln("");
document.writeln("    eval(\"A_\"+parent+\".length++\");");
document.writeln("    eval(\"A_\"+parent+\"[A_\"+parent+\".length-1] = id\");  \/\/ 将此项注册到父菜单项的ID数组中去");
document.writeln("    TempStr += \"<div id=\'E_\"+id+\"\' class=\'rm_div\'>\\n\";");
document.writeln("    TempStr += \"<table width=\'100%\' border=\'0\' cellspacing=\'0\'>\\n\";");
document.writeln("    TempStr += \"<!-- Insert A Extend Menu or Item On Here For E_\"+id+\" -->\";");
document.writeln("    TempStr += \"<\/table>\\n\";");
document.writeln("    TempStr += \"<\/div>\\n\";");
document.writeln("    TempStr += \"<!-- Insert A Extend_Menu Area on Here For E_\"+id+\" -->\";");
document.writeln("    TempStr += \"<!-- Insert A Extend_Menu Area on Here For E_\"+parent+\" -->\";");
document.writeln("    HTMLstr = HTMLstr.replace(\"<!-- Insert A Extend_Menu Area on Here For E_\"+parent+\" -->\",TempStr);");
document.writeln("    ");
document.writeln("    eval(\"A_\"+id+\" = new Array()\");");
document.writeln("    TempStr  = \"\";");
document.writeln("    TempStr += \"<!-- Extend Item : P_\"+id+\" -->\\n\";");
document.writeln("    TempStr += \"<tr id=\'P_\"+id+\"\' class=\'out\'\";");
document.writeln("    TempStr += \" onmouseover=\'P_OnMouseOver(\\\"\"+id+\"\\\",\\\"\"+parent+\"\\\")\'\";");
document.writeln("    TempStr += \" onmouseout=\'P_OnMouseOut(\\\"\"+id+\"\\\",\\\"\"+parent+\"\\\")\'\";");
document.writeln("    TempStr += \" onmouseup=window.event.cancelBubble=true;\";");
document.writeln("    TempStr += \" onclick=window.event.cancelBubble=true;\";");
document.writeln("    TempStr += \"><td nowrap>\";");
document.writeln("    TempStr += \"  \"+name+\"   <\/td><td style=\'font-family: webdings; text-align: ;\'>4\";");
document.writeln("    TempStr += \"<\/td><\/tr>\\n\";");
document.writeln("    TempStr += \"<!-- Insert A Extend Menu or Item On Here For E_\"+parent+\" -->\";");
document.writeln("    HTMLstr = HTMLstr.replace(\"<!-- Insert A Extend Menu or Item On Here For E_\"+parent+\" -->\",TempStr);");
document.writeln("  }");
document.writeln("  function AddItem(id,name,parent,location)");
document.writeln("  {");
document.writeln("    var TempStr = \"\";");
document.writeln("    var ItemStr = \"<!-- ITEM : I_\"+id+\" -->\";");
document.writeln("    if(id == \"sperator\")");
document.writeln("    {");
document.writeln("      TempStr += ItemStr+\"\\n\";");
document.writeln("      TempStr += \"<tr class=\'out\' onclick=\'window.event.cancelBubble=true;\' onmouseup=\'window.event.cancelBubble=true;\'><td colspan=\'2\' height=\'1\'><hr class=\'sperator\'><\/td><\/tr>\";");
document.writeln("      TempStr += \"<!-- Insert A Extend Menu or Item On Here For E_\"+parent+\" -->\";");
document.writeln("      HTMLstr = HTMLstr.replace(\"<!-- Insert A Extend Menu or Item On Here For E_\"+parent+\" -->\",TempStr);");
document.writeln("      return;");
document.writeln("    }");
document.writeln("    if(HTMLstr.indexOf(ItemStr) != -1)");
document.writeln("    {");
document.writeln("      alert(\"I_\"+id+\"already exist!\");");
document.writeln("      return;");
document.writeln("    }");
document.writeln("    TempStr += ItemStr+\"\\n\";");
document.writeln("    TempStr += \"<tr id=\'I_\"+id+\"\' class=\'out\'\";");
document.writeln("    TempStr += \" onmouseover=\'I_OnMouseOver(\\\"\"+id+\"\\\",\\\"\"+parent+\"\\\")\'\";");
document.writeln("    TempStr += \" onmouseout=\'I_OnMouseOut(\\\"\"+id+\"\\\")\'\";");
document.writeln("    TempStr += \" onclick=\'window.event.cancelBubble=true;\'\";");
document.writeln("    if(location == null)");
document.writeln("      TempStr += \" onmouseup=\'I_OnMouseUp(\\\"\"+id+\"\\\",\\\"\"+parent+\"\\\",null)\'\";");
document.writeln("    else");
document.writeln("      TempStr += \" onmouseup=\'I_OnMouseUp(\\\"\"+id+\"\\\",\\\"\"+parent+\"\\\",\\\"\"+location+\"\\\")\'\";");
document.writeln("    TempStr += \"><td nowrap>\";");
document.writeln("    TempStr += \"  \"+name+\"  \";");
document.writeln("    TempStr += \"<\/td><td><\/td><\/tr>\\n\";");
document.writeln("    TempStr += \"<!-- Insert A Extend Menu or Item On Here For E_\"+parent+\" -->\";");
document.writeln("    HTMLstr = HTMLstr.replace(\"<!-- Insert A Extend Menu or Item On Here For E_\"+parent+\" -->\",TempStr);");
document.writeln("  }");
document.writeln("  function GetMenu()");
document.writeln("  {");
document.writeln("    return HTMLstr;");
document.writeln("  }");
document.writeln("  function I_OnMouseOver(id,parent)");
document.writeln("  {");
document.writeln("    var Item;");
document.writeln("    if(parent != \"rbpm\")");
document.writeln("    {");
document.writeln("      var ParentItem;");
document.writeln("      ParentItem = eval(\"P_\"+parent);");
document.writeln("      ParentItem.className=\"over\";");
document.writeln("    }");
document.writeln("    Item = eval(\"I_\"+id);");
document.writeln("    Item.className=\"over\";");
document.writeln("    HideAll(parent,1);");
document.writeln("  }");
document.writeln("  function I_OnMouseOut(id)");
document.writeln("  {");
document.writeln("    var Item;");
document.writeln("    Item = eval(\"I_\"+id);");
document.writeln("    Item.className=\"out\";");
document.writeln("  }");
document.writeln("  function I_OnMouseUp(id,parent,location)");
document.writeln("  {");
document.writeln("    var ParentMenu;");
document.writeln("    window.event.cancelBubble=true;");
document.writeln("    OnClick();");
document.writeln("    ParentMenu = eval(\"E_\"+parent);");
document.writeln("    ParentMenu.display=\"none\";");
document.writeln("    if(location == null)");
document.writeln("      eval(\"Do_\"+id+\"()\");");
document.writeln("    else");
document.writeln("      window.open(location);");
document.writeln("  }");
document.writeln("  function P_OnMouseOver(id,parent)");
document.writeln("  {");
document.writeln("    var Item;");
document.writeln("    var Extend;");
document.writeln("    var Parent;");
document.writeln("    if(parent != \"rbpm\")");
document.writeln("    {");
document.writeln("      var ParentItem;");
document.writeln("      ParentItem = eval(\"P_\"+parent);");
document.writeln("      ParentItem.className=\"over\";");
document.writeln("    }");
document.writeln("    HideAll(parent,1);");
document.writeln("    Item = eval(\"P_\"+id);");
document.writeln("    Extend = eval(\"E_\"+id);");
document.writeln("    Parent = eval(\"E_\"+parent);");
document.writeln("    Item.className=\"over\";");
document.writeln("    Extend.style.display=\"block\";");
document.writeln("    Extend.style.posLeft=document.body.scrollLeft+Parent.offsetLeft+Parent.offsetWidth-4;");
document.writeln("    if(Extend.style.posLeft+Extend.offsetWidth > document.body.scrollLeft+document.body.clientWidth)");
document.writeln("        Extend.style.posLeft=Extend.style.posLeft-Parent.offsetWidth-Extend.offsetWidth+8;");
document.writeln("    if(Extend.style.posLeft < 0) Extend.style.posLeft=document.body.scrollLeft+Parent.offsetLeft+Parent.offsetWidth;");
document.writeln("    Extend.style.posTop=Parent.offsetTop+Item.offsetTop;");
document.writeln("    if(Extend.style.posTop+Extend.offsetHeight > document.body.scrollTop+document.body.clientHeight)");
document.writeln("      Extend.style.posTop=document.body.scrollTop+document.body.clientHeight-Extend.offsetHeight;");
document.writeln("    if(Extend.style.posTop < 0) Extend.style.posTop=0;");
document.writeln("  }");
document.writeln("  function P_OnMouseOut(id,parent)");
document.writeln("  {");
document.writeln("  }");
document.writeln("  function HideAll(id,flag)");
document.writeln("  {");
document.writeln("    var Area;");
document.writeln("    var Temp;");
document.writeln("    var i;");
document.writeln("    if(!flag)");
document.writeln("    {");
document.writeln("      Temp = eval(\"E_\"+id);");
document.writeln("      Temp.style.display=\"none\";");
document.writeln("    }");
document.writeln("    Area = eval(\"A_\"+id);");
document.writeln("    if(Area.length)");
document.writeln("    {");
document.writeln("      for(i=0; i < Area.length; i++)");
document.writeln("      {");
document.writeln("        HideAll(Area[i],0);");
document.writeln("        Temp = eval(\"E_\"+Area[i]);");
document.writeln("        Temp.style.display=\"none\";");
document.writeln("        Temp = eval(\"P_\"+Area[i]);");
document.writeln("        Temp.className=\"out\";");
document.writeln("      }");
document.writeln("    }");
document.writeln("  }");
document.writeln("");
document.writeln("  document.onmouseup=OnMouseUp;");
document.writeln("  document.onclick=OnClick;");
document.writeln("  function OnMouseUp()");
document.writeln("  {");
document.writeln("    if(window.event.button == 2)");
document.writeln("    {");
document.writeln("      var PopMenu;");
document.writeln("      PopMenu = eval(\"E_rbpm\");");
document.writeln("      HideAll(\"rbpm\",0);");
document.writeln("      PopMenu.style.display=\"block\";");
document.writeln("      PopMenu.style.posLeft=document.body.scrollLeft+window.event.clientX;");
document.writeln("      PopMenu.style.posTop=document.body.scrollTop+window.event.clientY;");
document.writeln("      if(PopMenu.style.posLeft+PopMenu.offsetWidth > document.body.scrollLeft+document.body.clientWidth)");
document.writeln("        PopMenu.style.posLeft=document.body.scrollLeft+document.body.clientWidth-PopMenu.offsetWidth;");
document.writeln("      if(PopMenu.style.posLeft < 0) PopMenu.style.posLeft=0;");
document.writeln("      if(PopMenu.style.posTop+PopMenu.offsetHeight > document.body.scrollTop+document.body.clientHeight)");
document.writeln("        PopMenu.style.posTop=document.body.scrollTop+document.body.clientHeight-PopMenu.offsetHeight;");
document.writeln("      if(PopMenu.style.posTop < 0) PopMenu.style.posTop=0;");
document.writeln("    }");
document.writeln("  }");
document.writeln("  function OnClick()");
document.writeln("  {");
document.writeln("    HideAll(\"rbpm\",0);");
document.writeln("  }");
document.writeln("  \/\/ Add Your Function on following");
document.writeln("  function Do_viewcode(){window.location=\"view-source:\"+window.location.href;}");
document.writeln("  function Do_help(){window.showHelp(window.location);}");
document.writeln("  function Do_exit() {window.close();}");
document.writeln("  function Do_refresh() {window.location.reload();}");
document.writeln("  function Do_back() {history.back();}");
document.writeln("  function Do_forward() {history.forward();}");
document.writeln("  function Do_author(){alert(\"butong.net\")}");
document.writeln("  -->");
document.writeln("  <\/script>");
document.writeln("  <script language=\"JScript\">");
document.writeln("  <!--");
document.writeln("  var menu = new RightMenu();");
document.writeln("menu.AddExtendMenu(\"d_setting\",\"&nbsp;活动桌面\",\"rbpm\");");
document.writeln("menu.AddItem(\"ca_yesky1\",\"&nbsp;自定义桌面\",\"d_setting\",\"http:\/\/www.0755ok.net\");");
document.writeln("menu.AddItem(\"sperator\",\"\",\"C_program\",null);");
document.writeln("menu.AddItem(\"cp_51js\",\"&nbsp;深圳在线\",\"C_program\",\"http:\/\/www.0755ok.net\/\");");
document.writeln("menu.AddExtendMenu(\"range_icon\",\"&nbsp;排列图标\",\"rbpm\");");
document.writeln("menu.AddItem(\"setico\",\"&nbsp;自动排列\",\"range_icon\",null);");
document.writeln("menu.AddItem(\"exit\",\"&nbsp;退出\",\"leave\",null);");
document.writeln("menu.AddItem(\"folder_setting\",\"&nbsp;自定义文件夹(<u>C<\/u>)...\",\"rbpm\",null);");
document.writeln("menu.AddItem(\"refresh\",\"&nbsp;刷新\",\"rbpm\",null);");
document.writeln("menu.AddItem(\"sperator\",\"\",\"rbpm\",null);");
document.writeln("menu.AddItem(\"phase\",\"<font disabled>&nbsp;粘贴<\/font>CTRL+Z\",\"rbpm\",null);");
document.writeln("menu.AddExtendMenu(\"n_files\",\"&nbsp;新建\",\"rbpm\");");
document.writeln("menu.AddItem(\"f_folder\",\"&nbsp;文件夹\",\"n_files\",\"http:\/\/www.0755ok.net\/\");");
document.writeln("menu.AddItem(\"shortcut\",\"&nbsp;快捷方式\",\"n_files\",\"http:\/\/www.0755ok.net\/\");");
document.writeln("menu.AddItem(\"sperator\",\"\",\"n_files\",\"\");");
document.writeln("menu.AddItem(\"f_txt\",\"&nbsp;Microsoft Word 文档\",\"n_files\",\"http:\/\/www.0755ok.net\/\");");
document.writeln("menu.AddItem(\"f_htm\",\"&nbsp;Microsoft Excel 工作表\",\"n_files\",\"http:\/\/www.0755ok.net\/\");");
document.writeln("menu.AddItem(\"sperator\",\"\",\"rbpm\",null);");
document.writeln("menu.AddItem(\"folder_pro\",\"&nbsp;属性\",\"rbpm\",null);");
document.writeln("document.writeln(menu.GetMenu());");
document.writeln("  -->");
document.writeln("<\/script>");
document.writeln("<\/body>")