/* [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/home.html','true',[ 
		['PAGE','69572',jdecode('Fassade'),jdecode(''),'/44/69572.html','true',[],''],
		['PAGE','111572',jdecode('Ger%C3%BCstbau+-+Verleih'),jdecode(''),'/44/111572.html','true',[],''],
		['PAGE','66872',jdecode('W%C3%A4rmed%C3%A4mmung'),jdecode(''),'/44/66872.html','true',[],''],
		['PAGE','70272',jdecode('Holzschutzfarben'),jdecode(''),'/44/70272.html','true',[],''],
		['PAGE','63472',jdecode('Malerarbeiten'),jdecode(''),'/44/63472.html','true',[],''],
		['PAGE','81672',jdecode('Neubau'),jdecode(''),'/44/81672.html','true',[],''],
		['PAGE','115272',jdecode('Renovieren'),jdecode(''),'/44/115272.html','true',[],''],
		['PAGE','84872',jdecode('Trockenbau'),jdecode(''),'/44/84872.html','true',[],''],
		['PAGE','80472',jdecode('Wintergarten'),jdecode(''),'/44/80472.html','true',[],''],
		['PAGE','45486',jdecode('Wohnraum+erleben'),jdecode(''),'/44/45486.html','true',[],''],
		['PAGE','41037',jdecode('Aus+Alt+mach+neu'),jdecode(''),'/44/41037.html','true',[],''],
		['PAGE','64472',jdecode('Badewanne'),jdecode(''),'/44/64472.html','true',[],''],
		['PAGE','41064',jdecode('Ideen+Umsetzten'),jdecode(''),'/44/41064.html','true',[],''],
		['PAGE','68472',jdecode('Hl.+Florian'),jdecode(''),'/44/68472.html','true',[],''],
		['PAGE','41001',jdecode('Extra+Leistung'),jdecode(''),'/44/41001.html','true',[],''],
		['PAGE','41055',jdecode('Denkmalpflege'),jdecode(''),'/44/41055.html','true',[],''],
		['PAGE','114672',jdecode('Laminat'),jdecode(''),'/44/114672.html','true',[],''],
		['PAGE','45784',jdecode('Zertifikate'),jdecode(''),'/44/45784.html','true',[],''],
		['PAGE','99372',jdecode('Kurse'),jdecode(''),'/44/99372.html','true',[],''],
		['PAGE','100572',jdecode('Information'),jdecode(''),'/44/100572.html','true',[],''],
		['PAGE','57572',jdecode('Hallo'),jdecode(''),'/44/57572.html','false',[],'']
	],''],
	['PAGE','110072',jdecode('links'),jdecode(''),'/110072.html','true',[],''],
	['PAGE','44280',jdecode('Standort'),jdecode(''),'/44280.html','true',[],''],
	['PAGE','46493',jdecode('Impressum'),jdecode(''),'/46493.html','true',[],''],
	['PAGE','101372',jdecode('Kontakt'),jdecode(''),'/101372.html','true',[],''],
	['PAGE','109172',jdecode('Preis+%26+Leistung'),jdecode(''),'/109172/home.html','true',[ 
		['PAGE','109193',jdecode('Malerarbeiten'),jdecode(''),'/109172/109193.html','true',[],'']
	],'']];
var siteelementCount=28;
theSitetree.topTemplateName='Abstract';
theSitetree.paletteFamily='FAFBC9';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10551';
theSitetree.graphicsetId='10578';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FAFBC9';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Abstract',
				paletteFamily: 	'FAFBC9',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10551',
				graphicsetId: 	'10578',
				contentColor: 	'000000',
				contentBGColor: 'FAFBC9',
				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:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '84872',
internalId:  '',
customField: '20100205-155848'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '44280',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '99372',
internalId:  '',
customField: '20100205-144522'
};
webappMappings['1001']=webappMappings['1001-atoix0inzbjf10a38ada5da']={
webappId:    '1001',
documentId:  '57572',
internalId:  'atoix0inzbjf10a38ada5da',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20091202-085214'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '81672',
internalId:  '',
customField: '20090818-213227'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69572',
internalId:  '',
customField: '20100205-135403'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '80472',
internalId:  '',
customField: '20100205-143508'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70272',
internalId:  '',
customField: '20090823-091854'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '109172',
internalId:  '',
customField: '20090818-202033'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68472',
internalId:  '',
customField: '20071107-075753'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66872',
internalId:  '',
customField: '20090823-084212'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63472',
internalId:  '',
customField: '20100205-135907'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45486',
internalId:  '',
customField: '20090812-070834'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41064',
internalId:  '',
customField: '20090226-123009'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41037',
internalId:  '',
customField: '20100205-123958'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64472',
internalId:  '',
customField: '20090510-211002'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41001',
internalId:  '',
customField: '20091202-085443'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41055',
internalId:  '',
customField: '20090226-123200'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45784',
internalId:  '',
customField: '20100205-144030'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44280',
internalId:  '',
customField: '20060318-151934'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46493',
internalId:  '',
customField: '20100205-144550'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57572',
internalId:  '',
customField: '20090828-084452'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '100572',
internalId:  '',
customField: '20100203-073754'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '101372',
internalId:  '',
customField: '20090827-164448'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '109193',
internalId:  '',
customField: '20090818-202033'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '115272',
internalId:  '',
customField: '20100205-155604'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '110072',
internalId:  '',
customField: '20100205-144630'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '111572',
internalId:  '',
customField: '20091202-092908'
};
webappMappings['7091']=webappMappings['7091-40790']={
webappId:    '7091',
documentId:  '100572',
internalId:  '40790',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '114672',
internalId:  '',
customField: '20100205-155954'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0INZBJF';
var companyName   = 'Malermeister';
var htmlTitle	  = 'Malermeister';
var metaKeywords  = 'Malermeister%2C+Maler%2C+Lackierer%2C+Tapezierer%2C+W%C3%A4rmed%C3%A4mmung%2C+Ger%C3%BCstbau+und+Verleih%2C+renovieren%2C++streichen%2C+lasieren%2C+lackieren%2C+spritzen%2C+verfugen%2C+Stuck%2C+Putz%2C+Spachteltechnik%2C+Vollw%C3%A4rmeschutz%2C+Fassadenanstrich%2C+Badewannenlackierung%2C+Kiefersfelden%2C+Oberaudorf%2C+Flintsbach%2C+Brannenburg%2C+Raubling%2C+Rosenheim%2C+Kufstein';
var metaContents  = 'Malermeister+Helmut+Adlmeier++Auenstra%C3%9Fe+11++83080+Oberaudorf+Malerarbeiten+fuer+Gewerbe+und+Privat.++';
					                                                                    
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 */					                                                            

