//=====add data here===============
//vYear, iType, sURL, sContent,altDisplay,iNumber, place,linkTo,sURL2,iNumber2,place2,linkTo2
addData(776,0,"URL","The Ancient Olympic Games were celebrated as a religious festival","B.C.","","start","LInkto");
addData(388,0,"URL","The Ancient Games ceased in the 291st Games","A.D.","","291st","LInkto");
addData(393,0,"URL","Roman emperor Theodosius I banned the Ancient Olympic Games","A.D.","","banned","LInkto");
addData(403,0,"URL","15 years after the last set of Games occurred, the ruins were completely buried","A.D.","","forgotton","LInkto");
addData(1764,0,"URL","English Minister, Richard Chandler, began to discover parts of Ancient Olympia","","","discovery","LInkto");
addData(1829,0,"URL","More real digging was done at the site of Olympia.  Parts of a temple were uncovered","","","reveal","LInkto");
addData(1875,0,"URL","Excavation of Olympia began","","","excavation","LInkto");
addData(1889,0,"URL","Many buildings at Olympia were uncovered and scholars could re create what Olmypia looked like and what took place there","","","recreate","LInkto");
addData(1894,0,"URL","Educator Baron Pierre de Coubertin proposed the revival of the Olympic games\; The IOC was founded","June 23","","revival","LInkto");
addData(1896,1,"http://www.infoplease.com/ipsa/A0114349.html","","","I","Athens\,Greece","InfoPlease.com");
addData(1900,1,"http://www.infoplease.com/ipsa/A0114360.html","","","II","Paris\,France","InfoPlease.com");
addData(1904,1,"http://www.infoplease.com/ipsa/A0114372.html","","","III","St.Louis\,United States","InfoPlease.com");
addData(1906,1,"http://www.infoplease.com/ipsa/A0114388.html","","","-","Athens\,Greece","InfoPlease.com");   
addData(1907,0,"URL","Pierre de Coubertin had accumulated a huge archive of Olympic materials.  As a historian, he was aware that future researchers would be grateful for any scraps of paper connected with the Olympic Games and he kept everything","","","collection","LInkto");
addData(1908,1,"http://www.infoplease.com/ipsa/A0114404.html","","","IV","London\,England","InfoPlease.com");
addData(1912,1,"http://www.infoplease.com/ipsa/A0114419.html","","","V","Stockholm\,Sweden","InfoPlease.com");   
addData(1916,1,0,"","","VI","Berlin\,Germany","Cancelled because of World War I");
addData(1920,1,"http://www.infoplease.com/ipsa/A0114439.html","","","VII","Antwerp\,Belgium","InfoPlease.com");   
addData(1924,3,"http://www.infoplease.com/ipsa/A0114458.html","","","VIII","Paris\,France","InfoPlease.com","http://www.infoplease.com/ipsa/A0300756.html","I","Chamonix\, France ","InfoPlease.com");
addData(1928,3,"http://www.infoplease.com/ipsa/A0114477.html","","","IX","Amsterdam\, Netherlands","InfoPlease.com","http://www.infoplease.com/ipsa/A0300757.html","II","St. Moritz\, Switzerland","InfoPlease.com");   
addData(1932,3,"http://www.infoplease.com/ipsa/A0114502.html","","","X","Los Angeles\, United States","InfoPlease.com","http://www.infoplease.com/ipsa/A0300758.html","III","Lake Placid\, United States","InfoPlease.com");
addData(1936,3,"http://www.infoplease.com/ipsa/A0114524.html","","","XI","Berlin\, Germany","InfoPlease.com","http://www.infoplease.com/ipsa/A0300759.html","IV","Garmisch-Partenkirchen\, Germany","InfoPlease.com");   
addData(1940,3,0,"","","XII","Tokyo\, Japan","Cancelled because of World War II","0","-","Sapporo,Japan","");
addData(1944,3,0,"","","XIII","London\, England","Cancelled because of World War II","0","-","Cortina d'Ampezzo\, Italy","");  
addData(1948,3,"http://www.infoplease.com/ipsa/A0114549.html","","","XIV","London\, England","InfoPlease.com","http://www.infoplease.com/ipsa/A0300760.html","V","St. Moritz\, Switzerland","InfoPlease.com");
addData(1952,3,"http://www.infoplease.com/ipsa/A0114572.html","","","XV","Helsinki\, Finland","InfoPlease.com","http://www.infoplease.com/ipsa/A0300762.html","VI","Oslo\, Norway","InfoPlease.com");   
addData(1956,3,"http://www.infoplease.com/ipsa/A0114595.html","","","XVI","Melbourne\, Australia","InfoPlease.com","http://www.infoplease.com/ipsa/A0300764.html","VII","Cortina d¡ŠAmpezzo\, Italy","InfoPlease.com");
addData(1960,3,"http://www.infoplease.com/ipsa/A0114618.html","","","XVII","Rome\, Italy","InfoPlease.com","http://www.infoplease.com/ipsa/A0300765.html","VIII","Squaw Valley\, United States ","InfoPlease.com");   
addData(1964,3,"http://www.infoplease.com/ipsa/A0114650.html","","","XVIII","Tokyo\, Japan","InfoPlease.com","http://www.infoplease.com/ipsa/A0300766.html","IX","Innsbruck\, Austria","InfoPlease.com");
addData(1968,3,"http://www.infoplease.com/ipsa/A0114683.html","","","XIX","Mexico City\, Mexico","InfoPlease.com","http://www.infoplease.com/ipsa/A0300767.html","X","Grenoble, France","InfoPlease.com");   
addData(1972,3,"http://www.infoplease.com/ipsa/A0114715.html","","","XX","Munich\, Germany","InfoPlease.com","http://www.infoplease.com/ipsa/A0300768.html","XI","Sapporo\, Japan","InfoPlease.com");
addData(1976,3,"http://www.infoplease.com/ipsa/A0114748.html","","","XXI"," Montreal\, Canada","InfoPlease.com","http://www.infoplease.com/ipsa/A0300769.html","XII","Innsbruck\, Austria","InfoPlease.com");   
addData(1980,3,"http://www.infoplease.com/ipsa/A0114780.html","","","XXII","Moscow\, Russia","InfoPlease.com","http://www.infoplease.com/ipsa/A0300770.html","XIII","Lake Placid\, United States ","InfoPlease.com");
addData(1984,3,"http://www.infoplease.com/ipsa/A0114812.html","","","XXIII","Los Angeles\, United States","InfoPlease.com","http://www.infoplease.com/ipsa/A0300771.html","XIV","Sarajevo\, Yugoslavia","InfoPlease.com");   
addData(1988,3,"http://www.infoplease.com/ipsa/A0114845.html","","","XXIV","Seoul\, South Korea","InfoPlease.com","http://www.infoplease.com/ipsa/A0300772.html","XV","Calgary\, Canada","InfoPlease.com");
addData(1992,3,"http://www.infoplease.com/ipsa/A0114882.html","","","XXV"," Barcelona\, Spain ","InfoPlease.com","http://www.infoplease.com/ipsa/A0300774.html","XVI","Albertville\, France ","InfoPlease.com");   
addData(1994,2,"http://www.infoplease.com/ipsa/A0300773.html","","","XVII","Lillehammer\, Norway","InfoPlease.com");
addData(1996,1,"http://www.infoplease.com/ipsa/A0201963.html","","","XXVI","Atlanta\,United States","InfoPlease.com");   
addData(1998,2,"URL","","","XVIII","Calgary\, Canada","InfoPlease.com");
addData(96623,0,"URL","Olympic Day","June 23","","rememberance","LInkto");
addData(99623,0,"URL","Weight-lifting test event international invitation\; 2-4","July 2","","weight-lifting","LInkto");
addData(99812,0,"URL","400 days to go until the 2000 Olympic Games","Aug 12","","countdown","LInkto");
addData(99815,0,"URL","1 year to go until the 2000 Olympic Games","Sept 15","","356 days","LInkto");
addData(99822,0,"URL","Rowing test event Australasian championships\; 22-24","Sept 22","","rowing","LInkto");
addData(99510,0,"URL","Beach volleyball test event FIVB world tour\; 5-10","Oct 5","","VBall","LInkto");
addData(99114,0,"URL","Baseball test event inter-continental cup\; 4-14","Nov 4","","Baseball","LInkto");
addData(99201,0,"URL","300 days to go until the 2000 Olympic Games","Nov 20","","7200 hrs","LInkto");
addData(99126,0,"URL","Cycling test event Oceania championships\; 6-10","Dec 6","","cycling","LInkto");
addData(20105,0,"URL","Sailing test event world championships\; 5-15","Jan 5","","sailing","LInkto");
addData(20125,0,"URL","Diving test event FINA grand-prix\; 25-28","Jan 25","","diving","LInkto");
addData(20215,0,"URL","Rhythmic gymnastics test event Australian championships\; 15-19","Feb 15","","gymnastic","LInkto");
addData(20228,0,"URL","200 days to go until the 2000 Olympic Games","Feb 28","","288000 mins","LInkto");
addData(20416,0,"URL","Triathlon test event ITU world cup","April 16","","triathlon","LInkto");
addData(20429,0,"URL","Test event pacific schools program","April 29","","pacific","LInkto");
addData(20512,0,"URL","Sydney 2000 Torch Relay commences in Olympia, Greece","May 12","","torch","LInkto");
addData(20607,0,"URL","100 days to go until the 2000 Olympic Games","June 7","","8640000 secs","LInkto");
addData(20623,0,"URL","Olympic Day","June 23","","celebration","LInkto");
addData(20810,0,"URL","\'Harbour of Life\' Olympic Arts Festival begins","August 1","","art","LInkto");
addData(20820,0,"URL","Olympic Village opens taikwondo, synchronised swimming included as Olympic events","Sept 2","","village","LInkto");
addData(20815,0,"URL","2000 Olympic Games opening Ceremony","Sept 15","","opening","LInkto");
addData(20816,0,"URL","the Games of the XXVII Olympiad begins at Sydney\, Australia","Sept 16","","ready, set, go!","LInkto");
addData(20101,0,"URL","Olympic Games Closing Ceremony","Oct 1","","the winner is...","LInkto");
addData(2002,2,"URL","","","XIX","Salt Lake City\, United States","InfoPlease.com");
addData(2004,1,"URL","","","XXVIII","Athens\, Greece","InfoPlease.com");

