// JavaScript Document
	var index = -1;
	var DisplayInterval = 5;
	var DisplayInterval = DisplayInterval * 1000;
	var eventList = new Array();
	eventList[0] = '<a href="http://www.truckline.com/FEDERATION/COUNCILS/NAFC/Pages/default.aspx"><img src="/Style%20Library/Images/NAFC_ITLC-WEBAd-Art.jpg" alt="NAFC & ITLC...Together for the First Time!" border="0" /></a>';
	eventList[1] = '<a href="https://myata.truckline.com/tmc10A/login.aspx"><img src="/Style%20Library/Images/TMC-AD-for-web-art.jpg" alt="TMC&#39;s 2010 Annual Meeting & Transportation Technology Exhibition" border="0" /></a>';
eventList[3] = '<a href="http://www.dltl.org"><img src="/Style%20Library/Images/DLTL_ad_1109.jpg" alt="D&LTL&#39;s 2010 Annual Management Conference & Exhibition" border="0" /></a>';
	eventList[2] = '<a href="http://www.dltl.org"><img src="/Style%20Library/Images/DLTL_ad_1109.jpg" alt="D&LTL&#39;s 2010 Annual Management Conference & Exhibition" border="0" /></a>';
	eventList[3] = '<a href="http://www.truckline.com/Members/Pages/2010WinterLeadershipDocuments.aspx"><img src="/Style%20Library/Images/LDRSHP_AD7.gif" alt="Members Only: ATA Winter Leadership 2010 Meeting Documents" border="0" /></a>';
	
		var numberOfEvents = eventList.length-1;
	function ChangeEvent(direction){
		if(direction==1){
			index--;
			if(index<0) index = numberOfEvents;
			ChangeContent();
		}
		if(direction==2){
			index++;
			if(index>numberOfEvents) index = 0;
			ChangeContent();
		}
	}
	
	function ChangeContent(){
		window.document.getElementById('eventDisplay').innerHTML = eventList[index];
	}
	
	function autoChange(){
		//alert(index);
		TimerObject = setTimeout("autoChange()", DisplayInterval);
		ChangeEvent(2);
		//index++;
		//if(index>numberOfEvents) index = 0;
		//alert(index);
	}
function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      if (oldonload) {
        oldonload();
      }
      func();
    }
  }
}
addLoadEvent(autoChange);