/* [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','4598',jdecode('Le+Dollar'),jdecode(''),'/4598/index.html','true',[ 
		['PAGE','41801',jdecode('L%26%23x27%3Borigine+du+Dollar'),jdecode(''),'/4598/41801.html','true',[],''],
		['PAGE','4655',jdecode('Le+billet+de+1+Dollar'),jdecode(''),'/4598/4655.html','true',[],''],
		['PAGE','21801',jdecode('Le+billet+de+2+Dollars'),jdecode(''),'/4598/21801.html','true',[],''],
		['PAGE','21828',jdecode('Le+billet+de+5+Dollars'),jdecode(''),'/4598/21828.html','true',[],''],
		['PAGE','21855',jdecode('Le+billet+de+10+Dollars'),jdecode(''),'/4598/21855.html','true',[],''],
		['PAGE','21882',jdecode('Le+billet+de+20+Dollars'),jdecode(''),'/4598/21882.html','true',[],''],
		['PAGE','21909',jdecode('Le+billet+de+50+Dollars'),jdecode(''),'/4598/21909.html','true',[],''],
		['PAGE','21936',jdecode('Le+billet+de+100+Dollars'),jdecode(''),'/4598/21936.html','true',[],'']
	],''],
	['PAGE','34501',jdecode('Les+nouveaux+billets'),jdecode(''),'/34501/index.html','true',[ 
		['PAGE','34528',jdecode('Le+billet+de+10+Dollars'),jdecode(''),'/34501/34528.html','true',[],''],
		['PAGE','34555',jdecode('Le+billet+de+20+Dollars'),jdecode(''),'/34501/34555.html','true',[],''],
		['PAGE','34582',jdecode('Le+billet+de+50+Dollars'),jdecode(''),'/34501/34582.html','true',[],'']
	],''],
	['PAGE','6901',jdecode('Les+planches+initiales'),jdecode(''),'/6901.html','true',[],''],
	['PAGE','9101',jdecode('Les+appellations'),jdecode(''),'/9101/index.html','true',[ 
		['PAGE','16601',jdecode('Large+Size+Currency'),jdecode(''),'/9101/16601.html','true',[],''],
		['PAGE','16628',jdecode('Small+Size+Currency'),jdecode(''),'/9101/16628.html','true',[],''],
		['PAGE','16101',jdecode('Demand+Notes'),jdecode(''),'/9101/16101.html','true',[],''],
		['PAGE','16128',jdecode('United+StatesNotes'),jdecode(''),'/9101/16128.html','true',[],''],
		['PAGE','16655',jdecode('National+Bank+Notes'),jdecode(''),'/9101/16655.html','true',[],''],
		['PAGE','16682',jdecode('National+Gold+Bank+Notes'),jdecode(''),'/9101/16682.html','true',[],''],
		['PAGE','16709',jdecode('Silver+Certificates'),jdecode(''),'/9101/16709.html','true',[],''],
		['PAGE','16736',jdecode('Refunding+Certificates'),jdecode(''),'/9101/16736.html','true',[],''],
		['PAGE','16763',jdecode('Gold+Certificates'),jdecode(''),'/9101/16763.html','true',[],''],
		['PAGE','16790',jdecode('Treasury+or+Coin+Notes'),jdecode(''),'/9101/16790.html','true',[],''],
		['PAGE','16844',jdecode('Federal+Reserve+Bank+Notes'),jdecode(''),'/9101/16844.html','true',[],''],
		['PAGE','16817',jdecode('Federal+Reserve+Notes'),jdecode(''),'/9101/16817.html','true',[],'']
	],''],
	['PAGE','28501',jdecode('Les+sceaux'),jdecode(''),'/28501.html','true',[],''],
	['PAGE','61601',jdecode('Les+cotations'),jdecode(''),'/61601.html','true',[],''],
	['PAGE','9401',jdecode('Commandes+%2F+Contact'),jdecode(''),'/9401/index.html','true',[ 
		['PAGE','27501',jdecode('Les+planches+initiales'),jdecode(''),'/9401/27501.html','true',[],''],
		['PAGE','27609',jdecode('Les+liasses+uncirculated'),jdecode(''),'/9401/27609.html','true',[],''],
		['PAGE','27528',jdecode('les+folios+4+Notes+'),jdecode(''),'/9401/27528.html','true',[],''],
		['PAGE','27555',jdecode('Les+folios+Star+Notes'),jdecode(''),'/9401/27555.html','true',[],''],
		['PAGE','27582',jdecode('Les+Low+Numbered'),jdecode(''),'/9401/27582.html','true',[],''],
		['PAGE','28101',jdecode('Les+Silver+Certificates'),jdecode(''),'/9401/28101.html','true',[],''],
		['PAGE','18801',jdecode('Commandes+group%C3%A9es'),jdecode(''),'/9401/18801.html','true',[],'']
	],'']];
var siteelementCount=37;
theSitetree.topTemplateName='Proton';
theSitetree.paletteFamily='DCEAAA';
theSitetree.keyvisualId='3540';
theSitetree.keyvisualName='kv_3540.jpg';
theSitetree.fontsetId='10445';
theSitetree.graphicsetId='10830';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='DCEAAA';
var theTemplate={
				name: 			'Proton',
				paletteFamily: 	'DCEAAA',
				keyvisualId: 	'3540',
				keyvisualName: 	'kv_3540.jpg',
				fontsetId: 		'10445',
				graphicsetId: 	'10830',
				contentColor: 	'000000',
				contentBGColor: 'DCEAAA',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'747474',
				e_color: 		'864242',
				f_color: 		'A9A9A9',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4598',
internalId:  '',
customField: '20071015-114501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41801',
internalId:  '',
customField: '20070909-200529'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4655',
internalId:  '',
customField: '20070909-230028'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21801',
internalId:  '',
customField: '20070909-230603'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21828',
internalId:  '',
customField: '20070909-230959'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21855',
internalId:  '',
customField: '20070909-232105'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21882',
internalId:  '',
customField: '20070909-232559'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21909',
internalId:  '',
customField: '20070910-220431'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21936',
internalId:  '',
customField: '20070911-094812'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34501',
internalId:  '',
customField: '20070911-104157'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34528',
internalId:  '',
customField: '20070911-103616'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34555',
internalId:  '',
customField: '20070911-104704'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34582',
internalId:  '',
customField: '20070911-104929'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6901',
internalId:  '',
customField: '20070912-000429'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9101',
internalId:  '',
customField: '20070912-114539'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16601',
internalId:  '',
customField: '20070912-125907'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16628',
internalId:  '',
customField: '20070911-154238'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16101',
internalId:  '',
customField: '20070912-134126'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16128',
internalId:  '',
customField: '20070912-143818'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16655',
internalId:  '',
customField: '20070912-143051'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16682',
internalId:  '',
customField: '20070912-142201'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16709',
internalId:  '',
customField: '20070912-141647'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16736',
internalId:  '',
customField: '20070912-140500'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16763',
internalId:  '',
customField: '20070913-161344'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16790',
internalId:  '',
customField: '20070913-163044'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16844',
internalId:  '',
customField: '20070913-171150'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16817',
internalId:  '',
customField: '20070913-171425'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '28501',
internalId:  '',
customField: '20070914-155221'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '61601',
internalId:  '',
customField: '20070913-172835'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9401',
internalId:  '',
customField: '20080705-151027'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27501',
internalId:  '',
customField: '20070913-112624'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27609',
internalId:  '',
customField: '20070913-112941'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27528',
internalId:  '',
customField: '20070906-163039'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27555',
internalId:  '',
customField: '20070913-114855'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27582',
internalId:  '',
customField: '20070913-115035'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '28101',
internalId:  '',
customField: '20070913-115341'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18801',
internalId:  '',
customField: '20070912-150720'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INL49U';
var companyName   = 'francedollars.com';
var htmlTitle	  = 'francedollars.com';
var metaKeywords  = 'dollar%2C+dollars%2C+achat+de+dollars%2C+vente+de+dollars+de+collection%2C+histoire+du+dollar%2C+planche+de+32+dollars%2C+dollars+uncirculated%2C+fran%EF%BF%BDois+barmont%2C+francois+barmont%2C+billets+de+banques+am%EF%BF%BDricains';
var metaContents  = 'Histoire+du+dollar+depuis+sa+cr%EF%BF%BDation%2C+achat+et+vente+de+dollars+de+collections.+par+Fran%EF%BF%BDois+Barmont';
					                                                                    
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 */					                                                            
