function sett(that,myAtrib,TableID){
if(myAtrib==1){
that.style.setAttribute("borderColor","#000000","false");
that.style.setAttribute("backgroundColor","#FFFF59","false");
eval("document.all.AT_"+TableID+".style.setAttribute('color','#000000','false');");
eval("document.all.KT_"+TableID+".style.setAttribute('color','#000000','false');");
}else{
that.style.setAttribute("borderColor","#971D38","false");
that.style.setAttribute("backgroundColor","#FFDF50","false");
eval("document.all.AT_"+TableID+".style.setAttribute('color','#520000','false');");
eval("document.all.KT_"+TableID+".style.setAttribute('color','#520000','false');");
}
}

function o1(that){
that.style.backgroundImage="url(vital_data/pfeil_down.gif)";
that.style.backgroundColor="#FFFF8F";
}

function o2(that){
that.style.backgroundImage="url(vital_data/pfeil_down.gif)";
that.style.backgroundColor="#FFF857";
}

function o3(that){
that.style.backgroundImage="url(images/transp.gif)";
that.style.backgroundColor="#FFFF8F";
}

function o4(that){
that.style.backgroundImage="url(images/transp.gif)";
that.style.backgroundColor="#FFF857";
}

function ov(that){
that.style.backgroundImage="url(vital_data/pfeil_rechts.gif)";
that.style.backgroundColor="#FFFF8F";
}

function ci(){
satz=document.userdata.ORTPLZ.value;
plzAnz=String(satz.match(/\d+/)).length;
ortAnz=String(satz.match(/\D+/)).length;
if (document.userdata.Vorname.value.length<3) {alert("!!Bitte geben Sie einen Vornamen ein!!");return false;}
else if(document.userdata.Nachname.value.length<3) {alert("!!Bitte geben Sie einen Nachnamen ein!!");return false;}
else if(document.userdata.Strasse.value.length<5) {alert("!!Bitte geben Sie eine Strasse ein!!");return false;}
else if(document.userdata.ORTPLZ.value.length<9) {alert("!!Bitte geben Sie Ort und Postleitzahl ein!!"); return false;}
else if(ortAnz<3) {alert("Bitte geben Sie einen korrekten Wohnort ein"); return false;}
else if(plzAnz<4) {alert("Bitte geben Sie eine korrekte Postleitzahl ein"); return false;}
else if(document.userdata.Email.value.length<8) {alert("Bitte geben Sie Ihre Emailadresse ein"); return false;}
else return true;
}
