function Gui() {
	this.showBox = function(boxid) {
		$('select').css("visibility","hidden");
		$('#pleaseWaitBg').show();
		$('#'+boxid).show();
	}

	this.hideBox = function(boxid) {
		$('select').css("visibility","visible");
		$('#'+boxid).hide();
		$('#pleaseWaitBg').hide();
	}

	/*this.parseResult = function( result ) {
		var html = '<em>Result:</em><br/>';
		if ( typeof(result) == 'object' ) {
			html += '<table cellpadding="3" cellspacing="0">';
			for ( var i = 0; i < result.length; i++ ) {
				html += '<tr>';
				for ( var j = 0; j< result[i].length; j++ ) {
					html += '<td style="border-bottom: 1px dashed #999;">' + result[i][j] + '</td>';
				}
				html += '</tr>\n';
			}
			html += '</table>';
		} else if ( typeof(result) == 'string' ) {
			html += result;
		} else {
			alert( "Unrecognized return type: '" + typeof(result) + "'" );
		}
		$('#result').html( html );
		this.hidePleaseWait();
	}*/

	this.init = function() {
	}

	this.init();
}