/* [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','44',jdecode('Startseite'),jdecode(''),'/44.html','true',[],''],
	['PAGE','70701',jdecode('Zuhause+gesucht+%3D%5E%5E%3D'),jdecode(''),'/70701.html','true',[],''],
	['PAGE','80701',jdecode('Erfolgreich+vermittelt'),jdecode(''),'/80701.html','true',[],''],
	['PAGE','80501',jdecode('Wie+helfen%3F'),jdecode(''),'/80501/home.html','true',[ 
		['PAGE','88501',jdecode('Mitgliedschaft'),jdecode(''),'/80501/88501.html','true',[],''],
		['PAGE','80922',jdecode('Futterhilfe'),jdecode(''),'/80501/80922.html','true',[],''],
		['PAGE','82101',jdecode('Pflegestellen+gesucht'),jdecode(''),'/80501/82101.html','true',[],''],
		['PAGE','91101',jdecode('Testament'),jdecode(''),'/80501/91101.html','true',[],'']
	],''],
	['PAGE','71801',jdecode('Haustier+entlaufen%3F'),jdecode(''),'/71801.html','true',[],''],
	['PAGE','77643',jdecode('Tier+aufgefunden%3F'),jdecode(''),'/77643.html','true',[],''],
	['PAGE','91501',jdecode('Frei+lebende+Katzen'),jdecode(''),'/91501.html','true',[],''],
	['PAGE','80543',jdecode('Zivilcourage+gefragt'),jdecode(''),'/80543.html','true',[],''],
	['PAGE','77601',jdecode('Tiere+in+der+Schule'),jdecode(''),'/77601.html','true',[],''],
	['PAGE','77622',jdecode('Kuschelstunde'),jdecode(''),'/77622.html','true',[],''],
	['PAGE','92501',jdecode('Spender+%26+Sponsoren'),jdecode(''),'/92501.html','true',[],''],
	['PAGE','47467',jdecode('Partnerlinks'),jdecode(''),'/47467.html','true',[],''],
	['PAGE','89901',jdecode('Kontakt'),jdecode(''),'/89901.html','true',[],''],
	['PAGE','47476',jdecode('Impressum'),jdecode(''),'/47476.html','true',[],'']];
var siteelementCount=18;
theSitetree.topTemplateName='TOI_Tonline1blau';
theSitetree.paletteFamily='B10723';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33457';
theSitetree.graphicsetId='14307';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Tonline1blau',
				paletteFamily: 	'B10723',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33457',
				graphicsetId: 	'14307',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20120109-174045'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47467',
internalId:  '',
customField: '20111030-182027'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47476',
internalId:  '',
customField: '20110905-125606'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70701',
internalId:  '',
customField: '20120205-081415'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77601',
internalId:  '',
customField: '20110214-182718'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '71801',
internalId:  '',
customField: '20110905-163000'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '80701',
internalId:  '',
customField: '20120112-182443'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77622',
internalId:  '',
customField: '20110422-081229'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77643',
internalId:  '',
customField: '20110905-163008'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '80543',
internalId:  '',
customField: '20110905-163235'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '80501',
internalId:  '',
customField: '20120205-080925'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91501',
internalId:  '',
customField: '20111030-182127'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '80922',
internalId:  '',
customField: '20110905-162855'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91101',
internalId:  '',
customField: '20110905-152128'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '82101',
internalId:  '',
customField: '20110422-080932'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '89901',
internalId:  '',
customField: '20110905-124812'
};
webappMappings['7091']=webappMappings['7091-62501']={
webappId:    '7091',
documentId:  '44',
internalId:  '62501',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-62500']={
webappId:    '7091',
documentId:  '47467',
internalId:  '62500',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-62500']={
webappId:    '7091',
documentId:  '80501',
internalId:  '62500',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['1008']=webappMappings['1008-76396884']={
webappId:    '1008',
documentId:  '89901',
internalId:  '76396884',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88501',
internalId:  '',
customField: '20110905-162721'
};
webappMappings['7091']=webappMappings['7091-64951']={
webappId:    '7091',
documentId:  '80501',
internalId:  '64951',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '92501',
internalId:  '',
customField: '20111222-064046'
};
webappMappings['1008']=webappMappings['1008-76398478']={
webappId:    '1008',
documentId:  '91101',
internalId:  '76398478',
customField: 'de:DE::;language:de;country:DE;'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0I7YQ4D';
var companyName   = 'Tierschutzverein+Mittweida+und+Umgebung+e.V.';
var htmlTitle	  = 'Tierschutzverein+Mittweida+und+Umgebung+e.V.';
var metaKeywords  = 'Unsere+Ziele%3A-+Tiermisshandlungen+unterbinden+und+zur+Anzeige+bringen-+Kastrationsprogramm+f%C3%BCr+wild+lebende+Katzen-+%C3%9Cberwinterungshilfen+f%C3%BCr+Igel-+Infoveranstaltungen+%C3%BCber+Haustiere+in+Kitas+und+Schulen-+Streichelzoo+in+Altenpflegeheimen-+Suche+und+Unterst%C3%BCtzung+von+Pflegestellen+f%C3%BCr+Hunde+und+Katzen';
var metaContents  = 'Tierschutzverein+der+Stadt+Mittweida%2FSachsen';
					                                                                    
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 */					                                                            

