/*
*/
function on_img(Loc,Img){
  if ((navigator.appName!="Microsoft Internet Explorer") || (navigator.appVersion.substring(0,3)!="2.0"))
    Loc.src=Img;
}

/*
*/
function NavTo(Loc){
  parent.frames['Content'].location.href=Loc;
}

/*
*/
function win(picture){
  msg=window.open("","msg","height=400,width=500,left=40,top=40");
  msg.document.write("<html><title>Vorschau</title>");
  msg.document.write("<body link='#000000' bgcolor='#ffffff' leftmargin='0' topmargin='0' onclick='javascript:window.close()'");
  msg.document.write("onblur='javascript:window.close()'><table width='100%' height='100%' cellspacing='0'");
  msg.document.write("cellpadding='5'><tr><td align='center' valign='center'><img src='",picture,"'><br>");
  msg.document.write("<font face='Arial,Helvetica,sans-serif,Verdana' size='-1'><a href='javascript:window.close()'>");
  msg.document.write("<b>- Zurück -</B></a></font></td></tr></table></body></html>");
}

/*
*/
function validation(theForm){
  if (theForm.Marke.value == "")
  {
   alert("Bitte geben Sie für das Feld \"Marke\" einen Wert ein.");
   theForm.Marke.focus();
   return (false);
  }

  if (theForm.Typ.value == ""){
   alert("Bitte geben Sie für das Feld \"Typ\" einen Wert ein.");
   theForm.Typ.focus();
   return (false);
  }

  if (theForm.Inverkehrssetzung.value == ""){
    alert("Bitte geben Sie einen Wert für das Feld \"1. Inverkehrssetzung\" ein.");
    theForm.Inverkehrssetzung.focus();
    return (false);
  }

  if (theForm.NameFirma.value == ""){
   alert("Bitte geben Sie für das Feld \"Name/Firma\" einen Wert ein.");
   theForm.NameFirma.focus();
   return (false);
  }

  if (theForm.Telefon.value == ""){
   alert("Bitte geben Sie für das Feld \"Telefon/Natel\" einen Wert ein.");
   theForm.Telefon.focus();
   return (false);
  }
  return (true);
}

