/* [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('Startseite'),jdecode(''),'/13801.html','true',[],''],
	['PAGE','20725',jdecode('%C3%9Cber+uns'),jdecode(''),'/20725.html','true',[],''],
	['PAGE','15506',jdecode('Warum+wir'),jdecode(''),'/15506.html','true',[],''],
	['PAGE','15501',jdecode('Aktionsangebote'),jdecode(''),'/15501/home.html','true',[ 
		['PAGE','45332',jdecode('+Aktionshaus+%22Elegance%22'),jdecode(''),'/15501/45332.html','true',[],''],
		['PAGE','56301',jdecode('+Aktionshaus+%22Vario+1%22'),jdecode(''),'/15501/56301.html','true',[],''],
		['PAGE','97701',jdecode('+Aktionshaus+%22Villa+110%22'),jdecode(''),'/15501/97701.html','true',[],'']
	],''],
	['PAGE','13812',jdecode('Typenh%C3%A4user'),jdecode(''),'/13812/home.html','true',[ 
		['PAGE','38929',jdecode('Classic+130+m.+Anb.'),jdecode(''),'/13812/38929.html','true',[],''],
		['PAGE','68601',jdecode('Classic+135'),jdecode(''),'/13812/68601.html','true',[],''],
		['PAGE','68622',jdecode('Classic+140'),jdecode(''),'/13812/68622.html','true',[],''],
		['PAGE','47532',jdecode('Classic+145'),jdecode(''),'/13812/47532.html','true',[],''],
		['PAGE','73501',jdecode('Classic+160'),jdecode(''),'/13812/73501.html','true',[],''],
		['PAGE','73522',jdecode('Trend+130+m.+Anb.'),jdecode(''),'/13812/73522.html','true',[],''],
		['PAGE','47595',jdecode('Trend+150'),jdecode(''),'/13812/47595.html','true',[],''],
		['PAGE','73543',jdecode('Trend+165'),jdecode(''),'/13812/73543.html','true',[],''],
		['PAGE','46232',jdecode('Elegance+140-1'),jdecode(''),'/13812/46232.html','true',[],''],
		['PAGE','46263',jdecode('Elegance+145+m.+Anb.'),jdecode(''),'/13812/46263.html','true',[],''],
		['PAGE','73564',jdecode('Elegance+170'),jdecode(''),'/13812/73564.html','true',[],''],
		['PAGE','87201',jdecode('Villa+160-1'),jdecode(''),'/13812/87201.html','true',[],''],
		['PAGE','87222',jdecode('Villa+190'),jdecode(''),'/13812/87222.html','true',[],''],
		['PAGE','87243',jdecode('Villa+240'),jdecode(''),'/13812/87243.html','true',[],''],
		['PAGE','77401',jdecode('Bungalow+RB+100'),jdecode(''),'/13812/77401.html','true',[],''],
		['PAGE','74901',jdecode('Bungalow+WB+110'),jdecode(''),'/13812/74901.html','true',[],''],
		['PAGE','77422',jdecode('Bungalow+WB+125'),jdecode(''),'/13812/77422.html','true',[],''],
		['PAGE','74922',jdecode('ELW+165'),jdecode(''),'/13812/74922.html','true',[],''],
		['PAGE','74943',jdecode('ELW+250'),jdecode(''),'/13812/74943.html','true',[],''],
		['PAGE','77443',jdecode('DHH+140'),jdecode(''),'/13812/77443.html','true',[],'']
	],''],
	['PAGE','20302',jdecode('Referenzh%C3%A4user'),jdecode(''),'/20302.html','true',[],''],
	['PAGE','15511',jdecode('Preisbeispiele'),jdecode(''),'/15511/home.html','true',[ 
		['PAGE','52288',jdecode('Basis+115'),jdecode(''),'/15511/52288.html','true',[],''],
		['PAGE','52330',jdecode('Classic+115'),jdecode(''),'/15511/52330.html','true',[],''],
		['PAGE','52309',jdecode('Classic+125'),jdecode(''),'/15511/52309.html','true',[],''],
		['PAGE','52351',jdecode('Trend+130'),jdecode(''),'/15511/52351.html','true',[],''],
		['PAGE','52372',jdecode('Bungalow+WB+95'),jdecode(''),'/15511/52372.html','true',[],''],
		['PAGE','52393',jdecode('Elegance+125+m.+Anb.'),jdecode(''),'/15511/52393.html','true',[],'']
	],''],
	['PAGE','15516',jdecode('Baubeschreibung+Probe'),jdecode(''),'/15516.html','false',[],''],
	['PAGE','112201',jdecode('Baubeschreibung'),jdecode(''),'/112201.html','true',[],''],
	['PAGE','15531',jdecode('Grundst%C3%BCcks-Service'),jdecode(''),'/15531.html','true',[],''],
	['PAGE','15536',jdecode('Finanzierungs-Service'),jdecode(''),'/15536.html','true',[],''],
	['PAGE','15541',jdecode('Versicherungs-Service'),jdecode(''),'/15541.html','true',[],''],
	['PAGE','101501',jdecode('Mitarbeiter+gesucht'),jdecode(''),'/101501.html','false',[],''],
	['PAGE','38230',jdecode('Anfahrt'),jdecode(''),'/38230.html','true',[],''],
	['PAGE','81901',jdecode('Kontakt'),jdecode(''),'/81901.html','true',[],''],
	['PAGE','13847',jdecode('Impressum'),jdecode(''),'/13847.html','true',[],'']];
var siteelementCount=45;
theSitetree.topTemplateName='Profile';
theSitetree.paletteFamily='003399';
theSitetree.keyvisualId='1225';
theSitetree.keyvisualName='kinder.jpg';
theSitetree.fontsetId='190';
theSitetree.graphicsetId='228';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Profile',
				paletteFamily: 	'003399',
				keyvisualId: 	'1225',
				keyvisualName: 	'kinder.jpg',
				fontsetId: 		'190',
				graphicsetId: 	'228',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'003399',
				b_color: 		'000066',
				c_color: 		'000000',
				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:  '13801',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13801',
internalId:  '',
customField: '20111023-113202'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13812',
internalId:  '',
customField: '20100329-135513'
};
webappMappings['1007']=webappMappings['1007-103228edc2d']={
webappId:    '1007',
documentId:  '20302',
internalId:  '103228edc2d',
customField: 'g.10ch8nrg0.g1uf40s32b.3o'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '38230',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1501']=webappMappings['1501-12596250']={
webappId:    '1501',
documentId:  '13801',
internalId:  '12596250',
customField: '1501'
};
webappMappings['1008']=webappMappings['1008-27906825']={
webappId:    '1008',
documentId:  '81901',
internalId:  '27906825',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20725',
internalId:  '',
customField: '20100827-092322'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15506',
internalId:  '',
customField: '20110902-121631'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15501',
internalId:  '',
customField: '20100329-115544'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45332',
internalId:  '',
customField: '20120106-102145'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56301',
internalId:  '',
customField: '20120106-102220'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38929',
internalId:  '',
customField: '20050906-182309'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68601',
internalId:  '',
customField: '20060723-195801'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68622',
internalId:  '',
customField: '20060723-190401'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47532',
internalId:  '',
customField: '20050906-182344'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73501',
internalId:  '',
customField: '20060725-155230'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73522',
internalId:  '',
customField: '20080509-120854'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47595',
internalId:  '',
customField: '20050906-182223'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73543',
internalId:  '',
customField: '20060726-123845'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46232',
internalId:  '',
customField: '20080509-120947'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46263',
internalId:  '',
customField: '20050906-181928'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73564',
internalId:  '',
customField: '20060726-125304'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77401',
internalId:  '',
customField: '20060725-195639'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74901',
internalId:  '',
customField: '20060725-165528'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77422',
internalId:  '',
customField: '20060725-202544'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74922',
internalId:  '',
customField: '20060725-180140'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74943',
internalId:  '',
customField: '20060725-184945'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77443',
internalId:  '',
customField: '20080906-154236'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20302',
internalId:  '',
customField: '20060318-165541'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15511',
internalId:  '',
customField: '20060316-130910'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52288',
internalId:  '',
customField: '20101228-133708'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52330',
internalId:  '',
customField: '20101228-133803'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52309',
internalId:  '',
customField: '20101228-133947'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52351',
internalId:  '',
customField: '20101228-134037'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52372',
internalId:  '',
customField: '20101228-134118'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52393',
internalId:  '',
customField: '20120106-103812'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15516',
internalId:  '',
customField: '20110101-175359'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15531',
internalId:  '',
customField: '20081109-131006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15536',
internalId:  '',
customField: '20101228-162435'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15541',
internalId:  '',
customField: '20081218-113200'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38230',
internalId:  '',
customField: '20050426-185455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '81901',
internalId:  '',
customField: '20110526-090152'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13847',
internalId:  '',
customField: '20110526-090227'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87201',
internalId:  '',
customField: '20070214-094405'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87222',
internalId:  '',
customField: '20070206-170411'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87243',
internalId:  '',
customField: '20070204-185828'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '97701',
internalId:  '',
customField: '20120106-102248'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '101501',
internalId:  '',
customField: '20100330-164709'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '112201',
internalId:  '',
customField: '20110526-113013'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0INEIKT';
var companyName   = 'MASSIV+-+FACHGERECHT+%26+PREISWERT';
var htmlTitle	  = 'WFT+Massivhaus%2C+preiswert+bauen+in+Sachsen+Sachsen-Anhalt+Th%C3%BCring';
var metaKeywords  = 'Massivhaus%2C+Bautr%C3%A4ger%2C+Hausbau%2C+Bauunternehmen%2C+Sachsen%2C+Sachsen-Anhalt%2C+Th%C3%BCringen%2C+preiswert%2C+Fertighaus%2C+Typenhaus%2C+Massivh%C3%A4user%2C+Einfamilienhaus%2C+Einfamilienh%C3%A4user%2C+Erdw%C3%A4rme%2C+Solar%2C+L%C3%BCftung%2C+Passivhaus%2C+Energiesparhaus%2C+KfW55%2C+KfW70%2C+Niedrigenergiehaus%2C+Hausbaufirmen%2C+Leipzig%2C+Halle%2C+Dresden%2C+Chemnitz%2C+Zwickau%2C++Generalauftragnehmer%2C+Bauplanung%2C+Immobilien%2C+Neubau%2C';
var metaContents  = 'Massivh%C3%A4user+schl%C3%BCsselfertig+Stein-auf-Stein+aus+Ytong+oder+Poroton.+Typenh%C3%A4user+oder+individuelle+Architektenh%C3%A4user+auch+mit+Erdw%C3%A4rmepumpe+als+Energieeffizienzhaus';
					                                                                    
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 */					                                                            

