/* [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','40199',jdecode('Startseite+'),jdecode(''),'/40199.html','true',[],''],
	['PAGE','41082',jdecode('Kajaks+%26+Kanus+'),jdecode(''),'/41082.html','true',[],''],
	['PAGE','86301',jdecode('Ruder-+%26+Motorboote+'),jdecode(''),'/86301.html','true',[],''],
	['PAGE','96701',jdecode('Kaj%C3%BCt-+%26+Halbkaj%C3%BCtboote'),jdecode(''),'/96701.html','true',[],''],
	['PAGE','40729',jdecode('Tretboote++'),jdecode(''),'/40729.html','true',[],''],
	['PAGE','96901',jdecode('Aluminiumboote++'),jdecode(''),'/96901.html','true',[],''],
	['PAGE','157901',jdecode('Stra%C3%9Fentrailer+f%C3%BCr+Boote'),jdecode(''),'/157901.html','true',[],''],
	['PAGE','142201',jdecode('Info+GFK+%2F+PE+%2F+CE+%2F+Schaft'),jdecode(''),'/142201.html','true',[],''],
	['PAGE','149401',jdecode('Sonderangebote'),jdecode(''),'/149401.html','true',[],''],
	['PAGE','41509',jdecode('Kontaktformular'),jdecode(''),'/41509.html','true',[],''],
	['PAGE','40235',jdecode('Impressum+'),jdecode(''),'/40235.html','true',[],''],
	['PAGE','161301',jdecode('Partnerlinks'),jdecode(''),'/161301.html','false',[],''],
	['PAGE','172301',jdecode('Bootsgalerie+'),jdecode(''),'/172301.html','false',[],''],
	['PAGE','178001',jdecode('AGB+%2F+Lieferbedingungen'),jdecode(''),'/178001.html','true',[],''],
	['PAGE','189601',jdecode('Blog'),jdecode(''),'/189601.html','true',[],''],
	['PAGE','193301',jdecode('Bootsgalerie'),jdecode(''),'/193301.html','true',[],'']];
var siteelementCount=16;
theSitetree.topTemplateName='Litfass';
theSitetree.paletteFamily='F4EBCE';
theSitetree.keyvisualId='11044';
theSitetree.keyvisualName='kv_11044.jpg';
theSitetree.fontsetId='32074';
theSitetree.graphicsetId='13768';
theSitetree.contentColor='696558';
theSitetree.contentBGColor='F4EBCE';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Litfass',
				paletteFamily: 	'F4EBCE',
				keyvisualId: 	'11044',
				keyvisualName: 	'kv_11044.jpg',
				fontsetId: 		'32074',
				graphicsetId: 	'13768',
				contentColor: 	'696558',
				contentBGColor: 'F4EBCE',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '149401',
internalId:  '',
customField: '20111212-182232'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40199',
internalId:  '',
customField: '20111215-081408'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40235',
internalId:  '',
customField: '20111121-072408'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '157901',
internalId:  '',
customField: '20111212-182143'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '142201',
internalId:  '',
customField: '20111212-182206'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41082',
internalId:  '',
customField: '20120125-201212'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40729',
internalId:  '',
customField: '20120125-201354'
};
webappMappings['1501']=webappMappings['1501-31654933']={
webappId:    '1501',
documentId:  '40199',
internalId:  '31654933',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '178001',
internalId:  '',
customField: '20110927-092830'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '172301',
internalId:  '',
customField: '20110202-183747'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '96901',
internalId:  '',
customField: '20120125-201420'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41509',
internalId:  '',
customField: '20110927-092728'
};
webappMappings['1008']=webappMappings['1008-41712276']={
webappId:    '1008',
documentId:  '41509',
internalId:  '41712276',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86301',
internalId:  '',
customField: '20120125-201239'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '96701',
internalId:  '',
customField: '20120125-201315'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '161301',
internalId:  '',
customField: '20111004-070821'
};
webappMappings['7050']=webappMappings['7050-9078']={
webappId:    '7050',
documentId:  '189601',
internalId:  '9078',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '189601',
internalId:  '',
customField: '20111119-141216'
};
webappMappings['7060']=webappMappings['7060-73f9998a1dd3da2f0aeb6b92b032882f']={
webappId:    '7060',
documentId:  '193301',
internalId:  '73f9998a1dd3da2f0aeb6b92b032882f',
customField: 'language:de;country:DE;'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '40199',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '193301',
internalId:  '',
customField: '20111214-190038'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0I7SSV1';
var companyName   = 'YABOHA+-+YACHT+%26+BOOTSHANDEL';
var htmlTitle	  = 'YABOHA+-+YACHT++%2F++BOOTSHANDEL';
var metaKeywords  = 'Handel%2C+Boote%2C+Yachten%2C+Verkauf%2C+Angeln%2C+Freizeit%2C+Wasserfahrzeuge%2C+Camping%2C+Wassersport%2C+Tauchen%2C+Baden%2C+Roland+Scheel%2C+Yaboha%2C+';
var metaContents  = 'Handelsagentur+f%C3%BCr+den+Verkauf+von+Ruder-+u.+Motorbooten%2C+Kaj%C3%BCt-+u.+Halbkaj%C3%BCtbooten%2C+Kajaks%2C+Kanus%2C+sehr+sch%C3%B6nen+Tretbooten%2C+Aluminiumbooten+in+Deutschland+';
					                                                                    
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 */					                                                            

