/* [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','1508',jdecode('Home'),jdecode(''),'/1508.html','true',[],''],
	['PAGE','3801',jdecode('About+us'),jdecode(''),'/3801/index.html','true',[ 
		['PAGE','3828',jdecode('The+team'),jdecode(''),'/3801/3828.html','true',[],'']
	],''],
	['PAGE','3855',jdecode('Products'),jdecode(''),'/3855/index.html','true',[ 
		['PAGE','3882',jdecode('Seenite'),jdecode(''),'/3855/3882.html','true',[],''],
		['PAGE','38622',jdecode('SeaMoon'),jdecode(''),'/3855/38622.html','true',[],''],
		['PAGE','38643',jdecode('SeaEyes'),jdecode(''),'/3855/38643.html','true',[],''],
		['PAGE','38664',jdecode('Protector'),jdecode(''),'/3855/38664.html','true',[],''],
		['PAGE','8201',jdecode('Other+Vector+Products'),jdecode(''),'/3855/8201.html','true',[],''],
		['PAGE','12901',jdecode('Controllers'),jdecode(''),'/3855/12901.html','true',[],''],
		['PAGE','7628',jdecode('Marsoft'),jdecode(''),'/3855/7628.html','true',[],'']
	],''],
	['PAGE','12001',jdecode('News+Press+Releases'),jdecode(''),'/12001.html','true',[],''],
	['PAGE','3963',jdecode('Contact'),jdecode(''),'/3963/index.html','true',[ 
		['PAGE','4502',jdecode('Contact+%28follow+up+page%29'),jdecode(''),'/3963/4502.html','false',[],''],
		['PAGE','3990',jdecode('Address'),jdecode(''),'/3963/3990.html','true',[],''],
		['PAGE','4702',jdecode('Directions'),jdecode(''),'/3963/4702.html','true',[],'']
	],''],
	['PAGE','5302',jdecode('Seenite+Photos'),jdecode(''),'/5302.html','true',[],''],
	['PAGE','10801',jdecode('Useful+Sites'),jdecode(''),'/10801.html','true',[],''],
	['PAGE','12028',jdecode('Jobs'),jdecode(''),'/12028.html','true',[],''],
	['PAGE','17101',jdecode('Journal'),jdecode(''),'/17101.html','true',[],''],
	['PAGE','41206',jdecode('Guestbook'),jdecode(''),'/41206/index.html','true',[ 
		['PAGE','41201',jdecode('Read+Guestbook'),jdecode(''),'/41206/41201.html','true',[],'']
	],''],
	['PAGE','43201',jdecode('Community'),jdecode(''),'/43201.html','true',[],'']];
var siteelementCount=23;
theSitetree.topTemplateName='Neon';
theSitetree.paletteFamily='6699CC';
theSitetree.keyvisualId='901';
theSitetree.keyvisualName='auge.jpg';
theSitetree.fontsetId='161';
theSitetree.graphicsetId='186';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var theTemplate={
				name: 			'Neon',
				paletteFamily: 	'6699CC',
				keyvisualId: 	'901',
				keyvisualName: 	'auge.jpg',
				fontsetId: 		'161',
				graphicsetId: 	'186',
				contentColor: 	'FFFFFF',
				contentBGColor: '000000',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'666666',
				c_color: 		'000000',
				d_color: 		'6699CC',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1001']={
webappId:    '1001',
documentId:  '3963',
internalId:  'aam010in2ta91067d3d1db4',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '4502',
internalId:  'aam010in2ta91067d3d1db4',
customField: 'followUp'
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '4702',
internalId:  'location',
customField: 'language:en;country:US;isIncluded:false;'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '5302',
internalId:  '1067d4d5c4a',
customField: 'SeenitePhotos'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '1508',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '43201',
internalId:  '',
customField: '20091125-163719'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1508',
internalId:  '',
customField: '20091129-115339'
};
webappMappings['3030']={
webappId:    '3030',
documentId:  '17101',
internalId:  '17101',
customField: 'language:en;country:GB;'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '3963',
internalId:  '',
customField: '20091119-110044'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '3990',
internalId:  '',
customField: '20080717-120039'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4702',
internalId:  '',
customField: '20050922-115353'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5302',
internalId:  '',
customField: '20050922-120929'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12001',
internalId:  '',
customField: '20091130-003857'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17101',
internalId:  '',
customField: '20080205-140808'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '41206',
internalId:  '41206aam010in2ta9',
customField: 'action=form&icq=false'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '38664',
internalId:  '',
customField: '20091129-121655'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '3801',
internalId:  '',
customField: '20070416-115405'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '3828',
internalId:  '',
customField: '20070313-125906'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '3855',
internalId:  '',
customField: '20091130-003706'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '3882',
internalId:  '',
customField: '20091118-181126'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12901',
internalId:  '',
customField: '20070313-125641'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7628',
internalId:  '',
customField: '20070313-111110'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '8201',
internalId:  '',
customField: '20050922-162231'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4502',
internalId:  '',
customField: '20050922-114948'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10801',
internalId:  '',
customField: '20070313-130049'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12028',
internalId:  '',
customField: '20091119-110801'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '38622',
internalId:  '',
customField: '20091118-182339'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '38643',
internalId:  '',
customField: '20091118-165115'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '41201',
internalId:  '41206aam010in2ta9',
customField: 'action=list'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41206',
internalId:  '',
customField: '20091119-105523'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41201',
internalId:  '',
customField: '20091119-105523'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010IN2TA9';
var companyName   = 'Vector+Developments+Limited';
var htmlTitle	  = 'Seenite+Marine+Night+Vision';
var metaKeywords  = 'marine+night+vision%2C+an+overboard%2C+safety%2C+ships+cameras%2C+thermal+imager+Camera+Night+vision+Camera+Marine+Ships+navigation+collision+avoidance+Low+lightInfra+red+IR+camera+IR+CCTV+Closed+circuit+television%2C+marine+night+vision%2C+marine+thermal+imagers%2C+thermal+imagers%2C+night+vision%2C+thermal+camera%2C+cooled%2C+themal+imager%2C+FLIR%2C+PTZ%2C+M-SERIES%2C+Piracy%2C+Pirates%2C+non-lethal%2C+defense%2C+piracy+defence%2C+defending+against+pirates%2C+anti-piracy+weapons%2C+weapons';
var metaContents  = 'SEENITE...+Night+vision+Stabilised+Marine+system+for+security+safety+and+surveillance+on+yachts%2C+ships+or+boats.+Marine+night+vision+includes+marein+thermal+imager%2C+low+light+camera+and+IR+camera+options.+sep+2006+.+Designed+for+the+most+grueling+of+marine+environments%2C+whilst+encompassing+an+aesthetic+suitable+for+the+most+stylish+of+yachts.+Cooled+thermal+imaging+systems%2C+mounted+on+marinise+PTZ';
					                                                                    
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 */					                                                            
