﻿

var matrix = {
				"dz":{
						"entry0":{
									"label":	"Unidees",
									"link":		"http://www.unidees.com",
									"city":     "Algiers",
									//"contact":  "Nawal Mesbah",
									//"contact-mail": "nawal.mesbah@unidees.com",
									//"contact-tel":  "xxx", 
									"services":	[1, 1, 1, 1, 1]
						}
				},
				"at":{
						"entry0":{
									"label":	"Anecon Software Design und Beratung GmbH",
									"link":		"http://www.anecon.com",
									"city":     "Vienna",
									//"contact":  "Rainer Leeb",
									//"contact-mail": "Rainer.Leeb@anecon.com",
									//"contact-tel":  "xxx", 
									"services":	[1, 1, 1, 1, 0]
						},
						"entry1":{
									"label":	"TechTalk Software Support Handelsgesellschaft m.b.H.",
									"link":		"http://www.techtalk.at",
									"city":     "Vienna",
									//"contact":  "Reinhard Kern",
									//"contact-mail": "reinhard.kern@techtalk.at",
									//"contact-tel":  "xxx", 
									"services":	[1, 1, 1, 1, 0]
						}
				},
				"be":{
						"entry0":{
									"label":	"Compuware Belgium ",
									"link":		"http://www.compuware.be",
									"city":     "Zaventem",
									//"contact":  "Wim Vanden Driessche",
									//"contact-mail": "Wim.vanden.driessche@be.compuware.com",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 0, 0, 0]
						},
						"entry1":{
									"label":	"Cronos",
									"link":		"http://www.Cronos.be",
									"city":     "xxx",
									//"contact":  "Guy Van de Vel",
									//"contact-mail": "Guy.Vandevel@Cronos.be",
									//"contact-tel":  "xxx", 
									"services":	[1, 1, 0, 1, 0]
						},
						"entry2":{
									"label":	"Euricom (Part of Dimension Data Belgium) ",
									"link":		"http://www.euri.com",
									"city":     "Mechelen (2800)",
									//"contact":  "Wim Van Hoye",
									//"contact-mail": "Wim.vanhoye@euri.com",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 0, 0, 0]
						},
						"entry3":{
									"label":	"Getronics Belgium ",
									"link":		"http://www.getronics.com",
									"city":     "Brussels - Evere",
									//"contact":  "Olivier Raulot",
									//"contact-mail": "Olivier.Raulot@getronics.com",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 0, 0, 0]
						}
				},
				"hr":{	
						"entry0":{	
									"label":	"Ekobit ",
									"link":		"http://www.ekobit.com",
									"city":     "Zagreb",
									//"contact":  "Karel Nemec",
									//"contact-mail": "karel.nemec@logos.cz",
									//"contact-tel":  "xxx", 
									"services":	[1, 1, 1, 1, 1]
						}
				},
				"cz":{	
						"entry0":{	
									"label":	"Logos ",
									"link":		"http://www.logos.cz",
									"city":     "Prague",
									//"contact":  "Karel Nemec",
									//"contact-mail": "karel.nemec@logos.cz",
									//"contact-tel":  "xxx", 
									"services":	[1, 1, 1, 1, 0]
						}
				},
				"dk":{
						"entry0":{
									"label":	"Commentor",
									"link":		"http://www.commentor.dk",
									"city":     "xxx",
									//"contact":  "Jørn Floor Andersen",
									//"contact-mail": "jorn@commentor.dk",
									//"contact-tel":  "xxx", 
									"services":	[1, 1, 1, 1, 0]
						},
						"entry1":{
									"label":	"Globeteam",
									"link":		"http://www.globeteam.com",
									"city":     "xxx",
									//"contact":  "Kristian Lykke",
									//"contact-mail": "krl@globeteam.com",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 1, 0, 0]
						},
						"entry2":{
									"label":	"Platon",
									"link":		"http://www.platon.net",
									"city":     "xxx",
									//"contact":  "Stig Thorngaard",
									//"contact-mail": "STO@platon.net",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 1, 0, 0]
						},
						"entry3":{
									"label":	"TietoEnator",
									"link":		"http://www.tietoenator.com",
									"city":     "xxx",
									//"contact":  "Annette Ibsen",
									//"contact-mail": "Annette.Ibsen@tietoenator.com",
									//"contact-tel":  "xxx", 
									"services":	[1, 1, 1, 1, 0]
						}
				},
				"fi":{
						"entry0":{
									"label":	"Moonsoft Oy",
									"link":		"http://www.moonsoft.fi",
									"city":     "Espoo",
									//"contact":  "Ilkka Sunervo",
									//"contact-mail": "ilkka.sunervo@moonsoft.fi",
									//"contact-tel":  "+358 207 439 500", 
									"services":	[0, 1, 1, 0, 1]
						},
						"entry1":{
									"label":	"Softability Oy",
									"link":		"http://www.softability.fi",
									"city":     "Vantaa",
									//"contact":  "Oskar Rautiainen",
									//"contact-mail": "oskar.rautiainen@softability.fi",
									//"contact-tel":  "+358 207 559 855", 
									"services":	[0, 1, 1, 1, 0]
						}
				},
				"fr":{
						"entry0":{
									"label":	"Avanade France",
									"link":		"http://www.avanade.com/fr/",
									"city":     "Paris",
									//"contact":  "Nizar, Nasr",
									//"contact-mail": "nizarn@avanade.com",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 1, 1, 0]
						},
						"entry1":{
									"label":	"Evaluant",
									"link":		"http://www.evaluant.com",
									"city":     "Mulhouse",
									//"contact":  "Kristian Lykke",
									//"contact-mail": "krl@globeteam.com",
									//"contact-tel":  "xxx", 
									"services":	[1, 1, 0, 1, 0]
						},
						"entry2":{
									"label":	"Exakis",
									"link":		"http://www.exakis.com",
									"city":     "Paris",
									//"contact":  "Fitoussi Stéphane",
									//"contact-mail": "Stephane_fitoussi@hotmail.com",
									//"contact-tel":  "xxx", 
									"services":	[1, 1, 1, 1, 1]
						},
						"entry3":{
									"label":	"Tekigo",
									"link":		"http://www.tekigo.com",
									"city":     "Lyon",
									//"contact":  "Nicolas Clerc",
									//"contact-mail": "nclerc@tekigo.com",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 1, 1, 0]
						},
						"entry4":{
									"label":	"Winwise",
									"link":		"http://www.winwise.fr",
									"city":     "Paris",
									//"contact":  "Daniel Tizon",
									//"contact-mail": "daniel_tizon@hotmail.com",
									//"contact-tel":  "xxx", 
									"services":	[1, 1, 1, 1, 1]
						}
				},
				"de":{
						"entry0":{
									"label":	"AIT Applied Information Technologies AG",
									"link":		"http://www.aitag.com",
									"city":     "Stuttgart",
									//"contact":  "Rudolf Günther ",
									//"contact-mail": "rudolf.guenther@aitag.com",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 1, 0, 0]
						},
						"entry1":{
									"label":	"Axinom GmbH",
									"link":		"http://www.axinom.de",
									"city":     "Fürth",
									//"contact":  "Johannes Jauch",
									//"contact-mail": "jauch@axinom.de",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 1, 0, 0]
						},
						"entry2":{
									"label":	"daenet - Gesellschaft für Informationstechnologie mbH",
									"link":		"http://www.daenet.de",
									"city":     "Frankfurt",
									//"contact":  "Stefan Aevermann",
									//"contact-mail": "saevermann@daenet.de",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 0, 0, 0]
						},
						"entry3":{
									"label":	"DevGroup - Piwinger & Lau GmbH",
									"link":		"http://www.piwingerundlau.de",
									"city":     "Koblenz",
									//"contact":  "Götz Piwinger",
									//"contact-mail": "gpiwinger@piwingerundlau.de",
									//"contact-tel":  "xxx", 
									"services":	[1, 0, 0, 0, 0]
						},
						"entry4":{
									"label":	"DevGroup - SoftEd Systems GmbH",
									"link":		"http://www.softed.de",
									"city":     "Dresden",
									//"contact":  "Mathias Täubrich",
									//"contact-mail": "mt@softed.de",
									//"contact-tel":  "xxx", 
									"services":	[1, 0, 0, 0, 0]
						},
					//	"entry5":{
					//				"label":	"Elektrobit Automotive GmbH",
					//				"link":		"http://www.3soft.de",
					//				"city":     "Erlangen",
					//				//"contact":  "Martin Schleicher",
					//				//"contact-mail": "martin.schleicher@3soft.de",
					//				//"contact-tel":  "xxx", 
					//				"services":	[0, 0, 1, 0, 1]
					//	},
					//	"entry6":{
					//				"label":	"imbus AG",
					//				"link":		"http://www.imbus.de",
					//				"city":     "Möhrendorf",
					//				//"contact":  "Jürgen Unterreitmeier",
					//				//"contact-mail": "juergen.unterreitmayer@imbus.de",
					//				//"contact-tel":  "xxx", 
					//				"services":	[0, 0, 0, 1, 0]
					//	},
					//	"entry7":{
					//				"label":	"Modulo3 GmbH",
					//				"link":		"http://www.modulo3.de",
					//				"city":     "Meerbusch-Büderich",
					//				//"contact":  "Knut Salomon",
					//				//"contact-mail": "knut.salomon@modulo3.de",
					//				//"contact-tel":  "xxx", 
					//				"services":	[0, 0, 1, 1, 0]
					//	},
						"entry8":{
									"label":	"newtelligence AG",
									"link":		"http://www.newtelligence.com",
									"city":     "Korschenbroich",
									//"contact":  "Bart DePetrillo",
									//"contact-mail": "bartd@newtelligence.com",
									//"contact-tel":  "xxx", 
									"services":	[1, 1, 1, 0, 0]
						},
						"entry9":{
									"label":	"TRIA IT-consulting AG",
									"link":		"http://www.tria.de",
									"city":     "München",
									//"contact":  "Christian Kobl",
									//"contact-mail": "christian.kobl@tria.de",
									//"contact-tel":  "xxx", 
									"services":	[1, 1, 1, 0, 0]
						},
						"entry10":{
									"label":	"Zühlke Engineering GmbH",
									"link":		"http://www.zuehlke.com",
									"city":     "Eschborn",
									//"contact":  "Thorsten Knauf",
									//"contact-mail": "thk@zuehlke.com",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 1, 0, 0]
						}
				},
				"it":{
						"entry0":{
									"label":	"ObjectWay S.p.A.",
									"link":		"http://www.objectway.it",
									"city":     "Milano",
									//"contact":  "Elena Baldi",
									//"contact-mail": "Elena.baldi@objectway.it",
									//"contact-tel":  "xxx", 
									"services":	[1, 1, 1, 1, 1]
						},
						"entry1":{
									"label":	"OverNet Education",
									"link":		"http://www.overneteducation.it",
									"city":     "Milano",
									//"contact":  "Elena Basso",
									//"contact-mail": "elenab@overneteducation.it",
									//"contact-tel":  "xxx", 
									"services":	[1, 0, 0, 0, 0]
						},
						"entry2":{
									"label":	"Proge-Software",
									"link":		"http://www.progesoftware.it/",
									"city":     "Milano/Roma",
									//"contact":  "Elena Basso",
									//"contact-mail": "elenab@overneteducation.it",
									//"contact-tel":  "xxx", 
									"services":	[1, 1, 0, 1, 1]
						},
						"entry3":{
									"label":	"Cluster Reply",
									"link":		"http://www.reply.it/",
									"city":     "Milano/Roma/Torino",
									//"contact":  "Elena Basso",
									//"contact-mail": "elenab@overneteducation.it",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 0, 1, 1]
						},
						"entry4":{
									"label":	"Microsys",
									"link":		"http://www.msys.it/",
									"city":     "Milano",
									//"contact":  "Elena Basso",
									//"contact-mail": "elenab@overneteducation.it",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 0, 1, 1]
						},
						"entry5":{
									"label":	"TiQ",
									"link":		"http://www.tiq.it/",
									"city":     "Milano",
									//"contact":  "Elena Basso",
									//"contact-mail": "elenab@overneteducation.it",
									//"contact-tel":  "xxx", 
									"services":	[1, 1, 1, 1, 1]
						},
						"entry6":{
									"label":	"Avanade",
									"link":		"http://www.avanade.com/it/",
									"city":     "Milano/Roma",
									//"contact":  "Elena Basso",
									//"contact-mail": "elenab@overneteducation.it",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 0, 1, 1]
						},
						"entry7":{
									"label":	"TXT",
									"link":		"http://www.txtgroup.com/it/",
									"city":     "Milano",
									//"contact":  "Elena Basso",
									//"contact-mail": "elenab@overneteducation.it",
									//"contact-tel":  "xxx", 
									"services":	[1, 1, 1, 1, 1]
						},
						"entry8":{
									"label":	"Engineering/AtosOrigin",
									"link":		"http://www.atosorigin.it/",
									"city":     "Milano/Roma",
									//"contact":  "Elena Basso",
									//"contact-mail": "elenab@overneteducation.it",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 0, 1, 1]
						},
						"entry9":{
									"label":	"ValueTeam",
									"link":		"http://www.valueteam.com/",
									"city":     "Milano/Roma",
									//"contact":  "Elena Basso",
									//"contact-mail": "elenab@overneteducation.it",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 0, 1, 1]
						},
						"entry10":{
									"label":	"DevLeap",
									"link":		"http://www.devleap.it/",
									"city":     "Milano",
									//"contact":  "Elena Basso",
									//"contact-mail": "elenab@overneteducation.it",
									//"contact-tel":  "xxx", 
									"services":	[1, 1, 1, 1, 1]
						},
						"entry11":{
									"label":	"Managed Designs",
									"link":		"http://www.manageddesigns.it/",
									"city":     "Milano",
									//"contact":  "Elena Basso",
									//"contact-mail": "elenab@overneteducation.it",
									//"contact-tel":  "xxx", 
									"services":	[1, 1, 0, 1, 1]
						}
				},
				"ma":{
						"entry0":{
									"label":	"Casanet",
									"link":		"http://www.casanet.ma",
									"city":     "Casablanca",
									//"contact":  "Abdessamad Laaroussi",
									//"contact-mail": "a.laaroussi@casanet.ma",
									//"contact-tel":  "xxx", 
									"services":	[0, 0, 1, 1, 1]
						},
						"entry1":{
									"label":	"Involys",
									"link":		"http://www.involys.com",
									"city":     "Casablanca",
									//"contact":  "Saad Chraibi",
									//"contact-mail": "s.chraibi@involys.com",
									//"contact-tel":  "xxx", 
									"services":	[0, 0, 0, 1, 1]
						},
						"entry2":{
									"label":	"Netopia Solutions",
									"link":		"http://www.netopia-solutions.com",
									"city":     "Casablanca",
									//"contact":  "Abdellatif Tarhine",
									//"contact-mail": "Atarhine@netopia-solutions.com",
									//"contact-tel":  "xxx", 
									"services":	[1, 1, 1, 1, 1]
						},
						"entry3":{
									"label":	"Omnidata",
									"link":		"http://www.omnidata.co.ma",
									"city":     "Casablanca",
									//"contact":  "Guenoun Mohamed",
									//"contact-mail": "mguenoun@omnidata.co.ma",
									//"contact-tel":  "xxx", 
									"services":	[1, 1, 1, 1, 1]
						},
						"entry4":{
									"label":	"Syntone Net2s Group",
									"link":		"http://www.syntone.ma",
									"city":     "Casablanca",
									//"contact":  "Mehdi El Abed",
									//"contact-mail": "melabed@syntone.ma",
									//"contact-tel":  "xxx", 
									"services":	[0, 0, 1, 1, 1]
						}
				},
				"nl":{
						"entry0":{
									"label":	"Avanade",
									"link":		"http://www.avanade.com/nl/",
									"city":     "Almere",
									//"contact":  "Erik Lamers",
									//"contact-mail": "erikl@avanade.com",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 1, 1, 1]
						},
						"entry1":{
									"label":	"Delta-N",
									"link":		"http://www.delta-n.nl",
									"city":     "Voorburg",
									//"contact":  "Marcel Timmers",
									//"contact-mail": "marcelt@delta-n.nl",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 0, 1, 1]
						},
						"entry2":{
									"label":	"Info Support BV",
									"link":		"http://www.infosupport.nl/VSTS",
									"city":     "Veenendaal",
									//"contact":  "Henk van der Pol",
									//"contact-mail": "henkp@infosupport.com ",
									//"contact-tel":  "xxx", 
									"services":	[1, 1, 1, 1, 1]
						}
				},
				"no":{
						"entry0":{
									"label":	"Avanade",
									"link":		"http://www.avanade.com/no/",
									"city":     "-",
									//"contact":  "Inge Stubdahl",
									//"contact-mail": "Inge.stubdahl@avanade.com",
									//"contact-tel":  "+47 91198951", 
									"services":	[1, 1, 1, 1, 0]
						},
						"entry1":{
									"label":	"Bekk",
									"link":		"http://www.bekk.no",
									"city":     "Oslo",
									//"contact":  "Dag Baardsen",
									//"contact-mail": "Dag.baardsen@bekk.no",
									//"contact-tel":  "+47 23357700", 
									"services":	[0, 1, 0, 1, 0]
						},
						"entry2":{
									"label":	"Cap",
									"link":		"http://www.no.capgemini.com",
									"city":     "-",
									//"contact":  "Anders Ravik",
									//"contact-mail": "anders.ravik@capgemini.com",
									//"contact-tel":  "+47 90636149", 
									"services":	[1, 1, 1, 1, 0]
						},
						"entry3":{
									"label":	"Masterminds",
									"link":		"http://www.masterminds.no",
									"city":     "-",
									//"contact":  "Yngvar Ugland",
									//"contact-mail": "Yngvar.Ugland@masterminds.no",
									//"contact-tel":  "+47 95898520", 
									"services":	[1, 0, 1, 0, 0]
						},
						"entry4":{
									"label":	"Osiris",
									"link":		"http://www.osiris.no",
									"city":     "Oslo",
									//"contact":  "Trygve Røste",
									//"contact-mail": "trygve@osiris.no",
									//"contact-tel":  "+47 95750354", 
									"services":	[1, 1, 1, 0, 0]
						},
						"entry5":{
									"label":	"Webstep",
									"link":		"http://www.webstep.no",
									"city":     "Bergen",
									//"contact":  "Geir Jåthun Hindenes",
									//"contact-mail": "Geir.jaathun.hindenes@webstep.no",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 1, 0, 0]
						}
				},
				"pt":{
						"entry0":{
									"label":	"Agilior, Sistemas de Informação Lda",
									"link":		"http://www.agilior.pt",
									"city":     "Lisbon",
									//"contact":  "Tiago Pascoal",
									//"contact-mail": "tiago.pascoal@agilior.pt",
									//"contact-tel":  "xxx", 
									"services":	[1, 1, 1, 0, 0]
						},
						"entry1":{
									"label":	"Edinfor – Sistemas Informáticos, S.A. (Logica CMG)",
									"link":		"http://www.edinfor.logicacmg.com",
									"city":     "Lisbon",
									//"contact":  "Nuno Nunes",
									//"contact-mail": "nmnu@hotmail.com",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 1, 1, 0]
						},
						"entry2":{
									"label":	"Novabase Consulting",
									"link":		"http://www.novabase.pt",
									"city":     "Lisbon",
									//"contact":  "Ivo Leitão",
									//"contact-mail": "info@novabase.pt",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 1, 1, 0]
						},
						"entry3":{
									"label":	"Unisys Corp / Blue Bell",
									"link":		"http://www.unisys.pt",
									"city":     "Lisbon",
									//"contact":  "Fernando Reino da Costa",
									//"contact-mail": "Fernando.reinodacosta@unisys.com",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 1, 1, 1]
						}
				},
				"ru":{
						"entry0":{
									"label":	"CM-Consult",
									"link":		"http://www.cmcons.com",
									"city":     "Moscow",
									//"contact":  "Alexander Novichkov",
									//"contact-mail": "alex-golder@cmcons.com",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 1, 0, 1]
						},
						"entry1":{
									"label":	"Luxoft",
									"link":		"http://www.luxoft.com",
									"city":     "Moscow",
									//"contact":  "Egor Povalyaev",
									//"contact-mail": "EPovalyaev@luxoft.com",
									//"contact-tel":  "xxx", 
									"services":	[1, 1, 1, 1, 0]
						}
				},
				"sa":{
						"entry0":{
									"label":	"Al-Khaleej",
									"link":		"http://www.alkhaleej.com.sa",
									"city":     "Riyadh",
									//"contact":  "xxx",
									//"contact-mail": "xxx",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 0, 0, 0]
						},
						"entry1":{
									"label":	"Ejada",
									"link":		"http://www.ejada.com.sa",
									"city":     "Riyadh",
									//"contact":  "xxx",
									//"contact-mail": "info@ejada.com",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 0, 0, 0]
						},
						"entry2":{
									"label":	"eStarta",
									"link":		"http://www.estartasolutions.com",
									"city":     "Riyadh",
									//"contact":  "xxx",
									//"contact-mail": "xxx",
									//"contact-tel":  "xxx", 
									"services":	[1, 1, 1, 1, 0]
						},
						"entry3":{
									"label":	"Hasib Institute for Technical Training",
									"link":		"http://www.hasib.edu.sa/",
									"city":     "Riyadh",
									//"contact":  "Guenoun Mohamed",
									//"contact-mail": "mguenoun@omnidata.co.ma",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 0, 0, 0]
						},
						"entry4":{
									"label":	"ZFP",
									"link":		"http://www.zfpit.com/",
									"city":     "Riyadh",
									//"contact":  "xxx",
									//"contact-mail": "info@zfp.com",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 1, 1, 0]
						}
				},
				"za":{
						"entry0":{
									"label":	"Airbourne Consulting",
									"link":		"http://www.airborneconsulting.co.za",
									"city":     "Cape Town",
									//"contact":  "Yusuf Dawood",
									//"contact-mail": "yusufd@airborneconsulting.co.za",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 1, 0, 0]
						},
						"entry1":{
									"label":	"Fidentia Administration Services",
									"link":		"http://www.fidentia.co.za",
									"city":     "Johannesburg",
									//"contact":  "Craig Parker",
									//"contact-mail": "craig.parker@fidentia.co.za",
									//"contact-tel":  "xxx", 
									"services":	[1, 1, 1, 1, 1]
						}
				},
				"se":{

						"entry0":{
									"label":	"Avanade Sweden AB",
									"link":		"http://www.avanade.com/se/",
									"city":     "Stockholm",
									//"contact":  "Mikael Bergentoft",
									//"contact-mail": "mikaelb@avanade.com",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 1, 1, 1]
						},
						"entry1":{
									"label":	"Know IT Consulting AB",
									"link":		"http://www.knowit.se",
									"city":     "Stockholm",
									//"contact":  "Anders Kingstedt",
									//"contact-mail": "handers.kingstedt@knowit.se",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 1, 1, 0]
					    },
						"entry2":{
						            "label":    "Qwise",
						            "link":     "http://www.qwise.se",
						            "city":     "Stockholm, Gothenburg",

									"services":	[1, 1, 1, 1, 1]
					    },
					    "entry3": {
					                "label": "Inexor AB",
					                "link": "http://www.inexor.se",
					                "city": "Stockholm, Malmö",
					                "services": [1, 1, 1, 1, 1]
					    },
					    "entry4": {
					                "label": "Ivar Jacobson International AB",
					                "link": "http://www.ivarjacobson.com",
					                "city": "Stockholm, Gothenburg",
					                "services": [0, 0, 1, 0, 1]
					    },
					    "entry5": {
					                "label": "Sogeti",
					                "link": "http://www.sogeti.se",
					                "city": "Borlänge, Sundsvall, Umeå, Lund, Örebro, Karlstad, Stockholm",
					                "services": [0, 1, 1, 1, 1]
					            }
				},
				"tn":{
						"entry0":{
									"label":	"Daleelteq",
									"link":		"http://www.daleelteq.com",
									"city":     "Tunis",
									//"contact":  "Mohamed Radhouane Drira",
									//"contact-mail": "mdrira@daleelteq.com",
									//"contact-tel":  "xxx", 
									"services":	[1, 1, 1, 1, 0]
						}
				},
				"tr":{
						"entry0":{
									"label":	"Bilge Adam",
									"link":		"http://www.bilgeadam.com",
									"city":     "Istanbul",
									//"contact":  "Ali Riza Diker",
									//"contact-mail": "Aliriza.diker@bilgeadam.com",
									//"contact-tel":  "xxx", 
									"services":	[1, 1, 1, 1, 1]
						},
						"entry1":{
									"label":	"Netron",
									"link":		"http://www.netron.com.tr",
									"city":     "Istanbul",
									//"contact":  "Selcuk Uzun",
									//"contact-mail": "Selcuk.uzun@netron.com.tr",
									//"contact-tel":  "xxx", 
									"services":	[1, 1, 1, 1, 1]
						}
				},
				"ua":{
						"entry0":{
									"label":	"Celenia Software A/S",
									"link":		"http://www.celenia.com",
									"city":     "Kyiv",
									//"contact":  "Torben Kragelund",
									//"contact-mail": "tk@celenia.com",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 0, 0, 1]
						},
						"entry1":{
									"label":	"Information Security Center Ltd",
									"link":		"http://www.bezpeka.com",
									"city":     "Zaporozhye",
									//"contact":  "Mykola Krasnostup",
									//"contact-mail": "contacts@bezpeka.com",
									//"contact-tel":  "xxx", 
									"services":	[0, 0, 0, 1, 0]
						},
						"entry2":{
									"label":	"Miratech Ltd",
									"link":		"http://www.miratech.biz",
									"city":     "Kyiv",
									//"contact":  "Viktor Bondarev",
									//"contact-mail": "vbondarev@miratech.biz",
									//"contact-tel":  "xxx", 
									"services":	[0, 0, 0, 0, 1]
						}
				},
				"uk":{
						"entry0":{
									"label":	"Avanade (UK) Ltd",
									"link":		"http://www.avanade.com/uk/",
									"city":     "London",
									//"contact":  "Mark Griffiths",
									//"contact-mail": "markgr@avanade.com",
									//"contact-tel":  "xxx", 
									"services":	[1, 1, 1, 1, 1]
						},
						"entry1":{
									"label":	"Clearvision",
									"link":		"http://www.clearvision-cm.com",
									"city":     "Southampton",
									//"contact":  "Gerald Tombs",
									//"contact-mail": "gtombs@clearvision-cm.com",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 1, 0, 0]
						},
						"entry2":{
									"label":	"CM-Logic Ltd",
									"link":		"http://www.cm-logic.com",
									"city":     "Theale",
									//"contact":  "Eoghan Considine",
									//"contact-mail": "eoghan.considine@cm-logic.com",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 1, 0, 0]
						},
						"entry3":{
									"label":	"GamCom Solutions Limited",
									"link":		"http://www.gamcom.com",
									"city":     "London",
									//"contact":  "Raj Gami",
									//"contact-mail": "Raj@gamcom.com",
									//"contact-tel":  "xxx", 
									"services":	[0, 1, 1, 1, 1]
						},
						"entry4":{
									"label":	"Testhouse Ltd",
									"link":		"http://www.testhouse.org",
									"city":     "London",
									//"contact":  "Peter Shave",
									//"contact-mail": "pshave@testhouse.org",
									//"contact-tel":  "xxx", 
									"services":	[0, 0, 0, 1, 0]
						}
				}
		}
		
		
