function CheckLen(Target)
  {
  StrLen = Target.value.length
  if (StrLen == 1 && Target.value.substring(0,1) == " ")
  {
  Target.value = ""
  StrLen = 0
  }
  if (StrLen > 160 )
  {
  Target.value = Target.value.substring(0,160)
  CharsLeft = 0
  }
  else
  {
  CharsLeft = 160 - StrLen
  }
  document.sendsms.anzahl.value = CharsLeft
  }

function schicken(popup) {
          document.sendsms.submit();
          window.open(popup,'Sponsor','');
          window.setTimeout("self.focus();",0);
  }


  

