//mailverschleierung
function funMail(who,domain)
{
  var sName = who;
  var sDomain = domain;
  var sendmail = 'mailto:' + sName + '@' + sDomain
  window.location.href = sendmail
}

//when clicking on navigation-cell
function klickNav(obj){if(event.srcElement.tagName=='TD'){obj.children.tags('A')[0].click();}}

function highNav(obj)	{
	obj.style.backgroundColor='0D0069';	obj.children.tags('A')[0].style.color='ffffff';	obj.style.cursor = 'hand';
}
function lowNav(obj)	{
	obj.style.backgroundColor='';	obj.children.tags('A')[0].style.color='';	obj.style.cursor = 'default';
}

//imagerollover function
function ImgOut() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function ImgAlphaOver() {window.event.srcElement.style.filter = "alpha(opacity=50)";}
function ImgAlphaOut() {window.event.srcElement.style.filter = "alpha(opacity=100)";}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function ImgOvr() { //v3.0
  var i,j=0,x,a=ImgOvr.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function ImgOut() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function openWindow(sUrl,iX,iY) {
	WinX=Math.round(screen.width/2)  -(iX/2);
  WinY=Math.round(screen.height/2) -(iY/2);
	poup=window.open(sUrl, 'remote', 'menubar=yes,scrollbars=yes,directories=no,status=yes,resizable=yes,width='+iX+',height='+iY+',screenX='+WinX+',screenY='+WinY+',true');
poup.focus();
}
