var mouseDownBlock = {

 ns : document.layers ? true:false,
 ie : document.all ? true:false,

 init : function(e)
 {
   
   clickType = (!e ? window.event.button : e.which);   
   if(mouseDownBlock.ns) document.captureEvents(Event.MOUSEDOWN);
   if(clickType == 2 || clickType == 3)
   {	   
     //alert('prawy przycisk myszy jest zablokowany');
	 return false;
   }
 },
//-------------------------------------------------------------------------------------------------
noSelect : function(e)
{
  e = (!e ? window.event : e);   
  e.returnValue = false;   
}
//-------------------------------------------------------------------------------------------------
}
document.onmousedown = function() { return false; }
//document.onselectstart = mouseDownBlock.noSelect;
document.onselectstart = new Function("return false;");
document.oncontextmenu = new Function("return false;");

