window.addEvent('domready', function() {

		
	//We can use one Request object many times.
	var req = new Request.HTML({url:'servicios/soporte_informatico.html', 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('result').set('text', '');
			//Inject the new DOM elements into the results div.
			$('result').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() {
			$('result').set('text', 'The request failed.');
		}
	});
	
		//We can use one Request object many times.
	var req1 = new Request.HTML({url:'servicios/gestion_adsl.html', 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('result').set('text', '');
			//Inject the new DOM elements into the results div.
			$('result').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() {
			$('result').set('text', 'The request failed.');
		}
	});
	
			//We can use one Request object many times.
	var req2 = new Request.HTML({url:'servicios/administracion_redes.html', 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('result').set('text', '');
			//Inject the new DOM elements into the results div.
			$('result').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() {
			$('result').set('text', 'The request failed.');
		}
	});
	
			//We can use one Request object many times.
	var req3 = new Request.HTML({url:'servicios/instalacion_vpn.html', 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('result').set('text', '');
			//Inject the new DOM elements into the results div.
			$('result').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() {
			$('result').set('text', 'The request failed.');
		}
	});
	
			//We can use one Request object many times.
	var req4 = new Request.HTML({url:'servicios/gestion_lopd.html', 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('result').set('text', '');
			//Inject the new DOM elements into the results div.
			$('result').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() {
			$('result').set('text', 'The request failed.');
		}
	});
	
			//We can use one Request object many times.
	var req5 = new Request.HTML({url:'servicios/seguridad_internet.html', 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('result').set('text', '');
			//Inject the new DOM elements into the results div.
			$('result').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() {
			$('result').set('text', 'The request failed.');
		}
	});
	
			//We can use one Request object many times.
	var req6 = new Request.HTML({url:'servicios/diseno_tarjetas.html', 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('result').set('text', '');
			//Inject the new DOM elements into the results div.
			$('result').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() {
			$('result').set('text', 'The request failed.');
		}
	});
	
			//We can use one Request object many times.
	var req7 = new Request.HTML({url:'servicios/desarrollo_software.html', 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('result').set('text', '');
			//Inject the new DOM elements into the results div.
			$('result').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() {
			$('result').set('text', 'The request failed.');
		}
	});
	
			//We can use one Request object many times.
	var req8 = new Request.HTML({url:'servicios/diseno_web.html', 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('result').set('text', '');
			//Inject the new DOM elements into the results div.
			$('result').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() {
			$('result').set('text', 'The request failed.');
		}
	});
	
	
	$('makeRequest').addEvent('click', function() {
		req.send();
	});
	
	$('makeRequest1').addEvent('click', function() {
		req1.send();
	});
	
	$('makeRequest2').addEvent('click', function() {
		req2.send();
	});
	
	$('makeRequest3').addEvent('click', function() {
		req3.send();
	});
	
	$('makeRequest4').addEvent('click', function() {
		req4.send();
	});
	
	$('makeRequest5').addEvent('click', function() {
		req5.send();
	});
	
	$('makeRequest6').addEvent('click', function() {
		req6.send();
	});
	
	$('makeRequest7').addEvent('click', function() {
		req7.send();
	});
	
	$('makeRequest8').addEvent('click', function() {
		req8.send();
	});

});