function validateForm() {
	var missingCount = 0;
	var missing = new Array();
	var msg = '';
	var error = '';
	
	
	if ( document.compToolsStatement.agree.checked == false)  {
		missing[missingCount] = 'You must Agree to the Terms of Use.\n';
		missingCount = missingCount + 1;
	}
	
	if (missing.length >= 1 || error != '') {
		if (missing.length >= 1) {
			msg = 'In order to download the Calculator Tool.\n';
		}

		for(var i=0; i < missing.length; i++) {
			msg = msg + missing[i];
		}
		
		if (error != '') {
			if( msg != '' ) {
				msg	= msg + '\n';
				
			}
			msg = msg + 'Please fix the following erros:\n';
			msg = msg + error;
		}

		alert(msg);
		return( false );
	} else {
		return( true );
		
	}
}