/* [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','60601',jdecode('Rettungshundestaffel'),jdecode(''),'/60601/home.html','true',[ 
		['PAGE','41348',jdecode('News'),jdecode(''),'/60601/41348.html','true',[],''],
		['PAGE','41357',jdecode('Termine+Trailer'),jdecode(''),'/60601/41357.html','true',[],''],
		['PAGE','41393',jdecode('Mitglieder'),jdecode(''),'/60601/41393.html','true',[],''],
		['PAGE','41402',jdecode('Trainer'),jdecode(''),'/60601/41402.html','true',[],''],
		['PAGE','41411',jdecode('Vorstand'),jdecode(''),'/60601/41411.html','true',[],''],
		['PAGE','41438',jdecode('Kontakt'),jdecode(''),'/60601/41438.html','true',[],''],
		['PAGE','42675',jdecode('Bildergalerie'),jdecode(''),'/60601/42675.html','true',[],''],
		['PAGE','41375',jdecode('+Ausbildung'),jdecode(''),'/60601/41375.html','true',[],''],
		['PAGE','41802',jdecode('Infos%2FFormbl%C3%A4tter'),jdecode(''),'/60601/41802.html','true',[],''],
		['PAGE','41811',jdecode('Ausr%C3%BCstung'),jdecode(''),'/60601/41811.html','true',[],''],
		['PAGE','41820',jdecode('Geruchsartikel'),jdecode(''),'/60601/41820.html','true',[],''],
		['PAGE','41829',jdecode('Trailprotokoll'),jdecode(''),'/60601/41829.html','true',[],''],
		['PAGE','41838',jdecode('Trail-%C3%9Cbersicht'),jdecode(''),'/60601/41838.html','true',[],'']
	],''],
	['PAGE','88401',jdecode('Mantrailing-europe'),jdecode(''),'/88401.html','true',[],''],
	['PAGE','41784',jdecode('Lustige+Hunde+Maxkron'),jdecode(''),'/41784/home.html','true',[ 
		['PAGE','47722',jdecode('Trainingstermine'),jdecode(''),'/41784/47722.html','true',[],''],
		['PAGE','86201',jdecode('Unsere+Hunde'),jdecode(''),'/41784/86201.html','true',[],''],
		['PAGE','47743',jdecode('Seminare'),jdecode(''),'/41784/47743.html','true',[],''],
		['PAGE','47764',jdecode('Vorstand%2FTrainer'),jdecode(''),'/41784/47764.html','true',[],''],
		['PAGE','47785',jdecode('Veranstaltungen'),jdecode(''),'/41784/47785.html','true',[],''],
		['PAGE','47806',jdecode('Bildergalerie'),jdecode(''),'/41784/47806.html','true',[],'']
	],''],
	['PAGE','48301',jdecode('Ihr+Weg+zu+uns'),jdecode(''),'/48301.html','true',[],''],
	['PAGE','48327',jdecode('Anfahrt'),jdecode(''),'/48327.html','true',[],''],
	['PAGE','49837',jdecode('Wetter+Bayern'),jdecode(''),'/49837.html','true',[],''],
	['PAGE','43246',jdecode('Tiere'),jdecode(''),'/43246.html','true',[],''],
	['PAGE','41740',jdecode('G%C3%A4stebuch'),jdecode(''),'/41740/home.html','true',[ 
		['PAGE','41739',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41740/41739.html','true',[],'']
	],'']];
var siteelementCount=29;
theSitetree.topTemplateName='Billy';
theSitetree.paletteFamily='7179A3';
theSitetree.keyvisualId='7101';
theSitetree.keyvisualName='kv_7101.jpg';
theSitetree.fontsetId='16390';
theSitetree.graphicsetId='12122';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='7179A3';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Billy',
				paletteFamily: 	'7179A3',
				keyvisualId: 	'7101',
				keyvisualName: 	'kv_7101.jpg',
				fontsetId: 		'16390',
				graphicsetId: 	'12122',
				contentColor: 	'FFFFFF',
				contentBGColor: '7179A3',
				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: '20110504-141549'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41348',
internalId:  '',
customField: '20110613-235932'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41357',
internalId:  '',
customField: '20110614-235150'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47722',
internalId:  '',
customField: '20110317-144202'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41375',
internalId:  '',
customField: '20110306-001919'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41393',
internalId:  '',
customField: '20110615-000321'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41411',
internalId:  '',
customField: '20101027-175512'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41402',
internalId:  '',
customField: '20110108-214155'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41784',
internalId:  '',
customField: '20110312-191935'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41438',
internalId:  '',
customField: '20100612-230307'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42675',
internalId:  '',
customField: '20110510-134951'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48301',
internalId:  '',
customField: '20100611-235445'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41802',
internalId:  '',
customField: '20110506-221512'
};
webappMappings['1002']=webappMappings['1002-41740atoix0irdez5']={
webappId:    '1002',
documentId:  '41740',
internalId:  '41740atoix0irdez5',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41740atoix0irdez5']={
webappId:    '1002',
documentId:  '41739',
internalId:  '41740atoix0irdez5',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41740',
internalId:  '',
customField: '20090215-120827'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41739',
internalId:  '',
customField: '20090215-115645'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41811',
internalId:  '',
customField: '20110506-221033'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41820',
internalId:  '',
customField: '20110506-222311'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41829',
internalId:  '',
customField: '20110506-222422'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41838',
internalId:  '',
customField: '20110506-222522'
};
webappMappings['1501']=webappMappings['1501-65407878']={
webappId:    '1501',
documentId:  '39994',
internalId:  '65407878',
customField: '1501'
};
webappMappings['1011']=webappMappings['1011-ddp-tiere']={
webappId:    '1011',
documentId:  '43246',
internalId:  'ddp-tiere',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43246',
internalId:  '',
customField: '20091031-210134'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '48327',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['2002']=webappMappings['2002-routing']={
webappId:    '2002',
documentId:  '48301',
internalId:  'routing',
customField: 'de_DE'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47743',
internalId:  '',
customField: '20110209-134055'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47764',
internalId:  '',
customField: '20110313-235325'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47785',
internalId:  '',
customField: '20110209-134442'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48327',
internalId:  '',
customField: '20100611-235455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47806',
internalId:  '',
customField: '20101102-140148'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86201',
internalId:  '',
customField: '20110327-141425'
};
webappMappings['1011']=webappMappings['1011-ddp-wetter-bay']={
webappId:    '1011',
documentId:  '49837',
internalId:  'ddp-wetter-bay',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60601',
internalId:  '',
customField: '20110206-001526'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49837',
internalId:  '',
customField: '20100614-135507'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88401',
internalId:  '',
customField: '20110525-121731'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IRDEZ5';
var companyName   = 'Mantrailerstaffel+Isar-+Loisachtal';
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 */					                                                            

