/* [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','501',jdecode('Home%2FPage+d%26%23x27%3Baccueil'),jdecode(''),'/501.html','true',[],''],
	['PAGE','6801',jdecode('Translation'),jdecode(''),'/6801/index.html','true',[ 
		['PAGE','6822',jdecode('Traduction'),jdecode(''),'/6801/6822.html','true',[],'']
	],''],
	['PAGE','6843',jdecode('About+me'),jdecode(''),'/6843/index.html','true',[ 
		['PAGE','6864',jdecode('Qui+suis-je%3F'),jdecode(''),'/6843/6864.html','true',[],'']
	],''],
	['PAGE','5801',jdecode('Contact'),jdecode(''),'/5801.html','true',[],'']];
var siteelementCount=6;
theSitetree.topTemplateName='Proton';
theSitetree.paletteFamily='FFFFFF';
theSitetree.keyvisualId='3533';
theSitetree.keyvisualName='kv_3533.jpg';
theSitetree.fontsetId='10446';
theSitetree.graphicsetId='10827';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Proton',
				paletteFamily: 	'FFFFFF',
				keyvisualId: 	'3533',
				keyvisualName: 	'kv_3533.jpg',
				fontsetId: 		'10446',
				graphicsetId: 	'10827',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'747474',
				e_color: 		'864242',
				f_color: 		'A9A9A9',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '501',
internalId:  '1006',
customField: '1006'
};
var canonHostname = 'hptworkerdb01a.bluewin.ch';
var accountId     = 'ABW0X0IN2RAY';
var companyName   = 'Michelle+Bailat-Jones';
var htmlTitle	  = 'French+to+English+translation+%2F+Traduction+du+francais+vers+langlais';
var metaKeywords  = 'traduction+du+francais+vers+langlais+translation+bureau+de+traduction+French+English+francais+anglais+litteraire+film+music+literature+reviews+marketing+cosmetics+fashion+wine+oenologie+suisse+switzerland+lausanne+lavaux+vin+mode+cinema+musique+traduction+de+documents+professional+freelance+translator+Lausanne+Vaud+';
var metaContents  = 'Offering+professional+and+literary+French+to+English+translations++Specializing+in+literary+and+arts+related+documents%2C+marketing+and+advertising+materials%2C+publishing+and+general+business+documents.++Specific+fields%3Awine%2C+cosmetics%2C+fashion%2C+gastronomy%2C+music%2C+literature+and+film+reviews+international+development+and+politics++Documents+I+work+with%3A+presentations%2C+brochures%2C+press+releases%2C+reports%2C+letters+short+stories%2C+film+scripts%2C+essays%2C+journal%2Fmagazine+articles++RATES+Translation%3A+0.10+Euros%2Fword+with+a+minimum+of+30+Euros%2Fhour+for+jobs+less+than+300+words.++Proofreading%3A+0.05+Euros%2Fword+with+a+minimum+of+20+Euros%2Fhour+for+jobs+less+than+300+words.++I+prefer+payment+via+Paypal+but+am+happy+to+accept+bank+transfers+if+necessary.++Please+contact+me+for+a+free+quote.+Be+sure+to+include+the+approximate+word+count%2C+a+small+sample+of+the+document+to+be+translated+%28if+possible%29%2C+the+deadline+and+your+contact+details.++Feel+free+to+ask+for+a+quote+in+US+dollars+or+Swiss+francs.+++I+am+an+American+citizen%2C+but+born+in+Japan.+I+grew+up+in+the+Pacific+Northwest%2C+lived+and+studied+in+France%2C+then+went+back+to+Japan+for+a+few+years.+Current+adventures+have+brought+me+to+settle+in+the+wine-growing+region+of+Lavaux%2C+Switzerland.++Working+as+a+freelance+translator+has+enabled+me+to+happily+combine+two+of+my+passions%2C+language+and+writing%2C+into+one+fulfilling+job.+Working+with+a+text+to+be+translated%2C+whether+a+marketing+brochure+for+a+vineyard%2C+a+website+for+a+French+cosmetics+company%2C+a+documentary+film+script+or+music+review%2C+is+an+engaging+exercise+in+writing+and+linguistic+immersion.+++Translation+is+an+art+which+requires+patience%2C+attention+to+detail%2C+and+often%2C+a+literary+sensibility.+A+translator+must+also+be+an+efficient+member+of+the+business+community%2C+flexible+and+quick+to+produce+accurate%2C+quality+translations.+I%E2%80%99m+looking+forward+to+meeting+these+goals+on+a+new+project+with+you%21++Translation+is+the+other+side+of+a+tapestry%E2%80%A6Cervantes';
					                                                                    
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 */					                                                            
