/* [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','601',jdecode('Home'),jdecode(''),'/601.html','true',[],''],
	['PAGE','2101',jdecode('Contact'),jdecode(''),'/2101.html','true',[],'']];
var siteelementCount=2;
theSitetree.topTemplateName='Canvas';
theSitetree.paletteFamily='FFB11A';
theSitetree.keyvisualId='3693';
theSitetree.keyvisualName='kv_3693.jpg';
theSitetree.fontsetId='10577';
theSitetree.graphicsetId='10936';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FCF6E5';
var theTemplate={
				name: 			'Canvas',
				paletteFamily: 	'FFB11A',
				keyvisualId: 	'3693',
				keyvisualName: 	'kv_3693.jpg',
				fontsetId: 		'10577',
				graphicsetId: 	'10936',
				contentColor: 	'000000',
				contentBGColor: 'FCF6E5',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'AF7A13',
				e_color: 		'AF7A13',
				f_color: 		'AF7A13',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '601',
internalId:  '',
customField: '20120128-084917'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2101',
internalId:  '',
customField: '20120128-085123'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '601',
internalId:  '1006',
customField: '1006'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INZKLU';
var companyName   = 'Taxi+de+Fort-Moville';
var htmlTitle	  = 'taxi+calvados+eure+honfleur+beuzeville+pont-audemer+fort-moville';
var metaKeywords  = '+taxi%2C+navette%2C+a%C3%A9roport%2C+gare%2C+sncf%2C+car-ferry%2C+transfert%2C+hotel%2C+s%C3%A9minaires%2C+roissy%2C+orly%2C+deauville%2C+honfleur%2C+caen%2C+rouen%2C+le%2Chavre%2C+restaurants%2C+camping%2C+gites%2C+hopitaux%2C+malade%2Cassis%2C+colis%2C+cousier%2C+normandie%2C+eure%2C+calvados%2C+fort-moville%2C+27210%2C+14600%2C+27500%2C+paris%2C+trouville%2C+mariage%2C+soir%C3%A9e%2C+assistance%2C+randonn%C3%A9es%2C+cycliste%2C+pedestre%2C+automobile%2C+visite%2C+cote%2C+fleurie%2C+monospace%2C+luxe%2C+tarif%2C+devis%2C+forfait%2C+pas%2C+cher%2C+dimanche%2C+f%C3%A9ri%C3%A9%2C+nuit%2C+%C3%A9cole%2C++Taxi+fort+moville+27210+NORMANDIE++POUR+TOUS+TYPES+DE+TRAJETS%2C+TOUTES+DISTANCES.+DEVIS+GRATUIT.+NAVETTE+AEROPORT+BLUEGOLDAIRLINES+SNCF+HOTEL+GITES+GARE+CAR+FERRY%2C+COLIS+ET+PLIS+DE+0+%C3%A0+500+KG.+TARIFS.Visites%2C+RESERVATIONS%2Cweek-end%2C+HONFLEUR%2C+DEAUVILLE%2C+TROUVILLE%2C+LE+HAVRE%2C+ROUEN%2C+ETRETAT%2C+DIEPPE%2C+CAEN%2C+BASSE+NORMANDIE%2C+HAUTE+NORMANDIE%2C+MUSEE%2C+ZOO+CERZA+MARAIS+VERNIER%2C+PONT+NORMANDIE%2C+PONT+TANCARVILLE%2C++Taxi+fort+moville+27210+NORMANDIE++TOUS+TYPES+DE+TRAJETS%2C+TOUTES+DISTANCES.+DEVIS+GRATUIT.+NAVETTE+AEROPORT+ORLY+CDG+WEEK+END+BLUEGOLDAIRLINES+SNCF+HOTEL+GITES+GARE+CAR+FERRY%2C+COLIS+ET+PLIS.+TARIFS.RESERVATION%2C+HONFLEUR%2C+DEAUVILLE%2C+TROUVILLE%2C+LE+HAVRE%2C+ROUEN%2C+ETRETAT%2C+DIEPPE%2C+CAEN%2C+BASSE+NORMANDIE%2C+HAUTE+NORMANDIE%2C+MUSEE%2C+ZOO+CERZA+MARAIS+VERNIER%2C+PONT+NORMANDIE%2C+PONT+TANCARVILLE%2C+week-end%2Chotel%2Cvoyage.ASSISTANCE%2C+REMORQUAGE%2C+CHERBOURG%2C+7+PLACES%2C+GOOGLE%2C+PAS+CHER%2C+TAXI+DRIVER+PRICE%2C+LD+LINES%2C+SHUTTLES%2C+LE+HAVRE+TO+HONFLEUR%2C+airport+shuttle%2C+airport+taxi%2C+service%2C+shuttle%2Ctaxi+services%2C+transportation%2C+Beuzeville%2C+%C3%A9paignes%2C+le+torpt%2C+saint-maclou%2C+conteville%2C+saint+pierre+du+val%2C+boulleville%2C+fatouville-grestain%2C+la+lande+saint+l%C3%A9ger%2C+fiquefleur-%C3%A9quainville%2C+foulbec%2C+berville+sur+mer%2C+chevotel%2C+www.besthotel.fr%2C+bernay%2C+pont-audemer%2C+pont+l%C3%A9v%C3%A8que%2C+camping%2C27210%2C14600%2C27260%2C27500%2Cenfants%2C++Liens%3A%2C+le+relais+du+pont+de+normandie%2C+le+camping+la+catini%C3%A9re%2C+hopital+de+pont-audemer%2C+chevotel%2C+janick+traiteur%2Cmalade%2Cassis%2Cconventionn%C3%A9%2Ccaisses%2Cmaladies';
var metaContents  = '+++Activit%C3%A9+de+taxi+sur+la+commune+de+fort-moville+%2827210%29%2Csitu%C3%A9e+en+normandie+entre+honfleur+et+pont-audemer.tous+transports%2Ctoutes+distances%2Cdevis+gratuit+et+rapide.v%C3%A9hicule+7+places+.Conventionn%C3%A9+transport+de+malades+assis';
					                                                                    
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 */					                                                            

