refactored more common code in mareano.jsp and mareano_en.jsp