function MM_cachecalque() { //v6.0 var i,p,v,obj,args=MM_cachecalque.arguments; for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2]; if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; } obj.visibility=v; } } function afficherZoneRecherche() { if (document.getElementById('keyword').value.length > 0) { MM_cachecalque('recherche','','show'); } else { MM_cachecalque('recherche','','hide'); } } function o(id) { /* cette fonction assure une compatibilité entre les navigateurs pour les appels d'éléments nommés */ if(document.getElementById) return document.getElementById(id); else if(document.all) return document.all[id]; else if(document.layers) return document.layers[id]; } function envoieform(stype) { if ( navigator.userAgent.indexOf('Mac') != -1 ) { systeme = 'Mac OS'; } else {systeme ='Win';} //alert(systeme); sch = o("keyword").value; if( systeme== 'Mac OS') { document.write ("") } else { window.location.href = "index.php?rubrique=resultsearch&link="+stype+"&kwd="+sch+""; } } //-->