

function changepage(mypage) {

	var f2 = document.ChangePageForm;

	f2.action.value = 'changepage';

	f2.sender.value = '';

	f2.target.value = '';

	f2.data.value = '';

	f2.page.value = mypage;	

	f2.submit();

}		



function runaction(action, target) {

	var f = document.Form1;

	f.action.value = action;

	f.target.value = target;

	f.submit();

}		



function runcommand(action, sender, target, data) {

	var f = document.Form1;

	f.action.value = action;

	f.sender.value = sender;

	f.target.value = target;

	f.data.value = data;

	f.submit();

}



function keyCR() {

	if (event.keyCode == 13) {

		return true;

	} else { 

		return false; 

	}

}



function openURL(destination, target) {

	if ((target == null) || (target == '')) {

		return window.open(destination);

	} else {

		return window.open(destination, target);

	}

}

