/* [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','24729',jdecode('Nachrichten'),jdecode(''),'/24729.html','true',[],''],
	['PAGE','44229',jdecode('B%C3%BCro'),jdecode(''),'/44229/home.html','true',[ 
		['PAGE','14415',jdecode('Curriculum+Vitae'),jdecode(''),'/44229/14415.html','true',[],''],
		['PAGE','54229',jdecode('Leistungen'),jdecode(''),'/44229/54229.html','true',[],''],
		['PAGE','41829',jdecode('Publikationen'),jdecode(''),'/44229/41829.html','true',[],''],
		['PAGE','44250',jdecode('Impressum'),jdecode(''),'/44229/44250.html','true',[],'']
	],''],
	['PAGE','14172',jdecode('Projekte'),jdecode(''),'/14172/home.html','true',[ 
		['PAGE','48029',jdecode('Projekt+Mensa+KCG'),jdecode(''),'/14172/48029.html','true',[],''],
		['PAGE','59729',jdecode('Studien+aus+dem+Skizzenbuch'),jdecode(''),'/14172/59729.html','false',[],''],
		['PAGE','41929',jdecode('Christuskirche'),jdecode(''),'/14172/41929.html','true',[],''],
		['PAGE','51929',jdecode('Stadttor'),jdecode(''),'/14172/51929.html','true',[],''],
		['PAGE','46229',jdecode('Wohnhaus+F59'),jdecode(''),'/14172/46229.html','true',[],''],
		['PAGE','17090',jdecode('Wohnhaus+H+2'),jdecode(''),'/14172/17090.html','true',[],''],
		['PAGE','17117',jdecode('Wohnhaus+0+41'),jdecode(''),'/14172/17117.html','true',[],''],
		['PAGE','51829',jdecode('Haus+der+Ev.Kirche'),jdecode(''),'/14172/51829.html','true',[],'']
	],''],
	['PAGE','20233',jdecode('Bauten+'),jdecode(''),'/20233/home.html','true',[ 
		['PAGE','14199',jdecode('Waldheim+M%C3%B6hringen'),jdecode(''),'/20233/14199.html','true',[],''],
		['PAGE','17063',jdecode('Wohnhaus+A+9'),jdecode(''),'/20233/17063.html','true',[],''],
		['PAGE','16982',jdecode('Wohnhaus+S+7'),jdecode(''),'/20233/16982.html','true',[],''],
		['PAGE','17009',jdecode('Wohnhaus+F+28'),jdecode(''),'/20233/17009.html','true',[],''],
		['PAGE','17036',jdecode('Wohnhaus+W+48'),jdecode(''),'/20233/17036.html','true',[],''],
		['PAGE','40029',jdecode('Wohnhaus+SG+4'),jdecode(''),'/20233/40029.html','true',[],'']
	],''],
	['PAGE','19974',jdecode('Restaurierung'),jdecode(''),'/19974/home.html','true',[ 
		['PAGE','20018',jdecode('Werkbericht'),jdecode(''),'/19974/20018.html','true',[],''],
		['PAGE','20027',jdecode('Obergaden+Mittelschiff'),jdecode(''),'/19974/20027.html','true',[],''],
		['PAGE','20036',jdecode('Seitenschiffe'),jdecode(''),'/19974/20036.html','true',[],'']
	],''],
	['PAGE','63129',jdecode('Renovierung'),jdecode(''),'/63129/home.html','true',[ 
		['PAGE','63150',jdecode('Wohnhaus+T+70'),jdecode(''),'/63129/63150.html','true',[],''],
		['PAGE','19992',jdecode('Wohnhaus+M+13'),jdecode(''),'/63129/19992.html','false',[],''],
		['PAGE','63192',jdecode('Anbau+von+Aufz%C3%BCgen'),jdecode(''),'/63129/63192.html','true',[],''],
		['PAGE','63171',jdecode('Anbau+von+Balkonen'),jdecode(''),'/63129/63171.html','true',[],''],
		['PAGE','65729',jdecode('Sanierung+Flachdach'),jdecode(''),'/63129/65729.html','true',[],'']
	],''],
	['PAGE','40929',jdecode('Erneuerbare+Energien'),jdecode(''),'/40929.html','true',[],''],
	['PAGE','14388',jdecode('Kontakt'),jdecode(''),'/14388/home.html','true',[ 
		['PAGE','14702',jdecode('Anfahrt'),jdecode(''),'/14388/14702.html','true',[],'']
	],'']];
var siteelementCount=35;
theSitetree.topTemplateName='Artless';
theSitetree.paletteFamily='828282';
theSitetree.keyvisualId='4540';
theSitetree.keyvisualName='kv_4540.jpg';
theSitetree.fontsetId='10823';
theSitetree.graphicsetId='11222';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='828282';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Artless',
				paletteFamily: 	'828282',
				keyvisualId: 	'4540',
				keyvisualName: 	'kv_4540.jpg',
				fontsetId: 		'10823',
				graphicsetId: 	'11222',
				contentColor: 	'FFFFFF',
				contentBGColor: '828282',
				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['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '14702',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1008']=webappMappings['1008-16557324']={
webappId:    '1008',
documentId:  '14388',
internalId:  '16557324',
customField: 'de:DE:'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '24729',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '65729',
internalId:  '',
customField: '20091110-150005'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19974',
internalId:  '',
customField: '20080114-181249'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20018',
internalId:  '',
customField: '20100104-134713'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14415',
internalId:  '',
customField: '20090609-180747'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24729',
internalId:  '',
customField: '20100104-134834'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14172',
internalId:  '',
customField: '20091026-193955'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16982',
internalId:  '',
customField: '20091016-160522'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17009',
internalId:  '',
customField: '20091016-160613'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17036',
internalId:  '',
customField: '20091016-160702'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19992',
internalId:  '',
customField: '20071130-152443'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17063',
internalId:  '',
customField: '20091110-144847'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17090',
internalId:  '',
customField: '20091016-160103'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17117',
internalId:  '',
customField: '20091016-160000'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20233',
internalId:  '',
customField: '20081001-095639'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14199',
internalId:  '',
customField: '20091110-144610'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20027',
internalId:  '',
customField: '20091016-160919'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20036',
internalId:  '',
customField: '20091016-161239'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14388',
internalId:  '',
customField: '20091213-113952'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14702',
internalId:  '',
customField: '20091223-103543'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40029',
internalId:  '',
customField: '20091110-145351'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40929',
internalId:  '',
customField: '20091005-175038'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41829',
internalId:  '',
customField: '20080201-153938'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41929',
internalId:  '',
customField: '20080704-144339'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44229',
internalId:  '',
customField: '20100104-135313'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44250',
internalId:  '',
customField: '20091213-113841'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54229',
internalId:  '',
customField: '20091026-182539'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46229',
internalId:  '',
customField: '20091213-113753'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48029',
internalId:  '',
customField: '20091110-150440'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51829',
internalId:  '',
customField: '20080901-215819'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51929',
internalId:  '',
customField: '20080831-204216'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63129',
internalId:  '',
customField: '20091026-182559'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63171',
internalId:  '',
customField: '20091110-150204'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59729',
internalId:  '',
customField: '20090922-141755'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63150',
internalId:  '',
customField: '20091016-161347'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63192',
internalId:  '',
customField: '20091110-145653'
};
var canonHostname = 'cfawrk09.aul.t-online.de';
var accountId     = 'ATOIX0INLXVX';
var companyName   = 'Gergs-Blum-Schempp+.+Architekten+in+Stuttgart';
var htmlTitle	  = 'Gergs-Blum-Schempp.+Architekten+in+Stuttgart';
var metaKeywords  = 'Siegfried+Gergs+Hansj%C3%B6rg+Blum+Marcus+Schempp+Architekten+Architekt+architect+Architektur+Stuttgart+Entwurf+Projekt+Geb%C3%A4ude+Wohnhaus+Restaurierung+Rekonstruktion+Denkmalpflege+Kirche+Schulbau+regenerative+erneuerbare+Energien+Wertermittlung+Holzbau';
var metaContents  = 'Willkommen+bei+den+Architekten+Gergs-Blum-Schempp%21+Ihr+Partner+fuer+die+Gestaltung+individueller+Haeuser%21++';
					                                                                    
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 */					                                                            
