function openLink(formName){

document.forms[formName].submit(); 

}