document.writeln("<script type=\"text/javascript\">");
document.writeln("document.body.oncopy = function () { ");
document.writeln("	setTimeout( function () { ");
document.writeln("		var text = clipboardData.getData(\"text\");");
document.writeln("		if (text) { ");
document.writeln("			text = text + \"\/\/r\/\/n本文来自: 权威易学机构《普渡居》(www.puduju.com) 详细出处参考：\"+location.href; clipboardData.setData(\"text\", text);");
document.writeln("		} ");
document.writeln("				}, 100 ) ");
document.writeln("}");
document.writeln("</script> ");
document.writeln("");
document.writeln("<script>");
document.writeln("<!--");
document.writeln("\/\/ menu object");
document.writeln("function contextMenu()");
document.writeln("{");
document.writeln(" this.items   = new Array();");
document.writeln(" ");
document.writeln(" this.addItem = function (item)");
document.writeln(" {");
document.writeln("  this.items[this.items.length] = item;");
document.writeln(" }");
document.writeln("");
document.writeln(" this.show = function (oDoc)");
document.writeln(" {");
document.writeln("  var strShow = \"\";");
document.writeln("  var i;");
document.writeln("  ");
document.writeln("  strShow = \"<div id=\\\"rightmenu\\\" style=\\\"BACKGROUND-COLOR: #ffffff; BORDER: #000000 1px solid; LEFT: 0px; POSITION: absolute; TOP: 0px; VISIBILITY: hidden; Z-INDEX: 10\\\">\";");
document.writeln("  strShow += \"<table border=\\\"0\\\" height=\\\"\";");
document.writeln("  strShow += this.items.length * 20;");
document.writeln("  strShow += \"\\\" cellpadding=\\\"0\\\" cellspacing=\\\"0\\\">\";");
document.writeln("  strShow += \"<tr height=\\\"3\\\"><td bgcolor=\\\"#d0d0ce\\\" width=\\\"2\\\"><\/td><td>\";");
document.writeln("  strShow += \"<table border=\\\"0\\\" width=\\\"100%\\\" height=\\\"100%\\\" cellpadding=0 cellspacing=0 bgcolor=\\\"#ffffff\\\">\";");
document.writeln("  strShow += \"<tr><td bgcolor=\\\"#d0d0ce\\\" width=\\\"23\\\"><\/td><td><img src=\\\" \\\" height=\\\"1\\\" border=\\\"0\\\"><\/td><\/tr><\/table>\";");
document.writeln("  strShow += \"<\/td><td width=\\\"2\\\"><\/td><\/tr>\";");
document.writeln("  strShow += \"<tr><td bgcolor=\\\"#d0d0ce\\\"><\/td><td>\";");
document.writeln("  strShow += \"<table border=\\\"0\\\" width=\\\"100%\\\" height=\\\"100%\\\" cellpadding=3 cellspacing=0 bgcolor=\\\"#ffffff\\\">\";");
document.writeln("  oDoc.write(strShow);");
document.writeln("  for(i=0; i<this.items.length; i++)");
document.writeln("  {");
document.writeln("   this.items[i].show(oDoc);");
document.writeln("  }");
document.writeln("  strShow = \"<\/table><\/td><td><\/td><\/tr>\";");
document.writeln("  strShow += \"<tr height=\\\"3\\\"><td bgcolor=\\\"#d0d0ce\\\"><\/td><td>\";");
document.writeln("  strShow += \"<table border=\\\"0\\\" width=\\\"100%\\\" height=\\\"100%\\\" cellpadding=0 cellspacing=0 bgcolor=\\\"#ffffff\\\">\";");
document.writeln("  strShow += \"<tr><td bgcolor=\\\"#d0d0ce\\\" width=\\\"23\\\"><\/td><td><img src=\\\" \\\" height=\\\"1\\\" border=\\\"0\\\"><\/td><\/tr><\/table>\";");
document.writeln("  strShow += \"<\/td><td><\/td><\/tr>\";");
document.writeln("  strShow += \"<\/table><\/div>\\n\";");
document.writeln("  oDoc.write(strShow);");
document.writeln(" }");
document.writeln("}");
document.writeln("");
document.writeln("\/\/ menu Item object");
document.writeln("function contextItem(text, icon, cmd, type)");
document.writeln("{");
document.writeln(" this.text = text ? text : \"\";");
document.writeln(" this.icon = icon ? icon : \"\";");
document.writeln(" this.cmd = cmd ? cmd : \"\";");
document.writeln(" this.type = type ? type : \"menu\";");
document.writeln(" ");
document.writeln(" this.show = function (oDoc)");
document.writeln(" {");
document.writeln("  var strShow = \"\";");
document.writeln("  ");
document.writeln("  if(this.type == \"menu\")");
document.writeln("  {");
document.writeln("   strShow += \"<tr \";");
document.writeln("   strShow += \"onmouseover=\\\"changeStyle(this, \'on\');\\\" \";");
document.writeln("   strShow += \"onmouseout=\\\"changeStyle(this, \'out\');\\\" \";");
document.writeln("   strShow += \"onclick=\\\"\";");
document.writeln("   strShow += this.cmd;");
document.writeln("   strShow += \"\\\">\";");
document.writeln("   strShow += \"<td class=\\\"ltdexit\\\" width=\\\"16\\\">\";");
document.writeln("   if (this.icon == \"\")");
document.writeln("    strShow += \" \";");
document.writeln("   else {");
document.writeln("    strShow += \"<img border=\\\"0\\\" src=\\\"\";");
document.writeln("    strShow += this.icon;");
document.writeln("    strShow += \"\\\" width=\\\"16\\\" height=\\\"16\\\" style=\\\"POSITION: relative\\\"><\/img>\";");
document.writeln("   }");
document.writeln("   strShow += \"<\/td><td class=\\\"mtdexit\\\">\";");
document.writeln("   strShow += this.text;");
document.writeln("   strShow += \"<\/td><td class=\\\"rtdexit\\\" width=\\\"5\\\"> <\/td><\/tr>\";");
document.writeln("  }");
document.writeln("  else if (this.type == \"separator\")");
document.writeln("  {");
document.writeln("   strShow += \"<tr><td class=\\\"ltdexit\\\"> <\/td>\";");
document.writeln("   strShow += \"<td class=\\\"mtdexit\\\" colspan=\\\"2\\\"><hr color=\\\"#000000\\\" size=\\\"1\\\"><\/td><\/tr>\";");
document.writeln("  }");
document.writeln("  ");
document.writeln("  oDoc.write(strShow);");
document.writeln(" }");
document.writeln("}");
document.writeln("");
document.writeln("function changeStyle(obj, cmd)");
document.writeln("{ ");
document.writeln(" if(obj) try {");
document.writeln("  var imgObj = obj.children(0).children(0);");
document.writeln("  ");
document.writeln("  if(cmd == \'on\') {");
document.writeln("   obj.children(0).className = \"ltdfocus\";");
document.writeln("   obj.children(1).className = \"mtdfocus\";");
document.writeln("   obj.children(2).className = \"rtdfocus\";");
document.writeln("   if(imgObj)");
document.writeln("   {");
document.writeln("    if(imgObj.tagName.toUpperCase() == \"IMG\")");
document.writeln("    {");
document.writeln("     imgObj.style.left = \"-1px\";");
document.writeln("     imgObj.style.top = \"-1px\";");
document.writeln("    }");
document.writeln("   }");
document.writeln("  }");
document.writeln("  else if(cmd == \'out\') {");
document.writeln("   obj.children(0).className = \"ltdexit\";");
document.writeln("   obj.children(1).className = \"mtdexit\";");
document.writeln("   obj.children(2).className = \"rtdexit\";");
document.writeln("   if(imgObj)");
document.writeln("   {");
document.writeln("    if(imgObj.tagName.toUpperCase() == \"IMG\")");
document.writeln("    {");
document.writeln("     imgObj.style.left = \"0px\";");
document.writeln("     imgObj.style.top = \"0px\";");
document.writeln("    }");
document.writeln("   }");
document.writeln("  }");
document.writeln(" }");
document.writeln(" catch (e) {}");
document.writeln("}");
document.writeln("");
document.writeln("function showMenu()");
document.writeln("{");
document.writeln(" var x, y, w, h, ox, oy;");
document.writeln(" ");
document.writeln(" x = event.clientX;");
document.writeln(" y = event.clientY;");
document.writeln(" ");
document.writeln(" var obj = document.getElementById(\"rightmenu\");");
document.writeln(" if (obj == null)");
document.writeln("  return true;");
document.writeln(" ");
document.writeln(" ox = document.body.clientWidth;");
document.writeln(" oy = document.body.clientHeight;");
document.writeln(" if(x > ox || y > oy)");
document.writeln("  return false;");
document.writeln(" w = obj.offsetWidth;");
document.writeln(" h = obj.offsetHeight;");
document.writeln(" if((x + w) > ox)");
document.writeln("   x = x - w;");
document.writeln(" if((y + h) > oy)");
document.writeln("  y = y - h;");
document.writeln(" ");
document.writeln(" obj.style.posLeft = x + document.body.scrollLeft;");
document.writeln(" obj.style.posTop = y + document.body.scrollTop;");
document.writeln(" obj.style.visibility = \"visible\";");
document.writeln(" ");
document.writeln(" return false;");
document.writeln("}");
document.writeln("function hideMenu()");
document.writeln("{");
document.writeln(" if(event.button == 0)");
document.writeln(" {");
document.writeln("  var obj = document.getElementById(\"rightmenu\");");
document.writeln("  if (obj == null)");
document.writeln("   return true;");
document.writeln("  obj.style.visibility = \"hidden\";");
document.writeln("  obj.style.posLeft = 0;");
document.writeln("  obj.style.posTop = 0;");
document.writeln(" }");
document.writeln("}");
document.writeln("");
document.writeln("function writeStyle()");
document.writeln("{");
document.writeln(" var strStyle = \"\";");
document.writeln(" ");
document.writeln(" strStyle += \"<STYLE type=text\/css>\";");
document.writeln(" strStyle += \"TABLE {Font-FAMILY: \\\"Tahoma\\\",\\\"Verdana\\\",\\\"宋体\\\"; FONT-SIZE: 9pt}\";");
document.writeln(" strStyle += \".mtdfocus {BACKGROUND-COLOR: #ccccff; BORDER-BOTTOM: #000000 1px solid; BORDER-TOP: #000000 1px solid; CURSOR: hand}\";");
document.writeln(" strStyle += \".mtdexit {BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: #ffffff 1px solid; BORDER-TOP: #ffffff 1px solid}\";");
document.writeln(" strStyle += \".ltdfocus {BACKGROUND-COLOR: #ccccff; BORDER-BOTTOM: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-LEFT: #000000 1px solid; CURSOR: hand}\";");
document.writeln(" strStyle += \".ltdexit {BACKGROUND-COLOR: #d0d0ce; BORDER-BOTTOM: #d0d0ce 1px solid; BORDER-TOP: #d0d0ce 1px solid; BORDER-LEFT: #d0d0ce 1px solid}\";");
document.writeln(" strStyle += \".rtdfocus {BACKGROUND-COLOR: #ccccff; BORDER-BOTTOM: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #000000 1px solid; CURSOR: hand}\";");
document.writeln(" strStyle += \".rtdexit {BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: #ffffff 1px solid; BORDER-TOP: #ffffff 1px solid; BORDER-RIGHT: #ffffff 1px solid}\";");
document.writeln(" strStyle += \"<\/STYLE>\";");
document.writeln(" ");
document.writeln(" document.write(strStyle);");
document.writeln("}");
document.writeln("");
document.writeln("function makeMenu()");
document.writeln("{");
document.writeln(" var myMenu, item;");
document.writeln(" ");
document.writeln(" var homepage_cmd = \"this.style.behavior=\'url(#default#homepage)\';this.setHomePage(\'http:\/\/www.puduju.com\/\'); return false;\";");
document.writeln(" var favorate_cmd = \"window.external.addFavorite(\'http:\/\/www.puduju.com\/\',\'普渡居起名网--读书频道\'); return false;\";");
document.writeln(" var viewcode_cmd = \"window.location = \'view-source:\'+\'http:\/\/www.puduju.com\/\";");
document.writeln(" ");
document.writeln(" myMenu = new contextMenu();");
document.writeln(" ");
document.writeln(" item = new contextItem(\"返回首页\", \"/images/r.gif\", \"top.location=\'http://www.puduju.com/\';\", \"menu\");");
document.writeln(" myMenu.addItem(item);");
document.writeln(" ");
document.writeln(" item = new contextItem(\"设为主页\", \"/images/r.gif\", homepage_cmd, \"menu\");");
document.writeln(" myMenu.addItem(item);");
document.writeln(" ");
document.writeln(" item = new contextItem(\"收藏本站\", \"/images/r.gif\", favorate_cmd, \"menu\");");
document.writeln(" myMenu.addItem(item);");
document.writeln("");
document.writeln(" item = new contextItem(\"刷新本页\", \"/images/r.gif\", \"location.href=\'javascript:location.reload()\'\", \"menu\");");
document.writeln(" myMenu.addItem(item);");
document.writeln(" ");
document.writeln(" item = new contextItem(\"\", \"\", \"\", \"separator\");");
document.writeln(" myMenu.addItem(item);");
document.writeln(" ");
document.writeln(" item = new contextItem(\"宝宝起名\", \"/images/r.gif\", \"location.href=\'/grqiming.asp\'\", \"menu\");");
document.writeln(" myMenu.addItem(item);");
document.writeln("");
document.writeln("item = new contextItem(\"个人改名\", \"/images/r.gif\", \"location.href=\'/grqiming.asp\'\", \"menu\");");
document.writeln(" myMenu.addItem(item);");
document.writeln("");
document.writeln("item = new contextItem(\"公司起名\", \"/images/r.gif\", \"location.href=\'/gsqiming.asp\'\", \"menu\");");
document.writeln(" myMenu.addItem(item);");
document.writeln("");
document.writeln("item = new contextItem(\"八字详批\", \"/images/r.gif\", \"location.href=\'/bzfw.asp\'\", \"menu\");");
document.writeln(" myMenu.addItem(item);");
document.writeln("");
document.writeln("item = new contextItem(\"关于我们\", \"/images/r.gif\", \"location.href=\'/about.asp\'\", \"menu\");");
document.writeln(" myMenu.addItem(item);");
document.writeln("");
document.writeln("item = new contextItem(\"联系我们\", \"/images/r.gif\", \"location.href=\'/lxwm.asp\'\", \"menu\");");
document.writeln(" myMenu.addItem(item);");
document.writeln(" ");
document.writeln(" myMenu.show(this.document);");
document.writeln("");
document.writeln(" delete item;");
document.writeln(" delete myMenu;");
document.writeln("}");
document.writeln("");
document.writeln("function toggleMenu(isEnable)");
document.writeln("{");
document.writeln(" if(isEnable)");
document.writeln("  document.oncontextmenu = showMenu;");
document.writeln(" else");
document.writeln("  document.oncontextmenu = new function() {return true;};");
document.writeln("}");
document.writeln("");
document.writeln("writeStyle();");
document.writeln("makeMenu();");
document.writeln("document.onclick = hideMenu;");
document.writeln("document.oncontextmenu = showMenu;");
document.writeln("file:\/\/-->");
document.writeln("<\/script>");


