/* [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','44',jdecode('Willkommen'),jdecode(''),'/44.html','true',[],''],
	['PAGE','41871',jdecode('Micha+der+Entertainer'),jdecode(''),'/41871.html','true',[],''],
	['PAGE','40555',jdecode('Micha+auch+mit+Band%21'),jdecode(''),'/40555.html','false',[],''],
	['PAGE','40564',jdecode('Referenzen%2FGeschichte'),jdecode(''),'/40564.html','false',[],''],
	['PAGE','40596',jdecode('Grosse+Bildergalerie'),jdecode(''),'/40596.html','false',[],''],
	['PAGE','40537',jdecode('Der+Keyboardlehrer%21'),jdecode(''),'/40537.html','false',[],''],
	['PAGE','40573',jdecode('Kontakt+%26+Impressum'),jdecode(''),'/40573.html','true',[],''],
	['PAGE','40582',jdecode('Links'),jdecode(''),'/40582.html','true',[],''],
	['PAGE','40811',jdecode('G%C3%A4stebuch'),jdecode(''),'/40811/home.html','false',[ 
		['PAGE','40810',jdecode('Eintr%C3%A4ge'),jdecode(''),'/40811/40810.html','false',[],'']
	],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Cinema';
theSitetree.paletteFamily='818181';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='16613';
theSitetree.graphicsetId='12211';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='818181';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Cinema',
				paletteFamily: 	'818181',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'16613',
				graphicsetId: 	'12211',
				contentColor: 	'FFFFFF',
				contentBGColor: '818181',
				a_color: 		'000000',
				b_color: 		'9A9A9A',
				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['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1007']=webappMappings['1007-10891a0950d']={
webappId:    '1007',
documentId:  '40596',
internalId:  '10891a0950d',
customField: 'g.1128pn37t.eb41jgrrj5.1s'
};
webappMappings['1002']=webappMappings['1002-40811atoix0inhyy5']={
webappId:    '1002',
documentId:  '40811',
internalId:  '40811atoix0inhyy5',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-40811atoix0inhyy5']={
webappId:    '1002',
documentId:  '40810',
internalId:  '40811atoix0inhyy5',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20120206-111708'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41871',
internalId:  '',
customField: '20120206-115904'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40564',
internalId:  '',
customField: '20120203-220852'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40582',
internalId:  '',
customField: '20120206-191034'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40537',
internalId:  '',
customField: '20120205-171248'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40555',
internalId:  '',
customField: '20120205-190639'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40596',
internalId:  '',
customField: '20120205-163647'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40573',
internalId:  '',
customField: '20120206-194631'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40811',
internalId:  '',
customField: '20090708-113946'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40810',
internalId:  '',
customField: '20090708-114259'
};
webappMappings['1501']=webappMappings['1501-5260284']={
webappId:    '1501',
documentId:  '44',
internalId:  '5260284',
customField: '1501'
};
webappMappings['1008']=webappMappings['1008-44460264']={
webappId:    '1008',
documentId:  '40573',
internalId:  '44460264',
customField: 'de:DE::;language:de;country:DE;'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0INHYY5';
var companyName   = 'Micha+M%C3%BCller-Alleinunterhalter%2FShow%2FBand-Nordhessen';
var htmlTitle	  = 'Alleinunterhalter+-+Tanz-+u.+Unterhaltungsmusik+-+Tanzband';
var metaKeywords  = 'Tanzmusik%2C+Alleinunterhalter%2C+Entertainer%2CTanzband%2C+Musiker%2C+Musikduo%2C+Showprogramm%2C+Keyboard%2C+Keyboardschule%2C+Immenhausen%2C+Kassel%2C+Nordhessen%2C+Deutschlandweit%2C+Veranstaltungstechnik%2C+Beschallungstechnik%2C+Moderation%2C+Eventgestaltung%2C+Hochzeiten%2C+Geburtstage%2C+Vereinsfeiern%2C+Partymusik%2C+Tanzmusik%2C+Unterhaltungsmusik%2C+Loungemusik%2C+S%C3%A4nger%2C+S%C3%A4ngerin%2C+Weinfeste%2C+Biergarten%2C+Karneval+';
var metaContents  = 'Buchen+Sie+mich+als+Alleinunterhalter%2C+auch+im+Duo+o.+mehr%21+Entertainment+vom+feinsten%21+Tanz-+u.+Unterhaltungsmusik+mit+Showeinlagen%21+In+der+RISING+STAR+Keyboardschule+werden+Sie+profssionel+unterrichtet%21';
					                                                                    
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 */					                                                            

