/* [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('Home+and+New%C2%B4s'),jdecode(''),'/44.html','true',[],''],
	['PAGE','50901',jdecode('Show+must+go+on'),jdecode(''),'/50901.html','true',[],''],
	['PAGE','45099',jdecode('EXTRA+300+Aircraft'),jdecode(''),'/45099/home.html','true',[ 
		['PAGE','45108',jdecode('Tech.+Daten'),jdecode(''),'/45099/45108.html','true',[],''],
		['PAGE','45676',jdecode('G%C3%A4stekunstflug'),jdecode(''),'/45099/45676.html','true',[],'']
	],''],
	['PAGE','85801',jdecode('MDM-1+FOX'),jdecode(''),'/85801.html','true',[],''],
	['PAGE','42249',jdecode('Henry+Pilot+'),jdecode(''),'/42249.html','true',[],''],
	['PAGE','42258',jdecode('Helga+Teammanager'),jdecode(''),'/42258.html','true',[],''],
	['PAGE','79901',jdecode('Spenden+2011+'),jdecode(''),'/79901.html','true',[],''],
	['PAGE','62301',jdecode('Wettbewerbe2011'),jdecode(''),'/62301.html','true',[],''],
	['PAGE','42276',jdecode('Airshows+2011'),jdecode(''),'/42276.html','true',[],''],
	['PAGE','44932',jdecode('YAK+55+%2F+Swift+S1-s'),jdecode(''),'/44932.html','true',[],''],
	['PAGE','42484',jdecode('Galerie+I+'),jdecode(''),'/42484.html','true',[],''],
	['PAGE','42307',jdecode('Galerie+II'),jdecode(''),'/42307.html','true',[],''],
	['PAGE','63906',jdecode('G%C3%A4stebuch'),jdecode(''),'/63906/home.html','true',[ 
		['PAGE','63901',jdecode('Eintr%C3%A4ge'),jdecode(''),'/63906/63901.html','true',[],'']
	],''],
	['PAGE','42319',jdecode('Impressum+Haftungsausschlu%C3%9F'),jdecode(''),'/42319.html','true',[],'']];
var siteelementCount=17;
theSitetree.topTemplateName='Enjoy';
theSitetree.paletteFamily='93A6CC';
theSitetree.keyvisualId='2224';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='365';
theSitetree.graphicsetId='415';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='93A6CC';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Enjoy',
				paletteFamily: 	'93A6CC',
				keyvisualId: 	'2224',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'365',
				graphicsetId: 	'415',
				contentColor: 	'FFFFFF',
				contentBGColor: '93A6CC',
				a_color: 		'93A6CC',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63906',
internalId:  '',
customField: '20080812-150630'
};
webappMappings['1007']=webappMappings['1007-108ab967a69']={
webappId:    '1007',
documentId:  '42307',
internalId:  '108ab967a69',
customField: 'g.112lpadm0.5jmuejhas73.1s'
};
webappMappings['1002']=webappMappings['1002-63906atoix0inht7r']={
webappId:    '1002',
documentId:  '63906',
internalId:  '63906atoix0inht7r',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-63906atoix0inht7r']={
webappId:    '1002',
documentId:  '63901',
internalId:  '63906atoix0inht7r',
customField: 'action=list'
};
webappMappings['1007']=webappMappings['1007-109032916c8']={
webappId:    '1007',
documentId:  '42484',
internalId:  '109032916c8',
customField: 'g.1141ieq1m.13v1djc2u76.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20110224-142259'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42249',
internalId:  '',
customField: '20100629-224416'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42258',
internalId:  '',
customField: '20100629-221740'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50901',
internalId:  '',
customField: '20110224-144522'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42276',
internalId:  '',
customField: '20100917-082350'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44932',
internalId:  '',
customField: '20100517-212432'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45099',
internalId:  '',
customField: '20100629-223846'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62301',
internalId:  '',
customField: '20110224-143034'
};
webappMappings['1501']=webappMappings['1501-26964472']={
webappId:    '1501',
documentId:  '44',
internalId:  '26964472',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42484',
internalId:  '',
customField: '20060125-210240'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42307',
internalId:  '',
customField: '20060108-211809'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79901',
internalId:  '',
customField: '20110224-142332'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '85801',
internalId:  '',
customField: '20110224-143814'
};
webappMappings['1008']=webappMappings['1008-51255960']={
webappId:    '1008',
documentId:  '79901',
internalId:  '51255960',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45676',
internalId:  '',
customField: '20091103-222716'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45108',
internalId:  '',
customField: '20100917-082841'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42319',
internalId:  '',
customField: '20100109-201905'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63901',
internalId:  '',
customField: '20080812-150630'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0INHT7R';
var companyName   = 'aerobatics-4you';
var htmlTitle	  = 'Poweraerobatics+with+YAK+55';
var metaKeywords  = 'Henry+Bohlig%2C+Aktion%2C+Air%2C+Power%2C+Engine%2C+flying%2C+exaust%2C+M-14P%2C+MTV9-250%2C+Wing%2C+climbing%2C+towing%2C+horsepower%2C+canopy%2C+cowling%2C+germany%2C+team%2C+nationalteam%2C+';
var metaContents  = 'Henry+Bohlig+the+page+with+informations+about+aerobatics+in+germany+with+YAK+55';
					                                                                    
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 */					                                                            

