		
var isFormButtonPressed;
isFormButtonPressed = false;
			  
function jsfunc_form_popupselect(thePopup,theFieldName,theHeight,theWidth) {

  valuesField = eval( "window.document.forms[0]." + theFieldName );
  theValues=valuesField.value;			  
  var newWindow;	
  var props = 'scrollBars=yes,resizable=yes,toolbar=no,menubar=no,location=no,directories=no,width='+theWidth+',height='+theHeight;
  newWindow = window.open( 'dialog-popup-'+thePopup+'.asp?values='+theValues+'&field='+theFieldName, "Add_Remove_Win", props);

  newWindow.focus();
  }	
  		  
  
function jsfunc_form_updateListFromChild( theFieldName, theValues, theDisplayValues ) {

	destField = eval( "window.document.forms[0]." + theFieldName );
	destField.value = theValues;
	
	myH1=document.getElementById(theFieldName+'_displayID');
	myH1.innerHTML=theDisplayValues;

}			  
