function popupsmall(a,b,c) {
         window.open(a,b,c);
         }
function popup(a,b,c) {
         window.open(a,'Popup','menubar=no,scrollbars=yes,resizable=no,status=no,width=' + b + ',height=' + c);
         }

/* Script Name: JS KillErrors
** This script created by ErRoRwUn
** Put all this stuff in your <HEAD> tags*/


//create a function that will return true
function killErrors() {
return true;
}

//use the onError event handler as a property and
//make it equal to the KillErrors function which returns true
window.onerror = killErrors;

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.Main.Anzahl.value = CharsLeft}
