	function submit_enter(myfield,e,fuseaction,param1,param2)
    {
	    var keycode;
	    if (window.event)
	       	keycode = window.event.keyCode;
	    else 
	      	if (e) 
	        	keycode = e.which;
	     	else return true;
	    if (keycode == 13)
	    { 
			if (fuseaction == undefined){
				document.forms[0].submit();	
			}
			else{
				perform_action(fuseaction,param1,param2);
			}
	      	return false;
	    }
	    else
	     	 return true;
    }
	
	function refresh_frame(p_frame){
		
		if (document.getElementById) 
			v_frame = top.document.getElementById(p_frame);
		else if (document.all)
			v_frame = top.document.all[p_frame];
		else if (document.layers) 
			v_frame = top.document.layers[p_frame];
			
		if (v_frame.contentDocument) {
			// For NS6
			v_frame_doc = v_frame.contentDocument; 
		  } else if (v_frame.contentWindow) {
			// For IE5.5 and IE6
			v_frame_doc = v_frame.contentWindow.document;
		  } else if (v_frame.document) {
			// For IE5
			v_frame_doc = v_frame.document;
		  }
  
  		v_frame_doc.location.href = v_frame_doc.location.href;
		
	}
