/* [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('BaTaBo'),jdecode(''),'/44.html','true',[],''],
	['PAGE','203701',jdecode('%C3%9Cber+uns'),jdecode(''),'/203701/home.html','true',[ 
		['PAGE','165222',jdecode('Dozenten'),jdecode(''),'/203701/165222.html','true',[],'']
	],''],
	['PAGE','203322',jdecode('Angebote'),jdecode(''),'/203322/home.html','true',[ 
		['PAGE','200901',jdecode('Ballett'),jdecode(''),'/203322/200901.html','true',[],''],
		['PAGE','200922',jdecode('Jazz'),jdecode(''),'/203322/200922.html','true',[],''],
		['PAGE','200943',jdecode('Modern'),jdecode(''),'/203322/200943.html','true',[],''],
		['PAGE','200985',jdecode('Musical'),jdecode(''),'/203322/200985.html','true',[],'']
	],''],
	['PAGE','212601',jdecode('Kids+Club'),jdecode(''),'/212601/home.html','true',[ 
		['PAGE','203764',jdecode('Kindergeburtstag'),jdecode(''),'/212601/203764.html','true',[],'']
	],''],
	['PAGE','172701',jdecode('Galerie'),jdecode(''),'/172701/home.html','true',[ 
		['PAGE','195201',jdecode('Die+zertanzten+Schuhe'),jdecode(''),'/172701/195201.html','true',[],''],
		['PAGE','197901',jdecode('Musical+Memories'),jdecode(''),'/172701/197901.html','true',[],'']
	],''],
	['PAGE','214801',jdecode('Boutique'),jdecode(''),'/214801.html','true',[],''],
	['PAGE','60806',jdecode('Impressum'),jdecode(''),'/60806/home.html','true',[ 
		['PAGE','184101',jdecode('Anfahrt'),jdecode(''),'/60806/184101.html','true',[],'']
	],'']];
var siteelementCount=16;
theSitetree.topTemplateName='TOI_Lines_1';
theSitetree.paletteFamily='151F20';
theSitetree.keyvisualId='10736';
theSitetree.keyvisualName='kv_10736.jpg';
theSitetree.fontsetId='31814';
theSitetree.graphicsetId='13600';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Lines_1',
				paletteFamily: 	'151F20',
				keyvisualId: 	'10736',
				keyvisualName: 	'kv_10736.jpg',
				fontsetId: 		'31814',
				graphicsetId: 	'13600',
				contentColor: 	'FFFFFF',
				contentBGColor: '000000',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '197901',
internalId:  '',
customField: '20110413-125506'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20120131-185420'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '200901',
internalId:  '',
customField: '20120131-195703'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '200922',
internalId:  '',
customField: '20120129-115216'
};
webappMappings['1008']=webappMappings['1008-19750227']={
webappId:    '1008',
documentId:  '60806',
internalId:  '19750227',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '165222',
internalId:  '',
customField: '20120131-195137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60806',
internalId:  '',
customField: '20120116-154358'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '200943',
internalId:  '',
customField: '20120131-195751'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '195201',
internalId:  '',
customField: '20110413-105912'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '172701',
internalId:  '',
customField: '20111123-093540'
};
webappMappings['1007']=webappMappings['1007-12f4e136a9c']={
webappId:    '1007',
documentId:  '197901',
internalId:  '12f4e136a9c',
customField: 'g.15t70t7ed.6l2btndjof.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '214801',
internalId:  '',
customField: '20120131-193715'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '200985',
internalId:  '',
customField: '20111227-232143'
};
webappMappings['1007']=webappMappings['1007-12f49243306']={
webappId:    '1007',
documentId:  '195201',
internalId:  '12f49243306',
customField: 'g.15t4hr43q.7bv6ga441sa.3o'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '184101',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '184101',
internalId:  '',
customField: '20100816-002114'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '212601',
internalId:  '',
customField: '20120131-112911'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '203322',
internalId:  '',
customField: '20120131-195249'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '203701',
internalId:  '',
customField: '20111121-110449'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '203764',
internalId:  '',
customField: '20111121-110950'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0INH678';
var companyName   = 'Studio+f%C3%BCr+Ballett+%2B+Tanz+%7C+Bonn';
var htmlTitle	  = 'Ballett+Tanz+Bonn';
var metaKeywords  = 'Bonn+Ballett+Ballet+Waganova+RAD+Charakter+Folklore+Spanisch+Flamenco+Step+Samba+Afro+Jazz+Modern+Limon+Waganova+Graham+Zeitgen%C3%B6ssisch+Schauspiel+Stimmbildung+Stimme+Gesang+singen+tanzen+Kind+Sch%C3%BCler+Student+Jugendlich+Teen+Erwachsen+Rabatt+Senior+Rentner+Hip+Hop+Streetdance+Breakdance+Akrobatik+Tanzakrobatik+Unterricht+Training+Workshop+Projekt+Personal+Training+Personal+coach+Audition+Auditionvorbereitung+Pr%C3%BCfung+Pr%C3%BCfungsvorbereitung+Einzel+Ballettschule+Butterfly+vom+B%C3%BCttgeshof+Tanzschule+Marie+Godard+Bonn+Zentrum+Hbf+Hauptbahnhof+Tanz+Profi+Profiunterricht+Pilates+Yoga+Wellness+Tai+Bo+Fr%C3%BCherziehung+T%C3%A4nzer+Kreativ';
var metaContents  = 'Ballett+Tanz+Bonn%3A+Unterricht%2C+Workshops++Projekte%3A+Ballett%2C+Charakter%2C+Folklore%2C+Jazz%2C+Modern%2C+Schauspiel%2C+Gesang%2C+Musical%3B+Kinder%2C+Jugendliche%2C+Erwachsene';
					                                                                    
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 */					                                                            

