/* [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','117539',jdecode('%C3%9CBER+UNS'),jdecode(''),'/117539.html','true',[],''],
	['PAGE','98882',jdecode('+%22Giganten+%22+2012'),jdecode(''),'/98882.html','true',[],''],
	['PAGE','118906',jdecode('TERMINE+2012'),jdecode(''),'/118906.html','true',[],''],
	['PAGE','118255',jdecode('BLECHARANKA'),jdecode(''),'/118255.html','true',[],''],
	['PAGE','117816',jdecode('BK+DRIETOMANKA'),jdecode(''),'/117816.html','true',[],''],
	['PAGE','4579',jdecode('BK+GLORIA'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','117825',jdecode('BK+MAGURANKA'),jdecode(''),'/117825.html','true',[],''],
	['PAGE','117834',jdecode('BK+MISTRINANKA+'),jdecode(''),'/117834.html','true',[],''],
	['PAGE','103185',jdecode('BK+SESTKA'),jdecode(''),'/103185.html','true',[],''],
	['PAGE','117843',jdecode('BK+STRIBRNANKA'),jdecode(''),'/117843.html','true',[],''],
	['PAGE','102379',jdecode('BK+TIDIRIUM'),jdecode(''),'/102379.html','true',[],''],
	['PAGE','93802',jdecode('BK+VESELKA'),jdecode(''),'/93802.html','true',[],''],
	['PAGE','118612',jdecode('DIE+KLEINTURWALLER'),jdecode(''),'/118612.html','true',[],''],
	['PAGE','99905',jdecode('FRISCHLUFTPROJEKT'),jdecode(''),'/99905.html','true',[],''],
	['PAGE','118552',jdecode('JUNGES+FIEBER'),jdecode(''),'/118552.html','true',[],''],
	['PAGE','118009',jdecode('LEDERHOSNBLECH'),jdecode(''),'/118009.html','true',[],''],
	['PAGE','103161',jdecode('M%C3%9CNCHH%C3%84USER'),jdecode(''),'/103161.html','true',[],''],
	['PAGE','118654',jdecode('TONSTUDIOS'),jdecode(''),'/118654.html','true',[],''],
	['PAGE','35222',jdecode('FERIEN+IN+PRAG'),jdecode(''),'/35222.html','true',[],''],
	['PAGE','92066',jdecode('KONTAKT'),jdecode(''),'/92066.html','true',[],''],
	['PAGE','118883',jdecode('neu'),jdecode(''),'/118883.html','true',[],'']];
var siteelementCount=21;
theSitetree.topTemplateName='Firma';
theSitetree.paletteFamily='650D0D';
theSitetree.keyvisualId='9920';
theSitetree.keyvisualName='kv_9920.jpg';
theSitetree.fontsetId='17859';
theSitetree.graphicsetId='12984';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='9D6464';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Firma',
				paletteFamily: 	'650D0D',
				keyvisualId: 	'9920',
				keyvisualName: 	'kv_9920.jpg',
				fontsetId: 		'17859',
				graphicsetId: 	'12984',
				contentColor: 	'FFFFFF',
				contentBGColor: '9D6464',
				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:  '4579',
internalId:  '',
customField: '20110830-213727'
};
webappMappings['1007']=webappMappings['1007-ffb2d88f03']={
webappId:    '1007',
documentId:  '35222',
internalId:  'ffb2d88f03',
customField: 'g.vupauf8v.elgbbn4s53.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '117816',
internalId:  '',
customField: '20110830-094002'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '92066',
internalId:  '',
customField: '20110902-165526'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '93802',
internalId:  '',
customField: '20110831-211022'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '99905',
internalId:  '',
customField: '20110912-234025'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98882',
internalId:  '',
customField: '20111223-015507'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35222',
internalId:  '',
customField: '20110902-171057'
};
webappMappings['1501']=webappMappings['1501-793088']={
webappId:    '1501',
documentId:  '117539',
internalId:  '793088',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '117843',
internalId:  '',
customField: '20110830-223409'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '117539',
internalId:  '',
customField: '20111223-013356'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '118009',
internalId:  '',
customField: '20110912-234145'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '118255',
internalId:  '',
customField: '20110831-141120'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '118552',
internalId:  '',
customField: '20110913-000302'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102379',
internalId:  '',
customField: '20110913-000127'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '117825',
internalId:  '',
customField: '20110831-210633'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '117834',
internalId:  '',
customField: '20110830-221444'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '103161',
internalId:  '',
customField: '20110913-002047'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '103185',
internalId:  '',
customField: '20110830-222103'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '118883',
internalId:  '',
customField: '20111110-205822'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '118906',
internalId:  '',
customField: '20111223-015634'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '118654',
internalId:  '',
customField: '20110912-233158'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '118612',
internalId:  '',
customField: '20110831-212351'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0INV4OK';
var companyName   = 'www.blasmusikvermittlung.de';
var htmlTitle	  = 'www.blasmusikvermittlung.de';
var metaKeywords  = 'B%C3%B6hmisch-M%C3%A4hrische+Blasmusik';
var metaContents  = 'Vermittlung+der+Blaskapelle+Gloria%0AVerkauf+von+CD%27s+und+Noten';
					                                                                    
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 */					                                                            

