self!=top&&top.location.replace(self.location);var D=document,DC=D.cookie,DS=D.styleSheets,DOM=D.createElement&&D.getElementsByTagName&&DS,NUA=navigator.userAgent,IE=/*@cc_on!@*/false,IE6=/*@cc_on@_jscript_version>=5.6&&@*/IE&&window.XMLHttpRequest==null,IE7=/*@cc_on@_jscript_version>=5.7&&@*/IE&&window.XMLHttpRequest!=null&&NUA.indexOf("MSIE 7")>-1,IE8=/*@cc_on@_jscript_version>=5.8&&@*/IE&&window.XMLHttpRequest!=null&&NUA.indexOf("MSIE 8")>-1,nBlindIId=0,nSlideIId=0;function changeCSS(a,f,d){if(!DOM)return;var g=DS[0].imports&&DS[0].imports.length>0?DS[0].imports[a]:DS[0].cssRules&&DS[0].cssRules[a].styleSheet?DS[0].cssRules[a].styleSheet:DS[a],e=g.rules||g.cssRules;f=f.toLowerCase();for(var b=0,h=e.length;b<h;b++)if(e[b].selectorText.toLowerCase()==f){for(var c=0,i=d.length;c<i;c++)e[b].style[d[c]]=d[++c];return}}function cookie(c){var a=DC.indexOf(c+"=");if(a==-1)return null;a+=c.length+1;var b=DC.indexOf(";",a);if(b==-1)b=DC.length;return unescape(DC.slice(a,b))}function delCookie(a){D.cookie=a+"=; expires=Thu, 01-Jan-70 00:00:01 GMT; path=/"}function saveCookie(d,b,c){var a=new Date;a.setTime(a.getTime()+c*24*60*60*1e3);if(b)D.cookie=d+"="+escape(b)+"; expires="+a.toGMTString()+"; path=/"}function fade(h,c,e,d){if(c==e)return;if(!d)d=200;var f=Math.abs(c-e),g=Math.ceil(d/f);oFade=obj(h);for(var a=1,b;a<=f;a++){b=c>e?c-a:a;setTimeout('oFade.style.filter="alpha(opacity='+b+')";oFade.style.opacity="'+b/100+'";oFade.style.KhtmlOpacity="'+b/100+'";oFade.style.MozOpacity="'+b/100+'"',g*a)}}function hex(e){if(IE||!e)return e;for(var c=e.match(/\d+/g),d="#",a,b=0,f=c.length;b<f;b++){a=Number(c[b]);if(a>=0&&a<256){if(a<16)d+="0";d+=Number(c[b]).toString(16)}else return null}return d.replace(/(.)\1(.)\2(.)\3/,"$1$2$3")}function keycode(a){a=a||event||null;if(a)return a.charCode||a.keyCode||a.which||0}function obj(a){return DOM?D.getElementById(a):null}function rand(a,d){if(typeof d=="number")return Math.round(Math.random()*(d-a+1)+(a-.5));if(typeof a=="number"){for(var c=[],b=0;b<a;b++)c[b]=b;return c.sort(function(){return Math.round(Math.random())-.5})}else return null}function setDocSize(){nDocW=D.documentElement.clientWidth||D.body.clientWidth||window.innerWidth-16;nDocH=D.documentElement.clientHeight||D.body.clientHeight||window.innerHeight}function setDocSSize(){nDocSW=window.pageXOffset?window.pageXOffset:D.documentElement?D.documentElement.scrollLeft:D.body?D.body.scrollLeft:window.scrollX?window.scrollX:0;nDocSH=window.pageYOffset?window.pageYOffset:D.documentElement?D.documentElement.scrollTop:D.body?D.body.scrollTop:window.scrollY?window.scrollY:0}function size(d,f){var a=obj(d).style,b,c,e;switch(f){case"height":c="clientHeight";e="offsetHeight";break;case"width":c="clientWidth";e="offsetWidth";break;default:return}a.overflow="hidden";b=obj(d)[e];nOff=0;if(b>0)return b;else{var j=a.visibility,i=a.position,l=a.height,g=a.display,k=a.border,h=a.padding;a.visibility="hidden";if(IE6)a.position="absolute";a.height="";a.display="block";b=obj(d)[c];a.border="";nOff=b-obj(d)[c];a.border=k;a.padding="";nOff+=b-obj(d)[c];a.padding=h;a.visibility=j;a.position=i;a.height=l;a.display=g;return b}}function slide(g,d,b,c,a){if(b==c)return;nSlideSize=Math.abs(b-c);oSlide=obj(g);var f=nSlideSize,e=parseInt(oSlide.style[d]),h=c>b?"+":"-";if(!a)a=5;clearInterval(nSlideIId);nSlideIId=setInterval('oSlide.style["'+d+'"]=('+e+h+"("+f+'-(nSlideSize-=Math.ceil(nSlideSize/12))))+"px";if(nSlideSize<=0){clearInterval(nSlideIId);}',a)}function toggleBlind(b,a){nObjH=size(b,"height")-nOff;oBlind=obj(b);if(!a)a=5;clearInterval(nBlindIId);if(obj(b).offsetHeight==0){var c=nObjH;oBlind.style.height="0";oBlind.style.display="block";nBlindIId=setInterval("oBlind.style.height=("+c+'-(nObjH-=Math.ceil(nObjH/12)))+"px";if(nObjH<=0){clearInterval(nBlindIId);oBlind.style.height="";}',a)}else nBlindIId=setInterval('oBlind.style.height=(nObjH-=Math.ceil(nObjH/12))+"px";if(nObjH<=1){clearInterval(nBlindIId);oBlind.style.display="none";}',a)};
