$(function()
	{
		
	$("#map").gMap({
		          markers: [
	
	
	                             // nairobi region
	                          
							  { latitude: -1.302834,
                              longitude: 36.822928,							 
							  html: "<div class='here'>NIC House Branch <br />Masaba Road</div>"},
							  
							 { latitude: -1.284753,
                              longitude: 36.821954,
							 html: "<div class='here'>City Centre Branch -Prudential Building,<br />Wabera Street </div>"},
							 
							 { latitude: -1.28766,
                              longitude: 36.825784,
							 html: "<div class='here'>JeevanBharat Building,<br />Harambee Avenue </div>"},
							 
							  { latitude: -1.26357,
                              longitude: 36.802475,
							 html: "<div class='here'>The Mall,<br />Westlands</div>"},
							 
							  { latitude: -1.296594,
                              longitude: 36.762557,
							 html: "<div class='here'>The Junction,<br />Ngong Road</div>"},
							 
							  { latitude: -1.298567,
                              longitude: 36.787105,
							 html: "<div class='here'>Prestige Plaza,<br />Ngong Road</div>"},
							 
							  { latitude: -1.300597,
                              longitude: 36.888134,
							 html: "<div class='here'><h3>ATM</h3>Donholm – Caltex Petrol Station </div>"},
							 
							  { latitude: -1.286824,
                              longitude: 36.880968,
							 html: "<div class='here'><h3>ATM</h3>Buru Buru – Uchumi  </div>"},
							 
							  { latitude: -1.305432,
                              longitude: 36.827445,
							 html: "<div class='here'><h3>ATM</h3>Capital Centre – Mombasa Road</div>"},
							 
							  { latitude: -1.292732,
                              longitude: 36.799808,
							 html: "<div class='here'><h3>ATM</h3>Hurlingham – Shell Petrol Station </div>"},
							 
							  { latitude: -1.260809,
                              longitude: 36.801986,
							 html: "<div class='here'><h3>ATM</h3>Sarit Centre – Westlands  </div>"},
							 
							   { latitude: -1.285434,
                              longitude: 36.822749,
							 html: "<div class='here'><h3>ATM</h3>20th Century Plaza – Town Centre   </div>"},
							 
							   { latitude: -1.285214,
                              longitude: 36.824518,
							 html: "<div class='here'><h3>ATM</h3>The Hilton   </div>"},
							 
							   { latitude: -1.283763,
                              longitude: 36.818873,
							 html: "<div class='here'><h3>ATM</h3>Koinange Street – Kobil Petrol Station </div>"},
							 
							 { latitude: -1.319908,
                              longitude: 36.802969,
							 html: "<div class='here'><h3>ATM</h3>Uchumi Hyper – Langata Road </div>"},
							  
							  
							  ],
							  
							  zoom:11
							  
							   });
							   
							   
							   $("#map-mombasa").gMap({
		          markers: [
	
	
	                             // mombasa region
	                          
							  { latitude: -4.060866,
                              longitude: 39.663752,							 
							  html: "<div class='here'><h3>Harbour House Branch</h3>CBD, <br />Moi Avenue, Mombasa</div>"},
							  
							 { latitude: -4.062902,
                              longitude: 39.675481,
							 html: "<div class='here'>Nkrumah Road Branch- NSSF Building, <br />Nkrumah Road, Mombasa</div>"},
							 
							 { latitude: -4.01853,
                              longitude: 39.720798,
							 html: "<div class='here'>Nakumatt Nyali Complex, <br />Nyali Branch</div>"},
							  
							  ],
							  
							  
							  
							  zoom:11 
							  
							   });
							   
							   $("#map3").gMap({
		          markers: [
	
	
	                             // kisumu region
	                          
							  { latitude: -0.099085,
                              longitude: 34.750804,							 
							  html: "<div class='here'>Oginga Odinga Street opposite Mega Plaza <br />Kisumu</div>"},
							  
							
							  
							  ],
							  
							  zoom:16 
							  
							   });
							   
							    $("#map4").gMap({
		          markers: [
	
	
	                             // nakuru region
	                          
							  { latitude: -0.285715,
                              longitude: 36.063876,							 
							  html: "<div class='here'>Vickers House<br />Nakuru</div>"},
							  
							
							  
							  ],
							  
							  zoom:16 
							  
							   });
							   
							    $("#map5").gMap({
		          markers: [
	
	
	                             // thika region
	                          
							  { latitude: -1.03697,
                              longitude: 37.073846,							 
							   html: "<div class='here'>Thika Arcade<br />Thika</div>"},
							  
							
							  
							  ],
							  
							  zoom:16 
							  
							   });
							   
							    $("#map6").gMap({
		          markers: [
	
	
	                             // meru region
	                          
							  { latitude: 0.051867,
                              longitude: 37.649961,							 
							  html: "<div class='here'>Meru</div>"},
							  
							
							  
							  ],
							  
							  zoom:16 
							  
							   });
							  

	});
	
	
	
	
	//

$(function(){
		$('.fontsize span a').click(function(){
			var ourText = $('#mainstuff');
			var currFontSize = ourText.css('fontSize');
			var finalNum = parseFloat(currFontSize, 10);
			var stringEnding = currFontSize.slice(-2);
			if(this.id == 'large') {
				finalNum *= 1.2;
			}
			else if (this.id == 'small'){
				finalNum /=1.2;
			}
			ourText.animate({fontSize: finalNum + stringEnding},600);
		});
	});
