﻿if (window.Event) 
document.captureEvents(Event.MOUSEUP);
function Mail1()
{
event.cancelBubble = true;
event.returnValue = false;
return false;
}
function Mail2(e)
{
if (window.Event)
{
if (e.which == 2 || e.which == 3)
return false;}
else
if (event.button == 2 || event.button == 3)
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
}
document.oncontextmenu = Mail1;
document.onmousedown = Mail2;

function sutgas(target){
if (typeof target.onselectstart!="undefined")
	target.onselectstart=function(){return false}
else if (typeof target.style.MozUserSelect!="undefined")
	target.style.MozUserSelect="none"
	target.onmousedown=function(){return false}
target.style.cursor = "default"
}