/* [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','40292',jdecode('Home'),jdecode(''),'/40292.html','true',[],''],
	['PAGE','40312',jdecode('25+Jahre+SES'),jdecode(''),'/40312.html','true',[],''],
	['PAGE','40339',jdecode('Konzerte%2FTermine'),jdecode(''),'/40339/home.html','true',[ 
		['PAGE','40628',jdecode('Proben%2FAnfahrt'),jdecode(''),'/40339/40628.html','true',[],'']
	],''],
	['PAGE','40357',jdecode('Trio+Napoletana'),jdecode(''),'/40357.html','true',[],''],
	['PAGE','40303',jdecode('Kontakt'),jdecode(''),'/40303.html','true',[],''],
	['PAGE','40366',jdecode('CDs'),jdecode(''),'/40366.html','true',[],''],
	['PAGE','40724',jdecode('G%C3%A4stebuch+%26+Am%C3%BCsantes'),jdecode(''),'/40724/home.html','true',[ 
		['PAGE','40723',jdecode('Eintr%C3%A4ge'),jdecode(''),'/40724/40723.html','true',[],'']
	],''],
	['PAGE','40802',jdecode('Bildergalerie'),jdecode(''),'/40802.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Snapshot';
theSitetree.paletteFamily='AB354B';
theSitetree.keyvisualId='3628';
theSitetree.keyvisualName='kv_3628.jpg';
theSitetree.fontsetId='10755';
theSitetree.graphicsetId='10874';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='AB354B';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Snapshot',
				paletteFamily: 	'AB354B',
				keyvisualId: 	'3628',
				keyvisualName: 	'kv_3628.jpg',
				fontsetId: 		'10755',
				graphicsetId: 	'10874',
				contentColor: 	'FFFFFF',
				contentBGColor: 'AB354B',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'FC5E7B',
				e_color: 		'BFBFBF',
				f_color: 		'050001',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '40292',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40292',
internalId:  '',
customField: '20100712-122115'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40303',
internalId:  '',
customField: '20090418-201000'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40312',
internalId:  '',
customField: '20100712-122159'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40628',
internalId:  '',
customField: '20101228-170718'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '40628',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40357',
internalId:  '',
customField: '20110821-091558'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40366',
internalId:  '',
customField: '20070415-133114'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40339',
internalId:  '',
customField: '20110911-195840'
};
webappMappings['1008']=webappMappings['1008-33530667']={
webappId:    '1008',
documentId:  '40303',
internalId:  '33530667',
customField: 'de:DE:'
};
webappMappings['1002']=webappMappings['1002-40724atoix0i7x2qe']={
webappId:    '1002',
documentId:  '40724',
internalId:  '40724atoix0i7x2qe',
customField: 'action=form&icq=false'
};
webappMappings['1007']=webappMappings['1007-111f2080db6']={
webappId:    '1007',
documentId:  '40802',
internalId:  '111f2080db6',
customField: 'g.127p0cmfj.lg0o7guso1.3o'
};
webappMappings['1002']=webappMappings['1002-40724atoix0i7x2qe']={
webappId:    '1002',
documentId:  '40723',
internalId:  '40724atoix0i7x2qe',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40724',
internalId:  '',
customField: '20080203-130438'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40723',
internalId:  '',
customField: '20070419-195545'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40802',
internalId:  '',
customField: '20100708-184204'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0I7X2QE';
var companyName   = 'Saiten-Ensemble+Steglitz';
var htmlTitle	  = 'Saiten-Ensemble+Steglitz+Zupforchester+in+Berlin';
var metaKeywords  = 'Saiten-Ensemble+Steglitz%2C+Saitensteg%2C+Ensemble%2C+Zupforchester%2C+Orchester%2C+Mandoline%2C+Mandola%2C+Gitarre%2C+Zupforchester%2C+Bass%2C+Kontrabass%2C+Dirigent%2C+Konzert%2C+Steglitz%2C+Berlin%2C+CD%2C+Kammermusik%2C+Barockmusik%2C+Folklore%2C+Saiteninstrumente%2C+Heyn%2C+Mandolinist%2C+Gitarrist%2C+Verein%2C+Komponist%2C+Zupfmusiker%2C+Musikschule%2C+Musik%2C+Instrumente%2C+Instrumentalmusik%2C+Birgit+Flo%C3%9Fdorf+geb.+Sch%C3%A4fer%2C+Birgit+Sch%C3%A4fer%2C+Konzerte%2C+Margareta+Vogl%2C+Walter-Thomas+Heyn%2C+Trio+Napoletana%2C+Wir+bilden+aus%2C+Mandolinenunterricht%2C+Gitarrenunterricht%2C+Orchester+Berlin+S%C3%BCdwesten%2C+Berlin-Steglitz%2C+Peter+Rudolf%2C+El+Mano%2C+Sternbilder%2C+Das+Auf+und+Ab+im+Leben%2C+La+Donna+Padrona%2C+Die+Magd+als+Herrin';
var metaContents  = 'Zupforchester+aus+Berlin-Steglitz%2C+Konzerte+und+Opern%2C+Mandolinenunterricht%2C+Workshops%2C+++++';
					                                                                    
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 */					                                                            

