/* [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','40993',jdecode('Startseite++%2F++News'),jdecode(''),'/40993.html','true',[],''],
	['PAGE','41469',jdecode('ibis+Mojo+%2F+Mojo+HD+%2F+Mojo+SL'),jdecode(''),'/41469.html','true',[],''],
	['PAGE','41441',jdecode('ibisTranny+%2F+Silk+%26+Hakkal%C3%BCgi'),jdecode(''),'/41441.html','true',[],''],
	['PAGE','41040',jdecode('ibis+Komplettbikes+%26+Zubeh%C3%B6r'),jdecode(''),'/41040.html','true',[],''],
	['PAGE','41049',jdecode('CustomBike+%26+Komponenten'),jdecode(''),'/41049.html','true',[],''],
	['PAGE','44262',jdecode('ANGEBOTE++%26++Bildergalerie'),jdecode(''),'/44262.html','true',[],''],
	['PAGE','41031',jdecode('Service%2FPr%C3%A4sentation%2FAnfrage'),jdecode(''),'/41031.html','true',[],''],
	['PAGE','41451',jdecode('Feedback'),jdecode(''),'/41451/home.html','true',[ 
		['PAGE','41450',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41451/41450.html','true',[],'']
	],''],
	['PAGE','41013',jdecode('Kontakt+%2F+Impressum+%2F+Anfahrt'),jdecode(''),'/41013.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Business';
theSitetree.paletteFamily='003366';
theSitetree.keyvisualId='2492';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='418';
theSitetree.graphicsetId='463';
theSitetree.contentColor='0A4704';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Business',
				paletteFamily: 	'003366',
				keyvisualId: 	'2492',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'418',
				graphicsetId: 	'463',
				contentColor: 	'0A4704',
				contentBGColor: 'FFFFFF',
				a_color: 		'003366',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '40993',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40993',
internalId:  '',
customField: '20101019-161110'
};
webappMappings['1002']=webappMappings['1002-41451atoix0i727qw']={
webappId:    '1002',
documentId:  '41451',
internalId:  '41451atoix0i727qw',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41013',
internalId:  '',
customField: '20100514-170935'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41040',
internalId:  '',
customField: '20100908-195942'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41049',
internalId:  '',
customField: '20100606-124731'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41031',
internalId:  '',
customField: '20100316-084135'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44262',
internalId:  '',
customField: '20100815-204124'
};
webappMappings['1501']=webappMappings['1501-39848239']={
webappId:    '1501',
documentId:  '40993',
internalId:  '39848239',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41469',
internalId:  '',
customField: '20101019-161347'
};
webappMappings['1007']=webappMappings['1007-11527e63930']={
webappId:    '1007',
documentId:  '44262',
internalId:  '11527e63930',
customField: 'g.12kju2d12.pj4asm0rm5.3o'
};
webappMappings['1002']=webappMappings['1002-41451atoix0i727qw']={
webappId:    '1002',
documentId:  '41450',
internalId:  '41451atoix0i727qw',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41441',
internalId:  '',
customField: '20100908-191731'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41451',
internalId:  '',
customField: '20100526-215403'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41450',
internalId:  '',
customField: '20080401-081343'
};
webappMappings['1008']=webappMappings['1008-43242449']={
webappId:    '1008',
documentId:  '41031',
internalId:  '43242449',
customField: 'de:DE::;language:de;country:DE;'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0I727QW';
var companyName   = 'EXKLUSIV-BIKES+der+Marke+%22ibis%22';
var htmlTitle	  = 'ibis+Mojo+-+ibis+Mojo+SL-+ibis+Mojo+HD+-+ibis+Tranny+-+ibis+Silk+-+ibis+Zubeh%C3%B6r+-+made+by+Exklusiv-Bikes.de';
var metaKeywords  = 'Exklusiv-Bikes+bietet+Ihnen+die+kalifornische+Kultmarke+ibis+%2C+Mountainbikes+ibis+Mojo+Carbon+%2C+Mojo+Carbon+SL+%2C+ibis+Tranny+und+Rennr%C3%A4der+ibis+Silk+Carbon+SL+.+Alle+R%C3%A4der+auch+als+Custum-Made-Bikes+mit+Top-Komponenten.+Probefahrten%28Mojo%29+jederzeit+m%C3%B6glich+nach+Terminabsprache';
var metaContents  = 'ibis+Mojo+%2C+ibis+Mojo+SL+%2C+ibis+Tranny+%2C+ibis+Silk++auch+als+Custombike+made+by+Exklusiv-Bikes.de';
					                                                                    
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 */					                                                            

