/** 
 *	arnaud@2exvia.com 
 *	27/08/2009 16:08:51
 *
 */

/**
 * Remplace document.getElementById
 */ 
function $(id) {  
	if (id == undefined) return false;
	return (document.getElementById(id.toString())) ? document.getElementById(id.toString()) : false; 
}


function telecharge(fichier,idFichier,idUtilisateur,table){
	if(idUtilisateur!= "" && table!=""){	 
		sendData("action=ENREGISTRE_STATS_EXTRANET&idf="+idFichier+"&idu="+idUtilisateur+"&t="+table,"../medias/includes/eli_actions_ajax.php",retourTelechargement);
	}
			
	window.open(fichier);
}

function retourTelechargement(retour){
	// alert(retour);
}
