
//scroller's width
var swidth=300;

//scroller's height
var sheight=95;

var sspeed=1;
var restart=sspeed;
var rspeed=sspeed;

sbcolor="";

var singletext=new Array();

var newsData='';
newsData=newsData+'<div id="dvNews" class="txtNews" align="justify">';    
newsData=newsData+'<a href="http://www.amd.com/us-en/Corporate/VirtualPressRoom/0,,51_104_543~123154,00.html" target="_blank">';
newsData=newsData+'AMD Introduces ATI Mobility Radeon&#8482; HD 3000 Series - First Microsoft DirectX&#174; 10.1 Graphics Processors for Notebook PCs</a><br/>';
newsData=newsData+'<br/><a href="http://www.amd.com/us-en/Corporate/VirtualPressRoom/0,,51_104_543~123184,00.html" target="_blank">';
newsData=newsData+'AMD Equips OEMs To Deliver The Ultimate Visual Experience&#8482; With Forthcoming AMD LIVE!&#8482; Ultra Desktop and Notebook PCs</a><br/>';
newsData=newsData+'<br/><a href="http://biz.yahoo.com/bw/071108/20071107006687.html" target="_blank">';
newsData=newsData+'AMD Delivers First Stream Processor with Double Precision Floating Point Technology</a><br/>';
newsData=newsData+'<br/><a href="http://www.sgi.com/support/custeducation/emea/schedule.html#graphics" target="_blank">';
newsData=newsData+'SGI to Offer Graphics Courses for Developers in EMEA</a><br/>';
newsData=newsData+'<br/><a href="http://www.nvidia.com/object/io_1199782737524.html" target="_blank">';
newsData=newsData+'NVIDIA Advances The State Of Graphics For CAD And DCC Visualization</a><br/><br/><a href="http://www.gpgpu.org/" target="_blank">';
newsData=newsData+'Latest GPGPU News</a><br /><br />';
newsData=newsData+'<b><u>Upcoming Events</u></b><br /><br/>';
newsData=newsData+'<b><u>VizExperts Current Training Programs </u></b><br/>';
newsData=newsData+'Stream Computing,  26 - 28 November 2008,<br/>Stockholm, Sweden<br/><br/> Basic OpenGL,   1- 5 December 2008,<br/>Reading, U.K<br/><br/>';
newsData=newsData+'Advance OpenGL, 8-12 December 2008<br/> Paris, France<br/><br/>Advance OpenGL, 15 - 18 December,<br/> Reading, U.K<br/><br/>';

newsData=newsData+'<a href="http://rsna2008.rsna.org/" target="_blank"><b>RSNA 2008</b><br/>November 30 to December 5, 2008, Chicago, IL</a><br/><br/>';
newsData=newsData+'<a href="http://www.siggraph.org/asia2008/" target="_blank"><b>SIGGRAPH Asia 2008</b><br/>December 10-13, 2008, Singapore</a><br/><br/>';

newsData=newsData+'<b><a href="http://www.seg.org/SEGportalWEBproject/portals/SEG_Online.portal?_nfpb=true&_pageLabel=pg_gen_content&Doc_Url=prod/SEG-News/News-Meetings/Beijing2009CFP.htm"  target="_blank">';
newsData=newsData+'CPS/SEG Beijing 2009</a></b><br/>International Geophysical Conference & Exposition, 24-27 April 2009<br/><br/>';


newsData=newsData+'<b><a href="http://www.ics-conference.org/" target="_blank">23rd International Conference on Supercomputing</a></b><br/>June 9-11, 2009<br/>';
newsData=newsData+'IBM T.J. Watson Research Center, Metro New York City Area, USA<br/><br/>';


newsData=newsData+'<b><a href="http://www.siggraph.org/s2009/" target="_blank">SIGGRAPH - New Orleans, Louisiana, USA</b><br/>3-7 August, 2009</a><br/><br/>';

newsData=newsData+'<b><a href="http://vis.computer.org/VisWeek2009/vis/">IEEE VisWeek 2009: Visualization 2009</a></b><br/> October 11 - 16, 2009.<br/>Atlantic City, New Jersey,<br/><br/>';

newsData=newsData+'<b><a href="http://viscontest.sdsc.edu/2009/" target="_blank">2009 IEEE Visualization Contest</a></b><br/><br/>';


newsData=newsData+'</div>';

singletext[0]=newsData;
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++;
	}
}
