var jsonobj = [{"id":"1397","title":"Barkway Park","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Nuthampstead Rd","address2":"","town":"Barkway","county_id":"17","postcode":"SG8 8EN","telephone":"01763 849070","lat":"51.991713462182","lon":"0.0321862970992885","zoom":"15","enhanced":"0","teetime":"0","email":"","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Val Sadler","data":"","cost":""},{"id":"1398","title":"Arkley","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Rowley Green Rd","address2":"","town":"Barnet","county_id":"17","postcode":"EN5 3HL","telephone":"020 8449 0394","lat":"51.647937349648","lon":"-0.237360434493561","zoom":"15","enhanced":"0","teetime":"0","email":"","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"R Campbell","data":"","cost":""},{"id":"1399","title":"Hadley Wood","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Beech Hill","address2":"","town":"Barnet","county_id":"17","postcode":"EN4 0JJ","telephone":"020 84494328","lat":"51.6660434827189","lon":"-0.164173082008192","zoom":"15","enhanced":"0","teetime":"0","email":"gm@hadleywoodgc.com","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Bill Beckett","data":"","cost":""},{"id":"1400","title":"Ashridge","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Little Gaddesden","address2":"","town":"Berkhampstead","county_id":"17","postcode":"HP4 1LY","telephone":"01442 843770","lat":"51.8085546257675","lon":"-0.569080723927466","zoom":"15","enhanced":"0","teetime":"0","email":"info@ashridgegolfclub.ltd.uk","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Martin Silver","data":"","cost":""},{"id":"1401","title":"Berkhampstead","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"The Common","address2":"","town":"Berkhampstead","county_id":"17","postcode":"HP4 2QB","telephone":"01442 865832","lat":"51.7696025714177","lon":"-0.545990884421471","zoom":"15","enhanced":"0","teetime":"0","email":"barryh@berhampsteadgc.co.uk","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Barry Hill","data":"","cost":""},{"id":"1402","title":"Bishop's Stortford","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Dunmow Rd","address2":"","town":"Bishop's Stortford","county_id":"17","postcode":"CM23 5HP","telephone":"01279 654715","lat":"51.8706251800834","lon":"0.190704103526306","zoom":"15","enhanced":"0","teetime":"0","email":"office@bsgc.co.uk","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Judy Barker","data":"","cost":""},{"id":"1403","title":"Great Hadham","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Great Hadham Rd","address2":"Much Hadham","town":"Bishop's Stortford","county_id":"17","postcode":"SG10 6JE","telephone":"01279 843558","lat":"51.8558146384706","lon":"0.10693775411189","zoom":"15","enhanced":"0","teetime":"0","email":"","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Ian Bailey","data":"","cost":""},{"id":"1404","title":"The Hertfordshire","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Broxbournebury Mansion","address2":"White Stubbs Lane","town":"Broxbourne","county_id":"17","postcode":"EN10 7PY","telephone":"01992 470326","lat":"51.7423915018818","lon":"-0.0381155735383237","zoom":"15","enhanced":"0","teetime":"0","email":"","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Mark Collymore","data":"","cost":""},{"id":"1405","title":"East Hearts","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Hamels Park","address2":"","town":"Buntingford","county_id":"17","postcode":"SG9 9NA","telephone":"01920 821978","lat":"51.9027878625998","lon":"-0.000820465446115777","zoom":"15","enhanced":"0","teetime":"0","email":"secretary@ehgc.fsnet.co.uk","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Colin Day","data":"","cost":""},{"id":"1406","title":"Bushey","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"High St","address2":"","town":"Bushey","county_id":"17","postcode":"WD23 1TT","telephone":"020 8950 2215","lat":"51.643098942168","lon":"-0.360890301359444","zoom":"15","enhanced":"0","teetime":"0","email":"","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"9","contactname":"","data":"","cost":""},{"id":"1407","title":"Bushey Hall","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Bushey Hall Drive","address2":"","town":"Bushey","county_id":"17","postcode":"WD23 2EP","telephone":"01923 222253","lat":"51.6549170714529","lon":"-0.373910204074756","zoom":"15","enhanced":"0","teetime":"0","email":"info@golfclubuk.co.uk","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Gordon Foster","data":"","cost":""},{"id":"1408","title":"Hartsbourne","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Hartsbourne Ave","address2":"","town":"Bushey Heath","county_id":"17","postcode":"WD23 1JW","telephone":"020 8421 7272","lat":"51.6288120216054","lon":"-0.348284686900433","zoom":"15","enhanced":"0","teetime":"0","email":"","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Ian Thomas","data":"","cost":""},{"id":"1409","title":"Chorleywood","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Common Rd","address2":"","town":"Chorleywood","county_id":"17","postcode":"WD3 5LN","telephone":"01923 282009","lat":"51.6543583412682","lon":"-0.515734978492714","zoom":"15","enhanced":"0","teetime":"0","email":"secretary@chorleywoodgolfclub.co.uk","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"9","contactname":"Rod Botham","data":"","cost":""},{"id":"1410","title":"Elstree","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Watling St","address2":"","town":"Elstree","county_id":"17","postcode":"WD6 3AA","telephone":"020 8238 6942","lat":"51.660179752327","lon":"-0.302852851925562","zoom":"15","enhanced":"0","teetime":"0","email":"admin@elstree-golf.co.uk","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Kathy Roberts","data":"","cost":""},{"id":"1411","title":"Aldwickbury Park","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Piggottshill Lane","address2":"","town":"Harpenden","county_id":"17","postcode":"AL5 1AB","telephone":"01528 765112","lat":"51.8122041162712","lon":"-0.332156626316978","zoom":"15","enhanced":"0","teetime":"0","email":"info@aldwickburyparkgc.co.uk","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Tristan Hall","data":"","cost":""},{"id":"1412","title":"Harpenden","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Hammonds End","address2":"Redbourne Lane","town":"Harpenden","county_id":"17","postcode":"AL5 2AX","telephone":"01582 712580","lat":"51.7987632931023","lon":"-0.364417341500853","zoom":"15","enhanced":"0","teetime":"0","email":"","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Frank Clapp","data":"","cost":""},{"id":"1413","title":"Brookmans Park","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Golf Club Rd","address2":"Brookmans Park","town":"Hatfield","county_id":"17","postcode":"AL9 7AT","telephone":"01707 652487","lat":"51.7265398249927","lon":"-0.185501572951177","zoom":"15","enhanced":"0","teetime":"0","email":"info@bpgc.co.uk","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Peter Gill","data":"","cost":""},{"id":"1414","title":"Hatfield London","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Bedwell Park","address2":"Essendon","town":"Hatfield","county_id":"17","postcode":"AL9 6HN","telephone":"01707 260360","lat":"51.7523922203163","lon":"-0.150124495487157","zoom":"15","enhanced":"0","teetime":"0","email":"","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"","data":"","cost":""},{"id":"1415","title":"Boxmoor","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"18 Box Lane","address2":"Boxmore","town":"Hemel Hempstead","county_id":"17","postcode":"HP3 0DJ","telephone":"01442 242434","lat":"51.7357269630117","lon":"-0.504452351014621","zoom":"15","enhanced":"0","teetime":"0","email":"","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"9","contactname":"Brian Swann","data":"","cost":""},{"id":"1416","title":"Little Hay","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Box Lane","address2":"Bovingdon","town":"Hemel Hempstead","county_id":"17","postcode":"HP3 0DQ","telephone":"01442 833798","lat":"51.73482934195364","lon":"-0.5254340171813965","zoom":"15","enhanced":"0","teetime":"0","email":"","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Chris Gordon","data":"","cost":""},{"id":"1417","title":"Shendish Manor","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"London Rd","address2":"Apsley","town":"Hemel Hempstead","county_id":"17","postcode":"HP3 0AA","telephone":"01442 251806","lat":"51.7283865128232","lon":"-0.469359491233245","zoom":"15","enhanced":"0","teetime":"0","email":"","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Seema Patel","data":"","cost":""},{"id":"1418","title":"Brickendon Grange","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Brickendon","address2":"","town":"Hertford","county_id":"17","postcode":"SG13 8PD","telephone":"01992 511258","lat":"51.7521041853906","lon":"-0.0894092953618687","zoom":"15","enhanced":"0","teetime":"0","email":"play@brickendongrangegc.co.uk","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Martin Bennet","data":"","cost":""},{"id":"1419","title":"Chesfield Downs","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Jack's Hill","address2":"Graveley","town":"Hitchin","county_id":"17","postcode":"SG4 7EQ","telephone":"01462 482929","lat":"51.9469456955992","lon":"-0.205126134340921","zoom":"15","enhanced":"0","teetime":"0","email":"","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Paul Barnfather","data":"","cost":""},{"id":"1420","title":"Knebworth","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Deards End Lane","address2":"","town":"Knebworth","county_id":"17","postcode":"SG3 6NL","telephone":"01438 812752","lat":"51.8694456963607","lon":"-0.189938315434433","zoom":"15","enhanced":"0","teetime":"0","email":"knebworth1@btconnect.com","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"A Hobbs","data":"","cost":""},{"id":"1421","title":"Letchworth","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Letchworth Lane","address2":"","town":"Letchworth","county_id":"17","postcode":"SG6 3NQ","telephone":"01462 683203","lat":"51.9633665415511","lon":"-0.22946576026513","zoom":"15","enhanced":"0","teetime":"0","email":"","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Niki Hunter","data":"","cost":""},{"id":"1422","title":"Potters Bar","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Darkes Lane","address2":"","town":"Potters Bar","county_id":"17","postcode":"EN6 1DE","telephone":"01707 652020","lat":"51.7001553545915","lon":"-0.189104686275941","zoom":"15","enhanced":"0","teetime":"0","email":"info@pottersbargolfclub.com","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Peter Watson","data":"","cost":""},{"id":"1423","title":"Porters Park","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Shenley Hill","address2":"","town":"Radlett","county_id":"17","postcode":"WD7 7AZ","telephone":"01923 854127","lat":"51.6874695472438","lon":"-0.307533026035219","zoom":"15","enhanced":"0","teetime":"0","email":"enquiries@porterspark.com","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"P Marshall","data":"","cost":""},{"id":"1424","title":"Redbourn","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Kingsbourne","address2":"Green Lane","town":"Redbourn","county_id":"17","postcode":"AL3 7QA","telephone":"01582 794888","lat":"51.8116056694901","lon":"-0.389864520252166","zoom":"15","enhanced":"0","teetime":"0","email":"info@redbourngc.co.uk","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Stuart Hatch","data":"","cost":""},{"id":"1425","title":"Batchworth Park","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"London Rd","address2":"","town":"Rickmansworth","county_id":"17","postcode":"WD3 1JS","telephone":"01923 711400","lat":"51.6286899706081","lon":"-0.459698399604128","zoom":"15","enhanced":"0","teetime":"0","email":"","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"","data":"","cost":""},{"id":"1426","title":"Moor Park","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Moor Park","address2":"","town":"Rickmansworth","county_id":"17","postcode":"WD3 1QN","telephone":"01923 773146","lat":"51.6279887183898","lon":"-0.447425484451527","zoom":"15","enhanced":"0","teetime":"0","email":"enquiries@moorparkgc.co.uk","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"J Moore","data":"","cost":""},{"id":"1427","title":"Rickmansworth Public","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Moor Lane","address2":"","town":"Rickmansworth","county_id":"17","postcode":"WD3 1QL","telephone":"01895 270453","lat":"51.6332533382645","lon":"-0.457939702389257","zoom":"15","enhanced":"0","teetime":"0","email":"","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Andre de Bruin","data":"","cost":""},{"id":"1428","title":"Heydon Grange","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Heydon","address2":"","town":"Royston","county_id":"17","postcode":"SG8 7NS","telephone":"01763 208988","lat":"52.062159896099","lon":"0.0701959675331363","zoom":"15","enhanced":"0","teetime":"0","email":"","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"","data":"","cost":""},{"id":"1429","title":"Malton","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Malton Lane","address2":"Meldreth","town":"Royston","county_id":"17","postcode":"SG8 6PE","telephone":"01763 262200","lat":"52.1161992777055","lon":"0.00410003667793775","zoom":"15","enhanced":"0","teetime":"0","email":"","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"A Boyce","data":"","cost":""},{"id":"1430","title":"Royston","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Baldock Rd","address2":"","town":"Royston","county_id":"17","postcode":"SG8 5BG","telephone":"01763 242696","lat":"52.0474689333623","lon":"-0.0269667321611912","zoom":"15","enhanced":"0","teetime":"0","email":"roystongolf@btconnect.com","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"S Clark","data":"","cost":""},{"id":"1431","title":"Batchwood","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Batchwood Drive","address2":"","town":"St Albans","county_id":"17","postcode":"AL3 5XA","telephone":"01727 844250","lat":"51.7669405803656","lon":"-0.353059509251488","zoom":"15","enhanced":"0","teetime":"0","email":"","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Andy Smithard","data":"","cost":""},{"id":"1432","title":"Mid-Herts","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Lamer Lane","address2":"Wheathampstead","town":"St Albans","county_id":"17","postcode":"AL4 8RS","telephone":"01582 832242","lat":"51.8269887516388","lon":"-0.292699720209045","zoom":"15","enhanced":"0","teetime":"0","email":"secretary@mid-hertsgolfclub.co.uk","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Ms A McDonald","data":"","cost":""},{"id":"1433","title":"Verulam","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"226 London Rd","address2":"","town":"St Albans","county_id":"17","postcode":"AL1 1JG","telephone":"01727 853327","lat":"51.742658164814","lon":"-0.32496993098377","zoom":"15","enhanced":"0","teetime":"0","email":"gm@verulamgolf.co.uk","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Peter Watson","data":"","cost":""},{"id":"1434","title":"Manor of Groves","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"High Wych","address2":"","town":"Sawbridgeworth","county_id":"17","postcode":"CM21 0JU","telephone":"0870 4108833","lat":"51.8129658301294","lon":"0.11767777660008","zoom":"15","enhanced":"0","teetime":"0","email":"","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Andrea Goodhew","data":"","cost":""},{"id":"1435","title":"Stevenage","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Aston Lane","address2":"","town":"Stevenage","county_id":"17","postcode":"SG2 7EL","telephone":"01438 880322","lat":"51.8840303651142","lon":"-0.154504266743545","zoom":"15","enhanced":"0","teetime":"0","email":"","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"S Green","data":"","cost":""},{"id":"1436","title":"The Cheshunt","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"The Clubhouse","address2":"Park Lane","town":"Cheshunt","county_id":"17","postcode":"EN7 6QD","telephone":"01992 629777","lat":"51.716519478692","lon":"-0.0468659602844354","zoom":"15","enhanced":"0","teetime":"0","email":"","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"B Furne","data":"","cost":""},{"id":"1437","title":"Briggens House","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Briggens Park","address2":"Stanstead Abbotts","town":"Ware","county_id":"17","postcode":"SG12 8LD","telephone":"01279 793742","lat":"51.7808914334316","lon":"0.0447506807197188","zoom":"15","enhanced":"0","teetime":"0","email":"","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"9","contactname":"Alan Battle","data":"","cost":""},{"id":"1438","title":"Chadwell Springs","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Hertford Rd","address2":"","town":"Ware","county_id":"17","postcode":"SG12 9LE","telephone":"01920 462075","lat":"51.804496098526","lon":"-0.040076497561409","zoom":"15","enhanced":"0","teetime":"0","email":"","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"9","contactname":"David Robertson","data":"","cost":""},{"id":"1439","title":"Hanbury Manor","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"","address2":"","town":"Ware","county_id":"17","postcode":"SG12 0SD","telephone":"01920 487722","lat":"51.8283923589983","lon":"-0.0390681345722629","zoom":"15","enhanced":"0","teetime":"0","email":"","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Simon Clough","data":"","cost":""},{"id":"1440","title":"Whitehill","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Whitehill Golf Centre","address2":"Dane End","town":"Ware","county_id":"17","postcode":"SG12 0JS","telephone":"01920 438495","lat":"51.8698134534623","lon":"-0.0530437763599593","zoom":"15","enhanced":"0","teetime":"0","email":"whitehillgolf@btconnect.com","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Andrew Smith","data":"","cost":""},{"id":"1441","title":"Aldenham","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Church Lane","address2":"Aldenham","town":"Watford","county_id":"17","postcode":"WD25 8NN","telephone":"01923 853929","lat":"51.6716217259782","lon":"-0.354219882354319","zoom":"15","enhanced":"0","teetime":"0","email":"info@aldenhamgolfclub.co.uk","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"","data":"","cost":""},{"id":"1442","title":"West Herts","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Cassiobury Park","address2":"","town":"Watford","county_id":"17","postcode":"WD3 3GG","telephone":"01923 236484","lat":"51.6567864018797","lon":"-0.4286425728143","zoom":"15","enhanced":"0","teetime":"0","email":"","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Clive Dodman","data":"","cost":""},{"id":"1443","title":"Brocket Hall","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"","address2":"","town":"Welwyn Garden City","county_id":"17","postcode":"AL8 7XG","telephone":"01707 335241","lat":"51.8044423358496","lon":"-0.245593786766599","zoom":"15","enhanced":"0","teetime":"0","email":"info@brocket-hall.co.uk","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"","data":"","cost":""},{"id":"1444","title":"Mill Green","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Gypsy Lane","address2":"","town":"Welwyn Garden City","county_id":"17","postcode":"AL7 4TY","telephone":"01707 276900","lat":"51.7753064324018","lon":"-0.190533411307973","zoom":"15","enhanced":"0","teetime":"0","email":"millgreen@crown-golf.co.uk","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Tim Hudson","data":"","cost":""},{"id":"1445","title":"Panshanger","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Old Herns Lane","address2":"Panshanger","town":"Welwyn Garden City","county_id":"17","postcode":"AL7 2ED","telephone":"01707 333350","lat":"51.8080705021912","lon":"-0.171492959590066","zoom":"15","enhanced":"0","teetime":"0","email":"","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Michael Corlass","data":"","cost":""},{"id":"1446","title":"Welwyn Garden City","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Mannicotts","address2":"High Oaks Rd","town":"Welwyn Garden City","county_id":"17","postcode":"AL8 7BP","telephone":"01707 325243","lat":"51.8018620527059","lon":"-0.219917525683742","zoom":"15","enhanced":"0","teetime":"0","email":"","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"","data":"","cost":""},{"id":"1447","title":"Lamerwood","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Codicote Rd","address2":"Wheathampstead","town":"St Albans","county_id":"17","postcode":"AL4 8GB","telephone":"01582 833013","lat":"51.8224295781619","lon":"-0.282220227162122","zoom":"15","enhanced":"0","teetime":"0","email":"","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"S Takabatake","data":"","cost":""},{"id":"1448","title":"Whipsnade Park","page_title":"","metak":"","metad":"","banner_id":"4","header_id":"8","header_left":"13","header_middle":"10","header_right":"11","type_id":"1","address1":"Studham Lane","address2":"","town":"Dagnall","county_id":"17","postcode":"HP4 1RH","telephone":"01442 842330","lat":"51.8375549067417","lon":"-0.555749834944371","zoom":"15","enhanced":"0","teetime":"0","email":"whipsnadeparkgolfc@btopenworld.com","website":"","overview":"","details":"","description":"","features":"","facilities":"","lessons":"","offers":"","live":"1","modified":"","added":"0000-00-00 00:00:00","featured":"0","county_feature":"0","holes":"18","contactname":"Ruth Whalley","data":"","cost":""}]; var icons = []; icons[0] = new GIcon(); icons[0].iconSize = new GSize(32, 32); // set icon dimensions icons[0].iconAnchor = new GPoint(16, 30); // set icon anchor point icons[0].infoWindowAnchor = new GPoint(16, 30); // set anchor point of info window icons[0].image = "/UserFiles/Image/icons/1.png"; // set icon source var mapctr; var mapopts = { mapZoom: 9, mapShowjMapIcon: false, mapType: 'map', mapEnableType: true }; var _icon = new GIcon(); // create var markers = []; _icon.iconSize = new GSize(32, 32); // set icon dimensions _icon.iconAnchor = new GPoint(16, 30); // set icon anchor point _icon.infoWindowAnchor = new GPoint(16, 30); // set anchor point of info window _icon.image = "/images/map_flag.png"; // set icon source var geocoder = new GClientGeocoder; var bounds = new GLatLngBounds(); $.each(jsonobj, function(idx){ var that = this; var latlon = [this.lat,this.lon]; var latlng = new GLatLng(this.lat,this.lon); bounds.extend(latlng); var marker = new GMarker(latlng, {title:this.title, icon:icons[0]}); // create new marker object using marker options GEvent.addListener(marker, "click", function() { // add event listener to marker to detect clicking var info = '
'; info += '' + that.title + '
Click for more details
'; info += 'Tel: ' + that.telephone + '
'; $.jmap.GMap2.openInfoWindowHtml(latlng, info); // open info window using innerhtml of div }); markers.push(marker); }); mapctr = bounds.getCenter(); $.extend(mapopts, {mapCenter: [mapctr.y,mapctr.x]}); var showResults = function(){ $('#map').css({height:'510px', width:'505px'}); $('#map').jmap('init', mapopts, function(el, options){ $('#map').jmap('intersectPadding', 50); $('#map').jmap('addCluster', {markers:markers}); $('#map')[0].jmap.setZoom($('#map')[0].jmap.getBoundsZoomLevel(bounds)); }); }; $(document).ready(function(){ showResults(); $('#homesearch_reset').click(function(){ showResults(); }); });