(function(){var pthis=this;this.$=function(a){return document.getElementById(a);if(document.getElementById){return eval('document.getElementById("'+a+'")')}else{if(document.layers){return eval("document.layers['"+a+"']")}else{return eval("document.all."+a)}}};this.oneNewMarquee=function(id,h,s,d){var apthis=this;var t;var p=false;var o=pthis.$(id);o.style.overflow="hidden";o.style.height=h+"px";o.style.lineHeight=h+"px";o.innerHTML+=o.innerHTML;o.onmouseover=function(){p=true};o.onmouseout=function(){p=false};o.scrollTop=0;this.doScroll=function(){t=setInterval(apthis.scrolling,s);if(!p){o.scrollTop+=1}};this.scrolling=function(){if(o.scrollTop%h!=0){o.scrollTop+=1;if(o.scrollTop>=o.scrollHeight/2){o.scrollTop=0}}else{clearInterval(t);setTimeout(apthis.doScroll,d)}};setTimeout(apthis.doScroll,d)};var oneNewMarquee01=new oneNewMarquee("oneNew",25,50,5000)})();function nTabs(G,F){if(G.className=="on"){return}var H=G.parentNode.id;var E=document.getElementById(H).getElementsByTagName("li");for(i=0;i<E.length;i++){if(i==F){G.className="on";document.getElementById(H+"-cont-"+i).style.display="block"}else{E[i].className="nor";document.getElementById(H+"-cont-"+i).style.display="none"}}};String.prototype.getByteLength=function(){return this.replace(/[^\x00-\xff]/g,"mm").length};String.prototype.subByte=function(n){if(this.getByteLength()<=n){return this}else{for(var i=Math.floor((n=n-2)/2),l=this.length;i<l;i++)if(this.substr(0,i).getByteLength()>=n)return this.substr(0,i)+"\u2026"};return this};var strWrap=document.getElementById('oneNew').getElementsByTagName('a'),len=strWrap.length;for(var i=0;i<len;i++){strWrap[i].innerHTML=strWrap[i].innerHTML.subByte(30)};;
