// JavaScript Document
function ShowWhiteLine() {
	a = window.document.URL;
	FileName = ""
	FileName = a.substring(Math.max(a.lastIndexOf("/"), a.lastIndexOf("\\"))+1, a.lastIndexOf(".htm"))
	LinkOb = eval(document.getElementById("Link_"+FileName))
	LineOb = eval(document.getElementById("Line_"+FileName))
	if (FileName != "") {
		LinkOb.style.fontWeight='bold'
		LinkOb.style.cursor="default"
		LinkOb.href="javascript:void(0)"
		LineOb.src="../images/spacer_gris50.gif"
	}
}

function SwitchPic(PicOb) {
	//alert(PicOb.src.substring(0,PicOb.src.lastIndexOf(".gif")) + "h.gif");
	if (PicOb.src.lastIndexOf("h.gif")<0) {
		PicOb.src = PicOb.src.substring(0,PicOb.src.lastIndexOf(".gif")) + "h.gif";
	}
	else PicOb.src = PicOb.src.substring(0,PicOb.src.lastIndexOf(".gif")-1) + ".gif";
}

function SwitchLANG() {
	var Path = document.location.href;
	var L1 = "francais", LL1 = L1.length;
	var L2 = "english", LL2 = L2.length;
	if (-1<Path.lastIndexOf("/"+L1+"/") || -1<Path.lastIndexOf("\\"+L1+"\\")) {CurrLANG = L1; LLc = LL1; NewLANG = L2;}
	else {CurrLANG = L2;; NewLANG = L1; LLc = LL2}
	Pos = Math.max(Path.lastIndexOf("/"+CurrLANG+"/"),Path.lastIndexOf("\\"+CurrLANG+"\\"));
	Path1 = Path.substring(0, Pos+1);
	Path2 = Path.substring(Pos+LLc+1, Path.length);
	window.top.location.href = Path1+NewLANG+Path2;
}
