/*
 * Set the value of a form input field.
 *
 * This function is designed to be called from onclick() event 
 * handlers to dynamically set the value of a field that is submitted 
 * (usually in a hidden form field)
 */
function submitFormField(formName, elemName, value) {
    document.forms[formName].elements[elemName].value = value
    document.forms[formName].submit()
}

/* 
 * Cause a specific frame to navigate to a specified target url.
 * 
 * This function handles navigation within a framed browser environment.
 * The DynamicMenuApplet will call this function to cause the content
 * frame of the application to navigate to the appropriate target url
 * within the application.
 */
function frameNavigation(targetFrame, targetUrl) {
    top.frames[targetFrame].location=targetUrl;
}

/*
 * Set a specific message in the window's status bar.
 */
function statusMessage(message) {
    window.status = message;
}
