$(document).ready(function() {

/* BEGIN ROLLOVER CODE */
	$('img.rollover').hover(
		function(){
	  this.src = this.src.replace("_off","_on");
	 },
	 function(){
	  this.src = this.src.replace("_on","_off");
	 }
	);
/* END ROLLOVER CODE */

/* BEGIN PIKACHOOSE */
	$(".slideshow").PikaChoose({show_prev_next:false});
/* END PIKACHOOSE */

	$('div#home_slideshow').cycle({
        fx:     'fade',
        speed:  'slow',
        timeout: 7000,
        pager:  '#nav',
		slideExpr: 'img',
		
		// callback fn that creates a thumbnail to use as pager anchor 
	    pagerAnchorBuilder: function(idx, slide) { 
        return '<div class="slide_thumb"><a href="#" style="background:none;border:none;margin:0;padding:0"><img src="' + slide.src + '" width="70" height="25" /></a></div>';}
    });

}); // Closes Document Ready