/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return unescape(s);
}

var POS_NODENAME=0;
var POS_ID=1;
var POS_NAME=2;
var POS_NAVIGATIONTEXT=3;
var POS_HREF=4;
var POS_ISNAVIGATION=5;
var POS_CHILDS=6;
var POS_TEMPLATENAME=7;
var theSitetree=[ 
	['PAGE','4466',jdecode('Unofficial+site+for+Meeru+Island'),jdecode(''),'/4466.html','true',[],''],
	['PAGE','136269',jdecode('Arrival+%26+Transfers'),jdecode(''),'/136269/index.html','true',[ 
		['PAGE','119869',jdecode('Arrival+at+Male+Airport'),jdecode(''),'/136269/119869.html','true',[],''],
		['PAGE','126030',jdecode('Boat+Transfer'),jdecode(''),'/136269/126030.html','true',[],''],
		['PAGE','123702',jdecode('Sea+Plane+Transfer'),jdecode(''),'/136269/123702.html','true',[],'']
	],''],
	['PAGE','42243',jdecode('Map+of+Meeru+Island'),jdecode(''),'/42243.html','true',[],''],
	['PAGE','43237',jdecode('Reception'),jdecode(''),'/43237.html','true',[],''],
	['PAGE','97334',jdecode('Accommodation'),jdecode(''),'/97334/index.html','true',[ 
		['PAGE','36966',jdecode('Standard+Rooms'),jdecode(''),'/97334/36966.html','true',[],''],
		['PAGE','37546',jdecode('Beach+%2F+Land+Villas'),jdecode(''),'/97334/37546.html','true',[],''],
		['PAGE','38101',jdecode('Jacuzzi++Villas+100%26%23x27%3Bs'),jdecode(''),'/97334/38101.html','true',[],''],
		['PAGE','110543',jdecode('Jacuzzi+Villas+600%26%23x27%3Bs'),jdecode(''),'/97334/110543.html','true',[],''],
		['PAGE','38132',jdecode('Water+Villas'),jdecode(''),'/97334/38132.html','true',[],''],
		['PAGE','110574',jdecode('Jacuzzi+Water+Villa+300%26%23x27%3Bs'),jdecode(''),'/97334/110574.html','true',[],''],
		['PAGE','38728',jdecode('Jacuzzi+Water+Villas+700%26%23x27%3Bs'),jdecode(''),'/97334/38728.html','true',[],''],
		['PAGE','37577',jdecode('Honeymoon+Suites'),jdecode(''),'/97334/37577.html','true',[],''],
		['PAGE','54049',jdecode('Coral++%26+Dolphin+Suite'),jdecode(''),'/97334/54049.html','true',[],'']
	],''],
	['PAGE','97299',jdecode('Restaurants'),jdecode(''),'/97299/index.html','true',[ 
		['PAGE','94573',jdecode('Farivalhu'),jdecode(''),'/97299/94573.html','true',[],''],
		['PAGE','94542',jdecode('Malaan'),jdecode(''),'/97299/94542.html','true',[],''],
		['PAGE','94604',jdecode('Asian+Wok'),jdecode(''),'/97299/94604.html','true',[],''],
		['PAGE','128400',jdecode('New+Hagern+Boat'),jdecode(''),'/97299/128400.html','true',[],''],
		['PAGE','94666',jdecode('Haggannu+coffee+shop'),jdecode(''),'/97299/94666.html','true',[],''],
		['PAGE','143769',jdecode('Hot+Rock+'),jdecode(''),'/97299/143769.html','true',[],'']
	],''],
	['PAGE','97252',jdecode('Bars'),jdecode(''),'/97252/index.html','true',[ 
		['PAGE','123954',jdecode('Kakuni+Bar'),jdecode(''),'/97252/123954.html','true',[],''],
		['PAGE','94480',jdecode('Kakuni+Bar+%28old%29'),jdecode(''),'/97252/94480.html','true',[],''],
		['PAGE','94449',jdecode('Dhoni+Bar'),jdecode(''),'/97252/94449.html','true',[],''],
		['PAGE','94511',jdecode('Uthuru+Bar'),jdecode(''),'/97252/94511.html','true',[],''],
		['PAGE','117669',jdecode('Pavilion+Bar'),jdecode(''),'/97252/117669.html','true',[],''],
		['PAGE','120569',jdecode('Mini+Bar'),jdecode(''),'/97252/120569.html','true',[],'']
	],''],
	['PAGE','136024',jdecode('All+Inclusive+%26+Drink+Prices'),jdecode(''),'/136024/index.html','true',[ 
		['PAGE','43549',jdecode('All+Inclusive+'),jdecode(''),'/136024/43549.html','true',[],''],
		['PAGE','111069',jdecode('Cocktails'),jdecode(''),'/136024/111069.html','true',[],''],
		['PAGE','114769',jdecode('Wine+%26+Champagne+price+list'),jdecode(''),'/136024/114769.html','true',[],''],
		['PAGE','138136',jdecode('Ice+Cream'),jdecode(''),'/136024/138136.html','true',[],''],
		['PAGE','115769',jdecode('Room+Service+Menu'),jdecode(''),'/136024/115769.html','true',[],'']
	],''],
	['PAGE','100583',jdecode('Special+Cruise+Offers'),jdecode(''),'/100583/index.html','true',[ 
		['PAGE','150969',jdecode('Sarah'),jdecode(''),'/100583/150969.html','true',[],''],
		['PAGE','151000',jdecode('Gomafalhu'),jdecode(''),'/100583/151000.html','true',[],'']
	],''],
	['PAGE','43849',jdecode('Renewel+of+Wedding+Vows'),jdecode(''),'/43849.html','true',[],''],
	['PAGE','146981',jdecode('Special+Beach+Meals'),jdecode(''),'/146981/index.html','true',[ 
		['PAGE','146950',jdecode('Valentines+Beach+Dinner'),jdecode(''),'/146981/146950.html','true',[],''],
		['PAGE','127469',jdecode('Full+Moon+Beach+Dinner'),jdecode(''),'/146981/127469.html','true',[],'']
	],''],
	['PAGE','135916',jdecode('Sports+on+Meeru'),jdecode(''),'/135916/index.html','true',[ 
		['PAGE','38760',jdecode('Meeru+Water+Sports+Center'),jdecode(''),'/135916/38760.html','true',[],''],
		['PAGE','15801',jdecode('Meeru+Sports+'),jdecode(''),'/135916/15801.html','true',[],''],
		['PAGE','123671',jdecode('Golf+Course'),jdecode(''),'/135916/123671.html','true',[],''],
		['PAGE','99700',jdecode('Swimming+Pool'),jdecode(''),'/135916/99700.html','true',[],''],
		['PAGE','146069',jdecode('Infinity+Pool'),jdecode(''),'/135916/146069.html','true',[],'']
	],''],
	['PAGE','98152',jdecode('Excursions'),jdecode(''),'/98152/index.html','true',[ 
		['PAGE','121607',jdecode('Night+Fishing'),jdecode(''),'/98152/121607.html','true',[],''],
		['PAGE','121576',jdecode('Sun+Set+Punch+Cruise'),jdecode(''),'/98152/121576.html','true',[],''],
		['PAGE','97056',jdecode('Dhiffushi+Island+trip'),jdecode(''),'/98152/97056.html','true',[],''],
		['PAGE','97118',jdecode('Male+sight+seeing+trip'),jdecode(''),'/98152/97118.html','true',[],''],
		['PAGE','96932',jdecode('Love+Boat+Cruise'),jdecode(''),'/98152/96932.html','true',[],''],
		['PAGE','97149',jdecode('Robinson+Crusoe+Island'),jdecode(''),'/98152/97149.html','true',[],''],
		['PAGE','100957',jdecode('Special+Boat+Charter'),jdecode(''),'/98152/100957.html','true',[],''],
		['PAGE','97025',jdecode('Island+Hopping'),jdecode(''),'/98152/97025.html','true',[],''],
		['PAGE','96963',jdecode('Sea+Plane+Photo+Flight'),jdecode(''),'/98152/96963.html','true',[],''],
		['PAGE','96994',jdecode('Submarine+Trip'),jdecode(''),'/98152/96994.html','true',[],''],
		['PAGE','97180',jdecode('Snorkeling++-+House+Reef'),jdecode(''),'/98152/97180.html','true',[],''],
		['PAGE','120947',jdecode('Casting+Fishing+-+Dhoni+half+day'),jdecode(''),'/98152/120947.html','true',[],''],
		['PAGE','120978',jdecode('Big+Game+Fishing+1'),jdecode(''),'/98152/120978.html','true',[],''],
		['PAGE','121009',jdecode('Big+Game+Fishing+2'),jdecode(''),'/98152/121009.html','true',[],''],
		['PAGE','121040',jdecode('Big+Game+Fishing+3'),jdecode(''),'/98152/121040.html','true',[],'']
	],''],
	['PAGE','38976',jdecode('Dunniye+Spa'),jdecode(''),'/38976.html','true',[],''],
	['PAGE','127669',jdecode('Average+Monthly+Temperature+%26+Sunshine'),jdecode(''),'/127669.html','true',[],''],
	['PAGE','118769',jdecode('Video+clips+of+Meeru+Island'),jdecode(''),'/118769.html','true',[],''],
	['PAGE','39628',jdecode('Ocean+Pro+Dive+School'),jdecode(''),'/39628.html','true',[],''],
	['PAGE','99496',jdecode('Facilities'),jdecode(''),'/99496/index.html','true',[ 
		['PAGE','116400',jdecode('Internet+Area'),jdecode(''),'/99496/116400.html','true',[],''],
		['PAGE','116369',jdecode('Gift+Shop'),jdecode(''),'/99496/116369.html','true',[],''],
		['PAGE','116462',jdecode('Libary'),jdecode(''),'/99496/116462.html','true',[],''],
		['PAGE','116431',jdecode('Sifani+Jewellers'),jdecode(''),'/99496/116431.html','true',[],''],
		['PAGE','116493',jdecode('Hair+dressers'),jdecode(''),'/99496/116493.html','true',[],''],
		['PAGE','118158',jdecode('Meeru+Dr'),jdecode(''),'/99496/118158.html','true',[],''],
		['PAGE','124469',jdecode('Staff+Rest+%26+Games+area'),jdecode(''),'/99496/124469.html','true',[],'']
	],''],
	['PAGE','52180',jdecode('Holiday+Offers+%26+Deals'),jdecode(''),'/52180.html','true',[],''],
	['PAGE','100152',jdecode('Meeru+Vote+1+to+6'),jdecode(''),'/100152/index.html','true',[ 
		['PAGE','38791',jdecode('Meeru+Vote+1'),jdecode(''),'/100152/38791.html','true',[],''],
		['PAGE','42544',jdecode('Meeru+Vote+2'),jdecode(''),'/100152/42544.html','true',[],''],
		['PAGE','40900',jdecode('Meeru+Vote+3'),jdecode(''),'/100152/40900.html','true',[],''],
		['PAGE','42605',jdecode('Meeru+Vote+4'),jdecode(''),'/100152/42605.html','true',[],''],
		['PAGE','42899',jdecode('Meeru+Vote+5'),jdecode(''),'/100152/42899.html','true',[],''],
		['PAGE','47162',jdecode('Meeru+Vote+6+++%28Excursions%29'),jdecode(''),'/100152/47162.html','true',[],'']
	],''],
	['PAGE','118969',jdecode('Villa+Upgrade+Prices+'),jdecode(''),'/118969/index.html','true',[ 
		['PAGE','119031',jdecode('01%2F10%2F07+-+01%2F05%2F08+'),jdecode(''),'/118969/119031.html','true',[],''],
		['PAGE','119000',jdecode('01%2F05%2F08+-+31%2F10%2F08+'),jdecode(''),'/118969/119000.html','true',[],'']
	],''],
	['PAGE','125069',jdecode('Trip+Reports'),jdecode(''),'/125069/index.html','true',[ 
		['PAGE','113369',jdecode('Trip+Report+2007'),jdecode(''),'/125069/113369.html','true',[],''],
		['PAGE','119428',jdecode('Spa+Report+2007'),jdecode(''),'/125069/119428.html','true',[],''],
		['PAGE','119169',jdecode('Trip+Report++2006'),jdecode(''),'/125069/119169.html','true',[],''],
		['PAGE','119347',jdecode('Trip+Report+2005'),jdecode(''),'/125069/119347.html','true',[],''],
		['PAGE','131900',jdecode('Wedding+Renewel+Vows+2009'),jdecode(''),'/125069/131900.html','true',[],'']
	],''],
	['PAGE','136079',jdecode('Mobile+%2F+Internet+Connection'),jdecode(''),'/136079/index.html','true',[ 
		['PAGE','127969',jdecode('Mobile+phone+coverage+'),jdecode(''),'/136079/127969.html','true',[],''],
		['PAGE','128669',jdecode('Internet+Connection'),jdecode(''),'/136079/128669.html','true',[],'']
	],''],
	['PAGE','99965',jdecode('Photographs'),jdecode(''),'/99965/index.html','true',[ 
		['PAGE','36835',jdecode('Photo+album+%28beach+%26+sea%29'),jdecode(''),'/99965/36835.html','true',[],''],
		['PAGE','40380',jdecode('Photo+album+%28decorated+beds+etc%29'),jdecode(''),'/99965/40380.html','true',[],''],
		['PAGE','41073',jdecode('Photo+Album+%28wildlife+around+Meeru%29'),jdecode(''),'/99965/41073.html','true',[],''],
		['PAGE','41544',jdecode('Meeru+Island+2005'),jdecode(''),'/99965/41544.html','true',[],''],
		['PAGE','41579',jdecode('New+photo+album'),jdecode(''),'/99965/41579.html','true',[],'']
	],''],
	['PAGE','38945',jdecode('Hints+%26+Tips'),jdecode(''),'/38945.html','true',[],''],
	['PAGE','52149',jdecode('Questions+%26+Answers'),jdecode(''),'/52149.html','true',[],''],
	['PAGE','119378',jdecode('Old+Information'),jdecode(''),'/119378/index.html','true',[ 
		['PAGE','100552',jdecode('Building+Works+2006'),jdecode(''),'/119378/100552.html','true',[],''],
		['PAGE','51649',jdecode('Meeru+Island+News+Letter'),jdecode(''),'/119378/51649.html','true',[],''],
		['PAGE','94635',jdecode('Hagern+Boat'),jdecode(''),'/119378/94635.html','true',[],''],
		['PAGE','46949',jdecode('Links'),jdecode(''),'/119378/46949.html','true',[],'']
	],''],
	['PAGE','127069',jdecode('Christmas+%26+New+Year'),jdecode(''),'/127069.html','true',[],''],
	['PAGE','138669',jdecode('Feed+Back+Form'),jdecode(''),'/138669/index.html','true',[ 
		['PAGE','138718',jdecode('Feed+Back+Form+%28follow+up+page%29'),jdecode(''),'/138669/138718.html','false',[],'']
	],'']];
