function marqueeInit(h){document.createElement&&(marqueeInit.ar.push(h),marqueeInit.run(h.uniqueid))} (function(){function h(a){for(;a=a.parentNode;)if(a.tagName&&a.tagName.toLowerCase()==="table")return true;return false}function q(a){for(var d=[],b=0,c;(c=a.firstChild)&&c.nodeType===3&&i[0].test(c.nodeValue);)a.removeChild(c);for(;(c=a.lastChild)&&c.nodeType===3&&i[0].test(c.nodeValue);)a.removeChild(c);if((c=a.firstChild)&&c.nodeType===3)c.nodeValue=c.nodeValue.replace(i[1],"");if((c=a.lastChild)&&c.nodeType===3)c.nodeValue=c.nodeValue.replace(i[2],"");for(;c=a.firstChild;)d[b++]=a.removeChild(c); return d}function r(a){for(var d=m?a.all:a.getElementsByTagName("*"),b=d.length-1,c=[],f=[];b>-1;--b)d[b].parentNode===a&&(c.push(d[b]),f.push(d[b].cloneNode(true)));f.sort(function(){return 0.5-Math.random()});for(b=c.length-1;b>-1;--b)a.replaceChild(f[b],c[b])}function g(a,d){var b,c,f,g,e,h,j=this;this.mq=marqueeInit.ar[a];this.mq.random&&r(d);for(b in n)if(this.mq.hasOwnProperty&&!this.mq.hasOwnProperty(b)||!this.mq.hasOwnProperty&&!this.mq[b])this.mq[b]=n[b];this.mq.style.width=!this.mq.style.width|| isNaN(parseInt(this.mq.style.width))?"100%":this.mq.style.width;this.mq.style.height=d.getElementsByTagName("img")[0]?!this.mq.style.height||isNaN(parseInt(this.mq.style.height))?"auto":this.mq.style.height:!this.mq.style.height||isNaN(parseInt(this.mq.style.height))?d.offsetHeight+3+"px":this.mq.style.height;c=this.mq.style.width.split(/\d/);this.cw=this.mq.style.width?[parseInt(this.mq.style.width),c[c.length-1]]:["a"];h=q(d);d.className=d.id="";d.removeAttribute("class",0);d.removeAttribute("id", 0);k&&d.removeAttribute("className",0);d.appendChild(d.cloneNode(false));d.className=["marquee",a].join("");d.style.overflow="hidden";this.c=d.firstChild;this.c.appendChild(this.c.cloneNode(false));this.c.style.visibility="hidden";c=[[s,this.c.style],[this.mq.style,this.c.style]];for(e=c.length-1;e>-1;--e)for(b in c[e][0])if(c[e][0].hasOwnProperty&&c[e][0].hasOwnProperty(b)||!c[e][0].hasOwnProperty)c[e][1][b.encamel()]=c[e][0][b];this.m=this.c.firstChild;if(this.mq.mouse==="pause")this.c.onmouseover= function(){j.mq.stopped=true},this.c.onmouseout=function(){j.mq.stopped=false};this.m.style.position="absolute";this.m.style.left="-10000000px";this.m.style.whiteSpace="nowrap";if(l)this.c.firstChild.appendChild(this.m=document.createElement("nobr"));this.mq.noAddedSpace||this.m.appendChild(document.createTextNode("\u00a0"));for(e=0;h[e];++e)this.m.appendChild(h[e]);if(l)this.m=this.c.firstChild;f=this.m.getElementsByTagName("img");if(f.length)for(g=0,e=0;e<f.length;++e){f[e].style.display="inline"; if(!f[e].alt&&!this.mq.noAddedAlt&&(f[e].alt=i[3].exec(f[e].src)||"Image #"+[e+1],!f[e].title))f[e].title="";f[e].style.display="inline";f[e].style.verticalAlign=f[e].style.verticalAlign||"top";typeof f[e].complete==="boolean"&&f[e].complete?g++:f[e].onload=f[e].onerror=function(){++g===f.length&&j.setup(a)};g===f.length&&this.setup(a)}else this.setup(a)}function o(){for(var a,d,b,c=0;c<marqueeInit.ar.length;++c)if(marqueeInit.ar[c]&&marqueeInit.ar[c].setup){b=marqueeInit.ar[c].setup;a=b.mq.moveatleast? Math.max(b.mq.moveatleast,b.sinc):b.sinc||b.mq.inc;b.c.style.width=b.mq.style.width;for(b.cw[0]=b.cw.length>1?parseInt(b.mq.style.width):"a";b.c.offsetWidth>b.w-a;){d=isNaN(b.cw[0])?b.w-a:--b.cw[0];if(d<1)break;b.c.style.width=isNaN(b.cw[0])?b.w-a+"px":--b.cw[0]+b.cw[1]}}}if(document.createElement){marqueeInit.ar=[];document.write('<style type="text/css">.marquee{white-space:nowrap;overflow:hidden;visibility:hidden;}#marq_kill_marg_bord{border:none!important;margin:0!important;}</style>');var t=0, i=[/^\s*$/,/^\s*/,/\s*$/,/[^\/]+$/],s={position:"relative",overflow:"hidden"},n={style:{margin:"0 auto"},direction:"left",inc:2,mouse:"pause"},p,k=false,m=0,l=false;if(!l){p=/-(.)/g;var u=function(a,d){return d.toUpperCase()};String.prototype.encamel=function(){return this.replace(p,u)}}if(k)marqueeInit.table=[],window.attachEvent("onload",function(){marqueeInit.OK=true;for(var a=0;a<marqueeInit.table.length;++a)marqueeInit.run(marqueeInit.table[a])});marqueeInit.run=function(a){k&&!marqueeInit.OK&& h(document.getElementById(a))?marqueeInit.table.push(a):document.getElementById(a)?new g(t++,document.getElementById(a)):setTimeout(function(){marqueeInit.run(a)},300)};g.prototype.setup=function(){if(!this.mq.setup){this.mq.setup=this;var a,d,b=this,c=1E4;if(this.c.style.height==="auto")this.c.style.height=this.m.offsetHeight+4+"px";this.c.appendChild(this.m.cloneNode(true));this.m=[this.m,this.m.nextSibling];if(this.mq.mouse==="cursor driven")this.r=this.mq.neutral||16,this.sinc=this.mq.inc,this.c.onmousemove= function(a){b.mq.stopped=false;b.directspeed(a)},this.mq.moveatleast?(this.mq.inc=this.mq.moveatleast,this.mq.savedirection?this.mq.savedirection==="reverse"?this.c.onmouseout=function(a){if(!b.contains(a))b.mq.inc=b.mq.moveatleast,b.mq.direction=b.mq.direction==="right"?"left":"right"}:(this.mq.savedirection=this.mq.direction,this.c.onmouseout=function(a){if(!b.contains(a))b.mq.inc=b.mq.moveatleast,b.mq.direction=b.mq.savedirection}):this.c.onmouseout=function(a){if(!b.contains(a))b.mq.inc=b.mq.moveatleast}): this.c.onmouseout=function(a){b.contains(a)||b.slowdeath()};this.w=this.m[0].offsetWidth;this.m[0].style.left=0;this.c.id="marq_kill_marg_bord";this.m[0].style.top=this.m[1].style.top=Math.floor((this.c.offsetHeight-this.m[0].offsetHeight)/2-m)+"px";this.c.id="";this.c.removeAttribute("id",0);this.m[1].style.left=this.w+"px";for(a=this.mq.moveatleast?Math.max(this.mq.moveatleast,this.sinc):this.sinc||this.mq.inc;this.c.offsetWidth>this.w-a&&--c;){d=isNaN(this.cw[0])?this.w-a:--this.cw[0];if(d<1|| this.w<Math.max(1,a))break;this.c.style.width=isNaN(this.cw[0])?this.w-a+"px":--this.cw[0]+this.cw[1]}this.c.style.visibility="visible";this.runit()}};g.prototype.slowdeath=function(){var a=this;if(this.mq.inc)this.mq.inc-=1,this.timer=setTimeout(function(){a.slowdeath()},100)};g.prototype.runit=function(){var a=this,d=this.mq.direction==="right"?1:-1;if(this.mq.stopped||this.mq.stopMarquee)setTimeout(function(){a.runit()},300);else{if(this.mq.mouse!="cursor driven")this.mq.inc=Math.max(1,this.mq.inc); if(d*parseInt(this.m[0].style.left)>=this.w)this.m[0].style.left=parseInt(this.m[1].style.left)-d*this.w+"px";if(d*parseInt(this.m[1].style.left)>=this.w)this.m[1].style.left=parseInt(this.m[0].style.left)-d*this.w+"px";this.m[0].style.left=parseInt(this.m[0].style.left)+d*this.mq.inc+"px";this.m[1].style.left=parseInt(this.m[1].style.left)+d*this.mq.inc+"px";setTimeout(function(){a.runit()},30+(this.mq.addDelay||0))}};g.prototype.directspeed=function(a){a=a||window.event;this.timer&&clearTimeout(this.timer); for(var d=this.c,b=d.offsetWidth,a=(typeof a.pageX==="number"?a.pageX:a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft)-d.offsetLeft,c=(b-this.r)/2,b=(b+this.r)/2;d=d.offsetParent;)a-=d.offsetLeft;this.mq.direction=a>b?"left":"right";this.mq.inc=Math.round((a>b?a-b:a<c?c-a:0)/c*this.sinc)};g.prototype.contains=function(a){if(a&&a.relatedTarget){a=a.relatedTarget;if(a===this.c)return true;for(;a=a.parentNode;)if(a===this.c)return true}return false};window.addEventListener?window.addEventListener("resize", o,false):window.attachEvent&&window.attachEvent("onresize",o)}})();
