// JavaScript source code

var ReloadAttempts = 0;
var blnAllowBackSpace = false;

function ActivateBackSpace(){
	blnAllowBackSpace = true;
}

function DeActivateBackSpace(){
	blnAllowBackSpace = false;
}

function DisableBack(oKeyEvent){
	if (((oKeyEvent.altKey || oKeyEvent.altLeft) && oKeyEvent.keyCode == 37) || (oKeyEvent.keyCode == 8 && !blnAllowBackSpace)){
		CancelEvent(oKeyEvent);
	}
}	

function CancelEvent(oEvent){
	oEvent.returnValue = false;
	oEvent.cancelBubble = true;
}

function menuClick(URL,LoadInFrame) {
    //parent.frames(LoadInFrame).document.location.href = URL; -- doesn't work in Firefox
    parent.document.getElementById(LoadInFrame).src = URL;
}
