var mini=function(){function b(l,m){m=m||document;if(!/^[\w\-_#]+$/.test(l)&&m.querySelectorAll)return f(m.querySelectorAll(l));if(l.indexOf(",")>-1){l=l.split(/,/g);for(var n=[],h=0,j=l.length;h<j;++h)n=n.concat(b(l[h],m));return p(n)}l=l.match(d);j=l.pop();n=(j.match(g)||k)[1];h=!n&&(j.match(e)||k)[1];j=!n&&(j.match(i)||k)[1];if(h&&!j&&m.getElementsByClassName)j=f(m.getElementsByClassName(h));else{j=!n&&f(m.getElementsByTagName(j||"*"));if(h)j=a(j,"className",RegExp("(^|\\s)"+h+"(\\s|$)"));if(n)return(m=
m.getElementById(n))?[m]:[]}return l[0]&&j[0]?c(l,j):j}function f(l){try{return Array.prototype.slice.call(l)}catch(m){for(var n=[],h=0,j=l.length;h<j;++h)n[h]=l[h];return n}}function c(l,m,n){var h=l.pop();if(h===">")return c(l,m,true);var j=[],q=-1,o=(h.match(g)||k)[1],r=!o&&(h.match(e)||k)[1];h=!o&&(h.match(i)||k)[1];var v=-1,u,s,t;for(h=h&&h.toLowerCase();u=m[++v];){s=u.parentNode;do{t=(t=(t=!h||h==="*"||h===s.nodeName.toLowerCase())&&(!o||s.id===o))&&(!r||RegExp("(^|\\s)"+r+"(\\s|$)").test(s.className));
if(n||t)break}while(s=s.parentNode);if(t)j[++q]=u}return l[0]&&j[0]?c(l,j):j}function a(l,m,n){for(var h=-1,j,q=-1,o=[];j=l[++h];)if(n.test(j[m]))o[++q]=j;return o}var d=/(?:[\w\-\\.#]+)+(?:\[\w+?=([\'"])?(?:\\\1|.)+?\1\])?|\*|>/ig,e=/^(?:[\w\-_]+)?\.([\w\-_]+)/,g=/^(?:[\w\-_]+)?#([\w\-_]+)/,i=/^([\w\*\-_]+)/,k=[null,null],p=function(){var l=+new Date,m=function(){var n=1;return function(h){var j=h[l],q=n++;if(!j){h[l]=q;return true}return false}}();return function(n){for(var h=n.length,j=[],q=-1,
o=0,r;o<h;++o){r=n[o];if(m(r))j[++q]=r}l+=1;return j}}();return b}();if(typeof Ylmf=="undefined")var Ylmf={};Function.prototype.method=function(b,f){this.prototype[b]=f;return this};
Array.prototype.forEach||Array.method("forEach",function(b,f){f=f||window;for(var c=0,a=this.length;c<a;++c)b.call(f,this[c],c,this)}).method("every",function(b,f){f=f||window;for(var c=0,a=this.length;c<a;++c)if(!b.call(f,this[c],c,this))return false;return true}).method("some",function(b,f){f=f||window;for(var c=0,a=this.length;c<a;++c)if(b.call(f,this[c],c,this))return true;return false}).method("map",function(b,f){f=f||window;for(var c=[],a=0,d=this.length;a<d;++a)c.push(b.call(f,this[a],a,this));
return c}).method("filter",function(b,f){f=f||window;for(var c=[],a=0,d=this.length;a<d;++a)b.call(f,this[a],a,this)&&c.push(this[a]);return c}).method("indexOf",function(b,f){f=f=f||0;for(var c=this.length;f<c;++f)if(this[f]===b)return f;return-1}).method("lastIndexOf",function(b,f){f=f||this.length;if(f>=this.length)f=this.length;if(f<0)f=this.length+f;for(f=f;f>=0;--f)if(this[f]===b)return f;return-1});
(function(){Ylmf.register=function(b){function f(c){if(typeof c=="string"){c=mini(c);if(!c||c==""||c=="undefined")return false;if(c.length==1)this.el=c[0];else if(c.length>1)this.el=c}else if(c.nodeType==1)this.el=c}f.method(b.each,function(c){if(this.el){if(this.el.length)for(var a=0,d=this.el.length;a<d;++a)c.call(this,this.el[a]);else c.call(this,this.el);return this}}).method(b.hasClass,function(c,a){this.each(function(d){var e=d.className.split(/\s+/).toString().indexOf(c)>-1?true:false;(function(){a(e)})()});
return this}).method(b.addClass,function(c){this.each(function(a){for(var d=(c||"").split(/\s+/),e=0;e<d.length;e++){var g=d[e];this.hasClass(a,function(i){i||(a.className+=(a.className?" ":"")+g)})}});return this}).method(b.removeClass,function(c){this.each(function(a){if(c!=undefined){for(var d=a.className.split(/\s+/),e=[],g=0,i=d.length;g<i;++g){var k=d[g];k!=c&&e.push(k)}a.className=e.join(" ")}else a.className=""});return this}).method(b.replaceClass,function(c,a){this.removeClass(c);this.addClass(a);
return this}).method(b.setStyle,function(c,a){this.each(function(d){d.style[c]=a});return this}).method(b.setCSS,function(c){for(var a in c)c.hasOwnProperty(a)&&this.setStyle(a,c[a]);return this}).method(b.getStyle,function(c,a){var d=null;if(document.defaultView)d=document.defaultView.getComputedStyle(this.el,null).getPropertyValue(c);else{c=c.replace(/\-([a-z])([a-z]?)/ig,function(e,g,i){return g.toUpperCase()+i.toLowerCase()});d=this.el.currentStyle[c]}a.call(this,d);return this}).method(b.show,
function(c){if(c==0)this.setStyle("display","");else c==1?this.setStyle("display",""):this.setStyle("display","block");return this}).method(b.hide,function(){this.setStyle("display","none");return this}).method(b.toggle,function(c){this.each(function(a){if(a.style.display=="none")if(c)c==1?(a.style.display="inline"):(a.style.display="");else a.style.display="block";else a.style.display="block"});return this}).method(b.on,function(c,a){var d=function(e){var g=function(){a(e)};if(window.addEventListener)e.addEventListener(c,
g,false);else window.attachEvent&&e.attachEvent("on"+c,g)};if(this.el){this.el.length==0?d(this.el):this.each(function(e){d(e)});return this}}).method(b.getRect,function(c){var a=this.el.getBoundingClientRect();c.call(this,a);return this}).method(b.create,function(c,a,d){c=document.createElement(c);for(prop in a)c.setAttribute(prop,a[prop]);d&&d.call(this,c);return this}).method(b.append,function(c){this.el.appendChild(c);return this}).method(b.remove,function(c){c&&this.el.removeChild(c);return this});
window[b.namespace]=function(c){return new f(c)};window[b.namespace].forEach=Array.prototype.forEach;window[b.namespace].every=Array.prototype.every;window[b.namespace].some=Array.prototype.some;window[b.namespace].map=Array.prototype.map;window[b.namespace].filter=Array.prototype.filter;Ylmf.extendChain=function(c,a){f.method(c,a)}}})();
Ylmf.register({namespace:"$",each:"each",addClass:"addClass",hasClass:"hasClass",removeClass:"removeClass",replaceClass:"replaceClass",setStyle:"setStyle",getStyle:"getStyle",setCSS:"setCSS",show:"show",hide:"hide",toggle:"toggle",on:"on",getRect:"getRect",append:"append",create:"create",remove:"remove"});function Memoize(b,f){f=f||window;b=f[b];var c={};return function(){var a=Array.prototype.join.call(arguments,"_");a in c||(c[a]=b.apply(f,arguments));return c[a]}}
var Yl={getHost:function(b){var f=b||location.host;b=f.indexOf(":");return b==-1?f:f.substring(0,b)},getFocus:function(b){var f=b.createTextRange();f.moveStart("character",b.value.length);f.collapse(true);f.select()},loadFrame:function(b,f){if(Browser.isIE)b.onreadystatechange=function(){f()};else b.onload=function(){f()}},trim:function(b){b=b.replace(/(^\u3000+)|(\u3000+$)/g,"");return b=b.replace(/(^ +)|( +$)/g,"")},encodeText:function(b){b=b.replace(/</g,"&lt;");b=b.replace(/>/g,"&gt;");b=b.replace(/\'/g,
"&#39;");b=b.replace(/\"/g,"&#34;");b=b.replace(/\\/g,"&#92;");b=b.replace(/\[/g,"&#91;");return b=b.replace(/\]/g,"&#93;")},decodeHtml:function(b){b=b.replace(/&lt;/g,"<");b=b.replace(/&gt;/g,">");b=b.replace(/&#39;/g,"'");b=b.replace(/&#34;/g,'"');b=b.replace(/&#92;/g,"\\");b=b.replace(/&#91;/g,"[");return b=b.replace(/\&#93;/g,"]")},createFrame:function(b){if(b&&b.src)return format('<iframe src="#{src}" width="#{width}" height="#{height}" scrolling="no" frameborder="0" allowtransparency="true"></iframe>',
{src:b.src,width:b.width||"100%",height:b.height||"100%"})},getType:function(b){var f;return((f=typeof b)=="object"?b==null&&"null"||Object.prototype.toString.call(b).slice(8,-1):f).toLowerCase()},setStyle:function(b,f){var c=document.styleSheets[0];if(c.addRule){b=b.split(",");for(var a=0,d=b.length;a<d;a++)c.addRule(b[a],f)}else c.insertRule&&c.insertRule(b+" { "+f+" }",c.cssRules.length)},addFav:function(b){b=b||document.getElementsByTagName("title")[0].innerHTML;if(document.all)window.external.AddFavorite(location.href,
b);else if(window.sidebar)window.sidebar.addPanel(b,location.href,"");else if(window.opera&&window.print)return true},setHome:function(b,f){if(Browser.isIE){f=f;if(!f)f=window.location.href;b.style.behavior="url(#default#homepage)";b.setHomePage(f)}else alert("\u60a8\u7684\u6d4f\u89c8\u5668\u4e0d\u652f\u6301\u81ea\u52a8\u8bbe\u7f6e\u4e3b\u9875\uff0c\u8bf7\u4f7f\u7528\u6d4f\u89c8\u5668\u83dc\u5355\u624b\u52a8\u8bbe\u7f6e\u3002")}},Browser=function(){function b(){var m=false;if(navigator.plugins)for(var n=
0;n<navigator.plugins.length;n++)if(navigator.plugins[n].name.toLowerCase().indexOf("shockwave flash")>=0)m=true;if(!m)try{if(new ActiveXObject("ShockwaveFlash.ShockwaveFlash"))m=true}catch(h){m=false}return m}var f=navigator.userAgent,c=0,a=0,d=0,e=0,g=0,i=0,k=0,p;if(f.indexOf("Chrome")>-1&&/Chrome\/(\d+(\.d+)?)/.test(f))k=RegExp.$1;if(f.indexOf("Safari")>-1&&/Version\/(\d+(\.\d+)?)/.test(f))c=RegExp.$1;if(window.opera&&/Opera(\s|\/)(\d+(\.\d+)?)/.test(f))d=RegExp.$2;if(f.indexOf("Gecko")>-1&&f.indexOf("KHTML")==
-1&&/rv\:(\d+(\.\d+)?)/.test(f))g=RegExp.$1;if(/MSIE (\d+(\.\d+)?)/.test(f))e=RegExp.$1;if(/Firefox(\s|\/)(\d+(\.\d+)?)/.test(f))i=RegExp.$2;if(f.indexOf("KHTML")>-1&&/AppleWebKit\/([^\s]*)/.test(f))a=RegExp.$1;try{p=!!external.max_version}catch(l){}return{isStrict:document.compatMode=="CSS1Compat",isChrome:k,isSafari:c,isWebkit:a,isOpera:d,isGecko:g,isIE:e,isFF:i,isMaxthon:p,isFlash:b(),isCookie:navigator.cookieEnabled?true:false}}(),Cookie={set:function(b,f,c,a,d){if(typeof c=="undefined")c=new Date((new Date).getTime()+
31536E6);document.cookie=b+"="+escape(f)+(c?"; expires="+c.toGMTString():"")+(a?"; path="+a:"; path=/")+(d?";domain="+d:"")},get:function(b){b=document.cookie.match(new RegExp("(^| )"+b+"=([^;]*)(;|$)"));if(b!=null)return unescape(b[2]);return null},clear:function(b,f,c){if(this.get(b))document.cookie=b+"="+(f?"; path="+f:"; path=/")+(c?"; domain="+c:"")+";expires=Fri, 02-Jan-1970 00:00:00 GMT"}},XSAjax=function(){function b(d){var e=[];if(!d)return"";for(var g in d)e.push(g+"="+encodeURIComponent(d[g]));
return e.join("&")}function f(d,e){var g="";if(!d)return"";if(e)g=e+"&";g+="ra="+(new Date).getTime();if(-1<d.indexOf("?"))return d+"&"+g;return d+"?"+g}function c(d){if(d&&d.url){d.before&&typeof d.before=="function"&&d.before();var e="",g;e=b(d.json);e=f(d.url,e);g=document.createElement("SCRIPT");g.type="text/javascript";g.src=e;g.charset=d.charset||"gb2312";if(Browser.isIE)g.onreadystatechange=function(){if(g.readyState=="complete"||g.readyState=="loaded")d.after&&typeof d.after=="function"&&
d.after()};else g.onload=function(){document.getElementsByTagName("head")[0].removeChild(g);d.after&&typeof d.after=="function"&&d.after()};document.getElementsByTagName("head")[0].appendChild(g)}}function a(d){window.setTimeout(function(){c(d)},0)}return{send:a}}(),Ajax=function(b,f){function c(){a.readyState<4||a.status===200&&a.readyState===4&&f(a)}var a;if(typeof XMLHttpRequest!=="undefined")a=new XMLHttpRequest;else for(var d=["Microsoft.XmlHttp","MSXML2.XmlHttp","MSXML2.XmlHttp.3.0","MSXML2.XmlHttp.4.0",
"MSXML2.XmlHttp.5.0"],e=0,g=d.length;e<g;e++)try{a=new ActiveXObject(d[e]);break}catch(i){}a.onreadystatechange=c;a.open("GET",b,true);a.send("")},cache=function(){function b(e){if(d[e])return d[e];return null}function f(e,g,i){if(i){if(Yl.getType(d[e])!="array")d[e]=[];d[e].push(g)}else d[e]=g}function c(e){delete d[e]}function a(e){return b(e)==null?false:true}var d={};return{get:b,set:f,is:a,remove:c}}(),format=function(b,f){if(arguments.length>1){var c=format,a=/([.*+?^=!:${}()|[\]\/\\])/g,d=
(c.left_delimiter||"{").replace(a,"\\$1"),e=(c.right_delimiter||"}").replace(a,"\\$1");a=c._r1||(c._r1=new RegExp("#"+d+"([^"+d+e+"]+)"+e,"g"));c=c._r2||(c._r2=new RegExp("#"+d+"(\\d+)"+e,"g"));if(typeof f=="object")return b.replace(a,function(k,p){var l=f[p];if(typeof l=="function")l=l(p);return typeof l=="undefined"?"":l});else if(typeof f!="undefined"){var g=Array.prototype.slice.call(arguments,1),i=g.length;return b.replace(c,function(k,p){p=parseInt(p,10);return p>=i?k:g[p]})}}return b};
function DOMReady(b){/(?!.*?compatible|.*?webkit)^mozilla|opera/i.test(navigator.userAgent)?document.addEventListener("DOMContentLoaded",b,false):window.setTimeout(b,0)}
(function(b){var f={linear:function(a,d,e,g){return e*a/g+d},easeIn:function(a,d,e,g){return e*(a/=g)*a+d},easeOut:function(a,d,e,g){return-e*(a/=g)*(a-2)+d},easeBoth:function(a,d,e,g){if((a/=g/2)<1)return e/2*a*a+d;return-e/2*(--a*(a-2)-1)+d},easeInStrong:function(a,d,e,g){return e*(a/=g)*a*a*a+d},easeOutStrong:function(a,d,e,g){return-e*((a=a/g-1)*a*a*a-1)+d},easeBothStrong:function(a,d,e,g){if((a/=g/2)<1)return e/2*a*a*a*a+d;return-e/2*((a-=2)*a*a*a-2)+d},elasticIn:function(a,d,e,g,i,k){if(a===
0)return d;if((a/=g)==1)return d+e;k||(k=g*0.3);if(!i||i<Math.abs(e)){i=e;e=k/4}else e=k/(2*Math.PI)*Math.asin(e/i);return-(i*Math.pow(2,10*(a-=1))*Math.sin((a*g-e)*2*Math.PI/k))+d},elasticOut:function(a,d,e,g,i,k){if(a===0)return d;if((a/=g)==1)return d+e;k||(k=g*0.3);if(!i||i<Math.abs(e)){i=e;var p=k/4}else p=k/(2*Math.PI)*Math.asin(e/i);return i*Math.pow(2,-10*a)*Math.sin((a*g-p)*2*Math.PI/k)+e+d},elasticBoth:function(a,d,e,g,i,k){if(a===0)return d;if((a/=g/2)==2)return d+e;k||(k=g*0.3*1.5);if(!i||
i<Math.abs(e)){i=e;var p=k/4}else p=k/(2*Math.PI)*Math.asin(e/i);if(a<1)return-0.5*i*Math.pow(2,10*(a-=1))*Math.sin((a*g-p)*2*Math.PI/k)+d;return i*Math.pow(2,-10*(a-=1))*Math.sin((a*g-p)*2*Math.PI/k)*0.5+e+d},backIn:function(a,d,e,g,i){if(typeof i=="undefined")i=1.70158;return e*(a/=g)*a*((i+1)*a-i)+d},backOut:function(a,d,e,g,i){if(typeof i=="undefined")i=1.70158;return e*((a=a/g-1)*a*((i+1)*a+i)+1)+d},backBoth:function(a,d,e,g,i){if(typeof i=="undefined")i=1.70158;if((a/=g/2)<1)return e/2*a*a*
(((i*=1.525)+1)*a-i)+d;return e/2*((a-=2)*a*(((i*=1.525)+1)*a+i)+2)+d},bounceIn:function(a,d,e,g){return e-f.bounceOut(g-a,0,e,g)+d},bounceOut:function(a,d,e,g){if((a/=g)<1/2.75)return e*7.5625*a*a+d;else if(a<2/2.75)return e*(7.5625*(a-=1.5/2.75)*a+0.75)+d;else if(a<2.5/2.75)return e*(7.5625*(a-=2.25/2.75)*a+0.9375)+d;return e*(7.5625*(a-=2.625/2.75)*a+0.984375)+d},bounceBoth:function(a,d,e,g){if(a<g/2)return f.bounceIn(a*2,0,e,g)*0.5+d;return f.bounceOut(a*2-g,0,e,g)*0.5+e*0.5+d}};b.Motion=function(a,
d){this.duration=d||1E3;this.tween=a||"linear"};b.Motion.getTweens=function(){return f};var c=50;b.Motion.prototype=function(){var a=function(e,g){var i=Array.prototype.slice.call(arguments).slice(2);if(typeof e=="function")try{return e.apply(g||this,i)}catch(k){g.errors=g.errors||[];g.errors.push(k)}},d=function(){a(this.onTweening,this);if(this.current>=this.frames){this.stop();return a(this.onComplete,this)||this}else{++this.current;var e=arguments.callee,g=this;this.timer=setTimeout(function(){e.call(g)},
c)}};return{init:function(){this.fps=this.fps||35;this.frames=Math.ceil(this.duration/1E3*this.fps);if(this.frames<1)this.frames=1;var e="function"==typeof this.tween?this.tween:f[this.tween]||f.linear;this.equation=function(g,i){return e(this.current/this.frames*this.duration,g,i-g,this.duration)};c=this.duration/this.frames;a(this.onInit,this)},start:function(){if(!this.paused){this.init();this.current=1;a(this.onStart,this)}var e=this;this.timer=setTimeout(function(){d.call(e)},c);return this},
stop:function(){clearTimeout(this.timer)},sleep:function(){this.stop();this.paused=true;return a(this.onSleep,this)||this},wakeup:function(){this.start();this.paused=false;return a(this.onWakeup,this)||this}}}()})(window);
var Calendar=function(){function b(h){var j,q=348;for(j=32768;j>8;j>>=1)q+=k[h-1900]&j?1:0;return q+f(h)}function f(h){return c(h)?k[h-1900]&65536?30:29:0}function c(h){return k[h-1900]&15}function a(h,j){return k[h-1900]&65536>>j?30:29}function d(h){var j=0,q=0,o=(h-new Date(1900,0,31))/864E5;this.dayCyl=o+40;this.monCyl=14;for(h=1900;h<2050&&o>0;h++){q=b(h);o-=q;this.monCyl+=12}if(o<0){o+=q;h--;this.monCyl-=12}this.year=h;this.yearCyl=h-1864;j=c(h);this.isLeap=false;for(h=1;h<13&&o>0;h++){if(j>
0&&h==j+1&&this.isLeap==false){--h;this.isLeap=true;q=f(this.year)}else q=a(this.year,h);if(this.isLeap==true&&h==j+1)this.isLeap=false;o-=q;this.isLeap==false&&this.monCyl++}if(o==0&&j>0&&h==j+1)if(this.isLeap)this.isLeap=false;else{this.isLeap=true;--h;--this.monCyl}if(o<0){o+=q;--h;--this.monCyl}this.month=h;this.day=o+1}function e(h,j){var q=new Array("\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d","\u4e03","\u516b","\u4e5d","\u5341"),o=new Array("\u521d","\u5341","\u5eff","\u5345",
"\u3000");h=h>10?"\u5341"+q[h-10]:q[h];if(h=="\u4e00")h="\u6b63";h+="\u6708";switch(j){case 10:h+="\u521d\u5341";break;case 20:h+="\u4e8c\u5341";break;case 30:h+="\u4e09\u5341";break;default:h+=o[Math.floor(j/10)];h+=q[j%10]}return h}function g(){var h=new d(new Date(l,m,n));return e(h.month,h.day)}function i(){return format('<a href="http://tool.115.com/?ct=live&ac=calendar" rel="nr" title="\u70b9\u51fb\u67e5\u770b\u4e07\u770b\u5386">#{YY}\u5e74#{MM}\u6708#{DD}\u65e5 \u661f\u671f#{week} #{cncal}</a>',
{YY:l,MM:m+1,DD:n,week:"\u65e5\u4e00\u4e8c\u4e09\u56db\u4e94\u516d".charAt(p.getDay()),cncal:g()})}var k=new Array(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),p=new Date,l=p.getFullYear(),m=p.getMonth(),n=p.getDate();return{show:i}}();
