




















 
 





























<html>
	<head>
		<title>XML Image Slideshow</title>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        
        
        <script type="text/javascript" src="_scripts/jquery-1.3.2.min.js"></script>
<script type="text/javascript">

$(document).ready(function() {		
	
	//Execute the slideShow
	slideShow();

});

function slideShow() {

	//Set the opacity of all images to 0
	$('#slideshow a').css({opacity: 0.0});
	
	//Get the first image and display it (set it to full opacity)
	$('#slideshow a:first').css({opacity: 1.0});
	
	//Set the caption background to semi-transparent
	$('#slideshow .caption').css({opacity: 0.7});

	//Resize the width of the caption according to the image width
	$('#slideshow .caption').css({width: $('#slideshow a').find('img').css('width')});
	
	//Get the caption of the first image from REL attribute and display it
	$('#slideshow .content').html($('#slideshow a:first').find('img').attr('rel'))
	.animate({opacity: 0.7}, 400);
	
	//Call the gallery function to run the slideshow, 6000 = change to next image after 6 seconds
	setInterval('gallery()',6000);
	
}

function gallery() {
	
	//if no IMGs have the show class, grab the first image
	var current = ($('#slideshow a.show')?  $('#slideshow a.show') : $('#slideshow a:first'));

	//Get next image, if it reached the end of the slideshow, rotate it back to the first image
	var next = ((current.next().length) ? ((current.next().hasClass('caption'))? $('#slideshow a:first') :current.next()) : $('#slideshow a:first'));	
	
	//Get next image caption
	var caption = next.find('img').attr('rel');	
	
	//Set the fade in effect for the next image, show class has higher z-index
	next.css({opacity: 0.0})
	.addClass('show')
	.animate({opacity: 1.0}, 1000);

	//Hide the current image
	current.animate({opacity: 0.0}, 1000)
	.removeClass('show');
	
	//Set the opacity to 0 and height to 1px
	$('#slideshow .caption').animate({opacity: 0.0}, { queue:false, duration:0 }).animate({height: '1px'}, { queue:true, duration:300 });	
	
	//Animate the caption, opacity to 0.7 and heigth to 100px, a slide up effect
	$('#slideshow .caption').animate({opacity: 0.7},100 ).animate({height: '40px'},500 );
	
	//Display the content
	$('#slideshow .content').html(caption);
	
	
}

</script>

<link href="_css/slideshow.css" rel="stylesheet" type="text/css" />
	</head>


	<body bgcolor="#ffffff" style="margin:0;padding:0;" scroll="no">
   
   
<div id="slideshow">

	<a href="http://www.poct.co.uk/product.cfm/pID/87" class="show" target="_new">
		<img src="banner/content/images/piccolo xpress.jpg" width="476" height="280" border="0" title="" rel=""/>
	</a>

	<a href="http://www.poct.co.uk/product.cfm/pID/169" target="_new">
		<img src="banner/content/images/iSTAT 453x340.JPG" width="476" height="280" border="0" title="" rel=""/>
	</a>


    	<a href="http://www.poct.co.uk/product.cfm/pID/104" target="_new">
		<img src="banner/content/images/hemoccult_476x320.JPG" width="476" height="280" border="0" title="" rel=""/>
	</a>

  
    	<a href="http://www.poct.co.uk/product.cfm/pID/129" target="_new">
		<img src="banner/content/images/panel_family_476x320.jpg" width="476" height="280" border="0" title="" rel=""/>
	</a>


    	<a href="http://www.poct.co.uk/product.cfm/pID/129" target="_new">
		<img src="banner/content/images/reagent_disc_476x320.jpg" width="476" height="280" border="0" title="" rel=""/>
	</a>


    	<a href="http://www.poct.co.uk/product.cfm/pID/126" target="_new">
		<img src="banner/content/images/OCA system 438x320.jpg" width="476" height="280" border="0" title="" rel=""/>
	</a>


    	<a href="http://www.poct.co.uk/product.cfm/pID/110" target="_new">
		<img src="banner/content/images/Uritek_720+_476x320.JPG" width="476" height="280" border="0" title="" rel=""/>
	</a>


    	<a href="http://www.poct.co.uk/product.cfm/pID/114" target="_new">
		<img src="banner/content/images/URINE­_TEST_STRIP_476x320.jpg" width="476" height="280" border="0" title="" rel=""/>
	</a>


    	<a href="http://www.poct.co.uk/product.cfm/pID/87" target="_new">
		<img src="banner/content/images/piccolo_product_eastdark_476x320.jpg" width="476" height="280" border="0" title="" rel=""/>
	</a>


    	<a href="http://www.poct.co.uk/product.cfm/pID/129" target="_new">
		<img src="banner/content/images/piccolo_boxes_rotor_476x320.JPG" width="476" height="280" border="0" title="" rel=""/>
	</a>


    	<a href="http://www.poct.co.uk/product.cfm/pID/151" target="_new">
		<img src="banner/content/images/Insight Hb starter pack A 427x320.jpg" width="476" height="280" border="0" title="" rel=""/>
	</a>


    	<a href="http://www.poct.co.uk/product.cfm/pID/119" target="_new">
		<img src="banner/content/images/OBTI_476x320.JPG" width="476" height="280" border="0" title="" rel=""/>
	</a>


</div>

	
