function nRestaurar(org) {
if(org == 'porque'){ document.getElementById("llista_porque").innerHTML = ''; document.getElementById("llista_valores").innerHTML = ''; }
	if(org == 'ofrecemos') document.getElementById("llista_ofrecemos").innerHTML = '';
	if(org == 'servicios') document.getElementById("llista").innerHTML = '';
}
function nChangeImage(org,ruta,idioma) {
	var valor = 0;
	switch(idioma){
		case 'en':
			valor = 1;
			break;
		case 'es':
			valor = 0;
			break;
	}
	var arrayServicios = [
		/*Gobierno*/
		['<b>Gobierno corporativo</b><br /><ul><li>Gestión interina de la empresa, de áreas funcionales o territoriales (dirección general o direcciones funcionales)</li><li>Apoyo en el diseño y gestión de órganos de gobierno</li><li>Planificación de la transición generacional en la empresa familiar</li></ul>','<b style="padding-left:25px;">Corporate Governance</b><br /><ul><li>Interim management of the company, in functional or territorial areas (general management or functional management)</li><li>Support for the design and management of governance procedures</li><li>Planning of generational transition in a family business</li></ul>'],
		/*marketing*/
		['<b>Marketing, ventas y relación con clientes</b><br /><ul><li>Plan de Marketing integral</li><li>Marketing-mix:<ul><li>Plan de Productos / Servicios</li><li>Plan de Precios</li><li>Plan de Comunicación</li><li>Plan Comercial</li></ul></li><li>Análisis e Investigación de Mercado, “benchmarking”, “mystery shopping”…</li><li>CRM: Gestión de la relación con los Clientes</li></ul>','<b style="padding-left:25px;">Marketing, Business and the relationship with clients</b><br /><ul><li>Integral Marketing Plan</li><li>Marketing-mix:<ul><li>Plan of Products/Services</li><li>Price Plan</li><li>Communication Plan</li><li>Commercial Plan</li></ul></li><li>Market Analysis and Investigation, “benchmarking”, “mystery shopping”…</li><li>CRM: Customer Relationship Management</li></ul>'],
		/*estrategia*/
		['<b>Estrategia</b><br /><ul><li>Definición  o revisión del ámbito de negocio</li><li>Diseño de estrategias de crecimiento, diversificación  y expansión territorial</li><li>Valoración de oportunidades de negocio</li><li>“Due dilligence” estratégico y comercial</li><li>Plan de Riesgos</li><li>Apoyo en los procesos de fusiones y adquisiciones</li><li>Apoyo en la búsqueda de socios estratégicos e inversores</li><li>Estructuración de holdings y/o empresas familiares</li><li>Plan Estratégico<ul><li>Análisis de arena competitiva</li><li>Estrategia competitiva y Posicionamiento</li><li>Diseño de Ruta Estratégica</li></ul></li><li>Plan de Negocio</li><li>Plan de Reestructuración</li><li>Plan de Acción</li><li>Apoyo en la apertura de nuevos mercados / Internacionalización</li></ul>', '<b style="padding-left:25px;">Strategy</b><br /><ul><li>Definition or revision of the scope of the business</li><li>Design of growth, diversification and territorial expansion strategies</li><li>Evaluation of business opportunities</li><li>Strategic and commercial “due diligence”</li><li>Risk Plan</li><li>Support during merger or acquisition processes</li><li>Support in the search for strategic partners and investors</li><li>Structuring of holdings and/or family businesses</li><li>Strategic Plan</li><ul><li>Analysis of the competitive arena</li><li>Competitive and Positioning Strategy</li><li>Design of Strategic Route</li></ul><li>Business Plan</li><li>Restructuring Plan</li><li>Action Plan</li><li>Support in the opening of new markets/ Internationalization</li></ul>']
	];
	var arrayOfrecemos = [
		['<b>Cultura abierta</b><br />En Beagle, fomentamos la cultura abierta, comunicativa y de puertas abiertas. Desde el primer día, cualquiera puede hacer valer su opinión, y defenderla con sólidos argumentos. Cualquier consultor, por más junior que sea, puede decirle a un socio “….no estoy de acuerdo con este argumento y mis razones son las siguientes…”.','<b>Open-mindedness</b><br />At Beagle, we encourage open-mindedness, open communication and open doors. From the first day, every individual can make his/her point of view heard and defend his/her arguments. Any consultant, no matter how young, can say to a partner “I do not agree with this and these are my reasons why…”'],
		['<b>Evaluaciones de desempeño semestrales</b><br />Adicionalmente al feedback constante que recibirás en el desarrollo de los proyectos en los que participes, se llevan a cabo sesiones formales de evalución del desempeño dos veces al año. Esto permite tener un diálogo sobre cómo están funcionando las cosas y, más importante, definir objetivos y acciones de mejora para el desarrollo.','<b>Semestral Performance Evaluations</b><br />In addition to the constant feedback you will receive about the development of the projects you are involved in, formal performance evaluation sessions are carried out twice a year.  This gives us the chance to talk about how things are going and, more importantly, define objectives and ways of improving development.'],
		['<b>Balance vida privada y profesional</b><br />En consultoría se trabaja duro, pero consideramos que los picos de trabajo deben compensarse con unos horarios más flexibles cuando no hay cargas de trabajo a fin de obtener unas cargas sostenibles que permitan el desarrollo de nuestros profesionales como personas en su esfera privada. Como ejemplo, tenemos como regla de compañía trabajar los viernes por la mañana desde la oficina (cuando se esté asignado a un proyecto en casa del cliente), y por la tarde, hacerlo desde casa.','<b>Conciliation between  personal and professional life</b><br />We work hard at Beagle but we consider that intense work loads must be balanced by more flexible office hours at times when there is less of a work load.  This allows us to have sustainable workloads that permit our professionals to grow in their private life. For example, as a company rule, on Fridays we work in the morning in the office (when assigned to a client’s project) and in the afternoon we work from home.'],
		['<b>Colaboración flexible</b><br />Queremos acceder al talento de profesionales cuyas circunstancias personales o su momento de ciclo vital le impiden una incoporación full-time al equipo Beagle. Existen otras maneras de colaboración más flexibles, por proyecto o a tiempo parcial.  Explicanos tu caso y trataremos de encontrar una  fórmula adhoc, que garantice la aportación mútua de valor, en una relación “win-win”.','<b>Flexible collaboration</b><br />We want to gain access to the talent of professionals whose personal circumstances prevent them from working for Beagle full-time.  Types of more flexible collaboration exist per project or on a part-time basis.  Explain your situation to us and we will try to find a way of guaranteeing mutual rewards in a “win-win” situation. '],
		['<b>Carácter emprendedor</b><br />Beagle es una compañía joven y en fuerte crecimiento, por lo que se respira un aire emprendedor (start-up), flexible y desenfadado.','<b>An enterprising character</b><br />Beagle is a young company in full growth and it radiates an enterprising, start-up, flexible and confident energy.'],
		['<b>Oportunidades de crecimiento</b><br />El límite a tu crecimiento lo pones tú, con tus capacidades y méritos. Beagle te ofrece las oportunidades en forma de clientes y proyectos atractivos y mediante la participación en el desarrollo de proyectos internos y en las áreas de gestión de la propia compañía.','<b>Growth opportunities</b><br />The limits to your growth are defined by your abilities and merits. Beagle gives you the opportunity to work with clients and attractive projects. We also give you the possibility of developing projects in-company as well as management projects.'],
		['<b>Meritocracia</b><br />Valoramos el esfuerzo y el valor aportado a la compañía como principal criterio para las promociones en la carrera profesional en Beagle.','<b>Meritocracy</b><br />We value the effort and worth given to the company and use it as the main criteria for career promotion at Beagle.'],
		['<b>Información compartida</b><br />El último viernes de cada mes nos reunimos todos los integrantes de la empresa para compartir información, experiencias, y exponer temas de interés relevante para todos. Normalmente, lo hacemos durante una comida informal en la oficina. Dos veces al año tenemos sesiones “off-site” donde compartimos los resultados alcanzados y los planes de futuro, combinado con actividades lúdicas.   Más allá de esto, la máquina del café o una entrevista personal con un socio pueden ser oportunidades de comentar una idea, un problema o una duda.','<b>Shared information</b><br />On the last Friday of each month, all the members of the company get together to exchange information, experiences and raise points of interest that are relevant to everyone.  Normally we do this over an informal meal in the office.  Twice a year we hold off-site sessions where we discuss the results obtained and future plans, combined with games and activities.  Beyond that, the coffee machine or a personal chat with a partner can be opportunities to mention an idea, a problem or a doubt.']
	];
	var arrayPorque = [
		['<b>Experiencia y Empatía</b><br />La mayor parte del equipo ha desarrollado un parte muy relevante de sus carreras profesionales con éxito y en posiciones directivas en diversas compañías y sectores antes de unirse a Beagle. Esto nos permite entender las situaciones de negocio que afrontan nuestros clientes con la perspectiva que aporta la experiencia. Haber estado “en el mismo lado de la mesa”, afrontando situaciones y decisiones parecidas, o idénticas, ayuda sin duda a valorar de forma adecuada y pragmática los planteamientos que hacemos como consultores.','<b>Experience and Empathy</b><br />A large number of our team members had successfully developed their professional careers in management positions in various other companies and sectors before joining Beagle.  This experience has allowed us to understand the business situations facing our clients. Having been “on the same side of the table”, facing similar or identical situations ourselves, we are more able to adequately and pragmatically evaluate the approaches we take as consultants.'],
		['<b>Ratio valor/precio</b><br />Aportamos un alto valor a nuestros clientes manteniendo un ratio valor-precio que se adapte a sus necesidades.','<b>Price/Value Ratio</b><br />We offer great value for money to our clients, maintaining a value/price ratio that is adapted to their specific needs.'],
		['<b>Valores</b><ul style="margin-left:15px;"><li>Responsabilidad</li><li>Talento</li><li>Rigor</li><li>Integridad e independencia de criterio</li><li>Confianza en las personas</li><li>Iniciativa</li><li>Flexibilidad</li><li>Trabajo en equipo</li><li>Integralidad</li><li>Cordialidad</li><li>Impacto e implicación</li></ul> ','<b>Values</b><ul style="margin-left:15px;"><li>Responsibility</li><li>Talent</li><li>Rigor</li><li>Integrity and independence criteria</li><li>Faith in people</li><li>Iniciative</li><li>Flexibility</li><li>Teamwork</li><li>Wholeness</li><liCordiality</li><li>Effect and involvement</li></ul>'],
		['<b>Metodología</b><br />Desarrollamos metodología adhoc cuando es necesario, con un enfoque clásico o disruptivo en función de las necesidades del proyecto. El equipo de Beagle ha desarrollado y perfeccionado las metodologías adquiridas a través de su experiencia en consultoras de primer nivel internacional, en las mejores escuelas de negocio y en cargos ejecutivos ejercidos en compañías de referencia.','<b>Methodology</b><br />We develop methodology ad hoc, with a classical or influential focus in accordance with the project’s needs.  The Beagle team has elaborated and perfected these acquired methodologies through experience in top level international consulting.  Our team have studied in the most prestigious business schools and have held executive positions in renowned companies.']
	];
	switch(org) {
		//servicios
		case 'gobierno':
			imatge = ruta+"img/hacemos/oferta/"+idioma+"/gobiernoOn.gif";
			texto = arrayServicios[0][valor];
			document.getElementById("llista").innerHTML = texto;
			break;
		case 'valorInferior':
			imatge = ruta+"img/hacemos/oferta/"+idioma+"/valorInferior.gif";
			break;
		case 'marketing':
			imatge = ruta+"img/hacemos/oferta/"+idioma+"/marketingOn.gif";
			texto = arrayServicios[1][valor];
			document.getElementById("llista").innerHTML = texto;
			break;
		case 'estrategia':
			imatge = ruta+"img/hacemos/oferta/"+idioma+"/estrategiaOn.gif";
			texto = arrayServicios[2][valor];
			document.getElementById("llista").innerHTML = texto;
			break;
		case 'valorIzquierda':
			imatge = ruta+"img/hacemos/oferta/"+idioma+"/valorIzquierda.gif";
			break;
		case 'valorDerecha':
			imatge = ruta+"img/hacemos/oferta/"+idioma+"/valorDerecha.gif";
			break;
		case 'evolucion':
			imatge = ruta+"img/hacemos/oferta/"+idioma+"/evolucion.gif";
			break;
		//ofrecemos
		case 'cultura':
			imatge = ruta+"img/trabaja/ofrecemos/"+idioma+"/culturaOn.gif";
			texto = arrayOfrecemos[0][valor];
			document.getElementById("llista_ofrecemos").innerHTML = texto;
			break;
		case 'evaluaciones':
			imatge = ruta+"img/trabaja/ofrecemos/"+idioma+"/evaluacionesOn.gif";
			texto = arrayOfrecemos[1][valor];
			document.getElementById("llista_ofrecemos").innerHTML = texto;
			break;
		case 'balance':
			imatge = ruta+"img/trabaja/ofrecemos/"+idioma+"/balanceOn.gif";
			texto = arrayOfrecemos[2][valor];
			document.getElementById("llista_ofrecemos").innerHTML = texto;
			break;
		case 'colaboracion':
			imatge = ruta+"img/trabaja/ofrecemos/"+idioma+"/colaboracionOn.gif";
			texto = arrayOfrecemos[3][valor];
			document.getElementById("llista_ofrecemos").innerHTML = texto;
			break;
		case 'caracter':
			imatge = ruta+"img/trabaja/ofrecemos/"+idioma+"/caracterOn.gif";
			texto = arrayOfrecemos[4][valor];
			document.getElementById("llista_ofrecemos").innerHTML = texto;
			break;
		case 'oportunidades':
			imatge = ruta+"img/trabaja/ofrecemos/"+idioma+"/oportunidadesOn.gif";
			texto = arrayOfrecemos[5][valor];
			document.getElementById("llista_ofrecemos").innerHTML = texto;
			break;
		case 'meritocracia':
			imatge = ruta+"img/trabaja/ofrecemos/"+idioma+"/meritocraciaOn.gif";
			texto = arrayOfrecemos[6][valor];
			document.getElementById("llista_ofrecemos").innerHTML = texto;
			break;
		case 'informacion':
			imatge = ruta+"img/trabaja/ofrecemos/"+idioma+"/informacionOn.gif";
			texto = arrayOfrecemos[7][valor];
			document.getElementById("llista_ofrecemos").innerHTML = texto;
			break;
		//porque
		case 'experiencia':
			imatge = ruta+"img/porque/"+idioma+"/experiencia.jpg";
			texto = arrayPorque[0][valor];
			document.getElementById("llista_valores").innerHTML = texto;
			break;
		case 'ratio':
			imatge = ruta+"img/porque/"+idioma+"/ratio.jpg";
			texto = arrayPorque[1][valor];
			document.getElementById("llista_porque").innerHTML = texto;
			break;
		case 'valores':
			imatge = ruta+"img/porque/"+idioma+"/valores.jpg";
			texto = arrayPorque[2][valor];
			document.getElementById("llista_valores").innerHTML = texto;
			break;
			break;
		case 'metodologia':
			imatge = ruta+"img/porque/"+idioma+"/metodologia.jpg";
			texto = arrayPorque[3][valor];
			document.getElementById("llista_porque").innerHTML = texto;
			break;
	}
	document.getElementById('imageOrg').src = imatge;
}