

lowlight1 = new Image(); 
lowlight1.src =  "fileadmin/templates/ion2s/images/profil.gif";
highlight1 = new Image(); 
highlight1.src ="fileadmin/templates/ion2s/images/profil_ii.gif"; 

lowlight2 = new Image(); 
lowlight2.src ="fileadmin/templates/ion2s/images/profil.gif";
highlight2 = new Image(); 
highlight2.src = "fileadmin/templates/ion2s/images/profil_ci.gif"; 

lowlight3 = new Image(); 
lowlight3.src ="fileadmin/templates/ion2s/images/profil.gif";
highlight3 = new Image(); 
highlight3.src = "fileadmin/templates/ion2s/images/profil_ki.gif"; 

lowlight4 = new Image(); 
lowlight4.src = "fileadmin/templates/ion2s/images/profil.gif";
highlight4 = new Image(); 
highlight4.src ="fileadmin/templates/ion2s/images/profil_ion2s.gif";

function Feedback(Bildname,Bildobjekt)
{
 document.getElementById(Bildname).src = Bildobjekt.src;
}



function openWindow(seite){
popup = window.open(seite,"","height=440,width=440,scrollbars=yes");

popup.focus();
popup.moveTo(((screen.width/2)-220),((screen.height/2)-220));
}

function containerSwitching(nummer)
{
	var x = new getObj('container'+nummer);          
	x.style.display = (x.style.display == 'block') ? 'none' : 'block';
}

function getObj(name)
{
  if (document.getElementById)
  {
  	this.obj = document.getElementById(name);
	this.style = document.getElementById(name).style;
  }
  else if (document.all)
  {
	this.obj = document.all[name];
	this.style = document.all[name].style;
  }
  else if (document.layers)
  {
   	this.obj = document.layers[name];
   	this.style = document.layers[name];
  }
}



function chkFormular()
{
if(document.Formular.email.value == "") {
   alert("Bitte geben Sie Ihre E-Mail-Adresse ein!");
   document.Formular.email.focus();
   return false;
  }

 if(document.Formular.email.value.indexOf('@') == -1) {
   alert("Ihre E-Mail-Adresse weist einen Fehler auf! Bitte versuchen Sie es erneut!");
   document.Formular.email.focus();
 return false;
  }
}