document.title=\"$title\";window.status=\"$title\";"; } function form_focus($form, $element) { return ""; } function confirmation_delete($url,$entete_message = "") { global $msg; return ""; } function reverse_html_entities() { return ""; } function jscript_checkbox() { print " "; } function jscript_checkboxb() { print ""; } function jscript_unload_question() { global $msg; return " "; } function auto_hide_getprefs() { global $current_module; if (!isset($_SESSION["AutoHide"][$current_module])) { $_SESSION["AutoHide"][$current_module] = ''; } if (!$_SESSION["AutoHide"][$current_module] || count($_SESSION["AutoHide"][$current_module]) < 1) { $trueids = "0"; } else { $trueids = ""; foreach ($_SESSION["AutoHide"][$current_module] as $boolh3) { if ($boolh3 == "True") { $trueids .= "t,"; } elseif ($boolh3 == "False") { $trueids .= "f,"; } } } return ""; } /* fonction JS de vérification du code de contrôle EAN13 : 12 caractères + 1 de contrôle en peévision de certains contrôles function ccc13(form) { factor = 3; sum = 0; for (index = form.numero.value.length; index > 0; --index) { sum = sum + form.numero.value.substring (index-1, index) * factor; factor = 4 - factor; } cc = ((1000 - sum) % 10); form.chiffre.value = "0" + form.numero.value + cc; result = form.chiffre.value; form.cc.value = cc; if (form.numero.value.length!=12){ alert("BE CAREFUL ! Please key in 12 digits"); form.cc.value = ""; form.chiffre.value = ""; } } */ ?>