/* [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','4495',jdecode('Home'),jdecode(''),'/4495/index.html','true',[ 
		['PAGE','12504',jdecode('Der+Fir-Darrig'),jdecode(''),'/4495/12504.html','true',[],''],
		['PAGE','24602',jdecode('Kerry+-+Fotos'),jdecode(''),'/4495/24602.html','true',[],'']
	],''],
	['PAGE','9201',jdecode('Standards'),jdecode(''),'/9201.html','true',[],''],
	['PAGE','9390',jdecode('Smallprint'),jdecode(''),'/9390.html','true',[],''],
	['PAGE','10701',jdecode('Anreise+%2FJourney'),jdecode(''),'/10701/index.html','true',[ 
		['PAGE','49802',jdecode('Stra%DFenkarte'),jdecode(''),'/10701/49802.html','true',[],'']
	],''],
	['PAGE','134795',jdecode('Entfernungstabelle'),jdecode(''),'/134795.html','true',[],''],
	['PAGE','131381',jdecode('Mietwagen'),jdecode(''),'/131381.html','true',[],''],
	['PAGE','128381',jdecode('Meadow+Cottage'),jdecode(''),'/128381.html','true',[],''],
	['PAGE','130681',jdecode('Neue+Seite'),jdecode(''),'/130681.html','true',[],''],
	['PAGE','102985',jdecode('Pairc+na+Realta'),jdecode(''),'/102985.html','true',[],''],
	['PAGE','131995',jdecode('Patrick%26%23x27%3Bs'),jdecode(''),'/131995.html','true',[],''],
	['PAGE','60201',jdecode('Patty%26%23x27%3Bs'),jdecode(''),'/60201.html','true',[],''],
	['PAGE','53046',jdecode('Roads+Cottage'),jdecode(''),'/53046.html','true',[],''],
	['PAGE','9336',jdecode('Rosebud+Cottage'),jdecode(''),'/9336.html','true',[],''],
	['PAGE','9255',jdecode('Seana+Hig'),jdecode(''),'/9255.html','true',[],''],
	['PAGE','100881',jdecode('Skelligs+House'),jdecode(''),'/100881.html','true',[],''],
	['PAGE','52601',jdecode('St.+Ann%26%23x27%3Bs+House'),jdecode(''),'/52601.html','true',[],''],
	['PAGE','19982',jdecode('The+Extension'),jdecode(''),'/19982.html','true',[],''],
	['PAGE','21701',jdecode('The+Homestead'),jdecode(''),'/21701.html','true',[],''],
	['PAGE','9309',jdecode('Taobh+na+Greine'),jdecode(''),'/9309.html','true',[],''],
	['PAGE','106381',jdecode('Teach+na+Grein%E9'),jdecode(''),'/106381.html','true',[],''],
	['PAGE','136574',jdecode('Tigh+Cladach'),jdecode(''),'/136574.html','true',[],''],
	['PAGE','89847',jdecode('Tom%26%23x27%3Bs+Cottage'),jdecode(''),'/89847.html','true',[],''],
	['PAGE','55663',jdecode('Yvonne%26%23x27%3Bs+House'),jdecode(''),'/55663.html','true',[],''],
	['PAGE','9228',jdecode('A+Gr%E1+mo+Cro%ED'),jdecode(''),'/9228.html','true',[],''],
	['PAGE','9282',jdecode('An+Tigin'),jdecode(''),'/9282.html','true',[],''],
	['PAGE','44401',jdecode('Ard+na+Greine'),jdecode(''),'/44401.html','true',[],''],
	['PAGE','126081',jdecode('Batt%26%23x27%3Bs+Cottage'),jdecode(''),'/126081.html','true',[],''],
	['PAGE','39701',jdecode('Caol+Cottage'),jdecode(''),'/39701.html','true',[],''],
	['PAGE','39728',jdecode('Caroline%26%23x27%3Bs+House'),jdecode(''),'/39728.html','true',[],''],
	['PAGE','68401',jdecode('Casey%26%23x27%3Bs+Cottage'),jdecode(''),'/68401.html','true',[],''],
	['PAGE','98116',jdecode('C%FAil%EDn+Lodge'),jdecode(''),'/98116.html','true',[],''],
	['PAGE','94916',jdecode('Dan+Mh%E1ire'),jdecode(''),'/94916.html','true',[],''],
	['PAGE','61001',jdecode('Harbour+View'),jdecode(''),'/61001.html','true',[],''],
	['PAGE','50701',jdecode('Heather+Cottage'),jdecode(''),'/50701.html','true',[],''],
	['PAGE','147654',jdecode('Heron+Cottages'),jdecode(''),'/147654.html','true',[],''],
	['PAGE','47301',jdecode('Knocknadobar'),jdecode(''),'/47301.html','true',[],''],
	['PAGE','117512',jdecode('Lime+Tree+'),jdecode(''),'/117512.html','true',[],''],
	['PAGE','14202',jdecode('G%E4stebuch'),jdecode(''),'/14202/index.html','true',[ 
		['PAGE','14203',jdecode('Eintr%E4ge+G%E4stebuch'),jdecode(''),'/14202/14203.html','true',[],''],
		['PAGE','18251',jdecode('altes+G%E4stebuch+2'),jdecode(''),'/14202/18251.html','true',[],''],
		['PAGE','18797',jdecode('altes+G%E4stebuch+1'),jdecode(''),'/14202/18797.html','true',[],'']
	],''],
	['PAGE','134595',jdecode('Fr%FChst%FCckspens.'),jdecode(''),'/134595/index.html','true',[ 
		['PAGE','55694',jdecode('B%26B+Cul+Draiochta'),jdecode(''),'/134595/55694.html','true',[],''],
		['PAGE','34201',jdecode('B+%26+B+bei+Triona'),jdecode(''),'/134595/34201.html','true',[],'']
	],''],
	['PAGE','69552',jdecode('Evtl.+Projekte'),jdecode(''),'/69552/index.html','true',[ 
		['PAGE','36301',jdecode('Coastguard'),jdecode(''),'/69552/36301.html','true',[],''],
		['PAGE','61501',jdecode('Cois+Linne'),jdecode(''),'/69552/61501.html','true',[],''],
		['PAGE','59001',jdecode('Petras+Haus'),jdecode(''),'/69552/59001.html','true',[],''],
		['PAGE','120981',jdecode('Dooneen+House'),jdecode(''),'/69552/120981.html','true',[],''],
		['PAGE','23101',jdecode('Glenbeigh+'),jdecode(''),'/69552/23101.html','true',[],''],
		['PAGE','28601',jdecode('Cahirciveen+'),jdecode(''),'/69552/28601.html','true',[],''],
		['PAGE','62001',jdecode('Kate%26%23x27%3Bs'),jdecode(''),'/69552/62001.html','true',[],''],
		['PAGE','29628',jdecode('Rockfield+House'),jdecode(''),'/69552/29628.html','true',[],''],
		['PAGE','55301',jdecode('Paula%26%23x27%3Bs+House'),jdecode(''),'/69552/55301.html','true',[],''],
		['PAGE','55101',jdecode('Unterricht'),jdecode(''),'/69552/55101.html','true',[],''],
		['PAGE','123881',jdecode('River+Shannon'),jdecode(''),'/69552/123881.html','true',[],''],
		['PAGE','12201',jdecode('Foileye+Cottage+'),jdecode(''),'/69552/12201.html','true',[],''],
		['PAGE','60001',jdecode('Balrath+Co.+Meath'),jdecode(''),'/69552/60001.html','true',[],''],
		['PAGE','88616',jdecode('Frank%26%23x27%3Bs+House'),jdecode(''),'/69552/88616.html','true',[],''],
		['PAGE','9363',jdecode('Ceol+na+Mara'),jdecode(''),'/69552/9363.html','true',[],''],
		['PAGE','29655',jdecode('Noreens'),jdecode(''),'/69552/29655.html','true',[],'']
	],'']];
var siteelementCount=64;
theSitetree.topTemplateName='Roadsign';
					                                                                    
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 */					                                                            
