
var bDisable = 0;

function clickdisable(n){
bDisable = n;
}
function disableselect(e){
return false
}

function reEnable(){
return true
}

//if IE4+
document.onselectstart=new Function ("return false")

//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}

function right(e) {
	if (bDisable)
	{
		alert("Please support us by using our e-commerce facility to purchase downloadable and printable versions of the information on this site");
		return false;
	} 
	else 
	{
		if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3 || bDisable))
		{
			alert("Please support us by using our e-commerce facility to purchase downloadable and printable versions of the information on this site");
			return false;
		}
		else
		{
			return true;
		}
	}
}

document.onmousedown=right;
document.onmouseup=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown=right;
window.onmouseup=right;

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

