
  function click0() {
    if (event.button != 1) {
      popup();
      return false;
    }
  }
  function nsc(e) {
    if (e.which != 1) keinkontext();
  }
  function popup() {
    return false;
  }
  function nichts(e) {
    if (e.which != 1) return false;
  }
  function keinkontext() {
    clearTimeout(zeit);
    zeit = setTimeout("kontext()",1);
  }
  function kontext() {
    clearTimeout(zeit);
    popup();
  }
  
  imgs = document.getElementsByTagName('img');
  
  for(i=0;i<imgs.length;i++)
  {
		if (document.getElementById) 
		{
			imgs[i].oncontextmenu=popup;
		}
		else 
		{
			imgs[i].onmousedown=click0;
		}
		
		if (!(document.all) && document.getElementById)
		{
			
			imgs[i].oncontextmenu=popup;
		}
  }
  
