/* [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','39994',jdecode('Startseite+und+Vorstand'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40413',jdecode('Vorteile+f%C3%BCr+Mitglieder'),jdecode(''),'/40413.html','true',[],''],
	['PAGE','41964',jdecode('Beitritt+und+Satzung'),jdecode(''),'/41964.html','true',[],''],
	['PAGE','41973',jdecode('Zeitung+u.+Landesverb.'),jdecode(''),'/41973.html','true',[],''],
	['PAGE','166901',jdecode('Mitgliederversammlung'),jdecode(''),'/166901.html','true',[],''],
	['PAGE','165601',jdecode('Tag+des+Eigentums'),jdecode(''),'/165601.html','true',[],''],
	['PAGE','77001',jdecode('Zentralverbandstag'),jdecode(''),'/77001.html','true',[],''],
	['PAGE','42633',jdecode('Downloads+und+Service'),jdecode(''),'/42633.html','true',[],''],
	['PAGE','87001',jdecode('%C2%A7%C2%A7+Das+aktuelle+Urteil+%C2%A7%C2%A7'),jdecode(''),'/87001.html','true',[],''],
	['PAGE','144601',jdecode('F%C3%B6rdermittel+suchen'),jdecode(''),'/144601.html','true',[],''],
	['PAGE','121701',jdecode('Mietnomaden'),jdecode(''),'/121701.html','true',[],''],
	['PAGE','41982',jdecode('Newsletter+und+Kontakt'),jdecode(''),'/41982.html','true',[],''],
	['PAGE','41991',jdecode('Formulardruck+online'),jdecode(''),'/41991.html','true',[],''],
	['PAGE','42000',jdecode('Mietpreise+%2B+Mietspiegel'),jdecode(''),'/42000.html','true',[],''],
	['PAGE','59301',jdecode('Grundst%C3%BCcksspiegel'),jdecode(''),'/59301.html','true',[],''],
	['PAGE','57701',jdecode('Bodenrichtwerte'),jdecode(''),'/57701.html','true',[],''],
	['PAGE','42009',jdecode('Links+und+Rechtsvorschr.'),jdecode(''),'/42009.html','true',[],''],
	['PAGE','64701',jdecode('Chronik+%C3%BCber+den+Verein'),jdecode(''),'/64701.html','true',[],''],
	['PAGE','71501',jdecode('Anfahrt+Rechtsberatung'),jdecode(''),'/71501.html','true',[],''],
	['PAGE','40424',jdecode('Impressum'),jdecode(''),'/40424.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Jakarta';
theSitetree.paletteFamily='6176B2';
theSitetree.keyvisualId='7854';
theSitetree.keyvisualName='kv_7854.jpg';
theSitetree.fontsetId='16854';
theSitetree.graphicsetId='12296';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='ABBBE8';
var theTemplate={
				hasFlashNavigation: 'true',
				hasFlashLogo: 	'true',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'true',
				hasCompanyname: 'false',
				name: 			'Jakarta',
				paletteFamily: 	'6176B2',
				keyvisualId: 	'7854',
				keyvisualName: 	'kv_7854.jpg',
				fontsetId: 		'16854',
				graphicsetId: 	'12296',
				contentColor: 	'000000',
				contentBGColor: 'ABBBE8',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'6176B2',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20120220-154632'
};
webappMappings['1501']=webappMappings['1501-56432276']={
webappId:    '1501',
documentId:  '39994',
internalId:  '56432276',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40424',
internalId:  '',
customField: '20120201-090306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40413',
internalId:  '',
customField: '20120212-174637'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41964',
internalId:  '',
customField: '20120124-175753'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41973',
internalId:  '',
customField: '20120221-102054'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41982',
internalId:  '',
customField: '20120212-124808'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42000',
internalId:  '',
customField: '20110424-075006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42009',
internalId:  '',
customField: '20110909-112459'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41991',
internalId:  '',
customField: '20120120-153126'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42633',
internalId:  '',
customField: '20120221-165113'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59301',
internalId:  '',
customField: '20110421-112928'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57701',
internalId:  '',
customField: '20111017-124940'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64701',
internalId:  '',
customField: '20110610-222309'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '71501',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '71501',
internalId:  '',
customField: '20100623-224211'
};
webappMappings['1008']=webappMappings['1008-71297244']={
webappId:    '1008',
documentId:  '41982',
internalId:  '71297244',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77001',
internalId:  '',
customField: '20120202-141454'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '166901',
internalId:  '',
customField: '20120212-130518'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '121701',
internalId:  '',
customField: '20120210-154354'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '144601',
internalId:  '',
customField: '20120219-102142'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '165601',
internalId:  '',
customField: '20111211-154430'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87001',
internalId:  '',
customField: '20120219-125849'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IRN83O';
var companyName   = 'Eigent%C3%BCmerschutz-Gemeinschaft+Haus+%26+Grund+Calw+e.+V.';
var htmlTitle	  = 'Haus+%26+Grund+Calw+e.+V.';
var metaKeywords  = 'Haus++Grund+Calw+e.+V.%2C+und%2C+Fachanwalt%2C+Newsletter%2C+Haus++Grund+W%C3%BCrttemberg%2C+Chronik%2C+Bildschirmschoner%2C+Formulardruck%2C+Mietvertr%C3%A4ge%2C+Tag+des+Eigentums%2C+Verbandstag%2C+Mietpreise%2C+Liederhalle%2C+Hegelsaal%2C+Vorteilspartner%2C+Hauseigent%C3%BCmer%2C+Verband%2C+Eigent%C3%BCmerschutz-Gemeinschaft%2C+Pr%C3%A4mie%2C+Mitgliederwerbung%2C+';
var metaContents  = 'Haus++Grund+Calw+e.+V.+informiert+und+unterst%C3%BCtzt+im+Miet-+und+Wohnungseigentumsrecht+und+bietet+eine+Reihe+von+Zusatzleistungen+an.';
					                                                                    
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 */					                                                            

