/* [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('STARTSEITE'),jdecode(''),'/44.html','true',[],''],
	['PAGE','41934',jdecode('TONSTUDIO'),jdecode(''),'/41934.html','true',[],''],
	['PAGE','41265',jdecode('PRODUKTION'),jdecode(''),'/41265.html','true',[],''],
	['PAGE','286501',jdecode('H%C3%96RPROBEN'),jdecode(''),'/286501.html','true',[],''],
	['PAGE','42040',jdecode('BILDERGALERIE+'),jdecode(''),'/42040.html','false',[],''],
	['PAGE','41916',jdecode('G%C3%84STEBUCH+%2F+PINNWAND'),jdecode(''),'/41916.html','true',[],''],
	['PAGE','41915',jdecode('EINTR%C3%84GE'),jdecode(''),'/41915.html','true',[],''],
	['PAGE','42218',jdecode('LINKS+'),jdecode(''),'/42218.html','true',[],''],
	['PAGE','280001',jdecode('FORUM'),jdecode(''),'/280001.html','true',[],''],
	['PAGE','148001',jdecode('KONTAKT'),jdecode(''),'/148001.html','true',[],''],
	['PAGE','41906',jdecode('IMPRESSUM'),jdecode(''),'/41906.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='TOI_Theater_1';
theSitetree.paletteFamily='38418B';
theSitetree.keyvisualId='10748';
theSitetree.keyvisualName='kv_10748.jpg';
theSitetree.fontsetId='31811';
theSitetree.graphicsetId='13606';
theSitetree.contentColor='8E8C8C';
theSitetree.contentBGColor='000000';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Theater_1',
				paletteFamily: 	'38418B',
				keyvisualId: 	'10748',
				keyvisualName: 	'kv_10748.jpg',
				fontsetId: 		'31811',
				graphicsetId: 	'13606',
				contentColor: 	'8E8C8C',
				contentBGColor: '000000',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1008']=webappMappings['1008-40184521']={
webappId:    '1008',
documentId:  '148001',
internalId:  '40184521',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['1002']=webappMappings['1002-41916atoix0i702uj']={
webappId:    '1002',
documentId:  '41915',
internalId:  '41916atoix0i702uj',
customField: 'action=list'
};
webappMappings['1007']=webappMappings['1007-109e1a72738']={
webappId:    '1007',
documentId:  '42040',
internalId:  '109e1a72738',
customField: 'g.117gq737r.fpiersbr55.1s'
};
webappMappings['1002']=webappMappings['1002-41916atoix0i702uj']={
webappId:    '1002',
documentId:  '41916',
internalId:  '41916atoix0i702uj',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41934',
internalId:  '',
customField: '20120128-213817'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20120124-203305'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41906',
internalId:  '',
customField: '20120124-160604'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42040',
internalId:  '',
customField: '20100506-190145'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '148001',
internalId:  '',
customField: '20111120-194452'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42218',
internalId:  '',
customField: '20120129-193038'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41265',
internalId:  '',
customField: '20120204-154645'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41916',
internalId:  '',
customField: '20100506-185920'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41915',
internalId:  '',
customField: '20111228-234804'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '286501',
internalId:  '',
customField: '20120123-002328'
};
webappMappings['1501']=webappMappings['1501-9228357']={
webappId:    '1501',
documentId:  '44',
internalId:  '9228357',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '280001',
internalId:  '',
customField: '20100506-185529'
};
webappMappings['1003']=webappMappings['1003-atoix0i702uj1272f8f4013']={
webappId:    '1003',
documentId:  '280001',
internalId:  'atoix0i702uj1272f8f4013',
customField: 'de:DE::;language:de;country:DE;'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0I702UJ';
var companyName   = 'M.G.TONSTUDIO+DORTMUND';
var htmlTitle	  = 'M.G.Tonstudio+Dortmund+unter%3Awww.mario-goelzer.de';
var metaKeywords  = 'www.mario-goelzer.de%2Cc.g.%C2%B4s+revolution%2Cmario+goelzer%2Cmario+g%C3%B6lzer%2Cdrummer+mario%2Cproduzent+mario+goelzer%2Cproduzent+mario+g%C3%B6lzer%2Cchantal+gerhard%2Cs%C3%A4ngerin+chantal+gerhard%2Cs%C3%A4ngerin+chantal%2Cdie+band+c.g.%C2%B4s+revolution%2Cwarum+liesa%2Cmobbing+at+school%2Cdein+goldener+k%C3%A4fig%2Cnewcomer%2Crock%2Crock+aus+nrw%2Cchantal+und+mario+produzieren+selber%2Cbilder%2Csession%2Cstars+aus+nrw%2Cbekannt+aus+funk+und+fernsehen%2Cdas+team+2008%2Ctonstudio%2Cm.g.tonstudio+dortmund%2Cpreiswertes+tonstudio+dortmund%2Cmario+g%C3%B6lzer+tonstudio%2Cmario+goelzer+tonstudio%2C';
var metaContents  = 'mario+goelzer%2Cmario+g%C3%B6lzer%2Cdrummer+mario%2Cm.g.tonstudio+dortmund%2Cc.g.%C2%B4s+revolution%2Cthe+sweety%C2%B4s%2Ctonstudio%2Ctonstudio+dortmund%2Cdortmund%2Cs%C3%A4nger%2Cschlagzeuger%2Cschlagzeuger+dortmund%2Cgitarrist+mario+goelzer%2Cgitarrist+mario+g%C3%B6lzer%2Cgitarrist+mario%2Cpreiswertes+tonstudio%2Caufnahme%2Cproduzent%2C';
					                                                                    
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 */					                                                            

