function externalLinks() { 
 if(!document.getElementsByTagName) return; 
 var anchors = document.getElementsByTagName("a"); 
 for(var i=0; i<anchors.length; i++)
 { 
  var anchor = anchors[i]; 
  if(anchor.getAttribute("href") && anchor.getAttribute("rel") == "external") 
   anchor.target = "_blank"; 
 } 
} 
window.onload = externalLinks;

function CheckLen(Target)
 {
 StrLen = Target.value.length;
 if (StrLen == 1 && Target.value.substring(0,1) == ' ') 
  {
  Target.value = '';
  StrLen = 0; 
  }
  if (StrLen > 250) 
  {
  Target.value = Target.value.substring(0,250);
  CharsLeft = 0; 
  }
  else
  {
  CharsLeft = 250 - StrLen; 
  }
 document.formular.anzahl.value = CharsLeft; 
 }

function TextKopieren(FeldID)
{
 document.getElementById(FeldID).focus();
 document.getElementById(FeldID).select();
 if(document.all)
 {
  Bereich = document.getElementById(FeldID).createTextRange();
  Bereich.execCommand("Copy");
 }
}

window.defaultStatus = "www.Clantoplisten.de";