/* [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','1510',jdecode('Home'),jdecode(''),'/1510.html','true',[],''],
	['PAGE','7901',jdecode('CV'),jdecode(''),'/7901.html','true',[],''],
	['PAGE','7928',jdecode('The+Prices'),jdecode(''),'/7928.html','true',[],''],
	['PAGE','72001',jdecode('The+Process'),jdecode(''),'/72001.html','true',[],''],
	['PAGE','7955',jdecode('The+Portfolio'),jdecode(''),'/7955.html','true',[],''],
	['PAGE','13701',jdecode('The+Portfolio'),jdecode(''),'/13701.html','true',[],''],
	['PAGE','37801',jdecode('The+Portfolio'),jdecode(''),'/37801.html','true',[],''],
	['PAGE','56701',jdecode('The+Portfolio'),jdecode(''),'/56701.html','true',[],''],
	['PAGE','41201',jdecode('The+Portfolio'),jdecode(''),'/41201.html','true',[],''],
	['PAGE','42201',jdecode('The+Portfolio'),jdecode(''),'/42201.html','true',[],''],
	['PAGE','45501',jdecode('The+Portfolio'),jdecode(''),'/45501.html','true',[],''],
	['PAGE','47601',jdecode('The+Portfolio'),jdecode(''),'/47601.html','true',[],''],
	['PAGE','54201',jdecode('The+Portfolio'),jdecode(''),'/54201.html','true',[],''],
	['PAGE','54222',jdecode('The+Portfolio'),jdecode(''),'/54222.html','true',[],''],
	['PAGE','49201',jdecode('The+Portfolio'),jdecode(''),'/49201.html','true',[],''],
	['PAGE','64201',jdecode('Zoe%26%23x27%3Bs+Wedding'),jdecode(''),'/64201.html','true',[],''],
	['PAGE','64701',jdecode('Zoe%26%23x27%3Bs+Wedding'),jdecode(''),'/64701.html','true',[],''],
	['PAGE','74801',jdecode('The+Italian+Wedding'),jdecode(''),'/74801.html','true',[],''],
	['PAGE','50101',jdecode('Red+gowns'),jdecode(''),'/50101.html','true',[],''],
	['PAGE','48301',jdecode('Black+gowns'),jdecode(''),'/48301.html','true',[],''],
	['PAGE','48322',jdecode('Lounge+Collection'),jdecode(''),'/48322.html','true',[],''],
	['PAGE','42222',jdecode('TV-Britains+Next+Top+Model'),jdecode(''),'/42222.html','true',[],''],
	['PAGE','65201',jdecode('TV-Grand+Arcade+Cambridge'),jdecode(''),'/65201.html','true',[],''],
	['PAGE','42243',jdecode('Music+Videos'),jdecode(''),'/42243.html','true',[],''],
	['PAGE','66322',jdecode('Fashion+Shows'),jdecode(''),'/66322.html','true',[],''],
	['PAGE','13728',jdecode('Contact+%26+News'),jdecode(''),'/13728.html','true',[],''],
	['PAGE','37206',jdecode('Guestbook'),jdecode(''),'/37206/index.html','true',[ 
		['PAGE','37201',jdecode('Read+Guestbook'),jdecode(''),'/37206/37201.html','true',[],'']
	],'']];
var siteelementCount=28;
theSitetree.topTemplateName='Ragtime';
theSitetree.paletteFamily='9BA8DA';
theSitetree.keyvisualId='3588';
theSitetree.keyvisualName='kv_3588.jpg';
theSitetree.fontsetId='10452';
theSitetree.graphicsetId='10850';
theSitetree.contentColor='646580';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Ragtime',
				paletteFamily: 	'9BA8DA',
				keyvisualId: 	'3588',
				keyvisualName: 	'kv_3588.jpg',
				fontsetId: 		'10452',
				graphicsetId: 	'10850',
				contentColor: 	'646580',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'9BA8DA',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'8D8C8C',
				e_color: 		'7D87B0',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '1510',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1510',
internalId:  '',
customField: '20100408-200326'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '37206',
internalId:  '37206aam010inv04g',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '37201',
internalId:  '37206aam010inv04g',
customField: 'action=list'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7901',
internalId:  '',
customField: '20100408-192517'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7928',
internalId:  '',
customField: '20070513-153225'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '72001',
internalId:  '',
customField: '20100408-200110'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7955',
internalId:  '',
customField: '20100406-125227'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13701',
internalId:  '',
customField: '20070512-184657'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13728',
internalId:  '',
customField: '20100611-185203'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '37206',
internalId:  '',
customField: '20080407-143642'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '37201',
internalId:  '',
customField: '20080407-143642'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '37801',
internalId:  '',
customField: '20080516-181855'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '56701',
internalId:  '',
customField: '20090115-131140'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41201',
internalId:  '',
customField: '20080516-183801'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42201',
internalId:  '',
customField: '20100408-201129'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42222',
internalId:  '',
customField: '20090930-105827'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42243',
internalId:  '',
customField: '20080924-175358'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '45501',
internalId:  '',
customField: '20090114-184119'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '47601',
internalId:  '',
customField: '20100406-114618'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '48322',
internalId:  '',
customField: '20081212-184406'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '48301',
internalId:  '',
customField: '20081212-184543'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '49201',
internalId:  '',
customField: '20090116-165001'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '50101',
internalId:  '',
customField: '20090115-130811'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '54222',
internalId:  '',
customField: '20090114-170617'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '54201',
internalId:  '',
customField: '20090114-172244'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '64701',
internalId:  '',
customField: '20100406-113138'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '64201',
internalId:  '',
customField: '20100406-112923'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '65201',
internalId:  '',
customField: '20091026-181745'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '74801',
internalId:  '',
customField: '20100513-133956'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '66322',
internalId:  '',
customField: '20091026-201212'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INV04G';
var companyName   = '';
var htmlTitle	  = 'Linda+Brooker%3A+Dress+and+Costume+Designer';
var metaKeywords  = 'wedding+dresses+wedding+gowns+wedding+dress+designer+individual+wedding+dresses+bespoke+wedding+dresses+bridesmaids+dresses+bespoke+bridesmaids+dresses+evening+gowns+bespoke+evening+gowns+couture+wedding+gowns+wedding+dresses+london+costume+designer+couture+gowns';
var metaContents  = 'Linda+Brooker%3A+Dress+and+Costume+Design';
					                                                                    
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 */					                                                            
