/* [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','40569',jdecode('Wer+bin+Ich'),jdecode(''),'/40569.html','true',[],''],
	['PAGE','40578',jdecode('Angebot'),jdecode(''),'/40578/home.html','true',[ 
		['PAGE','40634',jdecode('Tagespflege'),jdecode(''),'/40578/40634.html','true',[],''],
		['PAGE','40916',jdecode('Stundenbetreuung'),jdecode(''),'/40578/40916.html','true',[],''],
		['PAGE','40643',jdecode('Krabbeltreffen'),jdecode(''),'/40578/40643.html','true',[],''],
		['PAGE','40652',jdecode('Lampionumzug'),jdecode(''),'/40578/40652.html','true',[],''],
		['PAGE','40661',jdecode('Tag+der+offenen+T%C3%BCr'),jdecode(''),'/40578/40661.html','true',[],'']
	],''],
	['PAGE','41856',jdecode('Galerie'),jdecode(''),'/41856/home.html','true',[ 
		['PAGE','42244',jdecode('Fasching+2012'),jdecode(''),'/41856/42244.html','true',[],''],
		['PAGE','42007',jdecode('Lampionumzug+2011'),jdecode(''),'/41856/42007.html','true',[],''],
		['PAGE','42122',jdecode('Der+Herbst+ist+da%21'),jdecode(''),'/41856/42122.html','true',[],''],
		['PAGE','41869',jdecode('Aus+unserem+Alltag'),jdecode(''),'/41856/41869.html','true',[],''],
		['PAGE','41934',jdecode('Tag+der+offenen+T%C3%BCr+2011'),jdecode(''),'/41856/41934.html','true',[],''],
		['PAGE','41973',jdecode('Ostern+2011'),jdecode(''),'/41856/41973.html','true',[],''],
		['PAGE','42040',jdecode('Archiv'),jdecode(''),'/41856/42040.html','true',[],'']
	],''],
	['PAGE','41285',jdecode('Interessantes'),jdecode(''),'/41285.html','true',[],''],
	['PAGE','40587',jdecode('Kontakt%2FImpressum'),jdecode(''),'/40587.html','true',[],'']];
var siteelementCount=18;
theSitetree.topTemplateName='Party7';
theSitetree.paletteFamily='9AA34D';
theSitetree.keyvisualId='8585';
theSitetree.keyvisualName='kv_8585.gif';
theSitetree.fontsetId='17851';
theSitetree.graphicsetId='12518';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='9AA34D';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Party7',
				paletteFamily: 	'9AA34D',
				keyvisualId: 	'8585',
				keyvisualName: 	'kv_8585.gif',
				fontsetId: 		'17851',
				graphicsetId: 	'12518',
				contentColor: 	'000000',
				contentBGColor: '9AA34D',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				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: '20111227-134346'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40569',
internalId:  '',
customField: '20111105-202609'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40578',
internalId:  '',
customField: '20091016-173429'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40587',
internalId:  '',
customField: '20100116-124445'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40634',
internalId:  '',
customField: '20100311-165705'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40643',
internalId:  '',
customField: '20091016-174843'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40652',
internalId:  '',
customField: '20100126-213237'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40661',
internalId:  '',
customField: '20100126-212946'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41869',
internalId:  '',
customField: '20110728-191234'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41856',
internalId:  '',
customField: '20110728-185407'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42244',
internalId:  '',
customField: '20120221-144026'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40916',
internalId:  '',
customField: '20091127-150119'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41973',
internalId:  '',
customField: '20111006-191617'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42007',
internalId:  '',
customField: '20111211-104955'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41934',
internalId:  '',
customField: '20110804-211103'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41285',
internalId:  '',
customField: '20100516-221605'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42040',
internalId:  '',
customField: '20110919-204304'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42122',
internalId:  '',
customField: '20111211-102834'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IRT0P1';
var companyName   = 'Qualifizierte+Tagesmutter+Katja+Rau';
var htmlTitle	  = 'Qualifizierte+Tagesmutter+Katja+Rau';
var metaKeywords  = 'Tagesmutter%2C+Katja+Rau%2C+Bauernhof%2C+Aue-Alberoda%2CTagespflege%2CStundenbetreuung%2CKrabbeltreffen%2CUnsere+kleine+Farm';
var metaContents  = 'Qualifizierte+Tagespflege%2FStundenbetreuung+und+Krabbeltreffen+auf+dem+Bauernhof+in+Aue-Alberoda+%28Sachsen%29';
					                                                                    
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 */					                                                            

