/* [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','40555',jdecode('Der+Golfplatz'),jdecode(''),'/40555/home.html','true',[ 
		['PAGE','40564',jdecode('Spielbahnen'),jdecode(''),'/40555/40564.html','true',[],''],
		['PAGE','40573',jdecode('Greenfee'),jdecode(''),'/40555/40573.html','true',[],''],
		['PAGE','41636',jdecode('Mitgliedschaft'),jdecode(''),'/40555/41636.html','true',[],''],
		['PAGE','41988',jdecode('Spielvorgabentabelle'),jdecode(''),'/40555/41988.html','true',[],'']
	],''],
	['PAGE','42257',jdecode('Impressionen'),jdecode(''),'/42257.html','true',[],''],
	['PAGE','40582',jdecode('Golfhotel+%2F+Restaurant'),jdecode(''),'/40582/home.html','true',[ 
		['PAGE','42124',jdecode('Hotel+Rundgang%2FVideo'),jdecode(''),'/40582/42124.html','true',[],''],
		['PAGE','42319',jdecode('%C3%96ffnungszeiten'),jdecode(''),'/40582/42319.html','true',[],''],
		['PAGE','42028',jdecode('Zimmer'),jdecode(''),'/40582/42028.html','true',[],''],
		['PAGE','42004',jdecode('Preise'),jdecode(''),'/40582/42004.html','true',[],''],
		['PAGE','42037',jdecode('Arrangements'),jdecode(''),'/40582/42037.html','true',[],''],
		['PAGE','42070',jdecode('Tagungen'),jdecode(''),'/40582/42070.html','true',[],''],
		['PAGE','42046',jdecode('Speisekarte'),jdecode(''),'/40582/42046.html','true',[],''],
		['PAGE','42160',jdecode('Specials'),jdecode(''),'/40582/42160.html','true',[],''],
		['PAGE','42013',jdecode('Saisonale+K%C3%B6stlichkeiten'),jdecode(''),'/40582/42013.html','true',[],''],
		['PAGE','40591',jdecode('Buchung%2FAnsprechpartner'),jdecode(''),'/40582/40591.html','true',[],'']
	],''],
	['PAGE','40627',jdecode('Jugendtraining'),jdecode(''),'/40627.html','true',[],''],
	['PAGE','40663',jdecode('Golflehrer'),jdecode(''),'/40663/home.html','true',[ 
		['PAGE','40672',jdecode('Kursangebote'),jdecode(''),'/40663/40672.html','true',[],''],
		['PAGE','40681',jdecode('Besondere+Angebote'),jdecode(''),'/40663/40681.html','true',[],''],
		['PAGE','41781',jdecode('Kontakt'),jdecode(''),'/40663/41781.html','true',[],'']
	],''],
	['PAGE','40763',jdecode('Turnierplan+2010'),jdecode(''),'/40763/home.html','true',[ 
		['PAGE','41257',jdecode('April'),jdecode(''),'/40763/41257.html','true',[],''],
		['PAGE','41266',jdecode('Mai'),jdecode(''),'/40763/41266.html','true',[],''],
		['PAGE','42055',jdecode('neu'),jdecode(''),'/40763/42055.html','true',[],''],
		['PAGE','41275',jdecode('Juni'),jdecode(''),'/40763/41275.html','true',[],''],
		['PAGE','41284',jdecode('Juli'),jdecode(''),'/40763/41284.html','true',[],''],
		['PAGE','41293',jdecode('August'),jdecode(''),'/40763/41293.html','true',[],''],
		['PAGE','41302',jdecode('September'),jdecode(''),'/40763/41302.html','true',[],''],
		['PAGE','41311',jdecode('Okt.%2FNov.%2FDez.'),jdecode(''),'/40763/41311.html','true',[],'']
	],''],
	['PAGE','40726',jdecode('Freizeitgestaltung'),jdecode(''),'/40726.html','true',[],''],
	['PAGE','40735',jdecode('Kontakt'),jdecode(''),'/40735.html','true',[],''],
	['PAGE','40744',jdecode('Anfahrt'),jdecode(''),'/40744.html','true',[],''],
	['PAGE','40794',jdecode('Fotogalerie'),jdecode(''),'/40794.html','false',[],''],
	['PAGE','40753',jdecode('Impressum'),jdecode(''),'/40753.html','true',[],'']];
var siteelementCount=37;
theSitetree.topTemplateName='MultiSports';
theSitetree.paletteFamily='FDF6E7';
theSitetree.keyvisualId='11203';
theSitetree.keyvisualName='kv_11203.jpg';
theSitetree.fontsetId='32094';
theSitetree.graphicsetId='13897';
theSitetree.contentColor='906F40';
theSitetree.contentBGColor='FDF6E7';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'MultiSports',
				paletteFamily: 	'FDF6E7',
				keyvisualId: 	'11203',
				keyvisualName: 	'kv_11203.jpg',
				fontsetId: 		'32094',
				graphicsetId: 	'13897',
				contentColor: 	'906F40',
				contentBGColor: 'FDF6E7',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
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: '20100904-115153'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40555',
internalId:  '',
customField: '20090329-151518'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40564',
internalId:  '',
customField: '20081107-195046'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40573',
internalId:  '',
customField: '20100630-104304'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40582',
internalId:  '',
customField: '20100705-131329'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40591',
internalId:  '',
customField: '20100705-202755'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42070',
internalId:  '',
customField: '20100705-203919'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42046',
internalId:  '',
customField: '20100705-135801'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42055',
internalId:  '',
customField: '20100630-162609'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40627',
internalId:  '',
customField: '20100616-144739'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41988',
internalId:  '',
customField: '20100630-132337'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42004',
internalId:  '',
customField: '20100726-202342'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40663',
internalId:  '',
customField: '20100823-192650'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40672',
internalId:  '',
customField: '20100823-190320'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40681',
internalId:  '',
customField: '20100823-200004'
};
webappMappings['1007']=webappMappings['1007-11d72bdffe3']={
webappId:    '1007',
documentId:  '40794',
internalId:  '11d72bdffe3',
customField: 'g.13lpbpkos.3cgivs7thqv.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42013',
internalId:  '',
customField: '20100901-163329'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42028',
internalId:  '',
customField: '20100701-164148'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40726',
internalId:  '',
customField: '20090304-085955'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40735',
internalId:  '',
customField: '20100818-155526'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40744',
internalId:  '',
customField: '20090306-083456'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40753',
internalId:  '',
customField: '20090306-084521'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42160',
internalId:  '',
customField: '20100901-163509'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40763',
internalId:  '',
customField: '20100617-122124'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40794',
internalId:  '',
customField: '20081204-174103'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41257',
internalId:  '',
customField: '20100306-145043'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41266',
internalId:  '',
customField: '20100528-103347'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41275',
internalId:  '',
customField: '20100306-154754'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41284',
internalId:  '',
customField: '20100716-112322'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41293',
internalId:  '',
customField: '20100823-112149'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41302',
internalId:  '',
customField: '20100901-120633'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41311',
internalId:  '',
customField: '20100901-120547'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42037',
internalId:  '',
customField: '20100719-142401'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41636',
internalId:  '',
customField: '20100617-122234'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41781',
internalId:  '',
customField: '20100708-133810'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42124',
internalId:  '',
customField: '20100721-153807'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42319',
internalId:  '',
customField: '20100818-154824'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42257',
internalId:  '',
customField: '20100827-125235'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IR4L1A';
var companyName   = 'Golfpark+Wagenfeld';
var htmlTitle	  = '';
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;                                                                     
	};                                                                               
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 */					                                                            
