// JavaScript Document

var eventlist = new Array();
var currItem = 0;

//eventlist[0] = new Array("<img src='assets/image/index_event_light_ico.gif' /><a href='assets/pdf/ahri_2009_fellowship_rfa.pdf' target='_blank'>Apply Now! <span>Currently accepting applications for the 2009 AHRI Fellowships. Click here to download the RFA.</span></a>");
//eventlist[0] = new Array("<img src='assets/image/index_event_calendar_ico.gif' /><a href='assets/pdf/ahri_2009_annual_meeting_brochure.pdf' target='_blank'>Mark Your Calendar! <span>Join us for the 4th Annual AHRI Meeting &ndash; October 1-2 in Kansas City, MO. To Register, Download the Brochure »</span></a>");
eventlist[0] = new Array("<img src='assets/image/index_event_calendar_ico.gif' />Mark Your Calendar! AHRI Annual Meeting- June 10-11, 2010, St. Louis, MO. Academia and Industry: Partnering in Research <span> The Allied Health Research Institute will hold its 5th annual conference on June 10-11, 2010 at the Chase Park Plaza in St. Louis. Four topics have been identified by academia and healthcare providers as priority issues: Workforce Retention, Clinical Effectiveness, Technology (Electronic Medical Records), and Interprofessional Education. Attendees will be guided through a planning process that will help shape and identify key research questions that lend themselves to further collaborative research opportunities. The conference is open to AHRI members as well as non-members that might include healthcare researchers, industry leaders, clinicians, public health professionals, educators and policy-makers. For additional information contact Sean Maloney at semaloney@rehabcare.com or at 314-659-2650. </span>");

function eventticker() {
	eventTxt = eventlist[currItem];
	
	if (currItem == 0) {
		document.getElementById('eventJS').style.display = "none";
	};
	
	$("#eventJS").fadeOut("slow", function() {
		document.getElementById('eventJS').innerHTML = eventTxt;
		$("#eventJS").fadeIn("normal");
	});

	/*if (currItem < eventlist.length - 1)
		currItem++;
	else
		currItem = 0;
		setTimeout('eventticker();', 8000);*/
};