/* [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','40958',jdecode('Home'),jdecode(''),'/40958.html','true',[],''],
	['PAGE','40969',jdecode('Rottaler+F%C3%B6rderkreis'),jdecode(''),'/40969.html','true',[],''],
	['PAGE','40978',jdecode('Das+Rottaler+Pferd'),jdecode(''),'/40978.html','true',[],''],
	['PAGE','73501',jdecode('Zucht-Saison+2012'),jdecode(''),'/73501.html','true',[],''],
	['PAGE','41005',jdecode('Kontakt%2FBeitrittserkl%C3%A4rung%2FImpressum'),jdecode(''),'/41005.html','true',[],''],
	['PAGE','46529',jdecode('G%C3%A4stebuch'),jdecode(''),'/46529.html','true',[],''],
	['PAGE','46528',jdecode('Eintr%C3%A4ge'),jdecode(''),'/46528.html','true',[],''],
	['PAGE','103401',jdecode('Stutenschau+2-J%C3%A4hrige+Karpfham+2011'),jdecode(''),'/103401.html','true',[],''],
	['PAGE','101201',jdecode('+Zuchtschau+2011+Bericht'),jdecode(''),'/101201.html','true',[],''],
	['PAGE','104001',jdecode('%22Rosstag%22+Opf.+Freilandmuseum+Neusath%2FPerschen'),jdecode(''),'/104001.html','true',[],''],
	['PAGE','104801',jdecode('Bericht+19.Rosstag'),jdecode(''),'/104801.html','true',[],''],
	['PAGE','100701',jdecode('neue+%21%21%21%21Bilder+Zuchtschau+2011+'),jdecode(''),'/100701.html','true',[],''],
	['PAGE','92101',jdecode('+Presse+zur+Zuchtschau'),jdecode(''),'/92101.html','true',[],''],
	['PAGE','92143',jdecode('Pferd+international+2011'),jdecode(''),'/92143.html','true',[],''],
	['PAGE','97501',jdecode('Pferd+international+2011+Bilder'),jdecode(''),'/97501.html','true',[],''],
	['PAGE','98001',jdecode('Verkaufspferde'),jdecode(''),'/98001.html','true',[],'']];
var siteelementCount=16;
theSitetree.topTemplateName='Litfass';
theSitetree.paletteFamily='F4EBCE';
theSitetree.keyvisualId='11045';
theSitetree.keyvisualName='kv_11045.jpg';
theSitetree.fontsetId='32074';
theSitetree.graphicsetId='13768';
theSitetree.contentColor='696558';
theSitetree.contentBGColor='F4EBCE';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Litfass',
				paletteFamily: 	'F4EBCE',
				keyvisualId: 	'11045',
				keyvisualName: 	'kv_11045.jpg',
				fontsetId: 		'32074',
				graphicsetId: 	'13768',
				contentColor: 	'696558',
				contentBGColor: 'F4EBCE',
				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:  '40958',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-46529atoix0i78tr3']={
webappId:    '1002',
documentId:  '46529',
internalId:  '46529atoix0i78tr3',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-46529atoix0i78tr3']={
webappId:    '1002',
documentId:  '46528',
internalId:  '46529atoix0i78tr3',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40958',
internalId:  '',
customField: '20120126-175636'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40969',
internalId:  '',
customField: '20110913-111154'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40978',
internalId:  '',
customField: '20110909-122131'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '92101',
internalId:  '',
customField: '20110902-120058'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '97501',
internalId:  '',
customField: '20110624-104524'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41005',
internalId:  '',
customField: '20110802-105818'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '104801',
internalId:  '',
customField: '20110915-194555'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46529',
internalId:  '',
customField: '20101017-190220'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46528',
internalId:  '',
customField: '20061125-102032'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98001',
internalId:  '',
customField: '20120126-182809'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '92143',
internalId:  '',
customField: '20110624-102125'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '101201',
internalId:  '',
customField: '20110827-141544'
};
webappMappings['1007']=webappMappings['1007-130c0c869b8']={
webappId:    '1007',
documentId:  '97501',
internalId:  '130c0c869b8',
customField: 'g.1630c8jmk.60mv103q088.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73501',
internalId:  '',
customField: '20120126-183222'
};
webappMappings['7060']=webappMappings['7060-6b26bf256614bb70526a7082d186f9cb']={
webappId:    '7060',
documentId:  '104001',
internalId:  '6b26bf256614bb70526a7082d186f9cb',
customField: 'language:de;country:DE;'
};
webappMappings['7060']=webappMappings['7060-845ac406cf81a751898628fbc8a33218']={
webappId:    '7060',
documentId:  '100701',
internalId:  '845ac406cf81a751898628fbc8a33218',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '100701',
internalId:  '',
customField: '20110818-080547'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '103401',
internalId:  '',
customField: '20110913-131204'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '104001',
internalId:  '',
customField: '20110913-110721'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0I78TR3';
var companyName   = 'F%C3%B6rderkreis+Rottaler+Pferd';
var htmlTitle	  = 'Rottaler+Pferdezucht';
var metaKeywords  = 'Ihr+Name%2C+song%2Clied%2Ctext%2Cakkord%2Cchord%2Cmusik%2Cmusic%2Cfan%2Clinks%2Clist%2Ctreff%2Cmeeting%2C+sound%2Cfans%2C+forum%2C+chat%2C+foren%2C++';
var metaContents  = 'Auf+unsere+Website+erfahren+Sie+alles+%C3%BCber+Ihr+Name%2C+mit+Bildern%2C+Biographie%2C+Cd-Info+uvm...++';
					                                                                    
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 */					                                                            

