/* [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','1513',jdecode('voir+notre+site+de+vente+en+ligne'),jdecode(''),'/1513.html','true',[],''],
	['PAGE','1570',jdecode('Nos+partenaire+et+lien'),jdecode(''),'/1570.html','true',[],'']];
var siteelementCount=2;
theSitetree.topTemplateName='Anniversary';
theSitetree.paletteFamily='9D3993';
theSitetree.keyvisualId='3740';
theSitetree.keyvisualName='kv_3740.jpg';
theSitetree.fontsetId='10559';
theSitetree.graphicsetId='10943';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='F3EFDB';
var theTemplate={
				name: 			'Anniversary',
				paletteFamily: 	'9D3993',
				keyvisualId: 	'3740',
				keyvisualName: 	'kv_3740.jpg',
				fontsetId: 		'10559',
				graphicsetId: 	'10943',
				contentColor: 	'000000',
				contentBGColor: 'F3EFDB',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'F7EFDE',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'828181',
				e_color: 		'828181',
				f_color: 		'828181',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '1513',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1513',
internalId:  '',
customField: '20080923-150830'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1570',
internalId:  '',
customField: '20060123-104858'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010IN3TJ8';
var companyName   = 'Spaf%21+Mariage+Mariage-a2';
var htmlTitle	  = 'mariage-a2.fr+faire+part+mariage+drag%C3%A9es+mariage+decoration+mariage';
var metaKeywords  = 'mariage%2C+mariage-a2%2C+faire-part%2C+faire+part%2C+robes%2C+robe%2C+robe+de+mari%EF%BF%BDe%2C+robes+de+mariee%2C+confetti%2C+petit+coeur%2C+petits+coeurs%2C+tulle%2C+liste%2C+cartes%2C+carte+mariage%2C+invitations%2C+mariage%2C+remerciements%2C+anniversaire%2C+decoration+mariage%2C+faire-part+mariage%2C+ballons+mariage%2C+d%EF%BF%BDcoration%2C+photo%2C+coiffure%2C+ballons%2C+animation%2C+faire+part+de+mariage%2C+noces%2C+rencontres%2C+pacs%2C+dj%2C+alliances%2C+messe%2C+fian%EF%BF%BDailles%2C+fiancailles%2C+musique%2C+amoureux%2C+salle%2C+photographe%2C+traiteur%2C+r%EF%BF%BDserver%2C+animation%2C+reception%2C+ceremonie%2C+c%EF%BF%BDr%EF%BF%BDmonie+catholique%2C+r%EF%BF%BDception%2C+c%EF%BF%BDr%EF%BF%BDmonie%2C+c%EF%BF%BDl%EF%BF%BDbrer%2C+1001%2C+voyage%2C+catholique%2C+matrimoniale%2C+religieux%2C+marriage%2C+mariages%2C+mari%EF%BF%BDs%2C+voyage+de+noces%2C+marri%EF%BF%BDs%2C+mari%2C+mari%EF%BF%BDes%2C+femme%2C+femmes%2C+amour%2C+amoureuses%2C+location+de++salle%2C+photographe%2C+traiteur%2C+r%EF%BF%BDserver%2C+animation%2C+reception%2C++ballons%2C+ballon%2C+decoration+de+salle%2C+d%EF%BF%BDcoration+de+salle%2C+allumettes%2C+allumette%2C+personnalis%EF%BF%BD%2C+personnalis%EF%BF%BDs%2C+personalises%2C+personnalise.';
var metaContents  = 'Mariage-a2%2C+tout+pour+organiser+son+mariage+%3A+faire-part%2C+drag%EF%BF%BDes%2C+robes%2C+decoration+de+salle%2C+ballons+mariage+';
					                                                                    
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 */					                                                            
