// doesnt work in firefox, opera at mo
function noRightClick2(e) {
	var message = 'Sorry, these images are copyrighted.';
	/*
	if (navigator.appName == 'Microsoft Internet Explorer' && event.button == 2) {
		alert(message);
	} 
	// alert(e.which); // 1 is left 3 is right
	// firefox, chrome, safari
	if (navigator.appName == 'Netscape' && e.which == 3) {
		alert(message);
	}
	// opera ???
	if (navigator.appName == 'Opera' && e.which == 3) {
		alert(message);
	}
	*/
	alert(message);
	return false;
}
function noRightClick() {
	if(document.images) {
		for(i=0;i<document.images.length;i++) {
			document.images[i].onmousedown = noRightClick2;
		}
	}
}
