/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

if (typeof(decodeURIComponent) == 'undefined') {
  decodeURIComponent = function(s) {
    return unescape(s);
  }
}

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return decodeURIComponent(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','40020',jdecode('Willkommen+%21'),jdecode(''),'/40020.html','true',[],''],
	['PAGE','40029',jdecode('Erleben+Sie+...'),jdecode(''),'/40029.html','true',[],''],
	['PAGE','40038',jdecode('D-A-Z+...'),jdecode(''),'/40038.html','true',[],''],
	['PAGE','58401',jdecode('vor+1970+Erinnerungen'),jdecode(''),'/58401.html','true',[],''],
	['PAGE','195101',jdecode('1970-1999+Erinnerungen'),jdecode(''),'/195101.html','true',[],''],
	['PAGE','53701',jdecode('2000-2007+Erinnerungen'),jdecode(''),'/53701.html','true',[],''],
	['PAGE','57001',jdecode('2008-2009+Erinnerungen'),jdecode(''),'/57001.html','true',[],''],
	['PAGE','193864',jdecode('2009+Erinnerungen'),jdecode(''),'/193864.html','true',[],''],
	['PAGE','207001',jdecode('2010+Erinnerungen'),jdecode(''),'/207001.html','true',[],''],
	['PAGE','196122',jdecode('2011+Erinnerungen'),jdecode(''),'/196122.html','true',[],''],
	['PAGE','221201',jdecode('2012+Erinnerungen'),jdecode(''),'/221201.html','true',[],''],
	['PAGE','79901',jdecode('Links+von+Z%C3%BCs..'),jdecode(''),'/79901.html','true',[],''],
	['PAGE','56001',jdecode('Rest+der+Welt'),jdecode(''),'/56001.html','true',[],''],
	['PAGE','88301',jdecode('Gewerbe+in+Z%C3%BCs..'),jdecode(''),'/88301.html','true',[],'']];
var siteelementCount=14;
theSitetree.topTemplateName='Fotoalbum';
theSitetree.paletteFamily='C1E1EC';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='350';
theSitetree.graphicsetId='405';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='C1E1EC';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Fotoalbum',
				paletteFamily: 	'C1E1EC',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'350',
				graphicsetId: 	'405',
				contentColor: 	'000000',
				contentBGColor: 'C1E1EC',
				a_color: 		'C1E1EC',
				b_color: 		'EBF8FD',
				c_color: 		'565F62',
				d_color: 		'5A6B71',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40020',
internalId:  '',
customField: '20120106-231435'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40029',
internalId:  '',
customField: '20111215-224059'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40038',
internalId:  '',
customField: '20111121-191813'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57001',
internalId:  '',
customField: '20111215-223040'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56001',
internalId:  '',
customField: '20111121-191908'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53701',
internalId:  '',
customField: '20120109-211310'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58401',
internalId:  '',
customField: '20120109-205259'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88301',
internalId:  '',
customField: '20111121-191952'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79901',
internalId:  '',
customField: '20110806-153254'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '207001',
internalId:  '',
customField: '20120107-220210'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '221201',
internalId:  '',
customField: '20120212-214624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '196122',
internalId:  '',
customField: '20120106-144055'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '193864',
internalId:  '',
customField: '20111215-223614'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '195101',
internalId:  '',
customField: '20120109-211252'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0I7S93Z';
var companyName   = '*++*++www.myzueschen.de+++*+*';
var htmlTitle	  = 'myzueschen';
var metaKeywords  = 'myzueschen++Zueschen++Z%C3%BCschen+++Homepage++Foto++Video++Musik++DVD++Zeitgeschichte++Digital';
var metaContents  = 'myzueschen++Z%C3%BCschen+festgehalten+f%C3%BCr+morgen+%21+Zeitgeschichte+Digital';
					                                                                    
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;                                                                     
	};                                                                               
theSitetree.getByXx = function(lookup, xx, ar) {									 
    if (typeof(ar) == 'undefined')												 
    	ar = this;																	 
    for (var i=0; i < ar.length; i++) {										     
        if (ar[i][xx] == lookup)													 
        	return ar[i];															 
        if (ar[i][POS_CHILDS].length > 0) {										 
        	var result=this.getByXx(lookup, xx, ar[i][POS_CHILDS]);					 
            if (result != null)													 
                return result;													 
        }																			 
    }																				 
    return null;																	 
};																				 
function gotoPage(lookup) {														 
    var page = theSitetree.getHREF(lookup);										 
    if (!page) {																	 
  		var testFor = [ POS_NAME, POS_NAVIGATIONTEXT ];							 
            for (var i=0 ; i < testFor.length ; i++) {							 
                    var p = theSitetree.getByXx(lookup, testFor[i]);				 
                    if (p != null) {												 
                            page = p[POS_HREF];									 
                            break;												 
                    }																 
            }																		 
    }																				 
 document.location.href = (new URL(__path_prefix__ + page, true, true)).toString();
}
/* EOF */					                                                            

