//-- Begin Scroller's Parameters -->

//scroller width: change to your own;
var swidth=150

//scroller height: change to your own;
var sheight=146

//background color: change to your own; 
var sbcolor="f2f2f2"

//scroller's speed: change to your own;
var sspeed=2

var wholemessage=''

//text: change to your own
wholemessage='<table cellspacing="0" cellpadding="0" border="0" class="bg5"><tr><td><img src="./images/point.gif" width="3" height="5" border="0"></td><td class="text1">'+
'<div>ABB Ltd.</div><img src="./images/point.gif" width="1" height="5" border="0"><br>'+
'<div>Alstom India Ltd.</div><img src="./images/point.gif" width="1" height="5" border="0"><br>'+
'<div>BHEL</div><img src="./images/point.gif" width="1" height="5" border="0"><br>'+
'<div>BrihanMumbai Electric Supply & Transport.</div><img src="./images/point.gif" width="1" height="5" border="0"><br>'+
'<div>CESC Ltd.</div><img src="./images/point.gif" width="1" height="5" border="0"><br>'+
'<div>Crompton Greaves Ltd.</div><img src="./images/point.gif" width="1" height="5" border="0"><br>'+
'<div>Electronic Corp. Of India Ltd.</div><img src="./images/point.gif" width="1" height="5" border="0"><br>'+
'<div>Godrej & Boyce Mfg. Co. Ltd.</div><img src="./images/point.gif" width="1" height="5" border="0"><br>'+
'<div>HBL Nife Power System Ltd.</div><img src="./images/point.gif" width="1" height="5" border="0"><br>'+
'<div>HPCL</div><img src="./images/point.gif" width="1" height="5" border="0"><br>'+
'<div>Indian Railways</div><img src="./images/point.gif" width="1" height="5" border="0"><br>'+		
'<div>Ispat Industries Ltd.</div><img src="./images/point.gif" width="1" height="5" border="0"><br>'+
'<div>Jindal Iron & Steel Co. Ltd</div><img src="./images/point.gif" width="1" height="5" border="0"><br>'+
'<div>Johnson Control Ltd.</div><img src="./images/point.gif" width="1" height="5" border="0"><br>'+
'<div>Larsen & Toubro Ltd.</div><img src="./images/point.gif" width="1" height="5" border="0"><br>'+
'<div>MSEB</div><img src="./images/point.gif" width="1" height="5" border="0"><br>'+
'<div>National Radio & Electronics Co.</div><img src="./images/point.gif" width="1" height="5" border="0"><br>'+
'<div>Neyveli Lignite Corporation Ltd.</div><img src="./images/point.gif" width="1" height="5" border="0"><br>'+
'<div>Oil & Natural Gas Corporation Ltd.</div><img src="./images/point.gif" width="1" height="5" border="0"><br>'+
'<div>Rajasthan Rajya Vidyut Mandal</div><img src="./images/point.gif" width="1" height="5" border="0"><br>'+
'<div>Schneider Electric India Ltd.</div><img src="./images/point.gif" width="1" height="5" border="0"><br>'+
'<div>Voltas Ltd.</div><img src="./images/point.gif" width="1" height="5" border="0"><br>'+
'<div>Siemens Ltd.</div><img src="./images/point.gif" width="1" height="5" border="0"><br>'+
'<div>Yokogawa Electric Works.</div><img src="./images/point.gif" width="1" height="5" border="0"><br>'+
'</td></tr></table>'

//-- end Parameters-->
//-- begin: Scroller's Algorithm -->

var resumesspeed=sspeed
function start()
{
	if (document.all)
		iemarquee(slider);
	else if (document.getElementById)
		ns6marquee(document.getElementById('slider'));
	else if(document.layers)
		ns4marquee(document.slider1.document.slider2);
}

function iemarquee(whichdiv)
{
    iediv=eval(whichdiv)
    iediv.innerHTML=wholemessage 
    iediv.style.pixelTop=sheight
    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 ns4marquee(whichlayer)
{
    ns4layer=eval(whichlayer)
    ns4layer.document.write(wholemessage)
    ns4layer.document.close()
    sizeup=ns4layer.document.height
    ns4layer.top-=sizeup
    ns4slide()
}

function ns4slide()
{
    if (ns4layer.top>=sizeup*(-1))
    {
        ns4layer.top-=sspeed
        setTimeout("ns4slide()",100)
    }
    else
    {
        ns4layer.top=sheight
        ns4slide()
    }
}

function ns6marquee(whichdiv)
{
    ns6div=eval(whichdiv)
    ns6div.innerHTML=wholemessage
    ns6div.style.top=sheight
    sizeup=ns6div.offsetHeight
    ns6slide()
}

function ns6slide()
{
    if (parseInt(ns6div.style.top)>=sizeup*(-1))
    {
        ns6div.style.top=parseInt(ns6div.style.top)-sspeed
        setTimeout("ns6slide()",100)
    }
    else
    {
        ns6div.style.top=sheight
        ns6slide()
    }
}

//-- end Algorithm -->
