// ************************************************************************************
// Function for closing a child window application.
function exitApplication() {
   opener.focus();
   this.close();
}
// ************************************************************************************

// ************************************************************************************
// Function for opening a new browser window.
function openWindow(url) {
    window.open(url);
}
// ************************************************************************************

// ************************************************************************************
// 
function checkValue(obj1,obj2,x) {
	if (obj1[x].checked==true) {
		obj2[x].checked=true;
	}
}
// ************************************************************************************

// ************************************************************************************
// Function for changing the value of an object
function changeVal(obj,x) {
	obj.value=x;
}
// ************************************************************************************

function deselectOptions(obj) {
	obj.selectedIndex=-1;
}

// ************************************************************************************
// Function for submitting a form
function submitForm(form) {
	form.submit();
}
// ************************************************************************************

// ************************************************************************************
// Function for to change the action value then submitting the form
function execAction(form,action,x) {
	action.value=x;
	form.submit();
}
// ************************************************************************************