/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return unescape(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','4598',jdecode('Startseite'),jdecode(''),'/4598/index.html','true',[ 
		['PAGE','61164',jdecode('Urs+Hunziker'),jdecode(''),'/4598/61164.html','true',[],'']
	],''],
	['PAGE','73955',jdecode('Aktuelles'),jdecode(''),'/73955/index.html','true',[ 
		['PAGE','76674',jdecode('Samba+de+Rio'),jdecode(''),'/73955/76674.html','true',[],''],
		['PAGE','74594',jdecode('Inhalt+REAL+BOOK'),jdecode(''),'/73955/74594.html','true',[],''],
		['PAGE','76911',jdecode('Inhalt+TROMMELBUCH'),jdecode(''),'/73955/76911.html','true',[],'']
	],''],
	['PAGE','77121',jdecode('Einzel+und+Gruppen'),jdecode(''),'/77121/index.html','true',[ 
		['PAGE','90578',jdecode('AARAUER+TAMBOUREN'),jdecode(''),'/77121/90578.html','true',[],''],
		['PAGE','90642',jdecode('BRIGER'),jdecode(''),'/77121/90642.html','true',[],''],
		['PAGE','90633',jdecode('BUCHSBAUM'),jdecode(''),'/77121/90633.html','true',[],''],
		['PAGE','91026',jdecode('BUCHSER+ORTSB%C3%9CRGER'),jdecode(''),'/77121/91026.html','true',[],''],
		['PAGE','90651',jdecode('BUURETANZ'),jdecode(''),'/77121/90651.html','true',[],''],
		['PAGE','90660',jdecode('AM+FICHTEH%C3%96CK'),jdecode(''),'/77121/90660.html','true',[],''],
		['PAGE','90669',jdecode('H%C3%84XEB%C3%84SE'),jdecode(''),'/77121/90669.html','true',[],''],
		['PAGE','90678',jdecode('KNACKNUSS'),jdecode(''),'/77121/90678.html','true',[],''],
		['PAGE','98901',jdecode('ONLY+FOR+YOU'),jdecode(''),'/77121/98901.html','true',[],''],
		['PAGE','90687',jdecode('DR+OSKAR'),jdecode(''),'/77121/90687.html','true',[],''],
		['PAGE','99401',jdecode('PINOCCHIO'),jdecode(''),'/77121/99401.html','true',[],''],
		['PAGE','103701',jdecode('SWISS+MADE'),jdecode(''),'/77121/103701.html','true',[],''],
		['PAGE','91374',jdecode('DIALOGUS'),jdecode(''),'/77121/91374.html','true',[],''],
		['PAGE','90696',jdecode('DOMINO'),jdecode(''),'/77121/90696.html','true',[],''],
		['PAGE','92701',jdecode('DUE+PIU+UNO'),jdecode(''),'/77121/92701.html','true',[],''],
		['PAGE','90705',jdecode('TROMMLER+TRIO'),jdecode(''),'/77121/90705.html','true',[],''],
		['PAGE','100801',jdecode('TROMMLER+QUARTETT'),jdecode(''),'/77121/100801.html','true',[],'']
	],''],
	['PAGE','77130',jdecode('mit+versch.+Trommeln'),jdecode(''),'/77130/index.html','true',[ 
		['PAGE','90714',jdecode('DR+BIBERSTEINER'),jdecode(''),'/77130/90714.html','true',[],''],
		['PAGE','90723',jdecode('THE+CHAMPIONS'),jdecode(''),'/77130/90723.html','true',[],''],
		['PAGE','94301',jdecode('JUHUBIL%C3%88'),jdecode(''),'/77130/94301.html','true',[],''],
		['PAGE','104301',jdecode('MARCHING+DRUMS'),jdecode(''),'/77130/104301.html','true',[],''],
		['PAGE','90732',jdecode('MARSCHPARADE'),jdecode(''),'/77130/90732.html','true',[],''],
		['PAGE','98201',jdecode('O.N.D.T.'),jdecode(''),'/77130/98201.html','true',[],''],
		['PAGE','100301',jdecode('QUICK+MARSCH'),jdecode(''),'/77130/100301.html','true',[],''],
		['PAGE','104801',jdecode('SATTLER+POST'),jdecode(''),'/77130/104801.html','true',[],''],
		['PAGE','104822',jdecode('SCOTCH+SOUND+'),jdecode(''),'/77130/104822.html','true',[],''],
		['PAGE','90741',jdecode('SOLO-PAUKEN+MARSCH'),jdecode(''),'/77130/90741.html','true',[],''],
		['PAGE','104843',jdecode('SWING+MARCH'),jdecode(''),'/77130/104843.html','true',[],''],
		['PAGE','104864',jdecode('TANGO+TAMBOUR'),jdecode(''),'/77130/104864.html','true',[],''],
		['PAGE','90750',jdecode('TROMMELTANZ'),jdecode(''),'/77130/90750.html','true',[],''],
		['PAGE','104885',jdecode('VILL+GFR%C3%96ITS'),jdecode(''),'/77130/104885.html','true',[],''],
		['PAGE','90768',jdecode('VORW%C3%84RTS'),jdecode(''),'/77130/90768.html','true',[],''],
		['PAGE','90759',jdecode('WIRL+WIND'),jdecode(''),'/77130/90759.html','true',[],'']
	],''],
	['PAGE','77139',jdecode('mit+Perkussion'),jdecode(''),'/77139/index.html','true',[ 
		['PAGE','109401',jdecode('ALL+STRIKE+DIXIELAND'),jdecode(''),'/77139/109401.html','true',[],''],
		['PAGE','90777',jdecode('AROUND+THE+WORLD'),jdecode(''),'/77139/90777.html','true',[],''],
		['PAGE','92438',jdecode('AUF+DEM+PERSISCHEN+M.'),jdecode(''),'/77139/92438.html','true',[],''],
		['PAGE','90786',jdecode('BRASILIEN+PARTY'),jdecode(''),'/77139/90786.html','true',[],''],
		['PAGE','108601',jdecode('CARIBEAN+HOLIDAYS'),jdecode(''),'/77139/108601.html','true',[],''],
		['PAGE','93301',jdecode('EL+BOBO'),jdecode(''),'/77139/93301.html','true',[],''],
		['PAGE','95101',jdecode('INDIAN+DRUM+CALL'),jdecode(''),'/77139/95101.html','true',[],''],
		['PAGE','96701',jdecode('LATIN+FANTASIE'),jdecode(''),'/77139/96701.html','true',[],''],
		['PAGE','96722',jdecode('NABUC+ORFA'),jdecode(''),'/77139/96722.html','true',[],''],
		['PAGE','90795',jdecode('PERCUSSIONCOCKTAIL'),jdecode(''),'/77139/90795.html','true',[],''],
		['PAGE','110801',jdecode('ROCK%26%23x27%3BN%26%23x27%3BROLL+JAMBOREE'),jdecode(''),'/77139/110801.html','true',[],''],
		['PAGE','106801',jdecode('SAMBA+DE+RIO'),jdecode(''),'/77139/106801.html','true',[],''],
		['PAGE','111601',jdecode('SOUTH+AMERICAN+DRUM'),jdecode(''),'/77139/111601.html','true',[],''],
		['PAGE','112301',jdecode('TAKE+FIVE'),jdecode(''),'/77139/112301.html','true',[],'']
	],''],
	['PAGE','77148',jdecode('Jungtambouren'),jdecode(''),'/77148/index.html','true',[ 
		['PAGE','90804',jdecode('AMERICAN+STICKS'),jdecode(''),'/77148/90804.html','true',[],''],
		['PAGE','112901',jdecode('ONE+PLAY'),jdecode(''),'/77148/112901.html','true',[],''],
		['PAGE','90813',jdecode('ECHO+SPASS'),jdecode(''),'/77148/90813.html','true',[],''],
		['PAGE','90822',jdecode('MIT+ELAN'),jdecode(''),'/77148/90822.html','true',[],''],
		['PAGE','101401',jdecode('FREUDE'),jdecode(''),'/77148/101401.html','true',[],''],
		['PAGE','113201',jdecode('TRILOGIE'),jdecode(''),'/77148/113201.html','true',[],''],
		['PAGE','90831',jdecode('PLAY+THE+BEAT'),jdecode(''),'/77148/90831.html','true',[],''],
		['PAGE','90840',jdecode('MAMSAMBA'),jdecode(''),'/77148/90840.html','true',[],''],
		['PAGE','113501',jdecode('TROMMLER+SYMPHONIE'),jdecode(''),'/77148/113501.html','true',[],'']
	],''],
	['PAGE','84734',jdecode('Lehr-+und+Spielhefte'),jdecode(''),'/84734.html','true',[],''],
	['PAGE','5310',jdecode('Shop'),jdecode(''),'/5310.html','true',[],''],
	['PAGE','4898',jdecode('Kontakt'),jdecode(''),'/4898/index.html','true',[ 
		['PAGE','32343',jdecode('Kontakt+%28Form+followup+page%29'),jdecode(''),'/4898/32343.html','false',[],'']
	],''],
	['PAGE','5251',jdecode('G%C3%A4stebuch'),jdecode(''),'/5251/index.html','true',[ 
		['PAGE','5252',jdecode('Eintr%C3%A4ge'),jdecode(''),'/5251/5252.html','true',[],'']
	],''],
	['PAGE','68302',jdecode('Anfahrt'),jdecode(''),'/68302/index.html','true',[ 
		['PAGE','68337',jdecode('Ihr+Weg+zu+uns'),jdecode(''),'/68302/68337.html','true',[],'']
	],''],
	['PAGE','84789',jdecode('Impressum'),jdecode(''),'/84789.html','true',[],'']];
