	function click(e){

	//Disables right-click function, but leaves all left-click function enabled: 
	//Doesn't work inside the <head> tags--I put them right after the opening <body> tag and they work fine there.  
  if (document.all) 
    if (event.button == 2) 
      return false;
  if(document.layers) 
    if (e.which == 3) 
      return false;
  }

	function click2(){

    //Disables right-click function, but leaves all left-click function enabled: 
    //Doesn't work inside the <head> tags--I put them right after the opening <body> tag and they work fine there.  
    event.returnValue=false;
    return false;
  }

  if (document.layers)
	  document.captureEvents(Event.MOUSEDOWN);document.onmousedown=click;document.oncontextmenu=click2;

