/* [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','4579',jdecode('Home'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','37901',jdecode('Meine+Helis'),jdecode(''),'/37901.html','true',[],''],
	['PAGE','9301',jdecode('Three+Dee+NT%C2%B4s'),jdecode(''),'/9301.html','true',[],''],
	['PAGE','38701',jdecode('Revo+%26+Schweizer'),jdecode(''),'/38701.html','true',[],''],
	['PAGE','20901',jdecode('Gee+Bee+R3'),jdecode(''),'/20901.html','true',[],''],
	['PAGE','39601',jdecode('Flugtage+2010'),jdecode(''),'/39601.html','true',[],''],
	['PAGE','43001',jdecode('R%C3%BCckblick+Flugtage'),jdecode(''),'/43001.html','true',[],''],
	['PAGE','9306',jdecode('Links'),jdecode(''),'/9306.html','true',[],''],
	['PAGE','26902',jdecode('G%C3%A4stebuch'),jdecode(''),'/26902/home.html','true',[ 
		['PAGE','26903',jdecode('Eintr%C3%A4ge'),jdecode(''),'/26902/26903.html','true',[],'']
	],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Disco';
theSitetree.paletteFamily='000066';
theSitetree.keyvisualId='4606';
theSitetree.keyvisualName='architekt.jpg';
theSitetree.fontsetId='307';
theSitetree.graphicsetId='363';
theSitetree.contentColor='FF0000';
theSitetree.contentBGColor='000066';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Disco',
				paletteFamily: 	'000066',
				keyvisualId: 	'4606',
				keyvisualName: 	'architekt.jpg',
				fontsetId: 		'307',
				graphicsetId: 	'363',
				contentColor: 	'FF0000',
				contentBGColor: '000066',
				a_color: 		'000066',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-26902atoix0in2mjz']={
webappId:    '1002',
documentId:  '26902',
internalId:  '26902atoix0in2mjz',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-26902atoix0in2mjz']={
webappId:    '1002',
documentId:  '26903',
internalId:  '26902atoix0in2mjz',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20110228-083505'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43001',
internalId:  '',
customField: '20090713-105110'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9301',
internalId:  '',
customField: '20070804-161947'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20901',
internalId:  '',
customField: '20110123-102221'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37901',
internalId:  '',
customField: '20110123-094430'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38701',
internalId:  '',
customField: '20070804-162207'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39601',
internalId:  '',
customField: '20100701-202602'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9306',
internalId:  '',
customField: '20110228-080251'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26902',
internalId:  '',
customField: '20051227-082701'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26903',
internalId:  '',
customField: '20051227-082727'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IN2MJZ';
var companyName   = 'Homepage+von+Dr.Heli';
var htmlTitle	  = 'Dr.Heli';
var metaKeywords  = 'Dr.Heli+Thomas+Oberkersch%2CModellbau%2C+Schlagworte+zu+Ihrem+Webauftritt%2C+ihre+Marken%2C+Ihr+Angebot%2C+Ihre+Leistungen+und+Produkte%2CHeli%2CFlugtage%2CSTO%2CStreicher%2CWiggens+Z-250.Bell-UH+1D%2CThree+Dee+NT+von+Henseleit%2CSchweizer.300%2CWilga%2CFrisch%2CRevolution+Heli+Pro%2CL%C3%B6chgau%2CHahnweide%2CH%C3%BClben%2CGrabenstetten%2CGraupner%2CW%C3%BCrzburg+Fliegt%2CMalmsheim%2CRevo%2CBad+Waldsee+Reute%2CBad+Saulgau%2CSchorndorf%2CBacknang+Heiningen%2CFlugplatzfest+Flugplatzhock+Flugtag+Zeitung+Thomas+Oberkersch+Ergo+Bilder+Fotos+Galerie+';
var metaContents  = 'Willkommen+bei.+DR.Heli+%28Thomas%29';
					                                                                    
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 */					                                                            

