// JavaScript Document

function styleLienActif(couleur,deco){
	docloc = document.location + "";
	end = docloc.lastIndexOf("?");
	if(end == -1){
		url = docloc;
	}
	else{
		url = docloc.substr(0,end);
	}
	//alert(url.substr(60)+ " " + end ); 
	for(i = 0; i < document.links.length; i++){
		cLink = document.links[i];
		if(cLink == url){
			//alert("found");
			//cLink.focus();
			cLink.style.color = couleur;
			cLink.style.textDecoration = deco;			
		}
	}
}

function popUp(url,nom,l,h,x,y){
	params = "HEIGHT=" + h + ",WIDTH=" + l + ",screenX=" + x + ",screenY=" + y;
	win = window.open(url,nom,params); 
	win.moveTo(x,y);
	return win;
}