advtimer=null;orientation="horizontal";scrollerHeight="11px";borderWidth=0;borderColour="#006600";backColour="";staticColour="#AAAAAA";stopScroll=1;textAlignment="left";linkFont="Verdana";linkWeight="normal";linkColour="";linkSize="10";linkDecoration="none";slinkFont="Verdana";slinkWeight="normal";slinkColour="";slinkSize="10";slinkDecoration="underline";ns4Text="Browser does not support news scroller";ns4URL="none";ns4Target="_top";var isIE=(document.getElementById&&document.all)?true:false;var isNS4=(document.layers)?true:false;var isNS6=(document.getElementById&&!document.all)?true:false;style='<style type="text/css">';style+="p.rcScroller{font-family:"+linkFont+"; color:"+staticColour+"; font-size:"+linkSize+"px; font-weight:"+linkWeight+"; text-align:"+textAlignment+"}";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(){if(isNS4){scroller='<table border="0" cellpadding="0" cellspacing="0" width="'+nsmadvw+'" bgcolor="'+borderColour+'"><tr><td>';scroller+='<table border="0" cellpadding="0" cellspacing="0" width="100%" height="'+scrollerHeight+'" bgcolor="'+backColour+'"><tr><td align="center" nowrap><p class="rcScroller">';if(ns4URL.toLowerCase()!="none"){scroller+='<a href="'+ns4URL+'" class="rcScroller" target="'+ns4Target+'">'+ns4Text+"</a>"}else{scroller+=ns4Text}scroller+="</p></td></tr></table></td></tr></table>"}else{scroller='<table border="0" cellpadding="0" cellspacing="0" style="width:'+nsmadvw+";height:"+scrollerHeight+";border:"+borderWidth+"px solid "+borderColour+";background-color:"+backColour+'">';scroller+='<tr valign="middle"><td><div id="scrolling_div" style="';if(orientation.toLowerCase()=="vertical"){scroller+="height:"+scrollerHeight+";"}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"';if(orientation.toLowerCase()=="vertical"){scroller+='style="width:'+nsmadvw+'"'}scroller+="><tr>";y=0;while(y<4){for(x=0;x<(Article.length);x++){if(orientation.toLowerCase()=="vertical"){scroller+="<tr>"}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(orientation.toLowerCase()=="vertical"){scroller+="</tr>"}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 B=A+"=";var C="";if(document.cookie.length>0){offset=document.cookie.indexOf(B);if(offset!=-1){offset+=B.length;end=document.cookie.indexOf(";",offset);if(end==-1){end=document.cookie.length}C=unescape(document.cookie.substring(offset,end))}}return C}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(D){_currentSeconds=D;var C=parseInt(D/60);D=(D%60);var B=parseInt(C/60);C=(C%60);var A=AddZero(D);_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","Nova Sticky Message - Razvan M - www.novapress.ro - Nova TV")}function unload(C,B){var A=document.getElementById(C);A.innerHTML=B}function staticbar(){if(isadvlnk=="true"){setWidth()}barheight=document.getElementById("nsm").offsetHeight;var A=(navigator.appName.indexOf("Netscape")!=-1)||window.opera;var B=document;function C(E){var D=B.getElementById(E);if(!persistclose||persistclose&&get_cookie("remainclosed")==""){D.style.visibility="visible"}if(B.layers){D.style=D}if(horizontalpos=="right"){D.sP=function(F,G){this.style.right=F+"px";this.style.top=G+"px"}}else{D.sP=function(F,G){this.style.left=F+"px";this.style.top=G+"px"}}D.x=startX;if(verticalpos=="fromtop"){D.y=startY}else{D.y=A?pageYOffset+innerHeight:iecompattest().scrollTop+iecompattest().clientHeight;D.y-=startY}if(dismiss!=0){setTimeout("novadie()",dismiss);return D}else{return D}return D}window.stayTopLeft=function(){if(verticalpos=="fromtop"){var D=A?pageYOffset:iecompattest().scrollTop;ftlObj.y+=(D+startY-ftlObj.y)/8}else{var D=A?pageYOffset+innerHeight-barheight:iecompattest().scrollTop+iecompattest().clientHeight-barheight;ftlObj.y+=(D-startY-ftlObj.y)/8}ftlObj.sP(ftlObj.x,ftlObj.y);setTimeout("stayTopLeft()",10)};ftlObj=C("nsm");stayTopLeft()}function opacity(F,D,A,B){var C=Math.round(B/100);var E=0;if(D>A){for(i=D;i>=A;i--){setTimeout("changeOpac("+i+",'"+F+"')",(E*C));E++}}else{if(D<A){for(i=D;i<=A;i++){setTimeout("changeOpac("+i+",'"+F+"')",(E*C));E++}}}}function changeOpac(B,C){var A=document.getElementById(C).style;A.opacity=(B/100);A.MozOpacity=(B/100);A.KhtmlOpacity=(B/100);A.filter="alpha(opacity="+B+")"}function shiftOpacity(B,A){opacity(B,curopa,0,A)}function blendimage(F,A,E,B){var C=Math.round(B/100);var D=0;document.getElementById(F).style.backgroundImage="url("+document.getElementById(A).src+")";changeOpac(0,A);document.getElementById(A).src=E;for(i=0;i<=100;i++){setTimeout("changeOpac("+i+",'"+A+"')",(D*C));D++}}function currentOpac(D,A,C){var B=curopa;if(document.getElementById(D).style.opacity<100){B=document.getElementById(D).style.opacity*100}opacity(D,B,A,C)}if(window.addEventListener){window.addEventListener("load",staticbar,false)}else{if(window.attachEvent){window.attachEvent("onload",staticbar)}else{if(document.getElementById){window.onload=staticbar}}};