var siteelementCount=114;
theSitetree.topTemplateName='Profile';
					                                                                    
theSitetree.getById = function(id, ar) {												
							if (typeof(ar) == 'undefined')                              
								ar = this;                                              
							for (var i=0; i < ar.length; i++) {                         
								if (ar[i][POS_ID] == id)                                
									return ar[i];                                       
								if (ar[i][POS_CHILDS].length > 0) {                     
									var result=this.getById(id, ar[i][POS_CHILDS]);     
									if (result != null)                                 
										return result;                                  
								}									                    
							}                                                           
							return null;                                                
					  };                                                                
					                                                                    
theSitetree.getParentById = function(id, ar) {											
						if (typeof(ar) == 'undefined')                              	
							ar = this;                                             		
						for (var i=0; i < ar.length; i++) {                        		
							for (var j = 0; j < ar[i][POS_CHILDS].length; j++) {   		
								if (ar[i][POS_CHILDS][j][POS_ID] == id) {          		
									// child found                                 		
									return ar[i];                                  		
								}                                                  		
								var result=this.getParentById(id, ar[i][POS_CHILDS]);   
								if (result != null)                                 	
									return result;                                  	
							}                                                       	
						}                                                           	
						return null;                                                	
					 }								                                    
					                                                                    
theSitetree.getName = function(id) {                                                    
						var elem = this.getById(id);                                    
						if (elem != null)                                               
							return elem[POS_NAME];                                      
						return null;	                                                
					  };			                                                    
