// JavaScript Document

<!-- Original:  Richard Cleaver (richard@cleaver.org.uk) -->
<!-- Web Site:  http://www.cleaver.org.uk -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
var Yoffset = 0;
var undefined;
var check = false;

<!-- Original:  Richard Cleaver (richard@cleaver.org.uk) -->
<!-- Web Site:  http://www.cleaver.org.uk -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function floatButton () {
	if (document.all) {
		document.all.topButton.style.pixelTop = document.documentElement.scrollTop;
		}
	else if (document.layers) {
		document.topButton.top = window.pageYOffset;
		}
	else if (document.getElementById) {
		document.getElementById('topButton').style.top = window.pageYOffset + 'px';
   		}
	}

function initButton () {
	if (check) {
		if (document.all) {
			//document.all.topButton.style.pixelLeft = document.body.clientWidth - document.all.topButton.offsetWidth;
			document.all.topButton.style.visibility = 'visible';
			}
		else if (document.layers) {
			//document.topButton.left = window.innerWidth - document.topButton.clip.width - 15;
			document.topButton.visibility = 'show';
			}
		else if (document.getElementById) {
			//document.getElementById('topButton').style.left = (window.innerWidth - 35) + 'px';
			document.getElementById('topButton').style.visibility = 'visible';
   			}
		}
	}

function MacScroll() {
	// Add IE Mac onscroll Support
	if ((document.body.oldScrollTop!=document.body.scrollTop) || (document.body.oldScrollLeft!=document.body.scrollLeft))
		if (window.onscroll)
			window.onscroll()
	document.body.oldScrollTop = document.body.scrollTop
	document.body.oldScrollLeft = document.body.scrollLeft
	}

function right(e) {
	if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) return false;
	else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) {
		alert("Sorry, you do not have permission to right click.");
		return false;
		}
	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;

//  End -->