/* [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/home.html','true',[ 
		['PAGE','52601',jdecode('Angebote'),jdecode(''),'/39994/52601.html','true',[],''],
		['PAGE','45682',jdecode('Anfahrt'),jdecode(''),'/39994/45682.html','true',[],'']
	],''],
	['PAGE','45616',jdecode('Hundeschule'),jdecode(''),'/45616.html','true',[],''],
	['PAGE','45625',jdecode('Hundesport'),jdecode(''),'/45625.html','true',[],''],
	['PAGE','45634',jdecode('Hundetagesst%C3%A4tte'),jdecode(''),'/45634.html','true',[],''],
	['PAGE','45910',jdecode('Aktuell%2FNeu'),jdecode(''),'/45910.html','true',[],''],
	['PAGE','45883',jdecode('Von+A+bis+Z'),jdecode(''),'/45883.html','true',[],''],
	['PAGE','63001',jdecode('Flyball'),jdecode(''),'/63001.html','true',[],''],
	['PAGE','45892',jdecode('Flying+Dragons'),jdecode(''),'/45892.html','true',[],''],
	['PAGE','46405',jdecode('LHundG+NRW'),jdecode(''),'/46405.html','true',[],''],
	['PAGE','65201',jdecode('Ern%C3%A4hrungsberatung'),jdecode(''),'/65201.html','true',[],''],
	['PAGE','46584',jdecode('Timmy%C2%B4s+Geschichte'),jdecode(''),'/46584.html','true',[],''],
	['PAGE','45652',jdecode('Ratgeber'),jdecode(''),'/45652.html','true',[],''],
	['PAGE','69001',jdecode('Buchempfehlungen'),jdecode(''),'/69001.html','true',[],''],
	['PAGE','45730',jdecode('Tierische+Links'),jdecode(''),'/45730.html','true',[],''],
	['PAGE','45661',jdecode('Kontakt'),jdecode(''),'/45661.html','true',[],''],
	['PAGE','45670',jdecode('Impressum%2FDisclaimer'),jdecode(''),'/45670.html','true',[],'']];
var siteelementCount=18;
theSitetree.topTemplateName='Porthole';
theSitetree.paletteFamily='064B91';
theSitetree.keyvisualId='6717';
theSitetree.keyvisualName='kv_6717.jpg';
theSitetree.fontsetId='11200';
theSitetree.graphicsetId='12013';
theSitetree.contentColor='002952';
theSitetree.contentBGColor='E9F3FF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Porthole',
				paletteFamily: 	'064B91',
				keyvisualId: 	'6717',
				keyvisualName: 	'kv_6717.jpg',
				fontsetId: 		'11200',
				graphicsetId: 	'12013',
				contentColor: 	'002952',
				contentBGColor: 'E9F3FF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20120216-104627'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45670',
internalId:  '',
customField: '20100220-084322'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45616',
internalId:  '',
customField: '20111027-111858'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '45682',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63001',
internalId:  '',
customField: '20111109-083144'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45682',
internalId:  '',
customField: '20100108-120343'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45661',
internalId:  '',
customField: '20100103-184106'
};
webappMappings['1008']=webappMappings['1008-66290559']={
webappId:    '1008',
documentId:  '45661',
internalId:  '66290559',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-61442']={
webappId:    '7091',
documentId:  '65201',
internalId:  '61442',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46584',
internalId:  '',
customField: '20100220-085305'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45625',
internalId:  '',
customField: '20120216-105904'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45634',
internalId:  '',
customField: '20111108-104425'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45652',
internalId:  '',
customField: '20100127-091820'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45730',
internalId:  '',
customField: '20110722-171644'
};
webappMappings['7091']=webappMappings['7091-61443']={
webappId:    '7091',
documentId:  '39994',
internalId:  '61443',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-61444']={
webappId:    '7091',
documentId:  '45730',
internalId:  '61444',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69001',
internalId:  '',
customField: '20110619-123343'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46405',
internalId:  '',
customField: '20111027-101219'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '65201',
internalId:  '',
customField: '20110722-165106'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45883',
internalId:  '',
customField: '20120223-085944'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45892',
internalId:  '',
customField: '20120205-180717'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45910',
internalId:  '',
customField: '20120216-175818'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52601',
internalId:  '',
customField: '20120216-111243'
};
webappMappings['1501']=webappMappings['1501-66348162']={
webappId:    '1501',
documentId:  '39994',
internalId:  '66348162',
customField: '1501'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IRUWLB';
var companyName   = 'Hundeschule+und+mehr%3A+dogpoint-bonn-rhein-sieg';
var htmlTitle	  = 'Hundeschule+und+mehr%3A+dogpoint-bonn-rhein-sieg';
var metaKeywords  = 'Schmoldt%2C+Hundeschule%2C+Hundetagesst%C3%A4tte%2C+Hundesport%2C+Welpen%2C+dogpoint%2C+Hundeerziehung%2C+Welpengruppen%2C+Hundetrainer%2C+Clicker%2C+Flyball%2C+Obedience%2C+Wachtberg%2C+Bonn%2C+Hundeausbildung%2C+';
var metaContents  = 'Willkommen+bei+dogpoint-brs.+Informationen+ueber+Hundeschule%2C+Hundetagesstaette+und+den+Sportclub.+Was+bieten+wir+an%2C+wo+finden+Sie+uns%2C+Preise+und+Angebot.';
					                                                                    
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 */					                                                            

