/* [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','4517',jdecode('Home'),jdecode(''),'/4517.html','true',[],''],
	['PAGE','8960',jdecode('Wir+%FCber+uns'),jdecode(''),'/8960.html','true',[],''],
	['PAGE','138634',jdecode('Hotels+in+Deutschland'),jdecode(''),'/138634.html','true',[],''],
	['PAGE','9014',jdecode('Insel+Kreta'),jdecode(''),'/9014/index.html','true',[ 
		['PAGE','36137',jdecode('Kreta+Bilder'),jdecode(''),'/9014/36137.html','true',[],''],
		['PAGE','9095',jdecode('Routen+Kreta'),jdecode(''),'/9014/9095.html','true',[],''],
		['PAGE','63085',jdecode('Hotels+Kreta'),jdecode(''),'/9014/63085.html','true',[],''],
		['PAGE','55866',jdecode('Sehenswertes+auf+Kreta'),jdecode(''),'/9014/55866.html','true',[],''],
		['PAGE','166034',jdecode('Nitro+Cafe+%26+Musik+Bar'),jdecode(''),'/9014/166034.html','true',[],'']
	],''],
	['PAGE','9122',jdecode('Insel+Rhodos'),jdecode(''),'/9122/index.html','true',[ 
		['PAGE','36237',jdecode('Rhodos+Bilder'),jdecode(''),'/9122/36237.html','true',[],''],
		['PAGE','9203',jdecode('Routen+Rhodos'),jdecode(''),'/9122/9203.html','true',[],''],
		['PAGE','9230',jdecode('Sehenswertes+auf+Rhodos'),jdecode(''),'/9122/9230.html','true',[],'']
	],''],
	['PAGE','56388',jdecode('Insel+Symi'),jdecode(''),'/56388/index.html','true',[ 
		['PAGE','42751',jdecode('Symi+Bilder'),jdecode(''),'/56388/42751.html','true',[],'']
	],''],
	['PAGE','165836',jdecode('Reiseinformationen'),jdecode(''),'/165836.html','true',[],''],
	['PAGE','39365',jdecode('Rezepte'),jdecode(''),'/39365.html','true',[],''],
	['PAGE','9284',jdecode('Links'),jdecode(''),'/9284.html','true',[],''],
	['PAGE','53885',jdecode('Mein+Online+Shop'),jdecode(''),'/53885.html','true',[],''],
	['PAGE','58885',jdecode('Online-Shops'),jdecode(''),'/58885.html','true',[],''],
	['PAGE','60185',jdecode('Meine+Banner'),jdecode(''),'/60185.html','true',[],''],
	['PAGE','67285',jdecode('Gru%DFkartenversand'),jdecode(''),'/67285.html','true',[],''],
	['PAGE','14602',jdecode('G%E4stebuch'),jdecode(''),'/14602.html','true',[],''],
	['PAGE','14603',jdecode('Eintr%E4ge'),jdecode(''),'/14603.html','true',[],''],
	['PAGE','56902',jdecode('Kontakt'),jdecode(''),'/56902/index.html','true',[ 
		['PAGE','56942',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/56902/56942.html','false',[],'']
	],''],
	['PAGE','165735',jdecode('Ihr+Weg+zu+uns'),jdecode(''),'/165735.html','true',[],''],
	['PAGE','14661',jdecode('Anfahrt'),jdecode(''),'/14661.html','true',[],''],
	['PAGE','166403',jdecode('Reise+%26+Urlaub'),jdecode(''),'/166403.html','true',[],''],
	['PAGE','180535',jdecode('Minidolmetscher'),jdecode(''),'/180535.html','true',[],''],
	['PAGE','180571',jdecode('Essen+%26+Trinken'),jdecode(''),'/180571.html','true',[],''],
	['PAGE','182750',jdecode('Spiele'),jdecode(''),'/182750/index.html','true',[ 
		['PAGE','182448',jdecode('Siggi+das+Seepferdchen'),jdecode(''),'/182750/182448.html','true',[],''],
		['PAGE','182535',jdecode('Blackjack'),jdecode(''),'/182750/182535.html','true',[],''],
		['PAGE','182571',jdecode('Puzzle'),jdecode(''),'/182750/182571.html','true',[],''],
		['PAGE','182607',jdecode('Quiz'),jdecode(''),'/182750/182607.html','true',[],''],
		['PAGE','182643',jdecode('Virusbuster'),jdecode(''),'/182750/182643.html','true',[],''],
		['PAGE','182679',jdecode('Audioremember'),jdecode(''),'/182750/182679.html','true',[],''],
		['PAGE','182715',jdecode('Blocker'),jdecode(''),'/182750/182715.html','true',[],'']
	],'']];
var siteelementCount=39;
theSitetree.topTemplateName='Rectangle';
					                                                                    
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 */					                                                            
