// JavaScript Document
	var date = new Date;
    var num  = Math.floor(Math.random(date.getSeconds()) * 10);
 		
	if (num == 0) {
		document.write("<img src=\"http://www.unc.edu/depts/tam/images/universities/top-paris.jpg\" alt=\"Top slice: Paris at the Louvre\" />");
	}
	if (num == 1) {
		document.write("<img src=\"http://www.unc.edu/depts/tam/images/universities/top-berlin.jpg\" alt=\"Top slice: Berlin\" />");
	}
	if (num == 2) {
		document.write("<img src=\"http://www.unc.edu/depts/tam/images/universities/top-bath.jpg\" alt=\"Top slice: Bath\" />");
	}
	if (num == 3) {
		document.write("<img src=\"http://www.unc.edu/depts/tam/images/universities/top-amsterdam.jpg\" alt=\"Top slice: Amsterdam\" />");
	}
	if (num == 4) {
		document.write("<img src=\"http://www.unc.edu/depts/tam/images/universities/top-prague.jpg\" alt=\"Top slice: Prague\" />");
	}
	if (num == 5) {
		document.write("<img src=\"http://www.unc.edu/depts/tam/images/universities/top-siena.jpg\" alt=\"Top slice: Siena\" />");
	}
	if (num == 6) {
		document.write("<img src=\"http://www.unc.edu/depts/tam/images/universities/top-unc.jpg\" alt=\"Top slice: UNC\" />");
	}
	if (num == 7) {
		document.write("<img src=\"http://www.unc.edu/depts/tam/images/universities/top-barcelona.jpg\" alt=\"Top slice: UPF Barcelona\" />");
	}
	if (num == 8) {
		document.write("<img src=\"http://www.unc.edu/depts/tam/images/universities/top-madrid.jpg\" alt=\"Top slice: Madrid\" />");
	}
	if (num == 9) {
		document.write("<img src=\"http://www.unc.edu/depts/tam/images/universities/top-bremen.jpg\" alt=\"Top slice: Bremen\" />");
	}

	document.write("</div>");
	document.write("</div>");
	document.write("</div>");
	document.write("<div id=\"content\">");
	document.write("<div id=\"splash\">");
	if (num == 0) {
		document.write("<img src=\"http://www.unc.edu/depts/tam/images/universities/bottom-paris.jpg\" alt=\"Bottom slice: Paris at the Louvre\" />");
		document.write("<center>");
		document.write("<h3>Destination: Paris, France</h3>");
		document.write("<h3>Sciences Po</h3>");
		document.write("</center>");
//		document.write("<p>Sciences Po was founded in 1872 and has long sought to train a merit-based elite for leadership.  S-P now enrolls about 7500 students each year. Its campus is composed of seventeenth- and eighteenth-century mansions, located in Paris' St-Germain district. In the words of its Director, Richard Descoings, S-P seeks to cultivate \"imagination, the capacity for invention and innovation, and the ability to adapt to changing circumstances\" in its students.</p><p><a href=\"http://www.sciences-po.fr/portail/fr-fr/international/english2/\">Sciences Po Home</a></p>");
		document.write("<p>Sciences Po was founded in 1872 and has long sought to train a merit-based elite for leadership.</p><p><a href=\"http://www.sciences-po.fr/portail/fr-fr/decouvrir-sciences-po/une-institution-universitaire-de-rang-international/\">Sciences Po Home</a>");
}
	if (num == 1) {
		document.write("<img src=\"http://www.unc.edu/depts/tam/images/universities/bottom-berlin.jpg\" alt=\"Bottom slice: Berlin\" />");
		document.write("<h3>Destination: Berlin, Germany</h3>");
		document.write("<h3>Freie Universit&auml;t Berlin, Humboldt-Universit&auml;t zu Berlin</h3>");
//		document.write("<p>Berlin has long been one of the most exciting cultural centers in Europe. The two participating Universities reflect the history of the previously divided city: the Freie Universit&auml;t Berlin (FUB) was founded in 1948 as a rival to the communist-dominated University in the eastern sector of the city. Its Otto Suhr Institut has been the home of critical political science for over 40 years. Following the radical changes of 1989/90, Humboldt Universit&auml;t (HUB), in the historical heart of the city, underwent an ambitious program of restructuring. The newly-founded Faculty Institute of Social Sciences, which is highly professional and has a strong empirical base brings together political science and sociology. FUB and HUB cooperate closely on the Euromasters and Transatlantic Masters programs.</p><p><a href=\"http://www.hu-berlin.de/\">Humboldt-Universit&auml;t zu Berlin Home</a><br /><a href=\"http://www.bgss.hu-berlin.de/*\">HUB Graduate School of Social Sciences</a><br /><a href=\"http://www.fu-berlin.de/en/\">Freie Universit&auml;t Berlin Home</a></p>");
		document.write("<p>The two participating Universities in Berlin reflect the history of the previously divided city.</p><p><a href=\"http://www.hu-berlin.de/\">Humboldt-Universit&auml;t zu Berlin Home</a><br /><a href=\"http://www.bgss.hu-berlin.de/*\">HUB Graduate School of Social Sciences</a><br /><a href=\"http://www.fu-berlin.de/en/\">Freie Universit&auml;t Berlin Home</a></p>");
}
	if (num == 2) {
		document.write("<img src=\"http://www.unc.edu/depts/tam/images/universities/bottom-bath.jpg\" alt=\"Bottom slice: Bath\" />");
		document.write("<h3>Destination: Bath, UK</h3>");
		document.write("<h3>University of Bath</h3>");
//		document.write("<p>The University of Bath's campus is located about a mile from the centre of Bath, a World Heritage  City.  Founded in 1966, Bath University is one of the UK's leading universities, with an international reputation for research and teaching of the highest academic caliber.  Roughly 13,000 students enroll in Bath University each year.  The Department of European Studies and Modern Languages serves as the home base of  Euromasters (EM), TAM's sister program.  The Department was awarded a grade 5 in the last Research Assessment Exercise (RAE), and is one of the leading centres for European Studies in the country.</p><p><a href=\"http://www.bath.ac.uk/\">University of Bath Home</a><br /><a href=\"http://www.bath.ac.uk/esml/em/index.html\">Department of European Studies &amp; Modern Languages</a></p>");
		document.write("<p>The University of Bath's campus is located about a mile from the centre of Bath, a World Heritage City.</p><p><a href=\"http://www.bath.ac.uk/\">University of Bath Home</a><br /><a href=\"http://www.bath.ac.uk/esml/em/index.html\">Department of European Studies &amp; Modern Languages</a></p>");
	}
	if (num == 3) {
		document.write("<img src=\"http://www.unc.edu/depts/tam/images/universities/bottom-amsterdam.jpg\" alt=\"Bottom slice: Amsterdam\" />");
		document.write("<h3>Destination: Amsterdam, Netherlands</h3>");
		document.write("<h3>Vrije Universitaet Amsterdam</h3>");
//		document.write("<p>VU University Amsterdam dates back to 1880.  The campus and university hospital are located in the south-western section of Amsterdam.  VU stands for \"Vrije Universiteit\" which means \"Free University\".  In this context, the term \"free\" originally referred to the independence from church and state control.  Today, the university strives to be \"inspiring, innovative and involved\" and seeks to \"prepare students for an active role in society\". Roughly 19,000 study at VU University Amsterdam each year within the institution's twelve faculties.</p><p><a href=\"http://www.vuamsterdam.com/home/index.cfm\">VU Amsterdam Home</a></p>");
		document.write("<p>VU stands for \"Vrije Universiteit\" which means \"Free University\". In this context, the term \"free\" originally referred to the independence from church and state control.</p><p><a href=\"http://www.vuamsterdam.com/home/index.cfm\">VU Amsterdam Home</a></p>");
}
	if (num == 4) {
		document.write("<img src=\"http://www.unc.edu/depts/tam/images/universities/bottom-prague.jpg\" alt=\"Bottom slice: Prague\" />");
		document.write("<h3>Destination: Prague, Czech Republic</h3>");
		document.write("<h3>Charles University</h3>");
//		document.write("<p>The oldest university in central Europe, Charles University was founded in 1348 by Charles IV, then Holy Roman Emperor and King of Bohemia. Today, Charles University enrolls over 47,000 Czech students and over 4,500 international students who study in 17 different faculties.  The Faculty of Social Sciences was created in 1990 through a fundamental reorganisation of the former Faculty of Journalism. It is the second youngest faculty of Charles  University. Its main goal is to develop teaching and research in those aspects of the social sciences, which (directly or indirectly) relate to the public administration, or to the economic and cultural life of society.</p><p><a href=\"http://www.cuni.cz/UKENG-1.html\">Charles University Home</a></p>");
		document.write("<p>The oldest university in central Europe, Charles University was founded in 1348 by Charles IV, then Holy Roman Emperor and King of Bohemia.</p><p><a href=\"http://www.cuni.cz/UKENG-1.html\">Charles University Home</a></p>");
}
	if (num == 5) {
		document.write("<img src=\"http://www.unc.edu/depts/tam/images/universities/bottom-siena.jpg\" alt=\"Bottom slice: Siena\" />");
		document.write("<h3>Destination: Siena, Italy</h3>");
		document.write("<h3>Universit&agrave; degli Studi di Siena</h3>");
//		document.write("<p>The University of Siena, founded in 1240, is one of the oldest universities in Europe. It is situated in the heart of one of the most beautiful and best preserved medieval towns in Italy and serves a population of roughly 20,000 students.  The Euromasters / TAM courses, designed exclusively for a small number of incoming students, draw on staff from the Faculties of Law (which includes the Department of Political Science), Letters and Economics, and also host specialist Faculty drawn from other institutions. The university library is one of the best-stocked in Italy.</p><p><a href=\"http://www.unisi.it/v0/home.html\">University of Siena Home</a><br /><a href=\"http://www.unisi.it/v0/minisito.html?fld=1767\">Guide for Foreign Students</a></p>");
		document.write("<p>The oldest university in central Europe, Charles University was founded in 1348 by Charles IV, then Holy Roman Emperor and King of Bohemia.</p><p><a href=\"http://www.unisi.it/v0/home.html\">University of Siena Home</a><br /><a href=\"http://www.unisi.it/v0/minisito.html?fld=1767\">Guide for Foreign Students</a></p>");
	}
	if (num == 6) {
		document.write("<img src=\"http://www.unc.edu/depts/tam/images/universities/bottom-unc.jpg\" alt=\"Bottom slice: UNC\" />");
		document.write("<h3>Destination: North Carolina</h3>");
		document.write("<h3>University of North Carolina at Chapel Hill</h3>");
//		document.write("<p>The University of North Carolina at Chapel Hill (UNC-Chapel Hill) first welcomed students in 1795 and became the nation's first public university. With a population of over 50,000, UNC-CH ranks among the great institutions of higher education in the US.  UNC's Political Science Department enjoys a strong reputation and is comprised of top-notch professors &mdash; many of whom specialize in comparative and European politics.  The TAM Program is housed within UNC's Center for European Studies.  This Center is also a EU Center of Excellence and serves as the network coordinator for all such centers based in the US.</p><p><a href=\"http://www.unc.edu/\">UNC-Chapel Hill Home</a><br /><a href=\"http://global.unc.edu/europe/\">Center for European Studies</a></p>");
		document.write("<p>The University of North Carolina at Chapel Hill (UNC-Chapel Hill) first welcomed students in 1795 and became the nation's first public university.</p><p><a href=\"http://www.unc.edu/\">UNC-Chapel Hill Home</a><br /><a href=\"http://global.unc.edu/europe/\">Center for European Studies</a></p>");
	}
	if (num == 7) {
		document.write("<img src=\"http://www.unc.edu/depts/tam/images/universities/bottom-barcelona.jpg\" alt=\"Bottom slice: UPF Barcelona\" />");
		document.write("<h3>Destination: Barcelona, Spain</h3>");
		document.write("<h3>Universitat Pompeu Fabra (UPF)</h3>");
//		document.write("<p>The Universitat Pompeu Fabra (UPF) was founded in 1990.  This public university is located in Catalonia.  The institution, in the center of Barcelona, has grown to include 7,000 students.  Committed to civic values and research, UPF takes its name from an individual who worked to standardize the modern Catalan language.  Pompeu Fabra (1868-1948) wrote many texts such as Normes ortogr&agrave;fiques (Spelling Rules) and Gram&agrave;tica catalana (Catalan Grammar) as well as the 1932 Diccionari general de la llengua catalana (General Dictionary of the Catalan Language).</p><p><a href=\"http://www.upf.edu/\">Universitat Pompeu Fabra</a></p>");
		document.write("<p>UPF takes its name from an individual who worked to standardize the modern Catalan language.</p><p><a href=\"http://www.upf.edu/\">Universitat Pompeu Fabra</a></p>");
	}
	if (num == 8) {
		document.write("<img src=\"http://www.unc.edu/depts/tam/images/universities/bottom-madrid.jpg\" alt=\"Bottom slice: Madrid\" />");
		document.write("<h3>Destination: Madrid, Spain</h3>");
		document.write("<h3>Universidad Carlos III</h3>");
		document.write("<p>The Universidad Carlos III has 10,000 students. The Getafe campus, where TAM students are based, is 12 kilometres south of Madrid.</p><p><a href=\"http://www.uc3m.es/\">Universidad Carlos III de Madrid</a></p>");
	}
	if (num == 9) {
		document.write("<img src=\"http://www.unc.edu/depts/tam/images/universities/bottom-bremen.jpg\" alt=\"Bottom slice: Bremen\" />");
		document.write("<h3>Destination: Bremen, Germany</h3>");
		document.write("<h3>University of Bremen</h3>");
		document.write("<p>Bremen is among the top ten German universities and was established in 1971.</p><p><a href=\"http://www.uni-bremen.de/\">University of Bremen</a></p>");
	}

	document.write("<p class=\"small-text\"><a href=\"http://www.unc.edu/depts/tam/participating_universities/index.php\">Click here</a> to read about each of the participating institutions.</p>");
