/* [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'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','42832',jdecode('Management'),jdecode(''),'/42832/home.html','true',[ 
		['PAGE','42060',jdecode('Roland+Event'),jdecode(''),'/42832/42060.html','true',[],''],
		['PAGE','42087',jdecode('DJ+-+Team'),jdecode(''),'/42832/42087.html','true',[],''],
		['PAGE','42078',jdecode('Konzerte+-+Fotogalerie'),jdecode(''),'/42832/42078.html','true',[],''],
		['PAGE','42096',jdecode('Event+-+Fotogalerie'),jdecode(''),'/42832/42096.html','true',[],'']
	],''],
	['PAGE','41064',jdecode('EVENTS-SHOW'),jdecode(''),'/41064/home.html','true',[ 
		['PAGE','42880',jdecode('25.02.2012+%22Savoy%22+D%C3%BCsseldorf'),jdecode(''),'/41064/42880.html','true',[],''],
		['PAGE','43082',jdecode('18.02.2012+%22Van+der+Valk%22'),jdecode(''),'/41064/43082.html','true',[],'']
	],''],
	['PAGE','41091',jdecode('MUSIK-STUDIO'),jdecode(''),'/41091.html','true',[],''],
	['PAGE','41754',jdecode('KINDER-MODEL'),jdecode(''),'/41754/home.html','true',[ 
		['PAGE','41618',jdecode('Model+-+%22KIDS%22++Flyer'),jdecode(''),'/41754/41618.html','true',[],''],
		['PAGE','42114',jdecode('Studio+-+Impressionen'),jdecode(''),'/41754/42114.html','true',[],'']
	],''],
	['PAGE','41100',jdecode('Web+-+Links'),jdecode(''),'/41100.html','true',[],''],
	['PAGE','41109',jdecode('Kontakt'),jdecode(''),'/41109.html','true',[],'']];
var siteelementCount=15;
theSitetree.topTemplateName='Party6';
theSitetree.paletteFamily='350909';
theSitetree.keyvisualId='8574';
theSitetree.keyvisualName='kv_8574.jpg';
theSitetree.fontsetId='17848';
theSitetree.graphicsetId='12500';
theSitetree.contentColor='FD7344';
theSitetree.contentBGColor='5C0909';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Party6',
				paletteFamily: 	'350909',
				keyvisualId: 	'8574',
				keyvisualName: 	'kv_8574.jpg',
				fontsetId: 		'17848',
				graphicsetId: 	'12500',
				contentColor: 	'FD7344',
				contentBGColor: '5C0909',
				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:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42832',
internalId:  '',
customField: '20111106-212147'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20111229-202605'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41064',
internalId:  '',
customField: '20111229-204954'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42880',
internalId:  '',
customField: '20111204-123747'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41091',
internalId:  '',
customField: '20110815-142803'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41100',
internalId:  '',
customField: '20111106-212113'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41109',
internalId:  '',
customField: '20111017-223743'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42078',
internalId:  '',
customField: '20110413-160243'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42087',
internalId:  '',
customField: '20110413-234737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41618',
internalId:  '',
customField: '20110220-211926'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41754',
internalId:  '',
customField: '20111106-204302'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43082',
internalId:  '',
customField: '20120120-121528'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42096',
internalId:  '',
customField: '20111106-130813'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42060',
internalId:  '',
customField: '20110413-153649'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42114',
internalId:  '',
customField: '20111106-205546'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IRIUQT';
var companyName   = 'EVENTS+-+SHOWS+-+D%C3%BCsseldorf';
var htmlTitle	  = '';
var metaKeywords  = '';
var metaContents  = '';
					                                                                    
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 */					                                                            

