/* [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','39994',jdecode('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','42428',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/42428.html','true',[],''],
	['PAGE','42455',jdecode('Treffpunkt'),jdecode(''),'/42455.html','true',[],''],
	['PAGE','44860',jdecode('G%C3%A4stebuch'),jdecode(''),'/44860/home.html','true',[ 
		['PAGE','44859',jdecode('Eintr%C3%A4ge'),jdecode(''),'/44860/44859.html','true',[],'']
	],''],
	['PAGE','44878',jdecode('Bilder%3A+Auftritte%C2%B407%2B%C2%B408+und+noch+mehr+Spa%C3%9F'),jdecode(''),'/44878.html','true',[],''],
	['PAGE','40897',jdecode('Links'),jdecode(''),'/40897.html','true',[],''],
	['PAGE','45328',jdecode('Impressum'),jdecode(''),'/45328.html','true',[],''],
	['PAGE','45459',jdecode('Termine'),jdecode(''),'/45459.html','true',[],'']];
var siteelementCount=9;
theSitetree.topTemplateName='Lifecycle';
theSitetree.paletteFamily='526EF4';
theSitetree.keyvisualId='4470';
theSitetree.keyvisualName='kv_4470.jpg';
theSitetree.fontsetId='10815';
theSitetree.graphicsetId='11262';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='7F7F7F';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Lifecycle',
				paletteFamily: 	'526EF4',
				keyvisualId: 	'4470',
				keyvisualName: 	'kv_4470.jpg',
				fontsetId: 		'10815',
				graphicsetId: 	'11262',
				contentColor: 	'000000',
				contentBGColor: '7F7F7F',
				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:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20110918-215931'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42455',
internalId:  '',
customField: '20110119-090140'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45328',
internalId:  '',
customField: '20110119-090507'
};
webappMappings['1501']=webappMappings['1501-50877807']={
webappId:    '1501',
documentId:  '39994',
internalId:  '50877807',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40897',
internalId:  '',
customField: '20100304-123057'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44859',
internalId:  '',
customField: '20080106-155752'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42428',
internalId:  '',
customField: '20110119-085846'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44860',
internalId:  '',
customField: '20080106-155752'
};
webappMappings['1002']=webappMappings['1002-44860atoix0i7z44m']={
webappId:    '1002',
documentId:  '44860',
internalId:  '44860atoix0i7z44m',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-44860atoix0i7z44m']={
webappId:    '1002',
documentId:  '44859',
internalId:  '44860atoix0i7z44m',
customField: 'action=list'
};
webappMappings['1007']=webappMappings['1007-1174fa0aa49']={
webappId:    '1007',
documentId:  '44878',
internalId:  '1174fa0aa49',
customField: 'g.12t7q7l26.a4hvli384e.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44878',
internalId:  '',
customField: '20090522-192651'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45459',
internalId:  '',
customField: '20110119-090648'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0I7Z44M';
var companyName   = 'American+Bootjack+Connection';
var htmlTitle	  = 'Linedance%2C+Line+Dance%2C+Line+Dancer%2C';
var metaKeywords  = 'American+Bootjack+Connection%2C+Linedance%2C+Tanzen%2C+Country%2C+Western%2C+Keith+Urban%2C+Shania+Twain%2C+Spa%C3%9F%2C+Sport%2C+Auftritt%2C+Stadtfeste%2C+Countrypartys%2C+Trucker%2C+Biker%2C+Boots%2C+Hut%2C+Stetson%2C+Line+Dance';
var metaContents  = 'Die+American+Bootjack+Connection+tanzt+Linedance+nach+bekannten+Country-und++Western+Songs.+Spa%C3%9F+und+Sport%2C+Geselliges+und+Sportives+geh%C3%B6ren+bei+uns+zusammen.+Bei+Auftritten+in+und+um+Hannover+kann+man+uns+sehen.+Countryfeste+werden+von+uns+gern+besucht.+';
					                                                                    
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 */					                                                            

