/** * FONCTION geo_decode * Modification de http://www.alistapart.com/articles/gracefulemailobfuscation * * @package		egzakt * @author		Simon * @param		anchor		string (lien courriel) * @return		-			bool * @version		SVN: $Id: fonctions.js 3335 2008-01-21 00:00:00Z Simon $ */function geo_decode(anchor,domaine) {	var href = $(anchor).attr('href');	var adresse = "";	if (!domaine)		domaine = 'egz'+'akt'+'.'+'com';	var code = href.replace(/.*contact\/mail\/([a-z0-9._%-]+)/i, '$1');	if (href != code) {		var code_params = code.split('-');		for (i=0;i<(code_params.length-1);i++) {			adresse += code_params[i].substring(0,1)+".";		}		adresse += code_params.pop()+'@'+domaine;		$(anchor).attr('href','mail'+'to'+':'+adresse);		$(anchor).html(adresse);	}}// Simon - egzakt.com// onsubmit dans un formulaire de recherche// 2006// t:input - f:obj form - s:section_idfunction rechercher(f){	action_ori = f.action;	var e = encodeURI(f.mots_cles.value).replace(/\%20/g, '+');	if (e.length < 3) {		if (message_erreur_exp_len)			alert(message_erreur_exp_len);		return false;	}	f.action = action_ori + "/" + e;	return true;}