//This code is the beginning of the right click disable
function right(e)
{
	//This function is for Net 4.
	if (navigator.appName == 'Netscape' && (e.which == 3 || e.which ==2))
	{
		return false;
	}
	return true;
}

function context()
{
	//This function takes care of Net 6 and IE.
	return false;
}

document.onmousedown=right;
document.oncontextmenu=context;