$(document).ready(function() {
  $('div.nav> div').hide();
  $('div.nav> h3').click(function() {
	 $(this).css('color','#ff9933').css('font-weight','bold').next('div').slideToggle('fast')
	 .siblings('div:visible').slideUp('fast');
	 $(this).siblings().css('color','#6699cc').css('font-weight','');

	});
});

$(document).ready(function () {
  // find the div.fade elements and hook the hover event
  $('div.fade').hover(function() {
    // on hovering over, find the element we want to fade *up*
    var fade = $('> div', this);

    // if the element is currently being animated (to a fadeOut)...
    if (fade.is(':animated')) {
      // ...take it's current opacity back up to 1
      fade.stop().fadeTo(250, 1);
    } else {
      // fade in quickly
      fade.fadeIn(250);
    }
  }, function () {
    // on hovering out, fade the element out
    var fade = $('> div', this);
    if (fade.is(':animated')) {
      fade.stop().fadeTo(300, 0);
    } else {
      // fade away slowly
      fade.fadeOut(300);
    }
  });
});
$(document).ready(function() {
	$("a.button").click(function() {
	  var largePath = $(this).attr("href");
	  var largeAlt = $(this).attr("title");	  
	  $("#main_box_showcase").attr({ src: 'http://www.naturespetal.com/wp-content/uploads/blank.jpg' }).attr({ src: largePath, title: largeAlt  });
	  return false;
	});			
});
