var newslist=new Array();
var cnt=0;	// current news item
var curr = "";
var i=-1;		// current letter being typed

newslist[0]=new Array("Free CD-ROM","http://www.oemfab.com/contact.html")
newslist[1]=new Array("Visit our image gallery...","http://www.oemfab.com/gallery.html")
newslist[2]=new Array("Micro Capabilities are now available....","http://www.oemfab.com/oemmicro.html")
newslist[3]=new Array("Contacting OEM...","http://www.oemfab.com/contact.html")
newslist[4]=new Array("Visit our Employee section...","http://www.oemfab.com/profile.html")
newslist[5]=new Array("What's Happening at OEM...","http://www.oemfab.com/news.html")
//newslist[2]=new Array("Contacting OEM...","http://www.oemfab.com/contact.html")

function newsticker()
{  
	// next character of current item  
	if (i < newslist[cnt][0].length - 1)  
	{    
	i++;    
	temp1 = newslist[cnt][0];    
	temp1 = temp1.split('');    
	curr = curr+temp1[i];    
	temp2 = newslist[cnt][1];    
	if(document.getElementById){
		document.getElementById('mtxt').innerHTML = "<a href='"+temp2+"' class='white'>"+curr+"_</a>";
	}
    setTimeout('newsticker()',10)
	return;  
	}  
// new item  
i = -1; curr = "";  
if (cnt<newslist.length-1)    
cnt++;  
else    
cnt=0;  
setTimeout('newsticker()',3000)
}