var siteelementCount=75;
theSitetree.topTemplateName='Sportive';
theSitetree.paletteFamily='FADE8A';
theSitetree.keyvisualId='2680';
theSitetree.keyvisualName='schule.jpg';
theSitetree.fontsetId='220';
theSitetree.graphicsetId='261';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FADE8A';
var theTemplate={
				name: 			'Sportive',
				paletteFamily: 	'FADE8A',
				keyvisualId: 	'2680',
				keyvisualName: 	'schule.jpg',
				fontsetId: 		'220',
				graphicsetId: 	'261',
				contentColor: 	'000000',
				contentBGColor: 'FADE8A',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'FADE8A',
				b_color: 		'D0B976',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4598',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '5251',
internalId:  '5251ABW0X0INXVXT',
customField: 'action=form&icq=false'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4598',
internalId:  '2251412',
customField: '1501'
};
webappMappings['4001']={
webappId:    '4001',
documentId:  '5310',
internalId:  'MQDB_oeO2_NS3D_x',
customField: 'language:de;country:CH;'
};
webappMappings['1003']={
webappId:    '1003',
documentId:  '4598',
internalId:  'abw0x0inxvxt10c68cedd72',
customField: 'de:CH:'
};
webappMappings['1009']={
webappId:    '1009',
documentId:  '32343',
internalId:  '4704456',
customField: 'isFollowupPage:true;documentId:4898;'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '4898',
internalId:  '2251475',
customField: 'isFollowupPage:false;followupId:32343;'
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '68302',
internalId:  'location',
customField: 'language:de;country:CH;isIncluded:false;'
};
webappMappings['2002']={
webappId:    '2002',
documentId:  '68337',
internalId:  'routing',
customField: 'de_CH'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '5252',
internalId:  '5251ABW0X0INXVXT',
customField: 'action=list'
};
var canonHostname = 'support.hptworkderdb01a.bluewin.ch';
var accountId     = 'ABW0X0INXVXT';
var companyName   = 'trommlerstobe+-+5033+buchs';
var htmlTitle	  = 'Notenverlag+f%C3%BCr+den+Tambour';
var metaKeywords  = '';
var metaContents  = '';
					                                                                    
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;                                                                     
	};                                                                               
/* EOF */					                                                            

