/* [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','401',jdecode('Inicio'),jdecode(''),'/401.html','true',[],''],
	['PAGE','452',jdecode('%C2%BFQuienes+somos%3F'),jdecode(''),'/452/index.html','true',[ 
		['PAGE','20801',jdecode('Mapa+de+acceso'),jdecode(''),'/452/20801.html','true',[],''],
		['PAGE','21901',jdecode('Datos+de+contacto'),jdecode(''),'/452/21901.html','true',[],'']
	],''],
	['PAGE','536',jdecode('Aplicaciones'),jdecode(''),'/536/index.html','true',[ 
		['PAGE','557',jdecode('ERP+X-CoGes'),jdecode(''),'/536/557.html','true',[],''],
		['PAGE','13401',jdecode('M%C3%B3dulos+ERP'),jdecode(''),'/536/13401.html','true',[],''],
		['PAGE','44901',jdecode('X-CoGes+CLINICAS'),jdecode(''),'/536/44901.html','true',[],'']
	],''],
	['PAGE','578',jdecode('Servicios'),jdecode(''),'/578/index.html','true',[ 
		['PAGE','28401',jdecode('Backup+On-line'),jdecode(''),'/578/28401.html','true',[],''],
		['PAGE','29601',jdecode('Web+con+Intranet'),jdecode(''),'/578/29601.html','true',[],''],
		['PAGE','31301',jdecode('Adecuaci%C3%B3n+LOPD'),jdecode(''),'/578/31301.html','true',[],'']
	],''],
	['PAGE','2501',jdecode('Sistemas+Inform.'),jdecode(''),'/2501.html','true',[],''],
	['PAGE','599',jdecode('Partners'),jdecode(''),'/599.html','true',[],''],
	['PAGE','620',jdecode('Noticias'),jdecode(''),'/620.html','true',[],''],
	['PAGE','641',jdecode('Bolsa+de+trabajo'),jdecode(''),'/641.html','true',[],''],
	['PAGE','662',jdecode('Solicitar+informaci%C3%B3n'),jdecode(''),'/662.html','true',[],''],
	['PAGE','36301',jdecode('Pol%C3%ADtica+de+Privacidad'),jdecode(''),'/36301.html','true',[],'']];
var siteelementCount=18;
theSitetree.topTemplateName='freeline';
theSitetree.paletteFamily='24363B';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10648';
theSitetree.graphicsetId='10906';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='E9F0F2';
var theTemplate={
				name: 			'freeline',
				paletteFamily: 	'24363B',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10648',
				graphicsetId: 	'10906',
				contentColor: 	'000000',
				contentBGColor: 'E9F0F2',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '401',
internalId:  '1006',
customField: '1006'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '662',
internalId:  '129235',
customField: 'es:ES:'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '641',
internalId:  '129128',
customField: 'es:ES:'
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '20801',
internalId:  'location',
customField: 'language:es;country:ES;isIncluded:false;'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '401',
internalId:  '129007',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '401',
internalId:  '',
customField: '20070618-122559'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20801',
internalId:  '',
customField: '20070320-190544'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '452',
internalId:  '',
customField: '20070709-142101'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21901',
internalId:  '',
customField: '20070320-190408'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '536',
internalId:  '',
customField: '20070320-190558'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '557',
internalId:  '',
customField: '20070320-190609'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13401',
internalId:  '',
customField: '20070320-190619'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '578',
internalId:  '',
customField: '20070320-190631'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '28401',
internalId:  '',
customField: '20070411-135423'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29601',
internalId:  '',
customField: '20070320-190649'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '31301',
internalId:  '',
customField: '20070320-190700'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2501',
internalId:  '',
customField: '20070320-190716'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '599',
internalId:  '',
customField: '20070411-135631'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '620',
internalId:  '',
customField: '20070320-190735'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '641',
internalId:  '',
customField: '20070320-190755'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '662',
internalId:  '',
customField: '20070320-190808'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36301',
internalId:  '',
customField: '20070330-140729'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44901',
internalId:  '',
customField: '20070618-125907'
};
var canonHostname = 'wsc.cm4all.arrakis.es';
var accountId     = 'AAK020INXP2E';
var companyName   = 'CONSULTING+INDEPENDIENTE+DE+INFORMATICA+S.L.';
var htmlTitle	  = 'COINDI+SL';
var metaKeywords  = 'ERP+SERVIDORES+ORDENADORES+REDES+IMPRESORAS+SOFTWARE+HARDWARE+COSMOS+APLICACIONES+DESARROLLOS+OFIMATICA+IBM+LENOVO+MAXDATA+TIC+OKI+TRANSTOOLS+PANDA+SCO+BT+VODAFONE+MICROSOFT+LOPD+BACKUP+REMOTO+ONLINE+ANTIVIRUS+AUDITORIA';
var metaContents  = 'empresa+de+servicios+inform%C3%A1ticos+con+sede+en+Valencia.+Nos+dedicamos+a+la+venta%2C+instalaci%C3%B3n+y+configuraci%C3%B3n+de+sistemas+inform%C3%A1ticos+%28ordenadores%2C+servidores%2C+impresoras%2C+redes%2C+etc+...%29+y+desarrollos+indorm%C3%A1ticos.+Disponemos+de+un+ERP+actual%2C+orientado+a+las+pymes+nacionales.+Realizamos+desarrollos+a+medida.+';
					                                                                    
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 */					                                                            
