/* [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','179901',jdecode('Startseite'),jdecode(''),'/179901.html','true',[],''],
	['PAGE','282011',jdecode('%C3%9Cber+uns'),jdecode(''),'/282011.html','true',[],''],
	['PAGE','295711',jdecode('Der+Tierpsychologe'),jdecode(''),'/295711.html','true',[],''],
	['PAGE','44',jdecode('Beratung'),jdecode(''),'/44.html','true',[],''],
	['PAGE','292611',jdecode('Vier+Worte+.+.+.+'),jdecode(''),'/292611.html','true',[],''],
	['PAGE','40511',jdecode('Einzelunterricht'),jdecode(''),'/40511.html','true',[],''],
	['PAGE','173301',jdecode('Gruppenunterricht+'),jdecode(''),'/173301.html','true',[],''],
	['PAGE','86301',jdecode('Mobility'),jdecode(''),'/86301.html','true',[],''],
	['PAGE','266511',jdecode('Apportieren'),jdecode(''),'/266511.html','true',[],''],
	['PAGE','182401',jdecode('Fotoalbum'),jdecode(''),'/182401.html','true',[],''],
	['PAGE','183806',jdecode('G%C3%A4stebuch'),jdecode(''),'/183806/home.html','false',[ 
		['PAGE','183801',jdecode('Eintr%C3%A4ge'),jdecode(''),'/183806/183801.html','true',[],'']
	],''],
	['PAGE','125101',jdecode('+Links'),jdecode(''),'/125101/home.html','true',[ 
		['PAGE','307411',jdecode('Hundehotel+Peacock%C2%B4s+Manor'),jdecode(''),'/125101/307411.html','true',[],''],
		['PAGE','235601',jdecode('+Halsb%C3%A4nder+%26+Leinen'),jdecode(''),'/125101/235601.html','false',[],'']
	],''],
	['PAGE','40547',jdecode('Impressum%2FKontakt'),jdecode(''),'/40547.html','true',[],'']];
var siteelementCount=16;
theSitetree.topTemplateName='TOI_Interieur_02';
theSitetree.paletteFamily='FDFDFD';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33408';
theSitetree.graphicsetId='14274';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='646060';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Interieur_02',
				paletteFamily: 	'FDFDFD',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33408',
				graphicsetId: 	'14274',
				contentColor: 	'FFFFFF',
				contentBGColor: '646060',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Palatino Linotype, Book Antiqua, Palatino, serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '182401',
internalId:  '',
customField: '20120108-133337'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '173301',
internalId:  '',
customField: '20110926-213532'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '179901',
internalId:  '',
customField: '20120109-094622'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20110723-062248'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40511',
internalId:  '',
customField: '20110723-065421'
};
webappMappings['1002']=webappMappings['1002-183806atoix0i7num3']={
webappId:    '1002',
documentId:  '183806',
internalId:  '183806atoix0i7num3',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40547',
internalId:  '',
customField: '20110330-140135'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86301',
internalId:  '',
customField: '20111103-060829'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '125101',
internalId:  '',
customField: '20110903-215145'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '292611',
internalId:  '',
customField: '20110723-064438'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '235601',
internalId:  '',
customField: '20110222-090127'
};
webappMappings['1002']=webappMappings['1002-183806atoix0i7num3']={
webappId:    '1002',
documentId:  '183801',
internalId:  '183806atoix0i7num3',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '295711',
internalId:  '',
customField: '20110723-061544'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '183806',
internalId:  '',
customField: '20100908-142559'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '183801',
internalId:  '',
customField: '20091123-035735'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '307411',
internalId:  '',
customField: '20110710-212536'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '282011',
internalId:  '',
customField: '20110723-061033'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '266511',
internalId:  '',
customField: '20120108-133248'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0I7NUM3';
var companyName   = '';
var htmlTitle	  = 'Hundeschule+F%C3%BCting+Recklinghausen';
var metaKeywords  = 'Ihr+Name%2CFansite%2C+Fanseite%2CFan%2CFans%2CFilm%2C+Kino%2C+Video%2C+Foto%2CAction%2C+Comedy%2C+movie+tip%2C+film+tip%2C+Erotik%2C+barbarella%2C+Aktuell%2C+Aushang%2C+Fotos%2C+Auktion%2C+Auktionen%2C+Tipps%2C+Horror%2C+Drama%2C++';
var metaContents  = 'Hundeschule++Verhaltenstherapie+in+Recklinghausen+%21+Diplom+Tierpsychologe+%21+';
					                                                                    
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 */					                                                            

