/* prototype of the default javascript objects */ String.prototype.getJsonFromClass=function(stamp){ var tabClass=this.split(" "); for(var i=0; i", " ", "¡", "¤", "¢", "£", "¥", "¦", "§", "¨", "©", "ª", "«", "¬", "®", "™", "¯", "°", "±", "²", "³", "´", "µ", "¶", "·", "¸", "¹", "º", "»", "¼", "½", "¿", "×", "÷", "À", "Á", "Â", "Ã", "Ä", "Å", "Æ", "Ç", "È", "É", "Ê", "Ë", "Ì", "Í", "Î", "Ï", "Ð", "Ñ", "Ò", "Ó", "Ô", "Õ", "Ö", "Ø", "Ù", "Ú", "Û", "Ü", "Ý", "Þ", "ß", "à", "á", "â", "ã", "ä", "å", "æ", "ç", "è", "é", "ê", "ë", "ì", "í", "î", "ï", "ð", "ñ", "ò", "ó", "ô", "õ", "ö", "ø", "ù", "ú", "û", "ü", "ý", "þ", "ÿ", "Œ", "œ", "Š", "š", "Ÿ", "ˆ", "˜", "–", "—", "‘", "’", "‚", "“", "”", "„", "†", "‡", "…", "‰", "‹", "›", "€"]; var monString=this; for(var i=0; i|\[|\]|\{|\}]", "g"); monString= monString.replace(regSpeChars, " "); monString= monString.toLowerCase(); return(monString); }// class to get a json string in a class attribute with a string stamp in argument. function isObjectEmpty (objectCible){ var i=0; for(var value in objectCible) i++; return((i==0)?true:i); }// tel if an object is empty or not function isObjectContain (objectCible, compElem){ var i=0; for(var value in objectCible){ if(objectCible[value]==compElem){ /* if(ydyle.situ=="chat"){ chat._Debug("objectCible["+value+"] = "+objectCible[value]+" = "+compElem,"js"); } */ return(true); } } return(false); }// tel if an tab is empty or not function ifPropObjectArrayEmpty(monTab, compvalue){ var valeur=false; monTab.each(function(objEl){ if(isObjectContain(objEl, compvalue)==true){ valeur = true; } }); return(valeur); }