/* [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','41010',jdecode('Home'),jdecode(''),'/41010.html','true',[],''],
	['PAGE','41030',jdecode('Kawasaki+Z+1300'),jdecode(''),'/41030.html','true',[],''],
	['PAGE','41656',jdecode('%C3%9Cbernachtung'),jdecode(''),'/41656.html','true',[],''],
	['PAGE','41093',jdecode('Z1300+Shop'),jdecode(''),'/41093.html','true',[],''],
	['PAGE','41614',jdecode('CBX%26ProLink+Shop'),jdecode(''),'/41614.html','true',[],''],
	['PAGE','41039',jdecode('CBX+1000'),jdecode(''),'/41039.html','true',[],''],
	['PAGE','41390',jdecode('Fotoalbum'),jdecode(''),'/41390.html','true',[],''],
	['PAGE','41066',jdecode('Kontakt'),jdecode(''),'/41066.html','true',[],'']];
var siteelementCount=8;
theSitetree.topTemplateName='Orbit';
theSitetree.paletteFamily='003366';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='172';
theSitetree.graphicsetId='203';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='003366';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Orbit',
				paletteFamily: 	'003366',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'172',
				graphicsetId: 	'203',
				contentColor: 	'FFFFFF',
				contentBGColor: '003366',
				a_color: 		'003366',
				b_color: 		'336699',
				c_color: 		'000000',
				d_color: 		'000000',
				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:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '41010',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41030',
internalId:  '',
customField: '20060809-214428'
};
webappMappings['1007']=webappMappings['1007-10cf4a480f5']={
webappId:    '1007',
documentId:  '41390',
internalId:  '10cf4a480f5',
customField: 'g.11jqa3ig5.7q4k587ul82.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41390',
internalId:  '',
customField: '20060809-225105'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41010',
internalId:  '',
customField: '20090211-153510'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41039',
internalId:  '',
customField: '20060809-222823'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41093',
internalId:  '',
customField: '20080710-085355'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41066',
internalId:  '',
customField: '20060807-211752'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41656',
internalId:  '',
customField: '20080721-120326'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41614',
internalId:  '',
customField: '20080710-085515'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0I7R8EB';
var companyName   = 'Kawasaki+Z+1300+%2F+Benelli+Sei+%2F+CBX+1000';
var htmlTitle	  = 'kawasaki+Z1300';
var metaKeywords  = 'Wilfried+B%C3%BCchsensch%C3%BCtz%2C+Kawasaki+Z1300%2C+Edertal-Wellen%2C6Zylinder%2CMotorrad%2C+Motorradzubehoer%2C+Kleinanzeigenmarkt%2C+Motorradfahrer%2C+Motorradbekleidung%2C+Bekleidung%2C+Biker%2C+Motorsport%2C+Fans%2C+Aktuelles%2C+Honda+cbx+%2C+sechs+Zylinder%2C+Benelli+sei%2C+Motorradfahren%2C+Z+1300-IG%2C+cbx%2C+z1300%2C+benelli+%2Cder6zylinder%2Cwellen%2C+edersee';
var metaContents  = 'Willkommen+bei+Wilfried+B%C3%BCchsensch%C3%BCtz%2C+Ihrem+Partner+f%C3%BCr+6+Zylinder+Motorr%C3%A4der.+';
					                                                                    
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 */					                                                            

