var myEvents = [
{'id':2182,'gmid':81, 'date':' 1138','title':'Ludlow castle siege','dets':'Ludlow Castle was captured on behalf of Matilda in 1138 and King Stephen besieged the castle in an attempt to regain it. During the siege the King bravely saved Prince Henry of Scotland from being... <a href="hstt45.htm#J2182">(more)</a>' },
{'id':1264,'gmid':3, 'date':' 1138','title':'Arundel Castle siege','dets':'Matilda was given refuge by William de Albini at Arundel Castle. Stephen built siege works around the castle in response. <a href="hstt45.htm#J1264">(more)</a>' },
{'id':3095,'gmid':72, 'date':' 1139','title':'Leeds Castle siege','dets':'King Stephen besieged Leeds Castle which was being held against him by supporters of Matilda. The castle fell to the King and he took control of it. <a href="hstt45.htm#J3095">(more)</a>' },
{'id':3096,'gmid':216, 'date':'Dec 1140','title':'Stephen besieges Lincoln','dets':'Lincoln, held by Matilda\'s supporters, was besieged by King Stephen. The siege would continue until February the next year. <a href="hstt45.htm#J3096">(more)</a>' },
{'id':1259,'gmid':209, 'date':'Apr 1141','title':'Matilda is elected Queen','dets':'After Stephen had been captured at Lincoln, Matilda was elected as Queen of England at Winchester. Her new position as ruler of England was not to last for long <a href="hstt45.htm#J1259">(more)</a>' },
{'id':1260,'gmid':197, 'date':'Jun 1141','title':'Matilda enters London','dets':'Matilda and her supporters entered London for her coronation. Her supporters included David I, king of the Scots. Geoffrey de Mandeville who controlled the Tower of London, abandoned his king as he... <a href="hstt45.htm#J1260">(more)</a>' },
{'id':874,'gmid':327, 'date':'Sep 14 1141','title':'Rout of Winchester','dets':'Matilda\'s forces were besieging a royalist held castle at Wolvesey near Winchester and were attacked and defeated by a royalist relief army. King Stephen who was being held captive at the time was... <a href="hstt45.htm#J874">(more)</a>' },
{'id':3097,'gmid':239, 'date':'Oct 1142','title':'Oxford siege and Matilda\'s escape','dets':'Oxford was besieged by King Stephen trapping Matilda inside the city. But just before Christmas Matilda managed to escape across the snow and ice of the frozen Thames dressed in white so that she... <a href="hstt45.htm#J3097">(more)</a>' },
{'id':1030,'gmid':331, 'date':' 1145','title':'Stephen takes Farringdon Castle','dets':'King Stephen captures the castle at Farringdon from Matilda. <a href="hstt45.htm#J1030">(more)</a>' },
];

var myMarkers = [
{'gmid':81,'latitude': 52.36742, 'longitude': -2.72339, 'loc': 'Ludlow Castle', 'typ': 0 },
{'gmid':3,'latitude': 50.8562, 'longitude': -0.5536, 'loc': 'Arundel Castle', 'typ': 0 },
{'gmid':72,'latitude': 51.2493, 'longitude': 0.6294, 'loc': 'Leeds Castle', 'typ': 0 },
{'gmid':216,'latitude': 53.23429, 'longitude': -0.540707, 'loc': 'Lincoln Castle', 'typ': 0 },
{'gmid':209,'latitude': 51.06482, 'longitude': -1.313225, 'loc': 'Winchester', 'typ': 0 },
{'gmid':197,'latitude': 51.50667, 'longitude': -0.106277, 'loc': 'London', 'typ': 0 },
{'gmid':327,'latitude': 51.059019, 'longitude': -1.310136, 'loc': 'Wolvesey Castle', 'typ': 0 },
{'gmid':239,'latitude': 51.75227, 'longitude': -1.25582, 'loc': 'Oxford', 'typ': 0 },
{'gmid':331,'latitude': 51.6593, 'longitude': -1.57204, 'loc': 'Faringdon Castle', 'typ': 0 },
];
