/* [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','44',jdecode('Startseite'),jdecode(''),'/44.html','true',[],''],
	['PAGE','41292',jdecode('Zubeh%C3%B6r'),jdecode(''),'/41292.html','true',[],''],
	['PAGE','41265',jdecode('Schutzh%C3%BCllen'),jdecode(''),'/41265.html','true',[],''],
	['PAGE','41283',jdecode('Lagerkorb'),jdecode(''),'/41283.html','true',[],''],
	['PAGE','41274',jdecode('Kraftstofftank'),jdecode(''),'/41274.html','true',[],''],
	['PAGE','41301',jdecode('Bestellung'),jdecode(''),'/41301.html','true',[],''],
	['PAGE','41310',jdecode('Impressum'),jdecode(''),'/41310.html','true',[],'']];
var siteelementCount=7;
theSitetree.topTemplateName='Cuy';
theSitetree.paletteFamily='F3FAFB';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='385';
theSitetree.graphicsetId='437';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='F3FAFB';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Cuy',
				paletteFamily: 	'F3FAFB',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'385',
				graphicsetId: 	'437',
				contentColor: 	'000000',
				contentBGColor: 'F3FAFB',
				a_color: 		'F3FAFB',
				b_color: 		'A9C9CD',
				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:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-19198357']={
webappId:    '1501',
documentId:  '44',
internalId:  '19198357',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20120115-173843'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41274',
internalId:  '',
customField: '20110717-104545'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41292',
internalId:  '',
customField: '20110914-110031'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41283',
internalId:  '',
customField: '20110717-104432'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41265',
internalId:  '',
customField: '20111205-200712'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41301',
internalId:  '',
customField: '20111205-201041'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41310',
internalId:  '',
customField: '20110511-105520'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0I71HBB';
var companyName   = 'Willkommen+bei+Tank+Kompakt';
var htmlTitle	  = 'Regenwassertank%2C+IBC+Tanks+verbinden%2C+Zubeh%C3%B6r%2C+Tankschutzh%C3%BClle%2C+Zapfvorrichtung%2C+Kappe%2C+Wassertank+%2CIBC+Container+Cover+%2CRegenwassernutzung%2C+IBC+1000+l%2C+Wasserhahn%2C+Raps%C3%B6l%2C+Kunststoffbeh%C3%A4lter%2C+IBC+Container+1000+Liter%2C+verzinkte+Stahlpalette%2C+Zisterne+100';
var metaKeywords  = 'Regenwassertank%2C+ibc+beh%C3%A4lter%2C+IBC+verbinden%2CTankverbindung%2C+Zapfvorrichtung%2C+Tankverbindung%2C+Zapfvorrichtung%2C+IBC+Container+Cover%2C+wasserhahn%2C+Tankschutzh%C3%BClle%2C+Pferdesport%2C+Perdetr%C3%A4nke%2C++Kappe%2C+wasserfass%2C+gardena+kompatibel%2C+sammelgrube%2C+regensammler%2C+led+wasserhahn%2C++1000+L%2C+regenwasser%2C+Wassertank%2C+s%C3%A4ulentank%2C+erdtank%2C+regentonnen%2C+beckmann+regenfass%2C+regenfass%2C++tanklager%2C+Regenwassernutzung%2C+Wasserhahn%2C++regenwasserzisterne%2C+Regentank%2C+regenwasserauffanbeh%C3%A4lter%2C+regenspeicher%2C+regenwasserfilter%2C+fallrohrfilter%2C++Regenwassernutzung+f%C3%BCr+Ihren+Garten%2C+Regentonne%2C+1000+Liter+IBC+Container%2C+ibc+wassertank%2C+ibc+tank%2C+ibc+beh%C3%A4lter%2C+graf+regentonne%2C+regentonne+eckig%2C+regentonne+garten%2C+regentonne%2C+regentonne+regenfass%2C++%2C+Tank+Kompakt%2C+J%C3%B6rg+Zurstra%C3%9Fen%2C+1000+kg+Ballasttank%2C+Grosshandel%2C+Tank+handel%2C+Handel%2C+Katalog%2C+Handwerk%2C+Ihr+Sortiment+%2C+Wasserauffangbeh%C3%A4lter%2C+Kunststoffbeh%C3%A4lter%2C+verzinkter+Stahlk%C3%A4fig%2C+Zisterne%2C+zisterne+beton%2C++Fassungsverm%C3%B6gen+1000+Ltr.+Kunstofftank+auf+verzinkter+Palette%2C+1000-Liter-Wassertank%2C+Regentonne%2C+wassertonne%2C+tanklager%2C+Regenwasser+Tank%2C+Ablasshahn%2C+Ablaufhahn%2C++Ablaufbogen%2C+Kompostierung%2C+Kompost%2C+Diesel%2CTreibstoff%2C+Raps%C3%B6l%2C+Raps%C3%B6l%2C+%C3%96ltank%2C+S%C3%A4uren%2C+Laugen%2C+Treibstofftank%2C+diesel+tanks%2C+tanks%2C++tank+container%2C+gfk+tank%2C+senseo+wassertank%2C+garten+wassertank%2C+wassertank%2C+Tauchpumpen%2C+Regenfass%2C+Erdtank%2C+Gitterbox%2C+Brennholz%2C+trockene+Lagerung%2C+Holz%2C+Kamin%2C+Kaminholz%2C+Kachelofen%2C+Bevorratung%2C+Eiche%2C+Buche%2C+Birke%2C+Holzspalter%2C+Kettens%C3%A4ge%2C+Beil%2C+Axt%2C+Kubikmeter%2C+Holzscheit%2C+Schwedenofen%2C+Kaminofen%2C+Winter%2C+Herbst%2C+Baum%2C+balast%2C+Ballastieren%2C+Ballast+tank%2C+Sondermodell+meta+name%3Dverify-v1+content%3DUyDjeVfRal8vYV2M01FkxqW7tBS0uF9LKZTiG4oBFYw%3D+%2F';
var metaContents  = 'Willkommen+bei+Tank+Kompakt%2C+wir+bieten+Ihnen+1000+Liter+IBC+Regenwassertanks++mit+F%C3%BCllstandsanzeige+und+dem+passendem+Zubeh%C3%B6r+z.B.Tankverbindung+oder+Zapfvorrichtungen++zum+verbinden+der+Tanks.+Regenwassernutzung+f%C3%BCr+Ihren+Garten.+Ideal+zum+Wassertransport+f%C3%BCr+Tiere+oder+f%C3%BCr+den+Hobbyg%C3%A4rtner%2C+Landwirt++H%C3%A4uslebauer+%21+Alternatives+Tanken%2C+z.B.+mit+Raps%C3%B6l.+meta+name%3Dverify-v1+content%3DUyDjeVfRal8vYV2M01FkxqW7tBS0uF9LKZTiG4oBFYw%3D+%2F++google02c63ff9935e0330.html';
					                                                                    
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 */					                                                            

