1 2 3function addToFavorites(){ 4 // alert (typeof window.external.AddFavorite); 5 if ((navigator.appName.indexOf('Microsoft',0)>=0) && (parseInt(navigator.appVersion)>=4)) { 6 // window.external.AddFavorite(anchor.getAttribute('href'), anchor.getAttribute('title')); 7 window.external.AddFavorite('',''); 8 } 9 else{ 10 window.sidebar.addPanel('','',''); 11 } 12 } 13 14 15 16// 02/09/2009 17// rapatrie depuis antalys-check-specific.js : utilise lors de la commande pour vérifier le stock 18// old value permet de remettre l'ancienne valeur 19function antcheck_stock(valform,stock,oldvalue){ 20 // check if amount entered is less then available stock 21 // alert ('problem :' + valform.name + ' : ' + valform.elements['stock_max'].value + ' ' + valform.quantite.value); 22 // alert ('problem :' + valform.name + ' : ' + valform.value + ' ' + stock); 23 //if (valform.quantite.value > valform.stock_max.value){ 24 if (valform.value > stock) { 25 alert ('!! : ' + stock); 26 valform.value=oldvalue; 27 return false; 28 } 29 return true; 30 } 31// 20/09/2009 : description de produits sous forme de tabs 32 33function antChangeTab(active, nombre, tab_prefix, contenu_prefix) 34{ 35 for (var i=1; i < nombre + 1; i++) 36 { 37 var tmp=tab_prefix+i; 38 var elem=document.getElementById(tab_prefix + i); 39 //alert('tmp:' + tmp +' :' + elem); 40 if (elem != null){ 41 document.getElementById(contenu_prefix + i).style.display = 'none'; 42 elem.className = ''; 43 } 44 } 45 46 document.getElementById(contenu_prefix+active).style.display = 'block'; 47 document.getElementById(tab_prefix+active).className = 'antprodactive'; 48}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.