/* [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','40046',jdecode('Home'),jdecode(''),'/40046.html','true',[],''],
	['PAGE','40111',jdecode('Termine'),jdecode(''),'/40111.html','true',[],''],
	['PAGE','96201',jdecode('News+f%C3%BCr+die+OG'),jdecode(''),'/96201.html','true',[],''],
	['PAGE','97401',jdecode('Vorstand'),jdecode(''),'/97401.html','true',[],''],
	['PAGE','40075',jdecode('Z%C3%BCchter'),jdecode(''),'/40075.html','true',[],''],
	['PAGE','40084',jdecode('Mitglieder'),jdecode(''),'/40084.html','true',[],''],
	['PAGE','40102',jdecode('Deckr%C3%BCden+'),jdecode(''),'/40102.html','true',[],''],
	['PAGE','130701',jdecode('Aktuelles+ab+2012'),jdecode(''),'/130701/home.html','true',[ 
		['PAGE','96301',jdecode('Aktivit%C3%A4ten+ab+2010'),jdecode(''),'/130701/96301.html','true',[],''],
		['PAGE','64101',jdecode('Aktivit%C3%A4ten+bis+2009'),jdecode(''),'/130701/64101.html','true',[],''],
		['PAGE','40057',jdecode('Gr%C3%BCndung%2610j.Bestehen'),jdecode(''),'/130701/40057.html','true',[],''],
		['PAGE','96701',jdecode('Zuchtberichte'),jdecode(''),'/130701/96701.html','true',[],''],
		['PAGE','40129',jdecode('Ausbildung+u.+Erfolge'),jdecode(''),'/130701/40129.html','true',[],'']
	],''],
	['PAGE','40120',jdecode('Links+u.+Impressum'),jdecode(''),'/40120.html','true',[],'']];
var siteelementCount=14;
theSitetree.topTemplateName='Architekt';
theSitetree.paletteFamily='8CBBD8';
theSitetree.keyvisualId='2055';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='304';
theSitetree.graphicsetId='348';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='8CBBD8';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Architekt',
				paletteFamily: 	'8CBBD8',
				keyvisualId: 	'2055',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'304',
				graphicsetId: 	'348',
				contentColor: 	'000000',
				contentBGColor: '8CBBD8',
				a_color: 		'8CBBD8',
				b_color: 		'338299',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '96301',
internalId:  '',
customField: '20120116-195046'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40046',
internalId:  '',
customField: '20120201-192544'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64101',
internalId:  '',
customField: '20100324-111102'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '97401',
internalId:  '',
customField: '20100328-210733'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40057',
internalId:  '',
customField: '20100328-175613'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40075',
internalId:  '',
customField: '20110414-182408'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40084',
internalId:  '',
customField: '20111023-140805'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40102',
internalId:  '',
customField: '20110904-121411'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40111',
internalId:  '',
customField: '20120103-173016'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40120',
internalId:  '',
customField: '20100328-220836'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40129',
internalId:  '',
customField: '20070204-180308'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '130701',
internalId:  '',
customField: '20120205-174806'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '96701',
internalId:  '',
customField: '20100324-114042'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '96201',
internalId:  '',
customField: '20120201-192238'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0I7BOQY';
var companyName   = '++Deutscher+Doggen+Club+1888eV.';
var htmlTitle	  = 'www.ddc-ogjena-online.de';
var metaKeywords  = 'Jena%2C+Kahla%2C+ddc-ogjena%2C+Z%C3%BCchter%2C+Deutsche+Doggen%2C+Infos%2C+Veranstaltungen%2C+Welpen-Vermittlung%2C+Deutscher+Doggen+Club+1888+e.V.%2C+Deutscher+Doggenclub+Ortsgruppe+Jena%2Cddc-ogjena-online%2C+OG+Jena%2C+Doggen+Kahla';
var metaContents  = 'Ihr+Name+-+alle+Bandinfos+auf+einer+Website%21+Alle+Toureninfos%2C+Bandhintergr%C3%BCnde+und+Termine+finden+Sie+hier.++';
					                                                                    
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 */					                                                            

