// JavaScript Document
var $countryList = new Array();
var $country_Count = 0;
var $progListHTML = "";

function BuildProgramList() {	
	addCountry("Multiple Countries"); //parent text
	addProgram("Multiple Countries", "Semester Programs", "Consortium for Overseas Student Teaching (COST)", "sa_programs/mult_cost.htm");
	addProgram("Multiple Countries", "Semester Programs", "Field Experience in Health Promotion", "sa_programs/mult_field.htm");
	addProgram("Multiple Countries", "Semester Programs", "Spring Semester Study Abroad in Australia and New Zealand", "sa_programs/mult_nz.htm");
	addProgram("Multiple Countries", "Maymester/Summer Programs", "Consortium for Overseas Student Teaching (COST)", "sa_programs/mult_cost.htm");
	addProgram("Multiple Countries", "Maymester/Summer Programs", "European Garden Tour", "sa_programs/mult_tour.htm");
	addProgram("Multiple Countries", "Maymester/Summer Programs", "Field Experience in Health Promotion", "sa_programs/mult_field.htm");	
	addProgram("Multiple Countries", "Maymester/Summer Programs", "Terry Travels", "sa_programs/mult_terry.htm");
	addProgram("Multiple Countries", "Maymester/Summer Programs", "Summer Field Training in Comparative Historical Ecology - US and France (pending approval)", "sa_programs/mult_ecology.htm");		
	addProgram("Multiple Countries", "Maymester/Summer Programs", "CURO Summer Research Fellowship", "sa_programs/mult_curo.htm");		
	addProgram("Multiple Countries", "Maymester/Summer Programs", "Transatlantic Consortium in Europe", "sa_programs/mult_trans.htm");		



	addCountry("Antarctica");
	addProgram("Antarctica", "Semester Programs", "Fall Study Abroad in Antarctica: The Fragile Continent", "sa_programs/antarctica_continent.htm");
	
	addCountry("Argentina");
	addProgram("Argentina", "Semester Programs", "UGA en Buenos Aires", "sa_programs/argentina_aires.htm");
	//addProgram("Argentina", "Maymester/Summer Programs", "UGA in South America", "sa_programs/argentina_south.htm");
	addProgram("Argentina", "Maymester/Summer Programs", "UGA Geology in Argentina (For non-majors with a passion for the outdoors)", "sa_programs/argentina_geology.htm");

	addCountry("Armenia");                                                                                                                                                                                                                                                                  
	addProgram("Armenia", "Semester Programs", "UGA Study Abroad in Armenia: International Business & Relations", "sa_programs/armenia_bus.htm");
	
	addCountry("Australia"); 
	addProgram("Australia", "Semester and Partial Programs in Australia", "Spring Semester Study Abroad in Australia and New Zealand", "sa_programs/mult_nz.htm");
	addProgram("Australia", "Semester and Partial Programs in Australia", "Consortium for Overseas Student Teaching (COST)", "sa_programs/mult_cost.htm");
	addProgram("Australia", "Semester Exchange Programs", "Canberra Exchange", "sa_programs/australia_canberra.htm");
	addProgram("Australia", "Semester Exchange Programs", "Sydney Education Exchange", "sa_programs/australia_sydney.htm");
	addProgram("Australia", "Maymester/Summer Programs", "Maymester in Australia", "sa_programs/australia_may.htm");
	addProgram("Australia", "Maymester/Summer Programs", "Summer Study in Sydney", "sa_programs/australia_summer.htm");	
	
	addCountry("Austria");
	addProgram("Austria", "", "Innsbruck International Summer School", "sa_programs/austria_summer.htm");
	
	addCountry("Barbados");
	addProgram("Barbados", "", "University of the West Indies Exchange", "sa_programs/barbados_indie.htm");
	
	addCountry("Belgium");
	addProgram("Belgium", "", "Georgia Law Summer Program in Brussels", "sa_programs/belgium_brussels_law.htm");
	
	addCountry("Belize");
	addProgram("Belize", "", "Maymester Study Abroad in Belize: Reef to Rainforest", "sa_programs/belize_may.htm");
	
	addCountry("Brazil"); 
	addProgram("Brazil", "Semester Exchange Programs", "Bahia Exchange", "sa_programs/brazil_bahia.htm");
	addProgram("Brazil", "Semester Exchange Programs", "Pernambuco Exchange", "sa_programs/brazil_pernambuco.htm");
	addProgram("Brazil", "Semester Exchange Programs", "UGA in Niterói Exchange", "sa_programs/brazil_niteroi.htm");
	addProgram("Brazil", "Semester Exchange Programs", "Viçosa Exchange", "sa_programs/brazil_vicosa.htm");
	addProgram("Brazil", "Maymester/Summer Programs", "Sustainable Systems in Brazil", "sa_programs/brazil_sustainable.htm");
	addProgram("Brazil", "Maymester/Summer Programs", "UGA in Niterói", "sa_programs/brazil_uganiteroi.htm");	
	addProgram("Brazil", "Maymester/Summer Programs", "Forestry & Natural Resource Management in Brazil", "sa_programs/brazil_forestry.htm");
	addProgram("Brazil", "Maymester/Summer Programs", "Changing Perspectives: Learning Objects and Multicultural Perspectives", "sa_programs/brazil_perspectives.htm");		
	
	addCountry("Bulgaria");
	addProgram("Bulgaria", "", "Natural and Cultural Resources Based Tourism in Bulgaria , Study Abroad and Service Learning Experience, Summer Short Session I", "sa_programs/bulgaria_natural.htm");
	
	addCountry("Cambodia");
	addProgram("Cambodia", "", "Intergenerational Studies in Cambodia", "sa_programs/cambodia_intl.htm");
	
	addCountry("Canada"); 
	addProgram("Canada", "Semester Exchange Programs", "Humber College Exchange", "sa_programs/canada_humber.htm");
	addProgram("Canada", "Semester Exchange Programs", "Mt. Royal College Exchange", "sa_programs/canada_royal.htm");
	
	addCountry("Chile");
	addProgram("Chile", "", "Desarrollo Exchange", "sa_programs/chile_desarrollo.htm");
	addProgram("Chile", "", "Pontificia Universidad Católica Exchange", "sa_programs/chile_pontificia.htm");
	
	addCountry("China");
	addProgram("China", "", "UGA - China Soft Goods Study Abroad - FACS", "sa_programs/china_facs.htm");
	addProgram("China", "", "Georgia Law Summer Program in China", "sa_programs/china_law.htm");
	addProgram("China", "", "Maymester Study Abroad in China", "sa_programs/china_may.htm");
	addProgram("China", "", "Globalization & IT in China (Terry College)", "http://www.terry.uga.edu/ib/studyabroad/globalization.html");
	addProgram("China", "", "MBA Travels: China", "http://www.terry.uga.edu/ib/studyabroad/mba_travels_china.html");
	addProgram("China", "", "UGA Genetics Field Study in China", "sa_programs/china_field.htm");
	
	addCountry("Costa Rica");
	addProgram("Costa Rica", "", "Please see Costa Rica Website for a complete program list", "http://www.uga.edu/costarica/program.htm");

	addCountry("Croatia");
	addProgram("Croatia", "", "Maymester Study Abroad in Croatia", "sa_programs/croatia_may.htm");
	
	addCountry("Ecuador");
	addProgram("Ecuador", "Semester Exchange Programs", "Ecuador Exchange", "sa_programs/ecuador_exchange.htm");
	//addProgram("Ecuador", "Maymester/Summer Programs", "UGA-Geography in Latin America", "sa_programs/ecuador_geography.htm");
	addProgram("Ecuador", "Maymester/Summer Programs", "International Conflict Resolution Study Abroad in Ecuador", "sa_programs/ecuador_intl.htm");	
	addProgram("Ecuador", "Maymester/Summer Programs", "Art and Culture in Latin America", "sa_programs/ecuador_culture.htm");	

	addCountry("Fiji");
	addProgram("Fiji", "", "Summer Study Abroad in Fiji", "sa_programs/fiji_summer.htm");
	addProgram("Fiji", "", "Wintermester in the South Pacific", "http://www.terry.uga.edu/ib/studyabroad/wintermester_new_zealand_and_fiji.html");
	
	addCountry("Finland");
	addProgram("Finland", "Semester Exchange Programs", "University of Helsinki", "sa_programs/finland_helsinki.htm");
	addProgram("Finland", "Semester Exchange Programs", "University of Lapland", "sa_programs/finland_lapland.htm");
	addProgram("Finland", "Semester Exchange Programs", "Rovaniemi Polytechnic", "sa_programs/finland_polytechnic.htm");
	
	addCountry("France");
	addProgram("France", "Semester Exchange Programs", "Lyon Exchange", "sa_programs/france_lyon.htm");
	addProgram("France", "Maymester/Summer Programs", "Cannes Film Festival Study Abroad", "sa_programs/france_cannes.htm");
	addProgram("France", "Maymester/Summer Programs", "UGA en France, Montpellier", "sa_programs/france_montpellier.htm");
	addProgram("France", "Maymester/Summer Programs", "UGA à Paris", "sa_programs/france_paris.htm");	
	addProgram("France", "Maymester/Summer Programs", "European Garden Tour", "sa_programs/france_tour.htm");	
	addProgram("France", "For an additional program that is held in France, see also", "Multiple Countries", "javascript:gotoMultiple()");
	
	addCountry("Germany");
	addProgram("Germany", "Semester Exchange Programs", "Erlangen Exchange Program", "sa_programs/germany_erlangen.htm");
	addProgram("Germany", "Semester Exchange Programs", "Heidelberg Exchange Program", "sa_programs/germany_heidelberg.htm");
	addProgram("Germany", "Maymester/Summer Programs", "UGA at Erlangen", "sa_programs/germany_ugaerlangen.htm");
	
	addCountry("Ghana");
	addProgram("Ghana", "Maymester", "Summer in Ghana", "sa_programs/ghana_summer.htm");
	addProgram("Ghana", "Maymester/Summer Programs", "Ghana Service-Learning", "sa_programs/ghana_service_learning.htm");
	
	addCountry("Greece");
	addProgram("Greece", "Exchange Programs", "American Farm School Exchange", "sa_programs/greece_farm.htm");
	addProgram("Greece", "Semester Exchange Programs", "Reacting to the Past: Athens, Greece, 403 BC <i>(program cancelled for 2006)</i>", "sa_programs/greece_past.htm");
	addProgram("Greece", "For an additional program that is held in Greece, see also", "Multiple Countries", "javascript:gotoMultiple()");
	
	addCountry("India");
	addProgram("India", "", "India Abroad", "sa_programs/india_abroad.htm");
	addProgram("India", "", "MBA Travels", "http://www.terry.uga.edu/ib/studyabroad/mba_travels.html");
	
	addCountry("Ireland");
	addProgram("Ireland", "", "Conflict Resolution, Reconciliation and Trauma Recovery: Service-learning in Northern Ireland", "sa_programs/uk_conflict.htm");
	addProgram("Ireland", "", "Study Abroad in Ireland: Developmental Disabilities", "sa_programs/ireland_sa.htm");
	
	addCountry("Italy");
	addProgram("Italy", "Semester Programs", "UGA Studies Abroad - Cortona, Italy", "sa_programs/italy_cortona.htm");
	addProgram("Italy", "Semester Programs", "UGA Study Abroad in Verona, Italy (Spring or Fall)", "sa_programs/italy_veronaspring.htm");
	addProgram("Italy", "Semester Programs", "Consortium International University (CIU)", "sa_programs/italy_ciu.htm");
	addProgram("Italy", "Maymester/Summer Programs", "Classics Studies Abroad in Rome", "sa_programs/italy_rome.htm");	
	addProgram("Italy", "Maymester/Summer Programs", "Consortium International University (CIU)", "sa_programs/italy_ciu.htm");	
	addProgram("Italy", "Maymester/Summer Programs", "Elementary Education in Italy", "sa_programs/italy_elem.htm");	
	addProgram("Italy", "Maymester/Summer Programs", "UGA Studies Abroad - Cortona, Italy", "sa_programs/italy_cortona.htm");	
	addProgram("Italy", "Maymester/Summer Programs", "UGA Studies Abroad, Science Maymester- Cortona, Italy", "sa_programs/italy_science.htm");	
	addProgram("Italy", "Maymester/Summer Programs", "UGA Study Abroad in Verona, Italy (summer program)", "sa_programs/italy_veronasummer.htm");	
	addProgram("Italy", "Maymester/Summer Programs", "UGA Study Music in Italy", "sa_programs/italy_music.htm");	
	addProgram("Italy", "Maymester/Summer Programs", "Enology and Viticulture Maymester - Cortona, Italy", "sa_programs/italy_enology.htm");	
	addProgram("Italy", "Maymester/Summer Programs", "European Garden Tour", "sa_programs/france_tour.htm");	
	
	addCountry("Japan");
	addProgram("Japan", "Semester Exchange Programs", "Daito Bunka Exchange", "sa_programs/japan_daito.htm");
	addProgram("Japan", "Semester Exchange Programs", "Kagoshima Exchange", "sa_programs/japan_kagoshima.htm");
	addProgram("Japan", "Semester Exchange Programs", "Kobe Exchange", "sa_programs/japan_kobe.htm");
	addProgram("Japan", "Semester Exchange Programs", "Kwansei Gakuin Exchange", "sa_programs/japan_kwansei.htm");	
	addProgram("Japan", "Semester Exchange Programs", "Kyoto Exchange", "sa_programs/japan_kyoto.htm");	
	addProgram("Japan", "Semester Exchange Programs", "Kyushu University Exchange", "sa_programs/japan_kyushu.htm");	
	addProgram("Japan", "Semester Exchange Programs", "Osaka Gaidai Exchange", "sa_programs/japan_osaka.htm");	
	addProgram("Japan", "Semester Exchange Programs", "Sophia Exchange", "sa_programs/japan_sophia.htm");	
	addProgram("Japan", "Semester Exchange Programs", "Waseda Exchange", "sa_programs/japan_waseda.htm");	
	addProgram("Japan", "Semester Exchange Programs", "Yokohama Exchange", "sa_programs/japan_yokohama.htm");	
	addProgram("Japan", "Maymester/Summer Programs", "GLOBIS/Asian Study Abroad Program", "sa_programs/japan_asian.htm");	
	addProgram("Japan", "Maymester/Summer Programs", "Study Abroad Program - Japan", "sa_programs/japan_sa.htm");	
	addProgram("Japan", "Maymester/Summer Programs", "Tokyo Study Tour in Textiles, Merchandising and Interiors", "sa_programs/japan_tour.htm");	
	addProgram("Japan", "For an additional program that is held in Japan, see also", "Multiple Countries", "javascript:gotoMultiple()");
	
	addCountry("Kenya");
	addProgram("Kenya", "", "Kenya Study Abroad Program", "sa_programs/kenya_sa.htm");
	addProgram("Kenya", "", "Natural Resources and Sustainable Environmental Management in Kenya", "sa_programs/kenya_natural.htm");
	addProgram("Kenya", " ", "All programs to Kenya have been put on hold until the Travel Warning has been lifted", "");
	
	addCountry("Mexico");
	addProgram("Mexico", "Semester Exchange Programs", "Veracruz Exchange Program", "sa_programs/mexico_veracruz.htm");
	addProgram("Mexico", "Semester Exchange Programs", "Monterrey Exchange Program", "sa_programs/mexico_monterrey.htm");
	addProgram("Mexico", "Semester Exchange Programs", "Journalism and Globalization Mobility Project (Guadalajara)", "sa_programs/mexico_guadalajara.htm");
	addProgram("Mexico", "Semester Exchange Programs", "Journalism and Globalization Mobility Project (Colima)", "sa_programs/mexico_colima.htm");	
	addProgram("Mexico", "Maymester/Summer Programs", "International Agribusiness Marketing and Management: Focus on Mexico", "sa_programs/mexico_market.htm");	
	addProgram("Mexico", "Maymester/Summer Programs", "The Xalapa Experience: Learning about Language, Culture, and Education in Mexico", "sa_programs/mexico_xalapa.htm");	
	addProgram("Mexico", "Maymester/Summer Programs", "Study Tour in Textiles, Merchandising and Interiors", "sa_programs/mexico_tour.htm");	
	addProgram("Mexico", "Maymester/Summer Programs", "Xalapa FDNS - Study Abroad", "sa_programs/mexico_fdns.htm");	
	
	addCountry("Morocco");
	addProgram("Morocco", "Maymester/Summer Programs", "Islam, Islamic Culture, and Arabic in Morocco", "sa_programs/morocco_culture.htm");
	addProgram("Morocco", "Maymester/Summer Programs", "2006 Senior Design Project in Biological and Agricultural Engineering in Morocco", "sa_programs/morocco_design.htm");
	
	addCountry("New Zealand");
	addProgram("New Zealand", "Partial Programs in New Zealand", "Spring Semester Study Abroad in Australia and New Zealand", "sa_programs/mult_nz.htm");
	addProgram("New Zealand", "Partial Programs in New Zealand", "Consortium for Overseas Student Teaching (COST)", "sa_programs/mult_cost.htm");
	addProgram("New Zealand", "Partial Programs in New Zealand", "Wintermester in the South Pacific", "http://www.terry.uga.edu/ib/studyabroad/wintermester_new_zealand_and_fiji.html");
	addProgram("New Zealand", "Partial Programs in New Zealand", "Maymester Study Abroad in Australia and New Zealand: Sustaining Human Societies and the Natural Environment", "sa_programs/nz_may.htm");
	addProgram("New Zealand", "For an additional program that is held in New Zealand, see also", "Multiple Countries", "javascript:gotoMultiple()");
	
	addCountry("Norway");
	addProgram("Norway", "", "Agder College Exchange", "sa_programs/norway_agder.htm");
	
	addCountry("Peru");
	//addProgram("Peru", "Maymester/Summer Programs", "UGA Medical Spanish Program in Peru", "sa_programs/peru_medical.htm");	
	
	addCountry("Portugal");
	addProgram("Portugal", "", "Porto Exchange Program", "sa_programs/portugal_exchange.htm");
	
	addCountry("Russia");
	addProgram("Russia", "Maymester/Summer Programs", " Camp Counselors Russia", "sa_programs/russia_camp.htm");	
	
	addCountry("South Africa");
	addProgram("South Africa", "", "Wildlife Management in South Africa", "sa_programs/sa_wild.htm");
	addProgram("South Africa", "", "Southern African Study Tour in Adult Education", "sa_programs/sa_tour.htm");
	addProgram("South Africa", "Political Transformation and Social Change in South Africa", "sa_programs/sa_stellenbosch.htm");
	addProgram("South Africa", "For an additional program that is held in South Africa, see also", "Multiple Countries", "javascript:gotoMultiple()");
	
	addCountry("South Korea");
	addProgram("South Korea", "", "Yonsei Exchange", "sa_programs/sk_yonsei.htm");
	
	addCountry("Spain");
	addProgram("Spain", "Maymester/Summer Programs", "UGA en España, Cádiz", "sa_programs/spain_cadiz.htm");	
	addProgram("Spain", "Maymester/Summer Programs", "UGA en España, Seville", "sa_programs/spain_seville.htm");	
	addProgram("Spain", "Maymester/Summer Programs", "UGA en España, Valencia (summer program)", "sa_programs/spain_valenciasummer.htm");	
	addProgram("Spain", "Maymester/Summer Programs", "UGA en Espana, Seville II", "sa_programs/spain_seville2.htm");	
	addProgram("Spain", "Maymester/Summer Programs", "Study Abroad Europe", "sa_programs/spain_europe.htm");	
	addProgram("Spain", "Semester Program", "UGA en España, Valencia (spring program)", "sa_programs/spain_valenciaspring.htm");
	addProgram("Spain", "Semester Program", "UGA en Espana, Valencia (fall program)", "sa_programs/spain_valenciafall.htm");
	
	addCountry("Taiwan");
	addProgram("Taiwan", "", "UGA - National Taiwan University (NTU) Exchange Program", "sa_programs/taiwan_ntu.htm");
	addProgram("Taiwan", "", "Athletic Training Study Abroad", "sa_programs/taiwan_athlet.htm");
	
	addCountry("Tanzania");
	addProgram("Tanzania", "", "Maymester in Tanzania", "sa_programs/tanzania_may.htm");
	
	addCountry("Thailand");
	addProgram("Thailand", "", "Thai Sustainable Service-Learning Program ", "sa_programs/thailand_service.htm");
	
	addCountry("Trinidad and Tobago");
	addProgram("Trinidad and Tobago", "", "West Indies Exchange", "sa_programs/tt_indie.htm");
	
	addCountry("Tunisia");
	addProgram("Tunisia", "", "UGA Study Abroad Service Learning Course in Tunisia", "sa_programs/tunisia_service.htm");
	
	addCountry("Ukraine");
	addProgram("Ukraine", "", "Ukraine Study Abroad Program", "sa_programs/ukraine_sa.htm");
	
	addCountry("United Kingdom");
	addProgram("United Kingdom", "Maymester/Summer Programs", "Theatre and Film in London", "sa_programs/uk_drama.htm");	
	addProgram("United Kingdom", "Maymester/Summer Programs", "London Study Abroad Program", "sa_programs/uk_london.htm");	
	addProgram("United Kingdom", "Maymester/Summer Programs", "Study Abroad in Great Britain", "sa_programs/uk_landscapes.htm");	
	addProgram("United Kingdom", "Maymester/Summer Programs", "Honors Travel Seminar- London, England", "sa_programs/uk_honor.htm");	
	addProgram("United Kingdom", "Maymester/Summer Programs", "Conflict Resolution, Reconciliation and Trauma Recovery: Service-Learning in Northern Ireland", "sa_programs/uk_conflict.htm");	
	addProgram("United Kingdom", "Oxford Programs - Semester/Summer", "UGA at Oxford Grady Summer Program", "sa_programs/uk_grady.htm");
	addProgram("United Kingdom", "Oxford Programs - Semester/Summer", "UGA at Oxford SPIA Fall Semester", "sa_programs/uk_spia.htm");
	addProgram("United Kingdom", "Oxford Programs - Semester/Summer", "UGA at Oxford Terry Summer Program", "sa_programs/uk_terry.htm");	
	addProgram("United Kingdom", "Oxford Programs - Semester/Summer", "UGA at Oxford Franklin Spring Semester", "sa_programs/uk_franklinspring.htm");	
	addProgram("United Kingdom", "Oxford Programs - Semester/Summer", "UGA at Oxford Franklin Summer Program", "sa_programs/uk_frannklinsummer.htm");	
	addProgram("United Kingdom", "Oxford Programs - Semester/Summer", "Georgia-Ohio State Law Semester at Oxford - Spring", "sa_programs/uk_law.htm");	
	addProgram("United Kingdom", "Oxford Programs - Semester/Summer", "UGA at Oxford Franklin Fall Semester", "http://www.uga.edu/oxford/");	
	addProgram("United Kingdom", "Oxford Programs - Semester/Summer", "UGA at Oxford - SPIA Spring Semester", "http://www.uga.edu/oxford/");		
	addProgram("United Kingdom", "Semester Exchange Programs", "Lancaster Exchange", "sa_programs/uk_lancaster.htm");	
	addProgram("United Kingdom", "Semester Exchange Programs", "Leicester Exchange", "sa_programs/uk_leicester.htm");
	addProgram("United Kingdom", "Semester Exchange Programs", "Nottingham Exchange", "sa_programs/uk_nottingham.htm");
	addProgram("United Kingdom", "Semester Exchange Programs", "Reading Exchange", "sa_programs/uk_reading.htm");	
	addProgram("United Kingdom", "Semester Exchange Programs", "Sussex Exchange", "sa_programs/uk_aussex.htm");	
	addProgram("United Kingdom", "Semester Exchange Programs", "University of Wales, Aberystwyth Exchange", "sa_programs/uk_wales.htm");
	addProgram("United Kingdom", "For an additional program that is held partially in the UK, see also", "Multiple Countries", "javascript:gotoMultiple()");
	
	addCountry("Vietnam");
	addProgram("Vietnam", "", "Studies Abroad Vietnam : Public Health", "sa_programs/vietnam_health.htm");
	addProgram("Vietnam", "", "Vietnam : Supporting Children with Disabilities and Their Families", "sa_programs/vietnam_children.htm");
	
	addCountry("Virgin Islands");
	addProgram("Virgin Islands", "", "Agroforestry in the Caribbean ", "sa_programs/vi_agro.htm");
	
}

