/* [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('Zwingerchronik'),jdecode(''),'/40569.html','true',[],''],
	['PAGE','40587',jdecode('H%C3%BCndin+Shakira'),jdecode(''),'/40587.html','true',[],''],
	['PAGE','43683',jdecode('H%C3%BCndin+Dorle'),jdecode(''),'/43683.html','true',[],''],
	['PAGE','40578',jdecode('H%C3%BCndin+Cara'),jdecode(''),'/40578.html','true',[],''],
	['PAGE','43663',jdecode('Junghunde'),jdecode(''),'/43663/home.html','true',[ 
		['PAGE','44310',jdecode('R%C3%BCden'),jdecode(''),'/43663/44310.html','true',[],''],
		['PAGE','44329',jdecode('H%C3%BCndinnen'),jdecode(''),'/43663/44329.html','true',[],'']
	],''],
	['PAGE','43784',jdecode('Wurfplanung%2FWelpen'),jdecode(''),'/43784.html','true',[],''],
	['PAGE','44000',jdecode('W%C3%BCrfe'),jdecode(''),'/44000.html','true',[],''],
	['PAGE','40614',jdecode('Kontakt'),jdecode(''),'/40614.html','true',[],''],
	['PAGE','43192',jdecode('Impressum%2FLinks'),jdecode(''),'/43192.html','true',[],''],
	['PAGE','44292',jdecode('Fotogalerie'),jdecode(''),'/44292.html','true',[],''],
	['PAGE','43311',jdecode('G%C3%A4stebuch'),jdecode(''),'/43311/home.html','true',[ 
		['PAGE','43310',jdecode('Eintr%C3%A4ge'),jdecode(''),'/43311/43310.html','true',[],'']
	],''],
	['PAGE','43889',jdecode('zu+verkaufen'),jdecode(''),'/43889.html','true',[],'']];
var siteelementCount=16;
theSitetree.topTemplateName='Boston';
theSitetree.paletteFamily='832A2A';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='11067';
theSitetree.graphicsetId='11840';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='A34242';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Boston',
				paletteFamily: 	'832A2A',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'11067',
				graphicsetId: 	'11840',
				contentColor: 	'FFFFFF',
				contentBGColor: 'A34242',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'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: '20120210-102532'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40569',
internalId:  '',
customField: '20090704-222906'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40578',
internalId:  '',
customField: '20120209-161538'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40587',
internalId:  '',
customField: '20120209-161643'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44000',
internalId:  '',
customField: '20120209-160334'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44310',
internalId:  '',
customField: '20120209-162931'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40614',
internalId:  '',
customField: '20091106-193736'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43192',
internalId:  '',
customField: '20111213-211523'
};
webappMappings['1501']=webappMappings['1501-59980034']={
webappId:    '1501',
documentId:  '39994',
internalId:  '59980034',
customField: '1501'
};
webappMappings['1002']=webappMappings['1002-43311atoix0irot3s']={
webappId:    '1002',
documentId:  '43311',
internalId:  '43311atoix0irot3s',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-43311atoix0irot3s']={
webappId:    '1002',
documentId:  '43310',
internalId:  '43311atoix0irot3s',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43311',
internalId:  '',
customField: '20090603-180148'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43310',
internalId:  '',
customField: '20090603-180148'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43663',
internalId:  '',
customField: '20120209-155953'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43683',
internalId:  '',
customField: '20120209-161709'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43784',
internalId:  '',
customField: '20120208-165212'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43889',
internalId:  '',
customField: '20111027-204402'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44329',
internalId:  '',
customField: '20120209-164451'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44292',
internalId:  '',
customField: '20120209-174541'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IROT3S';
var companyName   = 'ADRK-Zuchtgemeinschaft+von+Hohenhameln';
var htmlTitle	  = 'ADRK-Zuchtgemeinschaft+von+Hohenhameln';
var metaKeywords  = '++Rottweilerzucht%2C+Wurfplanung%2C+Dorle+von+den+Golan-H%C3%B6hen%2C+Erik+vom+Heideb%C3%A4ren%2C+Shakira+aus+dem+Blumental%2C+Walter+Schier%2C+Sylvia+Kluge%2C+Hohenhameln';
var metaContents  = '++Rottweilerzwinger+von+Hohenhameln+im+ADRK+e.V.';
					                                                                    
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 */					                                                            

