/* [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','13668',jdecode('Home'),jdecode(''),'/13668.html','true',[],''],
	['PAGE','13901',jdecode('Studio+A'),jdecode(''),'/13901.html','true',[],''],
	['PAGE','13906',jdecode('Studio+B'),jdecode(''),'/13906.html','true',[],''],
	['PAGE','13911',jdecode('Studio+C'),jdecode(''),'/13911.html','false',[],''],
	['PAGE','27140',jdecode('Online+Mixing'),jdecode(''),'/27140/home.html','false',[ 
		['PAGE','27540',jdecode('Online-Mixing+%28Folgeseite%29'),jdecode(''),'/27140/27540.html','false',[],'']
	],''],
	['PAGE','15422',jdecode('Preise'),jdecode(''),'/15422.html','true',[],''],
	['PAGE','13926',jdecode('Referenzen'),jdecode(''),'/13926.html','true',[],''],
	['PAGE','13931',jdecode('Lageplan'),jdecode(''),'/13931.html','true',[],''],
	['PAGE','13941',jdecode('Kontakt'),jdecode(''),'/13941/home.html','true',[ 
		['PAGE','21002',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/13941/21002.html','true',[],'']
	],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Movement';
theSitetree.paletteFamily='333F65';
theSitetree.keyvisualId='1819';
theSitetree.keyvisualName='kv_dummy.jpg';
theSitetree.fontsetId='291';
theSitetree.graphicsetId='355';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='333F65';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Movement',
				paletteFamily: 	'333F65',
				keyvisualId: 	'1819',
				keyvisualName: 	'kv_dummy.jpg',
				fontsetId: 		'291',
				graphicsetId: 	'355',
				contentColor: 	'FFFFFF',
				contentBGColor: '333F65',
				a_color: 		'333F65',
				b_color: 		'040507',
				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:  '13668',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']=webappMappings['1001-atoix0in2dy4fee80f5c14']={
webappId:    '1001',
documentId:  '13941',
internalId:  'atoix0in2dy4fee80f5c14',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0in2dy4fee80f5c14']={
webappId:    '1001',
documentId:  '21002',
internalId:  'atoix0in2dy4fee80f5c14',
customField: 'followUp'
};
webappMappings['1001']=webappMappings['1001-atoix0in2dy410920f0a7bd']={
webappId:    '1001',
documentId:  '27140',
internalId:  'atoix0in2dy410920f0a7bd',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0in2dy410920f0a7bd']={
webappId:    '1001',
documentId:  '27540',
internalId:  'atoix0in2dy410920f0a7bd',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13668',
internalId:  '',
customField: '20070515-175634'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13926',
internalId:  '',
customField: '20080401-164849'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13901',
internalId:  '',
customField: '20041219-164437'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13906',
internalId:  '',
customField: '20041219-164420'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13911',
internalId:  '',
customField: '20080116-101802'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27140',
internalId:  '',
customField: '20080116-101942'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27540',
internalId:  '',
customField: '20060131-155232'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15422',
internalId:  '',
customField: '20090526-002417'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13931',
internalId:  '',
customField: '20090526-001923'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13941',
internalId:  '',
customField: '20081208-114620'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21002',
internalId:  '',
customField: '20060505-124024'
};
var canonHostname = 'cfawrk01.aul.t-online.de';
var accountId     = 'ATOIX0IN2DY4';
var companyName   = 'WERYTON+STUDIOS+KG';
var htmlTitle	  = 'Weryton+Studios+KG';
var metaKeywords  = 'Tonstudio%3B+Studio%3B+Music%3B+Musik%3B+Recording%3B+Mixing%3B+Mastering%3B+musikproduktion%3B+Mischen%3B+Popstars%3B+Aufnahme%3B+Recording+Studio+Munich%3B+Recording+Studios+Munich%3B+Recoding+Studio+Germany';
var metaContents  = 'Recording+Studio+Munich+Germany%2C+Tonstudio+%2F+Music+Studio+M%C3%BCnchen';
					                                                                    
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 */					                                                            

