	var j;
	
//	MN_SLIDESHOW = [['JUST USE NORMAL SLIDESHOW', '', '']];

	MN_SLIDESHOW = [['JUST USE NORMAL SLIDESHOW', '', ''],
				    ['http://www.jamesspencer.co.uk/images/stalham_shower.jpg', 
				  		'Stalham "Just Shower" Chairs', 
				  		'#map_stalham_shower',
				  		'<map name="map_stalham_shower" id="map_stalham_shower"><area shape="rect" coords="0, 0, 677, 510" href="stalham_range.html#justshower" /></map>'
				  	 ],
					 ['http://www.jamesspencer.co.uk/specials/easy_clean_recliners.jpg', 
				  		'Glossop Easy Clean Recliners', 
				  		'#map_easy_clean',
				  		'<map name="map_easy_clean" id="map_easy_clean"><area shape="rect" coords="475,463,663,501" href="onlineshop/catalogue/specials.php" /><area shape="poly" coords="12,386,10,291,31,259,18,136,151,131,180,244,298,267,297,417,268,439,145,465" href="onlineshop/catalogue/product_info.php?products_id=1364" /><area shape="poly" coords="543,457,544,459,646,420,655,407,664,375,667,303,648,269,663,151,656,143,533,136,508,225,497,254,384,261,367,322,306,349,358,390,371,418" href="onlineshop/catalogue/product_info.php?products_id=1364" /></map>'
				  	 ],
					 ['http://www.jamesspencer.co.uk/specials/pentire_bariatric_slideshow.jpg', 
				  		'Pentire Bariatric Chair', 
				  		'#map_pentire',
				  		'<map name="map_pentire" id="map_pentire"><area shape="rect" coords="473,463,665,501" href="onlineshop/catalogue/specials.php" /><area shape="rect" coords="9,81,325,469" href="http://www.jamesspencer.co.uk/onlineshop/catalogue/product_info.php?products_id=1364" /></map>'
				  	 ],
					 ['http://www.jamesspencer.co.uk/specials/pentire_pro_slideshow.jpg', 
				  		'Pentire Pro Chair', 
				  		'#map_pentire',
				  		'<map name="map_pentire_pro" id="map_pentire_pro"><area shape="rect" coords="477,462,666,502" href="onlineshop/catalogue/specials.php" /><area shape="rect" coords="326,45,594,450" href="http://www.jamesspencer.co.uk/onlineshop/catalogue/product_info.php?products_id=1141" /></map>'
				  	 ],
					 ['http://www.jamesspencer.co.uk/specials/day_care_chair_slideshow.jpg', 
				  		'Singleton Day Care Chairs', 
				  		'#map_day_care',
				  		'<map name="map_day_care" id="map_day_care"><area shape="rect" coords="475,462,664,501" href="onlineshop/catalogue/specials.php" /><area shape="rect" coords="56,148,277,429" href="http://www.jamesspencer.co.uk/onlineshop/catalogue/product_info.php?products_id=647" /><area shape="rect" coords="376,165,619,427" href="http://www.jamesspencer.co.uk/onlineshop/catalogue/product_info.php?products_id=1033" /></map>'
				  	 ],
					 ['http://www.jamesspencer.co.uk/specials/truly_mobile_slideshow.jpg', 
				  		'Hanley Mobile Recliner', 
				  		'#map_truly_mobile',
				  		'<map name="map_truly_mobile" id="map_truly_mobile"><area shape="rect" coords="475,462,664,501" href="onlineshop/catalogue/specials.php" /><area shape="rect" coords="92,153,620,453" href="http://www.jamesspencer.co.uk/onlineshop/catalogue/product_info.php?products_id=1143" /></map>'
				  	 ]
				  ];

	function main_slideshow () {
		if (MN_SLIDESHOW.length > 0) {
  			j=parseInt(Math.random()*MN_SLIDESHOW.length);
			j=(isNaN(j))?0:j;
			
			if (j > 0) {
				document.write (MN_SLIDESHOW[j][3]); 
			}
			
			document.write ('<div class="productspotlight">'); 
			
			if (j > 0) {
				document.write ('	<div><img src="' + MN_SLIDESHOW[j][0] + '" alt="' + MN_SLIDESHOW[j][1] + '" border="0" usemap="' + MN_SLIDESHOW[j][2] + '" /></div>'); 
			}
			
			document.write ('	<div><img src="http://www.jamesspencer.co.uk/images/stalham_award1.jpg" alt="Stalham Award" border="0" usemap="#map1" /></div>'); 
	 		document.write ('	<div><img src="http://www.jamesspencer.co.uk/images/stalham_award2.jpg" alt="Stalham Award" border="0" usemap="#map2" /></div>'); 
		    document.write ('</div>'); 
	        document.write ('<div class="productspotlighttabs">'); 
	        
			if (j > 0) {
				document.write ('	<a href="#"></a>'); 
			}
			
			document.write ('	<a href="#"></a>'); 
			document.write ('	<a href="#"></a>'); 
		    document.write ('</div>');
  		}
  	}

