function collassa(el) {
  divList = el.parentNode.getElementsByTagName("div");
  //alert(divList);
  for (i=0; i<divList.length; ++i) {
    //alert("prima " + divList[i].className);
    if (divList[i].className.indexOf('nascosto') != -1) {
	  divList[i].className  = 'visibile';
	} else {
	  divList[i].className  = 'nascosto';
	}
    //alert("dopo " + divList[i].className);
  }
  //alert(el.innerHTML);
  if (el.innerHTML.indexOf('Leggi tutto &gt;') != -1) {
	el.innerHTML  = 'Nascondi &gt;';
  } else {
	el.innerHTML  = 'Leggi tutto &gt;';
  }
}


function IsNumeric(sText) {
   var ValidChars = "0123456789.,";
   var IsNumber=true;
   var Char;

   for (i = 0; i < sText.length && IsNumber == true; i++) { 
      Char = sText.charAt(i); 
      if (ValidChars.indexOf(Char) == -1) {
         IsNumber = false;
		 break;
      }
   }
   return IsNumber;
   
}


