var mini=function(){function a(o,l){l=l||document;if(!/^[\w\-_#]+$/.test(o)&&l.querySelectorAll)return b(l.querySelectorAll(o));if(o.indexOf(",")>-1){for(var n=o.split(/,/g),m=[],i=0,k=n.length;i<k;++i)m=m.concat(a(n[i],l));return h(m)}n=o.match(c);i=n.pop();m=(i.match(f)||j)[1];k=!m&&(i.match(e)||j)[1];i=!m&&(i.match(g)||j)[1];if(k&&!i&&l.getElementsByClassName)i=b(l.getElementsByClassName(k));else{i=!m&&b(l.getElementsByTagName(i||"*"));if(k){for(var k=RegExp("(^|\\s)"+k+"(\\s|$)"),p=-1,q,u=-1,
r=[];q=i[++p];)k.test(q.className)&&(r[++u]=q);i=r}if(m)return(n=l.getElementById(m))?[n]:[]}return n[0]&&i[0]?d(n,i):i}function b(a){try{return Array.prototype.slice.call(a)}catch(d){for(var c=[],e=0,b=a.length;e<b;++e)c[e]=a[e];return c}}function d(a,c,b){var h=a.pop();if(h===">")return d(a,c,!0);for(var i=[],k=-1,p=(h.match(f)||j)[1],q=!p&&(h.match(e)||j)[1],h=!p&&(h.match(g)||j)[1],u=-1,r,s,t,h=h&&h.toLowerCase();r=c[++u];){s=r.parentNode;do if(t=(t=(t=!h||h==="*"||h===s.nodeName.toLowerCase())&&
(!p||s.id===p))&&(!q||RegExp("(^|\\s)"+q+"(\\s|$)").test(s.className)),b||t)break;while(s=s.parentNode);t&&(i[++k]=r)}return a[0]&&i[0]?d(a,i):i}var c=/(?:[\w\-\\.#]+)+(?:\[\w+?=([\'"])?(?:\\\1|.)+?\1\])?|\*|>/ig,e=/^(?:[\w\-_]+)?\.([\w\-_]+)/,f=/^(?:[\w\-_]+)?#([\w\-_]+)/,g=/^([\w\*\-_]+)/,j=[null,null],h=function(){var a=+new Date,d=function(){var d=1;return function(c){var e=c[a],b=d++;if(!e)return c[a]=b,!0;return!1}}();return function(c){for(var e=c.length,b=[],j=-1,h=0,f;h<e;++h)f=c[h],d(f)&&
(b[++j]=f);a+=1;return b}}();return a}();if(typeof Ylmf=="undefined")var Ylmf={};Function.prototype.method=function(a,b){this.prototype[a]=b;return this};
Array.prototype.forEach||Array.method("forEach",function(a,b){for(var d=b||window,c=0,e=this.length;c<e;++c)a.call(d,this[c],c,this)}).method("every",function(a,b){for(var d=b||window,c=0,e=this.length;c<e;++c)if(!a.call(d,this[c],c,this))return!1;return!0}).method("some",function(a,b){for(var d=b||window,c=0,e=this.length;c<e;++c)if(a.call(d,this[c],c,this))return!0;return!1}).method("map",function(a,b){for(var d=b||window,c=[],e=0,f=this.length;e<f;++e)c.push(a.call(d,this[e],e,this));return c}).method("filter",
function(a,b){for(var d=b||window,c=[],e=0,f=this.length;e<f;++e)a.call(d,this[e],e,this)&&c.push(this[e]);return c}).method("indexOf",function(a,b){for(var d=b||0,c=this.length;d<c;++d)if(this[d]===a)return d;return-1}).method("lastIndexOf",function(a,b){b=b||this.length;if(b>=this.length)b=this.length;b<0&&(b=this.length+b);for(var d=b;d>=0;--d)if(this[d]===a)return d;return-1});
(function(){Ylmf.register=function(a){function b(a){if(typeof a=="string"){a=mini(a);if(!a||a==""||typeof a=="undefined"=="undefined")return!1;if(a.length==1)this.el=a[0];else if(a.length>1)this.el=a}else if(a.nodeType==1)this.el=a}b.method(a.each,function(a){if(this.el){if(this.el.length)for(var c=0,e=this.el.length;c<e;++c)a.call(this,this.el[c]);else a.call(this,this.el);return this}}).method(a.hasClass,function(a,c){this.each(function(e){e=e.className.split(/\s+/).toString().indexOf(a)>-1?!0:
!1;c(e)});return this}).method(a.addClass,function(a){this.each(function(c){for(var e=(a||"").split(/\s+/),b=0;b<e.length;b++){var g=e[b];this.hasClass(c,function(a){a||(c.className+=(c.className?" ":"")+g)})}});return this}).method(a.removeClass,function(a){this.each(function(c){if(a!=void 0){for(var b=c.className.split(/\s+/),f=[],g=0,j=b.length;g<j;++g){var h=b[g];h!=a&&f.push(h)}c.className=f.join(" ")}else c.className=""});return this}).method(a.replaceClass,function(a,c){this.removeClass(a);
this.addClass(c);return this}).method(a.setStyle,function(a,c){this.each(function(b){b.style[a]=c});return this}).method(a.setCSS,function(a){for(var c in a)a.hasOwnProperty(c)&&this.setStyle(c,a[c]);return this}).method(a.getStyle,function(a,c){var b=null;document.defaultView?b=document.defaultView.getComputedStyle(this.el,null).getPropertyValue(a):(a=a.replace(/\-([a-z])([a-z]?)/ig,function(a,d,c){return d.toUpperCase()+c.toLowerCase()}),b=this.el.currentStyle[a]);c.call(this,b);return this}).method(a.show,
function(a){a==0?this.setStyle("display",""):a==1?this.setStyle("display",""):this.setStyle("display","block");return this}).method(a.hide,function(){this.setStyle("display","none");return this}).method(a.toggle,function(a){this.each(function(c){c.style.display=="none"?a?a==1?c.style.display="inline":c.style.display="":c.style.display="block":c.style.display="block"});return this}).method(a.on,function(a,c){var b=function(b){var e=function(){c(b)};window.addEventListener?b.addEventListener(a,e,!1):
window.attachEvent&&b.attachEvent("on"+a,e)};if(this.el)return this.el.length==0?b(this.el):this.each(function(a){b(a)}),this}).method(a.getRect,function(a){var c=this.el.getBoundingClientRect();a.call(this,c);return this}).method(a.create,function(a,c,b){a=document.createElement(a);for(prop in c)a.setAttribute(prop,c[prop]);b&&b.call(this,a);return this}).method(a.append,function(a){this.el.appendChild(a);return this}).method(a.remove,function(a){a&&this.el.removeChild(a);return this});window[a.namespace]=
function(a){return new b(a)};window[a.namespace].forEach=Array.prototype.forEach;window[a.namespace].every=Array.prototype.every;window[a.namespace].some=Array.prototype.some;window[a.namespace].map=Array.prototype.map;window[a.namespace].filter=Array.prototype.filter;Ylmf.extendChain=function(a,c){b.method(a,c)}}})();
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"});
var Yl={getHost:function(a){var a=a||location.host,b=a.indexOf(":");return b==-1?a:a.substring(0,b)},getFocus:function(a){var b=a.createTextRange();b.moveStart("character",a.value.length);b.collapse(!0);b.select()},loadFrame:function(a,b){Browser.isIE?a.onreadystatechange=function(){b()}:a.onload=function(){b()}},trim:function(a){a=a.replace(/(^\u3000+)|(\u3000+$)/g,"");return a=a.replace(/(^ +)|( +$)/g,"")},encodeText:function(a){a=a.replace(/</g,"&lt;");a=a.replace(/>/g,"&gt;");a=a.replace(/\'/g,
"&#39;");a=a.replace(/\"/g,"&#34;");a=a.replace(/\\/g,"&#92;");a=a.replace(/\[/g,"&#91;");return a=a.replace(/\]/g,"&#93;")},decodeHtml:function(a){a=a.replace(/&lt;/g,"<");a=a.replace(/&gt;/g,">");a=a.replace(/&#39;/g,"'");a=a.replace(/&#34;/g,'"');a=a.replace(/&#92;/g,"\\");a=a.replace(/&#91;/g,"[");return a=a.replace(/\&#93;/g,"]")},createFrame:function(a){if(a&&a.src)return format('<iframe src="#{src}" width="#{width}" height="#{height}" scrolling="no" frameborder="0" allowtransparency="true"></iframe>',
{src:a.src,width:a.width||"100%",height:a.height||"100%"})},getType:function(a){var b;return((b=typeof a)=="object"?a==null&&"null"||Object.prototype.toString.call(a).slice(8,-1):b).toLowerCase()},setStyle:function(a,b){var d=document.styleSheets[0];if(d.addRule)for(var a=a.split(","),c=0,e=a.length;c<e;c++)d.addRule(a[c],b);else d.insertRule&&d.insertRule(a+" { "+b+" }",d.cssRules.length)},addFav:function(a){a=a||document.getElementsByTagName("title")[0].innerHTML;if(document.all)window.external.AddFavorite(location.href,
a);else if(window.sidebar)window.sidebar.addPanel(a,location.href,"");else if(window.opera&&window.print)return!0},setHome:function(a,b){if(Browser.isIE){var d=b;if(!d)d=window.location.href;a.style.behavior="url(#default#homepage)";a.setHomePage(d)}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(){var a=navigator.userAgent,b=0,d=0,c=0,e=0,f=0,g=
0,j=0,h;if(a.indexOf("Chrome")>-1&&/Chrome\/(\d+(\.d+)?)/.test(a))j=RegExp.$1;if(a.indexOf("Safari")>-1&&/Version\/(\d+(\.\d+)?)/.test(a))b=RegExp.$1;if(window.opera&&/Opera(\s|\/)(\d+(\.\d+)?)/.test(a))c=RegExp.$2;if(a.indexOf("Gecko")>-1&&a.indexOf("KHTML")==-1&&/rv\:(\d+(\.\d+)?)/.test(a))f=RegExp.$1;if(/MSIE (\d+(\.\d+)?)/.test(a))e=RegExp.$1;if(/Firefox(\s|\/)(\d+(\.\d+)?)/.test(a))g=RegExp.$2;if(a.indexOf("KHTML")>-1&&/AppleWebKit\/([^\s]*)/.test(a))d=RegExp.$1;try{h=!!external.max_version}catch(o){}return{isStrict:document.compatMode==
"CSS1Compat",isChrome:j,isSafari:b,isWebkit:d,isOpera:c,isGecko:f,isIE:e,isFF:g,isMaxthon:h,isFlash:function(){var a=!1;if(navigator.plugins)for(var c=0;c<navigator.plugins.length;c++)navigator.plugins[c].name.toLowerCase().indexOf("shockwave flash")>=0&&(a=!0);if(!a)try{new ActiveXObject("ShockwaveFlash.ShockwaveFlash")&&(a=!0)}catch(b){a=!1}return a}(),isCookie:navigator.cookieEnabled?!0:!1}}(),Cookie={set:function(a,b,d,c,e){typeof d=="undefined"&&(d=new Date((new Date).getTime()+31536E6));document.cookie=
a+"="+escape(b)+(d?"; expires="+d.toGMTString():"")+(c?"; path="+c:"; path=/")+(e?";domain="+e:"")},get:function(a){a=document.cookie.match(RegExp("(^| )"+a+"=([^;]*)(;|$)"));if(a!=null)return unescape(a[2]);return null},clear:function(a,b,d){if(this.get(a))document.cookie=a+"="+(b?"; path="+b:"; path=/")+(d?"; domain="+d:"")+";expires=Fri, 02-Jan-1970 00:00:00 GMT"}},Ajax=function(a,b){var d;if(typeof XMLHttpRequest!=="undefined")d=new XMLHttpRequest;else for(var c=["Microsoft.XmlHttp","MSXML2.XmlHttp",
"MSXML2.XmlHttp.3.0","MSXML2.XmlHttp.4.0","MSXML2.XmlHttp.5.0"],e=0,f=c.length;e<f;e++)try{d=new ActiveXObject(c[e]);break}catch(g){}d.onreadystatechange=function(){d.readyState<4||d.status===200&&d.readyState===4&&b(d)};d.open("GET",a,!0);d.send("")},cache=function(){function a(a){if(b[a])return b[a];return null}var b={};return{get:a,set:function(a,c,e){e?(Yl.getType(b[a])!="array"&&(b[a]=[]),b[a].push(c)):b[a]=c},is:function(b){return a(b)==null?!1:!0},remove:function(a){delete b[a]}}}(),format=
function(a,b){if(arguments.length>1){var d=format,c=/([.*+?^=!:${}()|[\]\/\\])/g,e=(d.left_delimiter||"{").replace(c,"\\$1"),f=(d.right_delimiter||"}").replace(c,"\\$1"),c=d._r1||(d._r1=RegExp("#"+e+"([^"+e+f+"]+)"+f,"g")),d=d._r2||(d._r2=RegExp("#"+e+"(\\d+)"+f,"g"));if(typeof b=="object")return a.replace(c,function(a,c){var d=b[c];typeof d=="function"&&(d=d(c));return typeof d=="undefined"?"":d});else if(typeof b!="undefined"){var g=Array.prototype.slice.call(arguments,1),j=g.length;return a.replace(d,
function(a,c){c=parseInt(c,10);return c>=j?a:g[c]})}}return a};function DOMReady(a){/(?!.*?compatible|.*?webkit)^mozilla|opera/i.test(navigator.userAgent)?document.addEventListener("DOMContentLoaded",a,!1):window.setTimeout(a,0)}
var skinSelector=function(){function a(a,b){switch(a){case "style":var f=["blue","green","pink","orange"],g="";b<1?(d("","style"),Cookie.clear("style")):(g="public/home/style/"+f[b]+"/style.css",d(g,"style"));break;case "sidebar":f=["left","right"];g=document.getElementsByTagName("html")[0];b>0?g.className=f[b]:(g.className="",Cookie.clear("sidebar"));break;case "font":g="/public/css/font/"+Yl.trim(b)+".css";Yl.trim(b)=="default"?(Cookie.clear("font"),d("","font")):d(g,"font");break;case "bg":var f=
"/public/images/bg/"+Yl.trim(b),g=$("#temp-css").el,j="";Yl.trim(b)!=="default"?j="body {background:url("+f+")}":(j="",Cookie.clear("bg"));g.styleSheet?g.styleSheet.cssText=j:g.innerHTML=j}}var b={style:"",sidebar:"",font:"",bg:""},d=function(a,b){document.getElementById(b)?$("#"+b).el.href=a:$("head").create("link",{id:b,href:a,rel:"stylesheet",type:"text/css"},function(a){this.append(a)})};return{set:a,init:function(){for(var c in b)Cookie.get(c)&&(b[c]=Cookie.get(c));for(var d in b)b[d]&&a(d,b[d])}}}();
skinSelector.init();Browser.isIE=="6.0"&&document.execCommand("BackgroundImageCache",!1,!0);
var Calendar=function(){function a(a){return d[a-1900]&15?d[a-1900]&65536?30:29:0}function b(b){var c=0,e=0,f=(b-new Date(1900,0,31))/864E5;this.dayCyl=f+40;this.monCyl=14;for(b=1900;b<2050&&f>0;b++){c=void 0;e=348;for(c=32768;c>8;c>>=1)e+=d[b-1900]&c?1:0;e+=a(b);f-=e;this.monCyl+=12}f<0&&(f+=e,b--,this.monCyl-=12);this.year=b;this.yearCyl=b-1864;c=d[b-1900]&15;this.isLeap=!1;for(b=1;b<13&&f>0;b++){c>0&&b==c+1&&this.isLeap==!1?(--b,this.isLeap=!0,e=a(this.year)):e=d[this.year-1900]&65536>>b?30:29;
if(this.isLeap==!0&&b==c+1)this.isLeap=!1;f-=e;this.isLeap==!1&&this.monCyl++}if(f==0&&c>0&&b==c+1)this.isLeap?this.isLeap=!1:(this.isLeap=!0,--b,--this.monCyl);f<0&&(f+=e,--b,--this.monCyl);this.month=b;this.day=f+1}var d=[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,42416,83315,21168,43432,59728,27296,44710,43856,19296,43748,42352,21088,62051,55632,23383,22176,38608,19925,19152,42192,54484,53840,54616,46400,46752,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,84835],c=new Date,e=c.getFullYear(),f=c.getMonth(),g=c.getDate();return{day:function(){return format("<h1>\u661f\u671f#{week}</h1><h2>#{MM}\u6708</h2><h3>#{DD}</h3>",{YY:e,MM:f+1,DD:g,week:"\u65e5\u4e00\u4e8c\u4e09\u56db\u4e94\u516d".charAt(c.getDay())})},cnday:function(){var a=new b(new Date(e,f,g)),c=a.month,a=a.day,d=["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d",
"\u4e03","\u516b","\u4e5d","\u5341"],c=c>10?"\u5341"+d[c-10]:d[c];c=="\u4e00"&&(c="\u6b63");c+="\u6708";switch(a){case 10:c+="\u521d\u5341";break;case 20:c+="\u4e8c\u5341";break;case 30:c+="\u4e09\u5341";break;default:c+=["\u521d","\u5341","\u5eff","\u5345"][Math.floor(a/10)],c+=d[parseInt(a%10)]}return"\u519c\u5386"+c},date:function(){g+=1;return e+"-"+(f<9?"0"+(f+1):f+1)+"-"+(g+1<10?"0"+g:g)}}}();
