/* [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','13721',jdecode('Home'),jdecode(''),'/13721.html','true',[],''],
	['PAGE','13778',jdecode('Info+Tonstudio'),jdecode(''),'/13778/home.html','true',[ 
		['PAGE','44921',jdecode('Studioequipment'),jdecode(''),'/13778/44921.html','true',[],'']
	],''],
	['PAGE','13832',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/13832.html','true',[],''],
	['PAGE','13805',jdecode('CD+Produktion'),jdecode(''),'/13805.html','true',[],''],
	['PAGE','49983',jdecode('Radioshow'),jdecode(''),'/49983.html','true',[],''],
	['PAGE','13886',jdecode('Geschenkidee'),jdecode(''),'/13886.html','true',[],''],
	['PAGE','13913',jdecode('Karaoke+for+Kids'),jdecode(''),'/13913.html','true',[],''],
	['PAGE','49787',jdecode('Eigene+K%C3%BCnstler'),jdecode(''),'/49787/home.html','true',[ 
		['PAGE','50204',jdecode('TED+GARNER'),jdecode(''),'/49787/50204.html','true',[],''],
		['PAGE','51288',jdecode('Marcus+Abel'),jdecode(''),'/49787/51288.html','true',[],''],
		['PAGE','13940',jdecode('Rick+Crasley'),jdecode(''),'/49787/13940.html','true',[],''],
		['PAGE','50058',jdecode('Today'),jdecode(''),'/49787/50058.html','true',[],''],
		['PAGE','49634',jdecode('B2C'),jdecode(''),'/49787/49634.html','true',[],''],
		['PAGE','49141',jdecode('Blues+Gang'),jdecode(''),'/49787/49141.html','true',[],''],
		['PAGE','49810',jdecode('Petrini+Project'),jdecode(''),'/49787/49810.html','true',[],'']
	],''],
	['PAGE','50629',jdecode('Fotoalbum'),jdecode(''),'/50629.html','true',[],''],
	['PAGE','50963',jdecode('news'),jdecode(''),'/50963.html','true',[],''],
	['PAGE','13994',jdecode('Kontakt%2FAnfahrt'),jdecode(''),'/13994.html','true',[],''],
	['PAGE','46754',jdecode('Links'),jdecode(''),'/46754.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Focus';
theSitetree.paletteFamily='3A498E';
theSitetree.keyvisualId='7410';
theSitetree.keyvisualName='kv_7410.jpg';
theSitetree.fontsetId='16508';
theSitetree.graphicsetId='12174';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='47569E';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Focus',
				paletteFamily: 	'3A498E',
				keyvisualId: 	'7410',
				keyvisualName: 	'kv_7410.jpg',
				fontsetId: 		'16508',
				graphicsetId: 	'12174',
				contentColor: 	'FFFFFF',
				contentBGColor: '47569E',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50963',
internalId:  '',
customField: '20110902-101401'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13721',
internalId:  '1006',
customField: '1006'
};
webappMappings['7091']=webappMappings['7091-33920']={
webappId:    '7091',
documentId:  '50963',
internalId:  '33920',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['1501']=webappMappings['1501-1158783']={
webappId:    '1501',
documentId:  '13721',
internalId:  '1158783',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13721',
internalId:  '',
customField: '20110919-181812'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46754',
internalId:  '',
customField: '20110902-095723'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13778',
internalId:  '',
customField: '20090910-124514'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44921',
internalId:  '',
customField: '20090910-090940'
};
webappMappings['1007']=webappMappings['1007-11a5e1e7c54']={
webappId:    '1007',
documentId:  '50629',
internalId:  '11a5e1e7c54',
customField: 'g.139f211ub.nk5r5i7556.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13832',
internalId:  '',
customField: '20080429-203125'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13805',
internalId:  '',
customField: '20110610-143713'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13886',
internalId:  '',
customField: '20070112-123710'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13913',
internalId:  '',
customField: '20070530-185804'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49787',
internalId:  '',
customField: '20060529-152040'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49634',
internalId:  '',
customField: '20060528-135635'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49141',
internalId:  '',
customField: '20091110-161229'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13940',
internalId:  '',
customField: '20060528-141600'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49983',
internalId:  '',
customField: '20070622-073030'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49810',
internalId:  '',
customField: '20060530-131136'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13994',
internalId:  '',
customField: '20091110-134331'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51288',
internalId:  '',
customField: '20110902-101608'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50058',
internalId:  '',
customField: '20070929-163211'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50204',
internalId:  '',
customField: '20110902-094621'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50629',
internalId:  '',
customField: '20080607-110818'
};
webappMappings['7091']=webappMappings['7091-30202']={
webappId:    '7091',
documentId:  '50963',
internalId:  '30202',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-33921']={
webappId:    '7091',
documentId:  '50963',
internalId:  '33921',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-62453']={
webappId:    '7091',
documentId:  '50963',
internalId:  '62453',
customField: 'align:left;language:de;country:DE;'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0INVYVM';
var companyName   = 'TONSTUDIO+HIRSCHFELD';
var htmlTitle	  = 'Tonstudio+Hirschfeld+in+Bayern%2C+Franken%2C++Unterfranken+Raum+Schweinfurt%2C+Wuerzburg';
var metaKeywords  = 'Tonstudio%2C+Musikaufnahmen%2C+CDs%2C+Musikproduktion%2C+VDM%2C+Karaoke%2C+Geschenkidee%2C+Rick+Crasley%2C+Blues+Gang%2C+Elvis+Presley%2C+Saenger%2FInnen%2C+eigene+Kuenstler%2C+Songschreiber%2C+Marcus+Abel%2C+Demo-CDs%2C+Ted+Garner%2C+Kuenstlerstammtisch%2C+imusiciandigital%2C+Amazon%2C+AOL%2C+Musicload%2C+radio+mdu%2C+Papermoonstudio%2C+Manustudiotec%2C+Media+Markt%2C';
var metaContents  = 'Willkommen+im+Tonstudio+Hirschfeld+in+Bayern%2C+Franken%2C+Unterfranken%2C+Raum+Schweinfurt%2C+Volkach%2C+Wuerzburg+f%C3%BCr+Musikaufnahmen%2C+Produktionen%2C+Geschenkidee%2C+Karaoke%2C+Karaoke+f%C3%BCr+Kids%2C+eigene+Kuenstler.++Dein+eigener+Sound+-+jetzt+auf+CDSeit+fast+30+Jahren+sind+wir+mit+Auftrags-+und+Eigenproduktionen+am+Markt+taetig.+Wir+produzieren+Tontraeger+f%C3%BCr+Bands%2C+Solokuenstler%2C+Hobbymusikanten+und+nehmen+Sprachaufnahmen+f%C3%BCr+Hoerbuchverlage+auf.+';
					                                                                    
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 */					                                                            

