$(function() {	
	//displaying the content boxes
	$('#slide1').show(200);
	$('#slide2').show(400);
	$('#slide3').show(600);
	$('#slide4').show(800);
	$('#slide5').show(1000);
	
	//hovering over the content boxes
	$('#slide1').hover(function() {
		$('#slide1 span').html("Printed Circuit Board Manufacturers<br />Single/double sided conventional PCBs, plated-through hole and multilayer PCBs, thin laminate (flexible), and PTFE based high frequency circuit materials for antenna circuits.");
	}, function(){
		$('#slide1 span').html("Printed Circuit Board Manufacturers...");
	});
	
	$('#slide2').hover(function() {
		$('#slide2 span').html("Registered since 1969, we have the knowledge and experience to help you with the most demanding of projects.");
	}, function(){
		$('#slide2 span').html("Registered since 1969...");
	});
	
	$('#slide3').hover(function() {
		$('#slide3 span').html("We try our best to be flexible and approachable, which has enabled us to service our extensive customer base over the years and acquire new clients along the way.");
	}, function(){
		$('#slide3 span').html("We try our best to be flexible and approachable...");
	});
	
	$('#slide4').hover(function() {
		$('#slide4 span').html("Continual training and investment, lean business practices, and sound business knowledge have enabled us to survive and grow where others have failed.");
	}, function(){
		$('#slide4 span').html("Continual training and investment...");
	});
	
	$('#slide5').hover(function() {
		$('#slide5 span').html("From proto-type to volume production, in a timescale that suits your requirements.");
	}, function(){
		$('#slide5 span').html("From proto-type to volume production...");
	});
});

//setting up slideshow
$(function(){		
	$('#slides').slides({
		preload: true,
		generateNextPrev: true,
		pagination: false,
		generateNextPrev: false,
		play: 5000,
		slideSpeed: 250
			});	
});
