/* [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('POCETAK+++++++++++++++++++++++++++++'),jdecode(''),'/201.html','true',[],''],
	['PAGE','125327',jdecode('BONACA+INFO'),jdecode(''),'/125327/index.html','true',[ 
		['PAGE','125348',jdecode('Info+i+Radno+Vrijeme'),jdecode(''),'/125327/125348.html','true',[],''],
		['PAGE','125369',jdecode('Bonaca+Ekipa'),jdecode(''),'/125327/125369.html','true',[],''],
		['PAGE','125390',jdecode('Lokacija+Slike'),jdecode(''),'/125327/125390.html','true',[],''],
		['PAGE','110427',jdecode('Kako+nas+naci.....++++++++++++++++++'),jdecode(''),'/125327/110427.html','true',[],'']
	],''],
	['PAGE','130727',jdecode('UTAKMICE+UZIVO+'),jdecode(''),'/130727.html','true',[],''],
	['PAGE','195481',jdecode('ANKETA+++++++'),jdecode(''),'/195481/index.html','true',[ 
		['PAGE','196781',jdecode('Dart+turnir'),jdecode(''),'/195481/196781.html','true',[],''],
		['PAGE','243936',jdecode('Bonaca+Single+Party'),jdecode(''),'/195481/243936.html','true',[],''],
		['PAGE','258036',jdecode('2.godina+Bonaca+Party%3F+++++++++'),jdecode(''),'/195481/258036.html','true',[],'']
	],''],
	['PAGE','197381',jdecode('FORUM++TEST'),jdecode(''),'/197381.html','true',[],''],
	['PAGE','202981',jdecode('LINKOVI'),jdecode(''),'/202981.html','true',[],'']];
var siteelementCount=13;
theSitetree.topTemplateName='Architekt';
theSitetree.paletteFamily='FFCC66';
theSitetree.keyvisualId='1685';
theSitetree.keyvisualName='abendstimmung.jpg';
theSitetree.fontsetId='281';
theSitetree.graphicsetId='343';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFCC66';
var theTemplate={
				name: 			'Architekt',
				paletteFamily: 	'FFCC66',
				keyvisualId: 	'1685',
				keyvisualName: 	'abendstimmung.jpg',
				fontsetId: 		'281',
				graphicsetId: 	'343',
				contentColor: 	'000000',
				contentBGColor: 'FFCC66',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'FFCC66',
				b_color: 		'CC6600',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '201',
internalId:  '',
customField: '20100414-180506'
};
webappMappings['1005']={
webappId:    '1005',
documentId:  '243936',
internalId:  '1206ca543e6.f20e8714',
customField: 'de:DE:'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '201',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '110427',
internalId:  '',
customField: '20080510-013050'
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '110427',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '196781',
internalId:  '',
customField: '20081220-214940'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '258036',
internalId:  '',
customField: '20090629-125359'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '195481',
internalId:  '',
customField: '20081220-214839'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '125390',
internalId:  '',
customField: '20090302-222901'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '243936',
internalId:  '',
customField: '20090406-175413'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '125327',
internalId:  '',
customField: '20080706-080008'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '125348',
internalId:  '',
customField: '20100427-091656'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '125369',
internalId:  '',
customField: '20080706-075355'
};
webappMappings['1005']={
webappId:    '1005',
documentId:  '196781',
internalId:  '11e5600b7d9.c6b59912',
customField: 'de:DE:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '130727',
internalId:  '',
customField: '20100427-091720'
};
webappMappings['1003']={
webappId:    '1003',
documentId:  '197381',
internalId:  'ain010in2lt411e56089f96',
customField: 'de:DE:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '197381',
internalId:  '',
customField: '20081220-211712'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '202981',
internalId:  '',
customField: '20090524-123715'
};
webappMappings['1005']={
webappId:    '1005',
documentId:  '258036',
internalId:  '122285a24a4.b826fb4d',
customField: 'de:DE:'
};
var canonHostname = 'cm4all.inode.at';
var accountId     = 'AIN010IN2LT4';
var companyName   = '+++++++++C+A+F+E+++B+O+N+A+C+A';
var htmlTitle	  = 'CAFE+BONACA';
var metaKeywords  = 'CAFE+BAR+DART+KLADIONICA+SPORTWETTEN+LIVE+WETTEN+TISCHFUSSBAL+KROATIEN+HRVATSKA+BONACA+BREGENZ+UTAKMICE+LIVE+PIKADO+EP+RUKOMET+2010+RODENDAN+TITAN+KONCERT+NOGOMET+LIVE+KARLOVACKO+PIVO+KUTJEVACKA+GRASEVINA+PLAVAC+MARIJAN+PELINKOVAC+MARASKA+FACEBOOK+KAFIC+BONACA';
var metaContents  = 'CAFE+BAR+DART+KLADIONICA+SPORTWETTEN+LIVE+WETTEN+TISCHFUSSBAL+KROATIEN+HRVATSKA+BONACA+BREGENZ+UTAKMICE+LIVE+PIKADO+EP+RUKOMET+2010+RODENDAN+TITAN+KONCERT+NOGOMET+LIVE+KARLOVACKO+PIVO+KUTJEVACKA+GRASEVINA+PLAVAC+MARIJAN+PELINKOVAC+MARASKA+FACEBOOK+KAFIC+BONACA';
					                                                                    
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 */					                                                            

