  // object dat alle informatie bevat (een lijst met object):
	var
		componentenLijst = new ComponentenLijst(),
		aantalComponenten = 53;
		
	// functie om het object te maken:
	function Component(naam, href, id) {
	// Het object Component
		this.naam = naam;
		this.href = href;
		this.id = id;
		this.write = write; // schrijf-functie
		this.writeName = writeName; // naam-schrijf-functie
	// object teruggeven
		return(this);
	}
	function ComponentenLijst() {
	
			
			






			this["place1"] = new Component("Tauranga");
			this["place2"] = new Component("Gisborne");
			this["place3"] = new Component("Hastings");
			this["place4"] = new Component("Wellington");
            this["place5"] = new Component("Nelson");
			this["place6"] = new Component("Christchurch");
			this["place7"] = new Component("Christchurch");
			this["place8"] = new Component("Westcoast");
       		this["place9"] = new Component("Wellington");
			this["place10"] = new Component("Wellington");
			this["place11"] = new Component("New Plymouth");
			this["place12"] = new Component("Palmerston North");
			this["place13"] = new Component("Auckland");
            this["place14"] = new Component("Auckland");
            this["place15"] = new Component("Whangarei");
			this["place16"] = new Component("Auckland");
            this["place17"] = new Component("Wellington");
			this["place18"] = new Component("Wellington");
			this["place19"] = new Component("Hastings");
			this["place20"] = new Component("Hastings");
			this["place21"] = new Component("");
			this["place22"] = new Component("");
			this["place23"] = new Component("");
			this["place24"] = new Component("");
			this["place25"] = new Component("");
			this["place26"] = new Component("");
			this["place27"] = new Component("");
			this["place28"] = new Component("");
			this["place29"] = new Component("");
			this["place30"] = new Component("");
            this["place31"] = new Component("");
			this["place32"] = new Component("");
			this["place33"] = new Component("");
            this["place34"] = new Component("");
			this["place35"] = new Component("");
			this["place36"] = new Component("");
            this["place37"] = new Component("");
            this["place38"] = new Component("")



			this["training1"] = new Component("Diesel management systems 1-1 diesel (DMS 1-1)");
			this["training2"] = new Component("Automotive Electronic Diagnostic Seminar(AED)");
			this["training3"] = new Component("Engine management systems 1-2 Petrol (EMS 1-2)");
			this["training4"] = new Component("Private company training");
   			this["training5"] = new Component("Diesel management systems 1-3 diesel (DMS 1-3)");
			this["training6"] = new Component("Diagnostic Hybrid Seminar (EMS 1-4)");
			this["training7"] = new Component("Automotive Electronic Diagnostic Seminar(AED)");
			this["training8"] = new Component("Automotive Electronic Diagnostic Seminar(AED)");
			this["training9"] = new Component("Diagnostic Hybrid Seminar (EMS 1-4)");
			this["training10"] = new Component("Private company training");
			this["training11"] = new Component("Automotive Electronic Diagnostic Seminar(AED)");
			this["training12"] = new Component("Scan tool Diagnostics Seminar (scan 1)");
  			this["training13"] = new Component("Engine management systems 1-1 Petrol (EMS 1-1)");
            this["training14"] = new Component("Comprehensive scope diagnosics (ATS)");

   			this["training15"] = new Component("Diesel management systems 1-1 diesel (DMS 1-1)");
            this["training16"] = new Component("Automotive Electronic Diagnostic Seminar(AED)");
			this["training17"] = new Component("Automotive Electronic Diagnostic Seminar(AED)");
			this["training18"] = new Component("Private company training");
			this["training19"] = new Component("YES! Meeting and training seminars");
			this["training20"] = new Component("Diagnostic Hybrid Seminar (EMS 1-4)");
			this["training21"] = new Component("");
			this["training22"] = new Component("");
			this["training23"] = new Component("");
			this["training24"] = new Component("");
			this["training25"] = new Component("");
			this["training26"] = new Component("");
			this["training27"] = new Component("");
			this["training28"] = new Component("");
			this["training29"] = new Component("");
			this["training30"] = new Component("");
 			this["training31"] = new Component("");
			this["training32"] = new Component("");
			this["training33"] = new Component("");
            this["training34"] = new Component("");
            this["training35"] = new Component("");
			this["training36"] = new Component("");
 			this["training37"] = new Component("");
            this["training38"] = new Component("");


			this["date1"] = new Component("31 March and 1 April 2010");
		    this["date2"] = new Component("20-21 April 2010");
		    this["date3"] = new Component("22-23 April 2010");
		    this["date4"] = new Component("11 12 May 2010");
			this["date5"] = new Component("14 15 May 2010");
			this["date6"] = new Component("19-20 May 2010");
			this["date7"] = new Component("21-22 May 2010");
			this["date8"] = new Component("24-25 May 2010");
			this["date9"] = new Component("8-9 June 2010");
			this["date10"] = new Component("10-11 June 2010");
			this["date11"] = new Component("29-30 June 2010");
			this["date12"] = new Component("1-2 July 2010");
			this["date13"] = new Component("19-20 July 2010");
            this["date14"] = new Component("21 22 July 2010");

			this["date15"] = new Component("27-28 July 2010");
			this["date16"] = new Component("29-30 July 2010");
			this["date17"] = new Component("3-4 August 2010");
			this["date18"] = new Component("5-6 August 2010");
			this["date19"] = new Component("23-24-25-26-27 August 2010");
			this["date20"] = new Component("2-3 September 2010");
 			this["date21"] = new Component("");
			this["date22"] = new Component("");
			this["date23"] = new Component("");
			this["date24"] = new Component("");
			this["date25"] = new Component("");
			this["date26"] = new Component("");
			this["date27"] = new Component("");
			this["date28"] = new Component("");
			this["date29"] = new Component("");
			this["date30"] = new Component("");
			this["date31"] = new Component("");
    		this["date32"] = new Component("");
			this["date33"] = new Component("");
			this["date34"] = new Component("");
            this["date35"] = new Component("");
			this["date36"] = new Component("");
            this["date37"] = new Component("");
			this["date38"] = new Component("");
			this["date39"] = new Component("");


// object teruggeven //"target='_top' style='text-decoration:none'"
		return(this);
	}
	
	function write() {
	document.write("<a style='text-decoration:none' Target='_top' href=" +  this.href + ">" + this.naam + "</a>" + "<BR>");	
	}

	function writeName() {
		document.write(this.naam);	
	}

