/* [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('Home'),jdecode(''),'/401.html','true',[],''],
	['PAGE','8701',jdecode('Materials'),jdecode(''),'/8701.html','true',[],''],
	['PAGE','8722',jdecode('Hardness'),jdecode(''),'/8722.html','true',[],''],
	['PAGE','10401',jdecode('Production'),jdecode(''),'/10401.html','true',[],''],
	['PAGE','22301',jdecode('About+us'),jdecode(''),'/22301/index.html','true',[ 
		['PAGE','473',jdecode('ISO'),jdecode(''),'/22301/473.html','true',[],'']
	],''],
	['PAGE','452',jdecode('Contact+us%21'),jdecode(''),'/452.html','true',[],''],
	['PAGE','20701',jdecode('Pictures'),jdecode(''),'/20701.html','true',[],'']];
var siteelementCount=8;
theSitetree.topTemplateName='Analyzer';
theSitetree.paletteFamily='F99E1B';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='19012';
theSitetree.graphicsetId='10573';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var theTemplate={
				name: 			'Analyzer',
				paletteFamily: 	'F99E1B',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'19012',
				graphicsetId: 	'10573',
				contentColor: 	'FFFFFF',
				contentBGColor: '000000',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				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['1006']={
webappId:    '1006',
documentId:  '401',
internalId:  '1006',
customField: '1006'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '20701',
internalId:  '11323a42cdc',
customField: 'g.12chqe5e6.df07qe9q2q.3o'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '401',
internalId:  '3246737',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '401',
internalId:  '',
customField: '20080411-080119'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '8701',
internalId:  '',
customField: '20111219-114718'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '8722',
internalId:  '',
customField: '20070622-073525'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10401',
internalId:  '',
customField: '20070716-074338'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '22301',
internalId:  '',
customField: '20080528-072609'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '473',
internalId:  '',
customField: '20110321-111833'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '452',
internalId:  '',
customField: '20080905-134904'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20701',
internalId:  '',
customField: '20070613-075429'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '452',
internalId:  '4118858',
customField: 'sl:SI:'
};
var canonHostname = 'virgo.siol.net';
var accountId     = 'ASIO10IN2YLG';
var companyName   = 'SORBIT++-++Forged+steel+rolls';
var htmlTitle	  = 'www.sorbit.si';
var metaKeywords  = 'SENDZIMIR+forged++steel++rolls++geschmiedete++stahl++walzen+stahlwalzen+sendzimir++sundwig++zhi+6Hi+4Hi+20HI+20-hi+4-hi+6-hi+mill+mills+rolling+ravne+cluster+quarto+sexto+mehrrollen+rolling+steel+sheet+coils';
var metaContents  = 'SENDZIMIR+forged++steel+rolls+geschmiedete++stahl++walzen++stahlwalzen+sendzimir++sundwig++zhi+20hi+mill+mills+ravne+4HI+6HI+20-HI+cluster+quarto+sexto+mehrrollen+rolling+steel+sheet+coils';
					                                                                    
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 */					                                                            

