

function getParam(param_str) {

	temp_array = new Array();

	//alert(' url '+window.parent.location.search.substring(1));

	urlParam = window.location.search.substring(1);

	

	aTempParam = new Array();

	aTempParam = urlParam.split("&");

	

	for(i=0; i < aTempParam.length; i++) 

	{

		strId = aTempParam[i].split("=")[0];

		strValue = aTempParam[i].split("=")[1];

		

		temp_array[strId] = strValue;



	}

	if(param_str != undefined) 

	{

		if(temp_array[param_str] == undefined) {

			return "";

		}

		else {

			return temp_array[param_str];

		}

	}

	else {

		

		return temp_array;

	}

}











function Affiche_OBJ()

{

 var Arg = arguments; // Récup liste des arguments passée à la fonction

 var Obj;

 for( var i=0; i< Arg.length; i++)

 { // On parcours la liste

	 Obj = document.getElementById( Arg[i]); // Récup Objet correspondant

		if( Obj)

		{

			 Obj.style.visibility = "visible";

			 //-- Ou autre méthode

			 Obj.style.display = "";

		}

 }

}

function Masque_OBJ()

 {

	 var Arg = arguments; // Récup liste des arguments passée à la fonction

	 var Obj;

	 for( var i=0; i< Arg.length; i++)

	 { // On parcours la liste

		 Obj = document.getElementById( Arg[i]); // Récup Objet correspondant

		 if( Obj)

		 {

		 Obj.style.visibility = "hidden";

		 //-- Ou autre méthode

		 Obj.style.display = "none";

		 }

	 }

 }
 
 
 