function getMWSTString(MWSTSUMARRAY){
  retString = "enthaltene Mehrwertsteuer: ";
  for (var Eigenschaft in MWSTSUMARRAY){
    mwst = (MWSTSUMARRAY[Eigenschaft]/(parseFloat(Eigenschaft)+100))*parseFloat(Eigenschaft);
    if(parseInt(Eigenschaft)>0) retString += "  " + Eigenschaft+"%(" + number_format(parseFloat(MWSTSUMARRAY[Eigenschaft])) + "|" + number_format(mwst) + ")";
  }
  return retString;
}


function sett(that,myAtrib,TableID){
if(myAtrib==1){
that.style.setAttribute("borderColor","#FF1414","false");
that.style.setAttribute("backgroundColor","#FFFF4F","false");
eval("document.all.AT_"+TableID+".style.setAttribute('color','#1414FF','false');");
eval("document.all.KT_"+TableID+".style.setAttribute('color','#1414FF','false');");
}else{
that.style.setAttribute("borderColor","#1414AF","false");
that.style.setAttribute("backgroundColor","#FFFF8F","false");
eval("document.all.AT_"+TableID+".style.setAttribute('color','#000000','false');");
eval("document.all.KT_"+TableID+".style.setAttribute('color','#000000','false');");
}
}


function o1(that){
that.style.backgroundImage="url(http://www.lowcarbwelt.de/de_data/pfeil_down.gif)";
that.style.backgroundColor="#FFCC00";
}

function o2(that){
that.style.backgroundImage="url(http://www.lowcarbwelt.de/de_data/pfeil_down.gif)";
that.style.backgroundColor="#FFFF8F";
}

function o3(that){
that.style.backgroundImage="url(http://www.lowcarbwelt.de/images/transp.gif)";
that.style.backgroundColor="#FFCC00";
}

function o4(that){
that.style.backgroundImage="url(http://www.lowcarbwelt.de/images/transp.gif)";
that.style.backgroundColor="#FFFF8F";
}

function ov(that){
that.style.backgroundImage="url(http://www.lowcarbwelt.de/de_data/pfeil_rechts.gif)";
that.style.backgroundColor="#FFCC00";
}

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;
}