/* [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','40012',jdecode('Wer+wir+sind'),jdecode(''),'/40012.html','true',[],''],
	['PAGE','40068',jdecode('Rund+um+die+Katz'),jdecode(''),'/40068.html','true',[],''],
	['PAGE','40086',jdecode('Aktuelles+'),jdecode(''),'/40086.html','true',[],''],
	['PAGE','40160',jdecode('Bilder'),jdecode(''),'/40160.html','true',[],''],
	['PAGE','178101',jdecode('Bilder+ab+2011'),jdecode(''),'/178101.html','true',[],''],
	['PAGE','44261',jdecode('Kontakt++Links'),jdecode(''),'/44261.html','true',[],''],
	['PAGE','44371',jdecode('G%C3%A4stebuch'),jdecode(''),'/44371/home.html','true',[ 
		['PAGE','44370',jdecode('Eintr%C3%A4ge'),jdecode(''),'/44371/44370.html','true',[],'']
	],''],
	['PAGE','133501',jdecode('Film+Pension'),jdecode(''),'/133501.html','true',[],''],
	['PAGE','179001',jdecode('Anfahrt'),jdecode(''),'/179001.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Sonnemond';
theSitetree.paletteFamily='F9FBBF';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10759';
theSitetree.graphicsetId='10816';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='F9FBBF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Sonnemond',
				paletteFamily: 	'F9FBBF',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10759',
				graphicsetId: 	'10816',
				contentColor: 	'000000',
				contentBGColor: 'F9FBBF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'5C5898',
				e_color: 		'ED4747',
				f_color: 		'437D3B',
				hasCustomLogo: 	'true',
				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: '20111231-231919'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44371',
internalId:  '',
customField: '20100216-143227'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40012',
internalId:  '',
customField: '20111019-205129'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40068',
internalId:  '',
customField: '20111121-095933'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '133501',
internalId:  '',
customField: '20081021-092413'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40086',
internalId:  '',
customField: '20120115-172234'
};
webappMappings['1002']=webappMappings['1002-44371atoix0i7bvkw']={
webappId:    '1002',
documentId:  '44371',
internalId:  '44371atoix0i7bvkw',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-44371atoix0i7bvkw']={
webappId:    '1002',
documentId:  '44370',
internalId:  '44371atoix0i7bvkw',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44261',
internalId:  '',
customField: '20111220-205443'
};
webappMappings['7060']=webappMappings['7060-31ae79bd6be180c4c7d81e459713c1cb']={
webappId:    '7060',
documentId:  '133501',
internalId:  '31ae79bd6be180c4c7d81e459713c1cb',
customField: 'language:de;country:DE;'
};
webappMappings['1007']=webappMappings['1007-110bafa5e53']={
webappId:    '1007',
documentId:  '40160',
internalId:  '110bafa5e53',
customField: 'g.122tfcs6i.mn4jd1val1.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40160',
internalId:  '',
customField: '20110111-154954'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44370',
internalId:  '',
customField: '20070325-122505'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '179001',
internalId:  '',
customField: '20110810-182716'
};
webappMappings['1007']=webappMappings['1007-12d757e8cad']={
webappId:    '1007',
documentId:  '178101',
internalId:  '12d757e8cad',
customField: 'g.15lqnq5p2.27nfmjk4oj.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '178101',
internalId:  '',
customField: '20110306-184212'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '179001',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0I7BVKW';
var companyName   = 'Katzenpension+Selma';
var htmlTitle	  = 'Katzenpension+Katzen+Pension+Burscheid++Leverkusen+Kleintierpension+Katzenbetreuung';
var metaKeywords  = 'Katzenpension++Katzen+Pension++Betreuung+Tierbetreuung++Leverkusen+Burscheid+Haustiere+Tierheim+Catsitting+Tiersitter+51399+Hirtenhunde+Herdenschutzhunde';
var metaContents  = 'Katzenpension+Tiersitting+Tierbetreuung+Tiersitter+Katzen+Pension+Kleintiere+Katzenbetreuung+Ungarische+Hirtenhunde';
					                                                                    
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 */					                                                            

