/* [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('%E2%99%A5lich+Willkommen'),jdecode(''),'/39994/home.html','true',[ 
		['PAGE','46612',jdecode('Blick+hinter+die+Kulissen'),jdecode(''),'/39994/46612.html','true',[],'']
	],''],
	['PAGE','43897',jdecode('ADLER'),jdecode(''),'/43897.html','true',[],''],
	['PAGE','44499',jdecode('AKZENTE---+N+E+U+E+S'),jdecode(''),'/44499.html','true',[],''],
	['PAGE','43906',jdecode('B%C3%84REN'),jdecode(''),'/43906.html','true',[],''],
	['PAGE','43915',jdecode('EULEN'),jdecode(''),'/43915.html','true',[],''],
	['PAGE','43924',jdecode('M%C3%96BEL'),jdecode(''),'/43924.html','true',[],''],
	['PAGE','44176',jdecode('PHANTASIA'),jdecode(''),'/44176.html','true',[],''],
	['PAGE','44508',jdecode('SONSTIGES'),jdecode(''),'/44508.html','true',[],''],
	['PAGE','45878',jdecode('MP+in+der+Presse'),jdecode(''),'/45878.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Circles';
theSitetree.paletteFamily='C6BB8C';
theSitetree.keyvisualId='10971';
theSitetree.keyvisualName='kv_10971.jpg';
theSitetree.fontsetId='31913';
theSitetree.graphicsetId='13725';
theSitetree.contentColor='2B2823';
theSitetree.contentBGColor='C6BB8C';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Circles',
				paletteFamily: 	'C6BB8C',
				keyvisualId: 	'10971',
				keyvisualName: 	'kv_10971.jpg',
				fontsetId: 		'31913',
				graphicsetId: 	'13725',
				contentColor: 	'2B2823',
				contentBGColor: 'C6BB8C',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				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: '20110415-142823'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43906',
internalId:  '',
customField: '20110417-191932'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45878',
internalId:  '',
customField: '20091023-171228'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43915',
internalId:  '',
customField: '20110427-090440'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43897',
internalId:  '',
customField: '20110331-163837'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43924',
internalId:  '',
customField: '20110420-192437'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44176',
internalId:  '',
customField: '20110427-091259'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46612',
internalId:  '',
customField: '20091106-182336'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44499',
internalId:  '',
customField: '20110415-151155'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44508',
internalId:  '',
customField: '20110427-091009'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IR5DCE';
var companyName   = 'MP+%22M%22otors%C3%A4gen%22P%22ower';
var htmlTitle	  = 'www.motorsaegenpower.de';
var metaKeywords  = 'MP%2C+Motors%C3%A4genpower%2C+Kunst%2C+Motors%C3%A4ge%2C+Holzarten%2C+Skulpturen%2C+Kettens%C3%A4genschnitzereien%2C+Kettens%C3%A4genskulpturen%2C+Motors%C3%A4genschnitzereien%2C+Chainsaw%2C+Kettens%C3%A4genkunst%2C+Motors%C3%A4genkunst%2C+Chaincarwing%2C+Holzskulpturen%2C+Holzschnitzereien%2C+Holzkunst%2C+Power%2C+Schnitzereien%2C+schnitzen%2C+Kettens%C3%A4ge%2C+www.motorsaegenpower.de%2C+s%C3%A4gen%2C+Eiche%2C+L%C3%A4rche%2C+lasiert%2C+ge%C3%B6lt';
var metaContents  = 'MP+Motors%C3%A4genpower+Kettens%C3%A4genkunstskulpturen%2C+wie+z.B.+Adler%2C+B%C3%A4ren%2C+Eulen...+Schnitzereien+aller+Art.';
					                                                                    
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 */					                                                            

