NotAllowed='Diese Funktion wird nicht unterstützt!\nSorry!';

function NoRightButton()
{
 if (event.button==2 || event.button==3 || event.button==6 || event.button==7)
 { alert(NotAllowed); }
}

function NoLeftButton()
{
 if (event.button==1 || event.button==3 || event.button==5 || event.button==7)
 { alert(NotAllowed); }
}

function NoMiddleButton()
{
 if (event.button==4 || event.button==5 || event.button==6 || event.button==7)
 { alert(NotAllowed); }
}

function NoFunctionKey()
{
 if (event.keyCode==8)
 {
  alert(NotAllowed);
  event.keyCode+=1;
 }
}

function OpenURL(Url, Fenster, Breite, Hoehe, Resize, Scrollbar, Location)
{
 Param="toolbar=no,directories=no,status=no,menubar=no";

 if ((Location==1) || (Location=="yes"))
 { Param = Param + ",location=yes"; }
 else
 { Param = Param + ",location=no"; }

 if (Scrollbar==1 || Scrollbar=="yes")
 { Param = Param + ",scrollbars=yes"; }
 else
 { Param = Param + ",scrollbars=no"; }

 if (Resize==1 || Resize=="yes")
 { Param = Param + ",resizable=yes"; }
 else
 { Param = Param + ",resizable=no"; }

 Param = Param + ",width=" + Breite + ",height=" + Hoehe;

 F1 = window.open(Url,Fenster,Param);
}