function EventClass() {
	var host;
	var callback = 'genericJson';
	return {
		$ : function() {
			return host = this;
		},
		url1 : null
	}.$();
}

$(document).ready(function() {
		
	//reload event type form
	$('#yearevent').change(function() {
		var yeareventvalue = $('#yearevent').val();
		$("#eventlisting").html('<img src="/modules/core/admin/images/ajax-loader.gif" />');
		genericPrototype(eventClass.url1, genericJson, 'post', 'year=' + yeareventvalue);
	});

});
