
//scroller's width
var swidth=280;

//scroller's height
var sheight=80;
var sspeed=1;
var restart=sspeed;
var rspeed=sspeed;

sbcolor="";

var singletext=new Array();
singletext[0]='<div class=lates-news> <UL><LI>Michigan-based Chrysler LLC receives bankruptcy court approval on May 6, 2009, after it filed for Chapter 11 bankruptcy on April 30, 2009. It will auction most of its assets by May end and the lead bidder in the auction is Italy based Fiat.</LI><LI>US President Barack Obama on May 4, 2009 announces end to the tax incentives to US based multinational companies who are outsourcing jobs to places like Bangalore. Instead the tax breaks might be given to companies creating jobs in US.</LI><LI>Benchmark Crude Oil price settles at $53.84 a barrel (nearly 8% rise since last Tuesday) on the New York Mercantile Exchange on May 5, 2009.</LI><LI>WHO confirms 1124 cases of swine flu detected in humans worldwide and 26 confirmed deaths due to the H1N1 virus on May 5, 2009.</LI><LI>Obamas stance on renewable energy sources: By 2012, 10% of electricity in US would come from renewable sources and 25% by 2025. </LI><LI>Citigroup broke $1 mark for the first time in history on 5th March to touch an intraday low of 97 cents.</LI><LI>Commodities in green with gold rallying to $950 per ounce as U.S job losses failed to shock.</LI><LI>Obama&#39;s new outsourcing policies major concern for Indian IT industry which accounts for 7% of the GDP.</LI><LI>JP Morgan Chase to increase outsourcing to India by 25% to 400 million.</LI><LI>Sterlite to enter US markets by buying Asarco&#39;s asset for $1.7 billion.</LI><LI>Dollar touches highest since 2006 marking its unassailable safe-haven status.</LI><LI>Baltic Dry Index reaches highest since October reflecting rise in commodity prices during first week of March.</LI><LI>Inflation hits 49-year low in UK mainly due to tumbling house prices.</LI><LI>Obama announces investment of $15 billion in Alternative Energy.</LI></UL></div>';


if (singletext.length>1)ii=1;else ii=0;
function goup()
{
	if(sspeed!=rspeed*8)
	{
		sspeed=sspeed*2;restart=sspeed;
	}
}

function godown()
{
	if(sspeed>rspeed)
	{
		sspeed=sspeed/2;restart=sspeed;
	}
}

function start()
{
	if(document.getElementById)
	{
		document.getElementById('iens6div').style.top=sheight;
		document.getElementById('iens6div').innerHTML=singletext[0];
		ns6scroll(document.getElementById('iens6div'));
	}
	else if(document.all)
	{
		iens6div.style.top=sheight;
		iens6div.innerHTML=singletext[0];
		iescroll(iens6div);
	}else if(document.layers)
	{
	document.ns4div.document.ns4div1.top=sheight;
	document.ns4div.document.ns4div1.visibility='show';
	document.ns4div.document.ns4div1.document.write(singletext[0]);
	document.ns4div.document.ns4div1.document.close();
	ns4scroll(document.ns4div.document.ns4div1);
	}
}
function iescroll(whichdiv)
{
	iediv=eval(whichdiv);
	sizeup=iediv.offsetHeight;
	if(iediv.style.pixelTop>0&&iediv.style.pixelTop<=sspeed)
	{
		iediv.style.pixelTop=0;
		setTimeout("iescroll(iediv)",100);
	}
	if(iediv.style.pixelTop>=sizeup*-1)
	{
		iediv.style.pixelTop-=sspeed;
		setTimeout("iescroll(iediv)",100);
	}
	else
	{
		iediv.style.pixelTop=sheight;
		iediv.innerHTML=singletext[ii];
		if(ii==singletext.length-1)
			ii=0;else ii++;
	}
}
function ns4scroll(whichlayer)
{
	ns4layer=eval(whichlayer);
	sizeup=ns4layer.document.height;
	if(ns4layer.top>0&&ns4layer.top<=sspeed)
	{
		ns4layer.top=0;
		setTimeout("ns4scroll(ns4layer)",100);
	}
	if (ns4layer.top>=sizeup*-1)
	{
		ns4layer.top-=sspeed;
		setTimeout("ns4scroll(ns4layer)",100);
	}
	else
	{
		ns4layer.top=sheight;
		ns4layer.document.write(singletext[ii]);
		ns4layer.document.close();
		if(ii==singletext.length-1)
			ii=0;
		else
			ii++;
	}
}
function ns6scroll(whichdiv)
{
	ns6div=eval(whichdiv);
	sizeup=ns6div.offsetHeight;
	if(parseInt(ns6div.style.top)>0&&parseInt(ns6div.style.top)<=sspeed)
	{
		ns6div.style.top=0;
		setTimeout("ns6scroll(ns6div)",100);
	}
	if (parseInt(ns6div.style.top)>=sizeup*-1)
	{
		ns6div.style.top=parseInt(ns6div.style.top)-sspeed;
		setTimeout("ns6scroll(ns6div)",100);
	}
	else
	{
		ns6div.style.top=sheight;
		ns6div.innerHTML=singletext[ii];
		if(ii==singletext.length-1)
			ii=0;
		else
			ii++;
	}
}
