	//Disable right click script III- By Renigade (renigade@mediaone.net)
		//For full source code, visit http://www.dynamicdrive.com
		var message="";
		///////////////////////////////////
		function clickIE() {if (document.all) {(message);return false;}}
		function clickNS(e) {if 
		(document.layers||(document.getElementById&&!document.all)) {
		if (e.which==2||e.which==3) {(message);return false;}}}
		if (document.layers) 
		{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
		else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
		document.oncontextmenu=new Function("return false")
		
		function popup(mylink, windowname)
		{
		if (! window.focus)return true;
		var href;
		if (typeof(mylink) == 'string')
		href=mylink;
		else
		href=mylink.href;
		window.open(href, windowname, 'status=no,locationbar=no,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,height=400,width=560');
		return false;
		}
		
		function targetopener(mylink, closeme, closeonly)
		{
		if (! (window.focus && window.opener))return true;
		window.opener.focus();
		if (! closeonly)window.opener.location.href=mylink.href;
		if (closeme)window.close();
		return false;
		}
				
		function IsIE()
		{
			//Gibt true zurück, wenn der IE genutzt wird, ansonsten falsch
			if(navigator.appName == "Microsoft Internet Explorer")
			{
				return(true);
			}
			else
			{
				return(false);
			}
		}
		
		function PrepareKeydown()
		{
			if(IsIE())
			{
				//Keine weiteren Aktionen erforderlich
			}
			else
			{
				//Getestet mit Mozilla und Opera 7.52
				document.captureEvents(Event.KEYDOWN);
				document.getElementById("tbxPasswort").onkeydown = login;
			}
		}
		
		function InitPage()
		{
			PrepareKeydown();
			focusDGKMembernumberInput();
		}
		
		function login(e)
		{
			if(IsIE())
			{
				//Internet Explorer
				if(event.keyCode==13)
				{
					__doPostBack('btnAnmelden','');
				}	
			}
			else
			{
				//Other (Mozilla, Opera)
				if(e.which == 13)
				{
					__doPostBack('btnAnmelden',"");
				}
			}
		}
		
		function focusDGKMembernumberInput()
		{
			document.getElementById("tbxLogin").focus();
		}
