/* [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','201',jdecode('Home'),jdecode(''),'201.html','true',[],''],
	['PAGE','14825',jdecode('News'),jdecode(''),'14825.html','true',[],''],
	['PAGE','12901',jdecode('Biografie'),jdecode(''),'12901.html','true',[],''],
	['PAGE','13401',jdecode('Gs+History'),jdecode(''),'13401.html','true',[],''],
	['PAGE','212',jdecode('Events'),jdecode(''),'212/index.html','true',[ 
		['PAGE','28201',jdecode('SUV-Weekend+E.'),jdecode(''),'212/28201.html','true',[],''],
		['PAGE','27301',jdecode('ACS+2006'),jdecode(''),'212/27301.html','true',[],''],
		['PAGE','25701',jdecode('HP-Event'),jdecode(''),'212/25701.html','true',[],''],
		['PAGE','23901',jdecode('3h+Rallye+Coy.'),jdecode(''),'212/23901.html','true',[],''],
		['PAGE','20702',jdecode('26.KCS'),jdecode(''),'212/20702.html','true',[],''],
		['PAGE','17406',jdecode('4.+Eurotrophy'),jdecode(''),'212/17406.html','true',[],''],
		['PAGE','16901',jdecode('Kirchfidisch+J4F'),jdecode(''),'212/16901.html','true',[],''],
		['PAGE','15701',jdecode('Jeep-Pulling'),jdecode(''),'212/15701.html','true',[],''],
		['PAGE','217',jdecode('25.KCS'),jdecode(''),'212/217.html','true',[],''],
		['PAGE','5701',jdecode('Weihnachtstr.'),jdecode(''),'212/5701.html','true',[],''],
		['PAGE','5706',jdecode('ACS+2005'),jdecode(''),'212/5706.html','true',[],''],
		['PAGE','5711',jdecode('24.KCS'),jdecode(''),'212/5711.html','true',[],''],
		['PAGE','7783',jdecode('4.+Eurotrophy'),jdecode(''),'212/7783.html','true',[],''],
		['PAGE','7059',jdecode('Wanderpokal'),jdecode(''),'212/7059.html','true',[],''],
		['PAGE','6302',jdecode('23.KCS'),jdecode(''),'212/6302.html','true',[],'']
	],''],
	['PAGE','10901',jdecode('Events+%C3%9Cbersicht'),jdecode(''),'10901.html','true',[],''],
	['PAGE','10906',jdecode('Bildergallerie'),jdecode(''),'10906.html','true',[],''],
	['PAGE','18701',jdecode('Videos'),jdecode(''),'18701.html','true',[],''],
	['PAGE','12186',jdecode('Tagliamento'),jdecode(''),'12186.html','true',[],''],
	['PAGE','207',jdecode('Links'),jdecode(''),'207.html','true',[],''],
	['PAGE','19401',jdecode('Presse'),jdecode(''),'19401.html','true',[],''],
	['PAGE','9902',jdecode('G%C3%A4stebuch'),jdecode(''),'9902/index.html','true',[ 
		['PAGE','9903',jdecode('Eintr%C3%A4ge'),jdecode(''),'9902/9903.html','true',[],'']
	],''],
	['PAGE','10101',jdecode('Kontakt'),jdecode(''),'10101/index.html','true',[ 
		['PAGE','35701',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'10101/35701.html','false',[],'']
	],'']];
var siteelementCount=30;
theSitetree.topTemplateName='Circulation';
theSitetree.paletteFamily='FC2323';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.html';
theSitetree.fontsetId='10587';
theSitetree.graphicsetId='10561';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var theTemplate={
				name: 			'Circulation',
				paletteFamily: 	'FC2323',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10587',
				graphicsetId: 	'10561',
				contentColor: 	'FFFFFF',
				contentBGColor: '000000',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'FFFFFF',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '201',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '201',
internalId:  '960707',
customField: '1501'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '6302',
internalId:  '10ab623df69',
customField: 'g.11ar295l2.kthktrrusn.3o'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '7059',
internalId:  '10ab650b605',
customField: 'g.11ar5398u.rltje8g3qu.3o'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '7783',
internalId:  '10ab66b300a',
customField: 'g.11ar6p24q.5j4degij31.3o'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '9902',
internalId:  '9902ain010in2un7',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '9903',
internalId:  '9902ain010in2un7',
customField: 'action=list'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '201',
internalId:  '',
customField: '20081020-221919'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14825',
internalId:  '',
customField: '20081021-103608'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '212',
internalId:  '',
customField: '20081030-092406'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '28201',
internalId:  '',
customField: '20081022-122905'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12901',
internalId:  '',
customField: '20081030-091921'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13401',
internalId:  '',
customField: '20081030-092031'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27301',
internalId:  '',
customField: '20080402-125501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '25701',
internalId:  '',
customField: '20080402-125518'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23901',
internalId:  '',
customField: '20080402-125536'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20702',
internalId:  '',
customField: '20080402-125550'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17406',
internalId:  '',
customField: '20080402-125607'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16901',
internalId:  '',
customField: '20080402-125622'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15701',
internalId:  '',
customField: '20080402-125639'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '217',
internalId:  '',
customField: '20080402-125658'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5701',
internalId:  '',
customField: '20080402-125713'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5706',
internalId:  '',
customField: '20080402-125729'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5711',
internalId:  '',
customField: '20080402-125743'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7783',
internalId:  '',
customField: '20080402-125757'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7059',
internalId:  '',
customField: '20080402-125812'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6302',
internalId:  '',
customField: '20080402-125837'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10901',
internalId:  '',
customField: '20080402-124215'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10906',
internalId:  '',
customField: '20080402-123805'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18701',
internalId:  '',
customField: '20080402-124133'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12186',
internalId:  '',
customField: '20080402-124121'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '207',
internalId:  '',
customField: '20080624-155625'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '19401',
internalId:  '',
customField: '20081020-215354'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9902',
internalId:  '',
customField: '20080402-124033'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9903',
internalId:  '',
customField: '20080402-124055'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10101',
internalId:  '',
customField: '20080402-123942'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '10101',
internalId:  'ain010in2un71190e763f04',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '35701',
internalId:  'ain010in2un71190e763f04',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35701',
internalId:  '',
customField: '20080402-112720'
};
var canonHostname = 'cm4all.inode.at';
var accountId     = 'AIN010IN2UN7';
var companyName   = 'www.4x4-schenk.at';
var htmlTitle	  = 'www.4x4-schenk.at';
var metaKeywords  = 'Gerhard+Schenk+Hartlbua+Offroad+Pinzgauer+Puch+Puch-G+KCS+Bericht+Fotos+Graz+Coyotenteam+Coyoten+G+Graz+Friesach+St%C3%BCbing+%C3%96sterreich+Touareg+V6TDI+290GDT';
var metaContents  = 'Gerhard+Schenk+Hartlbua+Offroad+Pinzgauer+Puch+Puch-G+KCS+Bericht+Fotos+Graz+Coyotenteam+Coyoten+G+Graz+Friesach+St%C3%BCbing+%C3%96sterreich+Touareg+V6TDI+290GDT';
					                                                                    
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 */					                                                            

