function cycleImages(){
      var $active = $('#background_cycler .active');
      var $next = ($('#background_cycler .active').next().length > 0) ? $('#background_cycler .active').next() : $('#background_cycler img:first');
      $next.css('z-index',2);//move the next image up the pile
	  $active.fadeOut(1500,function(){//fade out the top image
	  $active.css('z-index',1).show().removeClass('active');//reset the z-index and unhide the image
      $next.css('z-index',3).addClass('active');//make the next image the top one
      });
    }

    $(window).load(function(){
		
		  // run every 6s
		  setInterval('cycleImages()', 6000);
    })
	$(".accordion").show()	
	$(".accordion").accordion({ 
	header: "h2", 
	collapsible: true,
	active:false, 
	autoHeight:false
	})
	$('#productHead, #locHead, .productSpec').localScroll();
    $(".gallery a").overlay({

		// each trigger uses the same overlay with the id "gallery"
		target: '#oGallery',

		// optional exposing effect
		expose: '#f1f1f1'

		// let the gallery plugin do its magic!
		}).gallery({

		// the plugin accepts its own set of configuration options
		speed: 800
		})

