/* [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('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','41314',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/41314.html','true',[],''],
	['PAGE','41323',jdecode('Bikes'),jdecode(''),'/41323.html','true',[],''],
	['PAGE','41519',jdecode('Zubeh%C3%B6r+und+Teile'),jdecode(''),'/41519.html','true',[],''],
	['PAGE','41332',jdecode('Kleidung'),jdecode(''),'/41332.html','true',[],''],
	['PAGE','41341',jdecode('Service'),jdecode(''),'/41341.html','true',[],''],
	['PAGE','41350',jdecode('Angebote'),jdecode(''),'/41350.html','true',[],''],
	['PAGE','41399',jdecode('%C3%96ffnungszeiten'),jdecode(''),'/41399.html','true',[],''],
	['PAGE','41359',jdecode('Kontakt'),jdecode(''),'/41359.html','true',[],''],
	['PAGE','41502',jdecode('Anfahrt'),jdecode(''),'/41502.html','true',[],''],
	['PAGE','41558',jdecode('Unsere+Partner'),jdecode(''),'/41558.html','true',[],''],
	['PAGE','41571',jdecode('Bildergalarie'),jdecode(''),'/41571.html','true',[],''],
	['PAGE','41689',jdecode('Ausfahrten'),jdecode(''),'/41689.html','true',[],'']];
var siteelementCount=13;
theSitetree.topTemplateName='Kreis';
theSitetree.paletteFamily='D24C59';
theSitetree.keyvisualId='1674';
theSitetree.keyvisualName='radsport.jpg';
theSitetree.fontsetId='127';
theSitetree.graphicsetId='143';
theSitetree.contentColor='DDDDDD';
theSitetree.contentBGColor='000000';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Kreis',
				paletteFamily: 	'D24C59',
				keyvisualId: 	'1674',
				keyvisualName: 	'radsport.jpg',
				fontsetId: 		'127',
				graphicsetId: 	'143',
				contentColor: 	'DDDDDD',
				contentBGColor: '000000',
				a_color: 		'D24C59',
				b_color: 		'F877A1',
				c_color: 		'000000',
				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:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20101128-150822'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41323',
internalId:  '',
customField: '20111027-200816'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41332',
internalId:  '',
customField: '20071206-201257'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41359',
internalId:  '',
customField: '20071206-211523'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41399',
internalId:  '',
customField: '20110926-130535'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41350',
internalId:  '',
customField: '20111027-200311'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41519',
internalId:  '',
customField: '20071021-105156'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41341',
internalId:  '',
customField: '20111027-201556'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41314',
internalId:  '',
customField: '20111027-195433'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41502',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41502',
internalId:  '',
customField: '20071020-211048'
};
webappMappings['1007']=webappMappings['1007-115c193adf2']={
webappId:    '1007',
documentId:  '41571',
internalId:  '115c193adf2',
customField: 'g.12n39m3b1.ciudu6dr81.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41571',
internalId:  '',
customField: '20071021-105855'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41558',
internalId:  '',
customField: '20071104-084126'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41689',
internalId:  '',
customField: '20111027-200621'
};
webappMappings['1501']=webappMappings['1501-41983761']={
webappId:    '1501',
documentId:  '39994',
internalId:  '41983761',
customField: '1501'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0I7P34B';
var companyName   = 'Bike+Shop+Haar';
var htmlTitle	  = 'www.bikeshop-haar.de';
var metaKeywords  = 'Bike+Shop+Fahrr%C3%A4der%2C+Fahrradzubeh%C3%B6r%2C+Fahrradservice%2C+Biketreff+Haar%2C+Bikereparatur%2C+M%C3%BCnchen%2C+Rennradausfahrten+M%C3%BCnchen%2C++Bike+Service+Haar%2C+Scott+Haar%2C+Staiger+Haar%2C+Sinus+Haar%2C+Haibike%2C+Fahrradfachgesch%C3%A4ft+Haar%2C+Fahrradteilelieferant+und+Fahrradsevicestation+in+M%C3%BCnchen-Haar%2C+Bikes+in+Haar%2C+Bikezubeh%C3%B6r%2C+Biketouren+in+Haar%2C+Rennradcenter+Haar%2C+Mountainbikestation+in+Haar%2C+Scott%2C+Staiger%2C+Sinus%2C+Haibike%2C+gro%C3%9Fe+Sattelauswahl+Haar%2C+Rennradbekleidung%2C+MTB+Bekleidung%2C+Bikeschuhe%2C+Spinning-Zubeh%C3%B6r%2C+Spinning-Schuhe%2C+Spinning-Kleidung%2C+Giro+Helme%2C+Adidas-Radbekleidung%2C+Mavic-Laufr%C3%A4der%2C+Adidas+Radschuhe%2C+Assos+Made+in+Schweiz+-+Radbekleidung%2C+Radtrikot+von+Assos%2C';
var metaContents  = 'Bike+Shop+ihr+Fahrradfachgesch%C3%A4ft+%2CFahrradteilelieferant+und+Fahrradsevicestation+in+M%C3%BCnchen-Haar%2C+Bikes+in+Haar%2C+Bikezubeh%C3%B6r%2C+Biketouren+in+Haar%2C+Rennradcenter+Haar%2C+M%C3%BCnchen%2C+E-Bikeh%C3%A4ndler+Haar%2C+Fahrr%C3%A4der+Haar%2C+Bikes+Haar%2C+Rennr%C3%A4der+Haar%2C+Mountainbike+Haar%2C+Scott%2C+Staiger%2C+Sinus%2C+Haibike%2C+gro%C3%9Fe+Sattelauswahl%2C+Rennradbekleidung%2C+MTB+Haar%2C+Bikebekleidung+Haar%2C+Bikeschuhe+Haar%2C+Spinning-Zubeh%C3%B6r+M%C3%BCnchen%2C++Bike+Schuhe%2C+Spinning++Haar+Bike+Kleidung+Haar%2C+Giro+Helme+M%C3%BCnchen%2C+Assos+Bekleidung%2C+Mavic-Laufr%C3%A4der%2C++Radschuhe%2C+Assos+Made+in+Schweiz+-+Radbekleidung%2C+E-Bike+M%C3%BCnchen%2C+Boschantrieb+M%C3%BCnchen%2C+eq+Trekking+HaiBike%2C+eqMTB+Haibike%2C+E+Bike+Winora+M%C3%BCnchen%2C+E+Bike+Haibike+M%C3%BCnchen%2C+Scott+M%C3%BCnchen%2C+Scott+Haar%2C+Fahrradreparatur+Haar%2C+E-Bike+Service+M%C3%BCnchen%2C+Pedelec+Haar%2C+';
					                                                                    
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 */					                                                            

