advtimer=null;orientation="horizontal";scrollerHeight="11px";borderColour="#006600";backColour="";staticColour="#AAAAAA";stopScroll=1;linkFont="Verdana";linkWeight="normal";linkColour="";linkSize="10";linkDecoration="none";slinkFont="Verdana";slinkWeight="normal";slinkColour="";slinkSize="10";slinkDecoration="underline";ns4Text="";ns4URL="none";ns4Target="_top";style='<style type="text/css">';style+="p.rcScroller{font-family:Verdana; color:"+staticColour+"; font-size:"+linkSize+"px; font-weight:"+linkWeight+"; text-align:left;}";style+="a.rcScroller,a.rcScroller:active,a.rcScroller:visited{color:"+linkColour+";text-decoration:"+linkDecoration+"; font-weight:"+linkWeight+"}";style+="a.rcScroller:hover{color:"+slinkColour+";text-decoration:"+slinkDecoration+"; font-weight:"+slinkWeight+"}";style+="rcScrollerHoverNS{color:red;text-decoration:"+slinkDecoration+"; font-weight:"+slinkWeight+"}";style+="</style>";document.writeln(style);function startadvlnk(){scroller='<table border="0" cellpadding="0" cellspacing="0" style="width:'+nsmadvw+";height:"+scrollerHeight+";border:0; px solid "+borderColour+";background-color:"+backColour+'">';scroller+='<tr valign="top"><td><div id="scrolling_div" style="';scroller+="width:"+nsmadvw+"; position:relative; background-color:"+backColour+'; overflow:hidden">';scroller+='<div id="scrolling_div1" style="position: relative; left: 0; z-index:1">';scroller+='<table border="0" name="scrolling_table" id="scrolling_table"';scroller+="><tr>";y=0;while(y<4){for(x=0;x<(Article.length);x++){scroller+="<td ";if(orientation.toLowerCase()=="horizontal"){scroller+="nowrap"}if(stopScroll==1){scroller+=' onMouseOver="stopScroller();" onMouseOut="setWidth()"'}scroller+='><p class="rcScroller">';if(Article[x][1].toLowerCase()!="none"){scroller+='<a class="rcScroller" href="'+Article[x][1]+'" target="'+Article[x][2]+'" >'+Article[x][0]+"</a>"}else{scroller+=Article[x][0]}scroller+="</p></td>";if(advspacer.toLowerCase()!="none"){scroller+='<td nowrap><p class="rcScroller">'+advspacer+"</p></td>"}}y++}scroller+="</tr></table></div></div></td></tr></table>";document.writeln(scroller)}function setWidth(){tableObj=document.getElementById("scrolling_table");obj=document.getElementById("scrolling_div1");objWidth=(orientation.toLowerCase()=="horizontal")?getOffset(tableObj,"width"):getOffset(tableObj,"height");HalfWidth=Math.floor(objWidth/2);newWidth=(HalfWidth*2)+2;obj.style.width=newWidth;moveLayer(obj,newWidth)}function moveLayer(b,a){maxLeft=(0-(a/2)+2)/2;if(orientation.toLowerCase()=="horizontal"){b.style.left=(parseInt(b.style.left)<=maxLeft)?0:parseInt(b.style.left)-1+"px"}else{if(b.style.top==""){b.style.top=0}if(parseInt(b.style.top)<(0-(a/2)+6)){b.style.top=0}else{b.style.top=parseInt(b.style.top)-1+"px"}}advtimer=setTimeout("moveLayer(obj, "+a+");",20)}function getOffset(b,a){if(a=="width"){oWidth=b.offsetWidth;return oWidth}else{if(a=="height"){oHeight=b.offsetHeight;return oHeight}}}function stopScroller(){clearTimeout(advtimer)}function iecompattest(){return(document.compatMode&&document.compatMode!="BackCompat")?document.documentElement:document.body}function novadie(){shiftOpacity("nsm",alphadie);setTimeout("closebar()",alphadie)}function get_cookie(a){var c=a+"=";var b="";if(document.cookie.length>0){offset=document.cookie.indexOf(c);if(offset!=-1){offset+=c.length;end=document.cookie.indexOf(";",offset);if(end==-1){end=document.cookie.length}b=unescape(document.cookie.substring(offset,end))}}return b}var _countDowncontainer=0;var _currentSeconds=0;function nsmtimer(b,a){_countDowncontainer=document.getElementById(b);if(!_countDowncontainer){alert("count down error: container does not exist: "+b+"\nmake sure html element with this ID exists");return}SetCountdownText(a);window.setTimeout("CountDownTick()",1000)}function CountDownTick(){if(_currentSeconds<=0){return}SetCountdownText(_currentSeconds-1);window.setTimeout("CountDownTick()",1000)}function SetCountdownText(b){_currentSeconds=b;var c=parseInt(b/60);b=(b%60);var d=parseInt(c/60);c=(c%60);var a=AddZero(b);_countDowncontainer.innerHTML=a}function AddZero(a){return((a>=0)&&(a<10))?"0"+a:a+""}function closebar(){if(persistclose){document.cookie="remainclosed=1"}document.getElementById("nsm").style.visibility="hidden";unload("nsm","x")}function unload(b,c){var a=document.getElementById(b);a.innerHTML=c}function staticbar(){if(isadvlnk=="true"){setWidth()}barheight=document.getElementById("nsm").offsetHeight;var a=(navigator.appName.indexOf("Netscape")!=-1)||window.opera;var c=document;function b(d){var e=c.getElementById(d);if(!persistclose||persistclose&&get_cookie("remainclosed")==""){e.style.visibility="visible"}if(c.layers){e.style=e}if(horizontalpos=="right"){e.sP=function(g,f){this.style.right=g+"px";this.style.top=f+"px"}}else{e.sP=function(g,f){this.style.left=g+"px";this.style.top=f+"px"}}e.x=startX;if(verticalpos=="fromtop"){e.y=startY}else{e.y=a?pageYOffset+innerHeight:iecompattest().scrollTop+iecompattest().clientHeight;e.y-=startY}if(dismiss!=0){setTimeout("novadie()",dismiss);return e}else{return e}return e}window.stayTopLeft=function(){if(verticalpos=="fromtop"){var d=a?pageYOffset:iecompattest().scrollTop;ftlObj.y+=(d+startY-ftlObj.y)/nsmease}else{var d=a?pageYOffset+innerHeight-barheight:iecompattest().scrollTop+iecompattest().clientHeight-barheight;ftlObj.y+=(d-startY-ftlObj.y)/nsmease}ftlObj.sP(ftlObj.x,ftlObj.y);setTimeout("stayTopLeft()",10)};ftlObj=b("nsm");stayTopLeft()}function opacity(b,d,a,f){var e=Math.round(f/100);var c=0;if(d>a){for(i=d;i>=a;i--){setTimeout("changeOpac("+i+",'"+b+"')",(c*e));c++}}else{if(d<a){for(i=d;i<=a;i++){setTimeout("changeOpac("+i+",'"+b+"')",(c*e));c++}}}}function changeOpac(c,b){var a=document.getElementById(b).style;a.opacity=(c/100);a.MozOpacity=(c/100);a.KhtmlOpacity=(c/100);a.filter="alpha(opacity="+c+")"}function shiftOpacity(b,a){opacity(b,curopa,0,a)}function blendimage(b,a,c,f){var e=Math.round(f/100);var d=0;document.getElementById(b).style.backgroundImage="url("+document.getElementById(a).src+")";changeOpac(0,a);document.getElementById(a).src=c;for(i=0;i<=100;i++){setTimeout("changeOpac("+i+",'"+a+"')",(d*e));d++}}function currentOpac(b,a,c){var d=curopa;if(document.getElementById(b).style.opacity<100){d=document.getElementById(b).style.opacity*100}opacity(b,d,a,c)}function riseandshine(){setTimeout("staticbar()",nsmdelay)}if(window.addEventListener){window.addEventListener("load",riseandshine,false)}else{if(window.attachEvent){window.attachEvent("onload",riseandshine)}else{if(document.getElementById){window.onload=riseandshine}}};
