/* [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','5888',jdecode('Home'),jdecode(''),'/5888.html','true',[],''],
	['PAGE','38765',jdecode('POP'),jdecode(''),'/38765.html','true',[],''],
	['PAGE','78401',jdecode('+HOUSE+'),jdecode(''),'/78401.html','true',[],''],
	['PAGE','128701',jdecode('SOUL'),jdecode(''),'/128701.html','true',[],''],
	['PAGE','77701',jdecode('DEUTSCH+'),jdecode(''),'/77701.html','true',[],''],
	['PAGE','11128',jdecode('Kontakt+++++Impressum'),jdecode(''),'/11128.html','true',[],''],
	['PAGE','62201',jdecode('Anfahrt'),jdecode(''),'/62201.html','true',[],''],
	['PAGE','133101',jdecode('+MH+-+Vocal+School'),jdecode(''),'/133101.html','true',[],''],
	['PAGE','141501',jdecode('+MH+-+TV'),jdecode(''),'/141501.html','true',[],'']];
var siteelementCount=9;
theSitetree.topTemplateName='TOI_Interieur_02';
theSitetree.paletteFamily='E3E3E3';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33408';
theSitetree.graphicsetId='14269';
theSitetree.contentColor='F4F4F4';
theSitetree.contentBGColor='1A1919';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Interieur_02',
				paletteFamily: 	'E3E3E3',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33408',
				graphicsetId: 	'14269',
				contentColor: 	'F4F4F4',
				contentBGColor: '1A1919',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Palatino Linotype, Book Antiqua, Palatino, serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '5888',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-603381']={
webappId:    '1501',
documentId:  '5888',
internalId:  '603381',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62201',
internalId:  '',
customField: '20071011-214502'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5888',
internalId:  '',
customField: '20120118-133318'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38765',
internalId:  '',
customField: '20110901-133844'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77701',
internalId:  '',
customField: '20111120-144622'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11128',
internalId:  '',
customField: '20111129-135548'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78401',
internalId:  '',
customField: '20110707-132827'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '62201',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '128701',
internalId:  '',
customField: '20110707-132919'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '133101',
internalId:  '',
customField: '20111129-135332'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '141501',
internalId:  '',
customField: '20110804-130037'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0INV17E';
var companyName   = 'Mystical+Hunters+Records';
var htmlTitle	  = 'Mystical+Hunters+Records';
var metaKeywords  = 'Gustl+Gensmantel%2CMusik%2Cvpm.promotion%2C+Michelle+Bowers%2CDance+of+Boulevard%2C+Roy+Mon%2CProduction%2CK%C3%BCnstler%2CTapetenwechsel%2CCasting%2CEvent%2CManagement%2CB%C3%BChne%2CSingen%2C%2Cmedy%2CMerythor%2CTheater%2CLivemusik%2CShow%2CTalente%2CMysticalHunters+Records.de%2CCoaching%2CTour%2CVoicebite%2CDj+Don+Jogi%2CRomy+Haag%2CDownload%2C+Musik%2CVocal+School%2CGesangsunterricht%2C+Shop%2CDenada+bros%2CDolicia%2CJ.Random%2C+Paris%2CLila%2CJay%2CGl%C3%BCck%2CPlattenvertrag%2CMusicload%2Caol%2Cmp3.de%2CiTunes%2CPure%2Crecords%2CEsko%2CBoulevard%2CStuttgart%2CParty%2CHouse%2CPop%2CLatino%2CBlack%2CHip+Hop%2CTrance%2CSingle%2CAlbum%2Ccd%2Csarah%2CPlattenfirma%2Cjamba.de%2CVodafone+Musik%2CTiara%2CDJ+Suat%2Cmh-records.de%2CVocal+School%2CGesangsunterricht';
var metaContents  = '+Music+Label+Mystical+Hunters+Records+mh-records.de+Stuttgart+Gustl+Gensmantel.+Vocal+School%2CGesangsunterricht%2CMusikproduzent.';
					                                                                    
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 */					                                                            

