/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return unescape(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','40',jdecode('Home'),jdecode(''),'/40.html','true',[],''],
	['PAGE','6001',jdecode('Team'),jdecode(''),'/6001.html','true',[],''],
	['PAGE','6006',jdecode('Green+%26+Rangefee'),jdecode(''),'/6006.html','true',[],''],
	['PAGE','6011',jdecode('Mitgliedschaft'),jdecode(''),'/6011.html','true',[],''],
	['PAGE','22601',jdecode('Golfacademy'),jdecode(''),'/22601.html','true',[],''],
	['PAGE','6026',jdecode('Loch+1-18'),jdecode(''),'/6026/index.html','true',[ 
		['PAGE','7401',jdecode('Loch+4-6'),jdecode(''),'/6026/7401.html','true',[],''],
		['PAGE','7406',jdecode('Loch+7-9'),jdecode(''),'/6026/7406.html','true',[],''],
		['PAGE','8135',jdecode('Loch+10-12'),jdecode(''),'/6026/8135.html','true',[],''],
		['PAGE','8140',jdecode('Loch+13-15'),jdecode(''),'/6026/8140.html','true',[],''],
		['PAGE','8145',jdecode('Loch+16-18'),jdecode(''),'/6026/8145.html','true',[],'']
	],''],
	['PAGE','10504',jdecode('Detailansicht'),jdecode(''),'/10504/index.html','true',[ 
		['PAGE','10852',jdecode('Loch+2'),jdecode(''),'/10504/10852.html','true',[],''],
		['PAGE','10857',jdecode('Loch+3'),jdecode(''),'/10504/10857.html','true',[],''],
		['PAGE','10862',jdecode('Loch+4'),jdecode(''),'/10504/10862.html','true',[],''],
		['PAGE','10867',jdecode('Loch+5'),jdecode(''),'/10504/10867.html','true',[],''],
		['PAGE','10872',jdecode('Loch+6'),jdecode(''),'/10504/10872.html','true',[],''],
		['PAGE','10877',jdecode('Loch+7'),jdecode(''),'/10504/10877.html','true',[],''],
		['PAGE','10882',jdecode('Loch+8'),jdecode(''),'/10504/10882.html','true',[],''],
		['PAGE','10887',jdecode('Loch+9'),jdecode(''),'/10504/10887.html','true',[],''],
		['PAGE','11813',jdecode('Loch+10'),jdecode(''),'/10504/11813.html','true',[],''],
		['PAGE','11818',jdecode('Loch+11'),jdecode(''),'/10504/11818.html','true',[],''],
		['PAGE','11823',jdecode('Loch+12'),jdecode(''),'/10504/11823.html','true',[],''],
		['PAGE','11828',jdecode('Loch+13'),jdecode(''),'/10504/11828.html','true',[],''],
		['PAGE','11833',jdecode('Loch+14'),jdecode(''),'/10504/11833.html','true',[],''],
		['PAGE','11838',jdecode('Loch+15'),jdecode(''),'/10504/11838.html','true',[],''],
		['PAGE','11843',jdecode('Loch+16'),jdecode(''),'/10504/11843.html','true',[],''],
		['PAGE','11848',jdecode('Loch+17'),jdecode(''),'/10504/11848.html','true',[],''],
		['PAGE','11853',jdecode('Loch+18'),jdecode(''),'/10504/11853.html','true',[],'']
	],''],
	['PAGE','6021',jdecode('Der+Club'),jdecode(''),'/6021.html','true',[],''],
	['PAGE','6036',jdecode('Turniere+2012'),jdecode(''),'/6036.html','true',[],''],
	['PAGE','6016',jdecode('Restaurant'),jdecode(''),'/6016.html','true',[],''],
	['PAGE','6031',jdecode('Shop'),jdecode(''),'/6031.html','true',[],''],
	['PAGE','6041',jdecode('Kontakt'),jdecode(''),'/6041.html','true',[],''],
	['PAGE','15301',jdecode('Links'),jdecode(''),'/15301.html','true',[],''],
	['PAGE','6902',jdecode('Anfahrt'),jdecode(''),'/6902.html','true',[],'']];
var siteelementCount=36;
theSitetree.topTemplateName='Measure';
theSitetree.paletteFamily='BAD68A';
theSitetree.keyvisualId='3886';
theSitetree.keyvisualName='kv_3886.jpg';
theSitetree.fontsetId='10492';
theSitetree.graphicsetId='11072';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Measure',
				paletteFamily: 	'BAD68A',
				keyvisualId: 	'3886',
				keyvisualName: 	'kv_3886.jpg',
				fontsetId: 		'10492',
				graphicsetId: 	'11072',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'82A04F',
				e_color: 		'82A04F',
				f_color: 		'82A04F',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['2001']={
webappId:    '2001',
documentId:  '6902',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '40',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '40',
internalId:  '',
customField: '20120126-141611'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6001',
internalId:  '',
customField: '20110328-162138'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6006',
internalId:  '',
customField: '20120126-141347'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6011',
internalId:  '',
customField: '20110328-163537'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6026',
internalId:  '',
customField: '20091008-123316'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7401',
internalId:  '',
customField: '20091008-123343'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7406',
internalId:  '',
customField: '20090807-144655'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '8135',
internalId:  '',
customField: '20091008-123438'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '8140',
internalId:  '',
customField: '20091008-123716'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '8145',
internalId:  '',
customField: '20090807-145309'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10504',
internalId:  '',
customField: '20090215-103909'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10852',
internalId:  '',
customField: '20090215-103929'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10857',
internalId:  '',
customField: '20091008-123936'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10862',
internalId:  '',
customField: '20091008-124020'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10867',
internalId:  '',
customField: '20091008-124345'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10872',
internalId:  '',
customField: '20090215-104250'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10877',
internalId:  '',
customField: '20091008-124507'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10882',
internalId:  '',
customField: '20090215-104331'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10887',
internalId:  '',
customField: '20050420-181600'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11813',
internalId:  '',
customField: '20090215-104403'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11818',
internalId:  '',
customField: '20090215-104427'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11823',
internalId:  '',
customField: '20090215-104447'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11828',
internalId:  '',
customField: '20090215-104505'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11833',
internalId:  '',
customField: '20090215-104529'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11838',
internalId:  '',
customField: '20090215-104549'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11843',
internalId:  '',
customField: '20050420-181857'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11848',
internalId:  '',
customField: '20090215-104630'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11853',
internalId:  '',
customField: '20090215-104651'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6021',
internalId:  '',
customField: '20111006-125128'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6036',
internalId:  '',
customField: '20120126-141923'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6016',
internalId:  '',
customField: '20100716-134240'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6031',
internalId:  '',
customField: '20050322-225146'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6041',
internalId:  '',
customField: '20050429-114448'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15301',
internalId:  '',
customField: '20050711-195500'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6902',
internalId:  '',
customField: '20050709-160445'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '22601',
internalId:  '',
customField: '20111104-153138'
};
var canonHostname = 'cm4all.inode.at';
var accountId     = 'AIN010IN2WY3';
var companyName   = '';
var htmlTitle	  = '.%3A%3A+gcspillern.at+%3A%3A.';
var metaKeywords  = 'golfclub%2C+golf%2C+golf+nieder%C3%B6sterreich%2C+spillern%2C+gcspillern%2C+golfen';
var metaContents  = 'gscpillern';
					                                                                    
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;                                                                     
	};                                                                               
/* EOF */					                                                            

