// JavaScript Document





<!-- Begin

// news ticker function

var newslist=new Array();
var cnt=0;			// current news item
var curr = "";
var i=-1;			// current letter being typed
var speed = 5;
newslist[0]=new Array("11-May 2009  | new website is now launched...","http://www.bridgingthegap.org.au")
newslist[1]=new Array("13-Nov 2008 | A new training Room.","http://www.bridgingthegap.org.au/news.php")
newslist[2]=new Array("13-Nov 2008  | New Bridging the Gap Brochure.","http://www.bridgingthegap.org.au/news.php")
newslist[3]=new Array("The announcement made by the Federal Government regarding the allocation of the Jobs Services Australia contract.","http://www.bridgingthegap.org.au/news.php")


//newslist[2]=new Array("Create a To Do list with this script","t_todolist.html")
//newslist[3]=new Array("Use this script to register users on your site","t_register.html")
//newslist[4]=new Array("This script tells your users the last time they visited your site","t_greetings.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];	
  		mtxt.innerHTML = "<small><a href='"+temp2+"'><font color='#FFFFFF'>"+curr+" </small></font></a>";
  		setTimeout('newsticker()',speed)
		
		if (i > 20)
				{
					speed = speed + 1;	
				}	
		
		return;
	}
	speed = 5;
	// new item
	i = -1; curr = "";
	if (cnt<newslist.length-1)
		cnt++;
	else
		cnt=0;
	setTimeout('newsticker()',5000)

}

		//  End -->


