// BROWSERS
is=new Array();
is.dom  = document.getElementById?1:0;
is.ua   = navigator.userAgent.toLowerCase();
is.ie   = is.ua.match(/msie/)||0;
is.mac  = is.ua.match(/mac/)||0;

/*
	NOSECONDMOUSE v.1.1b
	(c) Gabriel Suchowolski power[z]one / www.microbians.com / powerz@microbians.com
	Distributed under the terms of the GNU LGPL license (www.gnu.org)
	Available at http://www.microbians.com
*/

function NSclick(e) {
	if (e.preventDefault) { 
    		if (e.button == 2 || e.button == 3) {
      			e.preventDefault();
			return false;
  		}
	} else {
		if (e.which == 3) {
			return false;
		}
	}
}

if (is.ie) { 
	document.oncontextmenu = new Function("return false;")
} else if (is.dom) {
	document.onmousedown=NSclick;
	document.captureEvents(Event.MOUSEDOWN);
} else {
	document.onmouseup=NSclick;
}

// IE6 FIX for ActiveX
documentWriter=function(o){document.write(o)}