
onerror = stopError;
function stopError()
{
return true;
}

if(top.frames.length > 0)
top.location.href=self.location;

var Fenster = null;
function videoFenster(myVerweis,myName,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings ='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable';
Fenster = window.open(myVerweis,myName,settings);
}


function genDoc(WinBreite,WinHoehe,WinLinks,WinOben,Beschreibung,Bildname,BiBreite,BiHoehe)
{
Ausgabe = open(" ","displayWIN","width="+WinBreite+",height="+WinHoehe+",left="+WinLinks+",top="+WinOben+",menubar=no,toolbar=no,directories=no,scrollbars=no,resizable=no,status=no,location=no");
winseite = Ausgabe.document;
Anzeige = "<html><head><title>"+Beschreibung+"</title></head><body bgcolor='#DDDDDD' leftmargin='20' topmargin='20' marginwidth='20' marginheight='20'><div align='center'><img src='"+Bildname+"' border='0' width='"+BiBreite+"' height='"+BiHoehe+"'><br><br><a href='javascript:window.close();' style='font-family:arial,helvetica,verdana,geneva;font-size:9pt;font-weight:bold;color:#005544;text-decoration:underline;'>schlie&szlig;en</a></div></body></html>";
winseite.open();
winseite.write(Anzeige);
winseite.close();
}


function chkFormular()
  {
   if(document.Formular.Nachname.value == "")
    {
     alert("Bitte geben Sie Ihren Namen ein!");
     document.Formular.Nachname.focus();
     return false;
    }

	if(document.Formular.email.value == "")
    {
     alert("Bitte geben Sie Ihre E-Mail Adresse ein!");
     document.Formular.email.focus();
     return false;
    }
	
	if(document.Formular.tester.checked == false)
    {
     alert("Bitte markieren Sie die Checkbox zur Abwehr von SPAM!");
     document.Formular.tester.focus();
     return false;
    }
	
	if(document.Formular.tester2.value == "1")
    {
	 // alert("SPAM!!!");
     document.Formular.email.focus();
     return false;
    }
  }

function disableselect(e){
return false
}

function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}

