<!--
	var midas = {
		event: null,
		eventListener: null,
		
		document: null,
		
		form: null
	};
	
	String.prototype.trim = function()
	{
		return this.replace(/^\s+|\s+$/g, "");
	}
	
	function round(val, digits)
	{
		var result = Math.round(val*Math.pow(10,digits))/Math.pow(10,digits);
		
		// Fix for Round cropping additional 0's after the period
		var len = result.toString().substring(result.toString().indexOf('.')+1).length;
		for ( i = 0; i < (digits - len); i++ )
			result += '0';
		
		return result;
	}
	
	function showTableRow(id)
	{
		if ( window.event )
			midas.document.getElementById(id).style['display'] = 'block';
		else
			midas.document.getElementById(id).style['display'] = 'table-row';
	}
//-->