//-- create a Clubs collection class based on the List class
//-- create a Club class with appropriate methods

		CClubs.prototype = new CList();
		
//=============================================================================     
		function CClubs()
//============================================================================= 		
		{
			
			// methods
			this.testMethod = _testMethod;
			function _testMethod(strAlert) {
				alert(strAlert);
				return true;
			}
				
		}
	

//=============================================================================     
		function CClub(intClubID, strName, strWebsite, strVenue, strTrainingDay, strContact1Name, strContact1Email, strContact1Phone1, strContact1Phone2, strContact2Name, strContact2Email, strContact2Phone1, strContact2Phone2)
//============================================================================= 		
		{
			var _ClubID = intClubID;			
			/* accessor mappings */
			this.getClubID = _get_ClubID;
			this.setClubID = _set_ClubID;
			/* accessor methods */
			function _get_ClubID() { return _ClubID; }
			function _set_ClubID(val) { _ClubID = val; }
			
			var _Name = strName;	
			/* accessor mappings */
			this.getName = _get_Name;
			this.setName = _set_Name;
			/* accessor methods */
			function _get_Name() { return _Name; }
			function _set_Name(val) { _Name = val; }
	
			var _Website = strWebsite;	
			/* accessor mappings */
			this.getWebsite = _get_Website;
			this.setWebsite = _set_Website;
			/* accessor methods */
			function _get_Website() { return _Website; }
			function _set_Website(val) { _Website = val; }

			var _Venue = strVenue;	
			/* accessor mappings */
			this.getVenue = _get_Venue;
			this.setVenue = _set_Venue;
			/* accessor methods */
			function _get_Venue() { return _Venue; }
			function _set_Venue(val) { _Venue = val; }

			var _TrainingDay = strTrainingDay;	
			/* accessor mappings */
			this.getTrainingDay = _get_TrainingDay;
			this.setTrainingDay = _set_TrainingDay;
			/* accessor methods */
			function _get_TrainingDay() { return _TrainingDay; }
			function _set_TrainingDay(val) { _TrainingDay = val; }

			var _Contact1Name = strContact1Name;	
			/* accessor mappings */
			this.getContact1Name = _get_Contact1Name;
			this.setContact1Name = _set_Contact1Name;
			/* accessor methods */
			function _get_Contact1Name() { return _Contact1Name; }
			function _set_Contact1Name(val) { _Contact1Name = val; }

			var _Contact1Email = strContact1Email;	
			/* accessor mappings */
			this.getContact1Email = _get_Contact1Email;
			this.setContact1Email = _set_Contact1Email;
			/* accessor methods */
			function _get_Contact1Email() { return _Contact1Email; }
			function _set_Contact1Email(val) { _Contact1Email = val; }

			var _Contact1Phone1 = strContact1Phone1;	
			/* accessor mappings */
			this.getContact1Phone1 = _get_Contact1Phone1;
			this.setContact1Phone1 = _set_Contact1Phone1;
			/* accessor methods */
			function _get_Contact1Phone1() { return _Contact1Phone1; }
			function _set_Contact1Phone1(val) { _Contact1Phone1 = val; }

			var _Contact1Phone2 = strContact1Phone2;	
			/* accessor mappings */
			this.getContact1Phone2 = _get_Contact1Phone2;
			this.setContact1Phone2 = _set_Contact1Phone2;
			/* accessor methods */
			function _get_Contact1Phone2() { return _Contact1Phone2; }
			function _set_Contact1Phone2(val) { _Contact1Phone2 = val; }

			var _Contact2Name = strContact2Name;	
			/* accessor mappings */
			this.getContact2Name = _get_Contact2Name;
			this.setContact2Name = _set_Contact2Name;
			/* accessor methods */
			function _get_Contact2Name() { return _Contact2Name; }
			function _set_Contact2Name(val) { _Contact2Name = val; }

			var _Contact2Email = strContact2Email;	
			/* accessor mappings */
			this.getContact2Email = _get_Contact2Email;
			this.setContact2Email = _set_Contact2Email;
			/* accessor methods */
			function _get_Contact2Email() { return _Contact2Email; }
			function _set_Contact2Email(val) { _Contact2Email = val; }

			var _Contact2Phone1 = strContact2Phone1;	
			/* accessor mappings */
			this.getContact2Phone1 = _get_Contact2Phone1;
			this.setContact2Phone1 = _set_Contact2Phone1;
			/* accessor methods */
			function _get_Contact2Phone1() { return _Contact2Phone1; }
			function _set_Contact2Phone1(val) { _Contact2Phone1 = val; }

			var _Contact2Phone2 = strContact2Phone2;	
			/* accessor mappings */
			this.getContact2Phone2 = _get_Contact2Phone2;
			this.setContact2Phone2 = _set_Contact2Phone2;
			/* accessor methods */
			function _get_Contact2Phone2() { return _Contact2Phone2; }
			function _set_Contact2Phone2(val) { _Contact2Phone2 = val; }
			
		}
