/* [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','4598',jdecode('Home'),jdecode(''),'/4598.html','true',[],''],
	['PAGE','5057',jdecode('Flight+Reservations'),jdecode(''),'/5057.html','true',[],''],
	['PAGE','79906',jdecode('Special+Promotions%3A-++New%21'),jdecode(''),'/79906.html','true',[],''],
	['PAGE','80906',jdecode('Agents'),jdecode(''),'/80906.html','true',[],''],
	['PAGE','49608',jdecode('Holiday+Packages'),jdecode(''),'/49608.html','true',[],''],
	['PAGE','5030',jdecode('Hotel+Bookings'),jdecode(''),'/5030.html','true',[],''],
	['PAGE','5084',jdecode('Car+Hiring+Services'),jdecode(''),'/5084.html','true',[],''],
	['PAGE','5003',jdecode('Other+Services+'),jdecode(''),'/5003.html','true',[],''],
	['PAGE','5111',jdecode('Tourist+Attractions+'),jdecode(''),'/5111/index.html','true',[ 
		['PAGE','10962',jdecode('Greater-Accra'),jdecode(''),'/5111/10962.html','true',[],''],
		['PAGE','10989',jdecode('Ashanti'),jdecode(''),'/5111/10989.html','true',[],''],
		['PAGE','11016',jdecode('Central+Region'),jdecode(''),'/5111/11016.html','true',[],''],
		['PAGE','11043',jdecode('Eastern+Region'),jdecode(''),'/5111/11043.html','true',[],''],
		['PAGE','11070',jdecode('Western+Region'),jdecode(''),'/5111/11070.html','true',[],''],
		['PAGE','11097',jdecode('Volta+Region'),jdecode(''),'/5111/11097.html','true',[],''],
		['PAGE','11124',jdecode('Brong-Ahafo+Region'),jdecode(''),'/5111/11124.html','true',[],''],
		['PAGE','11151',jdecode('Upper+West+'),jdecode(''),'/5111/11151.html','true',[],''],
		['PAGE','27110',jdecode('Upper+East'),jdecode(''),'/5111/27110.html','true',[],''],
		['PAGE','11178',jdecode('Northern+Region'),jdecode(''),'/5111/11178.html','true',[],'']
	],''],
	['PAGE','5138',jdecode('Travel+Information'),jdecode(''),'/5138.html','true',[],''],
	['PAGE','20565',jdecode('Tourism+Calendar'),jdecode(''),'/20565/index.html','true',[ 
		['PAGE','12416',jdecode('Jan-March'),jdecode(''),'/20565/12416.html','true',[],''],
		['PAGE','20592',jdecode('April+-July'),jdecode(''),'/20565/20592.html','true',[],''],
		['PAGE','20646',jdecode('Aug+-Dec'),jdecode(''),'/20565/20646.html','true',[],'']
	],''],
	['PAGE','5165',jdecode('Charitable+Activities'),jdecode(''),'/5165/index.html','true',[ 
		['PAGE','34518',jdecode('Hospital+Appeals'),jdecode(''),'/5165/34518.html','true',[],''],
		['PAGE','35225',jdecode('Individual+Appeals'),jdecode(''),'/5165/35225.html','true',[],'']
	],''],
	['PAGE','11893',jdecode('Photo+Gallery'),jdecode(''),'/11893/index.html','true',[ 
		['PAGE','11439',jdecode('Attractions+Album'),jdecode(''),'/11893/11439.html','true',[],''],
		['PAGE','11667',jdecode('Animals+In+Ghana'),jdecode(''),'/11893/11667.html','true',[],''],
		['PAGE','11987',jdecode('Handicrafts+Album'),jdecode(''),'/11893/11987.html','true',[],''],
		['PAGE','12774',jdecode('Family+Events+Album'),jdecode(''),'/11893/12774.html','true',[],''],
		['PAGE','13027',jdecode('Solid+Rock+Events'),jdecode(''),'/11893/13027.html','true',[],''],
		['PAGE','13534',jdecode('Festival+Photos'),jdecode(''),'/11893/13534.html','true',[],''],
		['PAGE','48510',jdecode('Hospital+Pictures'),jdecode(''),'/11893/48510.html','true',[],'']
	],''],
	['PAGE','35781',jdecode('Solid+Rock+News'),jdecode(''),'/35781.html','true',[],''],
	['PAGE','79812',jdecode('Forum'),jdecode(''),'/79812.html','true',[],''],
	['PAGE','8543',jdecode('About+Us'),jdecode(''),'/8543/index.html','true',[ 
		['PAGE','58808',jdecode('Sustainable+Tourism'),jdecode(''),'/8543/58808.html','true',[],'']
	],''],
	['PAGE','8570',jdecode('Contact+Us'),jdecode(''),'/8570/index.html','true',[ 
		['PAGE','32554',jdecode('Contact+Us+%28follow+up+page%29'),jdecode(''),'/8570/32554.html','false',[],''],
		['PAGE','45643',jdecode('Our+Location'),jdecode(''),'/8570/45643.html','true',[],'']
	],''],
	['PAGE','36640',jdecode('FAQs'),jdecode(''),'/36640.html','true',[],''],
	['PAGE','82106',jdecode('Computing+School'),jdecode(''),'/82106.html','true',[],''],
	['PAGE','81606',jdecode('Recruitment+Drive+New%21'),jdecode(''),'/81606.html','true',[],''],
	['PAGE','48211',jdecode('Useful+Links'),jdecode(''),'/48211.html','true',[],'']];
var siteelementCount=46;
theSitetree.topTemplateName='Kreis';
					                                                                    
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 */					                                                            
