/* [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','40020',jdecode('Startseite'),jdecode(''),'/40020.html','true',[],''],
	['PAGE','40031',jdecode('%C3%9Cber+Aris'),jdecode(''),'/40031.html','true',[],''],
	['PAGE','40040',jdecode('News'),jdecode(''),'/40040.html','true',[],''],
	['PAGE','42113',jdecode('Aktuelle+Konzerte'),jdecode(''),'/42113.html','true',[],''],
	['PAGE','42478',jdecode('Besinnliche+Welten-Konzert'),jdecode(''),'/42478.html','true',[],''],
	['PAGE','42137',jdecode('Livekonzerte'),jdecode(''),'/42137.html','true',[],''],
	['PAGE','42146',jdecode('Discographie'),jdecode(''),'/42146.html','true',[],''],
	['PAGE','42155',jdecode('Filmmusik'),jdecode(''),'/42155.html','true',[],''],
	['PAGE','42183',jdecode('H%C3%B6rfunk%2FTheater%2FWerbung'),jdecode(''),'/42183.html','true',[],''],
	['PAGE','42973',jdecode('H%C3%B6rbeispiele'),jdecode(''),'/42973.html','true',[],''],
	['PAGE','42986',jdecode('Filmmusik+H%C3%B6rbeispiele'),jdecode(''),'/42986.html','true',[],''],
	['PAGE','42634',jdecode('Multimedia'),jdecode(''),'/42634.html','true',[],''],
	['PAGE','42233',jdecode('Bildergalerie+1'),jdecode(''),'/42233.html','true',[],''],
	['PAGE','42164',jdecode('Presse'),jdecode(''),'/42164.html','true',[],''],
	['PAGE','44801',jdecode('Liste+EURO.PA.+-+Ausl%C3%A4nderbeiratswahl'),jdecode(''),'/44801.html','false',[],''],
	['PAGE','42703',jdecode('Friends'),jdecode(''),'/42703.html','true',[],''],
	['PAGE','40049',jdecode('Kontakt'),jdecode(''),'/40049.html','true',[],''],
	['PAGE','40058',jdecode('Impressum'),jdecode(''),'/40058.html','true',[],'']];
var siteelementCount=18;
theSitetree.topTemplateName='Activate';
theSitetree.paletteFamily='1E3A6F';
theSitetree.keyvisualId='2026';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='339';
theSitetree.graphicsetId='396';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='1E3A6F';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Activate',
				paletteFamily: 	'1E3A6F',
				keyvisualId: 	'2026',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'339',
				graphicsetId: 	'396',
				contentColor: 	'FFFFFF',
				contentBGColor: '1E3A6F',
				a_color: 		'1E3A6F',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '40020',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40020',
internalId:  '',
customField: '20090321-210807'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40031',
internalId:  '',
customField: '20070617-183536'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40058',
internalId:  '',
customField: '20090611-001218'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40040',
internalId:  '',
customField: '20111210-173953'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40049',
internalId:  '',
customField: '20070501-190210'
};
webappMappings['1008']=webappMappings['1008-33416689']={
webappId:    '1008',
documentId:  '40049',
internalId:  '33416689',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42113',
internalId:  '',
customField: '20111210-174441'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42137',
internalId:  '',
customField: '20090213-195733'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42146',
internalId:  '',
customField: '20070617-184130'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42155',
internalId:  '',
customField: '20100928-214619'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42164',
internalId:  '',
customField: '20101127-024103'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42183',
internalId:  '',
customField: '20091112-180843'
};
webappMappings['1007']=webappMappings['1007-112d26ae814']={
webappId:    '1007',
documentId:  '42233',
internalId:  '112d26ae814',
customField: 'g.12b960u1u.277grmnvfkr.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42233',
internalId:  '',
customField: '20070616-185418'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42703',
internalId:  '',
customField: '20090509-211831'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42478',
internalId:  '',
customField: '20071230-105448'
};
webappMappings['7060']=webappMappings['7060-23d31cb867dbe4384327e635c029443c']={
webappId:    '7060',
documentId:  '42634',
internalId:  '23d31cb867dbe4384327e635c029443c',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42634',
internalId:  '',
customField: '20071226-192252'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42973',
internalId:  '',
customField: '20091109-144043'
};
webappMappings['7060']=webappMappings['7060-793d48c3e7b377af95958fee70143743']={
webappId:    '7060',
documentId:  '42973',
internalId:  '793d48c3e7b377af95958fee70143743',
customField: 'language:de;country:DE;'
};
webappMappings['7060']=webappMappings['7060-708a7e20aafb133a7a539f8344688bdf']={
webappId:    '7060',
documentId:  '42986',
internalId:  '708a7e20aafb133a7a539f8344688bdf',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42986',
internalId:  '',
customField: '20091117-172621'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44801',
internalId:  '',
customField: '20101207-020732'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0I720V5';
var companyName   = 'Aris+Aristofanous';
var htmlTitle	  = 'aris+aristofanous';
var metaKeywords  = 'Aris+Aristofanous%2C+Komponist%2C+S%C3%A4nger%2C+Musiker%2C+Texter%2C+Produzent%2C+Filmmusik.+Wunderbare+Wasserwege%2C+Tora+Stigmes+Zypern+Konzerte+Musikproduktion+Griechenland+Bel+Etage+Theater+Live-Musik+Events+Veranstaltungen+Filmmusik+Tonstudio+Musikverlag+Tonaufnahmen';
var metaContents  = 'Aris+Aristofanous%2C+Komponist%2C+S%C3%A4nger%2C+Musiker%2C+Texter%2C+Produzent%2C+Filmmusik.+';
					                                                                    
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 */					                                                            

