
		var theSummaries = new Array("Training Needs Analysis",
								"Regulatory Compliance",
								"Change Management Communication",
								"Market Research",
								"Stakeholder Consultation",
								"Knowledge  Management",
								"Training Evaluation",
								"Customer Questionnaires",
								"Staff Surveys");

		var theSiteLinks = new Array("assessments/trainingneeds#trainingneeds",
										"assessments/compliance#compliance",
										"surveys/communication#communication",
										"surveys/research#research",
										"surveys/consultation#consultation",
										"assessments/knowledge#knowledge",
										"assessments/trainingevaluation#trainingevaluation",
										"surveys/questionnaires#questionnaires",
										"surveys/staff#staff");
		var tsi = theSummaries.length;
		var crt = 0;

		//ticker_next();
		document.getElementById("tickerAnchor").innerHTML = theSummaries[0];
		document.getElementById("tickerAnchor").href = '/'+theSiteLinks[0];


		function ticker_next()
		{
		    if(++crt == tsi) crt = 0;

		    fadeinout("the_ticker_div", 500, crt);
		    setTimeout(ticker_next, 3000);
		}

		function fadeinout(id, millisec, crt)
		{
			// alert(id);

			var speed = Math.round(millisec / 100);
			var timer = 0;

			for(i = 100; i >= 0; i-=2)
			{
				setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed));
				timer++;
			}


			setTimeout("setnextticker("+crt+")", (++timer)*speed);

			for(i = 0; i <= 100; i+=2)
			{
				setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed));
				timer++;
			}
		}

		function setnextticker(crt)
		{
		    document.getElementById("tickerAnchor").href = '/'+theSiteLinks[crt];
		    document.getElementById("tickerAnchor").innerHTML = theSummaries[crt];
		}

		//change the opacity for different browsers

		function changeOpac(opacity, id) {
			var object = document.getElementById(id).style;
			object.opacity = (opacity / 100);
			object.MozOpacity = (opacity / 100);
			object.KhtmlOpacity = (opacity / 100);
			object.filter = "alpha(opacity=" + opacity + ")";
		}


