var myEvents = [
{'id':958,'gmid':351,'date':'1028','title':'Birth of William, the future conqueror of England','dets':'William is born at Falaise in either 1027 or 1028' },
{'id':2822,'gmid':184,'date':'1057','title':'The Battle of Varaville','dets':'Another battle fought between Henry, the King of France, and William, the Duke of Normandy. Again the Normans defeated the French King\'s army.' },
{'id':883,'gmid':206,'date':'Sep 20 1066','title':'Battle of Gate Fulford','dets':'Harold Hardrada\'s forces invaded and started ravaging the countryside as they made their way to York. English forces led by Earl Edwin and Earl Morcar battled with Harold Hardrada at Gate Fulford, but the English were severely beaten. Following this defeat Harold, King of England, was forced to march his army away from the south coast where they were preparing to defend against William th...' },
{'id':295,'gmid':263,'date':'Sep 25 1066','title':'Stamford Bridge Battle','dets':'King Harold II defeated the invasion threat from Harold Hardrada, King of Norway and his own brother Tostig, both of whom were killed. This stretched his forces to the limit as they quickly had to march south to defend against William of Normandy\'s invasion at Hastings.' },
{'id':297,'gmid':96,'date':'Sep 27 1066','title':'William lands at Pevensey','dets':'After dawn the main part of William\'s fleet landed on the English coast at Pevensey while some split from the main group and landed at Romney.' },
{'id':3583,'gmid':509,'date':'Oct 1066','title':'William moves to Hastings','dets':'The village of Hastings in 1066 was on a peninsula of land with marsh and water on two sides. The area was a natural defensive site with a hill to the north that could be used as a lookout point. William possibly built extra defences at Hastings while he prepared to move towards London.' },
{'id':2220,'gmid':206,'date':'Oct 1 1066','title':'Harold learns of William\'s arrival','dets':'Harold was resting his army in York when he learnt that William had landed on the south coast.' },
{'id':296,'gmid':263,'date':'Oct 6 1066','title':'Harold and his forces reach London','dets':'Harold II had to march south from Stamford Bridge to counter the threat of invasion from William of Normandy.' },
{'id':226,'gmid':208,'date':'Oct 14 1066','title':'Battle of Hastings','dets':'William the Conqueror and Harold II met in battle at Hastings. Although Harold had the superior position on the battlefield his tactics failed and he was killed. This left England open for William to continue with his invasion plans.' },
{'id':3585,'gmid':21,'date':'Nov 1066','title':'William advances to London','dets':'After his victory at the battle of Hastings William moved along the south coast to Dover where extra fortifications were built in the existing castle at the top of the cliffs. From there he moved on to Canterbury. After the death of Harold the archbishops of York and Canterbury, Ealdred and Stigand supported the plan to put Edgar the Aetheling on the English throne but William moved too quickl...' },
{'id':228,'gmid':136,'date':'Dec 25 1066','title':'William the Conqueror becomes King of England','dets':'William the Conqueror was coronated as King of England in Westminster Abbey on Christmas Day of 1066.' },
{'id':631,'gmid':132,'date':'1068','title':'Warwick Castle built on William\'s orders','dets':'William the Conqueror ordered the building of Warwick Castle.' },
{'id':2181,'gmid':87,'date':'1068','title':'Construction of Nottingham Castle','dets':'William and the Normans started construction of the castle at Nottingham. This would have been a wooden building. It was built on the high ground above the town using the step slope down to the river Leen as a defence.' },
{'id':2921,'gmid':216,'date':'1068','title':'Construction of Lincoln Castle','dets':'William the Conqueror ordered that building work on a castle at Lincoln was to be started.' },
{'id':317,'gmid':210,'date':'Feb 1068','title':'Exeter falls to William','dets':'Although William had defeated Harold at Hastings, Harold\'s mother Gytha and her forces still had not submitted to William\'s rule. They held out at Exeter until William broke the defences. William had to take heavy casualties in the confrontation.' },
{'id':533,'gmid':210,'date':'Spring 1068','title':'Construction begins on Exeter Castle','dets':'Following the rebellion in the West William orders the construction of a castle at Exeter.' },
{'id':3289,'gmid':586,'date':'Sep 1068','title':'Birth of Henry I','dets':'Henry, the future king of England, was born at Selby in Yorkshire.' },
{'id':255,'gmid':21,'date':'1070','title':'Lanfranc becomes Archbishop of Canterbury','dets':'William the Conqueror placed Lanfranc in the position of Archbishop of Canterbury a move designed to strengthen his hold on the English throne. Thomas of Bayeux, a pupil of Odo (William\'s brother), was put in the position of Archbishop of York after the death of Ealred who died on September 11, 1069. Archbishop Stigand was imprisoned in Winchester.' },
{'id':534,'gmid':118,'date':'1070','title':'Castles at Chester and Stafford begun','dets':'William continues his castle building spree at both Chester and Stafford.' },
{'id':792,'gmid':90,'date':'1070','title':'Castle at Old Sarum','dets':'Using the prehistoric hill fort\'s defensive position to good use, the Normans built a new castle on the Old Sarum site. William the Conqueror paid off his soldiers here in this year.' },
{'id':535,'gmid':266,'date':'1071','title':'Ely castle ordered','dets':'William orders a castle to be built at Ely.' },
{'id':1318,'gmid':47,'date':'1071','title':'William puts down the revolt','dets':'The rebels Hereward the Wake and Morcar on the Isle of Ely were attacked and defeated by William the Conqueror.' },
{'id':3278,'gmid':582,'date':'1071','title':'Bangor Cathedral destroyed by the Normans','dets':'A Norman army attacked the northern Welsh town of Bangor and destroyed the Cathedral there.' },
{'id':3659,'gmid':530,'date':'1071','title':'Construction of Oxford Castle','dets':'Robert D\'Oilly was given the task of building a castle at Oxford by William the Conqueror at the important Thames river crossing. A motte and bailey castle would have been the type of castle built at this time.' },
{'id':536,'gmid':45,'date':'1072','title':'At Durham, another castle is ordered','dets':'William orders the castle as Durham to be built.' },
{'id':558,'gmid':58,'date':'1072','title':'Serlo takes over at Gloucester','dets':'Serlo, William the Conqueror\'s chaplain, revived the floundering monastery at Gloucester and started major rebuilding work. Serlo died in 1104.' },
{'id':859,'gmid':213,'date':'1072','title':'Treaty of Abernethy','dets':'Treaty between William the Conqueror and Malcolm III of Scotland. In this treaty Malcolm paid homage to William.' },
{'id':2175,'gmid':28,'date':'1075','title':'Chepstow Castle passes to the crown','dets':'Roger Fitz Osbern joined an unsuccessful uprising against the king and lost. The castle then passed to the crown.' },
{'id':952,'gmid':34,'date':'1080','title':'Colchester castle begun','dets':'To defend the estuaries of Essex against attacks from the Danes William the Conqueror ordered the construction of a new castle at Colchester.' },
{'id':1517,'gmid':116,'date':'1081','title':'William tours south Wales','dets':'William the Conqueror visited South Wales and St. David\'s. He met Rhys ap Tewdwr, the ruler of the area and allowed him to remain in control of the region for a yearly sum of money.' },
{'id':2053,'gmid':22,'date':'1081','title':'Cardiff Castle construction','dets':'William the Conqueror may have ordered the creation of a castle at Cardiff during his tour of Southern Wales. The first castle on the site would have been a motte and bailey type and it was built on the site of existing Roman fortifications.' },
{'id':879,'gmid':90,'date':'Aug 1 1086','title':'Oath of Salisbury','dets':'William the Conqueror called a meeting at Old Sarum where he invited his most important vassals and tenants-in-chief in England to swear allegiance to him. The oath is now known as the Oath of Salisbury.' },
{'id':229,'gmid':295,'date':'Sep 9 1087','title':'William the Conqueror Dies','dets':'William I of England died at the abbey of St Gervais, near Rouen.' },
{'id':261,'gmid':136,'date':'Sep 26 1087','title':'William II (Rufus) crowned at Westminster','dets':'William II (Rufus) was crowned at Westminster by Archbishop Lanfranc after the death of his father William the Conqueror.' },
{'id':475,'gmid':254,'date':'Jun 15 1215','title':'John\'s Great Charter (the Magna Carta)','dets':'A large number of barons, led by Stephen Langton the archbishop of Canterbury, meet King John on an island in the Thames at Runnymede. They forced the king to sign the \'Great Charter\' or Magna Carta that would limit the power of the monarchy. The barons insisted that the old feudal contract should be reinstated and that the king should abide by the laws that the rest of the population did. Th...' },
];

