<!--
//Formularberprfung

function set_job_select() {
			if (document.info_request.info_taetigkeit.selectedIndex == 1) {
				document.info_request.info_taetigkeit_fein.options[0].text = "auswählen";
        document.info_request.info_taetigkeit_fein.options[0].value = "";
			  for (var x=1; x <= 29; x++) {
          document.info_request.info_taetigkeit_fein.options[x] = null;
        }
        NeuerEintrag = new Option("Banken/Versicherungen","Banken/Versicherungen",false,false);
        document.info_request.info_taetigkeit_fein.options[1] = NeuerEintrag;
        NeuerEintrag = new Option("Bauplanung/überwachung","Bauplanung/überwachung",false,false);
        document.info_request.info_taetigkeit_fein.options[2] = NeuerEintrag;
        NeuerEintrag = new Option("Bausachverständiger","Bausachverständiger",false,false);
        document.info_request.info_taetigkeit_fein.options[3] = NeuerEintrag;
        NeuerEintrag = new Option("Bauwerksabdichtung","Bauwerksabdichtung",false,false);
        document.info_request.info_taetigkeit_fein.options[4] = NeuerEintrag;
        NeuerEintrag = new Option("Fenster u. Fassadentechnik","Fenster u. Fassadentechnik",false,false);
        document.info_request.info_taetigkeit_fein.options[5] = NeuerEintrag;
        NeuerEintrag = new Option("Geschäfts- und Verwaltungsbau","Geschäfts- und Verwaltungsbau",false,false);
        document.info_request.info_taetigkeit_fein.options[6] = NeuerEintrag;
        NeuerEintrag = new Option("Hochbauarchitekten","Hochbauarchitekten",false,false);
        document.info_request.info_taetigkeit_fein.options[7] = NeuerEintrag;
        NeuerEintrag = new Option("Innenarchitekten","Innenarchitekten",false,false);
        document.info_request.info_taetigkeit_fein.options[8] = NeuerEintrag;
        NeuerEintrag = new Option("Shops/Messen","Shops/Messen",false,false);
        document.info_request.info_taetigkeit_fein.options[9] = NeuerEintrag;
        NeuerEintrag = new Option("Sonstige Architekten","Sonstige Architekten",false,false);
        document.info_request.info_taetigkeit_fein.options[10] = NeuerEintrag;
        NeuerEintrag = new Option("Stadtplaner","Stadtplaner",false,false);
        document.info_request.info_taetigkeit_fein.options[11] = NeuerEintrag;
        NeuerEintrag = new Option("Tiefbau","Tiefbau",false,false);
        document.info_request.info_taetigkeit_fein.options[12] = NeuerEintrag;			
			}
			if (document.info_request.info_taetigkeit.selectedIndex == 2) {
        document.info_request.info_taetigkeit_fein.options[0].text = "auswählen";
				document.info_request.info_taetigkeit_fein.options[0].value = "";
        
        for (var x=1; x <= 29; x++) {
          document.info_request.info_taetigkeit_fein.options[x] = null;
        }
        NeuerEintrag = new Option("Bauelementehandel","Bauelementehandel",false,false);
        document.info_request.info_taetigkeit_fein.options[1] = NeuerEintrag;
        NeuerEintrag = new Option("Bauunternehmen","Bauunternehmen",false,false);
        document.info_request.info_taetigkeit_fein.options[2] = NeuerEintrag;
        NeuerEintrag = new Option("Dachdecker","Dachdecker",false,false);
        document.info_request.info_taetigkeit_fein.options[3] = NeuerEintrag;
        NeuerEintrag = new Option("Fassadenbauer","Fassadenbauer",false,false);
        document.info_request.info_taetigkeit_fein.options[4] = NeuerEintrag;
        NeuerEintrag = new Option("Fensterhersteller","Fensterhersteller",false,false);
        document.info_request.info_taetigkeit_fein.options[5] = NeuerEintrag;
        NeuerEintrag = new Option("Fliesenleger","Fliesenleger",false,false);
        document.info_request.info_taetigkeit_fein.options[6] = NeuerEintrag;
        NeuerEintrag = new Option("Generalunternehmer","Generalunternehmer",false,false);
        document.info_request.info_taetigkeit_fein.options[7] = NeuerEintrag;
        NeuerEintrag = new Option("Glaserei","Glaserei",false,false);
        document.info_request.info_taetigkeit_fein.options[8] = NeuerEintrag;
        NeuerEintrag = new Option("Isolierer","Isolierer",false,false);
        document.info_request.info_taetigkeit_fein.options[9] = NeuerEintrag;
        NeuerEintrag = new Option("Laden/Messenbauer","Laden/Messenbauer",false,false);
        document.info_request.info_taetigkeit_fein.options[10] = NeuerEintrag;
        NeuerEintrag = new Option("Maler","Maler",false,false);
        document.info_request.info_taetigkeit_fein.options[11] = NeuerEintrag;
        NeuerEintrag = new Option("Metallbauer","Metallbauer",false,false);
        document.info_request.info_taetigkeit_fein.options[12] = NeuerEintrag;
        NeuerEintrag = new Option("Montagebetrieb","Montagebetrieb",false,false);
        document.info_request.info_taetigkeit_fein.options[13] = NeuerEintrag;
        NeuerEintrag = new Option("Rolladenkasten-Hersteller","Rolladenkasten-Hersteller",false,false);
        document.info_request.info_taetigkeit_fein.options[14] = NeuerEintrag;
        NeuerEintrag = new Option("Schreinerei/Tischlerei","Schreinerei/Tischlerei",false,false);
        document.info_request.info_taetigkeit_fein.options[15] = NeuerEintrag;
        NeuerEintrag = new Option("Trockenbauer","Trockenbauer",false,false);
        document.info_request.info_taetigkeit_fein.options[16] = NeuerEintrag;
        NeuerEintrag = new Option("Verfuger","Verfuger",false,false);
        document.info_request.info_taetigkeit_fein.options[17] = NeuerEintrag;
        NeuerEintrag = new Option("Zimmerei","Zimmerei",false,false);
        document.info_request.info_taetigkeit_fein.options[18] = NeuerEintrag;			
			}
			if (document.info_request.info_taetigkeit.selectedIndex == 3) {
				document.info_request.info_taetigkeit_fein.options[0].text = "auswählen";
				document.info_request.info_taetigkeit_fein.options[0].value = "";  
        for (var x=1; x <= 29; x++) {
          document.info_request.info_taetigkeit_fein.options[x] = null;
        }
        NeuerEintrag = new Option("Baubeschlaghandel","Baubeschlaghandel",false,false);
        document.info_request.info_taetigkeit_fein.options[1] = NeuerEintrag;
        NeuerEintrag = new Option("Baumarkt","Baumarkt",false,false);
        document.info_request.info_taetigkeit_fein.options[2] = NeuerEintrag;
        NeuerEintrag = new Option("Baustoffhandel","Baustoffhandel",false,false);
        document.info_request.info_taetigkeit_fein.options[3] = NeuerEintrag;
        NeuerEintrag = new Option("Befestigungstechnik","Befestigungstechnik",false,false);
        document.info_request.info_taetigkeit_fein.options[4] = NeuerEintrag;
        NeuerEintrag = new Option("Dachhandel","Dachhandel",false,false);
        document.info_request.info_taetigkeit_fein.options[5] = NeuerEintrag;
        NeuerEintrag = new Option("Dämstoffhandel","Dämstoffhandel",false,false);
        document.info_request.info_taetigkeit_fein.options[6] = NeuerEintrag;
        NeuerEintrag = new Option("Direktverteiler","Direktverteiler",false,false);
        document.info_request.info_taetigkeit_fein.options[7] = NeuerEintrag;
        NeuerEintrag = new Option("Fliesenhandel","Fliesenhandel",false,false);
        document.info_request.info_taetigkeit_fein.options[8] = NeuerEintrag;
        NeuerEintrag = new Option("Glashandel","Glashandel",false,false);
        document.info_request.info_taetigkeit_fein.options[9] = NeuerEintrag;
        NeuerEintrag = new Option("Handelexport","Handelexport",false,false);
        document.info_request.info_taetigkeit_fein.options[10] = NeuerEintrag;
        NeuerEintrag = new Option("Händler","Händler",false,false);
        document.info_request.info_taetigkeit_fein.options[11] = NeuerEintrag;
        NeuerEintrag = new Option("Holzhandel","Holzhandel",false,false);
        document.info_request.info_taetigkeit_fein.options[12] = NeuerEintrag;
        NeuerEintrag = new Option("Metalhandel","Metalhandel",false,false);
        document.info_request.info_taetigkeit_fein.options[13] = NeuerEintrag;
        NeuerEintrag = new Option("Objekthandel","Objekthandel",false,false);
        document.info_request.info_taetigkeit_fein.options[14] = NeuerEintrag;
        NeuerEintrag = new Option("Sanitärhandel","Sanitärhandel",false,false);
        document.info_request.info_taetigkeit_fein.options[15] = NeuerEintrag;
        NeuerEintrag = new Option("Spezialhandel","Spezialhandel",false,false);
        document.info_request.info_taetigkeit_fein.options[16] = NeuerEintrag;
        NeuerEintrag = new Option("Technische Handel","Technische Handel",false,false);
        document.info_request.info_taetigkeit_fein.options[17] = NeuerEintrag;
        NeuerEintrag = new Option("Trockenbauhandel","Trockenbauhandel",false,false);
        document.info_request.info_taetigkeit_fein.options[18] = NeuerEintrag;
        NeuerEintrag = new Option("Werkzeughandel","Werkzeughandel",false,false);
        document.info_request.info_taetigkeit_fein.options[19] = NeuerEintrag;			
			}
			if (document.info_request.info_taetigkeit.selectedIndex > 3) {
				document.info_request.info_taetigkeit_fein.options[0].text = "";
				document.info_request.info_taetigkeit_fein.options[0].value = "";
        for (var x=1; x <= 29; x++) {
          document.info_request.info_taetigkeit_fein.options[x] = null;
        }					
	    }
}


