<?php
require("../../inc/header.php");

/*
		SoftName : EmpireBak Version 2010
		Author   : wm_chief
		Copyright: Powered by www.phome.net
*/

DoSetDbChar('gbk');
E_D("DROP TABLE IF EXISTS `ve123_open`;");
E_C("CREATE TABLE `ve123_open` (
  `about_id` mediumint(9) NOT NULL AUTO_INCREMENT,
  `title` varchar(200) NOT NULL,
  `filename` varchar(200) NOT NULL,
  `content` mediumtext NOT NULL,
  `is_show` int(1) NOT NULL,
  `url` varchar(225) NOT NULL,
  `sortid` int(11) NOT NULL,
  PRIMARY KEY (`about_id`)
) ENGINE=MyISAM AUTO_INCREMENT=67 DEFAULT CHARSET=gbk");
E_D("replace into `ve123_open` values('41','','360','<style type=\"text/css\">\r\n<!--\r\n.STYLE4 {font-size: 16px}\r\n.STYLE6 {color: #FF0000}\r\n.STYLE10 {font-size: 18px}\r\n-->\r\n</style>\r\n<table width=\"95%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" style=\"padding-left:15px;\">\r\n  <tr>\r\n    <td height=\"28\" colspan=\"2\" class=\"STYLE4\"><span class=\"STYLE10\"><a onmousedown=\"return c({''fm'':''alop'',''title'':this.innerHTML,''url'':this.href,p1:_aMC(this)})\" href=\"http://www.360.cn/\" target=\"_blank\">最新<span class=\"STYLE6\">360安全卫士</span>官方免费下载_360安全中心</a><a href=\"http://www.somao123.com\" title=\"最新搜猫搜索引擎?V3.0 官方免费下载\" target=\"_blank\" style=\"font-size:15px; text-decoration:underline;\"></a></span></td>\r\n  </tr>\r\n  <tr>\r\n    <td width=\"18%\" rowspan=\"2\"><div align=\"center\"><img src=\"/html/images/360.gif\" width=\"48\" height=\"48\" /></div></td>\r\n    <td width=\"82%\"><p style=\"font-size:14px;\">360安全卫士v7.5正式版<br />\r\n      软件大小：609KB更新时间：2010-06-12<br />\r\n    </p>    </td>\r\n  </tr>\r\n  <tr>\r\n    <td style=\"font-size:14px;\">运行环境：Win2K / XP / Vista / Win7 </td>\r\n  </tr>\r\n  <tr>\r\n    <td> </td>\r\n    <td><a href=\"http://down.360safe.com/inst.exe\" target=\"_blank\"><img src=\"/html/images/xiazai.jpg\" width=\"133\" height=\"42\" border=\"0\" /></a></td>\r\n  </tr>\r\n  <tr>\r\n    <td> </td>\r\n    <td><font color=\"#008000\">http://www.360.cn 8K - </font><img src=\"/html/images/kaifang.jpg\" /><font color=\"#00c\"><a href=\"../open/\">搜猫搜索开放平台</a></font></td>\r\n  </tr>\r\n</table>','0','','0');");
E_D("replace into `ve123_open` values('42','','360安全卫士','<style type=\"text/css\">\r\n<!--\r\n.STYLE4 {font-size: 16px}\r\n.STYLE6 {color: #FF0000}\r\n.STYLE10 {font-size: 18px}\r\n-->\r\n</style>\r\n<table width=\"95%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" style=\"padding-left:15px;\">\r\n  <tr>\r\n    <td height=\"28\" colspan=\"2\" class=\"STYLE4\"><span class=\"STYLE10\"><a onmousedown=\"return c({''fm'':''alop'',''title'':this.innerHTML,''url'':this.href,p1:_aMC(this)})\" href=\"http://www.360.cn/\" target=\"_blank\">最新<span class=\"STYLE6\">360安全卫士</span>官方免费下载_360安全中心</a><a href=\"http://www.somao123.com\" title=\"最新搜猫搜索引擎?V3.0 官方免费下载\" target=\"_blank\" style=\"font-size:15px; text-decoration:underline;\"></a></span></td>\r\n  </tr>\r\n  <tr>\r\n    <td width=\"18%\" rowspan=\"2\"><div align=\"center\"><img src=\"/html/images/360.gif\" width=\"48\" height=\"48\" /></div></td>\r\n    <td width=\"82%\"><p style=\"font-size:14px;\">360安全卫士v7.5正式版<br />\r\n      软件大小：609KB更新时间：2010-06-12<br />\r\n    </p>    </td>\r\n  </tr>\r\n  <tr>\r\n    <td style=\"font-size:14px;\">运行环境：Win2K / XP / Vista / Win7 </td>\r\n  </tr>\r\n  <tr>\r\n    <td>&nbsp;</td>\r\n    <td><a href=\"http://down.360safe.com/inst.exe\" target=\"_blank\"><img src=\"/html/images/xiazai.jpg\" width=\"133\" height=\"42\" border=\"0\" /></a></td>\r\n  </tr>\r\n  <tr>\r\n    <td>&nbsp;</td>\r\n    <td><font color=\"#008000\">http://www.360.cn 8K - </font><img src=\"/html/images/kaifang.jpg\" /><font color=\"#00c\"><a href=\"../open/\">搜猫搜索开放平台</a></font></td>\r\n  </tr>\r\n</table>','0','','2');");
E_D("replace into `ve123_open` values('43','','360杀毒','<style type=\"text/css\">\r\n<!--\r\n.STYLE4 {font-size: 16px}\r\n.STYLE6 {color: #FF0000}\r\n.STYLE10 {font-size: 18px}\r\n-->\r\n</style>\r\n<table width=\"95%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" style=\"padding-left:15px;\">\r\n  <tr>\r\n    <td height=\"28\" colspan=\"2\" class=\"STYLE4\"><span class=\"STYLE10\"><a onmousedown=\"return c({''fm'':''alop'',''title'':this.innerHTML,''url'':this.href,p1:_aMC(this)})\" href=\"http://www.360.cn/?src=baidu\" target=\"_blank\">最新<span class=\"STYLE6\">360杀毒</span>官方免费下载_360安全中心</a></span></td>\r\n  </tr>\r\n  <tr>\r\n    <td width=\"18%\" rowspan=\"2\"><div align=\"center\"><img src=\"/html/images/360shadu.gif\" width=\"48\" height=\"48\" /></div></td>\r\n    <td width=\"82%\"><p style=\"font-size:14px;\">360免费杀毒软件v2.0正式版<br />\r\n      软件大小：609KB更新时间：2010-05-25<br />\r\n    </p>    </td>\r\n  </tr>\r\n  <tr>\r\n    <td style=\"font-size:14px;\">运行环境：XP / Vista / Win7 </td>\r\n  </tr>\r\n  <tr>\r\n    <td>&nbsp;</td>\r\n    <td><a href=\"http://down.360.cn/360sd_se.exe\" target=\"_blank\"><img src=\"/html/images/xiazai.jpg\" width=\"133\" height=\"42\" border=\"0\" /></a></td>\r\n  </tr>\r\n  <tr>\r\n    <td>&nbsp;</td>\r\n    <td><font color=\"#008000\">http://www.360.cn 8K - </font><img src=\"/html/images/kaifang.jpg\" /><font color=\"#00c\"><a href=\"../open/\">搜猫搜索开放平台</a></font></td>\r\n  </tr>\r\n</table>','0','','0');");
E_D("replace into `ve123_open` values('45','','IP','<div class=\"dig ex\" >\r\n                <p><script type=text/javascript src=http://fw.qq.com/ipaddress></script> 您的IP是 <script type=text/javascript>  document.write(IPData[0]); </script> 来自： <script type=text/javascript> document.write(IPData[2]);  document.write(IPData[3]); </script></p>\r\n                <p class=\"s1\">注：本站的IP数据库为最新的数据库每5天自动更新一次。</p>\r\n                </div></br>','0','','0');");
E_D("replace into `ve123_open` values('47','','百度统计','<OL id=list>\r\n  <LI>\r\n    <DIV class=dig>\r\n      <div align=\"left\">\r\n<script>\r\nfunction h(obj,url){obj.style.behavior=''url(#default#homepage)'';obj.setHomePage(url);}\r\nfunction G(id){return document.getElementById(id);}\r\nvar location,al_arr=[];\r\nfunction ss(w){window.status=w;return true;}\r\nfunction cs(){window.status='''';}\r\n\r\nfunction al_c(A){while(A.tagName!=\"TABLE\")A=A.parentNode;return A.getAttribute(\"id\")}\r\nfunction al_c2(n,c){while(c--){while((n=n.parentNode).tagName!=\"TABLE\");};return n.getAttribute(\"id\");}\r\nfunction c(q){var p = window.document.location.href, sQ = '''', sV = '''', mu='''', img = window[\"BD_PS_C\" + (new Date()).getTime()] = new Image();for (v in q) {switch (v) {case \"title\":sV = encodeURIComponent(q[v].replace(/<[^<>]+>/g, \"\"));break;case \"url\":sV = escape(q[v]);break;default:sV = q[v]}sQ += v + \"=\" + sV + \"&\"}if ((\"p2\" in q)&&G(q[\"p1\"]).getAttribute(\"mu\") && q[\"fm\"]!=\"pl\") { mu= \"&mu=\" + escape(G(q[\"p1\"]).getAttribute(\"mu\"));}img.src = \"http://s.baidu.com/w.gif?q=a&\" + sQ + \"path=\" + p + mu + \"&cid=10&qid=89df5b6e1e26e14b&t=\"+new Date().getTime();return true;}\r\n\r\n\r\n\r\nfunction hc(i){\r\n    var img = window[\"BD_PS_C\"+(new Date()).getTime()]=new Image();\r\n    img.src = \"http://s.baidu.com/w.gif?fm=hp&tn=\"+i+\"&t=\"+new Date().getTime();\r\n}\r\n\r\nwindow.onload=function(){window.parent.document.getElementById(\"templates\").style.height=document.body.scrollHeight + \"px\";}\r\nfunction G(id){return document.getElementById(id);}\r\nfunction c(){}\r\n</script>\r\n    </head>\r\n    <body>\r\n        <div class=\"main\">\r\n            <div class=\"top\">\r\n                <div class=\"samp\">\r\n                    <table cellpadding=\"0\" cellspacing=\"0\" id=\"1\" mu=\"http://tongji.baidu.com/\"><tr><td class=f><a href=\"http://tongji.baidu.com/\" onmousedown=\"return c({''fm'':''alop'',''url'':''http://tongji.baidu.com/'',''p1'':_aMC(this)})\" target=_blank><em>\r\n						<span style=\"font-size: 15px\">百度统计</span></em><span style=\"font-size: 15px\">--免费的专业网站流量分析工具</span></a><style>.op_email3{width:345px;}.op_email3 td{font-size:13px;padding-left:5px;height:28px;}#op_email3_sub{width:81px; height:24px;background:url(http://open.baidu.com/stat/op_email_btn.gif) no-repeat -100px 0;float:left;text-align:center;line-height:24px;color:#000;text-decoration:none;margin:5px 5px 0 0;cursor:pointer;}#op_email3_sub:hover,#op_email3_sub:active,#op_email3_sub:focus{background:transparent url(http://open.baidu.com/stat/op_email_btn.gif) no-repeat 0 0;}#op_email3_cc1{padding:3px 0 0 0;}#op_email3_cc1 span{color:#008000;font-size:12px;}#op_email3_cc1 a{color:#666;font-size:12px;}.op_email3 #op_email3_table .op_email3_fpsw{color:#666;font-size:12px;}.op_email3 #op_email3_table .op_email3_reg{font-size:12px;margin-left:5px;}.op_email3 #op_email3_table input{width:150px;height:22px;*height:18px;padding-top:1px;}.op_email3 .op_email3_name{color:#666;padding-left:0px;}</style><div style=\"font-weight:bold;font-size:13px;margin:5px 0;\">登录百度统计</div><form target=\"_blank\" action=\"https://cas.baidu.com/?action=login\" method=\"post\" onsubmit=\"op_email3_submit();return false;\" name=\"op_mail\" style=\"position:static;\"><div class=\"op_email3\"><table id=\"op_email3_table\" cellspacing=0 cellpadding=0>  <tr> <td class=\"op_email3_name\">登录到</td> <td><select id=\"op_email3_select\" name=\"appid\" style=\"height:22px;margin:0;\">  <option value=\"12\">统计账号</option>  <option value=\"6\">联盟账号</option>  <option value=\"3\">推广账号</option>  </select> </td> <td></td> </tr>  <tr> <td class=\"op_email3_name\">帐　号:</td><td><input autocomplete=\"off\" id=\"op_email3_username\"  style=\"color:#ccc;\" value=\"百度统计/联盟/推广账号\" onfocus=\"_op_shequ_clear()\"onblur=\"_op_shequ_added()\"  type=\"text\"></td><td></td> </tr> <tr> <td class=\"op_email3_name\">密　码:</td><td><input id=\"op_email3_password\" autocomplete=\"off\" type=\"password\"></td> <td><a id=\"op_email3_fpsw\" class=\"op_email3_fpsw\" href=\"https://cas.baidu.com/?controller=user&action=retrivepwd\" onmousedown=\"return c({''fm'':''alop'',''url'':this.href,''p1'':_aMC(this),''p2'':1})\" target=_blank >忘记密码</a></td> </tr>  <tr> <td class=\"op_email3_name\">验证码:</td> <td><input style=\"width:70px;\" type=\"text\" name=\"entered_imagecode\" value=\"\" /> <script type=\"text/javascript\"> document.write(''<img style=\"height:22px;width:59px;border:0;vertical-align:middle;\" src=\"http://cas.baidu.com/?action=image&key=''+new Date().getTime()+''\" />''); </script> </td> <td></td> </tr>  <tr> <td></td><td colspan=2 style=\"vertical-align:top\"> <a id=\"op_email3_sub\" href=\"#\" onclick=\"op_email3_submit()\" onmousedown=\"return c({''fm'':''alop'',''url'':''http://tongji.baidu.com/'',''p1'':_aMC(this),''p2'':0,''p3'':0,''p4'':1});\" >登录</a> <input type=\"submit\" style=\"height:0px;width:0px;overflow:hidden;position:absolute;display:none;*display:block;\"> <div style=\"padding-top:5px;white-space:nowrap;\"><a href=\"http://tongji.baidu.com/hm-web/home/user/reg\" onmousedown=\"return c({''fm'':''alop'',''url'':this.href,''p1'':_aMC(this),''p2'':2})\" target=_blank class=\"op_email3_reg\" id=\"op_email3_reg\">免费注册统计账号</a> </div> </td> </tr></table><script type=\"text/javascript\">window.setTimeout(function(){ var s = G(''op_email3_select''); s.onchange = set_link; function set_link(){ var i = s.selectedIndex; var urls = [[''https://cas.baidu.com/?controller=user&action=retrivepwd'',''http://tongji.baidu.com/hm-web/home/user/reg''],[''http://union.baidu.com/findPassword.jsp'',''http://tongji.baidu.com/hm-web/home/user/reg''],[''http://www2.baidu.com/user/getpwd.php'',''http://tongji.baidu.com/hm-web/home/user/reg''],[]]; G(''op_email3_fpsw'').href=urls[i][0]; G(''op_email3_reg'').href=urls[i][1]; } set_link();},1);</script><input id=\"op_email3_username_hidden\" name=\"entered_login\" type=\"hidden\"><input id=\"op_email3_password_hidden\" name=\"entered_password\" type=\"hidden\"><input type=hidden name=\"charset\" value=\"gb2312\"><input type=hidden name=\"fromu\" value=\"http://tongji.baidu.com/hm-web/home/welcome\"><input type=hidden name=\"selfu\" value=\"http://tongji.baidu.com/hm-web/welcome/login\"><input type=hidden name=\"senderr\" value=\"1\"></div><div id=\"op_email3_cc1\"> <table cellspacing=\"0\" cellpadding=\"0\"><tr><td><font color=#008000 size=\"-1\" style=\"line-height:190%;\">tongji.baidu.com/</font> - <a onmousedown=\"return c({''fm'':''alop'',''title'':this.innerHTML,''url'':this.href,''p1'':_aMC(this),''p2'':3})\" target=\"_blank\" href=\"/open/\" style=\"font-size:13px;color:#77c;text-decoration:none;padding-left:18px;background:url(http://open.baidu.com/stat/image/Icon_Aladdin.gif) 0 2px no-repeat;zoom:1;\">搜猫搜索开放平台</a></td></tr></table></div></form><script>var op_usernametail = \"\"; function op_email3_submit(){ G(\"op_email3_username_hidden\").value = G(\"op_email3_username\").value + op_usernametail; G(\"op_email3_password_hidden\").value = G(\"op_email3_password\").value; document.op_mail.submit(); G(\"op_email3_password\").value = \"\"; return true;}function _aMC(o){ var t = o,i=-1; while(t=t.parentNode){ i=parseInt(t.getAttribute(''id'')); if(i>0) return i; } } function _op_shequ_clear(){var usersug = \"\"; usersug= \"百度统计/联盟/推广账号\"; var user = G(\"op_email3_username\");if(usersug == user.value){ user.value=\"\"; user.style.color=\"#000\"; user.focus();}}function _op_shequ_added(){var usersug = \"\";usersug= \"百度统计/联盟/推广账号\"; var user = G(\"op_email3_username\");if(user.value==\"\"){ user.style.color=\"#ccc\"; user.value = usersug;}}</script></td></tr></table><br>\r\n\r\n\r\n                </div>\r\n</LI>\r\n    </OL>','0','','0');");
E_D("replace into `ve123_open` values('48','','标准时间','<table cellpadding=\"0\" cellspacing=\"0\" id=\"1\">\r\n  <tr>\r\n    <td><style> \r\nbody,td,.p1,.p2,.i{font-family:arial}\r\nbody{margin:6px 0 0 0;background-color:#fff;color:#000;}\r\ntable{border:0}\r\n#cal{width:434px;border:1px solid #c3d9ff;font-size:12px;margin:8px 0 0 15px}\r\n#cal #top{height:29px;line-height:29px;background:#e7eef8;color:#003784;padding-left:70px}\r\n#cal #top select{font-size:12px}\r\n#cal #top input{padding:0}\r\n#cal ul#wk{margin:0;padding:0;height:25px}\r\n#cal ul#wk li{float:left;width:60px;text-align:center;line-height:25px;list-style:none}\r\n#cal ul#wk li b{font-weight:normal;color:#c60b02}\r\n#cal #cm{clear:left;border-top:1px solid #ddd;border-bottom:1px dotted #ddd;position:relative}\r\n#cal #cm .cell{position:absolute;width:42px;height:36px;text-align:center;margin:0 0 0 9px}\r\n#cal #cm .cell .so{font:bold 16px arial;}\r\n#cal #bm{text-align:right;height:24px;line-height:24px;padding:0 13px 0 0}\r\n#cal #bm a{color:7977ce}\r\n#cal #fd{display:none;position:absolute;border:1px solid #dddddf;background:#feffcd;padding:10px;line-height:21px;width:150px}\r\n#cal #fd b{font-weight:normal;color:#c60a00}\r\n</style>\r\n<!--[if IE]>\r\n<style>\r\n#cal #top{padding-top:4px}\r\n#cal #top input{width:65px}\r\n#cal #fd{width:170px}\r\n</style>\r\n<![endif]-->\r\n      <div id=\"cal\">\r\n        <div id=\"top\">公元&nbsp;\r\n          <select>\r\n          </select>\r\n          &nbsp;年&nbsp;\r\n          <select>\r\n          </select>\r\n          &nbsp;月&nbsp;&nbsp;&nbsp;&nbsp;农历<span></span>年&nbsp;[&nbsp;<span></span>年&nbsp;]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n          <input type=\"button\" value=\"回到今天\" title=\"点击后跳转回今天\" style=\"padding:0px\">\r\n        </div>\r\n        <ul id=\"wk\">\r\n          <li>一</li>\r\n          <li>二</li>\r\n          <li>三</li>\r\n          <li>四</li>\r\n          <li>五</li>\r\n          <li><b>六</b></li>\r\n          <li><b>日</b></li>\r\n        </ul>\r\n        <div id=\"cm\"></div>\r\n        <div id=\"bm\"></div>\r\n      </div></td>\r\n  </tr>\r\n</table>\r\n<script type=\"text/javascript\">\r\n<!--\r\n(function(){\r\nvar S=navigator.userAgent.indexOf(\"MSIE\")!=-1&&!window.opera;\r\nfunction M(C){\r\nreturn document.getElementById(C)\r\n} function R(C){\r\nreturn document.createElement(C)\r\n} var P=[19416,19168,42352,21717,53856,55632,91476,22176,39632,21970,19168,42422,42192,53840,119381,46400,54944,44450,38320,84343,18800,42160,46261,27216,27968,109396,11104,38256,21234,18800,25958,54432,59984,28309,23248,11104,100067,37600,116951,51536,54432,120998,46416,22176,107956,9680,37584,53938,43344,46423,27808,46416,86869,19872,42448,83315,21200,43432,59728,27296,44710,43856,19296,43748,42352,21088,62051,55632,23383,22176,38608,19925,19152,42192,54484,53840,54616,46400,46496,103846,38320,18864,43380,42160,45690,27216,27968,44870,43872,38256,19189,18800,25776,29859,59984,27480,21952,43872,38613,37600,51552,55636,54432,55888,30034,22176,43959,9680,37584,51893,43344,46240,47780,44368,21977,19360,42416,86390,21168,43312,31060,27296,44368,23378,19296,42726,42208,53856,60005,54576,23200,30371,38608,19415,19152,42192,118966,53840,54560,56645,46496,22224,21938,18864,42359,42160,43600,111189,27936,44448];\r\nvar K=\"甲乙丙丁戊己庚辛壬癸\";\r\nvar J=\"子丑寅卯辰巳午未申酉戌亥\";\r\nvar O=\"鼠牛虎兔龙蛇马羊猴鸡狗猪\";\r\nvar L=[\"小寒\",\"大寒\",\"立春\",\"雨水\",\"惊蛰\",\"春分\",\"清明\",\"谷雨\",\"立夏\",\"小满\",\"芒种\",\"夏至\",\"小暑\",\"大暑\",\"立秋\",\"处暑\",\"白露\",\"秋分\",\"寒露\",\"霜降\",\"立冬\",\"小雪\",\"大雪\",\"冬至\"];\r\nvar D=[0,21208,43467,63836,85337,107014,128867,150921,173149,195551,218072,240693,263343,285989,308563,331033,353350,375494,397447,419210,440795,462224,483532,504758];\r\nvar B=\"日一二三四五六七八九十\";\r\nvar H=[\"正\",\"二\",\"三\",\"四\",\"五\",\"六\",\"七\",\"八\",\"九\",\"十\",\"十一\",\"腊\"];\r\nvar E=\"初十廿卅\";\r\nvar V={\r\n\"0101\":\"*1元旦节\",\"0214\":\"情人节\",\"0305\":\"学雷锋纪念日\",\"0308\":\"妇女节\",\"0312\":\"植树节\",\"0315\":\"消费者权益日\",\"0401\":\"愚人节\",\"0501\":\"*1劳动节\",\"0504\":\"青年节\",\"0601\":\"国际儿童节\",\"0701\":\"中国共产党诞辰\",\"0801\":\"建军节\",\"0910\":\"中国教师节\",\"1001\":\"*3国庆节\",\"1224\":\"平安夜\",\"1225\":\"圣诞节\"\r\n} ;\r\nvar T={\r\n\"0101\":\"*2春节\",\"0115\":\"元宵节\",\"0505\":\"*1端午节\",\"0815\":\"*1中秋节\",\"0909\":\"重阳节\",\"1208\":\"腊八节\",\"0100\":\"除夕\"\r\n} ;\r\nfunction U(Y){\r\nfunction c(j,i){\r\nvar h=new Date((31556925974.7*(j-1900)+D[i]*60000)+Date.UTC(1900,0,6,2,5));\r\nreturn(h.getUTCDate())\r\n} function d(k){\r\nvar h,j=348;\r\nfor(h=32768;h>8;h>>=1){\r\nj+=(P[k-1900]&h)?1:0\r\n} return(j+b(k))\r\n} function a(h){\r\nreturn(K.charAt(h%10)+J.charAt(h%12))\r\n} function b(h){\r\nif(g(h)){\r\nreturn((P[h-1900]&65536)?30:29)\r\n} else{\r\nreturn(0)\r\n} \r\n} function g(h){\r\nreturn(P[h-1900]&15)\r\n} function e(i,h){\r\nreturn((P[i-1900]&(65536>>h))?30:29)\r\n} function C(m){\r\nvar k,j=0,h=0;\r\nvar l=new Date(1900,0,31);\r\nvar n=(m-l)/86400000;\r\nthis.dayCyl=n+40;\r\nthis.monCyl=14;\r\nfor(k=1900;k<2050&&n>0;k++){\r\nh=d(k);\r\nn-=h;\r\nthis.monCyl+=12\r\n} if(n<0){\r\nn+=h;\r\nk--;\r\nthis.monCyl-=12\r\n} this.year=k;\r\nthis.yearCyl=k-1864;\r\nj=g(k);\r\nthis.isLeap=false;\r\nfor(k=1;k<13&&n>0;k++){\r\nif(j>0&&k==(j+1)&&this.isLeap==false){\r\n--k;\r\nthis.isLeap=true;\r\nh=b(this.year)\r\n} else{\r\nh=e(this.year,k)\r\n} if(this.isLeap==true&&k==(j+1)){\r\nthis.isLeap=false\r\n} n-=h;\r\nif(this.isLeap==false){\r\nthis.monCyl++\r\n} \r\n} if(n==0&&j>0&&k==j+1){\r\nif(this.isLeap){\r\nthis.isLeap=false\r\n} else{\r\nthis.isLeap=true;\r\n--k;\r\n--this.monCyl\r\n} \r\n} if(n<0){\r\nn+=h;\r\n--k;\r\n--this.monCyl\r\n} this.month=k;\r\nthis.day=n+1\r\n} function G(h){\r\nreturn h<10?\"0\"+h:h\r\n} function f(i,j){\r\nvar h=i;\r\nreturn j.replace(/dd?d?d?|MM?M?M?|yy?y?y?/g,function(k){\r\nswitch(k){\r\ncase\"yyyy\":var l=\"000\"+h.getFullYear();\r\nreturn l.substring(l.length-4);\r\ncase\"dd\":return G(h.getDate());\r\ncase\"d\":return h.getDate().toString();\r\ncase\"MM\":return G((h.getMonth()+1));\r\ncase\"M\":return h.getMonth()+1\r\n} \r\n} )\r\n} function Z(i,h){\r\nvar j;\r\nswitch(i,h){\r\ncase 10:j=\"初十\";\r\nbreak;\r\ncase 20:j=\"二十\";\r\nbreak;\r\ncase 30:j=\"三十\";\r\nbreak;\r\ndefault:j=E.charAt(Math.floor(h/10));\r\nj+=B.charAt(h%10)\r\n} return(j)\r\n} this.date=Y;\r\nthis.isToday=false;\r\nthis.isRestDay=false;\r\nthis.solarYear=f(Y,\"yyyy\");\r\nthis.solarMonth=f(Y,\"M\");\r\nthis.solarDate=f(Y,\"d\");\r\nthis.solarWeekDay=Y.getDay();\r\nthis.solarWeekDayInChinese=\"星期\"+B.charAt(this.solarWeekDay);\r\nvar X=new C(Y);\r\nthis.lunarYear=X.year;\r\nthis.shengxiao=O.charAt((this.lunarYear-4)%12);\r\nthis.lunarMonth=X.month;\r\nthis.lunarIsLeapMonth=X.isLeap;\r\nthis.lunarMonthInChinese=this.lunarIsLeapMonth?\"闰\"+H[X.month-1]:H[X.month-1];\r\nthis.lunarDate=X.day;\r\nthis.showInLunar=this.lunarDateInChinese=Z(this.lunarMonth,this.lunarDate);\r\nif(this.lunarDate==1){\r\nthis.showInLunar=this.lunarMonthInChinese+\"月\"\r\n} this.ganzhiYear=a(X.yearCyl);\r\nthis.ganzhiMonth=a(X.monCyl);\r\nthis.ganzhiDate=a(X.dayCyl++);\r\nthis.jieqi=\"\";\r\nthis.restDays=0;\r\nif(c(this.solarYear,(this.solarMonth-1)*2)==f(Y,\"d\")){\r\nthis.showInLunar=this.jieqi=L[(this.solarMonth-1)*2]\r\n} if(c(this.solarYear,(this.solarMonth-1)*2+1)==f(Y,\"d\")){\r\nthis.showInLunar=this.jieqi=L[(this.solarMonth-1)*2+1]\r\n} if(this.showInLunar==\"清明\"){\r\nthis.showInLunar=\"清明节\";\r\nthis.restDays=1\r\n} this.solarFestival=V[f(Y,\"MM\")+f(Y,\"dd\")];\r\nif(typeof this.solarFestival==\"undefined\"){\r\nthis.solarFestival=\"\"\r\n} else{\r\nif(/*(d)/.test(this.solarFestival)){\r\nthis.restDays=parseInt(RegExp.\$1);\r\nthis.solarFestival=this.solarFestival.replace(/*d/,\"\")\r\n} \r\n} this.showInLunar=(this.solarFestival==\"\")?this.showInLunar:this.solarFestival;\r\nthis.lunarFestival=T[this.lunarIsLeapMonth?\"00\":G(this.lunarMonth)+G(this.lunarDate)];\r\nif(typeof this.lunarFestival==\"undefined\"){\r\nthis.lunarFestival=\"\"\r\n} else{\r\nif(/*(d)/.test(this.lunarFestival)){\r\nthis.restDays=(this.restDays>parseInt(RegExp.\$1))?this.restDays:parseInt(RegExp.\$1);\r\nthis.lunarFestival=this.lunarFestival.replace(/*d/,\"\")\r\n} \r\n} if(this.lunarMonth==12&&this.lunarDate==e(this.lunarYear,12)){\r\nthis.lunarFestival=T[\"0100\"];\r\nthis.restDays=1\r\n} this.showInLunar=(this.lunarFestival==\"\")?this.showInLunar:this.lunarFestival;\r\nthis.showInLunar=(this.showInLunar.length>4)?this.showInLunar.substr(0,2)+\"...\":this.showInLunar\r\n} var Q=(function(){\r\nvar X={\r\n} ;\r\nX.lines=0;\r\nX.dateArray=new Array(42);\r\nfunction Y(a){\r\nreturn(((a%4===0)&&(a%100!==0))||(a%400===0))\r\n} function G(a,b){\r\nreturn[31,(Y(a)?29:28),31,30,31,30,31,31,30,31,30,31][b]\r\n} function C(a,b){\r\na.setDate(a.getDate()+b);\r\nreturn a\r\n} function Z(a){\r\nvar f=0;\r\nvar c=new U(new Date(a.solarYear,a.solarMonth-1,1));\r\nvar d=(c.solarWeekDay-1==-1)?6:c.solarWeekDay-1;\r\nX.lines=Math.ceil((d+G(a.solarYear,a.solarMonth-1))/7);\r\nfor(var e=0;e<X.dateArray.length;e++){\r\nif(c.restDays!=0){\r\nf=c.restDays\r\n} if(f>0){\r\nc.isRest=true\r\n} if(d-->0||c.solarMonth!=a.solarMonth){\r\nX.dateArray[e]=null;\r\ncontinue\r\n} var b=new U(new Date());\r\nif(c.solarYear==b.solarYear&&c.solarMonth==b.solarMonth&&c.solarDate==b.solarDate){\r\nc.isToday=true\r\n} X.dateArray[e]=c;\r\nc=new U(C(c.date,1));\r\nf--\r\n} \r\n} return{\r\ninit:function(a){\r\nZ(a)\r\n} ,getJson:function(){\r\nreturn X\r\n} \r\n} \r\n} )();\r\nvar W=(function(){\r\nvar C=M(\"top\").getElementsByTagName(\"SELECT\")[0];\r\nvar X=M(\"top\").getElementsByTagName(\"SELECT\")[1];\r\nvar G=M(\"top\").getElementsByTagName(\"SPAN\")[0];\r\nvar c=M(\"top\").getElementsByTagName(\"SPAN\")[1];\r\nvar Y=M(\"top\").getElementsByTagName(\"INPUT\")[0];\r\nfunction a(g){\r\nG.innerHTML=g.ganzhiYear;\r\nc.innerHTML=g.shengxiao\r\n} function b(g){\r\nC[g.solarYear-1901].selected=true;\r\nX[g.solarMonth-1].selected=true\r\n} function f(){\r\nvar j=C.value;\r\nvar g=X.value;\r\nvar i=new U(new Date(j,g-1,1));\r\nQ.init(i);\r\nN.draw();\r\nif(this==C){\r\ni=new U(new Date(j,3,1));\r\nG.innerHTML=i.ganzhiYear;\r\nc.innerHTML=i.shengxiao\r\n} var h=new U(new Date());\r\nY.style.visibility=(j==h.solarYear&&g==h.solarMonth)?\"hidden\":\"visible\"\r\n} function Z(){\r\nvar g=new U(new Date());\r\na(g);\r\nb(g);\r\nQ.init(g);\r\nN.draw();\r\nY.style.visibility=\"hidden\"\r\n} function d(k,g){\r\nfor(var j=1901;j<2050;j++){\r\nvar h=R(\"OPTION\");\r\nh.value=j;\r\nh.innerHTML=j;\r\nif(j==k){\r\nh.selected=\"selected\"\r\n} C.appendChild(h)\r\n} for(var j=1;j<13;j++){\r\nvar h=R(\"OPTION\");\r\nh.value=j;\r\nh.innerHTML=j;\r\nif(j==g){\r\nh.selected=\"selected\"\r\n} X.appendChild(h)\r\n} C.onchange=f;\r\nX.onchange=f\r\n} function e(g){\r\nd(g.solarYear,g.solarMonth);\r\nG.innerHTML=g.ganzhiYear;\r\nc.innerHTML=g.shengxiao;\r\nY.onclick=Z;\r\nY.style.visibility=\"hidden\"\r\n} return{\r\ninit:function(g){\r\ne(g)\r\n} ,reset:function(g){\r\nb(g)\r\n} \r\n} \r\n} )();\r\nvar N=(function(){\r\nfunction C(){\r\nvar Z=Q.getJson();\r\nvar c=Z.dateArray;\r\nM(\"cm\").style.height=Z.lines*38+2+\"px\";\r\nM(\"cm\").innerHTML=\"\";\r\nfor(var a=0;a<c.length;a++){\r\nif(c[a]==null){\r\ncontinue\r\n} var X=R(\"DIV\");\r\nif(c[a].isToday){\r\nX.style.border=\"1px solid #a5b9da\";\r\nX.style.background=\"#c1d9ff\"\r\n} X.className=\"cell\";\r\nX.style.left=(a%7)*60+\"px\";\r\nX.style.top=Math.floor(a/7)*38+2+\"px\";\r\nvar b=R(\"DIV\");\r\nb.className=\"so\";\r\nb.style.color=((a%7)>4||c[a].isRest)?\"#c60b02\":\"#313131\";\r\nb.innerHTML=c[a].solarDate;\r\nX.appendChild(b);\r\nvar Y=R(\"DIV\");\r\nY.style.color=\"#666\";\r\nY.innerHTML=c[a].showInLunar;\r\nX.appendChild(Y);\r\nX.onmouseover=(function(d){\r\nreturn function(f){\r\nF.show({\r\ndateIndex:d,cell:this\r\n} )\r\n} \r\n} )(a);\r\nX.onmouseout=function(){\r\nF.hide()\r\n} ;\r\nM(\"cm\").appendChild(X)\r\n} var G=R(\"DIV\");\r\nG.id=\"fd\";\r\nM(\"cm\").appendChild(G);\r\nF.init(G)\r\n} return{\r\ndraw:function(G){\r\nC(G)\r\n} \r\n} \r\n} )();\r\nvar F=(function(){\r\nvar C;\r\nfunction Y(e,c){\r\nif(arguments.length>1){\r\nvar b=/([.*+?^=!:\${}()|[]/])/g,Z=\"{\".replace(b,\"\$1\"),d=\"}\".replace(b,\"\$1\");\r\nvar a=new RegExp(\"#\"+Z+\"([^\"+Z+d+\"]+)\"+d,\"g\");\r\nif(typeof (c)==\"object\"){\r\nreturn e.replace(a,function(f,h){\r\nvar g=c[h];\r\nreturn typeof (g)==\"undefined\"?\"\":g\r\n} )\r\n} \r\n} return e\r\n} function G(b){\r\nvar a=Q.getJson().dateArray[b.dateIndex];\r\nvar Z=b.cell;\r\nvar c=\"#{solarYear}&nbsp;年&nbsp;#{solarMonth}&nbsp;月&nbsp;#{solarDate}&nbsp;日&nbsp;#{solarWeekDayInChinese}\";\r\nc+=\"<br><b>农历&nbsp;#{lunarMonthInChinese}月#{lunarDateInChinese}</b>\";\r\nc+=\"<br>#{ganzhiYear}年&nbsp;#{ganzhiMonth}月&nbsp;#{ganzhiDate}日\";\r\nif(a.solarFestival!=\"\"||a.lunarFestival!=\"\"||a.jieqi!=\"\"){\r\nc+=\"<br><b>#{lunarFestival} #{solarFestival} #{jieqi}</b>\"\r\n} C.innerHTML=Y(c,a);\r\nC.style.top=Z.offsetTop+Z.offsetHeight-5+\"px\";\r\nC.style.left=Z.offsetLeft+Z.offsetWidth-5+\"px\";\r\nC.style.display=\"block\"\r\n} function X(){\r\nC.style.display=\"none\"\r\n} return{\r\nshow:function(Z){\r\nG(Z)\r\n} ,hide:function(){\r\nX()\r\n} ,init:function(Z){\r\nC=Z\r\n} \r\n} \r\n} )();\r\nvar A=new U(new Date());\r\nif(S){\r\nwindow.attachEvent(\"onload\",function(){\r\nW.reset(A)\r\n} )\r\n} W.init(A);\r\nQ.init(A);\r\nN.draw();\r\n} )();\r\n//-->\r\n</script>','0','','0');");
E_D("replace into `ve123_open` values('49','','翻译','<OL id=list>\r\n  <LI>\r\n    <DIV class=dig>\r\n      <div align=\"left\">\r\n<table cellpadding=\"0\" cellspacing=\"0\" id=\"1\" mu=\"http://fanyi.youdao.com\"><tr> <td class=\"f\">\r\n		<style>#op_fontconver{padding:0;margin:0;}#op_fontconver_canvas{margin-top:3px;position:relative;z-index:1;}#op_fontconver_open{font-size:13px;clear:both;}#op_fontconver_open span{font-size:13px;color:#008000;}#op_fontconver_button{height:auto;margin:6px 0;width:500px;}#op_fontconver_select{margin:4px 0;width:500px;}#op_fontconver_text{font-size:13px;width:500px;overflow-x:hidden;overflow-y:scroll;overflow-y:hidden;;}#op_fontconver_select_tb{width:500px;text-align:center;}#op_fontconver_button_tb{width:500px;}#op_fontconver_button_tb td{text-align:right;}#op_fontconver_button_td{text-align:center;}.op_fontconver_text_default{color:#ACACAC;}.op_fontconver_text_normal{color:#000;}.op_fontconver_btn{background:transparent url(http://open.baidu.com/stat/op_email_btn.gif) no-repeat scroll -100px 0;color:#000;cursor:pointer;height:24px;line-height:24px;margin-left:0;text-align:center;text-decoration:none;width:81px;font-size:13px;display:inline-block;}.op_fontconver_btn:hover,.op_fontconver_btn:active,.op_fontconver_btn:focus{background:transparent url(http://open.baidu.com/stat/op_email_btn.gif) no-repeat scroll 0 0;}#translate_swap{font-size:13px;color:#03c;text-decoration:underline;cursor:pointer;}</style>\r\n		<script>function _aMC(C){var B=C,A=-1;while(B=B.parentNode){A=parseInt(B.getAttribute(\"id\"));if(A>0){return A}}};</script>\r\n <div id=\"op_fontconver\"> <a href=\"http://fanyi.youdao.com\" onmousedown=\"return c({''fm'':''alop'',''url'':this.href,''title'':this.innerHTML,''p1'':_aMC(this)});\" target=\"_blank\"> 在线<em>翻译</em>_有道<em>翻译</em> </a> <br>   <div style=\"margin:3px 0 0 0;\"> <font size=\"-1\"> <b> 请输入需要翻译的文字内容 </b> </font> </div>  <div id=\"op_fontconver_canvas\"> <form action=\"http://fanyi.youdao.com/translate\" method=\"post\" name=\"bd_ala_form\" id=\"bd_ala_form\" target=\"_blank\" accept-charset=\"gbk\"> <div id=\"op_fontconver_inputs\"> <div id=\"op_fontconver_text_div\" > <textarea id=\"op_fontconver_text\" class=\"op_fontconver_text_normal\" name=\"i\" rows=\"6\" tip=\"1\" style=\"*padding:6px 2px;\"></textarea> </div>   <input type=\"hidden\" name=\"ue\" value=\"gbk\">   <input type=\"hidden\" name=\"keyfrom\" value=\"baidu\">   <input type=\"hidden\" name=\"smartresult\" value=\"dict\">  </div> <div id=\"op_fontconver_select\" style=\"text-align:left\" >  <span> <select id=\"bd_ala_act\" name=\"type\" style=\"vertical-align:middle;margin-right:5px\">   <option value=\"AUTO\" selected> 自动检测 </option>   <option value=\"EN2ZH_CN\" > 英→汉 </option>   <option value=\"ZH_CN2EN\" > 汉→英 </option>   <option value=\"JA2ZH_CN\" > 日→汉 </option>   <option value=\"ZH_CN2JA\" > 汉→日 </option>  </select> </span>   <span style=\"display:inline-block;vertical-align:middle;\"> <a id=\"bd_ala_btn\" class=\"op_fontconver_btn\" href=\"#\" onmousedown=\"return c({''fm'':''alop'',''title'':document.getElementById(''bd_ala_act'')?document.getElementById(''bd_ala_act'').value:'''',''url'':''http://fanyi.youdao.com/translate'',''p1'':_aMC(this),''p2'':0,''p3'':0,''p4'':1});\" onclick=\"op_fontconver_text_submit();return false;\"> 翻译 </a> </span> </div> </form> <div id=\"op_fontconver_open\"> <span style=\"color:#008000;font-size:13px;\">fanyi.youdao.com</span> - <a onmousedown=\"return c({''fm'':''alop'',''title'':this.innerHTML,''url'':this.href,''p1'':_aMC(this),''p2'':jI(this)})\" target=\"_blank\" href=\"http://open.baidu.com/\" class=\"op_LAMP\" ></a> </div> </div>\r\n			<script>function op_fontconver_text_submit(){var A=document.getElementById(\"op_fontconver_text\");var B=document.getElementById(\"bd_ala_form\");D(A);var C=document.charset;document.charset=\"gbk\";B.submit();window.setTimeout(function(){document.charset=C},500);function D(E){if(E.value==E.getAttribute(\"tip\")){E.value=\"\";return false}else{return true}}}(function(){var C=navigator.userAgent.indexOf(\"MSIE\")!=-1&&!window.opera;function O(G){return document.getElementById(G)}function E(Q,P,G){if(C){Q.attachEvent(\"on\"+P,(function(R){return function(){G.call(R)}})(Q))}else{Q.addEventListener(P,G,true)}}function J(G){if(G){G.className=\"op_fontconver_text_default\";G.value=G.getAttribute(\"tip\")}}function F(G){if(G&&G.value!=G.getAttribute(\"tip\")){G.className=\"op_fontconver_text_normal\"}else{J(G)}}function H(G){if(G.value==G.getAttribute(\"tip\")){G.value=\"\";return false}else{return true}}var L=O(\"op_fontconver_text\");var I=O(\"bd_ala_form\");var B=O(\"bd_ala_btn\");;;var D=6;var K=15;var N=6;if(C){N=18}var A=O(\"op_fontconver_text_div\");L.style.height=(D*15)+\"px\";A.style.height=(D*15+N)+\"px\";E(L,\"keyup\",M);E(L,\"mouseup\",M);function M(){L.style.scrollTop=L.style.height;if(!C){L.style.height=\"0px\"}var G=L.scrollHeight;if(G<D*15){G=D*15}if(G>K*15){G=K*15;L.style.overflowY=\"scroll\"}else{L.style.overflowY=\"hidden\"}L.style.height=G+\"px\";A.style.height=(G+N)+\"px\"}})();</script>\r\n </div> </td></tr></table><br>\r\n</LI>\r\n    </OL>','0','','0');");
E_D("replace into `ve123_open` values('50','','计算器','<SCRIPT language=javascript>\r\n<!--\r\nvar endNumber=true\r\nvar mem=0\r\nvar carry=10\r\nvar hexnum=\"0123456789abcdef\"\r\nvar angle=\"d\"\r\nvar stack=\"\"\r\nvar level=\"0\"\r\nvar layer=0\r\n//数字键\r\nfunction inputkey(key)\r\n{\r\n	var index=key.charCodeAt(0);\r\n	if ((carry==2 && (index==48 || index==49))\r\n	 || (carry==8 && index>=48 && index<=55)\r\n	 || (carry==10 && (index>=48 && index<=57 || index==46))\r\n	 || (carry==16 && ((index>=48 && index<=57) || (index>=97 && index<=102))))\r\n	if(endNumber)\r\n	{\r\n		endNumber=false\r\n		document.calc.display.value = key\r\n	}\r\n	else if(document.calc.display.value == null || document.calc.display.value == \"0\")\r\n		document.calc.display.value = key\r\n	else\r\n		document.calc.display.value += key\r\n}\r\nfunction changeSign()\r\n{\r\n    if (document.calc.display.value!=\"0\")\r\n    	if(document.calc.display.value.substr(0,1) == \"-\")\r\n        	document.calc.display.value = document.calc.display.value.substr(1)\r\n    	else\r\n        	document.calc.display.value = \"-\" + document.calc.display.value\r\n}\r\n//函数键\r\nfunction inputfunction(fun,shiftfun)\r\n{\r\n	endNumber=true\r\n	if (document.calc.shiftf.checked)\r\n		document.calc.display.value=decto(funcalc(shiftfun,(todec(document.calc.display.value,carry))),carry)\r\n	else\r\n		document.calc.display.value=decto(funcalc(fun,(todec(document.calc.display.value,carry))),carry)\r\n	document.calc.shiftf.checked=false\r\n	document.calc.hypf.checked=false	\r\n	inputshift()\r\n}\r\nfunction inputtrig(trig,arctrig,hyp,archyp)\r\n{\r\n	if (document.calc.hypf.checked)\r\n		inputfunction(hyp,archyp)\r\n	else\r\n		inputfunction(trig,arctrig)\r\n}\r\n//运算符\r\nfunction operation(join,newlevel)\r\n{\r\n	endNumber=true\r\n	var temp=stack.substr(stack.lastIndexOf(\"(\")+1)+document.calc.display.value\r\n	while (newlevel!=0 && (newlevel<=(level.charAt(level.length-1))))\r\n	{\r\n		temp=parse(temp)\r\n		level=level.slice(0,-1)\r\n	}\r\n	if (temp.match(/^(.*d[+-*/\\\\%^&|x])?([+-]?[0-9a-f.]+)\$/))\r\n		document.calc.display.value=RegExp.\$2\r\n	stack=stack.substr(0,stack.lastIndexOf(\"(\")+1)+temp+join\r\n	document.calc.operator.value=\" \"+join+\" \"\r\n	level=level+newlevel\r\n	\r\n}\r\n//括号\r\nfunction addbracket()\r\n{\r\n	endNumber=true\r\n	document.calc.display.value=0\r\n	stack=stack+\"(\"\r\n	document.calc.operator.value=\"   \"\r\n	level=level+0\r\n	\r\n	layer+=1\r\n	document.calc.bracket.value=\"(=\"+layer\r\n}\r\nfunction disbracket()\r\n{\r\n	endNumber=true\r\n	var temp=stack.substr(stack.lastIndexOf(\"(\")+1)+document.calc.display.value\r\n	while ((level.charAt(level.length-1))>0)\r\n	{\r\n		temp=parse(temp)\r\n		level=level.slice(0,-1)\r\n	}	\r\n	document.calc.display.value=temp\r\n	stack=stack.substr(0,stack.lastIndexOf(\"(\"))\r\n	document.calc.operator.value=\"   \"\r\n	level=level.slice(0,-1)\r\n\r\n	layer-=1\r\n	if (layer>0)\r\n		document.calc.bracket.value=\"(=\"+layer\r\n	else\r\n		document.calc.bracket.value=\"\"\r\n}\r\n//等号\r\nfunction result()\r\n{\r\n	endNumber=true\r\n	while (layer>0)\r\n		disbracket()\r\n	var temp=stack+document.calc.display.value\r\n	while ((level.charAt(level.length-1))>0)\r\n	{\r\n		temp=parse(temp)\r\n		level=level.slice(0,-1)\r\n	}\r\n\r\n	document.calc.display.value=temp\r\n	document.calc.bracket.value=\"\"\r\n	document.calc.operator.value=\"\"\r\n	stack=\"\"\r\n	level=\"0\"\r\n}\r\n//修改键\r\nfunction backspace()\r\n{\r\n	if (!endNumber)\r\n	{\r\n		if(document.calc.display.value.length>1)\r\n			document.calc.display.value=document.calc.display.value.substring(0,document.calc.display.value.length - 1)\r\n		else\r\n			document.calc.display.value=0\r\n	}\r\n}\r\nfunction clearall()\r\n{\r\n	document.calc.display.value=0\r\n	endNumber=true\r\n	stack=\"\"\r\n	level=\"0\"\r\n	layer=\"\"\r\n	document.calc.operator.value=\"\"\r\n	document.calc.bracket.value=\"\"\r\n}\r\n//转换键\r\nfunction inputChangCarry(newcarry)\r\n{\r\n	endNumber=true\r\n	document.calc.display.value=(decto(todec(document.calc.display.value,carry),newcarry))\r\n	carry=newcarry\r\n\r\n	document.calc.sin.disabled=(carry!=10)\r\n	document.calc.cos.disabled=(carry!=10)\r\n	document.calc.tan.disabled=(carry!=10)\r\n	document.calc.bt.disabled=(carry!=10)\r\n	document.calc.pi.disabled=(carry!=10)\r\n	document.calc.e.disabled=(carry!=10)\r\n	document.calc.kp.disabled=(carry!=10)\r\n				\r\n	document.calc.k2.disabled=(carry<=2)\r\n	document.calc.k3.disabled=(carry<=2)\r\n	document.calc.k4.disabled=(carry<=2)\r\n	document.calc.k5.disabled=(carry<=2)\r\n	document.calc.k6.disabled=(carry<=2)\r\n	document.calc.k7.disabled=(carry<=2)\r\n	document.calc.k8.disabled=(carry<=8)\r\n	document.calc.k9.disabled=(carry<=8)\r\n	document.calc.ka.disabled=(carry<=10)\r\n	document.calc.kb.disabled=(carry<=10)\r\n	document.calc.kc.disabled=(carry<=10)\r\n	document.calc.kd.disabled=(carry<=10)\r\n	document.calc.ke.disabled=(carry<=10)\r\n	document.calc.kf.disabled=(carry<=10)\r\n	\r\n}\r\nfunction inputChangAngle(angletype)\r\n{\r\n	endNumber=true\r\n	angle=angletype\r\n	if (angle==\"d\")\r\n		document.calc.display.value=radiansToDegress(document.calc.display.value)\r\n	else\r\n		document.calc.display.value=degressToRadians(document.calc.display.value)\r\n	endNumber=true\r\n}\r\n\r\nfunction inputshift()\r\n{\r\n	if (document.calc.shiftf.checked)\r\n	{\r\n		document.calc.bt.value=\"deg　\"\r\n		document.calc.ln.value=\"exp　\"\r\n		document.calc.log.value=\"expd \"\r\n		\r\n		if (document.calc.hypf.checked)\r\n		{\r\n			document.calc.sin.value=\"ahs　\"\r\n			document.calc.cos.value=\"ahc　\"\r\n			document.calc.tan.value=\"aht　\"\r\n		}\r\n		else\r\n		{\r\n			document.calc.sin.value=\"asin \"\r\n			document.calc.cos.value=\"acos \"\r\n			document.calc.tan.value=\"atan \"\r\n		}\r\n		\r\n		document.calc.sqr.value=\"x^.5 \"\r\n		document.calc.cube.value=\"x^.3 \"\r\n		\r\n		document.calc.floor.value=\" 小数 \"\r\n	}\r\n	else\r\n	{\r\n		document.calc.bt.value=\"d.ms \"\r\n		document.calc.ln.value=\" ln　\"\r\n		document.calc.log.value=\" log \"\r\n\r\n		if (document.calc.hypf.checked)\r\n		{\r\n			document.calc.sin.value=\"hsin \"\r\n			document.calc.cos.value=\"hcos \"\r\n			document.calc.tan.value=\"htan \"\r\n		}\r\n		else\r\n		{\r\n			document.calc.sin.value=\"sin　\"\r\n			document.calc.cos.value=\"cos　\"\r\n			document.calc.tan.value=\"tan　\"\r\n		}\r\n		\r\n		document.calc.sqr.value=\"x^2　\"\r\n		document.calc.cube.value=\"x^3　\"\r\n		\r\n		document.calc.floor.value=\" 取整 \"\r\n	}\r\n\r\n}\r\n//存储器部分\r\n\r\nfunction clearmemory()\r\n{\r\n	mem=0\r\n	document.calc.memory.value=\"   \"\r\n}\r\n\r\nfunction getmemory()\r\n{\r\n	endNumber=true\r\n	document.calc.display.value=decto(mem,carry)\r\n}\r\n\r\nfunction putmemory()\r\n{\r\n	endNumber=true\r\n	if (document.calc.display.value!=0)\r\n	{\r\n		mem=todec(document.calc.display.value,carry)\r\n		document.calc.memory.value=\" M \"\r\n	}\r\n	else\r\n		document.calc.memory.value=\"   \"\r\n}\r\n\r\nfunction addmemory()\r\n{\r\n	endNumber=true\r\n	mem=parseFloat(mem)+parseFloat(todec(document.calc.display.value,carry))\r\n	if (mem==0)\r\n		document.calc.memory.value=\"   \"\r\n	else\r\n		document.calc.memory.value=\" M \"\r\n}\r\n\r\nfunction multimemory()\r\n{\r\n	endNumber=true\r\n	mem=parseFloat(mem)*parseFloat(todec(document.calc.display.value,carry))\r\n	if (mem==0)\r\n		document.calc.memory.value=\"   \"\r\n	else\r\n		document.calc.memory.value=\" M \"\r\n}\r\n\r\n//十进制转换\r\n\r\nfunction todec(num,oldcarry)\r\n{\r\n	if (oldcarry==10 || num==0) return(num)\r\n	var neg=(num.charAt(0)==\"-\")\r\n	if (neg) num=num.substr(1)\r\n	var newnum=0\r\n	for (var index=1;index<=num.length;index++)\r\n		newnum=newnum*oldcarry+hexnum.indexOf(num.charAt(index-1))\r\n	if (neg)\r\n		newnum=-newnum\r\n	return(newnum)\r\n}\r\n\r\nfunction decto(num,newcarry)\r\n{\r\n	var neg=(num<0)\r\n	if (newcarry==10 || num==0) return(num)\r\n	num=\"\"+Math.abs(num)\r\n	var newnum=\"\"\r\n	while (num!=0)\r\n	{\r\n		newnum=hexnum.charAt(num%newcarry)+newnum\r\n		num=Math.floor(num/newcarry)\r\n	}\r\n	if (neg)\r\n		newnum=\"-\"+newnum\r\n	return(newnum)\r\n}\r\n\r\n//表达式解析\r\n\r\nfunction parse(string)\r\n{\r\n	if (string.match(/^(.*d[+-*/\\\\%^&|x<])?([+-]?[0-9a-f.]+)([+-*/\\\\%^&|x<])([+-]?[0-9a-f.]+)\$/))\r\n		return(RegExp.\$1+cypher(RegExp.\$2,RegExp.\$3,RegExp.\$4))\r\n	else\r\n		return(string)\r\n}\r\n\r\n//数学运算和位运算\r\n\r\nfunction cypher(left,join,right)\r\n{\r\n	left=todec(left,carry)\r\n	right=todec(right,carry)\r\n	if (join==\"+\")\r\n		return(decto(parseFloat(left)+parseFloat(right),carry))\r\n	if (join==\"-\")\r\n		return(decto(left-right,carry))\r\n	if (join==\"*\")\r\n		return(decto(left*right,carry))\r\n	if (join==\"/\" && right!=0)\r\n		return(decto(left/right,carry))\r\n	if (join==\"%\")\r\n		return(decto(left%right,carry))\r\n	if (join==\"&\")\r\n		return(decto(left&right,carry))\r\n	if (join==\"|\")\r\n		return(decto(left|right,carry))\r\n	if (join==\"^\")\r\n		return(decto(Math.pow(left,right),carry))\r\n\r\n	if (join==\"x\")\r\n		return(decto(left^right,carry))\r\n	if (join==\"<\")\r\n		return(decto(left<<right,carry))\r\n	alert(\"除数不能为零\")\r\n	return(left)\r\n}\r\n\r\n//函数计算\r\n\r\nfunction funcalc(fun,num)\r\n{\r\n	with(Math)\r\n	{\r\n		if (fun==\"pi\")\r\n			return(PI)\r\n		if (fun==\"e\")\r\n			return(E)\r\n\r\n		if (fun==\"abs\")\r\n			return(abs(num))\r\n		if (fun==\"ceil\")\r\n			return(ceil(num))\r\n		if (fun==\"round\")\r\n			return(round(num))\r\n\r\n		if (fun==\"floor\")\r\n			return(floor(num))\r\n		if (fun==\"deci\")\r\n			return(num-floor(num))\r\n\r\n\r\n		if (fun==\"ln\" && num>0)\r\n			return(log(num))\r\n		if (fun==\"exp\")\r\n			return(exp(num))\r\n		if (fun==\"log\" && num>0)\r\n			return(log(num)*LOG10E)\r\n		if (fun==\"expdec\")\r\n			return(pow(10,num))\r\n\r\n		\r\n		if (fun==\"cube\")\r\n			return(num*num*num)\r\n		if (fun==\"cubt\")\r\n			return(pow(num,1/3))\r\n		if (fun==\"sqr\")\r\n			return(num*num)\r\n		if (fun==\"sqrt\" && num>=0)\r\n			return(sqrt(num))\r\n\r\n		if (fun==\"!\")\r\n			return(factorial(num))\r\n\r\n		if (fun==\"recip\" && num!=0)\r\n			return(1/num)\r\n		\r\n		if (fun==\"dms\")\r\n			return(dms(num))\r\n		if (fun==\"deg\")\r\n			return(deg(num))\r\n\r\n		if (fun==\"~\")\r\n			return(~num)\r\n	\r\n		if (angle==\"d\")\r\n		{\r\n			if (fun==\"sin\")\r\n				return(sin(degressToRadians(num)))\r\n			if (fun==\"cos\")\r\n				return(cos(degressToRadians(num)))\r\n			if (fun==\"tan\")\r\n				return(tan(degressToRadians(num)))\r\n\r\n			if (fun==\"arcsin\" && abs(num)<=1)\r\n				return(radiansToDegress(asin(num)))\r\n			if (fun==\"arccos\" && abs(num)<=1)\r\n				return(radiansToDegress(acos(num)))\r\n			if (fun==\"arctan\")\r\n				return(radiansToDegress(atan(num)))\r\n		}\r\n		else\r\n		{\r\n			if (fun==\"sin\")\r\n				return(sin(num))\r\n			if (fun==\"cos\")\r\n				return(cos(num))\r\n			if (fun==\"tan\")\r\n				return(tan(num))\r\n\r\n			if (fun==\"arcsin\" && abs(num)<=1)\r\n				return(asin(num))\r\n			if (fun==\"arccos\" && abs(num)<=1)\r\n				return(acos(num))\r\n			if (fun==\"arctan\")\r\n				return(atan(num))\r\n		}\r\n	\r\n		if (fun==\"hypsin\")\r\n			return((exp(num)-exp(0-num))*0.5)\r\n		if (fun==\"hypcos\")\r\n			return((exp(num)+exp(-num))*0.5)\r\n		if (fun==\"hyptan\")\r\n			return((exp(num)-exp(-num))/(exp(num)+exp(-num)))\r\n\r\n		if (fun==\"ahypsin\" | fun==\"hypcos\" | fun==\"hyptan\")\r\n		{\r\n			alert(\"对不起,公式还没有查到!\")\r\n			return(num)\r\n		}\r\n		\r\n		alert(\"超出函数定义范围\")\r\n		return(num)\r\n	}\r\n}\r\n\r\nfunction factorial(n)\r\n{\r\n	n=Math.abs(parseInt(n))\r\n	var fac=1\r\n	for (;n>0;n-=1)\r\n		fac*=n\r\n	return(fac)\r\n}\r\n\r\nfunction dms(n)\r\n{\r\n	var neg=(n<0)\r\n	with(Math)\r\n	{	\r\n		n=abs(n)\r\n		var d=floor(n)\r\n		var m=floor(60*(n-d))\r\n		var s=(n-d)*60-m\r\n	}\r\n	var dms=d+m/100+s*0.006\r\n	if (neg) \r\n		dms=-dms\r\n	return(dms)\r\n}\r\n\r\nfunction deg(n)\r\n{\r\n	var neg=(n<0)\r\n	with(Math)\r\n	{\r\n		n=abs(n)\r\n		var d=floor(n)\r\n		var m=floor((n-d)*100)\r\n		var s=(n-d)*100-m\r\n	}\r\n	var deg=d+m/60+s/36\r\n	if (neg) \r\n		deg=-deg\r\n	return(deg)\r\n}\r\n\r\nfunction degressToRadians(degress)\r\n{\r\n	return(degress*Math.PI/180)\r\n}\r\n\r\nfunction radiansToDegress(radians)\r\n{\r\n	return(radians*180/Math.PI)\r\n}\r\n\r\n//界面\r\n//-->\r\n</SCRIPT>\r\n<body bgcolor=\"fcfff7\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\">\r\n<br>\r\n<DIV align=center>\r\n<FORM name=calc>\r\n<TABLE width=650  height=250 bgcolor=\"#E6F2E7\" style=\"border-width:1px 1px 1px 1px;border-style:solid;border-color:#8AB78A;\">\r\n  <TBODY>\r\n  <TR>\r\n    <TD height=50 bgcolor=\"#E6F2E7\">\r\n      <TABLE width=100%>\r\n        <TBODY>       \r\n<TR><TD align=center><FONT color=#205001>www.hao123.com </FONT></TD></TR>\r\n <TR><TD height=\"35\" align=center>\r\n           <INPUT name=display readOnly size=50 value=0 style=\" font-size:18px;\"></TD>\r\n </TR></TBODY></TABLE></TD>\r\n  </TR>\r\n  <TR>\r\n    <TD bgcolor=\"#E6F2E7\">\r\n      <TABLE width=100% style=\"border-width:1px 0px 0px 0px;border-style:solid;border-color:#8AB78A;\">\r\n        <TBODY>\r\n        <TR>\r\n          <TD style=\"color:#205001;\"><INPUT name=carry onclick=inputChangCarry(16) \r\n            type=radio> 十六进制 <INPUT CHECKED name=carry \r\n            onclick=inputChangCarry(10) type=radio> 十进制 <INPUT name=carry \r\n            onclick=inputChangCarry(8) type=radio> 八进制 <INPUT name=carry \r\n            onclick=inputChangCarry(2) type=radio> 二进制 </TD>\r\n          <TD width=\"187\" style=\"color:#205001;\"><INPUT CHECKED name=angle \r\n            onclick=\"inputChangAngle(''d'')\" type=radio value=d> \r\n            角度制 \r\n              <INPUT \r\n            name=angle onclick=\"inputChangAngle(''r'')\" type=radio value=r> \r\n              弧度制        </TD>\r\n          </TR></TBODY></TABLE>\r\n      <TABLE width=100%>\r\n        <TBODY>\r\n        <TR>\r\n          <TD width=170 style=\"color:#205001;\"><INPUT name=shiftf onclick=inputshift() \r\n            type=checkbox>上档功能 <INPUT name=hypf onclick=inputshift() \r\n            type=checkbox>双曲函数 </TD>\r\n          <TD width=\"154\" align=\"center\"><INPUT name=bracket readOnly size=3 \r\n            style=\"BACKGROUND-COLOR: lightgrey; line-height:24px;\"> <INPUT name=memory readOnly \r\n            size=3 style=\"BACKGROUND-COLOR: lightgrey; line-height:24px;\"> <INPUT name=operator \r\n            readOnly size=3 style=\"BACKGROUND-COLOR: lightgrey; \"> </TD>\r\n          <TD align=\"right\"><INPUT onclick=backspace() style=\"COLOR: B50506; line-height:24px;\" type=button value=\"　退格　\"> \r\n<INPUT onclick=\"document.calc.display.value = 0 \" style=\"COLOR: #B50506; line-height:24px;\" type=button value=\"　清屏　\"> \r\n<INPUT onclick=clearall() style=\"COLOR: #B50506; line-height:24px;\" type=button value=\"　全清　\">          </TD>\r\n        </TR></TBODY></TABLE>\r\n      <TABLE width=100%>\r\n        <TBODY>\r\n        <TR>\r\n          <TD>\r\n            <TABLE>\r\n              <TBODY>\r\n              <TR align=middle>\r\n                <TD><INPUT name=pi onclick=\"inputfunction(''pi'',''pi'')\" style=\"COLOR: #1919CD; line-height:24px;\" type=button value=\" PI　\"> \r\n                </TD>\r\n                <TD><INPUT name=e onclick=\"inputfunction(''e'',''e'')\" style=\"COLOR: #1919CD; line-height:24px;\" type=button value=\"　E　\"> \r\n                </TD>\r\n                <TD><INPUT name=bt onclick=\"inputfunction(''dms'',''deg'')\" style=\"COLOR: #D316D3; line-height:24px;\" type=button value=\" d.ms \"> \r\n                </TD></TR>\r\n              <TR align=middle>\r\n                <TD><INPUT onclick=addbracket() style=\"COLOR: #D316D3; line-height:24px;\" type=button value=\"　(　\"> \r\n                </TD>\r\n                <TD><INPUT onclick=disbracket() style=\"COLOR: #D316D3; line-height:24px;\" type=button value=\"　)　\"> \r\n                </TD>\r\n                <TD><INPUT name=ln onclick=\"inputfunction(''ln'',''exp'')\" style=\"COLOR: #D316D3; line-height:24px;\" type=button value=\"　ln　\"> \r\n                </TD></TR>\r\n              <TR align=middle>\r\n                <TD><INPUT name=sin onclick=\"inputtrig(''sin'',''arcsin'',''hypsin'',''ahypsin'')\" style=\"COLOR: #D316D3; line-height:24px;\" type=button value=\"sin　\"> \r\n                </TD>\r\n                <TD><INPUT onclick=\"operation(''^'',7)\" style=\"COLOR: #D316D3; line-height:24px;\" type=button value=\"x^y　\"> \r\n                </TD>\r\n                <TD><INPUT name=log onclick=\"inputfunction(''log'',''expdec'')\" style=\"COLOR: #D316D3; line-height:24px;\" type=button value=\" log　\"> \r\n                </TD></TR>\r\n              <TR align=middle>\r\n                <TD><INPUT name=cos onclick=\"inputtrig(''cos'',''arccos'',''hypcos'',''ahypcos'')\" style=\"COLOR: #D316D3; line-height:24px;\" type=button value=\"cos　\"> \r\n                </TD>\r\n                <TD><INPUT name=cube onclick=\"inputfunction(''cube'',''cubt'')\" style=\"COLOR: #D316D3; line-height:24px;\" type=button value=\"x^3　\"> \r\n                </TD>\r\n                <TD><INPUT onclick=\"inputfunction(''!'',''!'')\" style=\"COLOR: #D316D3; line-height:24px;\" type=button value=\"　n!　\"> \r\n                </TD></TR>\r\n              <TR align=middle>\r\n                <TD><INPUT name=tan onclick=\"inputtrig(''tan'',''arctan'',''hyptan'',''ahyptan'')\" style=\"COLOR: #D316D3; line-height:24px;\" type=button value=\"tan　\"> \r\n                </TD>\r\n                <TD><INPUT name=sqr onclick=\"inputfunction(''sqr'',''sqrt'')\" style=\"COLOR: #D316D3; line-height:24px;\" type=button value=\"x^2　\"> \r\n                </TD>\r\n                <TD><INPUT onclick=\"inputfunction(''recip'',''recip'')\" style=\"COLOR: #D316D3; line-height:24px;\" type=button value=\" 1/x　\"> \r\n                </TD></TR></TBODY></TABLE></TD>\r\n          <TD width=30></TD>\r\n          <TD>\r\n            <TABLE>\r\n              <TBODY>\r\n              <TR>\r\n                <TD align=\"center\"><INPUT onclick=putmemory() style=\"COLOR: #B50506; line-height:24px;\" type=button value=\" 储存 \">                </TD>\r\n              </TR>\r\n              <TR>\r\n                <TD><INPUT onclick=getmemory() style=\"COLOR: #B50506; line-height:24px;\" type=button value=\" 取存 \"> \r\n                </TD></TR>\r\n              <TR>\r\n                <TD><INPUT onclick=addmemory() style=\"COLOR: #B50506; line-height:24px;\" type=button value=\" 累存 \"> \r\n                </TD></TR>\r\n              <TR>\r\n                <TD><INPUT onclick=multimemory() style=\"COLOR: #B50506; line-height:24px;\" type=button value=\" 积存 \"> \r\n                </TD></TR>\r\n              <TR>\r\n                <TD height=33><INPUT onclick=clearmemory() style=\"COLOR: #B50506; line-height:24px;\" type=button value=\" 清存 \"> \r\n                </TD></TR></TBODY></TABLE></TD>\r\n          <TD width=30></TD>\r\n          <TD>\r\n            <TABLE>\r\n              <TBODY>\r\n              <TR align=middle>\r\n                <TD><INPUT name=k7 onclick=\"inputkey(''7'')\" style=\"COLOR: #1919CD; font-size:16px; line-height:24px; \" type=button value=\"　7　\"> \r\n                </TD>\r\n                <TD><INPUT name=k8 onclick=\"inputkey(''8'')\" style=\"COLOR: #1919CD; font-size:16px; line-height:24px;\" type=button value=\"　8　\"> \r\n                </TD>\r\n                <TD><INPUT name=k9 onclick=\"inputkey(''9'')\" style=\"COLOR: #1919CD; font-size:16px; line-height:24px;\" type=button value=\"　9　\"> \r\n                </TD>\r\n                <TD><INPUT onclick=\"operation(''/'',6)\" style=\"COLOR: #B50506; font-size:14px; line-height:24px;\" type=button value=\"　/　\"> \r\n                </TD>\r\n                <TD><INPUT onclick=\"operation(''%'',6)\" style=\"COLOR: #B50506; font-size:14px; line-height:24px;\" type=button value=\" 取余 \"> \r\n                </TD>\r\n                <TD><INPUT onclick=\"operation(''&'',3)\" style=\"COLOR: #B50506; font-size:14px; line-height:24px;\" type=button value=\"　与　\"> \r\n                </TD></TR>\r\n              <TR align=middle>\r\n                <TD><INPUT name=k4 onclick=\"inputkey(''4'')\" style=\"COLOR: #1919CD; font-size:16px; line-height:24px;\" type=button value=\"　4　\"> \r\n                </TD>\r\n                <TD><INPUT name=k5 onclick=\"inputkey(''5'')\" style=\"COLOR: #1919CD; font-size:16px; line-height:24px;\" type=button value=\"　5　\"> \r\n                </TD>\r\n                <TD><INPUT name=k6 onclick=\"inputkey(''6'')\" style=\"COLOR: #1919CD; font-size:16px; line-height:24px;\" type=button value=\"　6　\"> \r\n                </TD>\r\n                <TD><INPUT onclick=\"operation(''*'',6)\" style=\"COLOR: #B50506; font-size:14px; line-height:24px;\" type=button value=\"　*　\"> \r\n                </TD>\r\n                <TD><INPUT name=floor onclick=\"inputfunction(''floor'',''deci'')\" style=\"COLOR: #B50506; font-size:14px; line-height:24px;\" type=button value=\" 取整 \"> \r\n                </TD>\r\n                <TD><INPUT onclick=\"operation(''|'',1)\" style=\"COLOR: #B50506; font-size:14px; line-height:24px;\" type=button value=\"　或　\"> \r\n                </TD></TR>\r\n              <TR align=middle>\r\n                <TD><INPUT onclick=\"inputkey(''1'')\" style=\"COLOR: #1919CD; font-size:16px; line-height:24px;\" type=button value=\"　1　\"> \r\n                </TD>\r\n                <TD><INPUT name=k2 onclick=\"inputkey(''2'')\" style=\"COLOR: #1919CD; font-size:16px; line-height:24px;\" type=button value=\"　2　\"></TD>\r\n                <TD><INPUT name=k3 onclick=\"inputkey(''3'')\" style=\"COLOR: #1919CD; font-size:16px; line-height:24px;\" type=button value=\"　3　\"> \r\n                </TD>\r\n                <TD><INPUT onclick=\"operation(''-'',5)\" style=\"COLOR: #B50506; font-size:14px; line-height:24px;\" type=button value=\"　-　\"> \r\n                </TD>\r\n                <TD><INPUT onclick=\"operation(''<'',4)\" style=\"COLOR: #B50506; font-size:14px; line-height:24px;\" type=button value=\" 左移 \"> \r\n                </TD>\r\n                <TD><INPUT onclick=\"inputfunction(''~'',''~'')\" style=\"COLOR: #B50506; font-size:14px; line-height:24px;\" type=button value=\"　非　\"> \r\n                </TD></TR>\r\n              <TR align=middle>\r\n                <TD><INPUT onclick=\"inputkey(''0'')\" style=\"COLOR: #1919CD; font-size:16px; line-height:24px;\" type=button value=\"　0　\"> \r\n                </TD>\r\n                <TD><INPUT onclick=changeSign() style=\"COLOR: #1919CD; font-size:16px; line-height:24px;\" type=button value=\" +/- \"> \r\n                </TD>\r\n                <TD><INPUT name=kp onclick=\"inputkey(''.'')\" style=\"COLOR: #1919CD; font-size:16px; line-height:24px;\" type=button value=\"　.　\"> \r\n                </TD>\r\n                <TD><INPUT onclick=\"operation(''+'',5)\" style=\"COLOR: #B50506; font-size:14px; line-height:24px;\" type=button value=\"　+　\"> \r\n                </TD>\r\n                <TD><INPUT onclick=result() style=\"COLOR: #B50506; font-size:14px; line-height:24px;\" type=button value=\"　＝　\"> \r\n                </TD>\r\n                <TD><INPUT onclick=\"operation(''x'',2)\" style=\"COLOR: #B50506; font-size:14px; line-height:24px;\" type=button value=\" 异或 \"> \r\n                </TD></TR>\r\n              <TR align=middle>\r\n                <TD><INPUT disabled name=ka onclick=\"inputkey(''a'')\" style=\"COLOR: #1919CD; font-size:14px; line-height:24px;\" type=button value=\"　A 　\"> \r\n                </TD>\r\n                <TD><INPUT disabled name=kb onclick=\"inputkey(''b'')\" style=\"COLOR: #1919CD; font-size:14px; line-height:24px;\" type=button value=\"　B 　\"> \r\n                </TD>\r\n                <TD><INPUT disabled name=kc onclick=\"inputkey(''c'')\" style=\"COLOR: #1919CD; font-size:14px; line-height:24px;\" type=button value=\"　C 　\"> \r\n                </TD>\r\n                <TD><INPUT disabled name=kd onclick=\"inputkey(''d'')\" style=\"COLOR: #1919CD; font-size:14px; line-height:24px;\" type=button value=\"　D　\"> \r\n                </TD>\r\n                <TD align=\"center\"><INPUT disabled name=ke onclick=\"inputkey(''e'')\" style=\"COLOR: #1919CD; font-size:14px; line-height:24px;\" type=button value=\"　E 　\">                </TD>\r\n                <TD align=\"center\"><INPUT disabled name=kf onclick=\"inputkey(''f'')\" style=\"COLOR: #1919CD; font-size:14px; line-height:24px;\" type=button value=\"　F 　\">    </TD>\r\n    </TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></FORM></DIV>','0','','0');");
E_D("replace into `ve123_open` values('52','','卡巴斯基','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\" />\r\n<title>搜猫推广</title>\r\n<style type=\"text/css\">\r\n<!--\r\n.STYLE1 {color: #0000FF}\r\n-->\r\n</style>\r\n</head>\r\n\r\n<body>\r\n<table width=\"518\">\r\n  <tr>\r\n    <td width=\"512\" class=\"plf\"><a href=\"http://www.kaspersky.com.cn/baidu&amp;2010/index.htm\" target=\"_blank\" onmousedown=\"c({''fm'':''pl'',''title'':this.innerHTML,''p1'':1,''ID'':112146,''url'':escape(''www.kaspersky.com.cn/'')});\"><font size=\"3\">卡巴斯基(Kaspersky)中文官方网站</font></a> </td>\r\n  </tr>\r\n  <tr>\r\n    <td class=\"plf\"><table>\r\n      <tr>\r\n        <td align=\"center\"><a href=\"http://www.baidu.com/adrc.php?t=00KL00c00f7CHsm031cZ078Ta0KIYKNn00000Krv0f000000XsVUph.THvOJQjPzeheSfK85yF9pywd0ZnqmyckmyDLPHmkmv7-mvcvPsKd5fK95ywlnAkwpd-_RNwMU77Jfykwn77_RHKFU77JpvkwpY-_RhGoUyPlny9upbuCyNwWnR4JwhGuNduJyyGunYGVnyG9NdD4HbwoPR4JNHNPXNGCR7wAubdjyWKBNjKVu7TsrRGVrg-9NjK3ih4rnN-Vrg-9NjKVmY92T7KRiiR1w0K-5y9YIZ0lQzqLILT8pv71TANzTvV4QhPEUi4WU6KWThnqnWR1njn\" target=\"_blank\" onmousedown=\"c({''fm'':''pl'',''title'':this.innerHTML,''p1'':1,''p2'':2,''ID'':112147,''url'':escape(''www.kaspersky.com.cn/'')});\"><img src=\"http://drmcmm.baidu.com/media/id=PjcLPj6sr0&amp;gp=402&amp;time=nHcLPH0kPHT1ns.jpg\" border=\"0\" /></a></td>\r\n      </tr>\r\n    </table>\r\n        <font size=-1>年度最佳安全软件，16家全球权威IT杂志联合推荐，斩获多项国际大奖和国际尖端技术专利，安全软件行业遥遥领先。同时提供<a href=\"http://www.kaba365.com/4830000.asp?lmid=7473\" target=\"_blank\" onmousedown=\"c({''fm'':''pl'',''title'':this.innerHTML,''p1'':1,''p2'':2,''ID'':112143,''url'':escape(''http://www.kaspersky.com.cn/'')});\">个人安全防护</a>和<a href=\"http://www.kaspersky.com.cn/KL-Products/business_products.htm\" target=\"_blank\" onmousedown=\"c({''fm'':''pl'',''title'':this.innerHTML,''p1'':1,''p2'':3,''ID'':112144,''url'':escape(''http://www.kaspersky.com.cn/'')});\">企业安全方案</a>。2010年夏季新品<a href=\"http://www.kaba365.com/1030700.asp?lmid=7474\" target=\"_blank\" onmousedown=\"c({''fm'':''pl'',''title'':this.innerHTML,''p1'':1,''p2'':4,''ID'':112145,''url'':escape(''http://www.kaspersky.com.cn/'')});\">卡巴斯基手机安全软件9.0</a>隆重上市。保护手机，保护你自己！<br />\r\n        <font size=\"-1\" color=\"#488048\">www.kaspersky.com.cn/</font> <font color=\"#008000\">2010-6</font> - <a href=\"../tg\" target=\"_blank\" style=\"COLOR:#666666;font-size:100%;\" onclick=\"javascript:this.style.color=''#660066'';\">搜猫品牌推广</a> </td>\r\n  </tr>\r\n  <tr>\r\n    <td><div class=\"zbg z1\"></div>\r\n      <font size=\"2\"><a href=\"http://www.kaba365.com/4992500.asp?lmid=3893\" target=\"_blank\" class=\"STYLE1\" onmousedown=\"c({''fm'':''pl'',''title'':this.innerHTML,''p1'':2,''ID'':112131,''url'':escape(''www.kaspersky.com.cn/'')});\">卡巴斯基全功能软件2010版 网络安全首选！</a></font>\r\n      <div class=\"pl02\">&nbsp;</div>\r\n      <a href=\"http://www.kaba365.com/4992500.asp?lmid=3893\" target=\"_blank\" class=\"zb STYLE1\" onmousedown=\"c({''fm'':''pl'',''title'':this.innerHTML,''p1'':2,''p2'':1,''ID'':112132,''url'':escape(''www.kaspersky.com.cn/'')});\"><font size=\"-1\">原价158元/年,现买1年送2年,158元用3年,每天仅0.1元! 特价抢购中</font></a><br /></td>\r\n  </tr>\r\n  <tr>\r\n    <td><div class=\"zbg z2\"></div>\r\n      <font size=\"2\"><a href=\"http://koss.kaspersky.com.cn/\" target=\"_blank\" class=\"STYLE1\" onmousedown=\"c({''fm'':''pl'',''title'':this.innerHTML,''p1'':3,''ID'':112133,''url'':escape(''www.kaspersky.com.cn/'')});\">卡巴斯基企业安全解决方案，提供出色保护</a></font>\r\n      <div class=\"pl02\">&nbsp;</div>\r\n      <a href=\"http://bbs.kaspersky.com.cn/\" target=\"_blank\" class=\"zb STYLE1\" onmousedown=\"c({''fm'':''pl'',''title'':this.innerHTML,''p1'':3,''p2'':1,''ID'':112134,''url'':escape(''www.kaspersky.com.cn/'')});\"><font size=\"-1\">卡巴一族论坛，反病毒高手在此论剑，安全切磋，交流分享</font></a><br /></td>\r\n  </tr>\r\n  <tr>\r\n    <td style=\"height: 5px; line-height: 5px; font-size: 1px;\"></td>\r\n  </tr>\r\n  <tr>\r\n    <td><table cellspacing=\"0\" cellpading=\"0\" style=\"border: 1px solid rgb(197, 192, 232); width:512px;\">\r\n      <thead style=\"background:#D3D1F8 none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; text-align: center;\">\r\n        <tr>\r\n          <td style=\"border-right: 1px solid rgb(197, 192, 232);text-align: center; height: 22px;\"><font size=\"2\">火热促销产品</font></td>\r\n          <td style=\"border-right: 1px solid rgb(197, 192, 232);text-align: center; height: 22px;\"><font size=\"2\">行业领先优势</font></td>\r\n          <td style=\"text-align: center; height: 22px;\"><font size=\"2\">官网惊爆低价</font></td>\r\n        </tr>\r\n      </thead>\r\n      <tbody>\r\n        <tr>\r\n          <td style=\"border-right: 1px solid rgb(197, 192, 232);text-align: center; height: 22px;\"><a href=\"http://www.kaba365.com/4992500.asp?lmid=3890\" target=\"_blank\" class=\"STYLE1\" onmousedown=\"c({''fm'':''pl'',''title'':this.innerHTML,''p1'':6,''p2'':1,''ID'':112135,''url'':escape(''echo www.kaspersky.com.cn/'')});\"><font size=\"2\">卡巴斯基 全功能2010版</font></a></td>\r\n          <td style=\"border-right: 1px solid rgb(197, 192, 232);text-align: center; height: 22px;\"><font size=\"2\">网银,股票,网游全面保护</font></td>\r\n          <td style=\"text-align: center; height: 22px;\"><a href=\"http://www.kaba365.com/4992500.asp?lmid=3890\" target=\"_blank\" class=\"STYLE1\" onmousedown=\"c({''fm'':''pl'',''title'':this.innerHTML,''p1'':6,''p2'':2,''ID'':112136,''url'':escape(''echo www.kaspersky.com.cn/'')});\"><font size=\"2\">30天免费试用 特价158/3年</font></a></td>\r\n        </tr>\r\n        <tr style=\"background:#F1F4F9;\">\r\n          <td style=\"border-right: 1px solid rgb(197, 192, 232);text-align: center; height: 22px;\"><a href=\"http://www.kaba365.com/4992600.asp?lmid=3889\" target=\"_blank\" class=\"STYLE1\" onmousedown=\"c({''fm'':''pl'',''title'':this.innerHTML,''p1'':6,''p2'':3,''ID'':112137,''url'':escape(''echo www.kaspersky.com.cn/'')});\"><font size=\"2\">卡巴斯基 反病毒2010版</font></a></td>\r\n          <td style=\"border-right: 1px solid rgb(197, 192, 232);text-align: center; height: 22px;\"><font size=\"2\">速度快,杀毒强,安全首选</font></td>\r\n          <td style=\"text-align: center; height: 22px;\"><a href=\"http://www.kaba365.com/4992600.asp?lmid=3889\" target=\"_blank\" class=\"STYLE1\" onmousedown=\"c({''fm'':''pl'',''title'':this.innerHTML,''p1'':6,''p2'':4,''ID'':112138,''url'':escape(''echo www.kaspersky.com.cn/'')});\"><font size=\"2\">30天免费试用 特价40元/年</font></a></td>\r\n        </tr>\r\n        <tr>\r\n          <td style=\"border-right: 1px solid rgb(197, 192, 232);text-align: center; height: 22px;\"><a href=\"http://www.kaba365.com/1030900.asp?lmid=7478\" target=\"_blank\" class=\"STYLE1\" onmousedown=\"c({''fm'':''pl'',''title'':this.innerHTML,''p1'':6,''p2'':5,''ID'':112139,''url'':escape(''echo www.kaspersky.com.cn/'')});\"><font size=\"2\">新品上市-团队版</font></a></td>\r\n          <td style=\"border-right: 1px solid rgb(197, 192, 232);text-align: center; height: 22px;\"><font size=\"2\">多电脑用户网络安全套餐</font></td>\r\n          <td style=\"text-align: center; height: 22px;\"><a href=\"http://www.kaba365.com/1030900.asp?lmid=7478\" target=\"_blank\" class=\"STYLE1\" onmousedown=\"c({''fm'':''pl'',''title'':this.innerHTML,''p1'':6,''p2'':6,''ID'':112140,''url'':escape(''echo www.kaspersky.com.cn/'')});\"><font size=\"2\">抢购价:258元/3用户/3年</font></a></td>\r\n        </tr>\r\n        <tr style=\"background:#F1F4F9;\">\r\n          <td style=\"border-right: 1px solid rgb(197, 192, 232);text-align: center; height: 22px;\"><a href=\"http://www.kaba365.com/1030700.asp?lmid=3891\" target=\"_blank\" class=\"STYLE1\" onmousedown=\"c({''fm'':''pl'',''title'':this.innerHTML,''p1'':6,''p2'':7,''ID'':112141,''url'':escape(''echo www.kaspersky.com.cn/'')});\"><font size=\"2\">卡巴斯基手机安全软件9.0</font></a></td>\r\n          <td style=\"border-right: 1px solid rgb(197, 192, 232);text-align: center; height: 22px;\"><font size=\"2\">保护手机,保护你自己</font></td>\r\n          <td style=\"text-align: center; height: 22px;\"><a href=\"http://www.kaba365.com/1030700.asp?lmid=3891\" target=\"_blank\" class=\"STYLE1\" onmousedown=\"c({''fm'':''pl'',''title'':this.innerHTML,''p1'':6,''p2'':8,''ID'':112142,''url'':escape(''echo www.kaspersky.com.cn/'')});\"><font size=\"2\">30天免费试用 特价10元/月</font></a></td>\r\n        </tr>\r\n      </tbody>\r\n    </table></td>\r\n  </tr>\r\n  <tr>\r\n    <td valign=\"top\"><hr size=\"1\" color=\"#e1e1e1\" width=\"100%\" align=\"left\" /></td>\r\n  </tr>\r\n</table>\r\n</body>\r\n</html>','0','','0');");
E_D("replace into `ve123_open` values('53','','农历','<table cellpadding=\"0\" cellspacing=\"0\" id=\"1\">\r\n  <tr>\r\n    <td><style> \r\nbody,td,.p1,.p2,.i{font-family:arial}\r\nbody{margin:6px 0 0 0;background-color:#fff;color:#000;}\r\ntable{border:0}\r\n#cal{width:434px;border:1px solid #c3d9ff;font-size:12px;margin:8px 0 0 15px}\r\n#cal #top{height:29px;line-height:29px;background:#e7eef8;color:#003784;padding-left:70px}\r\n#cal #top select{font-size:12px}\r\n#cal #top input{padding:0}\r\n#cal ul#wk{margin:0;padding:0;height:25px}\r\n#cal ul#wk li{float:left;width:60px;text-align:center;line-height:25px;list-style:none}\r\n#cal ul#wk li b{font-weight:normal;color:#c60b02}\r\n#cal #cm{clear:left;border-top:1px solid #ddd;border-bottom:1px dotted #ddd;position:relative}\r\n#cal #cm .cell{position:absolute;width:42px;height:36px;text-align:center;margin:0 0 0 9px}\r\n#cal #cm .cell .so{font:bold 16px arial;}\r\n#cal #bm{text-align:right;height:24px;line-height:24px;padding:0 13px 0 0}\r\n#cal #bm a{color:7977ce}\r\n#cal #fd{display:none;position:absolute;border:1px solid #dddddf;background:#feffcd;padding:10px;line-height:21px;width:150px}\r\n#cal #fd b{font-weight:normal;color:#c60a00}\r\n</style>\r\n<!--[if IE]>\r\n<style>\r\n#cal #top{padding-top:4px}\r\n#cal #top input{width:65px}\r\n#cal #fd{width:170px}\r\n</style>\r\n<![endif]-->\r\n      <div id=\"cal\">\r\n        <div id=\"top\">公元&nbsp;\r\n          <select>\r\n          </select>\r\n          &nbsp;年&nbsp;\r\n          <select>\r\n          </select>\r\n          &nbsp;月&nbsp;&nbsp;&nbsp;&nbsp;农历<span></span>年&nbsp;[&nbsp;<span></span>年&nbsp;]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n          <input type=\"button\" value=\"回到今天\" title=\"点击后跳转回今天\" style=\"padding:0px\">\r\n        </div>\r\n        <ul id=\"wk\">\r\n          <li>一</li>\r\n          <li>二</li>\r\n          <li>三</li>\r\n          <li>四</li>\r\n          <li>五</li>\r\n          <li><b>六</b></li>\r\n          <li><b>日</b></li>\r\n        </ul>\r\n        <div id=\"cm\"></div>\r\n        <div id=\"bm\"></div>\r\n      </div></td>\r\n  </tr>\r\n</table>\r\n<script type=\"text/javascript\">\r\n<!--\r\n(function(){\r\nvar S=navigator.userAgent.indexOf(\"MSIE\")!=-1&&!window.opera;\r\nfunction M(C){\r\nreturn document.getElementById(C)\r\n} function R(C){\r\nreturn document.createElement(C)\r\n} var P=[19416,19168,42352,21717,53856,55632,91476,22176,39632,21970,19168,42422,42192,53840,119381,46400,54944,44450,38320,84343,18800,42160,46261,27216,27968,109396,11104,38256,21234,18800,25958,54432,59984,28309,23248,11104,100067,37600,116951,51536,54432,120998,46416,22176,107956,9680,37584,53938,43344,46423,27808,46416,86869,19872,42448,83315,21200,43432,59728,27296,44710,43856,19296,43748,42352,21088,62051,55632,23383,22176,38608,19925,19152,42192,54484,53840,54616,46400,46496,103846,38320,18864,43380,42160,45690,27216,27968,44870,43872,38256,19189,18800,25776,29859,59984,27480,21952,43872,38613,37600,51552,55636,54432,55888,30034,22176,43959,9680,37584,51893,43344,46240,47780,44368,21977,19360,42416,86390,21168,43312,31060,27296,44368,23378,19296,42726,42208,53856,60005,54576,23200,30371,38608,19415,19152,42192,118966,53840,54560,56645,46496,22224,21938,18864,42359,42160,43600,111189,27936,44448];\r\nvar K=\"甲乙丙丁戊己庚辛壬癸\";\r\nvar J=\"子丑寅卯辰巳午未申酉戌亥\";\r\nvar O=\"鼠牛虎兔龙蛇马羊猴鸡狗猪\";\r\nvar L=[\"小寒\",\"大寒\",\"立春\",\"雨水\",\"惊蛰\",\"春分\",\"清明\",\"谷雨\",\"立夏\",\"小满\",\"芒种\",\"夏至\",\"小暑\",\"大暑\",\"立秋\",\"处暑\",\"白露\",\"秋分\",\"寒露\",\"霜降\",\"立冬\",\"小雪\",\"大雪\",\"冬至\"];\r\nvar D=[0,21208,43467,63836,85337,107014,128867,150921,173149,195551,218072,240693,263343,285989,308563,331033,353350,375494,397447,419210,440795,462224,483532,504758];\r\nvar B=\"日一二三四五六七八九十\";\r\nvar H=[\"正\",\"二\",\"三\",\"四\",\"五\",\"六\",\"七\",\"八\",\"九\",\"十\",\"十一\",\"腊\"];\r\nvar E=\"初十廿卅\";\r\nvar V={\r\n\"0101\":\"*1元旦节\",\"0214\":\"情人节\",\"0305\":\"学雷锋纪念日\",\"0308\":\"妇女节\",\"0312\":\"植树节\",\"0315\":\"消费者权益日\",\"0401\":\"愚人节\",\"0501\":\"*1劳动节\",\"0504\":\"青年节\",\"0601\":\"国际儿童节\",\"0701\":\"中国共产党诞辰\",\"0801\":\"建军节\",\"0910\":\"中国教师节\",\"1001\":\"*3国庆节\",\"1224\":\"平安夜\",\"1225\":\"圣诞节\"\r\n} ;\r\nvar T={\r\n\"0101\":\"*2春节\",\"0115\":\"元宵节\",\"0505\":\"*1端午节\",\"0815\":\"*1中秋节\",\"0909\":\"重阳节\",\"1208\":\"腊八节\",\"0100\":\"除夕\"\r\n} ;\r\nfunction U(Y){\r\nfunction c(j,i){\r\nvar h=new Date((31556925974.7*(j-1900)+D[i]*60000)+Date.UTC(1900,0,6,2,5));\r\nreturn(h.getUTCDate())\r\n} function d(k){\r\nvar h,j=348;\r\nfor(h=32768;h>8;h>>=1){\r\nj+=(P[k-1900]&h)?1:0\r\n} return(j+b(k))\r\n} function a(h){\r\nreturn(K.charAt(h%10)+J.charAt(h%12))\r\n} function b(h){\r\nif(g(h)){\r\nreturn((P[h-1900]&65536)?30:29)\r\n} else{\r\nreturn(0)\r\n} \r\n} function g(h){\r\nreturn(P[h-1900]&15)\r\n} function e(i,h){\r\nreturn((P[i-1900]&(65536>>h))?30:29)\r\n} function C(m){\r\nvar k,j=0,h=0;\r\nvar l=new Date(1900,0,31);\r\nvar n=(m-l)/86400000;\r\nthis.dayCyl=n+40;\r\nthis.monCyl=14;\r\nfor(k=1900;k<2050&&n>0;k++){\r\nh=d(k);\r\nn-=h;\r\nthis.monCyl+=12\r\n} if(n<0){\r\nn+=h;\r\nk--;\r\nthis.monCyl-=12\r\n} this.year=k;\r\nthis.yearCyl=k-1864;\r\nj=g(k);\r\nthis.isLeap=false;\r\nfor(k=1;k<13&&n>0;k++){\r\nif(j>0&&k==(j+1)&&this.isLeap==false){\r\n--k;\r\nthis.isLeap=true;\r\nh=b(this.year)\r\n} else{\r\nh=e(this.year,k)\r\n} if(this.isLeap==true&&k==(j+1)){\r\nthis.isLeap=false\r\n} n-=h;\r\nif(this.isLeap==false){\r\nthis.monCyl++\r\n} \r\n} if(n==0&&j>0&&k==j+1){\r\nif(this.isLeap){\r\nthis.isLeap=false\r\n} else{\r\nthis.isLeap=true;\r\n--k;\r\n--this.monCyl\r\n} \r\n} if(n<0){\r\nn+=h;\r\n--k;\r\n--this.monCyl\r\n} this.month=k;\r\nthis.day=n+1\r\n} function G(h){\r\nreturn h<10?\"0\"+h:h\r\n} function f(i,j){\r\nvar h=i;\r\nreturn j.replace(/dd?d?d?|MM?M?M?|yy?y?y?/g,function(k){\r\nswitch(k){\r\ncase\"yyyy\":var l=\"000\"+h.getFullYear();\r\nreturn l.substring(l.length-4);\r\ncase\"dd\":return G(h.getDate());\r\ncase\"d\":return h.getDate().toString();\r\ncase\"MM\":return G((h.getMonth()+1));\r\ncase\"M\":return h.getMonth()+1\r\n} \r\n} )\r\n} function Z(i,h){\r\nvar j;\r\nswitch(i,h){\r\ncase 10:j=\"初十\";\r\nbreak;\r\ncase 20:j=\"二十\";\r\nbreak;\r\ncase 30:j=\"三十\";\r\nbreak;\r\ndefault:j=E.charAt(Math.floor(h/10));\r\nj+=B.charAt(h%10)\r\n} return(j)\r\n} this.date=Y;\r\nthis.isToday=false;\r\nthis.isRestDay=false;\r\nthis.solarYear=f(Y,\"yyyy\");\r\nthis.solarMonth=f(Y,\"M\");\r\nthis.solarDate=f(Y,\"d\");\r\nthis.solarWeekDay=Y.getDay();\r\nthis.solarWeekDayInChinese=\"星期\"+B.charAt(this.solarWeekDay);\r\nvar X=new C(Y);\r\nthis.lunarYear=X.year;\r\nthis.shengxiao=O.charAt((this.lunarYear-4)%12);\r\nthis.lunarMonth=X.month;\r\nthis.lunarIsLeapMonth=X.isLeap;\r\nthis.lunarMonthInChinese=this.lunarIsLeapMonth?\"闰\"+H[X.month-1]:H[X.month-1];\r\nthis.lunarDate=X.day;\r\nthis.showInLunar=this.lunarDateInChinese=Z(this.lunarMonth,this.lunarDate);\r\nif(this.lunarDate==1){\r\nthis.showInLunar=this.lunarMonthInChinese+\"月\"\r\n} this.ganzhiYear=a(X.yearCyl);\r\nthis.ganzhiMonth=a(X.monCyl);\r\nthis.ganzhiDate=a(X.dayCyl++);\r\nthis.jieqi=\"\";\r\nthis.restDays=0;\r\nif(c(this.solarYear,(this.solarMonth-1)*2)==f(Y,\"d\")){\r\nthis.showInLunar=this.jieqi=L[(this.solarMonth-1)*2]\r\n} if(c(this.solarYear,(this.solarMonth-1)*2+1)==f(Y,\"d\")){\r\nthis.showInLunar=this.jieqi=L[(this.solarMonth-1)*2+1]\r\n} if(this.showInLunar==\"清明\"){\r\nthis.showInLunar=\"清明节\";\r\nthis.restDays=1\r\n} this.solarFestival=V[f(Y,\"MM\")+f(Y,\"dd\")];\r\nif(typeof this.solarFestival==\"undefined\"){\r\nthis.solarFestival=\"\"\r\n} else{\r\nif(/*(d)/.test(this.solarFestival)){\r\nthis.restDays=parseInt(RegExp.\$1);\r\nthis.solarFestival=this.solarFestival.replace(/*d/,\"\")\r\n} \r\n} this.showInLunar=(this.solarFestival==\"\")?this.showInLunar:this.solarFestival;\r\nthis.lunarFestival=T[this.lunarIsLeapMonth?\"00\":G(this.lunarMonth)+G(this.lunarDate)];\r\nif(typeof this.lunarFestival==\"undefined\"){\r\nthis.lunarFestival=\"\"\r\n} else{\r\nif(/*(d)/.test(this.lunarFestival)){\r\nthis.restDays=(this.restDays>parseInt(RegExp.\$1))?this.restDays:parseInt(RegExp.\$1);\r\nthis.lunarFestival=this.lunarFestival.replace(/*d/,\"\")\r\n} \r\n} if(this.lunarMonth==12&&this.lunarDate==e(this.lunarYear,12)){\r\nthis.lunarFestival=T[\"0100\"];\r\nthis.restDays=1\r\n} this.showInLunar=(this.lunarFestival==\"\")?this.showInLunar:this.lunarFestival;\r\nthis.showInLunar=(this.showInLunar.length>4)?this.showInLunar.substr(0,2)+\"...\":this.showInLunar\r\n} var Q=(function(){\r\nvar X={\r\n} ;\r\nX.lines=0;\r\nX.dateArray=new Array(42);\r\nfunction Y(a){\r\nreturn(((a%4===0)&&(a%100!==0))||(a%400===0))\r\n} function G(a,b){\r\nreturn[31,(Y(a)?29:28),31,30,31,30,31,31,30,31,30,31][b]\r\n} function C(a,b){\r\na.setDate(a.getDate()+b);\r\nreturn a\r\n} function Z(a){\r\nvar f=0;\r\nvar c=new U(new Date(a.solarYear,a.solarMonth-1,1));\r\nvar d=(c.solarWeekDay-1==-1)?6:c.solarWeekDay-1;\r\nX.lines=Math.ceil((d+G(a.solarYear,a.solarMonth-1))/7);\r\nfor(var e=0;e<X.dateArray.length;e++){\r\nif(c.restDays!=0){\r\nf=c.restDays\r\n} if(f>0){\r\nc.isRest=true\r\n} if(d-->0||c.solarMonth!=a.solarMonth){\r\nX.dateArray[e]=null;\r\ncontinue\r\n} var b=new U(new Date());\r\nif(c.solarYear==b.solarYear&&c.solarMonth==b.solarMonth&&c.solarDate==b.solarDate){\r\nc.isToday=true\r\n} X.dateArray[e]=c;\r\nc=new U(C(c.date,1));\r\nf--\r\n} \r\n} return{\r\ninit:function(a){\r\nZ(a)\r\n} ,getJson:function(){\r\nreturn X\r\n} \r\n} \r\n} )();\r\nvar W=(function(){\r\nvar C=M(\"top\").getElementsByTagName(\"SELECT\")[0];\r\nvar X=M(\"top\").getElementsByTagName(\"SELECT\")[1];\r\nvar G=M(\"top\").getElementsByTagName(\"SPAN\")[0];\r\nvar c=M(\"top\").getElementsByTagName(\"SPAN\")[1];\r\nvar Y=M(\"top\").getElementsByTagName(\"INPUT\")[0];\r\nfunction a(g){\r\nG.innerHTML=g.ganzhiYear;\r\nc.innerHTML=g.shengxiao\r\n} function b(g){\r\nC[g.solarYear-1901].selected=true;\r\nX[g.solarMonth-1].selected=true\r\n} function f(){\r\nvar j=C.value;\r\nvar g=X.value;\r\nvar i=new U(new Date(j,g-1,1));\r\nQ.init(i);\r\nN.draw();\r\nif(this==C){\r\ni=new U(new Date(j,3,1));\r\nG.innerHTML=i.ganzhiYear;\r\nc.innerHTML=i.shengxiao\r\n} var h=new U(new Date());\r\nY.style.visibility=(j==h.solarYear&&g==h.solarMonth)?\"hidden\":\"visible\"\r\n} function Z(){\r\nvar g=new U(new Date());\r\na(g);\r\nb(g);\r\nQ.init(g);\r\nN.draw();\r\nY.style.visibility=\"hidden\"\r\n} function d(k,g){\r\nfor(var j=1901;j<2050;j++){\r\nvar h=R(\"OPTION\");\r\nh.value=j;\r\nh.innerHTML=j;\r\nif(j==k){\r\nh.selected=\"selected\"\r\n} C.appendChild(h)\r\n} for(var j=1;j<13;j++){\r\nvar h=R(\"OPTION\");\r\nh.value=j;\r\nh.innerHTML=j;\r\nif(j==g){\r\nh.selected=\"selected\"\r\n} X.appendChild(h)\r\n} C.onchange=f;\r\nX.onchange=f\r\n} function e(g){\r\nd(g.solarYear,g.solarMonth);\r\nG.innerHTML=g.ganzhiYear;\r\nc.innerHTML=g.shengxiao;\r\nY.onclick=Z;\r\nY.style.visibility=\"hidden\"\r\n} return{\r\ninit:function(g){\r\ne(g)\r\n} ,reset:function(g){\r\nb(g)\r\n} \r\n} \r\n} )();\r\nvar N=(function(){\r\nfunction C(){\r\nvar Z=Q.getJson();\r\nvar c=Z.dateArray;\r\nM(\"cm\").style.height=Z.lines*38+2+\"px\";\r\nM(\"cm\").innerHTML=\"\";\r\nfor(var a=0;a<c.length;a++){\r\nif(c[a]==null){\r\ncontinue\r\n} var X=R(\"DIV\");\r\nif(c[a].isToday){\r\nX.style.border=\"1px solid #a5b9da\";\r\nX.style.background=\"#c1d9ff\"\r\n} X.className=\"cell\";\r\nX.style.left=(a%7)*60+\"px\";\r\nX.style.top=Math.floor(a/7)*38+2+\"px\";\r\nvar b=R(\"DIV\");\r\nb.className=\"so\";\r\nb.style.color=((a%7)>4||c[a].isRest)?\"#c60b02\":\"#313131\";\r\nb.innerHTML=c[a].solarDate;\r\nX.appendChild(b);\r\nvar Y=R(\"DIV\");\r\nY.style.color=\"#666\";\r\nY.innerHTML=c[a].showInLunar;\r\nX.appendChild(Y);\r\nX.onmouseover=(function(d){\r\nreturn function(f){\r\nF.show({\r\ndateIndex:d,cell:this\r\n} )\r\n} \r\n} )(a);\r\nX.onmouseout=function(){\r\nF.hide()\r\n} ;\r\nM(\"cm\").appendChild(X)\r\n} var G=R(\"DIV\");\r\nG.id=\"fd\";\r\nM(\"cm\").appendChild(G);\r\nF.init(G)\r\n} return{\r\ndraw:function(G){\r\nC(G)\r\n} \r\n} \r\n} )();\r\nvar F=(function(){\r\nvar C;\r\nfunction Y(e,c){\r\nif(arguments.length>1){\r\nvar b=/([.*+?^=!:\${}()|[]/])/g,Z=\"{\".replace(b,\"\$1\"),d=\"}\".replace(b,\"\$1\");\r\nvar a=new RegExp(\"#\"+Z+\"([^\"+Z+d+\"]+)\"+d,\"g\");\r\nif(typeof (c)==\"object\"){\r\nreturn e.replace(a,function(f,h){\r\nvar g=c[h];\r\nreturn typeof (g)==\"undefined\"?\"\":g\r\n} )\r\n} \r\n} return e\r\n} function G(b){\r\nvar a=Q.getJson().dateArray[b.dateIndex];\r\nvar Z=b.cell;\r\nvar c=\"#{solarYear}&nbsp;年&nbsp;#{solarMonth}&nbsp;月&nbsp;#{solarDate}&nbsp;日&nbsp;#{solarWeekDayInChinese}\";\r\nc+=\"<br><b>农历&nbsp;#{lunarMonthInChinese}月#{lunarDateInChinese}</b>\";\r\nc+=\"<br>#{ganzhiYear}年&nbsp;#{ganzhiMonth}月&nbsp;#{ganzhiDate}日\";\r\nif(a.solarFestival!=\"\"||a.lunarFestival!=\"\"||a.jieqi!=\"\"){\r\nc+=\"<br><b>#{lunarFestival} #{solarFestival} #{jieqi}</b>\"\r\n} C.innerHTML=Y(c,a);\r\nC.style.top=Z.offsetTop+Z.offsetHeight-5+\"px\";\r\nC.style.left=Z.offsetLeft+Z.offsetWidth-5+\"px\";\r\nC.style.display=\"block\"\r\n} function X(){\r\nC.style.display=\"none\"\r\n} return{\r\nshow:function(Z){\r\nG(Z)\r\n} ,hide:function(){\r\nX()\r\n} ,init:function(Z){\r\nC=Z\r\n} \r\n} \r\n} )();\r\nvar A=new U(new Date());\r\nif(S){\r\nwindow.attachEvent(\"onload\",function(){\r\nW.reset(A)\r\n} )\r\n} W.init(A);\r\nQ.init(A);\r\nN.draw();\r\n} )();\r\n//-->\r\n</script>','0','','0');");
E_D("replace into `ve123_open` values('54','','日历','<table cellpadding=\"0\" cellspacing=\"0\" id=\"1\">\r\n  <tr>\r\n    <td><style> \r\nbody,td,.p1,.p2,.i{font-family:arial}\r\nbody{margin:6px 0 0 0;background-color:#fff;color:#000;}\r\ntable{border:0}\r\n#cal{width:434px;border:1px solid #c3d9ff;font-size:12px;margin:8px 0 0 15px}\r\n#cal #top{height:29px;line-height:29px;background:#e7eef8;color:#003784;padding-left:70px}\r\n#cal #top select{font-size:12px}\r\n#cal #top input{padding:0}\r\n#cal ul#wk{margin:0;padding:0;height:25px}\r\n#cal ul#wk li{float:left;width:60px;text-align:center;line-height:25px;list-style:none}\r\n#cal ul#wk li b{font-weight:normal;color:#c60b02}\r\n#cal #cm{clear:left;border-top:1px solid #ddd;border-bottom:1px dotted #ddd;position:relative}\r\n#cal #cm .cell{position:absolute;width:42px;height:36px;text-align:center;margin:0 0 0 9px}\r\n#cal #cm .cell .so{font:bold 16px arial;}\r\n#cal #bm{text-align:right;height:24px;line-height:24px;padding:0 13px 0 0}\r\n#cal #bm a{color:7977ce}\r\n#cal #fd{display:none;position:absolute;border:1px solid #dddddf;background:#feffcd;padding:10px;line-height:21px;width:150px}\r\n#cal #fd b{font-weight:normal;color:#c60a00}\r\n</style>\r\n<!--[if IE]>\r\n<style>\r\n#cal #top{padding-top:4px}\r\n#cal #top input{width:65px}\r\n#cal #fd{width:170px}\r\n</style>\r\n<![endif]-->\r\n      <div id=\"cal\">\r\n        <div id=\"top\">公元&nbsp;\r\n          <select>\r\n          </select>\r\n          &nbsp;年&nbsp;\r\n          <select>\r\n          </select>\r\n          &nbsp;月&nbsp;&nbsp;&nbsp;&nbsp;农历<span></span>年&nbsp;[&nbsp;<span></span>年&nbsp;]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n          <input type=\"button\" value=\"回到今天\" title=\"点击后跳转回今天\" style=\"padding:0px\">\r\n        </div>\r\n        <ul id=\"wk\">\r\n          <li>一</li>\r\n          <li>二</li>\r\n          <li>三</li>\r\n          <li>四</li>\r\n          <li>五</li>\r\n          <li><b>六</b></li>\r\n          <li><b>日</b></li>\r\n        </ul>\r\n        <div id=\"cm\"></div>\r\n        <div id=\"bm\"></div>\r\n      </div></td>\r\n  </tr>\r\n</table>\r\n<script type=\"text/javascript\">\r\n<!--\r\n(function(){\r\nvar S=navigator.userAgent.indexOf(\"MSIE\")!=-1&&!window.opera;\r\nfunction M(C){\r\nreturn document.getElementById(C)\r\n} function R(C){\r\nreturn document.createElement(C)\r\n} var P=[19416,19168,42352,21717,53856,55632,91476,22176,39632,21970,19168,42422,42192,53840,119381,46400,54944,44450,38320,84343,18800,42160,46261,27216,27968,109396,11104,38256,21234,18800,25958,54432,59984,28309,23248,11104,100067,37600,116951,51536,54432,120998,46416,22176,107956,9680,37584,53938,43344,46423,27808,46416,86869,19872,42448,83315,21200,43432,59728,27296,44710,43856,19296,43748,42352,21088,62051,55632,23383,22176,38608,19925,19152,42192,54484,53840,54616,46400,46496,103846,38320,18864,43380,42160,45690,27216,27968,44870,43872,38256,19189,18800,25776,29859,59984,27480,21952,43872,38613,37600,51552,55636,54432,55888,30034,22176,43959,9680,37584,51893,43344,46240,47780,44368,21977,19360,42416,86390,21168,43312,31060,27296,44368,23378,19296,42726,42208,53856,60005,54576,23200,30371,38608,19415,19152,42192,118966,53840,54560,56645,46496,22224,21938,18864,42359,42160,43600,111189,27936,44448];\r\nvar K=\"甲乙丙丁戊己庚辛壬癸\";\r\nvar J=\"子丑寅卯辰巳午未申酉戌亥\";\r\nvar O=\"鼠牛虎兔龙蛇马羊猴鸡狗猪\";\r\nvar L=[\"小寒\",\"大寒\",\"立春\",\"雨水\",\"惊蛰\",\"春分\",\"清明\",\"谷雨\",\"立夏\",\"小满\",\"芒种\",\"夏至\",\"小暑\",\"大暑\",\"立秋\",\"处暑\",\"白露\",\"秋分\",\"寒露\",\"霜降\",\"立冬\",\"小雪\",\"大雪\",\"冬至\"];\r\nvar D=[0,21208,43467,63836,85337,107014,128867,150921,173149,195551,218072,240693,263343,285989,308563,331033,353350,375494,397447,419210,440795,462224,483532,504758];\r\nvar B=\"日一二三四五六七八九十\";\r\nvar H=[\"正\",\"二\",\"三\",\"四\",\"五\",\"六\",\"七\",\"八\",\"九\",\"十\",\"十一\",\"腊\"];\r\nvar E=\"初十廿卅\";\r\nvar V={\r\n\"0101\":\"*1元旦节\",\"0214\":\"情人节\",\"0305\":\"学雷锋纪念日\",\"0308\":\"妇女节\",\"0312\":\"植树节\",\"0315\":\"消费者权益日\",\"0401\":\"愚人节\",\"0501\":\"*1劳动节\",\"0504\":\"青年节\",\"0601\":\"国际儿童节\",\"0701\":\"中国共产党诞辰\",\"0801\":\"建军节\",\"0910\":\"中国教师节\",\"1001\":\"*3国庆节\",\"1224\":\"平安夜\",\"1225\":\"圣诞节\"\r\n} ;\r\nvar T={\r\n\"0101\":\"*2春节\",\"0115\":\"元宵节\",\"0505\":\"*1端午节\",\"0815\":\"*1中秋节\",\"0909\":\"重阳节\",\"1208\":\"腊八节\",\"0100\":\"除夕\"\r\n} ;\r\nfunction U(Y){\r\nfunction c(j,i){\r\nvar h=new Date((31556925974.7*(j-1900)+D[i]*60000)+Date.UTC(1900,0,6,2,5));\r\nreturn(h.getUTCDate())\r\n} function d(k){\r\nvar h,j=348;\r\nfor(h=32768;h>8;h>>=1){\r\nj+=(P[k-1900]&h)?1:0\r\n} return(j+b(k))\r\n} function a(h){\r\nreturn(K.charAt(h%10)+J.charAt(h%12))\r\n} function b(h){\r\nif(g(h)){\r\nreturn((P[h-1900]&65536)?30:29)\r\n} else{\r\nreturn(0)\r\n} \r\n} function g(h){\r\nreturn(P[h-1900]&15)\r\n} function e(i,h){\r\nreturn((P[i-1900]&(65536>>h))?30:29)\r\n} function C(m){\r\nvar k,j=0,h=0;\r\nvar l=new Date(1900,0,31);\r\nvar n=(m-l)/86400000;\r\nthis.dayCyl=n+40;\r\nthis.monCyl=14;\r\nfor(k=1900;k<2050&&n>0;k++){\r\nh=d(k);\r\nn-=h;\r\nthis.monCyl+=12\r\n} if(n<0){\r\nn+=h;\r\nk--;\r\nthis.monCyl-=12\r\n} this.year=k;\r\nthis.yearCyl=k-1864;\r\nj=g(k);\r\nthis.isLeap=false;\r\nfor(k=1;k<13&&n>0;k++){\r\nif(j>0&&k==(j+1)&&this.isLeap==false){\r\n--k;\r\nthis.isLeap=true;\r\nh=b(this.year)\r\n} else{\r\nh=e(this.year,k)\r\n} if(this.isLeap==true&&k==(j+1)){\r\nthis.isLeap=false\r\n} n-=h;\r\nif(this.isLeap==false){\r\nthis.monCyl++\r\n} \r\n} if(n==0&&j>0&&k==j+1){\r\nif(this.isLeap){\r\nthis.isLeap=false\r\n} else{\r\nthis.isLeap=true;\r\n--k;\r\n--this.monCyl\r\n} \r\n} if(n<0){\r\nn+=h;\r\n--k;\r\n--this.monCyl\r\n} this.month=k;\r\nthis.day=n+1\r\n} function G(h){\r\nreturn h<10?\"0\"+h:h\r\n} function f(i,j){\r\nvar h=i;\r\nreturn j.replace(/dd?d?d?|MM?M?M?|yy?y?y?/g,function(k){\r\nswitch(k){\r\ncase\"yyyy\":var l=\"000\"+h.getFullYear();\r\nreturn l.substring(l.length-4);\r\ncase\"dd\":return G(h.getDate());\r\ncase\"d\":return h.getDate().toString();\r\ncase\"MM\":return G((h.getMonth()+1));\r\ncase\"M\":return h.getMonth()+1\r\n} \r\n} )\r\n} function Z(i,h){\r\nvar j;\r\nswitch(i,h){\r\ncase 10:j=\"初十\";\r\nbreak;\r\ncase 20:j=\"二十\";\r\nbreak;\r\ncase 30:j=\"三十\";\r\nbreak;\r\ndefault:j=E.charAt(Math.floor(h/10));\r\nj+=B.charAt(h%10)\r\n} return(j)\r\n} this.date=Y;\r\nthis.isToday=false;\r\nthis.isRestDay=false;\r\nthis.solarYear=f(Y,\"yyyy\");\r\nthis.solarMonth=f(Y,\"M\");\r\nthis.solarDate=f(Y,\"d\");\r\nthis.solarWeekDay=Y.getDay();\r\nthis.solarWeekDayInChinese=\"星期\"+B.charAt(this.solarWeekDay);\r\nvar X=new C(Y);\r\nthis.lunarYear=X.year;\r\nthis.shengxiao=O.charAt((this.lunarYear-4)%12);\r\nthis.lunarMonth=X.month;\r\nthis.lunarIsLeapMonth=X.isLeap;\r\nthis.lunarMonthInChinese=this.lunarIsLeapMonth?\"闰\"+H[X.month-1]:H[X.month-1];\r\nthis.lunarDate=X.day;\r\nthis.showInLunar=this.lunarDateInChinese=Z(this.lunarMonth,this.lunarDate);\r\nif(this.lunarDate==1){\r\nthis.showInLunar=this.lunarMonthInChinese+\"月\"\r\n} this.ganzhiYear=a(X.yearCyl);\r\nthis.ganzhiMonth=a(X.monCyl);\r\nthis.ganzhiDate=a(X.dayCyl++);\r\nthis.jieqi=\"\";\r\nthis.restDays=0;\r\nif(c(this.solarYear,(this.solarMonth-1)*2)==f(Y,\"d\")){\r\nthis.showInLunar=this.jieqi=L[(this.solarMonth-1)*2]\r\n} if(c(this.solarYear,(this.solarMonth-1)*2+1)==f(Y,\"d\")){\r\nthis.showInLunar=this.jieqi=L[(this.solarMonth-1)*2+1]\r\n} if(this.showInLunar==\"清明\"){\r\nthis.showInLunar=\"清明节\";\r\nthis.restDays=1\r\n} this.solarFestival=V[f(Y,\"MM\")+f(Y,\"dd\")];\r\nif(typeof this.solarFestival==\"undefined\"){\r\nthis.solarFestival=\"\"\r\n} else{\r\nif(/*(d)/.test(this.solarFestival)){\r\nthis.restDays=parseInt(RegExp.\$1);\r\nthis.solarFestival=this.solarFestival.replace(/*d/,\"\")\r\n} \r\n} this.showInLunar=(this.solarFestival==\"\")?this.showInLunar:this.solarFestival;\r\nthis.lunarFestival=T[this.lunarIsLeapMonth?\"00\":G(this.lunarMonth)+G(this.lunarDate)];\r\nif(typeof this.lunarFestival==\"undefined\"){\r\nthis.lunarFestival=\"\"\r\n} else{\r\nif(/*(d)/.test(this.lunarFestival)){\r\nthis.restDays=(this.restDays>parseInt(RegExp.\$1))?this.restDays:parseInt(RegExp.\$1);\r\nthis.lunarFestival=this.lunarFestival.replace(/*d/,\"\")\r\n} \r\n} if(this.lunarMonth==12&&this.lunarDate==e(this.lunarYear,12)){\r\nthis.lunarFestival=T[\"0100\"];\r\nthis.restDays=1\r\n} this.showInLunar=(this.lunarFestival==\"\")?this.showInLunar:this.lunarFestival;\r\nthis.showInLunar=(this.showInLunar.length>4)?this.showInLunar.substr(0,2)+\"...\":this.showInLunar\r\n} var Q=(function(){\r\nvar X={\r\n} ;\r\nX.lines=0;\r\nX.dateArray=new Array(42);\r\nfunction Y(a){\r\nreturn(((a%4===0)&&(a%100!==0))||(a%400===0))\r\n} function G(a,b){\r\nreturn[31,(Y(a)?29:28),31,30,31,30,31,31,30,31,30,31][b]\r\n} function C(a,b){\r\na.setDate(a.getDate()+b);\r\nreturn a\r\n} function Z(a){\r\nvar f=0;\r\nvar c=new U(new Date(a.solarYear,a.solarMonth-1,1));\r\nvar d=(c.solarWeekDay-1==-1)?6:c.solarWeekDay-1;\r\nX.lines=Math.ceil((d+G(a.solarYear,a.solarMonth-1))/7);\r\nfor(var e=0;e<X.dateArray.length;e++){\r\nif(c.restDays!=0){\r\nf=c.restDays\r\n} if(f>0){\r\nc.isRest=true\r\n} if(d-->0||c.solarMonth!=a.solarMonth){\r\nX.dateArray[e]=null;\r\ncontinue\r\n} var b=new U(new Date());\r\nif(c.solarYear==b.solarYear&&c.solarMonth==b.solarMonth&&c.solarDate==b.solarDate){\r\nc.isToday=true\r\n} X.dateArray[e]=c;\r\nc=new U(C(c.date,1));\r\nf--\r\n} \r\n} return{\r\ninit:function(a){\r\nZ(a)\r\n} ,getJson:function(){\r\nreturn X\r\n} \r\n} \r\n} )();\r\nvar W=(function(){\r\nvar C=M(\"top\").getElementsByTagName(\"SELECT\")[0];\r\nvar X=M(\"top\").getElementsByTagName(\"SELECT\")[1];\r\nvar G=M(\"top\").getElementsByTagName(\"SPAN\")[0];\r\nvar c=M(\"top\").getElementsByTagName(\"SPAN\")[1];\r\nvar Y=M(\"top\").getElementsByTagName(\"INPUT\")[0];\r\nfunction a(g){\r\nG.innerHTML=g.ganzhiYear;\r\nc.innerHTML=g.shengxiao\r\n} function b(g){\r\nC[g.solarYear-1901].selected=true;\r\nX[g.solarMonth-1].selected=true\r\n} function f(){\r\nvar j=C.value;\r\nvar g=X.value;\r\nvar i=new U(new Date(j,g-1,1));\r\nQ.init(i);\r\nN.draw();\r\nif(this==C){\r\ni=new U(new Date(j,3,1));\r\nG.innerHTML=i.ganzhiYear;\r\nc.innerHTML=i.shengxiao\r\n} var h=new U(new Date());\r\nY.style.visibility=(j==h.solarYear&&g==h.solarMonth)?\"hidden\":\"visible\"\r\n} function Z(){\r\nvar g=new U(new Date());\r\na(g);\r\nb(g);\r\nQ.init(g);\r\nN.draw();\r\nY.style.visibility=\"hidden\"\r\n} function d(k,g){\r\nfor(var j=1901;j<2050;j++){\r\nvar h=R(\"OPTION\");\r\nh.value=j;\r\nh.innerHTML=j;\r\nif(j==k){\r\nh.selected=\"selected\"\r\n} C.appendChild(h)\r\n} for(var j=1;j<13;j++){\r\nvar h=R(\"OPTION\");\r\nh.value=j;\r\nh.innerHTML=j;\r\nif(j==g){\r\nh.selected=\"selected\"\r\n} X.appendChild(h)\r\n} C.onchange=f;\r\nX.onchange=f\r\n} function e(g){\r\nd(g.solarYear,g.solarMonth);\r\nG.innerHTML=g.ganzhiYear;\r\nc.innerHTML=g.shengxiao;\r\nY.onclick=Z;\r\nY.style.visibility=\"hidden\"\r\n} return{\r\ninit:function(g){\r\ne(g)\r\n} ,reset:function(g){\r\nb(g)\r\n} \r\n} \r\n} )();\r\nvar N=(function(){\r\nfunction C(){\r\nvar Z=Q.getJson();\r\nvar c=Z.dateArray;\r\nM(\"cm\").style.height=Z.lines*38+2+\"px\";\r\nM(\"cm\").innerHTML=\"\";\r\nfor(var a=0;a<c.length;a++){\r\nif(c[a]==null){\r\ncontinue\r\n} var X=R(\"DIV\");\r\nif(c[a].isToday){\r\nX.style.border=\"1px solid #a5b9da\";\r\nX.style.background=\"#c1d9ff\"\r\n} X.className=\"cell\";\r\nX.style.left=(a%7)*60+\"px\";\r\nX.style.top=Math.floor(a/7)*38+2+\"px\";\r\nvar b=R(\"DIV\");\r\nb.className=\"so\";\r\nb.style.color=((a%7)>4||c[a].isRest)?\"#c60b02\":\"#313131\";\r\nb.innerHTML=c[a].solarDate;\r\nX.appendChild(b);\r\nvar Y=R(\"DIV\");\r\nY.style.color=\"#666\";\r\nY.innerHTML=c[a].showInLunar;\r\nX.appendChild(Y);\r\nX.onmouseover=(function(d){\r\nreturn function(f){\r\nF.show({\r\ndateIndex:d,cell:this\r\n} )\r\n} \r\n} )(a);\r\nX.onmouseout=function(){\r\nF.hide()\r\n} ;\r\nM(\"cm\").appendChild(X)\r\n} var G=R(\"DIV\");\r\nG.id=\"fd\";\r\nM(\"cm\").appendChild(G);\r\nF.init(G)\r\n} return{\r\ndraw:function(G){\r\nC(G)\r\n} \r\n} \r\n} )();\r\nvar F=(function(){\r\nvar C;\r\nfunction Y(e,c){\r\nif(arguments.length>1){\r\nvar b=/([.*+?^=!:\${}()|[]/])/g,Z=\"{\".replace(b,\"\$1\"),d=\"}\".replace(b,\"\$1\");\r\nvar a=new RegExp(\"#\"+Z+\"([^\"+Z+d+\"]+)\"+d,\"g\");\r\nif(typeof (c)==\"object\"){\r\nreturn e.replace(a,function(f,h){\r\nvar g=c[h];\r\nreturn typeof (g)==\"undefined\"?\"\":g\r\n} )\r\n} \r\n} return e\r\n} function G(b){\r\nvar a=Q.getJson().dateArray[b.dateIndex];\r\nvar Z=b.cell;\r\nvar c=\"#{solarYear}&nbsp;年&nbsp;#{solarMonth}&nbsp;月&nbsp;#{solarDate}&nbsp;日&nbsp;#{solarWeekDayInChinese}\";\r\nc+=\"<br><b>农历&nbsp;#{lunarMonthInChinese}月#{lunarDateInChinese}</b>\";\r\nc+=\"<br>#{ganzhiYear}年&nbsp;#{ganzhiMonth}月&nbsp;#{ganzhiDate}日\";\r\nif(a.solarFestival!=\"\"||a.lunarFestival!=\"\"||a.jieqi!=\"\"){\r\nc+=\"<br><b>#{lunarFestival} #{solarFestival} #{jieqi}</b>\"\r\n} C.innerHTML=Y(c,a);\r\nC.style.top=Z.offsetTop+Z.offsetHeight-5+\"px\";\r\nC.style.left=Z.offsetLeft+Z.offsetWidth-5+\"px\";\r\nC.style.display=\"block\"\r\n} function X(){\r\nC.style.display=\"none\"\r\n} return{\r\nshow:function(Z){\r\nG(Z)\r\n} ,hide:function(){\r\nX()\r\n} ,init:function(Z){\r\nC=Z\r\n} \r\n} \r\n} )();\r\nvar A=new U(new Date());\r\nif(S){\r\nwindow.attachEvent(\"onload\",function(){\r\nW.reset(A)\r\n} )\r\n} W.init(A);\r\nQ.init(A);\r\nN.draw();\r\n} )();\r\n//-->\r\n</script>','0','','0');");
E_D("replace into `ve123_open` values('55','','日期','<table cellpadding=\"0\" cellspacing=\"0\" id=\"1\">\r\n  <tr>\r\n    <td><style> \r\nbody,td,.p1,.p2,.i{font-family:arial}\r\nbody{margin:6px 0 0 0;background-color:#fff;color:#000;}\r\ntable{border:0}\r\n#cal{width:434px;border:1px solid #c3d9ff;font-size:12px;margin:8px 0 0 15px}\r\n#cal #top{height:29px;line-height:29px;background:#e7eef8;color:#003784;padding-left:70px}\r\n#cal #top select{font-size:12px}\r\n#cal #top input{padding:0}\r\n#cal ul#wk{margin:0;padding:0;height:25px}\r\n#cal ul#wk li{float:left;width:60px;text-align:center;line-height:25px;list-style:none}\r\n#cal ul#wk li b{font-weight:normal;color:#c60b02}\r\n#cal #cm{clear:left;border-top:1px solid #ddd;border-bottom:1px dotted #ddd;position:relative}\r\n#cal #cm .cell{position:absolute;width:42px;height:36px;text-align:center;margin:0 0 0 9px}\r\n#cal #cm .cell .so{font:bold 16px arial;}\r\n#cal #bm{text-align:right;height:24px;line-height:24px;padding:0 13px 0 0}\r\n#cal #bm a{color:7977ce}\r\n#cal #fd{display:none;position:absolute;border:1px solid #dddddf;background:#feffcd;padding:10px;line-height:21px;width:150px}\r\n#cal #fd b{font-weight:normal;color:#c60a00}\r\n</style>\r\n<!--[if IE]>\r\n<style>\r\n#cal #top{padding-top:4px}\r\n#cal #top input{width:65px}\r\n#cal #fd{width:170px}\r\n</style>\r\n<![endif]-->\r\n      <div id=\"cal\">\r\n        <div id=\"top\">公元&nbsp;\r\n          <select>\r\n          </select>\r\n          &nbsp;年&nbsp;\r\n          <select>\r\n          </select>\r\n          &nbsp;月&nbsp;&nbsp;&nbsp;&nbsp;农历<span></span>年&nbsp;[&nbsp;<span></span>年&nbsp;]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n          <input type=\"button\" value=\"回到今天\" title=\"点击后跳转回今天\" style=\"padding:0px\">\r\n        </div>\r\n        <ul id=\"wk\">\r\n          <li>一</li>\r\n          <li>二</li>\r\n          <li>三</li>\r\n          <li>四</li>\r\n          <li>五</li>\r\n          <li><b>六</b></li>\r\n          <li><b>日</b></li>\r\n        </ul>\r\n        <div id=\"cm\"></div>\r\n        <div id=\"bm\"></div>\r\n      </div></td>\r\n  </tr>\r\n</table>\r\n<script type=\"text/javascript\">\r\n<!--\r\n(function(){\r\nvar S=navigator.userAgent.indexOf(\"MSIE\")!=-1&&!window.opera;\r\nfunction M(C){\r\nreturn document.getElementById(C)\r\n} function R(C){\r\nreturn document.createElement(C)\r\n} var P=[19416,19168,42352,21717,53856,55632,91476,22176,39632,21970,19168,42422,42192,53840,119381,46400,54944,44450,38320,84343,18800,42160,46261,27216,27968,109396,11104,38256,21234,18800,25958,54432,59984,28309,23248,11104,100067,37600,116951,51536,54432,120998,46416,22176,107956,9680,37584,53938,43344,46423,27808,46416,86869,19872,42448,83315,21200,43432,59728,27296,44710,43856,19296,43748,42352,21088,62051,55632,23383,22176,38608,19925,19152,42192,54484,53840,54616,46400,46496,103846,38320,18864,43380,42160,45690,27216,27968,44870,43872,38256,19189,18800,25776,29859,59984,27480,21952,43872,38613,37600,51552,55636,54432,55888,30034,22176,43959,9680,37584,51893,43344,46240,47780,44368,21977,19360,42416,86390,21168,43312,31060,27296,44368,23378,19296,42726,42208,53856,60005,54576,23200,30371,38608,19415,19152,42192,118966,53840,54560,56645,46496,22224,21938,18864,42359,42160,43600,111189,27936,44448];\r\nvar K=\"甲乙丙丁戊己庚辛壬癸\";\r\nvar J=\"子丑寅卯辰巳午未申酉戌亥\";\r\nvar O=\"鼠牛虎兔龙蛇马羊猴鸡狗猪\";\r\nvar L=[\"小寒\",\"大寒\",\"立春\",\"雨水\",\"惊蛰\",\"春分\",\"清明\",\"谷雨\",\"立夏\",\"小满\",\"芒种\",\"夏至\",\"小暑\",\"大暑\",\"立秋\",\"处暑\",\"白露\",\"秋分\",\"寒露\",\"霜降\",\"立冬\",\"小雪\",\"大雪\",\"冬至\"];\r\nvar D=[0,21208,43467,63836,85337,107014,128867,150921,173149,195551,218072,240693,263343,285989,308563,331033,353350,375494,397447,419210,440795,462224,483532,504758];\r\nvar B=\"日一二三四五六七八九十\";\r\nvar H=[\"正\",\"二\",\"三\",\"四\",\"五\",\"六\",\"七\",\"八\",\"九\",\"十\",\"十一\",\"腊\"];\r\nvar E=\"初十廿卅\";\r\nvar V={\r\n\"0101\":\"*1元旦节\",\"0214\":\"情人节\",\"0305\":\"学雷锋纪念日\",\"0308\":\"妇女节\",\"0312\":\"植树节\",\"0315\":\"消费者权益日\",\"0401\":\"愚人节\",\"0501\":\"*1劳动节\",\"0504\":\"青年节\",\"0601\":\"国际儿童节\",\"0701\":\"中国共产党诞辰\",\"0801\":\"建军节\",\"0910\":\"中国教师节\",\"1001\":\"*3国庆节\",\"1224\":\"平安夜\",\"1225\":\"圣诞节\"\r\n} ;\r\nvar T={\r\n\"0101\":\"*2春节\",\"0115\":\"元宵节\",\"0505\":\"*1端午节\",\"0815\":\"*1中秋节\",\"0909\":\"重阳节\",\"1208\":\"腊八节\",\"0100\":\"除夕\"\r\n} ;\r\nfunction U(Y){\r\nfunction c(j,i){\r\nvar h=new Date((31556925974.7*(j-1900)+D[i]*60000)+Date.UTC(1900,0,6,2,5));\r\nreturn(h.getUTCDate())\r\n} function d(k){\r\nvar h,j=348;\r\nfor(h=32768;h>8;h>>=1){\r\nj+=(P[k-1900]&h)?1:0\r\n} return(j+b(k))\r\n} function a(h){\r\nreturn(K.charAt(h%10)+J.charAt(h%12))\r\n} function b(h){\r\nif(g(h)){\r\nreturn((P[h-1900]&65536)?30:29)\r\n} else{\r\nreturn(0)\r\n} \r\n} function g(h){\r\nreturn(P[h-1900]&15)\r\n} function e(i,h){\r\nreturn((P[i-1900]&(65536>>h))?30:29)\r\n} function C(m){\r\nvar k,j=0,h=0;\r\nvar l=new Date(1900,0,31);\r\nvar n=(m-l)/86400000;\r\nthis.dayCyl=n+40;\r\nthis.monCyl=14;\r\nfor(k=1900;k<2050&&n>0;k++){\r\nh=d(k);\r\nn-=h;\r\nthis.monCyl+=12\r\n} if(n<0){\r\nn+=h;\r\nk--;\r\nthis.monCyl-=12\r\n} this.year=k;\r\nthis.yearCyl=k-1864;\r\nj=g(k);\r\nthis.isLeap=false;\r\nfor(k=1;k<13&&n>0;k++){\r\nif(j>0&&k==(j+1)&&this.isLeap==false){\r\n--k;\r\nthis.isLeap=true;\r\nh=b(this.year)\r\n} else{\r\nh=e(this.year,k)\r\n} if(this.isLeap==true&&k==(j+1)){\r\nthis.isLeap=false\r\n} n-=h;\r\nif(this.isLeap==false){\r\nthis.monCyl++\r\n} \r\n} if(n==0&&j>0&&k==j+1){\r\nif(this.isLeap){\r\nthis.isLeap=false\r\n} else{\r\nthis.isLeap=true;\r\n--k;\r\n--this.monCyl\r\n} \r\n} if(n<0){\r\nn+=h;\r\n--k;\r\n--this.monCyl\r\n} this.month=k;\r\nthis.day=n+1\r\n} function G(h){\r\nreturn h<10?\"0\"+h:h\r\n} function f(i,j){\r\nvar h=i;\r\nreturn j.replace(/dd?d?d?|MM?M?M?|yy?y?y?/g,function(k){\r\nswitch(k){\r\ncase\"yyyy\":var l=\"000\"+h.getFullYear();\r\nreturn l.substring(l.length-4);\r\ncase\"dd\":return G(h.getDate());\r\ncase\"d\":return h.getDate().toString();\r\ncase\"MM\":return G((h.getMonth()+1));\r\ncase\"M\":return h.getMonth()+1\r\n} \r\n} )\r\n} function Z(i,h){\r\nvar j;\r\nswitch(i,h){\r\ncase 10:j=\"初十\";\r\nbreak;\r\ncase 20:j=\"二十\";\r\nbreak;\r\ncase 30:j=\"三十\";\r\nbreak;\r\ndefault:j=E.charAt(Math.floor(h/10));\r\nj+=B.charAt(h%10)\r\n} return(j)\r\n} this.date=Y;\r\nthis.isToday=false;\r\nthis.isRestDay=false;\r\nthis.solarYear=f(Y,\"yyyy\");\r\nthis.solarMonth=f(Y,\"M\");\r\nthis.solarDate=f(Y,\"d\");\r\nthis.solarWeekDay=Y.getDay();\r\nthis.solarWeekDayInChinese=\"星期\"+B.charAt(this.solarWeekDay);\r\nvar X=new C(Y);\r\nthis.lunarYear=X.year;\r\nthis.shengxiao=O.charAt((this.lunarYear-4)%12);\r\nthis.lunarMonth=X.month;\r\nthis.lunarIsLeapMonth=X.isLeap;\r\nthis.lunarMonthInChinese=this.lunarIsLeapMonth?\"闰\"+H[X.month-1]:H[X.month-1];\r\nthis.lunarDate=X.day;\r\nthis.showInLunar=this.lunarDateInChinese=Z(this.lunarMonth,this.lunarDate);\r\nif(this.lunarDate==1){\r\nthis.showInLunar=this.lunarMonthInChinese+\"月\"\r\n} this.ganzhiYear=a(X.yearCyl);\r\nthis.ganzhiMonth=a(X.monCyl);\r\nthis.ganzhiDate=a(X.dayCyl++);\r\nthis.jieqi=\"\";\r\nthis.restDays=0;\r\nif(c(this.solarYear,(this.solarMonth-1)*2)==f(Y,\"d\")){\r\nthis.showInLunar=this.jieqi=L[(this.solarMonth-1)*2]\r\n} if(c(this.solarYear,(this.solarMonth-1)*2+1)==f(Y,\"d\")){\r\nthis.showInLunar=this.jieqi=L[(this.solarMonth-1)*2+1]\r\n} if(this.showInLunar==\"清明\"){\r\nthis.showInLunar=\"清明节\";\r\nthis.restDays=1\r\n} this.solarFestival=V[f(Y,\"MM\")+f(Y,\"dd\")];\r\nif(typeof this.solarFestival==\"undefined\"){\r\nthis.solarFestival=\"\"\r\n} else{\r\nif(/*(d)/.test(this.solarFestival)){\r\nthis.restDays=parseInt(RegExp.\$1);\r\nthis.solarFestival=this.solarFestival.replace(/*d/,\"\")\r\n} \r\n} this.showInLunar=(this.solarFestival==\"\")?this.showInLunar:this.solarFestival;\r\nthis.lunarFestival=T[this.lunarIsLeapMonth?\"00\":G(this.lunarMonth)+G(this.lunarDate)];\r\nif(typeof this.lunarFestival==\"undefined\"){\r\nthis.lunarFestival=\"\"\r\n} else{\r\nif(/*(d)/.test(this.lunarFestival)){\r\nthis.restDays=(this.restDays>parseInt(RegExp.\$1))?this.restDays:parseInt(RegExp.\$1);\r\nthis.lunarFestival=this.lunarFestival.replace(/*d/,\"\")\r\n} \r\n} if(this.lunarMonth==12&&this.lunarDate==e(this.lunarYear,12)){\r\nthis.lunarFestival=T[\"0100\"];\r\nthis.restDays=1\r\n} this.showInLunar=(this.lunarFestival==\"\")?this.showInLunar:this.lunarFestival;\r\nthis.showInLunar=(this.showInLunar.length>4)?this.showInLunar.substr(0,2)+\"...\":this.showInLunar\r\n} var Q=(function(){\r\nvar X={\r\n} ;\r\nX.lines=0;\r\nX.dateArray=new Array(42);\r\nfunction Y(a){\r\nreturn(((a%4===0)&&(a%100!==0))||(a%400===0))\r\n} function G(a,b){\r\nreturn[31,(Y(a)?29:28),31,30,31,30,31,31,30,31,30,31][b]\r\n} function C(a,b){\r\na.setDate(a.getDate()+b);\r\nreturn a\r\n} function Z(a){\r\nvar f=0;\r\nvar c=new U(new Date(a.solarYear,a.solarMonth-1,1));\r\nvar d=(c.solarWeekDay-1==-1)?6:c.solarWeekDay-1;\r\nX.lines=Math.ceil((d+G(a.solarYear,a.solarMonth-1))/7);\r\nfor(var e=0;e<X.dateArray.length;e++){\r\nif(c.restDays!=0){\r\nf=c.restDays\r\n} if(f>0){\r\nc.isRest=true\r\n} if(d-->0||c.solarMonth!=a.solarMonth){\r\nX.dateArray[e]=null;\r\ncontinue\r\n} var b=new U(new Date());\r\nif(c.solarYear==b.solarYear&&c.solarMonth==b.solarMonth&&c.solarDate==b.solarDate){\r\nc.isToday=true\r\n} X.dateArray[e]=c;\r\nc=new U(C(c.date,1));\r\nf--\r\n} \r\n} return{\r\ninit:function(a){\r\nZ(a)\r\n} ,getJson:function(){\r\nreturn X\r\n} \r\n} \r\n} )();\r\nvar W=(function(){\r\nvar C=M(\"top\").getElementsByTagName(\"SELECT\")[0];\r\nvar X=M(\"top\").getElementsByTagName(\"SELECT\")[1];\r\nvar G=M(\"top\").getElementsByTagName(\"SPAN\")[0];\r\nvar c=M(\"top\").getElementsByTagName(\"SPAN\")[1];\r\nvar Y=M(\"top\").getElementsByTagName(\"INPUT\")[0];\r\nfunction a(g){\r\nG.innerHTML=g.ganzhiYear;\r\nc.innerHTML=g.shengxiao\r\n} function b(g){\r\nC[g.solarYear-1901].selected=true;\r\nX[g.solarMonth-1].selected=true\r\n} function f(){\r\nvar j=C.value;\r\nvar g=X.value;\r\nvar i=new U(new Date(j,g-1,1));\r\nQ.init(i);\r\nN.draw();\r\nif(this==C){\r\ni=new U(new Date(j,3,1));\r\nG.innerHTML=i.ganzhiYear;\r\nc.innerHTML=i.shengxiao\r\n} var h=new U(new Date());\r\nY.style.visibility=(j==h.solarYear&&g==h.solarMonth)?\"hidden\":\"visible\"\r\n} function Z(){\r\nvar g=new U(new Date());\r\na(g);\r\nb(g);\r\nQ.init(g);\r\nN.draw();\r\nY.style.visibility=\"hidden\"\r\n} function d(k,g){\r\nfor(var j=1901;j<2050;j++){\r\nvar h=R(\"OPTION\");\r\nh.value=j;\r\nh.innerHTML=j;\r\nif(j==k){\r\nh.selected=\"selected\"\r\n} C.appendChild(h)\r\n} for(var j=1;j<13;j++){\r\nvar h=R(\"OPTION\");\r\nh.value=j;\r\nh.innerHTML=j;\r\nif(j==g){\r\nh.selected=\"selected\"\r\n} X.appendChild(h)\r\n} C.onchange=f;\r\nX.onchange=f\r\n} function e(g){\r\nd(g.solarYear,g.solarMonth);\r\nG.innerHTML=g.ganzhiYear;\r\nc.innerHTML=g.shengxiao;\r\nY.onclick=Z;\r\nY.style.visibility=\"hidden\"\r\n} return{\r\ninit:function(g){\r\ne(g)\r\n} ,reset:function(g){\r\nb(g)\r\n} \r\n} \r\n} )();\r\nvar N=(function(){\r\nfunction C(){\r\nvar Z=Q.getJson();\r\nvar c=Z.dateArray;\r\nM(\"cm\").style.height=Z.lines*38+2+\"px\";\r\nM(\"cm\").innerHTML=\"\";\r\nfor(var a=0;a<c.length;a++){\r\nif(c[a]==null){\r\ncontinue\r\n} var X=R(\"DIV\");\r\nif(c[a].isToday){\r\nX.style.border=\"1px solid #a5b9da\";\r\nX.style.background=\"#c1d9ff\"\r\n} X.className=\"cell\";\r\nX.style.left=(a%7)*60+\"px\";\r\nX.style.top=Math.floor(a/7)*38+2+\"px\";\r\nvar b=R(\"DIV\");\r\nb.className=\"so\";\r\nb.style.color=((a%7)>4||c[a].isRest)?\"#c60b02\":\"#313131\";\r\nb.innerHTML=c[a].solarDate;\r\nX.appendChild(b);\r\nvar Y=R(\"DIV\");\r\nY.style.color=\"#666\";\r\nY.innerHTML=c[a].showInLunar;\r\nX.appendChild(Y);\r\nX.onmouseover=(function(d){\r\nreturn function(f){\r\nF.show({\r\ndateIndex:d,cell:this\r\n} )\r\n} \r\n} )(a);\r\nX.onmouseout=function(){\r\nF.hide()\r\n} ;\r\nM(\"cm\").appendChild(X)\r\n} var G=R(\"DIV\");\r\nG.id=\"fd\";\r\nM(\"cm\").appendChild(G);\r\nF.init(G)\r\n} return{\r\ndraw:function(G){\r\nC(G)\r\n} \r\n} \r\n} )();\r\nvar F=(function(){\r\nvar C;\r\nfunction Y(e,c){\r\nif(arguments.length>1){\r\nvar b=/([.*+?^=!:\${}()|[]/])/g,Z=\"{\".replace(b,\"\$1\"),d=\"}\".replace(b,\"\$1\");\r\nvar a=new RegExp(\"#\"+Z+\"([^\"+Z+d+\"]+)\"+d,\"g\");\r\nif(typeof (c)==\"object\"){\r\nreturn e.replace(a,function(f,h){\r\nvar g=c[h];\r\nreturn typeof (g)==\"undefined\"?\"\":g\r\n} )\r\n} \r\n} return e\r\n} function G(b){\r\nvar a=Q.getJson().dateArray[b.dateIndex];\r\nvar Z=b.cell;\r\nvar c=\"#{solarYear}&nbsp;年&nbsp;#{solarMonth}&nbsp;月&nbsp;#{solarDate}&nbsp;日&nbsp;#{solarWeekDayInChinese}\";\r\nc+=\"<br><b>农历&nbsp;#{lunarMonthInChinese}月#{lunarDateInChinese}</b>\";\r\nc+=\"<br>#{ganzhiYear}年&nbsp;#{ganzhiMonth}月&nbsp;#{ganzhiDate}日\";\r\nif(a.solarFestival!=\"\"||a.lunarFestival!=\"\"||a.jieqi!=\"\"){\r\nc+=\"<br><b>#{lunarFestival} #{solarFestival} #{jieqi}</b>\"\r\n} C.innerHTML=Y(c,a);\r\nC.style.top=Z.offsetTop+Z.offsetHeight-5+\"px\";\r\nC.style.left=Z.offsetLeft+Z.offsetWidth-5+\"px\";\r\nC.style.display=\"block\"\r\n} function X(){\r\nC.style.display=\"none\"\r\n} return{\r\nshow:function(Z){\r\nG(Z)\r\n} ,hide:function(){\r\nX()\r\n} ,init:function(Z){\r\nC=Z\r\n} \r\n} \r\n} )();\r\nvar A=new U(new Date());\r\nif(S){\r\nwindow.attachEvent(\"onload\",function(){\r\nW.reset(A)\r\n} )\r\n} W.init(A);\r\nQ.init(A);\r\nN.draw();\r\n} )();\r\n//-->\r\n</script>','0','','0');");
E_D("replace into `ve123_open` values('56','','时间','<table cellpadding=\"0\" cellspacing=\"0\" id=\"1\">\r\n  <tr>\r\n    <td><style> \r\nbody,td,.p1,.p2,.i{font-family:arial}\r\nbody{margin:6px 0 0 0;background-color:#fff;color:#000;}\r\ntable{border:0}\r\n#cal{width:434px;border:1px solid #c3d9ff;font-size:12px;margin:8px 0 0 15px}\r\n#cal #top{height:29px;line-height:29px;background:#e7eef8;color:#003784;padding-left:70px}\r\n#cal #top select{font-size:12px}\r\n#cal #top input{padding:0}\r\n#cal ul#wk{margin:0;padding:0;height:25px}\r\n#cal ul#wk li{float:left;width:60px;text-align:center;line-height:25px;list-style:none}\r\n#cal ul#wk li b{font-weight:normal;color:#c60b02}\r\n#cal #cm{clear:left;border-top:1px solid #ddd;border-bottom:1px dotted #ddd;position:relative}\r\n#cal #cm .cell{position:absolute;width:42px;height:36px;text-align:center;margin:0 0 0 9px}\r\n#cal #cm .cell .so{font:bold 16px arial;}\r\n#cal #bm{text-align:right;height:24px;line-height:24px;padding:0 13px 0 0}\r\n#cal #bm a{color:7977ce}\r\n#cal #fd{display:none;position:absolute;border:1px solid #dddddf;background:#feffcd;padding:10px;line-height:21px;width:150px}\r\n#cal #fd b{font-weight:normal;color:#c60a00}\r\n</style>\r\n<!--[if IE]>\r\n<style>\r\n#cal #top{padding-top:4px}\r\n#cal #top input{width:65px}\r\n#cal #fd{width:170px}\r\n</style>\r\n<![endif]-->\r\n      <div id=\"cal\">\r\n        <div id=\"top\">公元&nbsp;\r\n          <select>\r\n          </select>\r\n          &nbsp;年&nbsp;\r\n          <select>\r\n          </select>\r\n          &nbsp;月&nbsp;&nbsp;&nbsp;&nbsp;农历<span></span>年&nbsp;[&nbsp;<span></span>年&nbsp;]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n          <input type=\"button\" value=\"回到今天\" title=\"点击后跳转回今天\" style=\"padding:0px\">\r\n        </div>\r\n        <ul id=\"wk\">\r\n          <li>一</li>\r\n          <li>二</li>\r\n          <li>三</li>\r\n          <li>四</li>\r\n          <li>五</li>\r\n          <li><b>六</b></li>\r\n          <li><b>日</b></li>\r\n        </ul>\r\n        <div id=\"cm\"></div>\r\n        <div id=\"bm\"></div>\r\n      </div></td>\r\n  </tr>\r\n</table>\r\n<script type=\"text/javascript\">\r\n<!--\r\n(function(){\r\nvar S=navigator.userAgent.indexOf(\"MSIE\")!=-1&&!window.opera;\r\nfunction M(C){\r\nreturn document.getElementById(C)\r\n} function R(C){\r\nreturn document.createElement(C)\r\n} var P=[19416,19168,42352,21717,53856,55632,91476,22176,39632,21970,19168,42422,42192,53840,119381,46400,54944,44450,38320,84343,18800,42160,46261,27216,27968,109396,11104,38256,21234,18800,25958,54432,59984,28309,23248,11104,100067,37600,116951,51536,54432,120998,46416,22176,107956,9680,37584,53938,43344,46423,27808,46416,86869,19872,42448,83315,21200,43432,59728,27296,44710,43856,19296,43748,42352,21088,62051,55632,23383,22176,38608,19925,19152,42192,54484,53840,54616,46400,46496,103846,38320,18864,43380,42160,45690,27216,27968,44870,43872,38256,19189,18800,25776,29859,59984,27480,21952,43872,38613,37600,51552,55636,54432,55888,30034,22176,43959,9680,37584,51893,43344,46240,47780,44368,21977,19360,42416,86390,21168,43312,31060,27296,44368,23378,19296,42726,42208,53856,60005,54576,23200,30371,38608,19415,19152,42192,118966,53840,54560,56645,46496,22224,21938,18864,42359,42160,43600,111189,27936,44448];\r\nvar K=\"甲乙丙丁戊己庚辛壬癸\";\r\nvar J=\"子丑寅卯辰巳午未申酉戌亥\";\r\nvar O=\"鼠牛虎兔龙蛇马羊猴鸡狗猪\";\r\nvar L=[\"小寒\",\"大寒\",\"立春\",\"雨水\",\"惊蛰\",\"春分\",\"清明\",\"谷雨\",\"立夏\",\"小满\",\"芒种\",\"夏至\",\"小暑\",\"大暑\",\"立秋\",\"处暑\",\"白露\",\"秋分\",\"寒露\",\"霜降\",\"立冬\",\"小雪\",\"大雪\",\"冬至\"];\r\nvar D=[0,21208,43467,63836,85337,107014,128867,150921,173149,195551,218072,240693,263343,285989,308563,331033,353350,375494,397447,419210,440795,462224,483532,504758];\r\nvar B=\"日一二三四五六七八九十\";\r\nvar H=[\"正\",\"二\",\"三\",\"四\",\"五\",\"六\",\"七\",\"八\",\"九\",\"十\",\"十一\",\"腊\"];\r\nvar E=\"初十廿卅\";\r\nvar V={\r\n\"0101\":\"*1元旦节\",\"0214\":\"情人节\",\"0305\":\"学雷锋纪念日\",\"0308\":\"妇女节\",\"0312\":\"植树节\",\"0315\":\"消费者权益日\",\"0401\":\"愚人节\",\"0501\":\"*1劳动节\",\"0504\":\"青年节\",\"0601\":\"国际儿童节\",\"0701\":\"中国共产党诞辰\",\"0801\":\"建军节\",\"0910\":\"中国教师节\",\"1001\":\"*3国庆节\",\"1224\":\"平安夜\",\"1225\":\"圣诞节\"\r\n} ;\r\nvar T={\r\n\"0101\":\"*2春节\",\"0115\":\"元宵节\",\"0505\":\"*1端午节\",\"0815\":\"*1中秋节\",\"0909\":\"重阳节\",\"1208\":\"腊八节\",\"0100\":\"除夕\"\r\n} ;\r\nfunction U(Y){\r\nfunction c(j,i){\r\nvar h=new Date((31556925974.7*(j-1900)+D[i]*60000)+Date.UTC(1900,0,6,2,5));\r\nreturn(h.getUTCDate())\r\n} function d(k){\r\nvar h,j=348;\r\nfor(h=32768;h>8;h>>=1){\r\nj+=(P[k-1900]&h)?1:0\r\n} return(j+b(k))\r\n} function a(h){\r\nreturn(K.charAt(h%10)+J.charAt(h%12))\r\n} function b(h){\r\nif(g(h)){\r\nreturn((P[h-1900]&65536)?30:29)\r\n} else{\r\nreturn(0)\r\n} \r\n} function g(h){\r\nreturn(P[h-1900]&15)\r\n} function e(i,h){\r\nreturn((P[i-1900]&(65536>>h))?30:29)\r\n} function C(m){\r\nvar k,j=0,h=0;\r\nvar l=new Date(1900,0,31);\r\nvar n=(m-l)/86400000;\r\nthis.dayCyl=n+40;\r\nthis.monCyl=14;\r\nfor(k=1900;k<2050&&n>0;k++){\r\nh=d(k);\r\nn-=h;\r\nthis.monCyl+=12\r\n} if(n<0){\r\nn+=h;\r\nk--;\r\nthis.monCyl-=12\r\n} this.year=k;\r\nthis.yearCyl=k-1864;\r\nj=g(k);\r\nthis.isLeap=false;\r\nfor(k=1;k<13&&n>0;k++){\r\nif(j>0&&k==(j+1)&&this.isLeap==false){\r\n--k;\r\nthis.isLeap=true;\r\nh=b(this.year)\r\n} else{\r\nh=e(this.year,k)\r\n} if(this.isLeap==true&&k==(j+1)){\r\nthis.isLeap=false\r\n} n-=h;\r\nif(this.isLeap==false){\r\nthis.monCyl++\r\n} \r\n} if(n==0&&j>0&&k==j+1){\r\nif(this.isLeap){\r\nthis.isLeap=false\r\n} else{\r\nthis.isLeap=true;\r\n--k;\r\n--this.monCyl\r\n} \r\n} if(n<0){\r\nn+=h;\r\n--k;\r\n--this.monCyl\r\n} this.month=k;\r\nthis.day=n+1\r\n} function G(h){\r\nreturn h<10?\"0\"+h:h\r\n} function f(i,j){\r\nvar h=i;\r\nreturn j.replace(/dd?d?d?|MM?M?M?|yy?y?y?/g,function(k){\r\nswitch(k){\r\ncase\"yyyy\":var l=\"000\"+h.getFullYear();\r\nreturn l.substring(l.length-4);\r\ncase\"dd\":return G(h.getDate());\r\ncase\"d\":return h.getDate().toString();\r\ncase\"MM\":return G((h.getMonth()+1));\r\ncase\"M\":return h.getMonth()+1\r\n} \r\n} )\r\n} function Z(i,h){\r\nvar j;\r\nswitch(i,h){\r\ncase 10:j=\"初十\";\r\nbreak;\r\ncase 20:j=\"二十\";\r\nbreak;\r\ncase 30:j=\"三十\";\r\nbreak;\r\ndefault:j=E.charAt(Math.floor(h/10));\r\nj+=B.charAt(h%10)\r\n} return(j)\r\n} this.date=Y;\r\nthis.isToday=false;\r\nthis.isRestDay=false;\r\nthis.solarYear=f(Y,\"yyyy\");\r\nthis.solarMonth=f(Y,\"M\");\r\nthis.solarDate=f(Y,\"d\");\r\nthis.solarWeekDay=Y.getDay();\r\nthis.solarWeekDayInChinese=\"星期\"+B.charAt(this.solarWeekDay);\r\nvar X=new C(Y);\r\nthis.lunarYear=X.year;\r\nthis.shengxiao=O.charAt((this.lunarYear-4)%12);\r\nthis.lunarMonth=X.month;\r\nthis.lunarIsLeapMonth=X.isLeap;\r\nthis.lunarMonthInChinese=this.lunarIsLeapMonth?\"闰\"+H[X.month-1]:H[X.month-1];\r\nthis.lunarDate=X.day;\r\nthis.showInLunar=this.lunarDateInChinese=Z(this.lunarMonth,this.lunarDate);\r\nif(this.lunarDate==1){\r\nthis.showInLunar=this.lunarMonthInChinese+\"月\"\r\n} this.ganzhiYear=a(X.yearCyl);\r\nthis.ganzhiMonth=a(X.monCyl);\r\nthis.ganzhiDate=a(X.dayCyl++);\r\nthis.jieqi=\"\";\r\nthis.restDays=0;\r\nif(c(this.solarYear,(this.solarMonth-1)*2)==f(Y,\"d\")){\r\nthis.showInLunar=this.jieqi=L[(this.solarMonth-1)*2]\r\n} if(c(this.solarYear,(this.solarMonth-1)*2+1)==f(Y,\"d\")){\r\nthis.showInLunar=this.jieqi=L[(this.solarMonth-1)*2+1]\r\n} if(this.showInLunar==\"清明\"){\r\nthis.showInLunar=\"清明节\";\r\nthis.restDays=1\r\n} this.solarFestival=V[f(Y,\"MM\")+f(Y,\"dd\")];\r\nif(typeof this.solarFestival==\"undefined\"){\r\nthis.solarFestival=\"\"\r\n} else{\r\nif(/*(d)/.test(this.solarFestival)){\r\nthis.restDays=parseInt(RegExp.\$1);\r\nthis.solarFestival=this.solarFestival.replace(/*d/,\"\")\r\n} \r\n} this.showInLunar=(this.solarFestival==\"\")?this.showInLunar:this.solarFestival;\r\nthis.lunarFestival=T[this.lunarIsLeapMonth?\"00\":G(this.lunarMonth)+G(this.lunarDate)];\r\nif(typeof this.lunarFestival==\"undefined\"){\r\nthis.lunarFestival=\"\"\r\n} else{\r\nif(/*(d)/.test(this.lunarFestival)){\r\nthis.restDays=(this.restDays>parseInt(RegExp.\$1))?this.restDays:parseInt(RegExp.\$1);\r\nthis.lunarFestival=this.lunarFestival.replace(/*d/,\"\")\r\n} \r\n} if(this.lunarMonth==12&&this.lunarDate==e(this.lunarYear,12)){\r\nthis.lunarFestival=T[\"0100\"];\r\nthis.restDays=1\r\n} this.showInLunar=(this.lunarFestival==\"\")?this.showInLunar:this.lunarFestival;\r\nthis.showInLunar=(this.showInLunar.length>4)?this.showInLunar.substr(0,2)+\"...\":this.showInLunar\r\n} var Q=(function(){\r\nvar X={\r\n} ;\r\nX.lines=0;\r\nX.dateArray=new Array(42);\r\nfunction Y(a){\r\nreturn(((a%4===0)&&(a%100!==0))||(a%400===0))\r\n} function G(a,b){\r\nreturn[31,(Y(a)?29:28),31,30,31,30,31,31,30,31,30,31][b]\r\n} function C(a,b){\r\na.setDate(a.getDate()+b);\r\nreturn a\r\n} function Z(a){\r\nvar f=0;\r\nvar c=new U(new Date(a.solarYear,a.solarMonth-1,1));\r\nvar d=(c.solarWeekDay-1==-1)?6:c.solarWeekDay-1;\r\nX.lines=Math.ceil((d+G(a.solarYear,a.solarMonth-1))/7);\r\nfor(var e=0;e<X.dateArray.length;e++){\r\nif(c.restDays!=0){\r\nf=c.restDays\r\n} if(f>0){\r\nc.isRest=true\r\n} if(d-->0||c.solarMonth!=a.solarMonth){\r\nX.dateArray[e]=null;\r\ncontinue\r\n} var b=new U(new Date());\r\nif(c.solarYear==b.solarYear&&c.solarMonth==b.solarMonth&&c.solarDate==b.solarDate){\r\nc.isToday=true\r\n} X.dateArray[e]=c;\r\nc=new U(C(c.date,1));\r\nf--\r\n} \r\n} return{\r\ninit:function(a){\r\nZ(a)\r\n} ,getJson:function(){\r\nreturn X\r\n} \r\n} \r\n} )();\r\nvar W=(function(){\r\nvar C=M(\"top\").getElementsByTagName(\"SELECT\")[0];\r\nvar X=M(\"top\").getElementsByTagName(\"SELECT\")[1];\r\nvar G=M(\"top\").getElementsByTagName(\"SPAN\")[0];\r\nvar c=M(\"top\").getElementsByTagName(\"SPAN\")[1];\r\nvar Y=M(\"top\").getElementsByTagName(\"INPUT\")[0];\r\nfunction a(g){\r\nG.innerHTML=g.ganzhiYear;\r\nc.innerHTML=g.shengxiao\r\n} function b(g){\r\nC[g.solarYear-1901].selected=true;\r\nX[g.solarMonth-1].selected=true\r\n} function f(){\r\nvar j=C.value;\r\nvar g=X.value;\r\nvar i=new U(new Date(j,g-1,1));\r\nQ.init(i);\r\nN.draw();\r\nif(this==C){\r\ni=new U(new Date(j,3,1));\r\nG.innerHTML=i.ganzhiYear;\r\nc.innerHTML=i.shengxiao\r\n} var h=new U(new Date());\r\nY.style.visibility=(j==h.solarYear&&g==h.solarMonth)?\"hidden\":\"visible\"\r\n} function Z(){\r\nvar g=new U(new Date());\r\na(g);\r\nb(g);\r\nQ.init(g);\r\nN.draw();\r\nY.style.visibility=\"hidden\"\r\n} function d(k,g){\r\nfor(var j=1901;j<2050;j++){\r\nvar h=R(\"OPTION\");\r\nh.value=j;\r\nh.innerHTML=j;\r\nif(j==k){\r\nh.selected=\"selected\"\r\n} C.appendChild(h)\r\n} for(var j=1;j<13;j++){\r\nvar h=R(\"OPTION\");\r\nh.value=j;\r\nh.innerHTML=j;\r\nif(j==g){\r\nh.selected=\"selected\"\r\n} X.appendChild(h)\r\n} C.onchange=f;\r\nX.onchange=f\r\n} function e(g){\r\nd(g.solarYear,g.solarMonth);\r\nG.innerHTML=g.ganzhiYear;\r\nc.innerHTML=g.shengxiao;\r\nY.onclick=Z;\r\nY.style.visibility=\"hidden\"\r\n} return{\r\ninit:function(g){\r\ne(g)\r\n} ,reset:function(g){\r\nb(g)\r\n} \r\n} \r\n} )();\r\nvar N=(function(){\r\nfunction C(){\r\nvar Z=Q.getJson();\r\nvar c=Z.dateArray;\r\nM(\"cm\").style.height=Z.lines*38+2+\"px\";\r\nM(\"cm\").innerHTML=\"\";\r\nfor(var a=0;a<c.length;a++){\r\nif(c[a]==null){\r\ncontinue\r\n} var X=R(\"DIV\");\r\nif(c[a].isToday){\r\nX.style.border=\"1px solid #a5b9da\";\r\nX.style.background=\"#c1d9ff\"\r\n} X.className=\"cell\";\r\nX.style.left=(a%7)*60+\"px\";\r\nX.style.top=Math.floor(a/7)*38+2+\"px\";\r\nvar b=R(\"DIV\");\r\nb.className=\"so\";\r\nb.style.color=((a%7)>4||c[a].isRest)?\"#c60b02\":\"#313131\";\r\nb.innerHTML=c[a].solarDate;\r\nX.appendChild(b);\r\nvar Y=R(\"DIV\");\r\nY.style.color=\"#666\";\r\nY.innerHTML=c[a].showInLunar;\r\nX.appendChild(Y);\r\nX.onmouseover=(function(d){\r\nreturn function(f){\r\nF.show({\r\ndateIndex:d,cell:this\r\n} )\r\n} \r\n} )(a);\r\nX.onmouseout=function(){\r\nF.hide()\r\n} ;\r\nM(\"cm\").appendChild(X)\r\n} var G=R(\"DIV\");\r\nG.id=\"fd\";\r\nM(\"cm\").appendChild(G);\r\nF.init(G)\r\n} return{\r\ndraw:function(G){\r\nC(G)\r\n} \r\n} \r\n} )();\r\nvar F=(function(){\r\nvar C;\r\nfunction Y(e,c){\r\nif(arguments.length>1){\r\nvar b=/([.*+?^=!:\${}()|[]/])/g,Z=\"{\".replace(b,\"\$1\"),d=\"}\".replace(b,\"\$1\");\r\nvar a=new RegExp(\"#\"+Z+\"([^\"+Z+d+\"]+)\"+d,\"g\");\r\nif(typeof (c)==\"object\"){\r\nreturn e.replace(a,function(f,h){\r\nvar g=c[h];\r\nreturn typeof (g)==\"undefined\"?\"\":g\r\n} )\r\n} \r\n} return e\r\n} function G(b){\r\nvar a=Q.getJson().dateArray[b.dateIndex];\r\nvar Z=b.cell;\r\nvar c=\"#{solarYear}&nbsp;年&nbsp;#{solarMonth}&nbsp;月&nbsp;#{solarDate}&nbsp;日&nbsp;#{solarWeekDayInChinese}\";\r\nc+=\"<br><b>农历&nbsp;#{lunarMonthInChinese}月#{lunarDateInChinese}</b>\";\r\nc+=\"<br>#{ganzhiYear}年&nbsp;#{ganzhiMonth}月&nbsp;#{ganzhiDate}日\";\r\nif(a.solarFestival!=\"\"||a.lunarFestival!=\"\"||a.jieqi!=\"\"){\r\nc+=\"<br><b>#{lunarFestival} #{solarFestival} #{jieqi}</b>\"\r\n} C.innerHTML=Y(c,a);\r\nC.style.top=Z.offsetTop+Z.offsetHeight-5+\"px\";\r\nC.style.left=Z.offsetLeft+Z.offsetWidth-5+\"px\";\r\nC.style.display=\"block\"\r\n} function X(){\r\nC.style.display=\"none\"\r\n} return{\r\nshow:function(Z){\r\nG(Z)\r\n} ,hide:function(){\r\nX()\r\n} ,init:function(Z){\r\nC=Z\r\n} \r\n} \r\n} )();\r\nvar A=new U(new Date());\r\nif(S){\r\nwindow.attachEvent(\"onload\",function(){\r\nW.reset(A)\r\n} )\r\n} W.init(A);\r\nQ.init(A);\r\nN.draw();\r\n} )();\r\n//-->\r\n</script>','0','','0');");
E_D("replace into `ve123_open` values('57','','世界杯','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\" />\r\n<title>搜猫推广</title>\r\n<style type=\"text/css\">\r\n<!--\r\n.STYLE3 {font-size: 14px}\r\n.STYLE7 {font-size: 18px}\r\n-->\r\n</style>\r\n</head>\r\n\r\n<body>\r\n<p> 　 <a href=\"http://worldcup.cntv.cn/live/index.shtml\" target=\"_blank\" class=\"STYLE7\" onmousedown=\"return c({''fm'':''alop'',''title'':this.innerHTML,''url'':this.href,''p1'':al_c(this)})\">世界杯直播_英格兰VS斯洛文尼亚/美国VS阿尔及利亚22:00开始_CNTV</a></p>\r\n<p>　</p>\r\n<p>　 <a href=\"http://worldcup.cntv.cn/live/index.shtml\"><img src=\"/html/images/s_001.png\" width=\"119\" height=\"89\" border=\"0\" /></a> <a href=\"http://worldcup.qq.com/zhibo/\"><img src=\"/html/images/s_002.png\" width=\"117\" height=\"90\" border=\"0\" /></a> <a href=\"http://2010.ku6.com/live/\"><img src=\"/html/images/s_003.png\" width=\"118\" height=\"90\" border=\"0\" /></a> <a href=\"http://2010.pptv.com/zhibo-1.htm\"><img src=\"/html/images/s_004.png\" width=\"117\" height=\"91\" border=\"0\" /></a></p>\r\n<p>&nbsp;</p>\r\n<p><span class=\"STYLE3\">　<a href=\"http://worldcup.cntv.cn/live/index.shtml\">央视网直播入口</a> 　 　<a href=\"http://worldcup.qq.com/zhibo/\">腾讯网直播入口</a>   　 　<a href=\"http://2010.ku6.com/live/\">酷6网直播入口</a>　　<a href=\"http://2010.pptv.com/zhibo-1.htm\">PPTV直播入口</a></span>\r\n    <span class=\"STYLE3\"> 　- <a href=\"../open/\"><img src=\"/html/images/kaifang.jpg\" width=\"22\" height=\"16\" border=\"0\" /></a></span> <a href=\"../open/\">搜猫开放平台</a></p>\r\n<p>&nbsp;</p>\r\n</body>\r\n</html>','0','','0');");
E_D("replace into `ve123_open` values('58','','手机归属地','<html>\r\n	<head>\r\n		<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n	   <title>手机号码归属地查询</title>\r\n	</head>\r\n<body>\r\n	<form action=\"phone/search.php\" method=\"POST\">\r\n	<p>请输入手机号码:\r\n	  <input type=\"text\" name=\"phone\">\r\n	  <input type=\"submit\" value=\"查询\"></p>\r\n	</form>\r\n</body>\r\n</html>','0','','0');");
E_D("replace into `ve123_open` values('63','','天气','<html>\r\n<head>\r\n<title>天气预报</title>\r\n<meta http-equiv=\"content-Type\" content=\"text/html;charset=gb2312\">\r\n</script>\r\n</head>\r\n<body>\r\n　\r\n<iframe src=\"http://m.weather.com.cn/m/p11/weather1.htm\" width=\"268\" height=\"150\" marginwidth=\"0\" marginheight=\"0\" hspace=\"0\" vspace=\"0\" frameborder=\"0\" scrolling=\"No\"></iframe>\r\n</center>\r\n</body>\r\n</html>','0','','0');");
E_D("replace into `ve123_open` values('64','','天气预报','<iframe src=\"http://flash.weather.com.cn/wmaps/index.swf?url1=http%3A%2F%2Fwww%2Eweather%2Ecom%2Ecn%2Fweather%2F&url2=%2Eshtml&from=cn\" width=\"625\" height=\"457\" marginwidth=\"0\" marginheight=\"0\" hspace=\"0\" vspace=\"0\" frameborder=\"0\" scrolling=\"no\"></iframe>','0','','0');");
E_D("replace into `ve123_open` values('65','','万年历','<table cellpadding=\"0\" cellspacing=\"0\" id=\"1\">\r\n  <tr>\r\n    <td><style> \r\nbody,td,.p1,.p2,.i{font-family:arial}\r\nbody{margin:6px 0 0 0;background-color:#fff;color:#000;}\r\ntable{border:0}\r\n#cal{width:434px;border:1px solid #c3d9ff;font-size:12px;margin:8px 0 0 15px}\r\n#cal #top{height:29px;line-height:29px;background:#e7eef8;color:#003784;padding-left:70px}\r\n#cal #top select{font-size:12px}\r\n#cal #top input{padding:0}\r\n#cal ul#wk{margin:0;padding:0;height:25px}\r\n#cal ul#wk li{float:left;width:60px;text-align:center;line-height:25px;list-style:none}\r\n#cal ul#wk li b{font-weight:normal;color:#c60b02}\r\n#cal #cm{clear:left;border-top:1px solid #ddd;border-bottom:1px dotted #ddd;position:relative}\r\n#cal #cm .cell{position:absolute;width:42px;height:36px;text-align:center;margin:0 0 0 9px}\r\n#cal #cm .cell .so{font:bold 16px arial;}\r\n#cal #bm{text-align:right;height:24px;line-height:24px;padding:0 13px 0 0}\r\n#cal #bm a{color:7977ce}\r\n#cal #fd{display:none;position:absolute;border:1px solid #dddddf;background:#feffcd;padding:10px;line-height:21px;width:150px}\r\n#cal #fd b{font-weight:normal;color:#c60a00}\r\n</style>\r\n<!--[if IE]>\r\n<style>\r\n#cal #top{padding-top:4px}\r\n#cal #top input{width:65px}\r\n#cal #fd{width:170px}\r\n</style>\r\n<![endif]-->\r\n      <div id=\"cal\">\r\n        <div id=\"top\">公元&nbsp;\r\n          <select>\r\n          </select>\r\n          &nbsp;年&nbsp;\r\n          <select>\r\n          </select>\r\n          &nbsp;月&nbsp;&nbsp;&nbsp;&nbsp;农历<span></span>年&nbsp;[&nbsp;<span></span>年&nbsp;]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n          <input type=\"button\" value=\"回到今天\" title=\"点击后跳转回今天\" style=\"padding:0px\">\r\n        </div>\r\n        <ul id=\"wk\">\r\n          <li>一</li>\r\n          <li>二</li>\r\n          <li>三</li>\r\n          <li>四</li>\r\n          <li>五</li>\r\n          <li><b>六</b></li>\r\n          <li><b>日</b></li>\r\n        </ul>\r\n        <div id=\"cm\"></div>\r\n        <div id=\"bm\"></div>\r\n      </div></td>\r\n  </tr>\r\n</table>\r\n<script type=\"text/javascript\">\r\n<!--\r\n(function(){\r\nvar S=navigator.userAgent.indexOf(\"MSIE\")!=-1&&!window.opera;\r\nfunction M(C){\r\nreturn document.getElementById(C)\r\n} function R(C){\r\nreturn document.createElement(C)\r\n} var P=[19416,19168,42352,21717,53856,55632,91476,22176,39632,21970,19168,42422,42192,53840,119381,46400,54944,44450,38320,84343,18800,42160,46261,27216,27968,109396,11104,38256,21234,18800,25958,54432,59984,28309,23248,11104,100067,37600,116951,51536,54432,120998,46416,22176,107956,9680,37584,53938,43344,46423,27808,46416,86869,19872,42448,83315,21200,43432,59728,27296,44710,43856,19296,43748,42352,21088,62051,55632,23383,22176,38608,19925,19152,42192,54484,53840,54616,46400,46496,103846,38320,18864,43380,42160,45690,27216,27968,44870,43872,38256,19189,18800,25776,29859,59984,27480,21952,43872,38613,37600,51552,55636,54432,55888,30034,22176,43959,9680,37584,51893,43344,46240,47780,44368,21977,19360,42416,86390,21168,43312,31060,27296,44368,23378,19296,42726,42208,53856,60005,54576,23200,30371,38608,19415,19152,42192,118966,53840,54560,56645,46496,22224,21938,18864,42359,42160,43600,111189,27936,44448];\r\nvar K=\"甲乙丙丁戊己庚辛壬癸\";\r\nvar J=\"子丑寅卯辰巳午未申酉戌亥\";\r\nvar O=\"鼠牛虎兔龙蛇马羊猴鸡狗猪\";\r\nvar L=[\"小寒\",\"大寒\",\"立春\",\"雨水\",\"惊蛰\",\"春分\",\"清明\",\"谷雨\",\"立夏\",\"小满\",\"芒种\",\"夏至\",\"小暑\",\"大暑\",\"立秋\",\"处暑\",\"白露\",\"秋分\",\"寒露\",\"霜降\",\"立冬\",\"小雪\",\"大雪\",\"冬至\"];\r\nvar D=[0,21208,43467,63836,85337,107014,128867,150921,173149,195551,218072,240693,263343,285989,308563,331033,353350,375494,397447,419210,440795,462224,483532,504758];\r\nvar B=\"日一二三四五六七八九十\";\r\nvar H=[\"正\",\"二\",\"三\",\"四\",\"五\",\"六\",\"七\",\"八\",\"九\",\"十\",\"十一\",\"腊\"];\r\nvar E=\"初十廿卅\";\r\nvar V={\r\n\"0101\":\"*1元旦节\",\"0214\":\"情人节\",\"0305\":\"学雷锋纪念日\",\"0308\":\"妇女节\",\"0312\":\"植树节\",\"0315\":\"消费者权益日\",\"0401\":\"愚人节\",\"0501\":\"*1劳动节\",\"0504\":\"青年节\",\"0601\":\"国际儿童节\",\"0701\":\"中国共产党诞辰\",\"0801\":\"建军节\",\"0910\":\"中国教师节\",\"1001\":\"*3国庆节\",\"1224\":\"平安夜\",\"1225\":\"圣诞节\"\r\n} ;\r\nvar T={\r\n\"0101\":\"*2春节\",\"0115\":\"元宵节\",\"0505\":\"*1端午节\",\"0815\":\"*1中秋节\",\"0909\":\"重阳节\",\"1208\":\"腊八节\",\"0100\":\"除夕\"\r\n} ;\r\nfunction U(Y){\r\nfunction c(j,i){\r\nvar h=new Date((31556925974.7*(j-1900)+D[i]*60000)+Date.UTC(1900,0,6,2,5));\r\nreturn(h.getUTCDate())\r\n} function d(k){\r\nvar h,j=348;\r\nfor(h=32768;h>8;h>>=1){\r\nj+=(P[k-1900]&h)?1:0\r\n} return(j+b(k))\r\n} function a(h){\r\nreturn(K.charAt(h%10)+J.charAt(h%12))\r\n} function b(h){\r\nif(g(h)){\r\nreturn((P[h-1900]&65536)?30:29)\r\n} else{\r\nreturn(0)\r\n} \r\n} function g(h){\r\nreturn(P[h-1900]&15)\r\n} function e(i,h){\r\nreturn((P[i-1900]&(65536>>h))?30:29)\r\n} function C(m){\r\nvar k,j=0,h=0;\r\nvar l=new Date(1900,0,31);\r\nvar n=(m-l)/86400000;\r\nthis.dayCyl=n+40;\r\nthis.monCyl=14;\r\nfor(k=1900;k<2050&&n>0;k++){\r\nh=d(k);\r\nn-=h;\r\nthis.monCyl+=12\r\n} if(n<0){\r\nn+=h;\r\nk--;\r\nthis.monCyl-=12\r\n} this.year=k;\r\nthis.yearCyl=k-1864;\r\nj=g(k);\r\nthis.isLeap=false;\r\nfor(k=1;k<13&&n>0;k++){\r\nif(j>0&&k==(j+1)&&this.isLeap==false){\r\n--k;\r\nthis.isLeap=true;\r\nh=b(this.year)\r\n} else{\r\nh=e(this.year,k)\r\n} if(this.isLeap==true&&k==(j+1)){\r\nthis.isLeap=false\r\n} n-=h;\r\nif(this.isLeap==false){\r\nthis.monCyl++\r\n} \r\n} if(n==0&&j>0&&k==j+1){\r\nif(this.isLeap){\r\nthis.isLeap=false\r\n} else{\r\nthis.isLeap=true;\r\n--k;\r\n--this.monCyl\r\n} \r\n} if(n<0){\r\nn+=h;\r\n--k;\r\n--this.monCyl\r\n} this.month=k;\r\nthis.day=n+1\r\n} function G(h){\r\nreturn h<10?\"0\"+h:h\r\n} function f(i,j){\r\nvar h=i;\r\nreturn j.replace(/dd?d?d?|MM?M?M?|yy?y?y?/g,function(k){\r\nswitch(k){\r\ncase\"yyyy\":var l=\"000\"+h.getFullYear();\r\nreturn l.substring(l.length-4);\r\ncase\"dd\":return G(h.getDate());\r\ncase\"d\":return h.getDate().toString();\r\ncase\"MM\":return G((h.getMonth()+1));\r\ncase\"M\":return h.getMonth()+1\r\n} \r\n} )\r\n} function Z(i,h){\r\nvar j;\r\nswitch(i,h){\r\ncase 10:j=\"初十\";\r\nbreak;\r\ncase 20:j=\"二十\";\r\nbreak;\r\ncase 30:j=\"三十\";\r\nbreak;\r\ndefault:j=E.charAt(Math.floor(h/10));\r\nj+=B.charAt(h%10)\r\n} return(j)\r\n} this.date=Y;\r\nthis.isToday=false;\r\nthis.isRestDay=false;\r\nthis.solarYear=f(Y,\"yyyy\");\r\nthis.solarMonth=f(Y,\"M\");\r\nthis.solarDate=f(Y,\"d\");\r\nthis.solarWeekDay=Y.getDay();\r\nthis.solarWeekDayInChinese=\"星期\"+B.charAt(this.solarWeekDay);\r\nvar X=new C(Y);\r\nthis.lunarYear=X.year;\r\nthis.shengxiao=O.charAt((this.lunarYear-4)%12);\r\nthis.lunarMonth=X.month;\r\nthis.lunarIsLeapMonth=X.isLeap;\r\nthis.lunarMonthInChinese=this.lunarIsLeapMonth?\"闰\"+H[X.month-1]:H[X.month-1];\r\nthis.lunarDate=X.day;\r\nthis.showInLunar=this.lunarDateInChinese=Z(this.lunarMonth,this.lunarDate);\r\nif(this.lunarDate==1){\r\nthis.showInLunar=this.lunarMonthInChinese+\"月\"\r\n} this.ganzhiYear=a(X.yearCyl);\r\nthis.ganzhiMonth=a(X.monCyl);\r\nthis.ganzhiDate=a(X.dayCyl++);\r\nthis.jieqi=\"\";\r\nthis.restDays=0;\r\nif(c(this.solarYear,(this.solarMonth-1)*2)==f(Y,\"d\")){\r\nthis.showInLunar=this.jieqi=L[(this.solarMonth-1)*2]\r\n} if(c(this.solarYear,(this.solarMonth-1)*2+1)==f(Y,\"d\")){\r\nthis.showInLunar=this.jieqi=L[(this.solarMonth-1)*2+1]\r\n} if(this.showInLunar==\"清明\"){\r\nthis.showInLunar=\"清明节\";\r\nthis.restDays=1\r\n} this.solarFestival=V[f(Y,\"MM\")+f(Y,\"dd\")];\r\nif(typeof this.solarFestival==\"undefined\"){\r\nthis.solarFestival=\"\"\r\n} else{\r\nif(/*(d)/.test(this.solarFestival)){\r\nthis.restDays=parseInt(RegExp.\$1);\r\nthis.solarFestival=this.solarFestival.replace(/*d/,\"\")\r\n} \r\n} this.showInLunar=(this.solarFestival==\"\")?this.showInLunar:this.solarFestival;\r\nthis.lunarFestival=T[this.lunarIsLeapMonth?\"00\":G(this.lunarMonth)+G(this.lunarDate)];\r\nif(typeof this.lunarFestival==\"undefined\"){\r\nthis.lunarFestival=\"\"\r\n} else{\r\nif(/*(d)/.test(this.lunarFestival)){\r\nthis.restDays=(this.restDays>parseInt(RegExp.\$1))?this.restDays:parseInt(RegExp.\$1);\r\nthis.lunarFestival=this.lunarFestival.replace(/*d/,\"\")\r\n} \r\n} if(this.lunarMonth==12&&this.lunarDate==e(this.lunarYear,12)){\r\nthis.lunarFestival=T[\"0100\"];\r\nthis.restDays=1\r\n} this.showInLunar=(this.lunarFestival==\"\")?this.showInLunar:this.lunarFestival;\r\nthis.showInLunar=(this.showInLunar.length>4)?this.showInLunar.substr(0,2)+\"...\":this.showInLunar\r\n} var Q=(function(){\r\nvar X={\r\n} ;\r\nX.lines=0;\r\nX.dateArray=new Array(42);\r\nfunction Y(a){\r\nreturn(((a%4===0)&&(a%100!==0))||(a%400===0))\r\n} function G(a,b){\r\nreturn[31,(Y(a)?29:28),31,30,31,30,31,31,30,31,30,31][b]\r\n} function C(a,b){\r\na.setDate(a.getDate()+b);\r\nreturn a\r\n} function Z(a){\r\nvar f=0;\r\nvar c=new U(new Date(a.solarYear,a.solarMonth-1,1));\r\nvar d=(c.solarWeekDay-1==-1)?6:c.solarWeekDay-1;\r\nX.lines=Math.ceil((d+G(a.solarYear,a.solarMonth-1))/7);\r\nfor(var e=0;e<X.dateArray.length;e++){\r\nif(c.restDays!=0){\r\nf=c.restDays\r\n} if(f>0){\r\nc.isRest=true\r\n} if(d-->0||c.solarMonth!=a.solarMonth){\r\nX.dateArray[e]=null;\r\ncontinue\r\n} var b=new U(new Date());\r\nif(c.solarYear==b.solarYear&&c.solarMonth==b.solarMonth&&c.solarDate==b.solarDate){\r\nc.isToday=true\r\n} X.dateArray[e]=c;\r\nc=new U(C(c.date,1));\r\nf--\r\n} \r\n} return{\r\ninit:function(a){\r\nZ(a)\r\n} ,getJson:function(){\r\nreturn X\r\n} \r\n} \r\n} )();\r\nvar W=(function(){\r\nvar C=M(\"top\").getElementsByTagName(\"SELECT\")[0];\r\nvar X=M(\"top\").getElementsByTagName(\"SELECT\")[1];\r\nvar G=M(\"top\").getElementsByTagName(\"SPAN\")[0];\r\nvar c=M(\"top\").getElementsByTagName(\"SPAN\")[1];\r\nvar Y=M(\"top\").getElementsByTagName(\"INPUT\")[0];\r\nfunction a(g){\r\nG.innerHTML=g.ganzhiYear;\r\nc.innerHTML=g.shengxiao\r\n} function b(g){\r\nC[g.solarYear-1901].selected=true;\r\nX[g.solarMonth-1].selected=true\r\n} function f(){\r\nvar j=C.value;\r\nvar g=X.value;\r\nvar i=new U(new Date(j,g-1,1));\r\nQ.init(i);\r\nN.draw();\r\nif(this==C){\r\ni=new U(new Date(j,3,1));\r\nG.innerHTML=i.ganzhiYear;\r\nc.innerHTML=i.shengxiao\r\n} var h=new U(new Date());\r\nY.style.visibility=(j==h.solarYear&&g==h.solarMonth)?\"hidden\":\"visible\"\r\n} function Z(){\r\nvar g=new U(new Date());\r\na(g);\r\nb(g);\r\nQ.init(g);\r\nN.draw();\r\nY.style.visibility=\"hidden\"\r\n} function d(k,g){\r\nfor(var j=1901;j<2050;j++){\r\nvar h=R(\"OPTION\");\r\nh.value=j;\r\nh.innerHTML=j;\r\nif(j==k){\r\nh.selected=\"selected\"\r\n} C.appendChild(h)\r\n} for(var j=1;j<13;j++){\r\nvar h=R(\"OPTION\");\r\nh.value=j;\r\nh.innerHTML=j;\r\nif(j==g){\r\nh.selected=\"selected\"\r\n} X.appendChild(h)\r\n} C.onchange=f;\r\nX.onchange=f\r\n} function e(g){\r\nd(g.solarYear,g.solarMonth);\r\nG.innerHTML=g.ganzhiYear;\r\nc.innerHTML=g.shengxiao;\r\nY.onclick=Z;\r\nY.style.visibility=\"hidden\"\r\n} return{\r\ninit:function(g){\r\ne(g)\r\n} ,reset:function(g){\r\nb(g)\r\n} \r\n} \r\n} )();\r\nvar N=(function(){\r\nfunction C(){\r\nvar Z=Q.getJson();\r\nvar c=Z.dateArray;\r\nM(\"cm\").style.height=Z.lines*38+2+\"px\";\r\nM(\"cm\").innerHTML=\"\";\r\nfor(var a=0;a<c.length;a++){\r\nif(c[a]==null){\r\ncontinue\r\n} var X=R(\"DIV\");\r\nif(c[a].isToday){\r\nX.style.border=\"1px solid #a5b9da\";\r\nX.style.background=\"#c1d9ff\"\r\n} X.className=\"cell\";\r\nX.style.left=(a%7)*60+\"px\";\r\nX.style.top=Math.floor(a/7)*38+2+\"px\";\r\nvar b=R(\"DIV\");\r\nb.className=\"so\";\r\nb.style.color=((a%7)>4||c[a].isRest)?\"#c60b02\":\"#313131\";\r\nb.innerHTML=c[a].solarDate;\r\nX.appendChild(b);\r\nvar Y=R(\"DIV\");\r\nY.style.color=\"#666\";\r\nY.innerHTML=c[a].showInLunar;\r\nX.appendChild(Y);\r\nX.onmouseover=(function(d){\r\nreturn function(f){\r\nF.show({\r\ndateIndex:d,cell:this\r\n} )\r\n} \r\n} )(a);\r\nX.onmouseout=function(){\r\nF.hide()\r\n} ;\r\nM(\"cm\").appendChild(X)\r\n} var G=R(\"DIV\");\r\nG.id=\"fd\";\r\nM(\"cm\").appendChild(G);\r\nF.init(G)\r\n} return{\r\ndraw:function(G){\r\nC(G)\r\n} \r\n} \r\n} )();\r\nvar F=(function(){\r\nvar C;\r\nfunction Y(e,c){\r\nif(arguments.length>1){\r\nvar b=/([.*+?^=!:\${}()|[]/])/g,Z=\"{\".replace(b,\"\$1\"),d=\"}\".replace(b,\"\$1\");\r\nvar a=new RegExp(\"#\"+Z+\"([^\"+Z+d+\"]+)\"+d,\"g\");\r\nif(typeof (c)==\"object\"){\r\nreturn e.replace(a,function(f,h){\r\nvar g=c[h];\r\nreturn typeof (g)==\"undefined\"?\"\":g\r\n} )\r\n} \r\n} return e\r\n} function G(b){\r\nvar a=Q.getJson().dateArray[b.dateIndex];\r\nvar Z=b.cell;\r\nvar c=\"#{solarYear}&nbsp;年&nbsp;#{solarMonth}&nbsp;月&nbsp;#{solarDate}&nbsp;日&nbsp;#{solarWeekDayInChinese}\";\r\nc+=\"<br><b>农历&nbsp;#{lunarMonthInChinese}月#{lunarDateInChinese}</b>\";\r\nc+=\"<br>#{ganzhiYear}年&nbsp;#{ganzhiMonth}月&nbsp;#{ganzhiDate}日\";\r\nif(a.solarFestival!=\"\"||a.lunarFestival!=\"\"||a.jieqi!=\"\"){\r\nc+=\"<br><b>#{lunarFestival} #{solarFestival} #{jieqi}</b>\"\r\n} C.innerHTML=Y(c,a);\r\nC.style.top=Z.offsetTop+Z.offsetHeight-5+\"px\";\r\nC.style.left=Z.offsetLeft+Z.offsetWidth-5+\"px\";\r\nC.style.display=\"block\"\r\n} function X(){\r\nC.style.display=\"none\"\r\n} return{\r\nshow:function(Z){\r\nG(Z)\r\n} ,hide:function(){\r\nX()\r\n} ,init:function(Z){\r\nC=Z\r\n} \r\n} \r\n} )();\r\nvar A=new U(new Date());\r\nif(S){\r\nwindow.attachEvent(\"onload\",function(){\r\nW.reset(A)\r\n} )\r\n} W.init(A);\r\nQ.init(A);\r\nN.draw();\r\n} )();\r\n//-->\r\n</script>','0','','0');");

require("../../inc/footer.php");
?>