$(document).ready(function(){
	
     // INITIALIZE FONT RESIZER
     var options = { min: 0, max: 3};
     $.FontSizer.Init(options);
	  
     // SET UP SUBTLE HOVER FADE ON RIGHT NAVIGATION LISTS
	 $("ul.generic-block li a").hover(
          function () {
               $(this).animate({ backgroundColor: "#F9F5EB" }, "1500");
          }, 
          function () {
               $(this).animate({ backgroundColor: "#ffffff" }, "fast");
          }
     );
	 	 	 
	 $('#testimonials-fader').cycle({
	 	fx:  'fade',
		cleartype: 1,
		timeout: 7000,
	 	speed: 1000
	 });
	  	 
	 // SET UP HOME PAGE MONOSLIDESHOW
	 $('#home-splash').flash(
        { src: '/wp-content/themes/wilbanks/flash/monoslideshow.swf',
          width: 640,
          height: 240,
			flashvars: { showLogo: 'false', dataFile: '/wp-content/themes/wilbanks/flash/monoslideshow.xml' }
		  }
     );
	 
	 //  SET UP ROUNDED CORNERS ON HEADINGS	 
		$('h3').corner({
			  tl: { radius: 5 },
			  tr: { radius: 5 },
			  bl: { radius: 5 },
			  br: { radius: 5 },
			  antiAlias: true,
			  autoPad: true,
			  validTags: ["div"] });
			  	 
     // SET UP HOW CAN KEN HELP PAGE STUFF
	 $(".holder-of-the-issues").hide();
	 $(".holder-of-the-issues ul").hide();
     $("p.not-yet").click( function() {
			$(this).next('div').slideToggle();
			$(this).fadeOut("slow");
     });
     $("p.the-question").click( function() {
          $(this).next('ul').slideToggle();
     });

});

