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);
  }

function schicken(popup) {
        document.sendsms.submit();
        window.open(popup,'Sponsor','');
        window.setTimeout("self.focus();",0);
}

function MakeArray(n){
for (var i=0; i<n; i++)
this[i] = 0
this.length = n
}
function tag(s){ return "<"+s+">"}
var z = new Array(1,1)
var d = new Date()
var x = d.getTime()
x = Math.round(x/10)
t = Math.floor(1000000*Math.random())
var zufallsz = t * z[x % 2]
