/* [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','56701',jdecode('Home'),jdecode(''),'/56701.html','true',[],''],
	['PAGE','39994',jdecode('Aktuelles'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','42634',jdecode('Transportkette'),jdecode(''),'/42634.html','true',[],''],
	['PAGE','43950',jdecode('Zuhause+gesucht'),jdecode(''),'/43950.html','true',[],''],
	['PAGE','43353',jdecode('Notf%28e%29lle'),jdecode(''),'/43353.html','true',[],''],
	['PAGE','56722',jdecode('Patensuche'),jdecode(''),'/56722/home.html','true',[ 
		['PAGE','56764',jdecode('Langzeitpaten'),jdecode(''),'/56722/56764.html','true',[],''],
		['PAGE','56743',jdecode('Ausreisepaten'),jdecode(''),'/56722/56743.html','true',[],'']
	],''],
	['PAGE','42652',jdecode('Gl%C3%BCcksf%28e%29lle'),jdecode(''),'/42652.html','true',[],''],
	['PAGE','42661',jdecode('Regenbogenland'),jdecode(''),'/42661.html','true',[],''],
	['PAGE','90001',jdecode('Ihre+Hilfe'),jdecode(''),'/90001.html','true',[],''],
	['PAGE','90101',jdecode('Danke'),jdecode(''),'/90101.html','true',[],''],
	['PAGE','46201',jdecode('Fotoecke'),jdecode(''),'/46201.html','true',[],''],
	['PAGE','90301',jdecode('Geschichten'),jdecode(''),'/90301.html','true',[],''],
	['PAGE','43686',jdecode('G%C3%A4stebuch'),jdecode(''),'/43686.html','true',[],''],
	['PAGE','43687',jdecode('Pfotenabdruck'),jdecode(''),'/43687.html','true',[],''],
	['PAGE','42679',jdecode('Kontakt%2F+Links'),jdecode(''),'/42679.html','true',[],'']];
var siteelementCount=17;
theSitetree.topTemplateName='Boston';
theSitetree.paletteFamily='832A2A';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='11066';
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: 		'11066',
				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: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '56701',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20120102-141903'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43353',
internalId:  '',
customField: '20111119-150442'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42679',
internalId:  '',
customField: '20111119-152130'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42634',
internalId:  '',
customField: '20111119-144354'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43687',
internalId:  '',
customField: '20100719-191512'
};
webappMappings['1002']=webappMappings['1002-43687atoix0irjt2q']={
webappId:    '1002',
documentId:  '43686',
internalId:  '43687atoix0irjt2q',
customField: 'action=list'
};
webappMappings['1008']=webappMappings['1008-54782361']={
webappId:    '1008',
documentId:  '42634',
internalId:  '54782361',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42652',
internalId:  '',
customField: '20111212-121942'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42661',
internalId:  '',
customField: '20111119-151611'
};
webappMappings['1002']=webappMappings['1002-43687atoix0irjt2q']={
webappId:    '1002',
documentId:  '43687',
internalId:  '43687atoix0irjt2q',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56701',
internalId:  '',
customField: '20111119-144335'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46201',
internalId:  '',
customField: '20100831-213348'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43686',
internalId:  '',
customField: '20111119-151823'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43950',
internalId:  '',
customField: '20120117-120757'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56722',
internalId:  '',
customField: '20110525-114309'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56743',
internalId:  '',
customField: '20111119-151303'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56764',
internalId:  '',
customField: '20111119-150611'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '90001',
internalId:  '',
customField: '20111119-151636'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '90101',
internalId:  '',
customField: '20111119-151744'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '90301',
internalId:  '',
customField: '20100719-191420'
};
webappMappings['1008']=webappMappings['1008-60687297']={
webappId:    '1008',
documentId:  '56743',
internalId:  '60687297',
customField: 'de:DE::;language:de;country:DE;'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IRJT2Q';
var companyName   = 'Br%C3%BCcke+der+Hoffnung+f%C3%BCr+Hunde+in+Not';
var htmlTitle	  = 'Br%C3%BCcke+der+Hoffnung+-+Transportkette+f%C3%BCr+Hunde+in+Not';
var metaKeywords  = 'Transportkette+f%C3%BCr+Hunde%2C+Br%C3%BCcke+f%C3%BCr+Hunde+in+ein+neues+Zuhause%2C+alte+Hunde%2C+graue+Schnauzen%2C+Hunde+aus+der+Perrera%2C+Hunde+in+not%2C+Notf%C3%A4lle%2C+Notfelle%2C+Handicahunde%2C+Tierheimhunde%2C+Hunde+aus+Tierheimen%2C+Hundet%C3%B6tung%2C+Hunde+aus+T%C3%B6tungen%2C+Zuhause+gesucht%2C+Couch+gesucht%2C+Hundevermittlung%2C+heimatlose+Hunde%2C+verwahrloste+Hunde%2C+misshandelte+Hunde%2C+Hundeelend%2C+Hundeleid%2C+gequ%C3%A4lte+Hunde%2C+H%C3%BCndinnen%2C+R%C3%BCden%2C+Welpen%2C+graue+Fellgesichter%2C+Fellnasen%2C+Fellkinder%2Cbester+Freund+des+Menschen%2C+Begleithund%2C+Schutzhund%2C+Vermittlungshunde%2C+ungewollte+Hunde';
var metaContents  = 'Transportkette+f%C3%BCr+Hunde%2C+und+Datenbank+f%C3%BCr+Tierfreunde+die+mit+dem+eigenen+Fahrzeug+eine+Teilstrecke+%C3%BCbernehmen.+Vermittlungshilfe+f%C3%BCr+alte+Hunde+aus+dem+In-+und+Ausland.+Offen+f%C3%BCr+alle+seri%C3%B6sen+Tierschutzvereine.';
					                                                                    
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 */					                                                            