function validateRequest_form()
{
//?erprfen, ob Sendername eingegeben wurde

   if(document.info_request.elements['form_company'].value == '')
   {
   alert('Bitte geben sie den Firmennamen an!');
   document.info_request.form_company.focus();
   document.info_request.form_company.select();
   return false;
   }
   

//?erprft, ob ein @-Zeichen einegegeben wurde (bei Sender-Email)


   if(document.info_request.elements['form_title'].value == '-1')
   {
   alert('Bitte geben Sie eine Anrede an!');
   //document.info_request.form_title.select();
   document.info_request.form_title.focus();
   return false;
   }



   

   if(document.info_request.elements['form_firstname'].value == '')
   {
   alert('Bitte geben Sie Ihren Vornamen an!');
   document.info_request.form_firstname.focus();
   document.info_request.form_firstname.select();
   return false;
   }

  if(document.info_request.elements['form_lastname'].value == '')
   {
   alert('Bitte geben Sie Ihren Nachnamen an!');
   document.info_request.form_lastname.focus();
   document.info_request.form_lastname.select();
   return false;
   }


  if(document.info_request.elements['form_street'].value == '')
   {
   alert('Bitte geben Sie Ihre Straße an!');
   document.info_request.form_street.focus();
   document.info_request.form_street.select();
   return false;
   }


  if(document.info_request.elements['form_address'].value == '')
   {
   alert('Bitte geben Sie Ihre Adresse an!');
   document.info_request.form_address.focus();
   document.info_request.form_address.select();
   return false;
   }

  if(document.info_request.elements['form_phone'].value == '')
   {
   alert('Bitte geben Sie Ihre Telefonnummer an!');
   document.info_request.form_phone.focus();
   document.info_request.form_phone.select();
   return false;
   }

  if(document.info_request.elements['info_taetigkeit'].value == '')
   {
   alert('Bitte geben Sie Ihre Tätigkeit an!');
   document.info_request.info_taetigkeit.focus();
   //document.info_request.form_phone.select();
   return false;
   }

  if(document.info_request.elements['info_taetigkeit_fein'].value == '')
   {
   alert('Bitte machen Sie Detailangaben zu Ihrer Berufsgruppe!');
   document.info_request.info_taetigkeit_fein.focus();
   //document.info_request.form_phone.select();
   return false;
   }

   
   if(document.info_request.elements['form_department'].value == '')
   {
   alert('Bitte geben Sie Ihre Abteilung an!');
   document.info_request.form_department.focus();
   document.info_request.form_department.select();
   return false;
   }
   
   
}

