/***********************************************
* SKRIPT JOBS
***********************************************/
			
	function job(id) {
/***********************************************/	

		if(document.getElementById("job_2").style.display == "") {
			document.getElementById("job_2").style.display = "none"
		}
		if(document.getElementById("job_3").style.display == "") {
			document.getElementById("job_3").style.display = "none"
		}
		if(document.getElementById("job_4").style.display == "") {
			document.getElementById("job_4").style.display = "none"
		}
		if(document.getElementById("job_7").style.display == "") {
			document.getElementById("job_7").style.display = "none"
		}
		if(document.getElementById("job_8").style.display == "") {
			document.getElementById("job_8").style.display = "none"
		}		
/***********************************************/		
	document.getElementById("job_" + id).style.display = "";		
}
/***********************************************/


/***********************************************
* SKRIPT FORMULAR
***********************************************/
function checkform_kontakt()
 {

  if(document.kontaktform.name.value == "")
   {
    alert("Bitte geben Sie Ihren Namen ein");
    document.kontaktform.name.focus();
    return false;
   } 
   
  if ((document.kontaktform.e_mail.value.indexOf('@', 0) == -1) || (document.kontaktform.e_mail.value.indexOf('.') == -1)) 
  {
   alert("Bitte geben Sie eine gltige E-Mail-Adresse ein");
   document.kontaktform.e_mail.focus();
   return false;
  } 
    
  else
   {
    document.kontaktform.submit();
    return document.kontaktform.submit()
   }
 }
/***********************************************/

/***********************************************
* SKRIPT FORMULAR EN
***********************************************/
function checkform_contact()
 {

  if(document.contactform.name.value == "")
   {
    alert("Please fill in your Name.");
    document.contactform.name.focus();
    return false;
   } 
   
  if ((document.contactform.e_mail.value.indexOf('@', 0) == -1) || (document.contactform.e_mail.value.indexOf('.') == -1)) 
  {
   alert("Please fill in your valid E-Mail-Address.");
   document.contactform.e_mail.focus();
   return false;
  } 
    
  else
   {
    document.contactform.submit();
    return document.contactform.submit()
   }
 }
/***********************************************/


/***********************************************
* BILDER-TAUSCH FUER SYSTEME
***********************************************/

  oGross1 = new Image();
  oGross1.src = "http://www.oelschlaeger.de/_images/logis-picto.gif";
  oGross2 = new Image();
  oGross2.src = "http://www.oelschlaeger.de/_images/instand-picto.gif";
  oGross3 = new Image();
  oGross3.src = "http://www.oelschlaeger.de/_images/profil-picto.gif";
  oGross4 = new Image();
  oGross4.src = "http://www.oelschlaeger.de/_images/l4-picto.gif";
  oGross5 = new Image();
  oGross5.src = "http://www.oelschlaeger.de/_images/freestand-picto.gif";		
  oGross10 = new Image();
  oGross10.src = "http://www.oelschlaeger.de/_images/blind.gif";		

  function bildwechsel(tauschplatz, bildobjekt)
  {
   document.getElementById(tauschplatz).src = bildobjekt.src;
  }
/***********************************************/


/***********************************************
* SKRIPT POPUP
***********************************************/
function openwindow (url) {
 fenster = window.open(url, "fenster1", "width=500,height=450,status=yes,scrollbars=yes,resizable=yes");
 fenster.focus();
}
/***********************************************/