/* [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('Home'),jdecode(''),'/40993.html','true',[],''],
	['PAGE','41076',jdecode('AKTUELL'),jdecode(''),'/41076.html','true',[],''],
	['PAGE','41004',jdecode('Das+machen+wir'),jdecode(''),'/41004.html','true',[],''],
	['PAGE','41013',jdecode('Produkte'),jdecode(''),'/41013/home.html','true',[ 
		['PAGE','41022',jdecode('Fliesen+%7C+Sanit%C3%A4r+%7C+Energie'),jdecode(''),'/41013/41022.html','true',[],''],
		['PAGE','41031',jdecode('Unsere+Hersteller'),jdecode(''),'/41013/41031.html','true',[],'']
	],''],
	['PAGE','41040',jdecode('Montageservice'),jdecode(''),'/41040.html','true',[],''],
	['PAGE','41067',jdecode('SV++Bautechnik'),jdecode(''),'/41067.html','true',[],''],
	['PAGE','41049',jdecode('E+-+Mail+an+uns+'),jdecode(''),'/41049.html','true',[],''],
	['PAGE','41058',jdecode('Notruf+%2F+Impressum'),jdecode(''),'/41058.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Button';
theSitetree.paletteFamily='96010A';
theSitetree.keyvisualId='10952';
theSitetree.keyvisualName='kv_10952.jpg';
theSitetree.fontsetId='31906';
theSitetree.graphicsetId='13722';
theSitetree.contentColor='5D0108';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Button',
				paletteFamily: 	'96010A',
				keyvisualId: 	'10952',
				keyvisualName: 	'kv_10952.jpg',
				fontsetId: 		'31906',
				graphicsetId: 	'13722',
				contentColor: 	'5D0108',
				contentBGColor: 'FFFFFF',
				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:  '40993',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40993',
internalId:  '',
customField: '20070817-143239'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41004',
internalId:  '',
customField: '20080104-183818'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41013',
internalId:  '',
customField: '20070817-163112'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41022',
internalId:  '',
customField: '20080206-095126'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41031',
internalId:  '',
customField: '20091221-170642'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41040',
internalId:  '',
customField: '20070428-230833'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41049',
internalId:  '',
customField: '20070430-154125'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41067',
internalId:  '',
customField: '20070521-075559'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41076',
internalId:  '',
customField: '20091208-170118'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41058',
internalId:  '',
customField: '20091028-121055'
};
webappMappings['1501']=webappMappings['1501-33308725']={
webappId:    '1501',
documentId:  '40993',
internalId:  '33308725',
customField: '1501'
};
webappMappings['1008']=webappMappings['1008-33308408']={
webappId:    '1008',
documentId:  '41049',
internalId:  '33308408',
customField: 'de:DE:'
};
var canonHostname = 'cfawrk05.aul.t-online.de';
var accountId     = 'ATOIX0I7XN51';
var companyName   = 'Sanit%C3%A4rtechnik+Blaasch%2C+Kronshagen+%2F+Kiel';
var htmlTitle	  = 'Sanit%C3%A4rtechnik+Blaasch%2C+Kronshagen+%2F+Kiel';
var metaKeywords  = 'Sanit%C3%A4rtechnik+Blaasch%2C+Sanitaertechnik+Blaasch%2C+Sanit%C3%A4r+Kiel%2C+Sanitaer+Kiel%2C+Sanit%C3%A4r+Kronshagen%2C+Sanitaer+Kronshagen%2C+Sanit%C3%A4rtechnik+Kiel%2C+Sanitaertechnik+Kiel%2C+Sanit%C3%A4rtechnik+Kronshagen%2C+Sanitaertechnik+Kronshagen%2C+Installateur%2C+Installateur+Kiel%2C+Installateur+Kronshagen%2C+Landeshauptstadt+Kiel+Klempner%2C+Klempner+Kiel%2C+Klempner+Kronshagen%2C+Sanit%C3%A4rtechnik+Nord%2C+Sanitaertechnik+Nord%2C+Installateur+Nord%2C+Bad%2C+Baeder%2C+Badewanne%2C+Wanne%2C+Dusche%2C+Duschsauna%2C+Whirlpool%2C+Heizung%2C+Sanitaer%2C+Wasserhaehne%2C+Sanitaerkeramik%2C+Toilette%2C+Toilettenbecken%2C+Verstopfung%2C+F%C3%A4kalstau%2C++Oelfeuerung%2C+Wartung+von+Gasgeraeten%2C++Brennwertheizung%2C+Gas+und+Zentralheizung%2C+Haus+und+Regeltechnik%2C+Solartechnik%2C+Wellness%2C+Elektriker%2C+Wartung%2C+Wasseraufbereitung%2C+Reparaturen%2C+Instandsetzung%2C+Regenwassernutzung%2C+Kalkschutz%2C+%C3%96l%2C+Installation%2C+Klempner%2C+Bauklempnerei%2C+Rohrbruch%2C+Verstopfung%2C+Kundendienst%2C+Planung%2C+Erneuerung%2C+Sanit%C3%A4rtechnik%2C+Andreas+Blaasch%2C+Sachverst%C3%A4ndiger+f%C3%BCr+Bautechnik%2C+Gasanlagen+auf+Seeschiffen%2C+Zulassung+f%C3%BCr+Gasanlagen+auf+Seeschiffen%2C+SeeBG+Hamburg%2C+Elektrosicherheitsfachkraft%2C+Kalk%2C+Rost%2C+Wasser%2C+Rohr%2C+Schaden%2C+Ablagerung%2C+Verkalkung%2C+Rostwasser%2C+Rohrbruch%2C+Sanierung%2C+Wasserbehandlung%2C+Kalkstein%2C+Wasserleitung%2C+Wassertechnik%2C+Filter%2C+Feinfilter%2C+chemiefrei%2C+Vitalisierung%2C+Wellness%2C+Korrosion%2C+Wasserrecycling%2C+Sauerstoffaktivierung%2C+Wasseraufbereitung%2C+Schleswig+Holstein%2C+Pl%C3%B6n%2C+Preetz%2C+Raisdorf%2C+Eckernf%C3%B6rde%2C+Neum%C3%BCnster%2C+Kiel%2C+Kronshagen%2C+Strande%2C+Laboe%2C+Heikendorf%2C+Stein%2C+Wentdorf%2C+Schilksee%2C+Friedrichsort%2C+Holtenau%2C+Wik%2C+Brunswik%2C+Innenstadt%2C+Zentrum%2C+Centrum%2C+Klausdorf%2C++Klausdorf+%2FSchwentine%2C+Elmschenhagen%2C+Viehburger+Geh%C3%B6lz%2C+Gr%C3%BCnes+Herz%2C+Molfsee%2C+Schulensee%2C+D%C3%BCsternbrook%2C+Mielkendorf%2C+Meimersdorf%2C+Wellsee%2C+Landeshauptstadt+Kiel';
var metaContents  = 'Tel.%3A+0431+529127++Fax%3A+0431+529427+E-Mail+%3Ainfo%40blaasch.eu';
					                                                                    
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 */					                                                            
