/* [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','4507',jdecode('Home'),jdecode(''),'/4507.html','true',[],''],
	['PAGE','53501',jdecode('What%26%23x27%3Bs+new+.+.+.'),jdecode(''),'/53501.html','true',[],''],
	['PAGE','17757',jdecode('Products'),jdecode(''),'/17757/index.html','true',[ 
		['PAGE','18501',jdecode('MiniDataloggers'),jdecode(''),'/17757/18501.html','true',[],'']
	],''],
	['PAGE','43501',jdecode('Online+Brochures'),jdecode(''),'/43501.html','true',[],''],
	['PAGE','6264',jdecode('Enquiry+Form'),jdecode(''),'/6264.html','true',[],''],
	['PAGE','6607',jdecode('Contact+Details'),jdecode(''),'/6607.html','true',[],''],
	['PAGE','8101',jdecode('Exhibitions'),jdecode(''),'/8101.html','true',[],''],
	['PAGE','17401',jdecode('Links'),jdecode(''),'/17401.html','true',[],''],
	['PAGE','34002',jdecode('Product+Photos'),jdecode(''),'/34002.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Seifenblase';
theSitetree.paletteFamily='FF9B5E';
theSitetree.keyvisualId='2372';
theSitetree.keyvisualName='pr-agentur4.jpg';
theSitetree.fontsetId='379';
theSitetree.graphicsetId='430';
theSitetree.contentColor='555555';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Seifenblase',
				paletteFamily: 	'FF9B5E',
				keyvisualId: 	'2372',
				keyvisualName: 	'pr-agentur4.jpg',
				fontsetId: 		'379',
				graphicsetId: 	'430',
				contentColor: 	'555555',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'FFFFFF',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'CC3300',
				e_color: 		'FF3300',
				f_color: 		'FF9966',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4507',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4507',
internalId:  '1331541',
customField: '1501'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '6264',
internalId:  '12208043',
customField: 'en:GB:'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '34002',
internalId:  '11354a10521',
customField: 'g.12lf7jinq.5u0bqtgn0eus1.6rn80'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4507',
internalId:  '',
customField: '20081006-152442'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '8101',
internalId:  '',
customField: '20091221-150650'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17757',
internalId:  '',
customField: '20091221-150203'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18501',
internalId:  '',
customField: '20091221-150324'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6264',
internalId:  '',
customField: '20080804-174316'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6607',
internalId:  '',
customField: '20080314-162855'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '53501',
internalId:  '',
customField: '20100715-093207'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17401',
internalId:  '',
customField: '20090412-110407'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34002',
internalId:  '',
customField: '20070622-202511'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '43501',
internalId:  '',
customField: '20081015-124555'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010IN2SBA';
var companyName   = 'KIMO+UK';
var htmlTitle	  = 'www.kimo.uk.com';
var metaKeywords  = 'KIMO+instruments+measurement+control+kimo+manometers+portable+handheld+AV+air+velocity+airflow+volume+flow+relative+humidity+RH+data+logger+datalogger+differential+pressure+temperature+pitot+debimo+switch+gauge+transmitter+tachometer+Magnehelic+Photohelic+Dwyer+TSI+Airflow+balometer+CMR+micromanometer+anemometer+meter+display+CFR21+';
var metaContents  = 'KIMO+products%2C+which+are+designed+and+manufactured+in+France%2C+include+fixed+and+portable+instruments+for+measuring+and+monitoring+air+velocity%2C+air+flow%2C+pressure%2C+temperature+and+humidity.Common+applications+include%3A+ensuring+the+correct+operation+of+heating%2C+ventilation+and+refrigeration+installations%2C+to+improve+comfort+and+reduce+energy+consumption%3B+guaranteeing+the+safety+of+people%2C+by+monitoring+environments+so+as+to+avoid+the+spread+of+bacteria%2C+gas%2C+etc..+in+food+industry%2C+laboratories%2C+hospitals%2C+nuclear%2C+etc.%3B%3B+controling+and+maintaining+optimal+conditions+for+manufacturing+and+storage%2C+in+industry%2C+museums%2C+agriculture%2C+animal+breeding%2C+etc.%3B+meeting+environmental+standards+and+reducing+emission+of+pollutants+to+the+atmosphere.Users+of+KIMO+instruments+include+manufacturers+of+air+handling+units%2C+heating%2C+refrigeration++air+conditioning+installation+and+maintenance+companies%2C+environmental+monitoring+equipment+installers%2C+technical+engineering+and+design+bureaux%2C+food+growers+and+processors%2C+paper+producers%2C+museums%2C+pharmaceutical+manufacturers+and+laboratories%2C+semiconductor+plants%2C+cleanroom+validation++monitoring+specialists%2C+nuclear+and+microbiological+containment+facilities%2C+hospitals%2C+clinics%2C+etc...';
					                                                                    
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 */					                                                            
