function key_presed(e,on_enter_fwd_func,on_not_enter_fwd_func)
	{var key_code = 0;
	
	if (e)
		{key_code = e.keyCode;
		if (!key_code) {key_code = e.which;}
		
		if (key_code == 13)
		   {eval(on_enter_fwd_func);}
		else if (on_not_enter_fwd_func)
			{eval(on_not_enter_fwd_func);}
		}
	}