//Navigator Indentification

var nav=navigator.appName;
var ie=(nav.indexOf("Microsoft")!=-1);
var ns=(nav.indexOf("Netscape")!=-1);

//No right click function for both browsers that enables access to view source code, 
//save images, view page properties, save background and many security issues

function nrcIE() {
	alert("Sorry, this page doesn't support this function. © 2005 Success Media Group Inc. ");
	return false;
}

function nrcNS(e) {
	if(e.which==2 || e.which==3) {
		return false;
	}
}

if(ie) {
	document.oncontextmenu=nrcIE;
}

if(ns) {
	if(document.layers){
		document.captureEvents(Event.MOUSEDOWN);
		document.onmousedown=nrcNS;
	}
	if(document.getElementById) {
		document.onmouseup=nrcNS;
	}
}

//Does not allow dragging(images, text, etc) or selecting (text)

document.onselectstart=nrcIE;
document.ondragstart=nrcIE;