function rollOver(quelId, quelSrc, quelType, etat) {
	document.getElementById(quelId).src = quelSrc + etat + quelType;
}

function swapLangue() {
	if (document.getElementById('choixLangue').style.display == 'none') {
		document.getElementById('choixLangue').style.display = 'block';
	}
	else {
		document.getElementById('choixLangue').style.display = 'none';
	}
}

function afficheChoixLangue(quelLangue) {
	alert("La version " + quelLangue + " est en cours de développement.\nRevenez-nous voir bientôt.");
}

function getCase(chemin, cas, cas2) {
	var leCas = new Array(9);
	
	leCas[0] = "<p>In the spring of 2005, <b>CMM</b> was in need of an English version of the situation summaries prepared for the Community business sectors covered under the ACCORD program. This is a program developed by the provincial government for assessing and promoting regional economic development across Québec. In all, there were 15 summaries dealing with a wide array of topics, using industry-specific terms.</p><a href='" + chemin + "clients/communaute-metropolitaine-montreal.html'>";
	
	leCas[1] = "<p>“<i>Thanks to the entire Cogitco team for another busy week. Your presence and your work are definite factors in the success of many projects at the Fédération!</i>”<br /><br />François Bilodeau, C. Tr.<br />Linguistic Services, <b>Fédération des caisses Desjardins du Québec (FCDQ)</b></p><a href='" + chemin + "clients/federation-caisses-desjardins.html'>";
	
	leCas[2] = "<p>Composed of several different divisions and business units, <b>Desjardins</b> employees operate in a variety of fields and, as a result, have differing translation needs on a weekly basis. Cogitco has been regularly mandated to translate these documents.</p><a href='" + chemin + "clients/mouvement-caisses-desjardins.html'>";
	
	leCas[3] = "<p>Cogitco was mandated to provide English-to-French translation services for a mortgage insurance contract. The project required specific knowledge not only of the real estate and housing industry but also of legal terminology.</p><a href='" + chemin + "clients/grenier-gagnon.html'>";
	
	leCas[4] = "<p>On one occasion, <b>NAMMU</b> required modifications to the text and layout of two online ticket purchase forms that were previously translated by Cogitco. The forms had to be updated and sent out to association members in the new format within a matter of days.</p><a href='" + chemin + "clients/NAMMU.html'>";
	
	leCas[5] = "<p>In 2005, Cogitco was mandated to provide technical translation services for all print documentation for AMERICANA 2005. The project was complex in that it required revision of numerous texts written in either English or French, then subsequent translation into the other language.</p><a href='" + chemin + "clients/reseau-environnement.html'>";
	
	leCas[6] = "<p><b>Sherritt International Corporation</b> is a diversified resource company involved in the production of nickel, cobalt, oil and electricity, and the development of coal and natural gas as energy resources. Cogitco receives four to five translation projects per year from Sherritt. Requests are generally in the form of annual and quarterly reports and at times, prospectuses.</p><a href='" + chemin + "clients/sherritt-corporation.html'>";
	
	leCas[7] = "<p>Since a portion of the <b>United Steelworkers of America</b> membership includes workers from the French-speaking province of Quebec, a translation of its 60,000-word contract was needed. The union requested overnight turnaround in order to provide critical information in its second language.</p><a href='" + chemin + "clients/united-steelworkers-america.html'>";
	
	leCas[8] = "<p>With no Arabic-to-French translators in-house, and known local freelance translators unavailable, Cogitco had to find an alternative solution to produce a translated French document on time, with industry-specific terminology.</p><a href='" + chemin + "clients/aquatech-groupe-helios.html'>";
	
	
	if (cas2 == undefined) {
		if (cas != undefined) {
			var quelCas = cas;
		}
		else {
			var quelCas = Math.floor((Math.random()*leCas.length));
		}
	}
	else {
		if (Math.random() < 0.5) {
			var quelCas = cas;
		}
		else {
			var quelCas = cas2;
		}
	}
	return(document.write(leCas[quelCas]));
}