function getContent(content){
	if (location.hostname == 'localhost'){
		var urlPost = location.protocol + "//" + location.hostname + "/aluminio/ajax/pages/arquitectura/" + content + ".php";
	}else{
		var urlPost = location.protocol + "//" + location.hostname + "/ajax/pages/arquitectura/" + content + ".php";
	}
	var jsonRequest = new Request({
	url: urlPost
	,method: 'post'
	,data: {string: 'arquitectura'}
	,onSuccess: function(response){
		$('divArquitecturaColRight').set('html', response);
		Mediabox.scanPage();
	}
	,onFailure: function(xhr){
		$('divArquitecturaColRight').set('html', 'Estamos actualizando el contenido');
	}
	,onRequest: function(){
				$('divArquitecturaColRight').set('html', '<div align="center" class="loader"><img src="/images/loader.gif" title="Cargando..." alt="cargando..."/><p>Cargando...</p></div>');
			}
	}).send();
}
	var posibilidad = new Array();
	window.addEvent('domready', function(){
		var li = $('ulListLinks').getElements('li');
		li.each(function(element){
			$(element).addEvent('click', function(ev){ 
				(new Event(ev)).stop();
				getContent(element.id); 
			});
			posibilidad.push(element.id);
		});
		getContent(posibilidad[Math.floor(Math.random()*posibilidad.length)]);	
	});