/* [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','44587',jdecode('Der+Dobermann'),jdecode(''),'/44587.html','true',[],''],
	['PAGE','39994',jdecode('Aktuelles+%2F+News'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','41323',jdecode('Unsere+Abteilung'),jdecode(''),'/41323.html','false',[],''],
	['PAGE','41332',jdecode('Unsere+Abteilung'),jdecode(''),'/41332/home.html','true',[ 
		['PAGE','41377',jdecode('Z%C3%BCchter+%2F+Mitglieder'),jdecode(''),'/41332/41377.html','true',[],''],
		['PAGE','42635',jdecode('Hunde'),jdecode(''),'/41332/42635.html','true',[],'']
	],''],
	['PAGE','41350',jdecode('Termine'),jdecode(''),'/41350.html','true',[],''],
	['PAGE','42920',jdecode('W%C3%BCrfe+%2F+Belegungen'),jdecode(''),'/42920.html','true',[],''],
	['PAGE','41395',jdecode('Ergebnisse+Pr%C3%BCfungen'),jdecode(''),'/41395.html','true',[],''],
	['PAGE','43418',jdecode('Ergebnisse+ZTPs'),jdecode(''),'/43418.html','true',[],''],
	['PAGE','41368',jdecode('Der+Dobermann'),jdecode(''),'/41368.html','false',[],''],
	['PAGE','41359',jdecode('Bildergalerie'),jdecode(''),'/41359.html','false',[],''],
	['PAGE','41404',jdecode('Sonstiges'),jdecode(''),'/41404.html','false',[],''],
	['PAGE','42003',jdecode('Bildergalerie'),jdecode(''),'/42003.html','false',[],''],
	['PAGE','42483',jdecode('Links'),jdecode(''),'/42483.html','true',[],''],
	['PAGE','41341',jdecode('Impressum'),jdecode(''),'/41341.html','false',[],''],
	['PAGE','42023',jdecode('G%C3%A4stebuch'),jdecode(''),'/42023/home.html','false',[ 
		['PAGE','42022',jdecode('Eintr%C3%A4ge'),jdecode(''),'/42023/42022.html','false',[],'']
	],''],
	['PAGE','45001',jdecode('Mitglieder'),jdecode(''),'/45001.html','false',[],'']];
var siteelementCount=19;
theSitetree.topTemplateName='Movement';
theSitetree.paletteFamily='333F65';
theSitetree.keyvisualId='1819';
theSitetree.keyvisualName='kv_dummy.jpg';
theSitetree.fontsetId='291';
theSitetree.graphicsetId='355';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='333F65';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Movement',
				paletteFamily: 	'333F65',
				keyvisualId: 	'1819',
				keyvisualName: 	'kv_dummy.jpg',
				fontsetId: 		'291',
				graphicsetId: 	'355',
				contentColor: 	'FFFFFF',
				contentBGColor: '333F65',
				a_color: 		'333F65',
				b_color: 		'040507',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				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: '20111006-102624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41332',
internalId:  '',
customField: '20110617-190512'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41323',
internalId:  '',
customField: '20110308-195207'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41377',
internalId:  '',
customField: '20110807-132512'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41341',
internalId:  '',
customField: '20071024-105153'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41368',
internalId:  '',
customField: '20071105-142149'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41350',
internalId:  '',
customField: '20110807-132429'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41395',
internalId:  '',
customField: '20111005-115638'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41359',
internalId:  '',
customField: '20071024-105029'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41404',
internalId:  '',
customField: '20071024-105049'
};
webappMappings['1007']=webappMappings['1007-115db39840c']={
webappId:    '1007',
documentId:  '42003',
internalId:  '115db39840c',
customField: 'g.12ndj306q.47b7ka3iq6e.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42003',
internalId:  '',
customField: '20080922-084548'
};
webappMappings['1002']=webappMappings['1002-42023atoix0i7pz46']={
webappId:    '1002',
documentId:  '42023',
internalId:  '42023atoix0i7pz46',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-42023atoix0i7pz46']={
webappId:    '1002',
documentId:  '42022',
internalId:  '42023atoix0i7pz46',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43418',
internalId:  '',
customField: '20110513-220117'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42023',
internalId:  '',
customField: '20071026-095023'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42022',
internalId:  '',
customField: '20071026-095023'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42635',
internalId:  '',
customField: '20110617-193619'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42483',
internalId:  '',
customField: '20110109-165609'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42920',
internalId:  '',
customField: '20110617-185734'
};
webappMappings['1501']=webappMappings['1501-1501']={
webappId:    '1501',
documentId:  '39994',
internalId:  '1501',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44587',
internalId:  '',
customField: '20110109-171050'
};
webappMappings['1501']=webappMappings['1501-41311612']={
webappId:    '1501',
documentId:  '39994',
internalId:  '41311612',
customField: '1501'
};
webappMappings['7060']=webappMappings['7060-e9b56de7530fe4eea8612dad4a48bf55']={
webappId:    '7060',
documentId:  '45001',
internalId:  'e9b56de7530fe4eea8612dad4a48bf55',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45001',
internalId:  '',
customField: '20110807-132727'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0I7PZ46';
var companyName   = 'Dobermannverein+Abt.+W%C3%B6rrstadt';
var htmlTitle	  = '';
var metaKeywords  = '';
var metaContents  = '';
					                                                                    
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 */					                                                            