function addCountry(txt){
	$countryList[$country_Count] = new Object();
	$countryList[$country_Count].countryText = txt;
	$countryList[$country_Count].program = new Array();
	$countryList[$country_Count].program_Count = 0;
	$country_Count ++;
}

function addProgram(pTxt, cat, txt, url) {
	for (var i = 0; i < $country_Count; i++) {
		if ($countryList[i].countryText == pTxt) {
			$countryList[i].program[$countryList[i].program_Count] = new Object();
			$countryList[i].program[$countryList[i].program_Count].progCategory = cat;
			$countryList[i].program[$countryList[i].program_Count].progText = txt;
			$countryList[i].program[$countryList[i].program_Count].url = url;
			$countryList[i].program_Count ++;
		}
	}
}

function country_change() {
		var curObj = document.getElementById("program_text");
		var myList = document.forms[0].list;
		
		if ($countryList[myList.selectedIndex].program_Count > 0) {
			var curCategory = $countryList[myList.selectedIndex].program[0].progCategory;
			$progListHTML = curCategory + "<ul>";
			for (var i=0; i<$countryList[myList.selectedIndex].program_Count; i++) {
				if ($countryList[myList.selectedIndex].program[i].progCategory == curCategory) {
					$progListHTML = $progListHTML + "<li>";
					if ($countryList[myList.selectedIndex].program[i].url != "")
						$progListHTML = $progListHTML + "<a href='" + $countryList[myList.selectedIndex].program[i].url + "' target='_blank'>" + $countryList[myList.selectedIndex].program[i].progText + "</a></li>";
					else
						$progListHTML = $progListHTML + $countryList[myList.selectedIndex].program[i].progText + "</li>";
				}
				else {
					curCategory = $countryList[myList.selectedIndex].program[i].progCategory;
					$progListHTML = $progListHTML + "</ul><br>";
					$progListHTML = $progListHTML  + curCategory + "<ul>";
					$progListHTML = $progListHTML + "<li>";
					if ($countryList[myList.selectedIndex].program[i].url != "") {
						$progListHTML = $progListHTML + "<a href='" + $countryList[myList.selectedIndex].program[i].url + "'";
						if  ($countryList[myList.selectedIndex].program[i].url.substring(0,4) != "java") 
						 	$progListHTML = $progListHTML + " target='_blank'>" + $countryList[myList.selectedIndex].program[i].progText + "</a></li>";
						else
							$progListHTML = $progListHTML + ">" + $countryList[myList.selectedIndex].program[i].progText + "</a></li>";
					}
					else
						$progListHTML = $progListHTML + $countryList[myList.selectedIndex].program[i].progText + "</li>";
				}
			}
			$progListHTML = $progListHTML + "</ul>";
		}
		curObj.innerHTML = $progListHTML;
}

function gotoMultiple() {
	document.country.list.selectedIndex = 0;
	country_change();
}
