CHazardValidator.prototype = new CValidator();
CHazardValidator.prototype.constructor = CHazardValidator;

function CHazardValidator( )
{	
	this.names = new Array(	"lat",
							"lng",
							"haz_type",
							"context"
							//"radius",
							//"elevation",
							//"uid",
							//"name",
							//"description",
							//"gone"
							 );
	
	this.values = new Array(42.69667375999615,
							-71.16975009441376,
							3,
							1,
							2,
							3,
							"some user",
							"Some hazard Name",
							"Some hazard Description" );
	
	this.m_FormID = "id_hazard";
	
	// initialize it
	this._init( this.names, this.values );
	
	this.start = _start;

	function _start()
	{
		if( !this._validate() )
			return;
			
		var o = new CHazard();
		//alert( "CSignupValidator " + o.getResponse() );		 	
	}
}
