/* [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','63401',jdecode('Home'),jdecode(''),'/63401.html','true',[],''],
	['PAGE','47504',jdecode('%D0%9A%D0%BE%D0%BD%D1%82%D0%B0%D0%BA%D1%82'),jdecode(''),'/47504.html','true',[],''],
	['PAGE','51412',jdecode('%D0%93%D0%BE%D1%81%D1%82%D0%B5%D0%B2%D0%B0%D1%8F+%D0%BA%D0%BD%D0%B8%D0%B3%D0%B0'),jdecode(''),'/51412/home.html','true',[ 
		['PAGE','51407',jdecode('%D0%92%D0%B0%D1%88%D0%B8+%D0%B7%D0%B0%D0%BF%D0%B8%D1%81%D0%B8'),jdecode(''),'/51412/51407.html','true',[],'']
	],''],
	['PAGE','61901',jdecode('Multimedia'),jdecode(''),'/61901.html','true',[],''],
	['PAGE','64501',jdecode('Hochzeit+in+Schweiz'),jdecode(''),'/64501.html','true',[],''],
	['PAGE','64301',jdecode('Blog'),jdecode(''),'/64301.html','true',[],''],
	['PAGE','66801',jdecode('Foto'),jdecode(''),'/66801.html','true',[],''],
	['PAGE','67201',jdecode('Forum'),jdecode(''),'/67201.html','true',[],''],
	['PAGE','67222',jdecode('Bestellung'),jdecode(''),'/67222.html','true',[],''],
	['PAGE','67601',jdecode('Anfahrt'),jdecode(''),'/67601.html','true',[],''],
	['PAGE','67801',jdecode('Online-Shop'),jdecode(''),'/67801.html','true',[],''],
	['PAGE','68001',jdecode('Ihr+Weg+zu+uns'),jdecode(''),'/68001.html','true',[],'']];
var siteelementCount=13;
theSitetree.topTemplateName='Litfass';
theSitetree.paletteFamily='CE636A';
theSitetree.keyvisualId='11045';
theSitetree.keyvisualName='kv_11045.jpg';
theSitetree.fontsetId='32074';
theSitetree.graphicsetId='13771';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='CE636A';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Litfass',
				paletteFamily: 	'CE636A',
				keyvisualId: 	'11045',
				keyvisualName: 	'kv_11045.jpg',
				fontsetId: 		'32074',
				graphicsetId: 	'13771',
				contentColor: 	'FFFFFF',
				contentBGColor: 'CE636A',
				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:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64301',
internalId:  '',
customField: '20080105-102046'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67201',
internalId:  '',
customField: '20091120-085712'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64501',
internalId:  '',
customField: '20080806-081136'
};
webappMappings['1008']=webappMappings['1008-42544809']={
webappId:    '1008',
documentId:  '47504',
internalId:  '42544809',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['1008']=webappMappings['1008-42685072']={
webappId:    '1008',
documentId:  '63401',
internalId:  '42685072',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['1002']=webappMappings['1002-51412atoix0inewvz']={
webappId:    '1002',
documentId:  '51412',
internalId:  '51412atoix0inewvz',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-51412atoix0inewvz']={
webappId:    '1002',
documentId:  '51407',
internalId:  '51412atoix0inewvz',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51412',
internalId:  '',
customField: '20051115-113845'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51407',
internalId:  '',
customField: '20051115-113845'
};
webappMappings['7060']=webappMappings['7060-3b52ef6a7c37a7903d6e6d2bc7ed7407']={
webappId:    '7060',
documentId:  '64501',
internalId:  '3b52ef6a7c37a7903d6e6d2bc7ed7407',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47504',
internalId:  '',
customField: '20071128-101305'
};
webappMappings['7050']=webappMappings['7050-9111']={
webappId:    '7050',
documentId:  '64301',
internalId:  '9111',
customField: 'language:de;country:DE;'
};
webappMappings['7060']=webappMappings['7060-a46a08cb3613e249f9b4f2e996d53f03']={
webappId:    '7060',
documentId:  '61901',
internalId:  'a46a08cb3613e249f9b4f2e996d53f03',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61901',
internalId:  '',
customField: '20070809-003438'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63401',
internalId:  '',
customField: '20091207-172703'
};
webappMappings['1003']=webappMappings['1003-atoix0inewvz1250f114b26']={
webappId:    '1003',
documentId:  '67201',
internalId:  'atoix0inewvz1250f114b26',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67222',
internalId:  '',
customField: '20091120-085929'
};
webappMappings['7060']=webappMappings['7060-578db8c6c9669a6da9ef631ae9f0b162']={
webappId:    '7060',
documentId:  '66801',
internalId:  '578db8c6c9669a6da9ef631ae9f0b162',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66801',
internalId:  '',
customField: '20090329-212958'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '67601',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['4001']=webappMappings['4001-42545749']={
webappId:    '4001',
documentId:  '67801',
internalId:  '42545749',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67601',
internalId:  '',
customField: '20091120-093020'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67801',
internalId:  '',
customField: '20091120-093433'
};
webappMappings['1008']=webappMappings['1008-42544809']={
webappId:    '1008',
documentId:  '67222',
internalId:  '42544809',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['2002']=webappMappings['2002-routing']={
webappId:    '2002',
documentId:  '68001',
internalId:  'routing',
customField: 'de_DE'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68001',
internalId:  '',
customField: '20091207-164639'
};
var canonHostname = 'cfawrk10.aul.t-online.de';
var accountId     = 'ATOIX0INEWVZ';
var companyName   = '+++++++++++++%22+%D0%9C%D1%83%D0%B7%D1%8B%D0%BA%D0%B0%D0%BB%D1%8C%D0%BD%D0%B0%D1%8F+%D0%B3%D1%80%D1%83%D0%BF%D0%BF%D0%B0+%D0%9D%D0%BE%D1%87%D1%8C+%22';
var htmlTitle	  = '..%3A%3ASwadba-Musik-Tamada%3A%3A..+Musikband+Nacht...www.musik-swadba.de';
var metaKeywords  = 'swadba+tamada+%D1%81%D0%B2%D0%B0%D0%B4%D1%8C%D0%B1%D0%B0+musik-swadba+swadba+musik+mp3+hochzeit+svadba+musika+musik+%D1%82%D0%B0%D0%BC%D0%B0%D0%B4%D0%B0';
var metaContents  = 'Swadba-Musik-Tamada..%3A%3AMusikband+f%C3%BCr+Ihre+HochzeitGemischte+Musik%2C+super+Show%2C+verschiedene+Kost%C3%BCme.+%C3%9Cber+10+Jahren+im+Gesch%C3%A4ft%21';
					                                                                    
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 */					                                                            
