$("document").ready(function(){
	var activeRatings = new Array("Ideal for leisure, relaxation and cultural interaction only",
								  "Easy half day walks, nature trails, boating, culture workshops and jungle safaris etc.",
								  "Short same day treks, water sports, multiple activities and adventures. ",
								  "Long multiple day expeditions, treks, water sports, 4 X 4 Overland safari, animal assisted safaris and trails",
								  "Pump up the adrenaline - it is a total eco adventure holiday with multiple eco challenges");
	var comfortRatings = new Array("Basic comfort level in a tented camp or homestay, roughing out holiday with basic level of transport",
								   "Rooms or tents with attached bath. No frills holiday. Local cuisine included ",
								   "Fairly comfortable cottages with attached bath, running hot water and comfortable private transport ",
								   "High on comfort, fully furnished spacious cottage rooms or luxury tents and luxury car. ",
								   "Very luxurious, spacious staying areas in luxury tree house / exclusive private cottage / palaces, heritage room. Variety of cuisine on offer with luxurious private transport throughout.");
	var ecoRatings = new Array("Eco-friendly building construction and / or the use of locally sourced natural materials / eco-friendly design and use of traditional architecture", 
							   "Local Cuisine offered", 
							   "Conservation of water and eco-friendly waste management practices", 
							   "Local interaction and benefit to the community", 
							   "Sustainable energy practices in the destination");
	
	$("#rating_act img").addClass("tooltip");
	$("#rating_com img").addClass("tooltip");
	$("#rating_eco img").addClass("tooltip");

	$("#rating_act img").each(function(i){
		$(this).attr("title", activeRatings[i]);
	});
	
	$("#rating_com img").each(function(i){
		$(this).attr("title", comfortRatings[i]);
	});
	
	$("#rating_eco img").each(function(i){
		$(this).attr("title", ecoRatings[i]);
	});
})
