<!-- Copyright 2000 Yvan VANWYNSBERGHE yvanwynsberghe@devparadise.com -->
<!-- d'autres sources sont disponible à http://www.devparadise.com/ -->
<!-- Utilisation libre si vous laissez le copyright, -->
<!-- la distribution de ce sources n'est possible qu'avec l'accord de l'auteur -->
<!--
function Ouvrir_Fenetre_Categories(fichier,fenetre) {

	if (document.all)
		var xMax = screen.width, yMax = screen.height;
	else
		if (document.layers)
			var xMax = window.outerWidth, yMax = window.outerHeight;
		else
			var xMax = 640, yMax=480;
		var xOffset = (xMax - 450)/2, yOffset = (yMax - 600)/2;
	window.open(fichier,fenetre,'width=450,height=600,screenX='+xOffset+',screenY='
	+yOffset+',top='+yOffset+',left='+xOffset+',scrollbars=yes');
}


function StringReplace(String_Input,String_Old,String_New)
/****************************************************************/
/*Remplace String_Old par String_New dans la chaîne String_Input*/
/****************************************************************/
	{
	var position,longueur;
	if (String_Input.length==0 || String_Old.length==0)
		return 0;
	else
		{
		position = String_Input.indexOf(String_Old);
		longueur = String_Old.length
		if (position >= 0)
			{
			MyString = String_Input.substring(0,position)+String_New+String_Input.substring(position+longueur,String_Input.length);
			return StringReplace(MyString,String_Old,String_New)
			}
		else
			return String_Input;
		}
	}

//-->