/* [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','44822',jdecode('Home'),jdecode(''),'/44822.html','true',[],''],
	['PAGE','45036',jdecode('2010+-+Ausschreibung'),jdecode(''),'/45036.html','true',[],''],
	['PAGE','45018',jdecode('2010+-+Anmeldung'),jdecode(''),'/45018.html','true',[],''],
	['PAGE','45027',jdecode('2010+-+Wer+ist+da+%3F'),jdecode(''),'/45027.html','true',[],''],
	['PAGE','76601',jdecode('2010+-+Wegweiser'),jdecode(''),'/76601.html','true',[],''],
	['PAGE','89201',jdecode('2010+-+DM+-+2010'),jdecode(''),'/89201.html','true',[],''],
	['PAGE','44833',jdecode('Turnier+2006'),jdecode(''),'/44833.html','true',[],''],
	['PAGE','47266',jdecode('Turnier+2007'),jdecode(''),'/47266.html','true',[],''],
	['PAGE','47116',jdecode('Turnier+2008'),jdecode(''),'/47116.html','true',[],''],
	['PAGE','45100',jdecode('Turnier+2009'),jdecode(''),'/45100.html','true',[],''],
	['PAGE','45045',jdecode('Impressum'),jdecode(''),'/45045.html','true',[],''],
	['PAGE','89301',jdecode('2011+-+Grill+%26+Go'),jdecode(''),'/89301.html','false',[],'']];
var siteelementCount=12;
theSitetree.topTemplateName='Easy';
theSitetree.paletteFamily='003366';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='49';
theSitetree.graphicsetId='57';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Easy',
				paletteFamily: 	'003366',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'49',
				graphicsetId: 	'57',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'003366',
				b_color: 		'FFFFFF',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44822',
internalId:  '1006',
customField: '1006'
};
webappMappings['1008']=webappMappings['1008-19778533']={
webappId:    '1008',
documentId:  '45018',
internalId:  '19778533',
customField: 'de:DE:'
};
webappMappings['1501']=webappMappings['1501-24107475']={
webappId:    '1501',
documentId:  '44822',
internalId:  '24107475',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44822',
internalId:  '',
customField: '20110626-212036'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45018',
internalId:  '',
customField: '20100816-235102'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45100',
internalId:  '',
customField: '20100507-110039'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45027',
internalId:  '',
customField: '20101029-225111'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45036',
internalId:  '',
customField: '20101024-225502'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '76601',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44833',
internalId:  '',
customField: '20070918-115844'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47116',
internalId:  '',
customField: '20090820-111543'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45045',
internalId:  '',
customField: '20091113-172144'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47266',
internalId:  '',
customField: '20080401-113157'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '76601',
internalId:  '',
customField: '20100825-210103'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '89201',
internalId:  '',
customField: '20101102-121954'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '89301',
internalId:  '',
customField: '20100825-204948'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0I7RIG8';
var companyName   = 'Go+-+Das+ultimative+Brettspiel';
var htmlTitle	  = 'www.go-rheinsieg.de';
var metaKeywords  = 'Go+Turnier+Rhein+Sieg+Kreis+Go-im-Kloster+Kloster+Sankt+Augustin+Brettspiel+Spieltreff+China+Anmeldung+Brain+';
var metaContents  = 'go-rheinsieg%3A+die+Internetseite+der+Go-Gruppe+im+Rhein-Sieg-Kreis.+Go+ist+ein+asiatisches+Brettspiel';
					                                                                    
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 */					                                                            