var myMarkers = [
{'gmid':351,'latitude': 48.8936, 'longitude': -0.2039, 'loc': 'Falaise', 'typ': 0 },
{'gmid':184,'latitude': 49.253734, 'longitude': -0.160588, 'loc': 'Varaville', 'typ': 0 },
{'gmid':206,'latitude': 53.96339, 'longitude': -1.08396, 'loc': 'York', 'typ': 0 },
{'gmid':263,'latitude': 53.9907, 'longitude': -0.913617, 'loc': 'Stamford Bridge', 'typ': 0 },
{'gmid':96,'latitude': 50.81941, 'longitude': 0.332539, 'loc': 'Pevensey Castle', 'typ': 0 },
{'gmid':509,'latitude': 50.85637, 'longitude': 0.584471, 'loc': 'Hastings Castle', 'typ': 0 },
{'gmid':208,'latitude': 50.912566, 'longitude': 0.486686, 'loc': 'Battle of Hastings', 'typ': 0 },
{'gmid':21,'latitude': 51.2796, 'longitude': 1.0829, 'loc': 'Canterbury Cathedral', 'typ': 0 },
{'gmid':136,'latitude': 51.4997, 'longitude': -0.1284, 'loc': 'Westminster Abbey', 'typ': 0 },
{'gmid':132,'latitude': 52.27882, 'longitude': -1.586617, 'loc': 'Warwick Castle', 'typ': 0 },
{'gmid':87,'latitude': 52.94897, 'longitude': -1.154605, 'loc': 'Nottingham Castle', 'typ': 0 },
{'gmid':216,'latitude': 53.23429, 'longitude': -0.540707, 'loc': 'Lincoln Castle', 'typ': 0 },
{'gmid':210,'latitude': 50.725894, 'longitude': -3.529779, 'loc': 'Exeter Castle', 'typ': 0 },
{'gmid':586,'latitude': 53.781572, 'longitude': -1.072538, 'loc': 'Selby, Yorkshire', 'typ': 0 },
{'gmid':118,'latitude': 52.79656, 'longitude': -2.142926, 'loc': 'Stafford Castle', 'typ': 0 },
{'gmid':90,'latitude': 51.0934, 'longitude': -1.8057, 'loc': 'Old Sarum', 'typ': 0 },
{'gmid':266,'latitude': 52.39543, 'longitude': 0.26337, 'loc': 'Ely Castle', 'typ': 0 },
{'gmid':47,'latitude': 52.3986, 'longitude': 0.264, 'loc': 'Ely Cathedral', 'typ': 0 },
{'gmid':582,'latitude': 53.226336, 'longitude': -4.127672, 'loc': 'Bangor Cathedral, Wales', 'typ': 0 },
{'gmid':530,'latitude': 51.75218, 'longitude': -1.262598, 'loc': 'Oxford Castle', 'typ': 0 },
{'gmid':45,'latitude': 54.7751, 'longitude': -1.5776, 'loc': 'Durham Castle', 'typ': 0 },
{'gmid':58,'latitude': 51.8675, 'longitude': -2.2468, 'loc': 'Gloucester Cathedral', 'typ': 0 },
{'gmid':213,'latitude': 56.334154, 'longitude': -3.312963, 'loc': 'Abernethy', 'typ': 0 },
{'gmid':28,'latitude': 51.6438, 'longitude': -2.6763, 'loc': 'Chepstow Castle', 'typ': 0 },
{'gmid':34,'latitude': 51.89059, 'longitude': 0.90308, 'loc': 'Colchester Castle', 'typ': 0 },
{'gmid':116,'latitude': 51.88124, 'longitude': -5.269094, 'loc': 'St. David\'s Cathedral', 'typ': 0 },
{'gmid':22,'latitude': 51.4819, 'longitude': -3.1817, 'loc': 'Cardiff Castle', 'typ': 0 },
{'gmid':295,'latitude': 49.442367, 'longitude': 1.098492, 'loc': 'Rouen, France', 'typ': 0 },
{'gmid':254,'latitude': 51.44451, 'longitude': -0.56537, 'loc': 'Runnymede', 'typ': 0 },
];

