var mydate=new Date();var year=mydate.getYear();if(year<1000){year+=1900}var month=mydate.getMonth();var daym=mydate.getDate();if(daym<10){daym="0"+daym}month=month+1;if(month<10){month="0"+month}document.getElementById("this_year").innerHTML=year;function pageBack(){history.back()}bytefx=new function(){this.alpha=function(k,d){var l=h(k).style;l.opacity=l.MozOpacity=l.KhtmlOpacity=d/100;l.filter="alpha(opacity="+d+")"};this.clear=function(l){var d=["size","scroll","move","fade","color"],k=d.length;while(k--){clearInterval(h(l).bytefx[d[k]])}};this.color=function(k,l,o,d,m,n){d=bytefx.color$(d);clearInterval(h(k).bytefx.color);k.bytefx.color=setInterval(function(){var p=bytefx.color$(o),q=3;while(q--){p[q]=j(p[q],d[q],m)}k.style[l]=o=bytefx.$color(p);if(""+p==""+d){c(k,"color",n)}},1)};this.drag=function(m,p,k,o,d){function n(q,r){if(r){r.call(m,q)}return false}var l=h(m).bytefx.drag;bytefx.$event(m,"onmousedown",function(q){l.start=true;l.onmousedown=e.onmousedown;l.onmouseup=e.onmouseup;e.onmouseup=m.onmouseup;e.onmousedown=n;return n(q,p)});bytefx.$event(m,"onmouseup",function(q){l.start=false;e.onmousedown=l.onmousedown;e.onmouseup=l.onmouseup;return n(q,k)});bytefx.$event(e,"onmousemove",function(r){var q=r.clientX,t=r.clientY,s={x:q-l.x,y:t-l.y};if(l.start){if(d){s.x=f(s.x,d.$x);s.y=f(s.y,d.$y);s.x=b(s.x,d.x$);s.y=b(s.y,d.y$)}bytefx.position(m,s);n(r,o)}else{l.x=q-m.offsetLeft;l.y=t-m.offsetTop}return false})};this.fade=function(k,n,d,l,m){clearInterval(h(k).bytefx.fade);k.bytefx.fade=setInterval(function(){n=j(n,d,l);bytefx.alpha(k,n);if(n==d){c(k,"fade",m)}},1)};this.move=function(k,d,l,n){var m=bytefx.$position(h(k));a(k,"move",l/100,m,d,["x","y"],"position",n)};this.position=function(k,d){var l=h(k).style;l.position="absolute";l.left=d.x+"px";l.top=d.y+"px"};this.scroll=function(l,m,o){function d(p){return e.documentElement?e.documentElement[p]:e.body[p]}var n=bytefx.$scroll(),k={x:n.x,y:b(bytefx.$position(l).y,f(d("offsetHeight"),e.body.offsetHeight)-b(d("clientHeight"),e.body.clientHeight))};a(h(bytefx),"scroll",m/100,n,k,["x","y"],"scroll$",o?function(){o.call(l)}:null)};this.size=function(l,k,m,o){var n=bytefx.$size(h(l)),d=g.opera;if(!/msie/i.test(navigator.userAgent)||(d&&parseInt(d.version())>=9)){if(k.$width){n.width-=k.$width}if(k.$height){n.height-=k.$height}if(k.width$){k.width-=k.width$}if(k.height$){k.height-=k.height$}}l.style.overflow="hidden";a(l,"size",m/100,n,k,["width","height"],"size$",o)};this.$color=function(d){function k(l){var m=d[l].toString(16);return m.length==1?"0"+m:m}return"#"+k(0)+k(1)+k(2)};this.color$=function(d){function k(l){return d.charAt(l)}d=d.substring(1);if(d.length==3){d=k(0)+k(0)+k(1)+k(1)+k(2)+k(2)}return[parseInt(k(0)+k(1),16),parseInt(k(2)+k(3),16),parseInt(k(4)+k(5),16)]};this.$event=function(k,d,m){var l=k[d];k[d]=function(n){if(!n){n=g.event}if(l){l.call(this,n)}return m.call(this,n)}};this.$position=function(k){var d={x:k.offsetLeft,y:k.offsetTop};while(k=k.offsetParent){d.x+=k.offsetLeft;d.y+=k.offsetTop}return d};this.$scroll=function(){function d(l,k){return(e.documentElement?e.documentElement[l]:g[k]||e.body[l])||0}return{x:d("scrollLeft","pageXOffset"),y:d("scrollTop","pageYOffset")}};this.scroll$=function(k,d){g.scrollTo(d.x,d.y)};this.$size=function(d){return{width:d.offsetWidth,height:d.offsetHeight}};this.size$=function(k,d){var l=k.style;l.width=d.width+"px";l.height=d.height+"px"};function c(k,d,l){clearInterval(k.bytefx[d]);if(l){l.call(k)}}function h(d){if(!d.bytefx){d.bytefx={color:0,drag:{},fade:0,move:0,scroll:0,size:0}}return d}function j(d,l,k){return d<l?b(d+k,l):f(d-k,l)}function a(m,k,o,q,d,n,l,p){clearInterval(m.bytefx[k]);m.bytefx[k]=setInterval(function(){q[n[0]]+=(d[n[0]]-q[n[0]])*o;q[n[1]]+=(d[n[1]]-q[n[1]])*o;bytefx[l](m,q);if(i(q[n[0]])==d[n[0]]&&i(q[n[1]])==d[n[1]]){bytefx[l](m,d);c(m,k,p)}},1)}var g=window,e=document,f=Math.max,b=Math.min,i=Math.round};
