    var map = "";
    var aLocations = new Array;
	var shownLocations = new Array();
    var listNodeContent = "";
    var marker = new GMarker(new GLatLng(0, 0), "/hg/images/pin.png");

    var iconsm = new GIcon(G_DEFAULT_ICON);
    iconsm.image = "/hg/images/pin.png";
    iconsm.shadow = "/hg/images/shadow.png";
    iconsm.iconSize = new GSize(12, 20);
    iconsm.shadowSize = new GSize(22, 20);
    iconsm.iconAnchor = new GPoint(6, 20);
    iconsm.infoWindowAnchor = new GPoint(5, 1);
    
GMap2.prototype.addHGMap=function(oMap){
  oMap.initialize(this);
}

HGMap.prototype.registerHGEvent=function(oMap){
  GEvent.addListener(oMap, "maptypechanged", function() {
  	setCreatedColor(oMap);
  });
}

GMap2.prototype.addHGMap=function(oMap){
  oMap.initialize(this);
}

function setCreatedColor(oMap) {
    
}

function createMarker(pointt, html, icon) {
  var marker = new GMarker(pointt, icon);

  GEvent.addListener(marker, "click", function() {
    marker.openInfoWindowHtml(html);
  });

  return marker;
}


function ZoomMapTo(num) {
  currentZoom = map.getZoom();
  map.setZoom(currentZoom+1);
}

function myInfoWindowHtml(num)
{
   map.panTo(aLocations[num][3]);
   aLocations[num][0].openInfoWindowHtml(aLocations[num][2]);

}

function createSideBar(regionA,regionB,regionList) {
   for (var i=regionA; i<regionB; i++) {
    var picElem = document.createElement("span");
	var listElem = document.createElement("p");
    var spanElem = document.createElement("span");
		
	picElem.innerHTML = "<img src='/wp-content/uploads/2010/thumbs/" + aLocations[i][4] + "-90x70.jpg' alt='" + aLocations[i][1] + "'>";    	
    spanElem.innerHTML = "<strong>" + aLocations[i][1] + "</strong><br>[<a href='javascript:myInfoWindowHtml(" + i + ");'>map</a>] [<a href='/en/" + aLocations[i][4] + "/' target=\"_blank\">artist's page</a>]";
	var listNode = document.getElementById(regionList).appendChild(listElem);
	listNode.appendChild(picElem);
	listNode.appendChild(spanElem);
	}
}

function HGMap(){}
HGMap.prototype.initialize=function(oMap){
  this.renderHGMap(oMap);
  this.registerHGEvent(oMap);
  setCreatedColor(oMap);
}

