var ielt7=document.all&&navigator.userAgent.indexOf("MSIE 7")<0&&!window.opera;var isIE=(!!(window.attachEvent&&!window.opera));var hasClass=function(b,a){return b.className.match(new RegExp("(\\s|^)"+a+"(\\s|$)"));};var addClass=function(b,a){if(!this.hasClass(b,a)){b.className+=" "+a;}};var removeClass=function(c,a){if(hasClass(c,a)){var b=new RegExp("(\\s|^)"+a+"(\\s|$)");c.className=c.className.replace(b," ");}};(window.opera&&![].concat)||(Array.prototype.concat=function(){var e=[];for(var b=0,c=this.length;b<c;b++){e.push(this[b]);}for(var b=0,c=arguments.length;b<c;b++){if(arguments[b].constructor==Array){for(var a=0,d=arguments[b].length;a<d;a++){e.push(arguments[b][a]);}}else{e.push(arguments[b]);}}return e;});Array.prototype._each=function(b){for(var a=0,c=this.length;a<c;a++){b(this[a]);}};Array.prototype.toArray=function(){return[].concat(this);};Array.prototype.each=function(b){var a=0;try{this._each(function(d){try{b(d,a++);}catch(f){}});}catch(c){}return this;};Array.prototype.all=function(b){if(b){for(var a=0;a<this.length;a++){if(!b(this[a])){return false;}}}return true;};Array.prototype.contains=function(b){if(this.length<=0){return false;}for(var a=0;a<this.length;a++){if(this[a].toString()==b.toString()){return true;}}return false;};[].indexOf||(Array.prototype.indexOf=function(a){for(var b=this.length;b--&&this[b]!==a;){}return b;});var $A=function(d){if(!d){return[];}if(d.toArray){return d.toArray();}else{var b=[];for(var a=0,c=d.length;a<c;a++){b.push(d[a]);}return b;}};var SF={nodeOptions:{All:0,Id:1,Name:2,Class:3,TagName:4,Mul:5},toArray:function(a){var c=new Array();for(var b=0;b<a.length;b++){c.push(a[b]);}return c;},getOption:function(a){if(a=="*"){return SF.nodeOptions.All;}if(/^#[^\s]+$/.test(a)){return SF.nodeOptions.Id;}if(/^@[^\s]+$/.test(a)){return SF.nodeOptions.Name;}if(/^\.[^\s]+$/.test(a)){return SF.nodeOptions.Class;}if(/^[^\s]+\s+[^\s]+$/.test(a)){return SF.nodeOptions.Mul;}return SF.nodeOptions.TagName;},getAllNodes:function(d,c){var a=d.childNodes;for(var b=0;b<a.length;b++){c.push(a[b]);SF.getAllNodes(a[b],c);}},getNodes:function(a,f){var e=new Array();var d=SF.getOption(f);if(a==null){a=document.documentElement;}if(d==SF.nodeOptions.Name||d==SF.nodeOptions.Class){f=f.substr(1,f.length-1);}switch(d){case SF.nodeOptions.All:SF.getAllNodes(a,e);break;case SF.nodeOptions.Name:if(document.documentElement==a){e=SF.toArray(document.getElementsByName(f));}else{SF.toArray(document.getElementsByName(f)).each(function(g){while(g.parentNode){if(g.parentNode==a){e.push(g);break;}else{g=g.parentNode;}}});}break;case SF.nodeOptions.Class:var b=new Array();SF.getAllNodes(a,b);for(var c=0;c<b.length;c++){if(new RegExp("\\b"+f+"\\b").test(b[c].className)){e.push(b[c]);}}break;case SF.nodeOptions.TagName:e=SF.toArray(a.getElementsByTagName(f));break;default:throw {message:"\u7b2c\u4e8c\u9879\u5e94\u8be5\u4e3a\u591a\u8282\u70b9!"};}return e;}};function $E(d,c){if(typeof(d).toLowerCase()!="string"){return d;}if(typeof c=="undefined"||c==null){c=document;}var f=SF.getOption(d);if(f==SF.nodeOptions.Id){return document.getElementById(d.substr(1,d.length-1));}if(f==SF.nodeOptions.Mul){var b;var e=$E(d.match(/^[^\s]+/)[0],c);if(!e){return null;}if(e.length){if(e.length>1){return null;}else{b=e[0];}}else{b=e;}var a=d.match(/[^\s]+$/)[0];return SF.getNodes(b,a);}return SF.getNodes(c,d);}window.Fun={d:function(g){var f=g.currentStyle?g.currentStyle.display:window.getComputedStyle(g,null).display;if(f!="none"&&f!=null){return{width:g.offsetWidth,height:g.offsetHeight};}var b=g.style;var e=b.visibility;var c=b.position;var a=b.display;b.visibility="hidden";b.position="absolute";b.display="block";var h=g.clientWidth;var d=g.clientHeight;b.display=a;b.position=c;b.visibility=e;return{width:h,height:d};},attr:function(c,b,a){if(a){c.setAttribute(b,a);}else{return c.getAttribute(b);}},w:function(b,a){if(a){b.style.width=a+"px";}else{return this.d(b).width;}},h:function(b,a){if(a){b.style.height=a+"px";}else{return this.d(b).height;}},t:function(b,a){if(a){b.style.top=a+"px";}else{return b.offsetTop||((b.documentElement&&b.documentElement.scrollTop)||(b.body&&b.body.scrollTop)||0);}},l:function(b,a){if(a){b.style.left=a+"px";}else{return b.offsetLeft||((b.documentElement&&b.documentElement.scrollLeft)||(b.body&&b.body.scrollLeft)||0);}}};window.Effect={s2uTab:function(e,d,b,l,m,h,k,g){if(typeof e=="undefined"||!e||typeof d=="undefined"||!d||e.length==0||d.length==0||e.length!=d.length){return;}if(typeof l=="undefined"||l==null){l=0;}if(typeof b=="undefined"||b==null){b="click";}if(typeof k=="undefined"||k==null){k=0;}if(typeof m=="undefined"||m==null){m="show";}if(typeof h=="undefined"||h==null){h="";}if(typeof g=="undefined"||g==null||g<0){g=0;}var c=l;var f=null;var a=function(){if(g>0){clearTimeout(f);f=window.setTimeout(function(){n((c+1)%e.length);},g);}};var n=function(i){if(i!=c){removeClass(e[i],h);addClass(e[i],m);removeClass(d[i],h);addClass(d[i],m);removeClass(e[c],m);addClass(e[c],h);removeClass(d[c],m);addClass(d[c],h);}c=i;a();return false;};for(var j=0;j<e.length;++j){if(j!=l){addClass(e[j],h);removeClass(e[j],m);addClass(d[j],h);removeClass(d[j],m);}else{addClass(e[j],m);removeClass(e[j],h);addClass(d[j],m);removeClass(d[j],h);}$A(e[j].getElementsByTagName("*")).each(function(i){i.onfocus=function(){this.blur();};});(function(){var o=j;var i=null;addListener(e[o],b,function(){if(g>0){clearTimeout(f);}if(b=="mouseover"&&k>0){clearTimeout(i);i=window.setTimeout(function(){n(o);},k);}else{n(o);}});if(b=="mouseover"&&k>0){addListener(e[o],"mouseout",function(){clearTimeout(i);a();});}a();})();}},s2uTabs:function(b,l,m,g,j,f){var a=$E(".tab_box");for(var h=0;h<a.length;h++){try{var d=$E(".tab_title a",a[h]);var c=$E(".tab_content .tab_con",a[h]);this.s2uTab(d,c,"mouseover",0,"show","",200,5000);}catch(k){}}a=$E(".tab_box_n");for(var h=0;h<a.length;h++){try{var d=$E(".tab_title a",a[h]);var c=$E(".tab_content .tab_con",a[h]);this.s2uTab(d,c,"mouseover",0,"show","",200);}catch(k){}}a=$E(".tab_box_c");for(var h=0;h<a.length;h++){try{var d=$E(".tab_title a",a[h]);var c=$E(".tab_content .tab_con",a[h]);this.s2uTab(d,c,"click",0,"show","",200);}catch(k){}}},showList:function(e,f){var g=$E("dt",e)[0];var b=$E("dd",e)[0];var a=$E("li",b);addListener(g,"mouseover",function(){addClass(b,"show");});addListener(e,"mouseout",function(){removeClass(b,"show");});addListener(b,"mouseover",function(){addClass(b,"show");});addListener(b,"click",function(){removeClass(b,"show");});for(var c=0;c<a.length;c++){d(c);}function d(h){addListener(a[h],"mouseover",function(){addClass(a[h],"show");if(f){g.innerHTML=a[h].innerHTML;f.setAttribute("value",a[h].getAttribute("value")?a[h].getAttribute("value"):a[h].innerHTML);}else{g.innerHTML=$E(a[h],"a")[0].innerHTML;}});addListener(a[h],"mouseout",function(){removeClass(a[h],"show");});}},showLists:function(){var a=$E(".xl_box");for(var b=0;b<a.length;b++){try{var c=$E(".xl_cd",a[b])[0];var d=$E(".xl_in",a[b])[0];this.showList(c,d);}catch(f){}}},HtmlMove:function(w,s,u,D,l,f,v,b){var B,a=false,g=(u=="scrollRight"||u=="scrollLeft")?"scrollLeft":"scrollTop",k=g=="scrollTop"?Fun.h(s[0]):Fun.w(s[0]);w.onmouseover=function(){a=true;};w.onmouseout=function(){a=false;};if(v==null){var r=k*s.length,A=0,x=D,n=w;n.innerHTML+=n.innerHTML;if(l){l.onmousedown=function(){q();D+=3;};l.onmouseup=function(){D=x;};}if(f){f.onmousedown=function(){p();D+=3;};f.onmouseup=function(){D=x;};}function p(){clearInterval(B);B=setInterval(function(){if(a){return;}(w[g]-D>0)?(w[g]-=D):(w[g]=r);},30);}function q(){clearInterval(B);B=setInterval(function(){if(a){return;}(w[g]+D<r)?(w[g]+=D):(w[g]=0);},30);}if(u=="scrollTop"||u=="scrollLeft"){q();}else{p();}}else{var t=g=="scrollTop"?Fun.h(w):Fun.w(w),h=b||Math.floor((t+k/2)/k),C=Math.floor((s.length+(h-1))/h),i=k*h,e=0,r,z;var n=w;n.innerHTML+=n.innerHTML;z=setInterval(function(){y((u=="scrollTop"||u=="scrollLeft")?true:false);},v);if(l){l.onmousedown=function(){clearInterval(z);y(true);z=setInterval(function(){y(true);},v);};}if(f){f.onmousedown=function(){clearInterval(z);y(false);z=setInterval(function(){y(false);},v);};}function j(c){}function m(){}function y(c){if(a){return;}var d;if(c){if(e<C){e++;}else{e=1;w[g]=0;}j((e-1)*i);r=e*i;d=setInterval(function(){(w[g]+D<r)?(w[g]+=D):w[g]=r;if(w[g]==r){clearInterval(d);d=null;m();}},5);}else{if(e>0){e--;}else{e=C-1;w[g]=C*i;}j((e+1)*i);r=e*i;d=setInterval(function(){(w[g]-D>r)?(w[g]-=D):w[g]=r;if(w[g]==r){clearInterval(d);d=null;m();}},5);}}}},setOpacity:function(a,b){if(isIE){if(b>=100){a.style.filter="";}else{a.style.filter="alpha(opacity="+b+")";}}else{a.style.opacity=(b/100);}},fadeIn:function(b,c){Effect.setOpacity(b,0);b.style.display="";var e=0;var a=function(){if(e>=100){Effect.setOpacity(b,100);clearInterval(d);return;}e+=5;Effect.setOpacity(b,e);};var d=window.setInterval(a,c);},fadeOut:function(b,c){Effect.setOpacity(b,100);b.style.display="";var e=0;var a=function(){if(e>=100){b.style.display="none";Effect.setOpacity(b,0);clearInterval(d);return;}e+=5;Effect.setOpacity(b,100-e);};var d=window.setInterval(a,c);},switchDiv:function(f,d,g,c){if(typeof f=="undefined"||!f||f.length<=1){return;}if(typeof d=="undefined"||d==null){d=1000;}if(typeof g=="undefined"||g==null||g>(d/100)){g=d/200;}if(typeof c=="undefined"||c==null){c=0;}var b=c;for(var e=0;e<f.length;e++){if(b==e){Effect.setOpacity(f[e],100);}else{Effect.setOpacity(f[e],0);}f[e].style.display="block";}var a=function(){var i=(b+1)%f.length;Effect.fadeOut(f[b],g);b=(b+1)%f.length;Effect.fadeIn(f[b],g);b=i;};var h=window.setInterval(a,d);},clickMove:function(w,l,y,f,o,x){if(typeof w=="undefined"||!w){return;}if(typeof l=="undefined"||!l||l<=0){l=2;}if(typeof y=="undefined"||y==null){y="show";}if(typeof f=="undefined"||f==null){f="";}var v=$E(".tab_title a",w);var u=$E(".tab_content .tab_con",w);var s=$E(".tab_title",w)[0];this.s2uTab(v,u,"click",0,y,f);var r=function(d){var b=0;for(var a=0;a<v.length&&a<d;a++){b+=Fun.h(v[a]);}return b;};var g=0;var e=0;var p=function(){for(var d=0;d<v.length;d++){addClass(v[d],f);removeClass(v[d],y);addClass(u[d],f);removeClass(u[d],y);}addClass(v[g],y);removeClass(v[g],f);addClass(u[g],y);removeClass(u[g],f);var a;if(g>v.length-l){a=r(v.length-l);}else{a=r(g);}if(e!=a){var b=e;var c=function(){clearInterval(h);e=a;s.scrollTop=a;if(o){o.style.visibility="visible";}if(x){x.style.visibility="visible";}};if(o){o.style.visibility="hidden";}if(x){x.style.visibility="hidden";}var h=window.setInterval(function(){if(a>e){if(b>=a){c();return;}b+=4;}else{if(a<e){if(b<=a){c();return;}b-=4;}}s.scrollTop=b;},1);}};var k=function(a){addListener(v[a],"click",function(){g=a;p();});};for(var q=0;q<v.length;q++){k(q);}if(o){addListener(o,"click",function(){if(g<=0){g=v.length-1;}else{g--;}p();});var m=new Image();m.src=o.src;var j=new Image();j.src=o.src.replace(/(.*)(\.)(.*)/,"$1_.$3");addListener(o,"mouseover",function(){this.src=j.src;});addListener(o,"mouseout",function(){this.src=m.src;});}if(x){addListener(x,"click",function(){if(g>=v.length-1){g=0;}else{g++;}p();});var t=new Image();t.src=x.src;var n=new Image();n.src=x.src.replace(/(.*)(\.)(.*)/,"$1_.$3");addListener(x,"mouseover",function(){this.src=n.src;});addListener(x,"mouseout",function(){this.src=t.src;});}}};var addListener=function(f,d,b){if((!!(window.attachEvent&&!window.opera))?true:false){f.attachEvent("on"+d,b);}else{f.addEventListener(d,b,false);}};var changeFontSize=function(c,d){var a=$E("#conbox");if(!a){return;}if(!d||!d.parentNode){return;}removeClass(a,"small");removeClass(a,"big");d=d.parentNode;d.innerHTML="";var b;if(c>0){addClass(a,"big");b=document.createElement("SPAN");b.innerHTML="\u5927";d.appendChild(b);b=document.createElement("A");b.href="#none";b.onclick=function(){changeFontSize(0,this);};b.innerHTML="\u4e2d";d.appendChild(b);b=document.createElement("A");b.href="#none";b.onclick=function(){changeFontSize(-1,this);};b.innerHTML="\u5c0f";d.appendChild(b);}else{if(c<0){addClass(a,"small");b=document.createElement("A");b.href="#none";b.onclick=function(){changeFontSize(1,this);};b.innerHTML="\u5927";d.appendChild(b);b=document.createElement("A");b.href="#none";b.onclick=function(){changeFontSize(0,this);};b.innerHTML="\u4e2d";d.appendChild(b);b=document.createElement("SPAN");b.innerHTML="\u5c0f";d.appendChild(b);}else{b=document.createElement("A");b.href="#none";b.onclick=function(){changeFontSize(1,this);};b.innerHTML="\u5927";d.appendChild(b);b=document.createElement("SPAN");b.innerHTML="\u4e2d";d.appendChild(b);b=document.createElement("A");b.href="#none";b.onclick=function(){changeFontSize(-1,this);};b.innerHTML="\u5c0f";d.appendChild(b);}}};var domReady={add:function(b){if(domReady.loaded){return b();}var e=domReady.observers;if(!e){e=domReady.observers=[];}e[e.length]=b;if(domReady.callback){return;}domReady.callback=function(){if(domReady.loaded){return;}domReady.loaded=true;if(domReady.timer){clearInterval(domReady.timer);domReady.timer=null;}var j=domReady.observers;for(var f=0,h=j.length;f<h;f++){var g=j[f];j[f]=null;g();}domReady.callback=domReady.observers=null;};var d=!!(window.attachEvent&&!window.opera);var a=navigator.userAgent.indexOf("AppleWebKit/")>-1;if(document.readyState&&a){domReady.timer=setInterval(function(){var f=document.readyState;if(f=="loaded"||f=="complete"){domReady.callback();}},50);}else{if(document.readyState&&d){var c=(window.location.protocol=="https:")?"://0":"javascript:void(0)";document.write('<script type="text/javascript" defer="defer" src="'+c+'" onreadystatechange="if (this.readyState == \'complete\') domReady.callback();"><\/script>');}else{if(window.addEventListener){document.addEventListener("DOMContentLoaded",domReady.callback,false);window.addEventListener("load",domReady.callback,false);}else{if(window.attachEvent){window.attachEvent("onload",domReady.callback);}else{var b=window.onload;window.onload=function(){domReady.callback();if(b){b();}};}}}}}};domReady.add(function(){if($E("#scbox")&&$E("#sc_ub")&&$E("#sc_db")){Effect.clickMove($E("#scbox"),2,"show","",$E("#sc_ub"),$E("#sc_db"));}Effect.s2uTabs();Effect.showLists();if($E("#noticelist")){Effect.HtmlMove($E("#noticelist"),$E("#noticelist li"),"scrollTop",4,null,null,5000,1);}Effect.switchDiv($E("#switchBox .sw"),10000,5);});

