/* [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','401',jdecode('O+podjetju'),jdecode(''),'/401.html','true',[],''],
	['PAGE','452',jdecode('Proizvodni+program+'),jdecode(''),'/452/index.html','true',[ 
		['PAGE','18001',jdecode('Monta%C5%BEne+betonske+hale'),jdecode(''),'/452/18001.html','true',[],''],
		['PAGE','18022',jdecode('Oporni+zidovi'),jdecode(''),'/452/18022.html','true',[],''],
		['PAGE','56533',jdecode('Stropni+paneli'),jdecode(''),'/452/56533.html','true',[],''],
		['PAGE','18043',jdecode('Betonarna'),jdecode(''),'/452/18043.html','true',[],'']
	],''],
	['PAGE','56512',jdecode('Storitve'),jdecode(''),'/56512.html','true',[],''],
	['PAGE','17401',jdecode('Kakovost'),jdecode(''),'/17401.html','true',[],''],
	['PAGE','473',jdecode('Galerija+slik'),jdecode(''),'/473/index.html','true',[ 
		['PAGE','14701',jdecode('AB+monta%C5%BEne+konstrukcije'),jdecode(''),'/473/14701.html','true',[],''],
		['PAGE','14901',jdecode('Ostala+gradbena+dela'),jdecode(''),'/473/14901.html','true',[],'']
	],''],
	['PAGE','42212',jdecode('Reference'),jdecode(''),'/42212.html','true',[],''],
	['PAGE','66412',jdecode('Kontakt'),jdecode(''),'/66412.html','true',[],'']];
var siteelementCount=13;
theSitetree.topTemplateName='Sportive';
theSitetree.paletteFamily='F6F6E6';
theSitetree.keyvisualId='2656';
theSitetree.keyvisualName='bau.jpg';
theSitetree.fontsetId='18272';
theSitetree.graphicsetId='260';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='F6F6E6';
var theTemplate={
				name: 			'Sportive',
				paletteFamily: 	'F6F6E6',
				keyvisualId: 	'2656',
				keyvisualName: 	'bau.jpg',
				fontsetId: 		'18272',
				graphicsetId: 	'260',
				contentColor: 	'000000',
				contentBGColor: 'F6F6E6',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'F6F6E6',
				b_color: 		'CCCCC0',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1007']={
webappId:    '1007',
documentId:  '14701',
internalId:  '10e21e454e2',
customField: 'g.11oguf4jf.s0br9k4a5c.3o'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '14901',
internalId:  '10e2394297d',
customField: 'g.11ohpe5n4.s2sk0mscrr.3o'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '401',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '401',
internalId:  '',
customField: '20100224-173651'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '452',
internalId:  '',
customField: '20091208-214334'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18043',
internalId:  '',
customField: '20100122-000404'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18001',
internalId:  '',
customField: '20100222-231856'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18022',
internalId:  '',
customField: '20100222-232654'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17401',
internalId:  '',
customField: '20100224-174200'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '473',
internalId:  '',
customField: '20061007-182401'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14701',
internalId:  '',
customField: '20061007-183626'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14901',
internalId:  '',
customField: '20061007-182614'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '66412',
internalId:  '',
customField: '20100225-175227'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42212',
internalId:  '',
customField: '20100222-232256'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '56512',
internalId:  '',
customField: '20100222-232107'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '56533',
internalId:  '',
customField: '20100222-232035'
};
var canonHostname = 'virgo.siol.net';
var accountId     = 'ASIO10IN2DF8';
var companyName   = '+++++++++Gradbeni%C5%A1tvo+Glogovi%C4%8D';
var htmlTitle	  = 'GRADBENI%C5%A0TVO+GLOGOVI%C4%8C+-+AB+monta%C5%BEna+konstrukcija+monta%C5%BEne+betonske+hale';
var metaKeywords  = 'AB+monta%C5%BEne+konstrukcije%2C+gradnja%2C+gradbeni%C5%A1tvo+glogovi%C4%8D%2Cbeton%2C+monta%C5%BEne+hale%2C+betonske+hale%2C+gradnja+hleva%2C+predizdelani+betonski+elementi%2C+gradnja+hi%C5%A1e';
var metaContents  = '+Nudimo+izdelavo+in+monta%C5%BEo+AB+monta%C5%BEnih+konstrukcij+za+monta%C5%BEne+betonske+hale%2C+gradimo+hi%C5%A1e+in+imamo+lastno+betonarno+za+izdelavo+in+prevoz+vseh+vrst+betona';
					                                                                    
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 */					                                                            

