<!---hide script from old browsers
var neues_Fenster;

// browser test:
browserOName = navigator.appName;
browserName = navigator.appCodeName;
browserVer = parseInt(navigator.appVersion);
browserHTTPName = navigator.userAgent 
if (browserName == "Mozilla" && browserVer >= 3) version = "1";
else version = "2";

statustext0=""
statustext1="zur Startseite"
statustext2="eMail senden"
statustext3="Hilfe zur Website"
statustext4="Software zur Autoverwertung"
statustext5="Auftragsprogrammierung"
statustext6="Disclaimer"
statustext7="Informationen"
statustext8="Download"
statustext9="Links zu Stadt und Landkreis Soemmerda"
statustext10="Links zu Kooperationspartnern"
statustext11="statustext11"
statustext12="Impressum"
statustext13="statustext13"
statustext16="Click me!"
statustext30="Bild zoomen"
statustext42="www.meinestadt.de"
statustext43="Unser Landkreis"
statustext44="Unsere Stadt"
statustext45="Die Chronik unserer Stadt"
statustext52="MITAN"
statustext53="renet"
statustext54="EDV-Consulting"
statustext55="Autoverwertung"
statustext56="3X-Autoteile"
statustext57="ArGe Altauto"
statustext58="3X-Software"
statustext60="Druckansicht"
statustext61="Download starten"


function hiLite(imgDocID,imgObjName) {
// manages mouseOver animations
//   imgDocID - the name or number of the document image to be replaced
//   imgObjName - the name of the image object to be swapped in

if (version == "1") {
document.images[imgDocID].src = eval(imgObjName + ".src")
}}

neues_Fenster = null;
function BildAnzeigen(Bildname,BildTitel,BildUnterschrift,BildBreite,BildHoehe)
{
   
   Breite = BildBreite;
   Hoehe = BildHoehe;
   BildSchliessen();

   Fenster_Hoehe = Hoehe + 40;
   Fenster_Breite = Breite + 40;
   Optionen = 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,screenX=2,screenY=2,height='+Fenster_Hoehe+',width='+Fenster_Breite;
   neues_Fenster = window.open('','',Optionen)
   with (neues_Fenster) 
   {
      document.writeln('<html><head><title>' + BildTitel + '</title></head>');
      document.writeln('<body BGCOLOR="#C0C0C0" TEXT="#000000"><DIV ALIGN=CENTER STYLE="color:#000000;font-family:Times New Roman;font-size:12pt;line-height:14pt;"><table border=0 CELLSPACING=0 CELLPADDING=0 VALIGN="MIDDLE"><tr><td>');
      document.writeln('<img scr="'+Bildname+'" width='+Breite+' height='+Hoehe+' border=0 alt="'+Bildname+'"></td>');
      document.writeln('</tr></table>' + BildUnterschrift + '</DIV></body></html>');
   }
}

function BildSchliessen()
{
   if (neues_Fenster != null)
     if (!neues_Fenster.closed)
       neues_Fenster.close();
}

function CheckInfoform()
{

  if (document.infoform.ANAME.value == "")
  {
    alert('Bitte das Feld "Name" ausfüllen!');
    document.infoform.ANAME.focus();
    return (false);
  }
  if (document.infoform.STRASSE.value == "")
  {
    alert('Bitte das Feld "Straße" ausfüllen!');
    document.infoform.STRASSE.focus();
    return (false);
  }
  if (document.infoform.PLZ.value == "")
  {
    alert('Bitte das Feld "PLZ" ausfüllen!');
    document.infoform.PLZ.focus();
    return (false);
  }
  if (document.infoform.ORT.value == "")
  {
    alert('Bitte das Feld "Ort" ausfüllen!');
    document.infoform.ORT.focus();
    return (false);
  }
  if (document.infoform.EMAIL.value == "")
  {
    alert('Bitte das Feld "E-Mail" ausfüllen!');
    document.infoform.EMAIL.focus();
    return (false);
  }

  return (true);
}

function CheckProgform()
{

  if (document.progform.ANAME.value == "")
  {
    alert('Bitte das Feld "Name" ausfüllen!');
    document.progform.ANAME.focus();
    return (false);
  }
  if (document.progform.STRASSE.value == "")
  {
    alert('Bitte das Feld "Straße" ausfüllen!');
    document.progform.STRASSE.focus();
    return (false);
  }
  if (document.progform.PLZ.value == "")
  {
    alert('Bitte das Feld "PLZ" ausfüllen!');
    document.progform.PLZ.focus();
    return (false);
  }
  if (document.progform.ORT.value == "")
  {
    alert('Bitte das Feld "Ort" ausfüllen!');
    document.progform.ORT.focus();
    return (false);
  }
  if (document.progform.EMAIL.value == "")
  {
    alert('Bitte das Feld "E-Mail" ausfüllen!');
    document.progform.EMAIL.focus();
    return (false);
  }

  return (true);
}

//end hiding--->
