function openwindow(url, windowname, options){
	NewWindow = window.open( url, windowname, options );
	setTimeout("NewWindow.focus();", 100);
}
function openResizeWindow(url, windowname, options, iWidth, iHeight){
	if(iWidth>0 && iHeight>0){
		iWidth += 10;
		iHeight += 50;
	}
	NewWindow = window.open( url, windowname, options );
	if(iWidth>0 && iHeight>0){
		NewWindow.resizeTo(iWidth,iHeight);
	}
	NewWindow.location.href = url;
	setTimeout("NewWindow.focus();", 100);
}


//E-Mail Verschlüsselung

function decode(name,anbieter,land){
document.write('<a href="' + 'mailto:' + name + '@' + anbieter + '.' + land + '">'+ name + '@' + anbieter + '.' + land +'</a>');
}


function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
