/* [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','40569',jdecode('Biographie'),jdecode(''),'/40569.html','true',[],''],
	['PAGE','40587',jdecode('Referenzen'),jdecode(''),'/40587.html','true',[],''],
	['PAGE','40596',jdecode('Potraitgalerie+%2F+Pressebilder'),jdecode(''),'/40596.html','false',[],''],
	['PAGE','40605',jdecode('Let%C2%B4s+Swing+%26+Rock%C2%B4n%C2%B4Roll'),jdecode(''),'/40605.html','true',[],''],
	['PAGE','40614',jdecode('Der+Schlagers%C3%A4nger'),jdecode(''),'/40614.html','true',[],''],
	['PAGE','40578',jdecode('Let%C2%B4s+Swing+to+Christmas'),jdecode(''),'/40578.html','true',[],''],
	['PAGE','40623',jdecode('Ihre+Meinung'),jdecode(''),'/40623.html','true',[],''],
	['PAGE','40632',jdecode('Empfehlenswertes'),jdecode(''),'/40632.html','true',[],''],
	['PAGE','40641',jdecode('KONTAKT+%2F+Impressum'),jdecode(''),'/40641.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Instrument';
theSitetree.paletteFamily='FBBE5D';
theSitetree.keyvisualId='6154';
theSitetree.keyvisualName='kv_6154.jpg';
theSitetree.fontsetId='11134';
theSitetree.graphicsetId='11931';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='F9CE7C';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Instrument',
				paletteFamily: 	'FBBE5D',
				keyvisualId: 	'6154',
				keyvisualName: 	'kv_6154.jpg',
				fontsetId: 		'11134',
				graphicsetId: 	'11931',
				contentColor: 	'000000',
				contentBGColor: 'F9CE7C',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'98631A',
				e_color: 		'98631A',
				f_color: 		'98631A',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
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-115035'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40623',
internalId:  '',
customField: '20110912-174503'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40578',
internalId:  '',
customField: '20111221-112609'
};
webappMappings['1008']=webappMappings['1008-69845526']={
webappId:    '1008',
documentId:  '40623',
internalId:  '69845526',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40614',
internalId:  '',
customField: '20111101-133638'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40569',
internalId:  '',
customField: '20110912-174812'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40587',
internalId:  '',
customField: '20111209-113050'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40632',
internalId:  '',
customField: '20111005-154242'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40605',
internalId:  '',
customField: '20111101-131111'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40596',
internalId:  '',
customField: '20100726-223238'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40641',
internalId:  '',
customField: '20110912-174354'
};
webappMappings['1008']=webappMappings['1008-70112134']={
webappId:    '1008',
documentId:  '40641',
internalId:  '70112134',
customField: 'de:DE::;language:de;country:DE;'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IRXNXV';
var companyName   = 'MARCO+GENNARO++++++++++++++++++++++++ENTERTAINMENT';
var htmlTitle	  = 'MARCO+GENNARO+-+Entertainment+der+Extraklasse';
var metaKeywords  = 'Biographie%2C+Referenzen%2C+Galerien%2C+H%C3%B6rproben%2C+usw.';
var metaContents  = 'DIE+OFFIZIELLE+HOMEPAGE+vom+Entertainer+und+S%C3%A4nger+aus+Bochum+f%C3%BCr+Oldies%2C+Swing%2C+Pop+und+deutschem+Schlager.';
					                                                                    
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 */					                                                            