//====== add media  
addMedia("T028106A.jpeg","encarta","link.html");
addMedia("T028918A.jpeg","encarta","link.html");
addMedia("T028916A.jpeg","encarta","link.html");


function addData(vYear, iType, sURL, sContent,altDisplay,iNumber, place,linkTo,sURL2,iNumber2,place2,linkTo2){	
//adds data for timeline in chronological order
	if (null == tData[ID]) tData[ID] = new Array();
	//for summer games
 	tData[ID][0] = vYear;
	tData[ID][1] = iType; // 0=info, 1=summer, 2=winter, 3=both
	tData[ID][2] = sURL;
	tData[ID][3] = sContent;
	tData[ID][4] = altDisplay;
	tData[ID][5] = iNumber;
	tData[ID][6] = place; 
	tData[ID][7] = linkTo;

	if(tData[ID][1] == 3){
		//for winter games
		tData[ID][8] = sURL2;
		tData[ID][9] = iNumber2;
		tData[ID][10] = place2; 
		tData[ID][11] = linkTo2;		
	}	
	ID++;
}

function addMedia(src,alt,urlLink){
	//adds media files
	if (null == tMedia[ID2]) tMedia[ID2] = new Array();
	tMedia[ID2][0] = src;
	tMedia[ID2][1] = alt;
	tMedia[ID2][2] = urlLink;	
	ID2++;
}

