var logos = new Array(
	'images/logo_fh.gif',
	'images/logo_rh.gif',
	'images/logo_op.gif',
	'images/logo_lo.gif',
	'images/logo_am.gif');

var alt = new Array(
	'ASPE - Human Factor',
	'ASPE - HR Consulting',
	'ASPE - Business Operator',
	'ASPE - Logistic and Distribution',
	'ASPE - A&M Clean');

var textos = new Array(
	'<div class="parrafo">We help you to fully or partially administrate the HR area of your company by reducing its administrative, operational, and legal work loads</div>'+
	'<div class="parrafo">	'+
		'<em>Human Resource Outsourcing</em><br>'+
		'<img src="images/bullet.png" alt="" height="9" width="9"> Executive<br>'+
		'<img src="images/bullet.png" alt="" height="9" width="9"> Administrative<br>'+
		'<img src="images/bullet.png" alt="" height="9" width="9"> Sales<br>'+
		'<img src="images/bullet.png" alt="" height="9" width="9"> Operative'+
	'</div>',
	'<div class="parrafo">We manage the process of recruitment, evaluation and selection of human resource capital for your company/div>'+
	'<div class="parrafo">	'+
		'<em>HR Consulting</em><br>'+
		'<img src="images/bullet.png" alt="" height="9" width="9"> Head Hunters<br>'+
		'<img src="images/bullet.png" alt="" height="9" width="9"> Recruitment and selection<br>'+
		'<img src="images/bullet.png" alt="" height="9" width="9"> Psychometric evaluations<br>'+
		'<img src="images/bullet.png" alt="" height="9" width="9"> Socio-economic studies'+
	'</div>',
	'<div class="parrafo">Administration and operation of commercial and service oriented companies. Administration and operation of distribution centers.</div>'+
	'<div class="parrafo">	'+
		'<em>Administration and Operation</em><br>'+
		'<img src="images/bullet.png" alt="" height="9" width="9"> Commercial and service oriented companies.<br>'+
		'<img src="images/bullet.png" alt="" height="9" width="9"> Distribution centers.<br>'+
		'<img src="images/bullet.png" alt="" height="9" width="9"> Business Consulting<br>'+
	'</div>',
	'<div class="parrafo">We develop and implement outsourcing schemes based on the specific needs of our clients to storage, transport, and distribute local and foreign projects.</div>'+
	'<div class="parrafo">	'+
		'<em>Outsourcing Transfer and Distribution</em><br>'+
		'<img src="images/bullet.png" alt="" height="9" width="9"> Loading services for local and foreign<br>'+
		'<img src="images/bullet.png" alt="" height="9" width="9"> Special moving trucks<br>'+
		'<img src="images/bullet.png" alt="" height="9" width="9"> Transport of personal service<br>'+
	'</div>',
	'<div class="parrafo">We also take care of your cleaning requirements</div>'+
	'<div class="parrafo">	'+
		'<em>Limpieza por contrato o esporádico</em><br>'+
		'<img src="images/bullet.png" alt="" height="9" width="9"> Offices<br>'+
		'<img src="images/bullet.png" alt="" height="9" width="9"> Malls<br>'+
		'<img src="images/bullet.png" alt="" height="9" width="9"> After a construction is finished<br>'+
		'<img src="images/bullet.png" alt="" height="9" width="9"> Special Events'+
	'</div>');

var old = 0;
var current = 0;
var detener = false;

function inicia(){
		if (!document.images && !(detener)) return
		while (current == old){
			current = Math.floor(Math.random()*logos.length);
		}
		old = current;
		document.images['logos'].src = logos[current];
		document.images['logos'].alt = alt[current];
		document.getElementById('descripcion').innerHTML = textos[current];
		setTimeout('inicia()',5000);	
}


function division(id){
	detener = true;
	document.images['logos'].src = logos[id];
	document.getElementById('descripcion').innerHTML = textos[id];
}
