/* [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','40635',jdecode('K%C3%BCnstler-Brunnen'),jdecode(''),'/40635.html','true',[],''],
	['PAGE','40581',jdecode('Leistungen'),jdecode(''),'/40581.html','true',[],''],
	['PAGE','40590',jdecode('Referenzen'),jdecode(''),'/40590/home.html','true',[ 
		['PAGE','40599',jdecode('Projekte'),jdecode(''),'/40590/40599.html','true',[],''],
		['PAGE','40608',jdecode('Partner'),jdecode(''),'/40590/40608.html','true',[],''],
		['PAGE','40617',jdecode('Wettbewerbe'),jdecode(''),'/40590/40617.html','true',[],''],
		['PAGE','40626',jdecode('Presse'),jdecode(''),'/40590/40626.html','true',[],'']
	],''],
	['PAGE','40680',jdecode('Kontakt'),jdecode(''),'/40680/home.html','true',[ 
		['PAGE','42273',jdecode('Links'),jdecode(''),'/40680/42273.html','true',[],''],
		['PAGE','40644',jdecode('Impressum'),jdecode(''),'/40680/40644.html','true',[],'']
	],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Lifecycle';
theSitetree.paletteFamily='D85651';
theSitetree.keyvisualId='4460';
theSitetree.keyvisualName='kv_4460.jpg';
theSitetree.fontsetId='10815';
theSitetree.graphicsetId='11264';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='7F7F7F';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Lifecycle',
				paletteFamily: 	'D85651',
				keyvisualId: 	'4460',
				keyvisualName: 	'kv_4460.jpg',
				fontsetId: 		'10815',
				graphicsetId: 	'11264',
				contentColor: 	'FFFFFF',
				contentBGColor: '7F7F7F',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '40635',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40680',
internalId:  '',
customField: '20091107-164808'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40635',
internalId:  '',
customField: '20091107-150148'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40644',
internalId:  '',
customField: '20100127-135308'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40581',
internalId:  '',
customField: '20091107-151744'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40590',
internalId:  '',
customField: '20090729-140136'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40626',
internalId:  '',
customField: '20090713-213327'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40599',
internalId:  '',
customField: '20091107-151313'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40608',
internalId:  '',
customField: '20091107-151335'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40617',
internalId:  '',
customField: '20090711-170202'
};
webappMappings['1008']=webappMappings['1008-61115243']={
webappId:    '1008',
documentId:  '40680',
internalId:  '61115243',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42273',
internalId:  '',
customField: '20090806-184458'
};
var canonHostname = 'cfawrk03.aul.t-online.de';
var accountId     = 'ATOIX0IRGOY9';
var companyName   = 'K%C3%BCnstler-Brunnen';
var htmlTitle	  = 'K%C3%BCnstler-Brunnen%2C+Brunnenanlagen%2C+Skulpturenbrunnen%2C+Kunst%2C+Brunnen';
var metaKeywords  = 'Brunnen%2CKunst%2C+K%C3%BCnstlerbrunnen%2C+St%C3%A4dte%2C+Gemeinden%2C+Firmen%2C+Institutionen%2C+K%C3%BCnstler+-+Brunnen%2C+Privatg%C3%A4rten%2C+H%C3%A4user%2C+Wohnanlagen%2C+Krankenh%C3%A4user+in+Bremen%2C+Hannover%2C+Oldenburg%2C+Osnabr%C3%BCck%2C+Oberhausen%2C+M%C3%BCnster%2C+Hamburg%2C+Frankfurt%2C+Plauen%2C+Berlin%2C++Mainz%2C+K%C3%B6ln%2C+Stuttgart%2C+M%C3%BCnchen%2C+N%C3%BCrnberg%2C+Leipzig%2C+Bad+Kreuznach%2C+Referenzen%2C+Partner%2C+Leistungen%2C+Wettbewerbe%2C+Preise%2C+Platzierungen%2C+Mittel%2C+Umraum%2C+Kunst+im+%C3%B6ffentlichen+Raum%2C+Font%C3%A4nen%2C+Wassertisch%2C+Brunnentechnik%2C+Bronzeskulturen%2C+Brunnen+aus+Bronze%2C+K%C3%BCnstlerbrunnen+mit+Brunnentisch+aus+Granit+und+Bronzeskulpturen%2C+Kunst%2C+Font%C3%A4nen%2C+Wasserspiel%2C+Denkmalbrunnen%2C+Gartenbrunnen%2C+Gartenbrunnen+mit+Kunst%2C+Brunnenplastiken%2C+Brunnenskulpturen%2C+Brunnengestaltung%2C+Zylinderbrunnen%2C+Brunnenbecken+mit++k%C3%BCnstlerischer+Gestaltung%2C+Themenbrunnen%2C+Brunnen+als+Wassertisch+mit+Font%C3%A4nen%2C+Wandbrunnen+aus+Stein%2C+Wandbrunnen+aus+Bronze+oder+Aluminium';
var metaContents  = 'Brunnen+und+Kunst%2C+Kunst+am+Brunnen%2C+K%C3%BCnstlerbrunnen%2C+Denkmalbrunnen%2C+Gartenbrunnen%2C+Gartenbrunnen+mit+Kunst%2C+Brunnenplastiken%2C+Brunnenskulpturen%2C+Brunnengestaltung%2C+Zylinderbrunnen%2C+Brunnenbecken+mit++k%C3%BCnstlerischer+Gestaltung%2C+Themenbrunnen%2C+Brunnen+als+Wassertisch+mit+Font%C3%A4nen%2C+Wandbrunnen+aus+Stein%2C+Wandbrunnen+aus+Bronze+oder+Aluminium+f%C3%BCr+St%C3%A4dte%2C+Gemeinden%2C+Firma%2C+Institution%2C+Privatg%C3%A4rten%2C+H%C3%A4user%2C+Wohnanlagen%2C+Krankenh%C3%A4user.+K%C3%BCnstlerbrunnen+f%C3%BCr+Bremen%2C+Hannover%2C+Oldenburg%2C+Kunst+und+Brunnen+f%C3%BCr+Osnabr%C3%BCck%2C+Oberhausen%2C+M%C3%BCnster%2C+Brunnen+vom+K%C3%BCnstler+f%C3%BCr+Hamburg%2C+Frankfurt%2C+Plauen%2C+Berlin%2C++K%C3%BCnstlerbrunnen+mit+Brunnentisch+aus+Granit+und+Bronzeskulpturen%2C+Kunst%2C+Font%C3%A4nen%2C+Wasserspiel+etc.+f%C3%BCr+Mainz%2C+K%C3%B6ln%2C+Stuttgart%2C+M%C3%BCnchen%2C+N%C3%BCrnberg%2C+Wassertisch%2C+Font%C3%A4nen+f%C3%BCr+Leipzig%2C+Bad+Kreuznach%2C+Westerstede';
					                                                                    
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 */					                                                            