theSitetree.getNavigationText = function(id) {                                          
						var elem = this.getById(id);                                    
						if (elem != null)                                               
							return elem[POS_NAVIGATIONTEXT];                            
						return null;	                                                
					  };			                                                    
					                                                                    
theSitetree.getHREF = function(id) {                                                    
						var elem = this.getById(id);                                    
						if (elem != null)                                               
							return elem[POS_HREF];                                      
						return null;	                                                
					  };			                                                    
					                                                                    
theSitetree.getIsNavigation = function(id) {                                            
						var elem = this.getById(id);                                    
						if (elem != null)                                               
							return elem[POS_ISNAVIGATION];                              
						return null;	                                                
					  };			                                                    
					                                                                    
theSitetree.getTemplateName = function(id, lastTemplateName, ar) {             		 
	                                                                                 
	if (typeof(lastTemplateName) == 'undefined')                                     
		lastTemplateName = this.topTemplateName;	                                 
	if (typeof(ar) == 'undefined')                                                   
		ar = this;                                                                   
		                                                                             
	for (var i=0; i < ar.length; i++) {                                              
		var actTemplateName = ar[i][POS_TEMPLATENAME];                               
		                                                                             
		if (actTemplateName == '')                                                   
			actTemplateName = lastTemplateName;		                                 
		                                                                             
		if (ar[i][POS_ID] == id) {                                			         
			return actTemplateName;                                                  
		}	                                                                         
		                                                                             
		if (ar[i][POS_CHILDS].length > 0) {                                          
			var result=this.getTemplateName(id, actTemplateName, ar[i][POS_CHILDS]); 
			if (result != null)                                                      
				return result;                                                       
		}									                                         
	}                                                                                
	return null;                                                                     
	};                                                                               
/* EOF */					                                                            
