function click() 
{
	if (event.button==2) 
	{
	alert('Sorry, this function is disabled.')
	}
}
document.onmousedown=click
