/* [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','13801',jdecode('Home'),jdecode(''),'/13801.html','true',[],''],
	['PAGE','76223',jdecode('offroad+Touren'),jdecode(''),'/76223.html','true',[],''],
	['PAGE','79123',jdecode('Quad+Gold+Tour'),jdecode(''),'/79123.html','true',[],''],
	['PAGE','14201',jdecode('Fahrzeuge%2FPreise'),jdecode(''),'/14201.html','true',[],''],
	['PAGE','51523',jdecode('Quad+Grilltour'),jdecode(''),'/51523/home.html','true',[ 
		['PAGE','52023',jdecode('Top+Event+2006+%28Folgeseite%29'),jdecode(''),'/51523/52023.html','false',[],'']
	],''],
	['PAGE','71023',jdecode('besonderes'),jdecode(''),'/71023.html','true',[],''],
	['PAGE','14226',jdecode('Reservierung'),jdecode(''),'/14226.html','true',[],''],
	['PAGE','14241',jdecode('unsere+AGBs'),jdecode(''),'/14241.html','true',[],''],
	['PAGE','14216',jdecode('links'),jdecode(''),'/14216.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Firma';
theSitetree.paletteFamily='650D0D';
theSitetree.keyvisualId='9920';
theSitetree.keyvisualName='kv_9920.jpg';
theSitetree.fontsetId='17859';
theSitetree.graphicsetId='12984';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='9D6464';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Firma',
				paletteFamily: 	'650D0D',
				keyvisualId: 	'9920',
				keyvisualName: 	'kv_9920.jpg',
				fontsetId: 		'17859',
				graphicsetId: 	'12984',
				contentColor: 	'FFFFFF',
				contentBGColor: '9D6464',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13801',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-5125885']={
webappId:    '1501',
documentId:  '13801',
internalId:  '5125885',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13801',
internalId:  '',
customField: '20090428-135606'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14216',
internalId:  '',
customField: '20061218-120714'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14201',
internalId:  '',
customField: '20080204-135438'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51523',
internalId:  '',
customField: '20080828-100058'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52023',
internalId:  '',
customField: '20051216-214536'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '71023',
internalId:  '',
customField: '20070909-214119'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14226',
internalId:  '',
customField: '20070722-084729'
};
webappMappings['1001']=webappMappings['1001-atoix0in2zxd10835520b98']={
webappId:    '1001',
documentId:  '51523',
internalId:  'atoix0in2zxd10835520b98',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0in2zxd10835520b98']={
webappId:    '1001',
documentId:  '52023',
internalId:  'atoix0in2zxd10835520b98',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14241',
internalId:  '',
customField: '20080204-135620'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79123',
internalId:  '',
customField: '20070815-215235'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '76223',
internalId:  '',
customField: '20070722-083134'
};
var canonHostname = 'cfawrk07.aul.t-online.de';
var accountId     = 'ATOIX0IN2ZXD';
var companyName   = 'Quad+Drive+Diana...die+Quad+Vermietung+in+L%C3%B6rrach';
var htmlTitle	  = 'Quad+Verleih+%2F+Quadvermietung+L%C3%B6rrach+Quad+Drive+Diana';
var metaKeywords  = 'Atv%2CQuad%2CVermietung%2CL%C3%B6rrach%2Cbombardier%2CDreil%C3%A4ndereck%2Cs%C3%BCdbaden%2Cbrosch%2Cmietstation%2Cverkauf%2Chaagen%2Cverleih%2Cgef%C3%BChrte+touren%2C+s%C3%BCdquad%2Cmototek%2Cregio%2Cquadverleih%2Cmesse%2CCamping%2Curlaub%2Cferien%2Cwochenende%2Cgrenzn%C3%A4he%2Cschweiz%2Cfrankreich%2Cbauhaus%2Cdiana%2Cgutschein%2Ccampingplatz%2Cbfq%2Cauto%2Cquadvermietung+deutschland%2Cquadverleih+l%C3%B6rrach%2Cquadvermietung+l%C3%B6rrach%2Cfreiburg%2Cblack+forest+quad';
var metaContents  = 'Quadvermietung+L%C3%B6rrach%2C+Quadverleih%2Cgef%C3%BChrte+Touren%2C+Tagesmieten%2CBombardier';
					                                                                    
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 */					                                                            
