/* [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','39994',jdecode('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','50067',jdecode('Unsere+Miezen'),jdecode(''),'/50067.html','true',[],''],
	['PAGE','50076',jdecode('Hochzeit'),jdecode(''),'/50076.html','true',[],''],
	['PAGE','42579',jdecode('Wer+sind+wir'),jdecode(''),'/42579.html','true',[],''],
	['PAGE','41580',jdecode('Hobby%C2%B4s+'),jdecode(''),'/41580.html','true',[],''],
	['PAGE','43683',jdecode('Modellbahn'),jdecode(''),'/43683/home.html','true',[ 
		['PAGE','44958',jdecode('Spur+Z'),jdecode(''),'/43683/44958.html','true',[],''],
		['PAGE','44967',jdecode('Spur+N'),jdecode(''),'/43683/44967.html','true',[],'']
	],''],
	['PAGE','42598',jdecode('G%C3%A4stebuch'),jdecode(''),'/42598/home.html','true',[ 
		['PAGE','42597',jdecode('Eintr%C3%A4ge'),jdecode(''),'/42598/42597.html','true',[],'']
	],''],
	['PAGE','41589',jdecode('Impressum'),jdecode(''),'/41589.html','true',[],''],
	['PAGE','60801',jdecode('Blog'),jdecode(''),'/60801.html','true',[],'']];
var siteelementCount=12;
theSitetree.topTemplateName='Party';
theSitetree.paletteFamily='0035E0';
theSitetree.keyvisualId='3529';
theSitetree.keyvisualName='kv_3529.jpg';
theSitetree.fontsetId='10723';
theSitetree.graphicsetId='10806';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='0035E0';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Party',
				paletteFamily: 	'0035E0',
				keyvisualId: 	'3529',
				keyvisualName: 	'kv_3529.jpg',
				fontsetId: 		'10723',
				graphicsetId: 	'10806',
				contentColor: 	'FFFFFF',
				contentBGColor: '0035E0',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'E6FFAB',
				e_color: 		'E6FFAB',
				f_color: 		'E6FFAB',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20111109-105403'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41580',
internalId:  '',
customField: '20101216-193432'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41589',
internalId:  '',
customField: '20101216-194146'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43683',
internalId:  '',
customField: '20101216-193728'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42579',
internalId:  '',
customField: '20110219-123817'
};
webappMappings['1002']=webappMappings['1002-42598atoix0irjzly']={
webappId:    '1002',
documentId:  '42598',
internalId:  '42598atoix0irjzly',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-42598atoix0irjzly']={
webappId:    '1002',
documentId:  '42597',
internalId:  '42598atoix0irjzly',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42598',
internalId:  '',
customField: '20110219-122526'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42597',
internalId:  '',
customField: '20081225-134604'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50067',
internalId:  '',
customField: '20110219-115909'
};
webappMappings['7050']=webappMappings['7050-57115']={
webappId:    '7050',
documentId:  '60801',
internalId:  '57115',
customField: 'language:de;country:DE;'
};
webappMappings['1008']=webappMappings['1008-55614613']={
webappId:    '1008',
documentId:  '41589',
internalId:  '55614613',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44958',
internalId:  '',
customField: '20110219-121527'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44967',
internalId:  '',
customField: '20110219-122327'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50076',
internalId:  '',
customField: '20110219-122758'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60801',
internalId:  '',
customField: '20110219-124016'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IRJZLY';
var companyName   = 'bei+Tina+und+Thomas';
var htmlTitle	  = 'bei+Tina+und+Thomas';
var metaKeywords  = 'Modellbahn%2C+Spur+Z%2C+Spur+N%2C+Katzen%2C+Creative+Memories%2C+Modelleisenbahn%2C+Eisenbahn%2C+Bahn%2C+Photoimpact%2C+Basteln%2C+Hochzeit%2C+1%3A160%2C+1%3A220%2C+';
var metaContents  = 'Eine+private+Homepage+rund+ums+Thema+Modellbahn%2C+Katzen%2C+Basteln+und+vieles+mehr';
					                                                                    
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 */					                                                            

