function ncmGolf(id,props) {
   ncmAbstractComponent.apply(this,arguments);
   
   this.showFieldInfo = function(fieldId) {
	 $jq("#golf"+this.m_id).find("div[@id^=field]:visible").hide();
	 $jq("#golf"+this.m_id).find("#field"+fieldId).show();
   }
}

jQuery.extend(ncmGolf.prototype, ncmAbstractComponent.prototype);

ncmGolf.properties = new NCMHash();

ncmGolf.instances = new NCMCollection();

ncmGolf.initProperties = function(properties) {
   ncmAbstractComponent.initProperties(properties,ncmGolf.properties);
}

ncmGolf.init = function(id,props) {
   var obj = new ncmGolf(id,props);
   ncmGolf.instances.add(""+id,obj);
}

ncmGolf.get = function(id) {
   return ncmGolf.instances.get(""+id);
}

ncmGolf.showField = function(id,fieldId) {
   var obj = ncmGolf.get(id);
   if(obj!=null) {
	 obj.showFieldInfo(cityId);
   }
}
    

