var scrollerwidth="100%" ;
var scrollerheight="150px" ;
var scrollerspeed= 1;


/*var scrollercontent='<a class="scroller" target=_blank href="http://www.ciol.com/Technology/Security/News-Reports/C-DAC-launches-PKI-awareness-program/1908109769/0/"> What does CIOL report? </a><br /><br /><a class="scroller" target=_blank href="http://www.moneycontrol.com/mccode/news/article/news_article.php?autono=354155">What does Moneycontrol report?</a ><br /><br/><a class="scroller" target=_blank href="http://news.webindia123.com/news/articles/India/20080829/1040140.html"> What does Webindia report?</a><br /><br/><a class="scroller" target=_blank href="http://www.chennaionline.com/technology/details.aspx?sectid=itnews&amp;linkid=%2FNews%2FNews-Reports%2FC-DAC-launches-PKI-Outreach-Programme%2F29808109756%2F0%2F">What does Chennaionline report?</a> <br /><br /><a class="scroller" target=_blank href="http://www.cxotoday.com/India/News/C-DAC_Launches_PKI_Awareness_Campaign/551-92747-913.html">What does CXOToday report? </a>';*/

var scrollercontent='<a class="scroller" target=_blank href="http://www.ciol.com/News/News-Reports/C-DAC-launches-PKI-Outreach-Programme/29808109756/0/"> What does CIOL report? </a><br /><br /><a class="scroller" target=_blank href="http://www.moneycontrol.com/mccode/news/article/news_article.php?autono=354155">What does Moneycontrol report?</a ><br /><br/><a class="scroller" target=_blank href="http://news.webindia123.com/news/articles/India/20080829/1040140.html"> What does Webindia report?</a><br /><br/><a class="scroller" target=_blank href="http://www.chennaionline.com/technology/details.aspx?sectid=itnews&amp;linkid=%2FNews%2FNews-Reports%2FC-DAC-launches-PKI-Outreach-Programme%2F29808109756%2F0%2F">What does Chennaionline report?</a> <br /><br /><a class="scroller" target=_blank href="http://www.cxotoday.com/India/News/C-DAC_Launches_PKI_Awareness_Campaign/551-92747-913.html">What does CXOToday report? </a><br /><br /><a class="scroller" target=_blank href="http://timesofindia.indiatimes.com/city/pune/Digital-signature-certificate-is-need-of-the-hour-C-DAC-/articleshow/5285937.cms">What does Times of India report?</a>';


var pauseit=1 ;

scrollerspeed=(document.all)? scrollerspeed : Math.max(1, scrollerspeed-1) ;

var pauseit=1 ;

scrollerspeed=(document.all)? scrollerspeed : Math.max(1, scrollerspeed-1) ;
var copyspeed=scrollerspeed ;
var iedom=document.all || document.getElementById ;
var actualheight='' ;
var cross_scroller, ns_scroller;
var pausespeed=(pauseit==0)? copyspeed : 0 ;

function populate()
{
	if (iedom)
	{
		cross_scroller=document.getElementById? document.getElementById("iescroller") : document.all.iescroller;
		cross_scroller.style.top=parseInt(scrollerheight)+8+"px" ;
		cross_scroller.innerHTML=scrollercontent ;
		actualheight=cross_scroller.offsetHeight ;
	}
	else if (document.layers)
	{
		ns_scroller=document.ns_scroller.document.ns_scroller2;
		ns_scroller.top=parseInt(scrollerheight)+8 ;
		ns_scroller.document.write(scrollercontent) ;
		ns_scroller.document.close() ;
		actualheight=ns_scroller.document.height ;
	}
	lefttime=setInterval("scrollscroller()",20) ;
}
			
function scrollscroller()
{
	if (iedom)
	{
		if (parseInt(cross_scroller.style.top)>(actualheight*(-1)+8))
			cross_scroller.style.top=parseInt(cross_scroller.style.top)-copyspeed+"px" ;
		else
			cross_scroller.style.top=parseInt(scrollerheight)+8+"px" ;
	}	
	else if (document.layers)
	{
		if (ns_scroller.top>(actualheight*(-1)+8))
			ns_scroller.top-=copyspeed ;
		else
			ns_scroller.top=parseInt(scrollerheight)+8 ;
	}
}

if (iedom||document.layers)
{
	with (document)
	{
		if (iedom)
		{
			write('<div style="position:relative;width:'+scrollerwidth+';height:'+scrollerheight+';overflow:hidden" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=scrollerspeed">') ;
			write('<div id="iescroller" style="position:absolute;left:0px;top:0px;width:100%;">') ;
			write('</div></div>') ;
		}
		else if (document.layers)
		{
			write('<ilayer width='+scrollerwidth+' height='+scrollerheight+' name="ns_scroller">') ;
			write('<layer name="ns_scroller2" width='+scrollerwidth+' height='+scrollerheight+' left=0 top=0 onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=scrollerspeed"></layer>') ;
			write('</ilayer>') ;
		}
	}
}	

window.onload=populate;

