/* [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','40581',jdecode('%C3%9Cber+uns'),jdecode(''),'/40581.html','true',[],''],
	['PAGE','41641',jdecode('Shantou'),jdecode(''),'/41641.html','true',[],''],
	['PAGE','40590',jdecode('Unsere+Hengste'),jdecode(''),'/40590/home.html','true',[ 
		['PAGE','40653',jdecode('Hinderik'),jdecode(''),'/40590/40653.html','true',[],''],
		['PAGE','40671',jdecode('Silverado'),jdecode(''),'/40590/40671.html','true',[],''],
		['PAGE','41383',jdecode('Black-Star'),jdecode(''),'/40590/41383.html','true',[],''],
		['PAGE','41392',jdecode('Heroy'),jdecode(''),'/40590/41392.html','true',[],'']
	],''],
	['PAGE','40599',jdecode('Unsere+Stuten'),jdecode(''),'/40599/home.html','true',[ 
		['PAGE','40680',jdecode('Ditzke'),jdecode(''),'/40599/40680.html','true',[],''],
		['PAGE','40711',jdecode('Nancy'),jdecode(''),'/40599/40711.html','true',[],''],
		['PAGE','41089',jdecode('Sjoukje'),jdecode(''),'/40599/41089.html','true',[],''],
		['PAGE','41410',jdecode('Ladessa'),jdecode(''),'/40599/41410.html','true',[],''],
		['PAGE','41103',jdecode('Satya-Rhana'),jdecode(''),'/40599/41103.html','true',[],'']
	],''],
	['PAGE','40608',jdecode('Verkaufspferde'),jdecode(''),'/40608/home.html','true',[ 
		['PAGE','40702',jdecode('Divana'),jdecode(''),'/40608/40702.html','true',[],''],
		['PAGE','41428',jdecode('Abeja'),jdecode(''),'/40608/41428.html','true',[],''],
		['PAGE','41437',jdecode('Moonlight'),jdecode(''),'/40608/41437.html','true',[],'']
	],''],
	['PAGE','40786',jdecode('G%C3%A4stebuch'),jdecode(''),'/40786/home.html','true',[ 
		['PAGE','40785',jdecode('Eintr%C3%A4ge'),jdecode(''),'/40786/40785.html','true',[],'']
	],''],
	['PAGE','40897',jdecode('Geschichte+der+%22bunten+Friesen%22'),jdecode(''),'/40897.html','true',[],''],
	['PAGE','40949',jdecode('Das+Zuchtziel'),jdecode(''),'/40949/home.html','true',[ 
		['PAGE','40958',jdecode('Besondere+Merkmale'),jdecode(''),'/40949/40958.html','true',[],''],
		['PAGE','40970',jdecode('Wof%C3%BCr+eignet+sich+der+Barockpinto%3F'),jdecode(''),'/40949/40970.html','true',[],'']
	],''],
	['PAGE','40935',jdecode('Kontakt'),jdecode(''),'/40935.html','true',[],''],
	['PAGE','40853',jdecode('Anfahrt'),jdecode(''),'/40853.html','true',[],'']];
var siteelementCount=26;
theSitetree.topTemplateName='Dynamics';
theSitetree.paletteFamily='37404A';
theSitetree.keyvisualId='11187';
theSitetree.keyvisualName='kv_11187.jpg';
theSitetree.fontsetId='32093';
theSitetree.graphicsetId='13894';
theSitetree.contentColor='EFF6FC';
theSitetree.contentBGColor='37404A';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Dynamics',
				paletteFamily: 	'37404A',
				keyvisualId: 	'11187',
				keyvisualName: 	'kv_11187.jpg',
				fontsetId: 		'32093',
				graphicsetId: 	'13894',
				contentColor: 	'EFF6FC',
				contentBGColor: '37404A',
				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:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20110121-133952'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40581',
internalId:  '',
customField: '20110121-134022'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40590',
internalId:  '',
customField: '20110121-134636'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40653',
internalId:  '',
customField: '20110121-134701'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40671',
internalId:  '',
customField: '20110121-134737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40599',
internalId:  '',
customField: '20110301-125503'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40680',
internalId:  '',
customField: '20110121-135117'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40702',
internalId:  '',
customField: '20110111-110613'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40711',
internalId:  '',
customField: '20110121-135040'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40608',
internalId:  '',
customField: '20110730-184901'
};
webappMappings['1002']=webappMappings['1002-40786atoix0ir0tms']={
webappId:    '1002',
documentId:  '40786',
internalId:  '40786atoix0ir0tms',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-40786atoix0ir0tms']={
webappId:    '1002',
documentId:  '40785',
internalId:  '40786atoix0ir0tms',
customField: 'action=list'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '40853',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40786',
internalId:  '',
customField: '20110121-134158'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40785',
internalId:  '',
customField: '20110121-134255'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40853',
internalId:  '',
customField: '20110121-134556'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40897',
internalId:  '',
customField: '20110121-134329'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40935',
internalId:  '',
customField: '20110121-134514'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40949',
internalId:  '',
customField: '20110121-134355'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40958',
internalId:  '',
customField: '20110121-134424'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40970',
internalId:  '',
customField: '20110121-134448'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41410',
internalId:  '',
customField: '20110110-123947'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41383',
internalId:  '',
customField: '20110121-134809'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41089',
internalId:  '',
customField: '20081005-003244'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41103',
internalId:  '',
customField: '20110110-141508'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41428',
internalId:  '',
customField: '20110110-134323'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41392',
internalId:  '',
customField: '20110121-134842'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41641',
internalId:  '',
customField: '20110121-134102'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41437',
internalId:  '',
customField: '20110111-110413'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IR0TMS';
var companyName   = 'Der+Barockpinto';
var htmlTitle	  = 'Der+Barockpinto';
var metaKeywords  = '++Pferdezucht%2CBarockpintos';
var metaContents  = 'Barockpinto+Zuchtgemeinschaft+Weber-Winterberg';
					                                                                    
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 */					                                                            

