/* [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','13763',jdecode('Home'),jdecode(''),'/13763.html','true',[],''],
	['PAGE','31601',jdecode('Aktuell'),jdecode(''),'/31601.html','true',[],''],
	['PAGE','13769',jdecode('Unser+Rudel'),jdecode(''),'/13769.html','true',[],''],
	['PAGE','13774',jdecode('Zucht'),jdecode(''),'/13774/home.html','true',[ 
		['PAGE','13779',jdecode('Welpen'),jdecode(''),'/13774/13779.html','true',[],'']
	],''],
	['PAGE','13784',jdecode('Hobbys'),jdecode(''),'/13784.html','true',[],''],
	['PAGE','15202',jdecode('Bilderalbum'),jdecode(''),'/15202.html','true',[],''],
	['PAGE','13809',jdecode('Links'),jdecode(''),'/13809.html','true',[],''],
	['PAGE','14815',jdecode('Gaestebuch'),jdecode(''),'/14815/home.html','true',[ 
		['PAGE','14816',jdecode('Eintraege'),jdecode(''),'/14815/14816.html','true',[],'']
	],''],
	['PAGE','34601',jdecode('Blog'),jdecode(''),'/34601.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='cutout';
theSitetree.paletteFamily='C8E2F8';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10611';
theSitetree.graphicsetId='10479';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'cutout',
				paletteFamily: 	'C8E2F8',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10611',
				graphicsetId: 	'10479',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'FFFFFF',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1002']=webappMappings['1002-14815atoix0ineu6r']={
webappId:    '1002',
documentId:  '14815',
internalId:  '14815atoix0ineu6r',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-14815atoix0ineu6r']={
webappId:    '1002',
documentId:  '14816',
internalId:  '14815atoix0ineu6r',
customField: 'action=list'
};
webappMappings['1008']=webappMappings['1008-27768827']={
webappId:    '1008',
documentId:  '13763',
internalId:  '27768827',
customField: 'de:DE:'
};
webappMappings['1501']=webappMappings['1501-14215095']={
webappId:    '1501',
documentId:  '13763',
internalId:  '14215095',
customField: '1501'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13763',
internalId:  '1006',
customField: '1006'
};
webappMappings['1007']=webappMappings['1007-104235edf23']={
webappId:    '1007',
documentId:  '15202',
internalId:  '104235edf23',
customField: 'g.10ghlcqnv.rrnco1g8ae.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13763',
internalId:  '',
customField: '20060910-183356'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13769',
internalId:  '',
customField: '20061228-204005'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13774',
internalId:  '',
customField: '20070515-235644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13779',
internalId:  '',
customField: '20060726-171818'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13784',
internalId:  '',
customField: '20050528-220056'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15202',
internalId:  '',
customField: '20050601-112237'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13809',
internalId:  '',
customField: '20070103-004500'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14815',
internalId:  '',
customField: '20050601-112355'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14816',
internalId:  '',
customField: '20061116-194731'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31601',
internalId:  '',
customField: '20070521-153241'
};
webappMappings['7050']=webappMappings['7050-1']={
webappId:    '7050',
documentId:  '34601',
internalId:  '1',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34601',
internalId:  '',
customField: '20091115-110041'
};
var canonHostname = 'cfawrk07.aul.t-online.de';
var accountId     = 'ATOIX0INEU6R';
var companyName   = 'Appenzeller+Sennenhunde+vom+Heimenkircher+Moos';
var htmlTitle	  = 'unsere+Appenzeller+Sennenhunde';
var metaKeywords  = 'Appenzeller+Sennenhund%2C+Welpen%2C+Appenzellersennenhunde%2C+Hundezucht%2C+Zucht%2C+Sennenhunde%2C+Appenzeller%2C+Hobbyzucht%2C+Liebhaberzucht%2C+Puppy';
var metaContents  = 'Haltung+und+Zucht+Appenzeller+Sennenhunde';
					                                                                    
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 */					                                                            