function print_info_form() {
  document.write (' <br /> \
<div class="bewerbungAussen"> \
	<div class="bewerbungInnen"> \
	  <label class="informations">Firma*</label> \
	  <INPUT name="form_company" class="text-b" style="width:200px; height:12px; overflow:hidden;"> \
    <br /> \
    <label class="informations">Anrede*</label> \
	  <select name="form_title" class="text-b informations" style="width:200px; height:12px;"> \
	   <option value="-1" selected>wählen</option> \
     <option value="Herr">Herr</option> \
	   <option value="Frau">Frau</option> \
	  </select> \
    <br /> \
    <label class="informations">Titel</label> \
	  <select name="form_proftitle" class="text-b informations" style="width:200px; height:12px;"> \
	   <option value="-1" selected>wählen</option> \
     <option value="Dipl-Ing.">Dipl-Ing.</option> \
     <option value="Magister">Magister</option> \
     <option value="Dr.">Dr.</option> \
	   <option value="Prof.">Prof.</option> \
		 <option value="Prof. Dr.">Prof. Dr.</option> \
	  </select> \
    <br /> \
    <label class="informations">Vorname*</label> \
	  <INPUT name="form_firstname" class="text-b informations" style="overflow:hidden;"> \
    <br /> \
    <label class="informations">Nachname*</label> \
	  <INPUT name="form_lastname" class="text-b informations" style=" overflow:hidden;"> \
    <br /> \
    <label class="informations">Abteilung*</label> \
	  <INPUT name="form_department" class="text-b informations" style=" overflow:hidden;"> \
    <br /> \
    <label class="informations">Position</label> \
	  <INPUT name="form_departposition" class="text-b informations" style=" overflow:hidden;"> \
    <br /> \
    <label class="informations">Straße, Nr*</label> \
	  <INPUT name="form_street" class="text-b informations" style=" overflow:hidden;"> \
    <br /> \
    <label class="informations">PLZ, Ort*</label> \
	  <INPUT name="form_address" class="text-b informations" style="overflow:hidden;"> \
    <br /> \
    <label class="informations">Land*</label> \
	  <INPUT name="form_country" class="text-b informations" style="overflow:hidden;"> \
    <br /> \
    <label class="informations">Telefon*</label> \
	  <INPUT name="form_phone" class="text-b informations" style="overflow:hidden;"> \
    <br /> \
    <label class="informations">Fax</label> \
	  <INPUT name="form_fax" class="text-b informations" style="overflow:hidden;">  \
    <br />\
    <label class="informations">Email-Addresse</label> \
	  <INPUT name="form_email" class="text-b informations" style="overflow:hidden;"> \
    <br /> \
    <label class="informations">Internet</label> \
	  <INPUT name="form_internet" class="text-b informations" style="overflow:hidden;"> \
    <br /> \
    <label class="informations">Sie sind*</label> \
    <select name="info_taetigkeit" class="text-b informations" style="width:200px;" onChange="set_job_select()"> \
			<option value="" selected>auswählen</option> \
			<option value="Architekt">Architekt</option> \
      <option value="Verarbeiter">Verarbeiter</option> \
      <option value="Händler">Händler</option> \
      <option value="Investor">Investor</option> \
      <option value="privater Bauherr">privater Bauherr</option> \
      <option value="Industrie/Produktion">Industrie/Produktion</option> \
      <option value="öffentliche Stelle">öffentliche Stelle</option> \
      <option value="Wohnungsbaugesellschaft">Wohnungsbaugesellschaft</option> \
      <option value="Student/Bildung">Student/Bildung</option> \
			</select> \
    <br />\
    <label class="informations">Sie sind (genau)*</label> \
    <select id="info_taetigkeit_fein" name="info_taetigkeit_fein" class="text-b informations" style="width:200px;"> \
		<option value="" selected></option> \
		</select> \
		<br />\
    <span class="text-b">Schreiben Sie uns Ihre speziellen Fragen oder Wünsche:</span> \
    <textarea name="form_custom" style="text-b" style="margin-left:150px;width:200px; height:80px; overflow:hidden;"></textarea> \
    <br /><br /> \
     \
    <input type="image" src="/global/icons/mail.gif" name="submit" border="0" alt="Senden" style="position:relative; top:5px;"> \
    <span class="text-b">Senden</span> \
    <div align="right" class="text-b">* Pflichtfelder</div> \
  </div> \
  </div> \
  </form> ');
}


//-->

