history.forward();
function stopRKey(evt) {
	var evt  = (evt) ? evt : ((event) ? event : null);
	var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null);
	if ((evt.keyCode == 13) && ((node.type=="text") || (node.type=="password"))) { return false; }
}
document.onkeypress = stopRKey;
function formfocus() {
	if(document.forms.length > 0) {
		var formElements = ["text", "checkbox", "radio", "select-one", "select-multiple", "textarea", "password"];
		var form = document.forms[document.forms.length-1];
		for (var j = 0; j < form.elements.length; j++) {
			var field = form.elements[j];
			for(var x = 0; x < formElements.length; x++) {
				if (field.getAttribute("type") == formElements[x]) {
					field.focus();
					return false;
				}
			}
		}
	}
}
function jump2(pg) {
	if(pg > 0) {
		window.location.hash='J2';
	} else {
		return;
	}
}
function size0(pg) {
	if(pg == 0) {
		var sheight = screen.availHeight;
		var hheight = document.getElementById('sh').offsetHeight;
		var lheight = document.getElementById('sb1').offsetHeight;
		var fheight = document.getElementById('sf').offsetHeight;
		var hb = parseInt((sheight-hheight-lheight-fheight)*.65);
		document.getElementById('bd1').style.height = parseInt(hb*.99) + 'px';
		document.getElementById('bd1').style.overflow = 'auto';
		document.getElementById('bd2').style.height = parseInt(hb*.99) + 'px';
		document.getElementById('bd2').style.overflow = 'auto';
		document.getElementById('sb2').style.offsetHeight = hb + 'px';
	}
	return;
}
