/*****************************************************
javascript .js
******************************************************/
function ImportJS() {
	var nbr_att = arguments.length;
	var js_effets=document.createElement("script");
	js_effets.setAttribute("type", "text/javascript");
	js_effets.setAttribute("src", arguments[0]);
	if(nbr_att>1){
		for (var i = 1; i<nbr_att; i++){
			js_effets.setAttribute(arguments[i][0], arguments[i][1]);
		}
	}
	document.getElementsByTagName("head")[0].appendChild(js_effets);
}

/*****************************************************
Utilisation
******************************************************/
//Import simple
var js1 = new ImportJS("js/basic.js");
var js2 = new ImportJS("js/activ.js");

//Import avec attributs suplementaires

