var d,c,e,k,C,B;var m=(document.getElementById)?true:false;var j=(document.layers)?true:false;var l=(document.all&& !m)?true:false;var v=(document.all&&m)?true:false;var D=(m&&navigator.appName.indexOf("Netscape")>=0)?true:false;var f='';var g=true;if(j){f+='<table cellpadding=0 cellspacing=0 border=0 height='+si_ticker_boxheight+' width='+si_ticker_boxwidth+'><tr><td>';f+='<ilayer name="ref" bgcolor="'+si_ticker_boxcolor+'" width='+si_ticker_boxwidth+' height='+si_ticker_boxheight+'></ilayer>';f+='</td></tr></table>';f+='<layer name="d" bgcolor="'+si_ticker_boxcolor+'" visibility="hidden" width='+si_ticker_boxwidth+' height='+si_ticker_boxheight+' '+((si_ticker_pauseOnmouseover)?'onmouseover="g=false" onmouseout="g=true"':'')+'>';f+='<layer  name="c"  width='+(si_ticker_boxwidth-4)+' height='+(si_ticker_boxheight-4)+' visibility="hidden" left="2" top="2" >'+si_ticker_content+'</layer>';f+='</layer>';}else{f+='<div id="ref" style="position:relative; width:'+si_ticker_boxwidth+'; height:'+si_ticker_boxheight+'; background-color:'+si_ticker_boxcolor+';"></div>';f+='<div id="d" style="position:absolute; width:'+si_ticker_boxwidth+'; height:'+si_ticker_boxheight+'; visibility:hidden; background-color:'+si_ticker_boxcolor+'; overflow:hidden"  '+((si_ticker_pauseOnmouseover)?'onmouseover="g=false" onmouseout="g=true"':'')+'>';f+='<div id="c"  style="position:absolute; visibility:hidden; left:2px; top:2px; width:'+(si_ticker_boxwidth-4)+'; overflow:hidden; cursor:default;" '+((si_ticker_pauseOnmouseover)?'onmouseover="g=false" onmouseout="g=true"':'')+'>'+si_ticker_content+'</div>';f+='</div>';}document.write(f);f='';function w(o){if(j)return(o.document.height)?o.document.height:o.clip.bottom-o.clip.top;else if(l||v)return(o.style.height)?o.style.height:o.clientHeight;else return(o.style.height)?parseInt(o.style.height):parseInt(o.offsetHeight);};function r(o){var x;if(j)return o.pageX;if(l||m){x=0;while(o.offsetParent!=null){x+=o.offsetLeft;o=o.offsetParent;}x+=o.offsetLeft;return x;}};function t(o){var y;if(j)return o.pageY;if(l||m){y=0;while(o.offsetParent!=null){y+=o.offsetTop;o=o.offsetParent;}y+=o.offsetTop;return y;}};function A(){if(g){if(j){c.top+=(si_ticker_godown)?si_ticker_pixelstep: -si_ticker_pixelstep;if(si_ticker_godown){if(c.top>si_ticker_boxheight)c.top= -e;}else{if(c.top<2-e)c.top=si_ticker_boxheight+2;}}else{c.style.top=parseInt(c.style.top)+((si_ticker_godown)?si_ticker_pixelstep: -si_ticker_pixelstep)+'px';if(si_ticker_godown){if(parseInt(c.style.top)>si_ticker_boxheight)c.style.top= -e+'px';}else{if(parseInt(c.style.top)<2-e)c.style.top=si_ticker_boxheight+2+'px';}}}};window.onresize=function(){if(j)setTimeout('history.go(0)',400);else{d.style.left=r(k)+'px';d.style.top=t(k)+'px';}};window.onload=function(){d=(j)?document.layers['d']:(l)?document.all['d']:document.getElementById('d');c=(j)?d.document.layers['c']:(l)?document.all['c']:document.getElementById('c');k=(j)?document.layers['ref']:(l)?document.all['ref']:document.getElementById('ref');e=w(c);if(j){d.moveTo(r(k),t(k));d.clip.width=si_ticker_boxwidth;d.clip.height=si_ticker_boxheight;c.top=(si_ticker_godown)? -e:si_ticker_boxheight-2;c.clip.width=si_ticker_boxwidth-4;c.clip.height=e;d.visibility="show";c.visibility="show";}else{d.style.left=r(k)+'px';d.style.top=t(k)+'px';c.style.top=((si_ticker_godown)? -e:si_ticker_boxheight)+'px';c.style.clip='rect(0px, '+(si_ticker_boxwidth-4)+'px, '+(e)+'px, 0px)';d.style.visibility="visible";c.style.visibility="visible";}setInterval('A()',si_ticker_speed);} 