/* [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','1506',jdecode('Home'),jdecode(''),'/1506.html','true',[],''],
	['PAGE','15990',jdecode('About+us'),jdecode(''),'/15990.html','true',[],''],
	['PAGE','15801',jdecode('Network+IP+Cameras'),jdecode(''),'/15801/index.html','true',[ 
		['PAGE','15828',jdecode('Color+Dome'),jdecode(''),'/15801/15828.html','true',[],''],
		['PAGE','17571',jdecode('Color+Tube'),jdecode(''),'/15801/17571.html','true',[],''],
		['PAGE','17085',jdecode('Passerelle'),jdecode(''),'/15801/17085.html','true',[],''],
		['PAGE','17112',jdecode('Day%2FNight+Tube'),jdecode(''),'/15801/17112.html','true',[],''],
		['PAGE','15855',jdecode('Low+Light'),jdecode(''),'/15801/15855.html','true',[],''],
		['PAGE','15882',jdecode('Thermal+Tube'),jdecode(''),'/15801/15882.html','true',[],''],
		['PAGE','23801',jdecode('General+specification'),jdecode(''),'/15801/23801.html','true',[],'']
	],''],
	['PAGE','36901',jdecode('Network+IP+Cameras+*'),jdecode(''),'/36901/index.html','true',[ 
		['PAGE','36922',jdecode('CL+Dome'),jdecode(''),'/36901/36922.html','true',[],''],
		['PAGE','36943',jdecode('CL+Dome+PTZ'),jdecode(''),'/36901/36943.html','true',[],''],
		['PAGE','36964',jdecode('CL+Dome+High+zoom'),jdecode(''),'/36901/36964.html','true',[],''],
		['PAGE','36985',jdecode('CL+Tube'),jdecode(''),'/36901/36985.html','true',[],'']
	],''],
	['PAGE','50701',jdecode('Technical+Specification+For+SeaMoon+Network'),jdecode(''),'/50701/index.html','true',[ 
		['PAGE','50722',jdecode('CL+Dome'),jdecode(''),'/50701/50722.html','true',[],''],
		['PAGE','50743',jdecode('CL+Doom+PTZ'),jdecode(''),'/50701/50743.html','true',[],''],
		['PAGE','51801',jdecode('CL+Dome+High+Zoom'),jdecode(''),'/50701/51801.html','true',[],''],
		['PAGE','51822',jdecode('CL+Tube'),jdecode(''),'/50701/51822.html','true',[],'']
	],''],
	['PAGE','43601',jdecode('Sea+Moon+Analogue+Cameras'),jdecode(''),'/43601/index.html','true',[ 
		['PAGE','43901',jdecode('CL+Dome'),jdecode(''),'/43601/43901.html','true',[],''],
		['PAGE','56601',jdecode('Thermal+PTZ'),jdecode(''),'/43601/56601.html','true',[],''],
		['PAGE','43922',jdecode('CL+Dome+PTZ'),jdecode(''),'/43601/43922.html','true',[],''],
		['PAGE','43943',jdecode('CL+Dome+%28Day%2FNight%29'),jdecode(''),'/43601/43943.html','true',[],''],
		['PAGE','45201',jdecode('CL+Tube+%28Day%2FNight%29'),jdecode(''),'/43601/45201.html','true',[],''],
		['PAGE','45222',jdecode('LL+Tube+%28Medium+Field+of+View%29'),jdecode(''),'/43601/45222.html','true',[],''],
		['PAGE','45243',jdecode('SeaMoon+Ti'),jdecode(''),'/43601/45243.html','true',[],''],
		['PAGE','45264',jdecode('Seamoon+Ti+%28High+Resolution%29'),jdecode(''),'/43601/45264.html','true',[],''],
		['PAGE','46401',jdecode('Seamoon+TI+%2B'),jdecode(''),'/43601/46401.html','true',[],'']
	],''],
	['PAGE','52401',jdecode('Technical+Specification+SeaMoon+Analogue+Systems'),jdecode(''),'/52401/index.html','true',[ 
		['PAGE','52701',jdecode('CL+Dome'),jdecode(''),'/52401/52701.html','true',[],''],
		['PAGE','52722',jdecode('Cl+Dome+PTZ'),jdecode(''),'/52401/52722.html','true',[],''],
		['PAGE','52743',jdecode('CL+Dome%28Day%2FNight%29'),jdecode(''),'/52401/52743.html','true',[],''],
		['PAGE','52764',jdecode('CL+Tube+%28Day%2FNight%29'),jdecode(''),'/52401/52764.html','true',[],''],
		['PAGE','52785',jdecode('Low+Light+Tube'),jdecode(''),'/52401/52785.html','true',[],''],
		['PAGE','52806',jdecode('SeaMoon+Ti'),jdecode(''),'/52401/52806.html','true',[],''],
		['PAGE','53901',jdecode('SeaMoon+Ti%2B'),jdecode(''),'/52401/53901.html','true',[],'']
	],''],
	['PAGE','17139',jdecode('CCTV+Systems'),jdecode(''),'/17139.html','true',[],''],
	['PAGE','16071',jdecode('Other+Vector+Products'),jdecode(''),'/16071.html','true',[],''],
	['PAGE','15909',jdecode('Contact'),jdecode(''),'/15909.html','true',[],''],
	['PAGE','14101',jdecode('Useful+links'),jdecode(''),'/14101.html','true',[],''],
	['PAGE','20402',jdecode('Photographs'),jdecode(''),'/20402.html','true',[],''],
	['PAGE','35206',jdecode('Guestbook'),jdecode(''),'/35206/index.html','true',[ 
		['PAGE','35201',jdecode('Read+Guestbook'),jdecode(''),'/35206/35201.html','true',[],'']
	],''],
	['PAGE','55301',jdecode('Photo+Album'),jdecode(''),'/55301.html','true',[],'']];
var siteelementCount=46;
theSitetree.topTemplateName='Groove';
theSitetree.paletteFamily='B7B0F5';
theSitetree.keyvisualId='6039';
theSitetree.keyvisualName='kv_6039.jpg';
theSitetree.fontsetId='11124';
theSitetree.graphicsetId='11917';
theSitetree.contentColor='5F5F60';
theSitetree.contentBGColor='E4E4E6';
var theTemplate={
				name: 			'Groove',
				paletteFamily: 	'B7B0F5',
				keyvisualId: 	'6039',
				keyvisualName: 	'kv_6039.jpg',
				fontsetId: 		'11124',
				graphicsetId: 	'11917',
				contentColor: 	'5F5F60',
				contentBGColor: 'E4E4E6',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '1506',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '56601',
internalId:  '',
customField: '20091207-120505'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '52722',
internalId:  '',
customField: '20090811-164828'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16071',
internalId:  '',
customField: '20060505-104749'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1506',
internalId:  '',
customField: '20091207-135725'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15909',
internalId:  '',
customField: '20080717-125113'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '20402',
internalId:  '10a50af11f8',
customField: 'Photographs'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15801',
internalId:  '',
customField: '20090811-145448'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20402',
internalId:  '',
customField: '20060505-101050'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '52764',
internalId:  '',
customField: '20090811-164828'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15828',
internalId:  '',
customField: '20090804-125026'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17571',
internalId:  '',
customField: '20060131-185937'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17085',
internalId:  '',
customField: '20090701-135350'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17112',
internalId:  '',
customField: '20090804-161008'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15855',
internalId:  '',
customField: '20090804-160856'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15882',
internalId:  '',
customField: '20090804-160756'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23801',
internalId:  '',
customField: '20070312-132809'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17139',
internalId:  '',
customField: '20070312-132907'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15990',
internalId:  '',
customField: '20090812-154421'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14101',
internalId:  '',
customField: '20060505-104904'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '1506',
internalId:  '7098949',
customField: '1501'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '35206',
internalId:  '35206aam010in2c9j',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '35201',
internalId:  '35206aam010in2c9j',
customField: 'action=list'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35206',
internalId:  '',
customField: '20080820-095528'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35201',
internalId:  '',
customField: '20080820-095528'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36901',
internalId:  '',
customField: '20090812-155509'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36922',
internalId:  '',
customField: '20090811-145949'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36943',
internalId:  '',
customField: '20090812-155213'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36964',
internalId:  '',
customField: '20090804-145554'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36985',
internalId:  '',
customField: '20090812-160011'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '43601',
internalId:  '',
customField: '20090804-131146'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '43901',
internalId:  '',
customField: '20090804-170446'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '53901',
internalId:  '',
customField: '20090811-180637'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '52743',
internalId:  '',
customField: '20090811-164828'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '43943',
internalId:  '',
customField: '20090804-170604'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '51801',
internalId:  '',
customField: '20090811-163038'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '52401',
internalId:  '',
customField: '20091004-231621'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '52806',
internalId:  '',
customField: '20090811-172648'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '45201',
internalId:  '',
customField: '20090804-170646'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '45222',
internalId:  '',
customField: '20090804-170726'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '52785',
internalId:  '',
customField: '20090811-164828'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '50701',
internalId:  '',
customField: '20090812-160609'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '43922',
internalId:  '',
customField: '20090804-170527'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '55301',
internalId:  '1230ec85803',
customField: 'g.14c7buh2c.21v5e4o2fii.1s'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '51822',
internalId:  '',
customField: '20090811-163038'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '45243',
internalId:  '',
customField: '20090804-165210'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '45264',
internalId:  '',
customField: '20090804-170759'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '46401',
internalId:  '',
customField: '20090804-170958'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '52701',
internalId:  '',
customField: '20090812-092929'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '50722',
internalId:  '',
customField: '20090812-093321'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '50743',
internalId:  '',
customField: '20090811-162938'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '55301',
internalId:  '',
customField: '20090812-152454'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010IN2C9J';
var companyName   = 'SeaMoon+Marine+Cameras';
var htmlTitle	  = 'Marine+cameras+for+marine+CCTV.+Berthing+camera%2C+docking+safety+and+security';
var metaKeywords  = 'Marine+Camera%2Cnightvision%2C+Network%2C+IP%2C+Internet%2C+Berthing+Camera%2C+maritime+surveillance%2C+pinhole%2C+pixel%2Cpan+and+tilt%2C+ptz%2Csea++sea%2C+seasea%2C+low+light%2C+cctv%2C+night+vision%2C+marine%2C+night+camera%2C+night+vision%2C+night+vision+camera%2C+CCTV%2C+marine+night+vision%2C+vision%2C+under+water%2C+security%2C+low+light%2C+marine+camera%2C+hidden+camera%2C+ccd%2C+ISPS%2C+thermal+imager%2C+stabilised%2C+stabilisation%2C+low+light+camera%2C+marine+camera%2C+marine+cctv+cameras%2C+marine+cctv%2C+monochrome+camera%2C+color+camera%2C+colour+camera%2C++safety+camera%2C+surveillance+camera%2C+Vector+Developments%2C+camera%2C+cctv%2C+color+zoom%2C+night+vision%2C+color+camera%2C+Piracy%2C+Somali+pirates%2C+piracy+protection%2C+FLIR%2C+FLIR+night+vision%2C+Non-lethal%2C+sex%2C+mystical';
var metaContents  = 'Marine+Camera+for+security+%28+ISPS+SOLAS+%29safety+and+surveillance+on+yachts%2C+ships+or+boats.+Deck+and+berthing+high+resolution+cameras.+IP+cameras%2C+network+camera+systems';
					                                                                    
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 */					                                                            
