/* [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','40672',jdecode('Der+Verein'),jdecode(''),'/40672.html','true',[],''],
	['PAGE','40681',jdecode('Tierheim'),jdecode(''),'/40681.html','true',[],''],
	['PAGE','110091',jdecode('Unsere+Tiere'),jdecode(''),'/110091/home.html','true',[ 
		['PAGE','130091',jdecode('unsere+Hunde'),jdecode(''),'/110091/130091.html','true',[],''],
		['PAGE','130112',jdecode('unsere+Katzen'),jdecode(''),'/110091/130112.html','true',[],''],
		['PAGE','157491',jdecode('gl%C3%BCckliche+F%C3%A4lle'),jdecode(''),'/110091/157491.html','true',[],''],
		['PAGE','120791',jdecode('traurige+F%C3%A4lle'),jdecode(''),'/110091/120791.html','true',[],'']
	],''],
	['PAGE','181491',jdecode('Ihre+Spende%2FUnser+Shop'),jdecode(''),'/181491.html','true',[],''],
	['PAGE','41659',jdecode('Termine%2FTipps%2FAktuelles+'),jdecode(''),'/41659.html','true',[],''],
	['PAGE','122691',jdecode('Fotogalerie'),jdecode(''),'/122691/home.html','true',[ 
		['PAGE','132491',jdecode('Tag+der+offenen+T%C3%BCr+'),jdecode(''),'/122691/132491.html','true',[],'']
	],''],
	['PAGE','142691',jdecode('Hunde-Haftpflicht%2FKrankenversicherung'),jdecode(''),'/142691.html','true',[],''],
	['PAGE','41045',jdecode('Links%2FAdressen'),jdecode(''),'/41045.html','true',[],''],
	['PAGE','186191',jdecode('Die+Regenbogenbr%C3%BCcke'),jdecode(''),'/186191.html','true',[],''],
	['PAGE','41087',jdecode('G%C3%A4stebucheintr%C3%A4ge'),jdecode(''),'/41087/home.html','true',[ 
		['PAGE','41086',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41087/41086.html','true',[],'']
	],''],
	['PAGE','122291',jdecode('Kontaktformular'),jdecode(''),'/122291.html','true',[],''],
	['PAGE','122191',jdecode('Anfahrt'),jdecode(''),'/122191.html','true',[],''],
	['PAGE','40690',jdecode('Impressum'),jdecode(''),'/40690.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Fasching1';
theSitetree.paletteFamily='1D51E6';
theSitetree.keyvisualId='10261';
theSitetree.keyvisualName='kv_10261.jpg';
theSitetree.fontsetId='21166';
theSitetree.graphicsetId='13260';
theSitetree.contentColor='FF242F';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Fasching1',
				paletteFamily: 	'1D51E6',
				keyvisualId: 	'10261',
				keyvisualName: 	'kv_10261.jpg',
				fontsetId: 		'21166',
				graphicsetId: 	'13260',
				contentColor: 	'FF242F',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, 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: '20120209-090144'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40672',
internalId:  '',
customField: '20110825-093742'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40690',
internalId:  '',
customField: '20101018-155216'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40681',
internalId:  '',
customField: '20110825-093928'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41045',
internalId:  '',
customField: '20111114-104748'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '181491',
internalId:  '',
customField: '20120126-111002'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41659',
internalId:  '',
customField: '20120127-075719'
};
webappMappings['1002']=webappMappings['1002-41087atoix0i7hue5']={
webappId:    '1002',
documentId:  '41087',
internalId:  '41087atoix0i7hue5',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41087atoix0i7hue5']={
webappId:    '1002',
documentId:  '41086',
internalId:  '41087atoix0i7hue5',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41087',
internalId:  '',
customField: '20101018-154718'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41086',
internalId:  '',
customField: '20080126-141631'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '130091',
internalId:  '',
customField: '20120206-094435'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '110091',
internalId:  '',
customField: '20120209-090435'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '120791',
internalId:  '',
customField: '20110713-105451'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '122191',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '122291',
internalId:  '',
customField: '20100619-130332'
};
webappMappings['1008']=webappMappings['1008-71768539']={
webappId:    '1008',
documentId:  '122291',
internalId:  '71768539',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '122691',
internalId:  '',
customField: '20111010-144423'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '130112',
internalId:  '',
customField: '20120206-094220'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '132491',
internalId:  '',
customField: '20111010-145659'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '122191',
internalId:  '',
customField: '20100619-125156'
};
webappMappings['1501']=webappMappings['1501-46335550']={
webappId:    '1501',
documentId:  '39994',
internalId:  '46335550',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '142691',
internalId:  '',
customField: '20101027-063700'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '157491',
internalId:  '',
customField: '20111222-081215'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '186191',
internalId:  '',
customField: '20110617-101319'
};
webappMappings['7091']=webappMappings['7091-56635']={
webappId:    '7091',
documentId:  '181491',
internalId:  '56635',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-51002']={
webappId:    '7091',
documentId:  '181491',
internalId:  '51002',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-62433']={
webappId:    '7091',
documentId:  '181491',
internalId:  '62433',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-56827']={
webappId:    '7091',
documentId:  '181491',
internalId:  '56827',
customField: 'align:left;language:de;country:DE;'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0I7HUE5';
var companyName   = '';
var htmlTitle	  = 'Tierschutzverein+Kirn+eV';
var metaKeywords  = 'Tierschutz%2C+Kirn%2CTierschutzverein%2CTiere';
var metaContents  = 'Tierangebote%2C+Tiersuche+++';
					                                                                    
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 */					                                                            

