/* [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','5901',jdecode('Inicio'),jdecode(''),'/5901.html','true',[],''],
	['PAGE','5952',jdecode('CV-300+Situaci%C3%B3n+Actual'),jdecode(''),'/5952/index.html','true',[ 
		['PAGE','5973',jdecode('Negociaciones'),jdecode(''),'/5952/5973.html','true',[],''],
		['PAGE','5994',jdecode('Informes'),jdecode(''),'/5952/5994.html','true',[],''],
		['PAGE','6036',jdecode('Acciones'),jdecode(''),'/5952/6036.html','true',[],'']
	],''],
	['PAGE','6141',jdecode('%C2%BFQui%C3%A9nes+somos%3F'),jdecode(''),'/6141.html','true',[],''],
	['PAGE','6204',jdecode('Noticias'),jdecode(''),'/6204.html','true',[],''],
	['PAGE','6057',jdecode('%C2%BFQu%C3%A9+hacer%3F'),jdecode(''),'/6057/index.html','true',[ 
		['PAGE','23701',jdecode('Colaborar'),jdecode(''),'/6057/23701.html','true',[],''],
		['PAGE','32901',jdecode('Recoger+Firmas'),jdecode(''),'/6057/32901.html','true',[],''],
		['PAGE','6183',jdecode('Apoyo+legal'),jdecode(''),'/6057/6183.html','true',[],'']
	],''],
	['PAGE','6120',jdecode('Informarme'),jdecode(''),'/6120/index.html','true',[ 
		['PAGE','13501',jdecode('Asociarme+%28follow+up+page%29'),jdecode(''),'/6120/13501.html','false',[],'']
	],''],
	['PAGE','6225',jdecode('Descargas'),jdecode(''),'/6225/index.html','true',[ 
		['PAGE','30701',jdecode('EstPaisajeALMASSERA'),jdecode(''),'/6225/30701.html','true',[],''],
		['PAGE','30722',jdecode('Proy+Museros-Albalat+'),jdecode(''),'/6225/30722.html','true',[],''],
		['PAGE','30743',jdecode('Acc%C3%A9s++Nord+Port'),jdecode(''),'/6225/30743.html','true',[],'']
	],''],
	['PAGE','6246',jdecode('Enlaces'),jdecode(''),'/6246.html','true',[],''],
	['PAGE','6267',jdecode('Contacto'),jdecode(''),'/6267.html','true',[],'']];
var siteelementCount=19;
theSitetree.topTemplateName='Galerie';
theSitetree.paletteFamily='003366';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='73';
theSitetree.graphicsetId='85';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='CCD6E0';
var theTemplate={
				name: 			'Galerie',
				paletteFamily: 	'003366',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'73',
				graphicsetId: 	'85',
				contentColor: 	'000000',
				contentBGColor: 'CCD6E0',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'003366',
				b_color: 		'CCCC99',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5901',
internalId:  '',
customField: '20090524-144243'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5952',
internalId:  '',
customField: '20090524-101154'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5973',
internalId:  '',
customField: '20090524-114104'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5994',
internalId:  '',
customField: '20090329-111230'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6036',
internalId:  '',
customField: '20090524-103039'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6057',
internalId:  '',
customField: '20090524-144519'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30701',
internalId:  '',
customField: '20080905-183512'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23701',
internalId:  '',
customField: '20080827-194706'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6120',
internalId:  '',
customField: '20080823-002442'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6141',
internalId:  '',
customField: '20090424-093154'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30722',
internalId:  '',
customField: '20080905-184229'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6183',
internalId:  '',
customField: '20080828-175302'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6204',
internalId:  '',
customField: '20090524-115248'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6225',
internalId:  '',
customField: '20090524-095838'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6246',
internalId:  '',
customField: '20090329-161220'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6267',
internalId:  '',
customField: '20080911-160800'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '6120',
internalId:  'aars20in3h2z11bec987ec2',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '13501',
internalId:  'aars20in3h2z11bec987ec2',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13501',
internalId:  '',
customField: '20080823-004602'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '5901',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30743',
internalId:  '',
customField: '20080905-184636'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '32901',
internalId:  '',
customField: '20080911-182803'
};
var canonHostname = 'wsc01a.arsys.es';
var accountId     = 'AARS20IN3H2Z';
var companyName   = 'CV-300+NO+POR+AQU%C3%8D';
var htmlTitle	  = 'CV+300+NO+POR+AQU%C3%8D';
var metaKeywords  = 'CV300+CV-300+Alm%C3%A1cera+Almassera+Alboraya+Meliana+Via+Xurra+Valencia+carretera+huerta+Amics+de+lHorta';
var metaContents  = 'Amics+de+lHorta+quiere+preservar+la+huerta+de+Alm%C3%A1cera%2C+Alboraya+y+Meliana.++Se+quiere+hacer+la+prolongaci%C3%B3n+de+la+CV-300+desde+Albalat+a+Valencia%2C+destrozar+la+Via+Xurra+-+carril+bici+-+y+expropiar+campos%2C+casas+y+alquer%C3%ADas.';
					                                                                    
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 */					                                                            