// ********************************************************************************

function updateVSTSMatrix(obj) {
	var code = obj.options[obj.options.selectedIndex].value.toString();

	clearRows();
	buildRows(code);
}

function clearRows() {
	var matrixTable = document.getElementById('matrixTable');
	while(matrixTable.rows.length > 1) {
		var lastRow = matrixTable.rows.length;
		matrixTable.deleteRow(lastRow - 1);
	}
}

function buildRows(code) {
	var obj = matrix[code];
	if(obj) {
		for(var i in obj) {
			if(obj[i]) addRow(obj[i]);
		}
	}
	else {
		alert("data for "+code+" not yet set...");
	}
}

function addRow(dataObj) {

	var cells = 7;

	var matrixTable = document.getElementById('matrixTable');
	var lastRow = matrixTable.rows.length;
	
	// if there's no header row in the table, then iteration = lastRow + 1
	var iteration = lastRow;
	var row = matrixTable.insertRow(lastRow);

	//fill cells
	for(var i = 0; i < cells; i++) {
		var cell = row.insertCell(i);
		switch(i) {
			//label row
			case 0:
				var anchorNode = document.createElement('a');
				anchorNode.href = dataObj['link'];
				anchorNode.target = "_blank";
				var anchorTextNode = document.createElement('strong');
				var anchorText = document.createTextNode(dataObj['label']);
				anchorTextNode.appendChild(anchorText);
				anchorNode.appendChild(anchorTextNode);
				cell.style.verticalAlign = "middle";
				cell.appendChild(anchorNode);
				break;
			
			//city row
			case 1:
				var city = dataObj['city'];
				if((city != "") && (city != "xxx")) cell.innerHTML = dataObj['city'];
				else cell.innerHTML = "N/A";
				break;

			//services rows
			default:
				if(dataObj['services'][i - 2]) {	//NOTE: diminish here i by number of case statements above (now 2). (i is the index of the column....)
					cell.className = "valid";
					cell.innerHTML = '<img src="/emea/msdn/visualstudio/vststechpartners/_img/img_tick.gif" border="0" alt="0" />'
				}
				else { 
					cell.className = null;
					cell.innerHTML = '&nbsp;'
				}

		}

	}
}

function removeRow() {
  var tbl = document.getElementById('tblSample');
  var lastRow = tbl.rows.length;
  if (lastRow > 2) tbl.deleteRow(lastRow - 1);
}

