/* [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','501',jdecode('Home'),jdecode(''),'/501.html','true',[],''],
	['PAGE','552',jdecode('%C2%BFQuienes+somos%3F'),jdecode(''),'/552.html','true',[],''],
	['PAGE','573',jdecode('Conceptos+y+an%C3%A1lisis'),jdecode(''),'/573/index.html','true',[ 
		['PAGE','594',jdecode('An%C3%A1lisis+econ%C3%B3micos'),jdecode(''),'/573/594.html','true',[],''],
		['PAGE','636',jdecode('Servicios+principales'),jdecode(''),'/573/636.html','true',[],''],
		['PAGE','657',jdecode('Art%C3%ADculos+interesantes'),jdecode(''),'/573/657.html','true',[],'']
	],''],
	['PAGE','678',jdecode('Referencias+de+clientes'),jdecode(''),'/678.html','true',[],''],
	['PAGE','699',jdecode('Cont%C3%A1ctenos'),jdecode(''),'/699.html','true',[],''],
	['PAGE','8401',jdecode('Blog'),jdecode(''),'/8401.html','true',[],'']];
var siteelementCount=9;
theSitetree.topTemplateName='Card';
theSitetree.paletteFamily='990000';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='428';
theSitetree.graphicsetId='479';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Card',
				paletteFamily: 	'990000',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'428',
				graphicsetId: 	'479',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'FFFFFF',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '501',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '501',
internalId:  '5687390',
customField: '1501'
};
webappMappings['3030']={
webappId:    '3030',
documentId:  '8401',
internalId:  '8401',
customField: 'language:es;country:ES;'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '594',
internalId:  '7211409',
customField: 'es:ES:'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '699',
internalId:  '7211409',
customField: 'es:ES:'
};
var canonHostname = 'diywk02.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVEC10INL9GD';
var companyName   = 'GRUPO+ABC+-+Especialistas+en+Precios+de+Transferencia++';
var htmlTitle	  = 'Precios+de+Transferencia+++GRUPO+ABC';
var metaKeywords  = 'precios+de+transferencia%2C++partes+relacionadas%2C++preciosdetransferencia%2C++preciodetransferencia%2C++metodos+de+precios+de+transferencia%2C++partes+relacionadas%2C++empresas+relacionadas%2C++transfer+prices%2C++transfer+pricing%2C++contadores+publicos%2C++comercio+exterior%2C+comercio+internacional%2C++maquiladoras%2C++empresas+maquiladoras++%21--+Google+Code+for+lead+Conversion+Page+--++script+language%3DJavaScript+type%3Dtext%2Fjavascript++%21--++var+google_conversion_id+%3D+1064761736%3B++var+google_conversion_language+%3D+es%3B++var+google_conversion_format+%3D+1%3B++var+google_conversion_color+%3D+FFFF33%3B++if+%281%29+%7B++++var+google_conversion_value+%3D+1%3B++%7D++var+google_conversion_label+%3D+lead%3B++%2F%2F--++%2Fscript++script+language%3DJavaScript+src%3Dhttp%3A%2F%2Fwww.googleadservices.com%2Fpagead%2Fconversion.js++%2Fscript++noscript++img+height%3D1+width%3D1+border%3D0+src%3Dhttp%3A%2F%2Fwww.googleadservices.com%2Fpagead%2Fconversion%2F1064761736%2Fimp.gif%3Fvalue%3D1label%3Dleadscript%3D0++%2Fnoscript++++++++++++++++++++++++++++++++++++++++++%21--+Google+Code+for+default+Conversion+Page+--++script+language%3DJavaScript+type%3Dtext%2Fjavascript++%21--++var+google_conversion_type+%3D+landing%3B++var+google_conversion_id+%3D+1064761736%3B++var+google_conversion_language+%3D+es%3B++var+google_conversion_format+%3D+1%3B++var+google_conversion_color+%3D+FFFF33%3B++%2F%2F--++%2Fscript++script+language%3DJavaScript+src%3Dhttp%3A%2F%2Fwww.googleadservices.com%2Fpagead%2Fconversion.js++%2Fscript++noscript++img+height%3D1+width%3D1+border%3D0+src%3Dhttp%3A%2F%2Fwww.googleadservices.com%2Fpagead%2Fconversion%2F1064761736%2Fextclk%3Fscript%3D0++%2Fnoscript++++++++++++++++';
var metaContents  = 'En+Grupo+ABC+somos+especialistas+en+realizar+estudios+de+precios+de+transferencia+en+M%C3%A9xico+y+Am%C3%A9rica.++If+you+need+a+translation+of+this+comment%2C+please+send+us+an+email.';
					                                                                    
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 */					                                                            
