// ---- CSS Document ISO -------------------------
// ---- NOSE AG Design Intelligence --------------
// ---- Florian Steiner, 11.12.2006 --------------
// ---- text size changer ----

function fontSize(chooser){
	switch (chooser){
		case "increase":
		  if (document.getElementsByTagName("body")[0].className=="big2") {
			 document.getElementsByTagName("body")[0].className="big3";
			}
		  else if (document.getElementsByTagName("body")[0].className=="big") {
			 document.getElementsByTagName("body")[0].className="big2";
			}
			else if (document.getElementsByTagName("body")[0].className=="big3"){
			}
			else {
			 document.getElementsByTagName("body")[0].className="big";
      }
			// document.getElementById("fontBigger").className = "fontLinkHide";
			// document.getElementById("fontSmaller").className = "fontLinkShow";
		break;
		case "decrease":
		  if (document.getElementsByTagName("body")[0].className=="big2") {
			 document.getElementsByTagName("body")[0].className="big";
			}
		  else if (document.getElementsByTagName("body")[0].className=="big") {
			 document.getElementsByTagName("body")[0].className="";
			}
			else if (document.getElementsByTagName("body")[0].className=="big3"){
			 document.getElementsByTagName("body")[0].className="big2";
			}
			else {
			 document.getElementsByTagName("body")[0].className="";
      }
			//document.getElementById("fontBigger").className = "fontLinkShow";
			//document.getElementById("fontSmaller").className = "fontLinkHide";
		break;	
	}
}
function french_version()
{
var myfilename=window.location.href.substring(window.location.href.lastIndexOf("/")+1,window.location.href.length);

window.location = "../fr/" + myfilename;
}
function english_version()
{
var myfilename=window.location.href.substring(window.location.href.lastIndexOf("/")+1,window.location.href.length);

window.location = "../en/" + myfilename;
}

