/* [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('Home'),jdecode(''),'/4466.html','true',[],''],
	['PAGE','26101',jdecode('Ansprechpartner'),jdecode(''),'/26101.html','true',[],''],
	['PAGE','4601',jdecode('Service'),jdecode(''),'/4601.html','true',[],''],
	['PAGE','91578',jdecode('Feedback+Formular'),jdecode(''),'/91578/index.html','true',[ 
		['PAGE','91611',jdecode('Feedback+Formular+%28Folgeseite%29'),jdecode(''),'/91578/91611.html','false',[],'']
	],''],
	['PAGE','69413',jdecode('Saisonpartys'),jdecode(''),'/69413/index.html','true',[ 
		['PAGE','69475',jdecode('Sexy+Oktoberfest+'),jdecode(''),'/69413/69475.html','true',[],''],
		['PAGE','69444',jdecode('Sexy+Osterhasi+Party+'),jdecode(''),'/69413/69444.html','true',[],''],
		['PAGE','69506',jdecode('Sexy+X-Mas+Party+'),jdecode(''),'/69413/69506.html','true',[],''],
		['PAGE','69537',jdecode('Apres+Ski+Night+'),jdecode(''),'/69413/69537.html','true',[],'']
	],''],
	['PAGE','5201',jdecode('UNSERE+GIRLS'),jdecode(''),'/5201/index.html','true',[ 
		['PAGE','36701',jdecode('Petty+Luu+'),jdecode(''),'/5201/36701.html','true',[],''],
		['PAGE','36963',jdecode('Monique'),jdecode(''),'/5201/36963.html','true',[],''],
		['PAGE','72244',jdecode('Kimberly'),jdecode(''),'/5201/72244.html','true',[],''],
		['PAGE','73466',jdecode('Tanja'),jdecode(''),'/5201/73466.html','true',[],''],
		['PAGE','76310',jdecode('Maxime'),jdecode(''),'/5201/76310.html','true',[],''],
		['PAGE','76372',jdecode('July'),jdecode(''),'/5201/76372.html','true',[],''],
		['PAGE','58911',jdecode('Lin+Lin'),jdecode(''),'/5201/58911.html','true',[],''],
		['PAGE','77332',jdecode('Andrea'),jdecode(''),'/5201/77332.html','true',[],''],
		['PAGE','58880',jdecode('Kim'),jdecode(''),'/5201/58880.html','true',[],''],
		['PAGE','46574',jdecode('Cayenne+'),jdecode(''),'/5201/46574.html','true',[],''],
		['PAGE','45921',jdecode('Sandra+'),jdecode(''),'/5201/45921.html','true',[],''],
		['PAGE','73193',jdecode('Jule'),jdecode(''),'/5201/73193.html','true',[],''],
		['PAGE','73162',jdecode('Xenia'),jdecode(''),'/5201/73162.html','true',[],''],
		['PAGE','59159',jdecode('Steffi+II'),jdecode(''),'/5201/59159.html','true',[],''],
		['PAGE','77301',jdecode('Noelle'),jdecode(''),'/5201/77301.html','true',[],''],
		['PAGE','58725',jdecode('Ayreen'),jdecode(''),'/5201/58725.html','true',[],''],
		['PAGE','69351',jdecode('Isabell'),jdecode(''),'/5201/69351.html','true',[],''],
		['PAGE','48056',jdecode('Indira+'),jdecode(''),'/5201/48056.html','true',[],''],
		['PAGE','52249',jdecode('Sway'),jdecode(''),'/5201/52249.html','true',[],'']
	],''],
	['PAGE','5501',jdecode('UNSERE+MEN'),jdecode(''),'/5501/index.html','true',[ 
		['PAGE','37025',jdecode('Anthony+'),jdecode(''),'/5501/37025.html','true',[],''],
		['PAGE','85069',jdecode('JoJo'),jdecode(''),'/5501/85069.html','true',[],''],
		['PAGE','56650',jdecode('Shown'),jdecode(''),'/5501/56650.html','true',[],''],
		['PAGE','46481',jdecode('Jack+'),jdecode(''),'/5501/46481.html','true',[],''],
		['PAGE','56305',jdecode('Reiner'),jdecode(''),'/5501/56305.html','true',[],''],
		['PAGE','37201',jdecode('Ron+'),jdecode(''),'/5501/37201.html','true',[],''],
		['PAGE','59128',jdecode('Spike'),jdecode(''),'/5501/59128.html','true',[],'']
	],''],
	['PAGE','52295',jdecode('The+Wild+Boys'),jdecode(''),'/52295.html','true',[],''],
	['PAGE','51267',jdecode('The+Wild+Girls'),jdecode(''),'/51267.html','true',[],''],
	['PAGE','54325',jdecode('Pornostar+Trinity+S.'),jdecode(''),'/54325.html','true',[],''],
	['PAGE','63604',jdecode('Travestie'),jdecode(''),'/63604.html','true',[],''],
	['PAGE','69172',jdecode('Casino+Night'),jdecode(''),'/69172.html','true',[],''],
	['PAGE','55605',jdecode('Bodypainter'),jdecode(''),'/55605.html','true',[],''],
	['PAGE','56336',jdecode('Galerie'),jdecode(''),'/56336.html','true',[],''],
	['PAGE','53784',jdecode('Unser+Fotoprofi+Gerd'),jdecode(''),'/53784.html','true',[],''],
	['PAGE','55636',jdecode('Bewerbung+%21%21%21'),jdecode(''),'/55636.html','true',[],''],
	['PAGE','4694',jdecode('Referenzen'),jdecode(''),'/4694.html','true',[],''],
	['PAGE','29301',jdecode('Info+%26+Preise'),jdecode(''),'/29301.html','true',[],''],
	['PAGE','4725',jdecode('AGB%26%23x27%3Bs'),jdecode(''),'/4725.html','true',[],''],
	['PAGE','4756',jdecode('Kontakt'),jdecode(''),'/4756/index.html','true',[ 
		['PAGE','26502',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/4756/26502.html','false',[],'']
	],''],
	['PAGE','72901',jdecode('Links'),jdecode(''),'/72901.html','true',[],''],
	['PAGE','11002',jdecode('G%E4stebuch'),jdecode(''),'/11002/index.html','true',[ 
		['PAGE','11003',jdecode('Eintr%E4ge'),jdecode(''),'/11002/11003.html','true',[],'']
	],''],
	['PAGE','24901',jdecode('Impressum'),jdecode(''),'/24901.html','true',[],'']];
var siteelementCount=56;
theSitetree.topTemplateName='Maschine';
					                                                                    
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 */					                                                            

