/* [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','4593',jdecode('Home'),jdecode(''),'/4593.html','true',[],''],
	['PAGE','6391',jdecode('Our+Products'),jdecode(''),'/6391.html','true',[],''],
	['PAGE','14723',jdecode('Top+Ten'),jdecode(''),'/14723.html','true',[],''],
	['PAGE','19501',jdecode('What%C2%B4s+New%3F'),jdecode(''),'/19501.html','true',[],''],
	['PAGE','5455',jdecode('How+to+pay+%3F'),jdecode(''),'/5455.html','true',[],''],
	['PAGE','4731',jdecode('Contact'),jdecode(''),'/4731.html','true',[],''],
	['PAGE','8301',jdecode('Alebrijes'),jdecode(''),'/8301.html','true',[],''],
	['PAGE','34901',jdecode('Ayates'),jdecode(''),'/34901.html','true',[],''],
	['PAGE','14183',jdecode('Black+Clay'),jdecode(''),'/14183.html','true',[],''],
	['PAGE','14210',jdecode('Cane+Material'),jdecode(''),'/14210.html','true',[],''],
	['PAGE','14291',jdecode('Cotton'),jdecode(''),'/14291.html','true',[],''],
	['PAGE','14318',jdecode('Ixtle'),jdecode(''),'/14318/index.html','true',[ 
		['PAGE','14696',jdecode('Sapupe'),jdecode(''),'/14318/14696.html','true',[],'']
	],''],
	['PAGE','77601',jdecode('Leather'),jdecode(''),'/77601/index.html','true',[ 
		['PAGE','14561',jdecode('Back+Packs'),jdecode(''),'/77601/14561.html','true',[],''],
		['PAGE','14399',jdecode('Belts'),jdecode(''),'/77601/14399.html','true',[],''],
		['PAGE','14615',jdecode('Briefcases'),jdecode(''),'/77601/14615.html','true',[],''],
		['PAGE','14453',jdecode('Hats+%26+Caps'),jdecode(''),'/77601/14453.html','true',[],''],
		['PAGE','14507',jdecode('Keyrings'),jdecode(''),'/77601/14507.html','true',[],''],
		['PAGE','14426',jdecode('Knife+Tool+Cover'),jdecode(''),'/77601/14426.html','true',[],''],
		['PAGE','14345',jdecode('Lady+Purses'),jdecode(''),'/77601/14345.html','true',[],''],
		['PAGE','14588',jdecode('Shoulder+Bags'),jdecode(''),'/77601/14588.html','true',[],''],
		['PAGE','14372',jdecode('Teen+Purses'),jdecode(''),'/77601/14372.html','true',[],''],
		['PAGE','14156',jdecode('Wallets'),jdecode(''),'/77601/14156.html','true',[],'']
	],''],
	['PAGE','14642',jdecode('Shawls'),jdecode(''),'/14642.html','true',[],''],
	['PAGE','14264',jdecode('Straw'),jdecode(''),'/14264/index.html','true',[ 
		['PAGE','78201',jdecode('Straw+Purses'),jdecode(''),'/14264/78201.html','true',[],''],
		['PAGE','14534',jdecode('Place+Mates'),jdecode(''),'/14264/14534.html','true',[],'']
	],''],
	['PAGE','14480',jdecode('Tin+Plate'),jdecode(''),'/14480/index.html','true',[ 
		['PAGE','92301',jdecode('Cats'),jdecode(''),'/14480/92301.html','true',[],''],
		['PAGE','90701',jdecode('Magnets'),jdecode(''),'/14480/90701.html','true',[],''],
		['PAGE','98301',jdecode('Heart+Magnets'),jdecode(''),'/14480/98301.html','true',[],'']
	],''],
	['PAGE','14129',jdecode('Wood'),jdecode(''),'/14129/index.html','true',[ 
		['PAGE','14237',jdecode('Traditional+Toys'),jdecode(''),'/14129/14237.html','true',[],'']
	],''],
	['PAGE','55201',jdecode('Oaxaca+Today'),jdecode(''),'/55201/index.html','true',[ 
		['PAGE','77901',jdecode('The+Day+of+the+Deaths+2007'),jdecode(''),'/55201/77901.html','true',[],''],
		['PAGE','59501',jdecode('Radishes+Night+2006'),jdecode(''),'/55201/59501.html','true',[],'']
	],''],
	['PAGE','86201',jdecode('Earings'),jdecode(''),'/86201/index.html','true',[ 
		['PAGE','86222',jdecode('Skeletons'),jdecode(''),'/86201/86222.html','true',[],''],
		['PAGE','86243',jdecode('Fridha'),jdecode(''),'/86201/86243.html','true',[],''],
		['PAGE','86264',jdecode('Guadalupe+Virgen'),jdecode(''),'/86201/86264.html','true',[],'']
	],''],
	['PAGE','55222',jdecode('Edicion+en+Espa%C3%B1ol'),jdecode(''),'/55222.html','true',[],''],
	['PAGE','19522',jdecode('Links'),jdecode(''),'/19522.html','true',[],''],
	['PAGE','56206',jdecode('Libro+de+visitas'),jdecode(''),'/56206/index.html','true',[ 
		['PAGE','56201',jdecode('Leer+el+libro+de+Visitas'),jdecode(''),'/56206/56201.html','true',[],'']
	],''],
	['PAGE','76201',jdecode('Tienda+online'),jdecode(''),'/76201.html','true',[],'']];
var siteelementCount=46;
theSitetree.topTemplateName='Seasons_fall';
theSitetree.paletteFamily='ECE1CC';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='21083';
theSitetree.graphicsetId='13182';
theSitetree.contentColor='2E2E2E';
theSitetree.contentBGColor='ECE1CC';
var theTemplate={
				name: 			'Seasons_fall',
				paletteFamily: 	'ECE1CC',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'21083',
				graphicsetId: 	'13182',
				contentColor: 	'2E2E2E',
				contentBGColor: 'ECE1CC',
				hasFlashNavigation: 'true',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'true',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1002']={
webappId:    '1002',
documentId:  '56201',
internalId:  '56206avec10inxst4',
customField: 'action=list'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4593',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '56206',
internalId:  '56206avec10inxst4',
customField: 'action=form&icq=false'
};
webappMappings['4001']={
webappId:    '4001',
documentId:  '76201',
internalId:  '7198514',
customField: 'language:es;country:ES;'
};
var canonHostname = 'diywk02.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVEC10INXST4';
var companyName   = '+---+EL+FOLKLORE+---';
var htmlTitle	  = 'Artesanias+de+Mexico+-+El+Folklore';
var metaKeywords  = 'artesanias+mexicanas%2C+oaxaca%2C+mexico%2C+handicrafts%2C+handmade+products%2C+folklore%2C+culturas%2C+mayoreo%2C+turismo%2C+mexican+handcrafts%2C+wholesale%2C+packing%2C+worldwide+shipping%2C+export%2C+retail%2C+import%2C+export%2C+history%2C+productos+artesanales';
var metaContents  = 'Artesanias+de+Oaxaca%2C+Mexico.+Mexican+Handicrafts+-+Wholesale+Retail.+Amplia+variedad+en+articulos+de+piel%2C+ixtle%2C+palma%2C+algodon+y+madera...+mayoreo+y+menudeo.';
					                                                                    
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 */					                                                            
