<!--

function frage(F1) {

	Frage = confirm(F1);
	if(Frage == false) return false;
	else {return true;}
}

function CP(meintext) {

	if(window.clipboardData){
		alert("explorer");
		// the IE-manier
		window.clipboardData.setData("Text", meintext);

		// waarschijnlijk niet de beste manier om Moz/NS te detecteren;
		// het is mij echter onbekend vanaf welke versie dit precies werkt:
	
	}else if (window.netscape){ 
		alert("netscape");
	// This is importent but it's not noted anywhere
   netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
   
   // create interface to the clipboard
   var clip = Components.classes['@mozilla.org/widget/clipboard;[[[[1]]]]'].createInstance(Components.interfaces.nsIClipboard);
   if (!clip) return;
   
   // create a transferable
   var trans = Components.classes['@mozilla.org/widget/transferable;[[[[1]]]]'].createInstance(Components.interfaces.nsITransferable);
   if (!trans) return;
   
   // specify the data we wish to handle. Plaintext in this case.
   trans.addDataFlavor('text/unicode');
   
   // To get the data from the transferable we need two new objects
   var str = new Object();
   var len = new Object();
   
   var str = Components.classes["@mozilla.org/supports-string;[[[[1]]]]"].createInstance(Components.interfaces.nsISupportsString);
   
   var copytext=meintext;
   
   str.data=copytext;
   
   trans.setTransferData("text/unicode",str,copytext.length*[[[[2]]]]);
   
   var clipid=Components.interfaces.nsIClipboard;
   
   if (!clip) return false;
   
   clip.setData(trans,null,clipid.kGlobalClipboard);
	}
	alert("Following info was copied to your clipboard:\n\n" + meintext);
	return false;

}


function PopUp(file,width,height) {

	var pop_win = window.open(file,'popup','width='+width+',height='+height+',scrollbars=1,status=0,menubar=0,resizable=1,toolbar=0,location=0');
}

function anmelden(file,width,height) {

	var pop_win = window.open(file,'Anmeldung','width='+width+',height='+height+',scrollbars=1,status=0,menubar=0,resizable=1,toolbar=0,location=0');
}

//-->