/* [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','1101',jdecode('Inicio'),jdecode(''),'/1101.html','true',[],''],
	['PAGE','1278',jdecode('Contacto'),jdecode(''),'/1278/index.html','true',[ 
		['PAGE','4301',jdecode('Localizaci%C3%B3n+y+contacto+%28follow+up+page%29'),jdecode(''),'/1278/4301.html','false',[],'']
	],''],
	['PAGE','1299',jdecode('Aviso+legal+y+P.+Privacidad'),jdecode(''),'/1299.html','true',[],'']];
var siteelementCount=4;
theSitetree.topTemplateName='Galerie';
theSitetree.paletteFamily='FFFFFF';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='73';
theSitetree.graphicsetId='98';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='D4D4D4';
var theTemplate={
				name: 			'Galerie',
				paletteFamily: 	'FFFFFF',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'73',
				graphicsetId: 	'98',
				contentColor: 	'000000',
				contentBGColor: 'D4D4D4',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'FFFFFF',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1101',
internalId:  '',
customField: '20090915-152849'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1278',
internalId:  '',
customField: '20090915-153749'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '1278',
internalId:  'aars20invlkl12013bb7f2c',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '4301',
internalId:  'aars20invlkl12013bb7f2c',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1299',
internalId:  '',
customField: '20090915-152345'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '1101',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4301',
internalId:  '',
customField: '20090317-102036'
};
var canonHostname = 'wsc01a.arsys.es';
var accountId     = 'AARS20INVLKL';
var companyName   = 'Visi%C3%B3n+Original';
var htmlTitle	  = 'agencia+de+publicidad+y+organizaci%C3%B3n+de++actos';
var metaKeywords  = 'agencias+de+publicidad%2C+organizaci%C3%B3n+de+actos%2C+dise%C3%B1os%2C+imagen+corporativa%2C+kits+publicitarios%2C+servicio+global%2C+creaci%C3%B3n+de+logotipos%2C+dise%C3%B1o+de+marcas%2C+publicidad+en+prensa%2C+radio%2C+televisi%C3%B3n%2C+vallas%2C+internet%2C+folletos%2C+cat%C3%A1logos%2C+carteles%2C+revistas%2C+proyectos+editoriales%2C+stands%2C+Asturias';
var metaContents  = 'Agencia+de+Publicidad+y+de+organizaci%C3%B3n+de+actos+que+presta+un+servicio+global+ejecutando+los+trabajos+de+principio+a+fin.+Entre+los+servicios+que+presta+se+encunetra+la+creaci%C3%B3n+de+imagen+corporativa%2C+dise%C3%B1o+gr%C3%A1fico%2C+campa%C3%B1as+publicitarias%2C+marketing+directo%2C+web+y+la+organizaci%C3%B3n+integral+de+todo+tipo+de+eventos.+';
					                                                                    
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 */					                                                            
