  function prepareResponse() {
    document.getElementById('slides').contentWindow.document.body.innerHTML= '';

    if(document.login.loginpassw.value.length > 0) {
      document.login.loginresponse.value=MD5(document.login.loginpassw.value);
	}  
    document.login.loginpassw.value = "";
  }

  // JS function for uncrypting spam-protected emails:
  function UnCryptMailto(s) {	//
	  var n=0;
	  var r="";
	  for(var i=0; i < s.length; i++) {
		  n=s.charCodeAt(i);
		  if (n>=8364) {n = 128;}
		  r += String.fromCharCode(n-(2));
	  }
	  return r;
  }
  // JS function for uncrypting spam-protected emails:
  function linkTo_UnCryptMailto(s)	{	//
    document.getElementById('slides').contentWindow.document.body.innerHTML= '';
    location.href=UnCryptMailto(s);
  }

  function pophelp(i, l) {
    document.getElementById('slides').contentWindow.document.body.innerHTML= '';
    newWindow = window.open('help.php?id=' + i + '&lg=' + l, 'HelpWindow' + i,'width=600,height=300,directories=0,status=0,menuBar=0,scrollBars=1,resizable=1');
  }

  function impress(l) {
    document.getElementById('slides').contentWindow.document.body.innerHTML= '';
    newWindow = window.open('impressum.php?lg=' + l, 'Impressum','width=600,height=300,directories=0,status=0,menuBar=0,scrollBars=1,resizable=1');
  }
  