var marqueewidth="240" //Specify the marquee's width (in pixels)
var marqueeheight="230" //Specify the marquee's height
var mmarqueespeed=1 //Specify the marquee's marquee speed (larger is faster 1-10)
var pauseit=1 //Pause marquee onMousever (0=no. 1=yes)?

//Specify the marquee's content
//Keep all content on ONE line, and backslash any single quotations (ie: that\'s great):

var mComment1 = "Market Pulse will soon be launching a syndicated retail audit for prepaid mobile SIMs. The first report is expected in March 2010.<br><br><br>"

var mComment2 = "Coverage of mpELECTRIC has been increased to 28 towns and a sample of 2550, including modern retail outlets is being covered. Panel management has been strengthened further to ensure even more accurate data for the clients.<br><br><br>"

var mComment3 = "Market Pulse has launched a Census of outlets retailing building electrical products in 35 towns across India. This will cover products like switches, MCBs, CFLs and FTL Consumer Luminaires.<br><br><br>"

var mComment4 = "The market reports on CFLs and modular switches have been published. A proprietary model for demand forecasting has been used, to arrive at accurate estimates.<br><br><br>"

var mComment5 = "Market Pulse supervisors have now been posted to 15 towns. This will enable efficient project management and better market information.<br><br><br>"

var mmarqueecontent='<p align="justify" style=font-family:verdana;font-size:9pt;>' + mComment1 + mComment2 + mComment3 + mComment4 + mComment5

////NO NEED TO EDIT BELOW THIS LINE////////////

mmarqueespeed=(document.all)? mmarqueespeed : Math.max(1, mmarqueespeed-1) //slow speed down by 1 for NS
var copyspeed=mmarqueespeed
var pausespeed=(pauseit==0)? copyspeed: 0
var iedom=document.all||document.getElementById
var actualheight=''
var cross_marquee

function mpopulate(){
	cross_marquee=document.getElementById? document.getElementById("iemarquee") : document.all.iemarquee
	cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
	cross_marquee.innerHTML=mmarqueecontent
	actualheight=cross_marquee.offsetHeight
	lefttime=setInterval("scrollmarquee()",20)
}

function scrollmarquee(){
	if (parseInt(cross_marquee.style.top)>(actualheight*(-1)+8))
		cross_marquee.style.top=parseInt(cross_marquee.style.top)-copyspeed+"px"
	else
		cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
}

with (document){
	if (iedom){
		write('<div style="position:relative;width:'+marqueewidth+';height:'+marqueeheight+';overflow:hidden" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=mmarqueespeed">')
		write('<div id="iemarquee" style="position:absolute;left:0px;top:0px;width:100%;">')
		write('</div></div>')
	}
}
