/* [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','312',jdecode('Home'),jdecode(''),'/312.html','true',[],''],
	['PAGE','5422',jdecode('Fiestas+Infantiles'),jdecode(''),'/5422/index.html','true',[ 
		['PAGE','23601',jdecode('Dulceros+Madera'),jdecode(''),'/5422/23601.html','true',[],''],
		['PAGE','46001',jdecode('Dulceros+Varios'),jdecode(''),'/5422/46001.html','true',[],''],
		['PAGE','36801',jdecode('Dulceros+Foamy'),jdecode(''),'/5422/36801.html','true',[],''],
		['PAGE','36822',jdecode('Dulceros+Tela'),jdecode(''),'/5422/36822.html','true',[],''],
		['PAGE','26501',jdecode('Centros+de+Mesa'),jdecode(''),'/5422/26501.html','true',[],''],
		['PAGE','32501',jdecode('Invitaciones+Infantiles'),jdecode(''),'/5422/32501.html','true',[],''],
		['PAGE','38601',jdecode('Complementos'),jdecode(''),'/5422/38601.html','true',[],'']
	],''],
	['PAGE','5401',jdecode('Productos+por+Evento'),jdecode(''),'/5401/index.html','true',[ 
		['PAGE','24701',jdecode('Bautizo'),jdecode(''),'/5401/24701.html','true',[],''],
		['PAGE','50901',jdecode('Centros+de+mesa'),jdecode(''),'/5401/50901.html','true',[],''],
		['PAGE','62601',jdecode('XV+a%C3%B1os'),jdecode(''),'/5401/62601.html','true',[],'']
	],''],
	['PAGE','20301',jdecode('Invitaciones'),jdecode(''),'/20301.html','true',[],''],
	['PAGE','5443',jdecode('Trabajos+Hechos'),jdecode(''),'/5443/index.html','true',[ 
		['PAGE','42501',jdecode('Centros+de+mesa'),jdecode(''),'/5443/42501.html','true',[],''],
		['PAGE','51301',jdecode('Decoraciones+y+mas'),jdecode(''),'/5443/51301.html','true',[],''],
		['PAGE','30901',jdecode('Mas+modelos+de+recuerdos'),jdecode(''),'/5443/30901.html','true',[],'']
	],''],
	['PAGE','64001',jdecode('Servicios'),jdecode(''),'/64001.html','true',[],''],
	['PAGE','5464',jdecode('Contacto'),jdecode(''),'/5464.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Transluszent';
theSitetree.paletteFamily='9900CC';
theSitetree.keyvisualId='9242';
theSitetree.keyvisualName='kv4.swf';
theSitetree.fontsetId='17363';
theSitetree.graphicsetId='12760';
theSitetree.contentColor='9900CC';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'true',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'true',
				hasCompanyname: 'false',
				name: 			'Transluszent',
				paletteFamily: 	'9900CC',
				keyvisualId: 	'9242',
				keyvisualName: 	'kv4.swf',
				fontsetId: 		'17363',
				graphicsetId: 	'12760',
				contentColor: 	'9900CC',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'FFFFFF',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1501']={
webappId:    '1501',
documentId:  '312',
internalId:  '3724657',
customField: '1501'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '312',
internalId:  '1006',
customField: '1006'
};
var canonHostname = 'diywk00.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVEC10IN3I40';
var companyName   = 'creacionestiti.com.mx';
var htmlTitle	  = 'Creacionestiti';
var metaKeywords  = 'dulceros++centros+de+mesa++invitaciones++fiestas+infantiles++recuerdos+';
var metaContents  = 'venta+y+elaboracion+de+recuerdos%2C+invitaciones+y+centros+de+mesa+para+fiestas+infantiles%2C+bodas%2C+bautizo%2C+baby+shower%2C+despedida+de+soltera+y+mas.+cnetros+de+mesa%2C+dulceros+e+invitaciones+para+fiestas+infantiles+tenemos+a+todos+los+personajes.';
					                                                                    
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 */					                                                            
