var SiedlerMissionControl = new Class({
	Extends: MissionControl,
	getDisctrictNamePending: false,

	getDisctrictName: function( postcode )
	{
		if( this.getDisctrictNamePending ) return;
		this.getDisctrictNamePending = true;
		
		myData = { 'postcode': postcode };
		myData = $merge( myData, this.trackData );
		
		this.doRequest( '/api/getdistrictname', {
			data: myData,
			'onComplete': function( response ) {
				if ( this.checkApiResponse( response ) ) {
					this.fireEvent( 'districtname', new Array( true, response ) );
				} else {
					this.fireEvent( 'districtname', new Array( false, response ) );
				}
				this.getDisctrictNamePending = false;
			}.bind( this )
		} );
	}
});
