//scroller width
var swidth=200;

//scroller height
var sheight=150;

//background color
var sbcolor='';

//scroller's speed
var sspeed = 5;

var msg='';

msg += '<ol><li><a href="sppa_ai.html" target="_blank" title="">"Meeting Notice and Agenda Note of All India Joint Standing Committee Meeting"</a>'+
	'<ul><li>uploaded on February 16, 2012</li></ul></li>'+
	'<li><a href="reports/articles/god/dsm.pdf" target="_blank" title="">"National Conference on Demand Side Management"</a>'+
	'<ul><li>uploaded on February 13, 2012</li></ul></li>'+
	'<li>Pre-bid  Meeting regarding "Request for Proposal for System Integrator under the Scheme of Computerisation of PTCC Process" scheduled on 22<sup>nd</sup> February 2012 at 1500 Hrs in NRPC, Katwaria Sarai, New Delhi-16.'+
	'<ul><li>uploaded on February 13, 2012</li></ul></li>'+
	'<li><a href="Tenders_Folder/RFP/CEA_RFP_SI.zip" target="_blank" title="">"Request for Proposal for System Integrator under the Scheme of Computerisation of PTCC Process"</a>'+
	'<ul><li>uploaded on February 10, 2012</li></ul></li>'+
	'<li><a href="reports/presentation.pdf" target="_blank" title="">"Presentation of Indian_Japan interactive Workshop on Clean Coal Technology with focus on Coal Gasification held on 8/2/2012 at New Delhi</a>'+
	'<ul><li>uploaded on February 09, 2012</li></ul></li>'+
	'<li><a href="reports/articles/thermal/captive_coal.pdf" target="_blank" title="">"Furnishing of Updated informations from Developers of Captive Power Plants for Coal Linkage</a>'+
	'<ul><li>uploaded on February 07, 2012</li></ul></li></ol>';
	
	
	
	
	
    
	
	
	
var resumesspeed=sspeed;

function start() {
		if (document.all) iemarquee(ticker);
		else if (document.getElementById)
				ns6marquee(document.getElementById('ticker'));
}

function iemarquee(whichdiv){
		iediv=eval(whichdiv)
		sheight += 50;
		iediv.style.pixelTop=sheight
		iediv.innerHTML=msg 
		sizeup=iediv.offsetHeight
		ieslide()
}

function ieslide(){
		if (iediv.style.pixelTop>=sizeup*(-1)){
				iediv.style.pixelTop-=sspeed
				setTimeout("ieslide()",100)
		}
		else{
				iediv.style.pixelTop=sheight
				ieslide()
		}
}

function ns6marquee(whichdiv){
		ns6div=eval(whichdiv)
		sheight += 50;
		ns6div.style.top=sheight + "px";
		ns6div.innerHTML=msg
		sizeup=ns6div.offsetHeight
		ns6slide()
}

function ns6slide(){
		if (parseInt(ns6div.style.top)>=sizeup*(-1)){
				theTop = parseInt(ns6div.style.top)-sspeed
				ns6div.style.top = theTop + "px";
				setTimeout("ns6slide()",100)
		}
		else {
				ns6div.style.top = sheight + "px";
				ns6slide()
		}
}