HGMap.prototype.renderHGMap=function(oMap){
      map.addControl(new GLargeMapControl());
      map.addControl(new GMapTypeControl());
      map.setCenter(new GLatLng(53.199451902831555, -3.920245361328125), 8);
      map.setMapType(G_HYBRID_MAP);  
      var point = new Array;
      var footerHTML = new Array;
      var InfoHTML = new Array;
	  var artistFullName = new Array;
	  var artistURL = new Array;
	  var artistAddress = new Array;
	  var postCode = new Array;
	  var county = new Array;
		
point[0] = new GLatLng(53.15362, -4.15961);
point[1] = new GLatLng(52.76001, -3.90216);
point[2] = new GLatLng(52.97131, -4.06524);
point[3] = new GLatLng(52.99022, -3.92581);
point[4] = new GLatLng(52.98462, -4.037);
point[5] = new GLatLng(53.09281, -4.31282);
point[6] = new GLatLng(52.97102, -4.03778);
point[7] = new GLatLng(53.07309, -4.30642);
point[8] = new GLatLng(53.07309, -4.30652);
point[9] = new GLatLng(52.88731, -4.42401);
point[10] = new GLatLng(53.07309, -4.30662);
point[11] = new GLatLng(53.11891, -4.19953);
point[12] = new GLatLng(53.07309, -4.30672);
point[13] = new GLatLng(52.97229, -4.04804);
point[14] = new GLatLng(53.04696, -4.33215);
point[15] = new GLatLng(53.04575, -4.33904);
point[16] = new GLatLng(53.13542, -4.19609);
point[17] = new GLatLng(53.20904, -4.09369);
point[18] = new GLatLng(52.74206, -3.88637);
point[19] = new GLatLng(53.07851, -4.27963);
point[20] = new GLatLng(52.98462, -4.0379);
point[21] = new GLatLng(52.86187, -4.62107);
point[22] = new GLatLng(53.18454, -4.05005);
point[23] = new GLatLng(53.15449, -4.19394);
point[24] = new GLatLng(53.12103, -4.1151);
point[25] = new GLatLng(52.88198, -4.4238);
point[26] = new GLatLng(52.82815, -4.66677);
point[27] = new GLatLng(52.87001, -3.63772);
point[28] = new GLatLng(52.81826, -4.63214);
point[29] = new GLatLng(52.83735, -4.68209);
point[30] = new GLatLng(52.92968, -4.13189);
point[31] = new GLatLng(52.58253, -3.90225);
point[32] = new GLatLng(52.84034, -4.53023);
point[33] = new GLatLng(52.87996, -4.42779);
point[34] = new GLatLng(52.91781, -3.582);
point[35] = new GLatLng(52.90103, -3.62502);
point[36] = new GLatLng(53.21893, -4.06267);
point[37] = new GLatLng(53.28677, -3.74286);
point[38] = new GLatLng(53.09235, -3.80075);
point[39] = new GLatLng(53.15056, -3.82487);
point[40] = new GLatLng(53.22335, -3.52756);
point[41] = new GLatLng(53.31916, -3.83075);
point[42] = new GLatLng(53.28987, -3.7202);
point[43] = new GLatLng(53.24269, -3.56823);
point[44] = new GLatLng(53.31039, -3.73926);
point[45] = new GLatLng(53.215, -3.60601);
point[46] = new GLatLng(53.08758, -3.79891);
point[47] = new GLatLng(53.31108, -3.8229);
point[48] = new GLatLng(53.29141, -3.76213);
point[49] = new GLatLng(53.31834, -3.82895);
point[50] = new GLatLng(53.32395, -3.82882);
point[51] = new GLatLng(53.14087, -3.79478);
point[52] = new GLatLng(53.18981, -3.51841);
point[53] = new GLatLng(53.32664, -3.83291);
point[54] = new GLatLng(53.13913, -3.68091);
point[55] = new GLatLng(53.14833, -3.82675);
point[56] = new GLatLng(53.26637, -3.93654);
point[57] = new GLatLng(53.28677, -3.74266);
point[58] = new GLatLng(53.31653, -3.84198);
point[59] = new GLatLng(53.22245, -3.52503);
point[60] = new GLatLng(53.30106, -3.74246);
point[61] = new GLatLng(53.29249, -3.72059);
point[62] = new GLatLng(53.09302, -3.79479);
point[63] = new GLatLng(53.29031, -3.58155);
point[64] = new GLatLng(53.28946, -3.68317);
point[65] = new GLatLng(53.29303, -3.73256);
point[66] = new GLatLng(53.27794, -3.86938);
point[67] = new GLatLng(52.98821, -3.46464);
point[68] = new GLatLng(53.28854, -3.60995);
point[69] = new GLatLng(53.31734, -3.8059);
point[70] = new GLatLng(53.07249, -3.85531);
point[71] = new GLatLng(52.88615, -3.25479);
point[72] = new GLatLng(53.13472, -3.30899);
point[73] = new GLatLng(53.10737, -3.30148);
point[74] = new GLatLng(53.11134, -3.37735);
point[75] = new GLatLng(53.33408, -3.40567);
point[76] = new GLatLng(53.33113, -3.44572);
point[77] = new GLatLng(53.33033, -3.39736);
point[78] = new GLatLng(53.18426, -3.4161);
point[79] = new GLatLng(53.25268, -3.51291);
point[80] = new GLatLng(53.18259, -3.42602);
point[81] = new GLatLng(53.33018, -3.4055);
point[82] = new GLatLng(53.33341, -3.4046);
point[83] = new GLatLng(53.17888, -3.46116);
point[84] = new GLatLng(53.30116, -3.41555);
point[85] = new GLatLng(53.28382, -3.39478);
point[86] = new GLatLng(53.33917, -3.40589);
point[87] = new GLatLng(53.18395, -3.41701);
point[88] = new GLatLng(53.1281, -3.33021);
point[89] = new GLatLng(52.96995, -3.17319);
point[90] = new GLatLng(53.21289, -3.35521);
point[91] = new GLatLng(53.17991, -3.32546);
point[92] = new GLatLng(53.15534, -3.45288);
point[93] = new GLatLng(52.97286, -3.17324);
point[94] = new GLatLng(53.33246, -3.4343);
point[95] = new GLatLng(53.14775, -3.36555);
point[96] = new GLatLng(53.30047, -3.41065);
point[97] = new GLatLng(53.1848, -3.41997);
point[98] = new GLatLng(53.1848, -3.41997);
point[99] = new GLatLng(53.31372, -3.49786);
point[100] = new GLatLng(53.33523, -3.40456);
point[101] = new GLatLng(53.29918, -3.41142);
point[102] = new GLatLng(53.18441, -3.41738);
point[103] = new GLatLng(53.10974, -3.31032);
point[104] = new GLatLng(53.30998, -3.47215);
point[105] = new GLatLng(53.32851, -3.41321);
point[106] = new GLatLng(53.33192, -3.44205);
point[107] = new GLatLng(53.33195, -3.44205);
point[108] = new GLatLng(53.32782, -3.47803);
point[109] = new GLatLng(53.31875, -3.39074);
point[110] = new GLatLng(53.23325, -3.27031);
point[111] = new GLatLng(53.1615, -3.15031);
point[112] = new GLatLng(53.31875, -3.39054);
point[113] = new GLatLng(53.18788, -3.19252);
point[114] = new GLatLng(53.27766, -3.22316);
point[115] = new GLatLng(53.16082, -3.14659);
point[116] = new GLatLng(53.16818, -3.14153);
point[117] = new GLatLng(53.21349, -3.17768);
point[118] = new GLatLng(53.12713, -3.15827);
point[119] = new GLatLng(53.28992, -3.3371);
point[120] = new GLatLng(53.14273, -3.08866);
point[121] = new GLatLng(53.16818, -3.14153);
point[122] = new GLatLng(53.23184, -3.24216);
point[123] = new GLatLng(53.16471, -3.15127);
point[124] = new GLatLng(53.26136, -3.2153);

artistFullName[0] = "Charlotte Bellis";
artistFullName[1] = "Sonja Benskin Mesher";
artistFullName[2] = "Eleanor Brooks";
artistFullName[3] = "Patricia Doorbar";
artistFullName[4] = "Bev Dunne";
artistFullName[5] = "Rowena Jane Edwards";
artistFullName[6] = "Sian Elen";
artistFullName[7] = "Angela Evans";
artistFullName[8] = "Ann Catrin Evans";
artistFullName[9] = "Diane Evans";
artistFullName[10] = "Tom Gloster";
artistFullName[11] = "Heather Grant";
artistFullName[12] = "Myfanwy Griffiths";
artistFullName[13] = "Julie Gritten";
artistFullName[14] = "Steve Jee";
artistFullName[15] = "Sheila M. Jones";
artistFullName[16] = "Stephen Kingston";
artistFullName[17] = "John Lloyd Davies";
artistFullName[18] = "Meinir Moncrieffe ";
artistFullName[19] = "Jenny Oliver";
artistFullName[20] = "Oriel Caffi Croesor Fine Art and Craft Collective";
artistFullName[21] = "Kathy Peak";
artistFullName[22] = "Christina Phillips";
artistFullName[23] = "Glyn Price";
artistFullName[24] = "Vivienne Rickman-Poole";
artistFullName[25] = "Mick Rogers";
artistFullName[26] = "The Roundhouse Studio";
artistFullName[27] = "Christine Ryder";
artistFullName[28] = "Anne Smith";
artistFullName[29] = "Mich&egrave;le Sutton";
artistFullName[30] = "Bill Swann";
artistFullName[31] = "Sue Terrey";
artistFullName[32] = "Teulu'r Nant";
artistFullName[33] = "Su Walls";
artistFullName[34] = "Melanie Williams";
artistFullName[35] = "Rowenna W Williams";
artistFullName[36] = "Ed Wright";
artistFullName[37] = "Gillian Arthur";
artistFullName[38] = "Sarah Berry";
artistFullName[39] = "Anne Campbell@Trefriw Woollen Mills";
artistFullName[40] = "Lisa Carter";
artistFullName[41] = "CASC";
artistFullName[42] = "Hazel Cleverley";
artistFullName[43] = "Mandy Coates & Adrian Farey";
artistFullName[44] = "Chris Coxon";
artistFullName[45] = "Alison Craig";
artistFullName[46] = "Cymru Contemporary Craft Fair";
artistFullName[47] = "Rene Davies & Liz Mackenzie";
artistFullName[48] = "Wendy Leah Dawson";
artistFullName[49] = "Nick Elphick";
artistFullName[50] = "Embroiderers' Guild Associates";
artistFullName[51] = "FFAF";
artistFullName[52] = "Sue Fielding";
artistFullName[53] = "Christine Garwood";
artistFullName[54] = "The Gwenfrewi Studio";
artistFullName[55] = "Janine Jones";
artistFullName[56] = "Jennifer Margaret Jones";
artistFullName[57] = "Jain Koffler";
artistFullName[58] = "Barbara Larkin";
artistFullName[59] = "Andrew Lloyd Jones";
artistFullName[60] = "David Makin";
artistFullName[61] = "Heidi Maria";
artistFullName[62] = "Sharon McCaig";
artistFullName[63] = "Connie Middleman";
artistFullName[64] = "Jon Molloy";
artistFullName[65] = "Sally Owens";
artistFullName[66] = "Pensychnant";
artistFullName[67] = "Shahla Powles";
artistFullName[68] = "Pea Restall";
artistFullName[69] = "Rosemary Sharman";
artistFullName[70] = "The Snowdonia Retreat";
artistFullName[71] = "Diana Baur";
artistFullName[72] = "Sarah Betts";
artistFullName[73] = "Ann Bridges";
artistFullName[74] = "Tara Carr";
artistFullName[75] = "Wayne & Jo Clark";
artistFullName[76] = "George Cottier";
artistFullName[77] = "John Davies";
artistFullName[78] = "Tara Dean";
artistFullName[79] = "Clarrie Flavell";
artistFullName[80] = "Kurt Francis";
artistFullName[81] = "Claire Halliday";
artistFullName[82] = "Julia Hobbs";
artistFullName[83] = "Ann Hughes";
artistFullName[84] = "Quint Hughes";
artistFullName[85] = "Robert Ingham";
artistFullName[86] = "Ali Jackson";
artistFullName[87] = "Wendy Lawrence";
artistFullName[88] = "June McHenry";
artistFullName[89] = "Thomas Meilleur";
artistFullName[90] = "Helen Melvin";
artistFullName[91] = "Jenny Murray";
artistFullName[92] = "David Neal";
artistFullName[93] = "Pat Pearson";
artistFullName[94] = "Judy Pemberton";
artistFullName[95] = "Pentre Farm Group Studio";
artistFullName[96] = "Annemarie Qureshi";
artistFullName[97] = "Llinos Angharad Rogers";
artistFullName[98] = "Rhiannon Rogers";
artistFullName[99] = "Judith Samuel";
artistFullName[100] = "The Scala Arts Cooperative";
artistFullName[101] = "Louise Schrempft";
artistFullName[102] = "St Thomas's Group";
artistFullName[103] = "Maud Telastuo";
artistFullName[104] = "Lynda Waggett";
artistFullName[105] = "Donald Whalley";
artistFullName[106] = "Bernard Willems";
artistFullName[107] = "Jeanne-Marie Willems-Oliver";
artistFullName[108] = "Ray Worsnop";
artistFullName[109] = "Jean Brown";
artistFullName[110] = "Andrew Coomber";
artistFullName[111] = "Alwyn Dempster Jones";
artistFullName[112] = "Hilary Denison";
artistFullName[113] = "Ronnie Drillsma";
artistFullName[114] = "Jan Gardner";
artistFullName[115] = "Llinos Lanini";
artistFullName[116] = "Karen Mould";
artistFullName[117] = "Oriel Rhosesmor";
artistFullName[118] = "Jill Plews";
artistFullName[119] = "Rachel Roberts";
artistFullName[120] = "Kate Roscoe";
artistFullName[121] = "Joan Santana";
artistFullName[122] = "Catherine Taylor Parry";
artistFullName[123] = "Sharon Wagstaff";
artistFullName[124] = "Paula Wilkes";

artistURL[0] = "charlottebellis";
artistURL[1] = "sonjabenskinmesher";
artistURL[2] = "eleanorbrooks";
artistURL[3] = "patriciadoorbar";
artistURL[4] = "bevdunne";
artistURL[5] = "rowenajaneedwards";
artistURL[6] = "sianelen";
artistURL[7] = "angelaevans";
artistURL[8] = "anncatrinevans";
artistURL[9] = "dianeevans";
artistURL[10] = "tomgloster";
artistURL[11] = "heathergrant";
artistURL[12] = "myfanwygriffiths";
artistURL[13] = "juliegritten";
artistURL[14] = "stevejee";
artistURL[15] = "sheilamjones";
artistURL[16] = "stephenkingston";
artistURL[17] = "johnlloyddavies";
artistURL[18] = "meinirmoncrieffe";
artistURL[19] = "jennyoliver";
artistURL[20] = "orielcafficroesor";
artistURL[21] = "kathypeak";
artistURL[22] = "christinaphillips";
artistURL[23] = "glynprice";
artistURL[24] = "viviennerickman-poole";
artistURL[25] = "mickrogers";
artistURL[26] = "roundhousestudio";
artistURL[27] = "christineryder";
artistURL[28] = "annesmith";
artistURL[29] = "michelesutton";
artistURL[30] = "billswann";
artistURL[31] = "sueterrey";
artistURL[32] = "teulurnant";
artistURL[33] = "suwalls";
artistURL[34] = "melaniewilliams";
artistURL[35] = "rowennawwilliams";
artistURL[36] = "edwright";
artistURL[37] = "gillianarthur";
artistURL[38] = "sarahanneberry";
artistURL[39] = "trefriwwoollenmills";
artistURL[40] = "lisacarter";
artistURL[41] = "casc";
artistURL[42] = "hazelcleverley";
artistURL[43] = "coatesandfarey";
artistURL[44] = "chriscoxon";
artistURL[45] = "alisoncraig";
artistURL[46] = "cccf";
artistURL[47] = "daviesmackenzie";
artistURL[48] = "wendyleahdawson";
artistURL[49] = "nickelphick";
artistURL[50] = "embroiderersguild";
artistURL[51] = "ffaf";
artistURL[52] = "suefielding";
artistURL[53] = "christinegarwood";
artistURL[54] = "gwenfrewistudio";
artistURL[55] = "janinejones";
artistURL[56] = "jennifermargaretjones";
artistURL[57] = "jainkoffler";
artistURL[58] = "barbaralarkin";
artistURL[59] = "andrewlloyd-jones";
artistURL[60] = "davidmakin";
artistURL[61] = "heidimaria";
artistURL[62] = "sharonmccaig";
artistURL[63] = "conniemiddleman";
artistURL[64] = "jonmolloy";
artistURL[65] = "sallyowens";
artistURL[66] = "pensychnant";
artistURL[67] = "shahlapowles";
artistURL[68] = "pearestall";
artistURL[69] = "rosemarysharman";
artistURL[70] = "snowdoniaretreat";
artistURL[71] = "dianabaur";
artistURL[72] = "sarahbetts";
artistURL[73] = "annbridges";
artistURL[74] = "taracarr";
artistURL[75] = "waynejoclark";
artistURL[76] = "georgecottier";
artistURL[77] = "johndavies";
artistURL[78] = "taradean";
artistURL[79] = "clarrieflavell";
artistURL[80] = "kurtfrancis";
artistURL[81] = "clairehalliday";
artistURL[82] = "juliahobbs";
artistURL[83] = "annhughes";
artistURL[84] = "quinthughes";
artistURL[85] = "robertingham";
artistURL[86] = "alijackson";
artistURL[87] = "wendylawrence";
artistURL[88] = "junemchenry";
artistURL[89] = "thomasmeilleur";
artistURL[90] = "helenmelvin";
artistURL[91] = "jennymurray";
artistURL[92] = "davidneal";
artistURL[93] = "patpearson";
artistURL[94] = "judypemberton";
artistURL[95] = "pentrefarmgroup";
artistURL[96] = "annemariequreshi";
artistURL[97] = "llinosangharadrogers";
artistURL[98] = "rhiannonrogers";
artistURL[99] = "judithsamuel";
artistURL[100] = "scalaartscooperative";
artistURL[101] = "louisejaneschrempft";
artistURL[102] = "stthomassgroup";
artistURL[103] = "maudtelastuo";
artistURL[104] = "lyndawaggett";
artistURL[105] = "donaldwhalley";
artistURL[106] = "bernardwillems";
artistURL[107] = "jeannemariewillemsoliver";
artistURL[108] = "rayworsnop";
artistURL[109] = "jeanbrown";
artistURL[110] = "andrewcoomber";
artistURL[111] = "alwyndempsterjones";
artistURL[112] = "hilarydenison";
artistURL[113] = "ronniedrillsma";
artistURL[114] = "jangardner";
artistURL[115] = "llinoslanini";
artistURL[116] = "karenmould";
artistURL[117] = "orielrhosesmor";
artistURL[118] = "jillplews";
artistURL[119] = "rachelroberts";
artistURL[120] = "kateroscoe";
artistURL[121] = "joansantana";
artistURL[122] = "catherinetaylorparry";
artistURL[123] = "sharonwagstaff";
artistURL[124] = "paulawilkes";

artistAddress[0] = "Ty Newydd<br/>Penisarwaun<br/><strong>Caernarfon</strong>";
artistAddress[1] = "Tynllan<br/>Llanelltyd<br/><strong>Dolgellau</strong>";
artistAddress[2] = "Gelli<br/>Llanfrothen<br/><strong>Penrhyndeudraeth</strong>";
artistAddress[3] = "min y ffordd<br/>bethania<br/><strong>blaenau ffestiniog</strong>";
artistAddress[4] = "Bryn<br/>Croesor<br/><strong>Penrhyndeudraeth</strong>";
artistAddress[5] = "Chatham Farm<br/>Llandwrog<br/><strong>Caernarfon</strong>";
artistAddress[6] = "Penrallt<br/>Croesor<br/><strong>Penrhyndeudraeth</strong>";
artistAddress[7] = "Uned 3 & 3a<br/>Parc Glynllifon<br/>Ffordd Clynnog<br/><strong>Caernarfon</strong>";
artistAddress[8] = "Yr Efail<br/>Parc Glynllyfon<br/>Ffordd Clynnog<br/><strong>Caernarfon</strong>";
artistAddress[9] = "Neuadd Wen<br/>Ala Road<br/><strong>Pwllheli</strong>";
artistAddress[10] = "Unit 6<br/>Parc Glynllifon<br/><strong>Caernarfon</strong>";
artistAddress[11] = "Pant y Defaid<br/>Waunfawr<br/><strong>Caernarfon</strong>";
artistAddress[12] = "Unit 9<br/>Parc Glynllifon<br/>Ffordd Clynnog<br/><strong>Caernarfon</strong>";
artistAddress[13] = "Traian<br/>Llanfrothen<br/><strong>Penrhyndeudraeth</strong>";
artistAddress[14] = "Cae Glas <br/>Pontllyfni<br/><strong>Caernarfon</strong>";
artistAddress[15] = "Carrog<br/>Pontllyfni<br/><strong>Caernarfon</strong>";
artistAddress[16] = "Oriel Hafod<br/>Ceunant<br/>Llanrug<br/><strong>Caernarfon</strong>";
artistAddress[17] = "Bryn Derwas<br/>Tal y Bont<br/><strong>Bangor</strong>";
artistAddress[18] = "Oriel y Gader <br/>Finsbury Square<br/><strong>Dolgellau </strong>";
artistAddress[19] = "Ceris<br/>8 Grugan Terrace<br/>Groeslon<br/><strong>Caernarfon</strong>";
artistAddress[20] = "Oriel Caffi Croesor<br/>Croesor Village<br/>Llanfrothen<br/><strong>Penrhyndeudraeth</strong>";
artistAddress[21] = "Ganol Barns Craft Centre<br/>Ganol Barns<br/>Sarn Mellteyrn<br/><strong>Pwllheli</strong>";
artistAddress[22] = "14 Tanyfoel<br/>Carneddi<br/><strong>Bethesda</strong>";
artistAddress[23] = "Studio Bryn Afon Farm<br/>Llanrug<br/><strong>Caernarfon</strong>";
artistAddress[24] = "National Slate Museum<br/><strong>Llanberis</strong>";
artistAddress[25] = "17 Cardiff Road<br/><strong>Pwllheli</strong>";
artistAddress[26] = "The Roundhouse Studio<br/>Menter y Felin Uchaf<br/><strong>Rhoshirwaun</strong>";
artistAddress[27] = "Stiwdio Ceran<br/>Tan y Ffridd<br/>Llangower<br/><strong>Bala</strong>";
artistAddress[28] = "Pen y Bwlch<br/>Rhiw<br/><strong>Pwllheli</strong>";
artistAddress[29] = "T&#375; Bach Glas<br/>Rhoshirwaun<br/><strong>PWLLHELI</strong>";
artistAddress[30] = "Glaslyn Studio<br/>Glaslyn Street<br/><strong>Porthmadog</strong>";
artistAddress[31] = "Ty Hapus, Chalet 5<br/>Llugwy Hall Estate<br/>Pennal<br/><strong>Machynlleth</strong>";
artistAddress[32] = "Nant<br/>Mynytho<br/><strong>Pwllheli</strong>";
artistAddress[33] = "Gwynt y Mor<br/>1A Bro Cymerau<br/><strong>Pwllheli</strong>";
artistAddress[34] = "Cysgod y Coed<br/>Llanfor<br/><strong>Bala</strong>";
artistAddress[35] = "Berllan Gron<br/>Llanycil<br/><strong>Bala</strong>";
artistAddress[36] = "Workshop 11<br/>Hendre Hall<br/>Aber Road<br/><strong>Tal Y Bont, Bangor</strong>";
artistAddress[37] = "140 Llanrwst Road<br/><strong>Colwyn Bay</strong>";
artistAddress[38] = "Pwllan<br/>Old Church Road<br/><strong>Betws y Coed</strong>";
artistAddress[39] = "Hand Spinner's Cottage<br/>Trefriw Woollen Mills<br/>Main Road<br/><strong>Trefriw</strong>";
artistAddress[40] = "Plas-Yn-Llan<br/><strong>Llannefydd</strong>";
artistAddress[41] = "CASC (Central Art Studios Cymru)<br/>Central House<br/>Central Place<br/><strong>Llandudno</strong>";
artistAddress[42] = "140 Abergele Road <br/><strong>Colwyn Bay</strong>";
artistAddress[43] = "The Barn<br/>Ty Newydd<br/>Moelfre<br/><strong>Abergele</strong>";
artistAddress[44] = "101 (B) Rhos Promenade<br/>Rhos-on-Sea<br/><strong>Colwyn Bay</strong>";
artistAddress[45] = "Pen'rallt<br/>Allt y Powls<br/>Llanfair Talhaiarn<br/><strong>Abergele</strong>";
artistAddress[46] = "Waterloo Hotel<br/>Holyhead Rd.<br/><strong>Betws-Y-Coed</strong>";
artistAddress[47] = "6 Kinmel Close<br/><strong>Llandudno</strong>";
artistAddress[48] = "387 Conwy Rd<br/>Mochdre<br/><strong>Colwyn Bay</strong>";
artistAddress[49] = "7a Builder Street<br/><strong>Llandudno</strong>";
artistAddress[50] = "St John's  Methodist Church Hall<br/>53-55 Mostyn Street<br/><strong>Llandudno</strong>";
artistAddress[51] = "The Old Wynnstay Feed Store<br/>Llanrwst Market<br/>Ffordd Talybont<br/><strong>Llanrwst</strong>";
artistAddress[52] = "Cefn Llwyd<br/>Llansannan Road<br/>Henllan<br/><strong>Denbigh</strong>";
artistAddress[53] = "The Old Bank Gallery Y Tabernacl<br/>Welsh Baptist Chapel<br/>116, Upper Mostyn Street<br/><strong>Llandudno</strong>";
artistAddress[54] = "Gwenfrewi Creative Arts Centre and Studio<br/>St Winifred's Church<br/><strong>Gwytherin</strong>";
artistAddress[55] = "Bron Edda<br/>Llanrhychwyn Road<br/><strong>Trefriw</strong>";
artistAddress[56] = "Jennifer Margaret Jones<br/>Angorfa<br/>Chapel Street <br/><strong>Penmaenmawr</strong>";
artistAddress[57] = "140 Llanrwst Rd.<br/><strong>Colwyn Bay</strong>";
artistAddress[58] = "Driftwood Studio<br/>4 Dale Road<br/>West Shore<br/><strong>Llandudno</strong>";
artistAddress[59] = "Bwthyn y Graig<br/><strong>Llannefydd</strong>";
artistAddress[60] = "5 Llannerch Road West<br/>Rhos-on-Sea<br/><strong>Colwyn Bay</strong>";
artistAddress[61] = "20 Erksine Road<br/>Colwyn Bay<br/><strong>Colwyn Bay</strong>";
artistAddress[62] = "Tyddyn Bach<br/>Llanrwst Road<br/><strong>Betws y Coed</strong>";
artistAddress[63] = "30 Pentre Mawr<br/><strong>Abergele</strong>";
artistAddress[64] = "94 Llysfaen Road<br/>Old Colwyn<br/><strong>Colwyn Bay</strong>";
artistAddress[65] = "Wychbold<br/>Queen's Avenue<br/><strong>Colwyn Bay</strong>";
artistAddress[66] = "Pensychnant<br/>Sychnant Pass<br/><strong>Conwy</strong>";
artistAddress[67] = "The Goat Inn<br/>Maerdy<br/><strong>Corwen</strong>";
artistAddress[68] = "Hen Wrych Hall<br/>Llanddulas Road<br/><strong>Abergele</strong>";
artistAddress[69] = "Rosemount<br/>3, Tan-Y-Bryn Road<br/>Craig-Y-Don<br/><strong>Llandudno</strong>";
artistAddress[70] = "Snowdonia Retreat<br/>Fron Goch<br/><strong>Dolwyddelan</strong>";
artistAddress[71] = "The Hand at Llanarmon<br/>Llanarmon DC<br/>Ceiriog Valley<br/><strong>Llangollen</strong>";
artistAddress[72] = "Minffordd<br/>Llanbedr DC<br/><strong>Ruthin</strong>";
artistAddress[73] = "Dol Rhedyn<br/>Llanfair Rd<br/><strong>Ruthin</strong>";
artistAddress[74] = "Bryn Ffynnon<br/>Bontuchel<br/><strong>Ruthin</strong>";
artistAddress[75] = "6 Glyn Avenue<br/><strong>Prestatyn</strong>";
artistAddress[76] = "7 West Close<br/><strong>Prestatyn</strong>";
artistAddress[77] = "12 Fforddlas<br/><strong>Prestatyn</strong>";
artistAddress[78] = "46 Park Street<br/><strong>Denbigh</strong>";
artistAddress[79] = "Blue Earthworm<br/>Top y Glascoed<br/><strong>Abergele</strong>";
artistAddress[80] = "13 Maesglas<br/><strong>Denbigh</strong>";
artistAddress[81] = "12a The Avenue<br/>Woodland Park<br/><strong>Prestatyn</strong>";
artistAddress[82] = "11 Clwyd Avenue<br/><strong>Prestatyn</strong>";
artistAddress[83] = "Gwaenynog-Bach<br/>Pentrefoelas Road<br/><strong>Denbigh</strong>";
artistAddress[84] = "Golygfa'r Foel<br/>Bryn y Felin<br/><strong>Dyserth</strong>";
artistAddress[85] = "Bwlch Isa<br/>Cwm<br/>Dyserth<br/><strong>Rhyl</strong>";
artistAddress[86] = "19 Highbury Avenue<br/><strong>Prestatyn</strong>";
artistAddress[87] = "Ty Tal<br/>34 Park Street<br/><strong>Denbigh</strong>";
artistAddress[88] = "AWELFRYN<br/>RHEWL<br/><strong>RUTHIN</strong>";
artistAddress[89] = "Berwyn Cottage<br/>3 West Street<br/><strong>Llangollen</strong>";
artistAddress[90] = "Blaen Wern<br/>Waen<br/><strong>Bodfari</strong>";
artistAddress[91] = "Avoca<br/>Ffordd Glas<br/>Llandrynog<br/><strong>Denbigh</strong>";
artistAddress[92] = "ABERGLYNIAU<br/>PENIEL<br/><strong>DENBIGH</strong>";
artistAddress[93] = "The Pines<br/>Abbey Road<br/><strong>Llangollen</strong>";
artistAddress[94] = "The Garage<br/>55 Victoria Road West<br/><strong>Prestatyn</strong>";
artistAddress[95] = "Pentre farm<br/>Llanrhaeadr<br/><strong>Denbigh</strong>";
artistAddress[96] = "LLYSWERN<br/>HIGH STREET<br/><strong>DYSERTH</strong>";
artistAddress[97] = "School Room<br/>Capel Pendref<br/>Chapel Place <br/><strong>Denbigh</strong>";
artistAddress[98] = "Pendref Chapel Vestry<br/>Chapel Place<br/><strong>Denbigh</strong>";
artistAddress[99] = "6 Seabank Road<br/><strong>Rhyl</strong>";
artistAddress[100] = "47 High Street<br/><strong>Prestatyn</strong>";
artistAddress[101] = "springwood<br/>lower foel rd<br/><strong>dyserth</strong>";
artistAddress[102] = "St.Thomas's Church<br/>Vale Street<br/><strong>Denbigh</strong>";
artistAddress[103] = "Apt 3 Scott House<br/>Corwen Rd<br/><strong>Ruthin</strong>";
artistAddress[104] = "St Crwst<br/>93, Rhuddlan Road<br/><strong>Rhyl</strong>";
artistAddress[105] = "19 St James Drive<br/><strong>Prestatyn</strong>";
artistAddress[106] = "9 Jaclyn Close<br/><strong>Prestatyn</strong>";
artistAddress[107] = "9 Jaclyn Close<br/><strong>Prestatyn</strong>";
artistAddress[108] = "Apartment 8<br/>Marina Apartments<br/>9-11 Marine Drive<br/><strong>Rhyl</strong>";
artistAddress[109] = "Gwaenysgor Village Hall<br/>Gwaenysgor<br/><strong>Rhyl</strong>";
artistAddress[110] = "The Coach House Studio<br/>Fford Pentre<br/>Ysceifiog<br/><strong>Holywell</strong>";
artistAddress[111] = "Cedryn<br/>24 Ffordd Trem y Foel<br/>Parc Bryn Coch<br/><strong>Mold</strong>";
artistAddress[112] = "Gwaenysgor Village Hall<br/>Gwaenysgor<br/><strong>Nr Prestatyn</strong>";
artistAddress[113] = "Twmpath Studio<br/>Rhydymwyn<br/><strong>Mold</strong>";
artistAddress[114] = "Holywell Art and Craft Mill<br/>Well Hill <br/><strong>Holywell</strong>";
artistAddress[115] = "Y Boncyn<br/>Bryn Coch Cresc<br/><strong>Mold</strong>";
artistAddress[116] = "Y Delyn Wine Bar<br/>King Street<br/><strong>Mold</strong>";
artistAddress[117] = "Oriel Rhosesmor<br/><strong>Rhosesmor</strong>";
artistAddress[118] = "Gelli Cottage<br/>Fford Plas Ucha<br/>Nercwys<br/><strong>Mold</strong>";
artistAddress[119] = "Tre Abbot Fawr<br/><strong>Trelawnyd</strong>";
artistAddress[120] = "Druid Inn Cottage<br/>Wrexham Road<br/><strong>Pontblyddyn</strong>";
artistAddress[121] = "Y Delyn Wine Bar<br/>King Sreet<br/><strong>Mold</strong>";
artistAddress[122] = "WAYSIDE COTTAGE<br/>FFORDD WALWEN<br/>LIXWM<br/><strong>NR HOLYWELL</strong>";
artistAddress[123] = "4 Bryn Heulog<br/><strong>Mold</strong>";
artistAddress[124] = "26 the ridgeway<br/><strong>holywell</strong>";

postCode[0] = "LL55 3BS";
postCode[1] = "LL40 2SU";
postCode[2] = "LL48 6SH";
postCode[3] = "ll41 3lz";
postCode[4] = "LL48 6SS";
postCode[5] = "LL54 5TG";
postCode[6] = "LL48 6DQ";
postCode[7] = "LL54 5DY";
postCode[8] = "LL54 5DY";
postCode[9] = "LL53 5BL";
postCode[10] = "LL54 5DY";
postCode[11] = "LL55 4SB";
postCode[12] = "LL54 5DY";
postCode[13] = "LL48 6SW";
postCode[14] = "LL54 5ER";
postCode[15] = "LL54 5EG";
postCode[16] = "LL55 4RU";
postCode[17] = "LL57 3YB";
postCode[18] = "LL40 1RE";
postCode[19] = "LL54 7TD";
postCode[20] = "LL48 6SS";
postCode[21] = "LL53 8HG";
postCode[22] = "LL57 3UL";
postCode[23] = "LL55 4BS";
postCode[24] = 'LL55 4TY';
postCode[25] = "LL53 5NU";
postCode[26] = "LL53 8HS";
postCode[27] = "LL23 7DA";
postCode[28] = "LL53 8AF";
postCode[29] = "LL53 8HN";
postCode[30] = "LL49 9EG";
postCode[31] = "SY20 9JX";
postCode[32] = "LL53 7SG";
postCode[33] = "LL53 5PY";
postCode[34] = "LL23 7DU";
postCode[35] = "LL23 7YG";
postCode[36] = "LL57 3YP";
postCode[37] = "LL28 5YL";
postCode[38] = "LL24 0AE";
postCode[39] = "LL27 0NQ";
postCode[40] = "LL16 5EA";
postCode[41] = "LL30 2SZ";
postCode[42] = "LL29 7ST";
postCode[43] = "LL22 9RL";
postCode[44] = "LL28 4NG";
postCode[45] = "LL22 8SP";
postCode[46] = "LL24 0AR";
postCode[47] = "LL30 1GF";
postCode[48] = "LL28 5AR";
postCode[49] = "LL30 1DR";
postCode[50] = "LL30 2NN";
postCode[51] = "LL26 0DG";
postCode[52] = "LL16 5DA";
postCode[53] = "LL30 2SP";
postCode[54] = "LL22 8UU";
postCode[55] = "LL27 0UZ";
postCode[56] = "LL34 6PA";
postCode[57] = "LL28 5YL";
postCode[58] = "LL30 2BG";
postCode[59] = "LL16 5ED";
postCode[60] = "LL28 4BB";
postCode[61] = "LL29 8EU";
postCode[62] = "LL24 0HA";
postCode[63] = "LL22 7PL";
postCode[64] = "LL29 9HL";
postCode[65] = "LL29 7BE";
postCode[66] = "LL32 8BJ";
postCode[67] = "LL21 0NR";
postCode[68] = "LL22 8EU";
postCode[69] = "LL30 1UR";
postCode[70] = "LL25 0PQ";
postCode[71] = "LL20 7LD";
postCode[72] = "LL15 1TS";
postCode[73] = "LL15 1DA";
postCode[74] = "LL15 2BL";
postCode[75] = "LL19 9NN";
postCode[76] = "LL19 7BP";
postCode[77] = "LL19 9SG";
postCode[78] = "LL16 3DD";
postCode[79] = "LL22 9DG";
postCode[80] = "LL16 3RF";
postCode[81] = "LL19 9RD";
postCode[82] = "LL19 9NG";
postCode[83] = "LL16 5RW";
postCode[84] = "LL18 6AE";
postCode[85] = "LL18 5SF";
postCode[86] = "LL19 7NS";
postCode[87] = "LL16 3DB";
postCode[88] = "LL15 2TR";
postCode[89] = "LL20 8RG";
postCode[90] = "LL16 4BT";
postCode[91] = "LL16 4LT";
postCode[92] = "LL16 4TD";
postCode[93] = "LL20 8SW";
postCode[94] = "LL19 7AA";
postCode[95] = "LL16 4PE";
postCode[96] = "LL18 6AB";
postCode[97] = "LL16 3TU";
postCode[98] = "LL16 3TU";
postCode[99] = "LL18 1EA";
postCode[100] = "LL19 9AH";
postCode[101] = "LL18 6AT";
postCode[102] = "LL16 3AH";
postCode[103] = "LL15 2NP";
postCode[104] = "LL18 2RE";
postCode[105] = "LL19 8EJ";
postCode[106] = "LL19 7BN";
postCode[107] = "LL19 7BN";
postCode[108] = "LL18 3AU";
postCode[109] = "LL18 6EJ";
postCode[110] = "CH8 8NJ";
postCode[111] = "CH7 1NG";
postCode[112] = "LL18 6EJ";
postCode[113] = "CH7 5HS";
postCode[114] = "CH8 7PN";
postCode[115] = "CH7 1PY";
postCode[116] = "CH7 1LA";
postCode[117] = "CH7 6WF";
postCode[118] = "CH7 4EN";
postCode[119] = "LL18 6ED";
postCode[120] = "CH7 4HG";
postCode[121] = "CH7 1LA";
postCode[122] = "CH8 8LU";
postCode[123] = "CH7 1TS";
postCode[124] = "CH8 7SN";

	  for (var gwyn=0; gwyn<37; gwyn++) {
		  county[gwyn] = "Gwynedd";
		  }

	  for (var conw=37; conw<71; conw++) {
		  county[conw] = "Conwy";
		  }
		  
	  for (var denb=71; denb<109; denb++) {
		  county[denb] = "Denbighshire";
		  }
		  
	  for (var flin=109; flin<125; flin++) {
		  county[flin] = "Flintshire";
		  }
		  

	  for (var ii=0; ii<125; ii++) { 
      footerHTML[ii] = "<div id=\"HGMapBubbleFooter\"><a href=\"/en/" + artistURL[ii] + "/\" target=\"_blank\">Artist's page</a> [opens in new window]<br/><div id=\"HGMapBubbleFooterZoom\"><a href=\"javascript:void(0)\" onclick=\"ZoomMapTo(" + ii + ")\">Zoom In</a></div></div>";
      iconsm.image = "/hg/images/pin" + county[ii] + ".png";
      InfoHTML[ii] = "<div id=\"HGMapBubble\"><div id=\"HGMapBubbleCaption\">" + artistFullName[ii] + "</div><div id=\"HGMapBubbleContent\"><table><tr><td><img src=\"/wp-content/uploads/2010/thumbs/" + artistURL[ii] + "-90x70.jpg\" alt=\"" + artistFullName[ii] + "\" border=\"0\" /></td><td>" + artistAddress[ii] + "<br/>" + county[ii] + "<br/>" + postCode[ii] + "</td></tr></table></div>" + footerHTML[ii] + "</div>";
      marker = createMarker(point[ii], InfoHTML[ii], iconsm);
      map.addOverlay(marker);
      aLocations[ii] = new Array(marker, artistFullName[ii], InfoHTML[ii], point[ii], artistURL[ii]);
	  }
  
      createSideBar(0,37,"region1");
	  listNodeContent = document.getElementById("region1").innerHTML;
	  createSideBar(37,71,"region2");
	  listNodeContent = document.getElementById("region2").innerHTML;
	  createSideBar(71,109,"region3");
	  listNodeContent = document.getElementById("region3").innerHTML;
	  createSideBar(109,125,"region4");
	  listNodeContent = document.getElementById("region4").innerHTML;
 
}
