window.addEvent('domready', function() {

		
	//We can use one Request object many times.
	var req = new Request.HTML({url:'inicio.html', 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('jbcontent').set('text', '');
			//Inject the new DOM elements into the results div.
			$('jbcontent').adopt(html);
		},
		//Our request will most likely succeed, but just in case, we'll add an
		//onFailure method which will let the user know what happened.
		onFailure: function() {
			$('jbcontent').set('text', 'The request failed.');
		}
	});
	
	$('inicio').addEvent('click', function() {
		req.send();
	});

});

window.addEvent('domready', function() {

		
	//We can use one Request object many times.
	var req = new Request.HTML({url:'fotos.html', 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('jbcontent').set('text', '');
			//Inject the new DOM elements into the results div.
			$('jbcontent').adopt(html);
		},
		//Our request will most likely succeed, but just in case, we'll add an
		//onFailure method which will let the user know what happened.
		onFailure: function() {
			$('jbcontent').set('text', 'The request failed.');
		}
	});
	
	$('fotos').addEvent('click', function() {
		req.send();
	});

});

window.addEvent('domready', function() {	
	//We can use one Request object many times.
	var req = new Request.HTML({url:'historia.html', 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('jbcontent').set('text', '');
			//Inject the new DOM elements into the results div.
			$('jbcontent').adopt(html);
		},
		//Our request will most likely succeed, but just in case, we'll add an
		//onFailure method which will let the user know what happened.
		onFailure: function() {
			$('jbcontent').set('text', 'The request failed.');
		}
	});
	
	$('historia').addEvent('click', function() {
		req.send();
	});
});

window.addEvent('domready', function() {	
	//We can use one Request object many times.
	var req = new Request.HTML({url:'contacto.html', 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('jbcontent').set('text', '');
			//Inject the new DOM elements into the results div.
			$('jbcontent').adopt(html);
		},
		//Our request will most likely succeed, but just in case, we'll add an
		//onFailure method which will let the user know what happened.
		onFailure: function() {
			$('jbcontent').set('text', 'The request failed.');
		}
	});
	
	$('contacto').addEvent('click', function() {
		req.send();
	});
});

window.addEvent('domready', function() {	
	//We can use one Request object many times.
	var req = new Request.HTML({url:'entrenamientos.html', 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('jbcontent').set('text', '');
			//Inject the new DOM elements into the results div.
			$('jbcontent').adopt(html);
		},
		//Our request will most likely succeed, but just in case, we'll add an
		//onFailure method which will let the user know what happened.
		onFailure: function() {
			$('jbcontent').set('text', 'The request failed.');
		}
	});
	
	$('entrenamientos').addEvent('click', function() {
		req.send();
	});
});