// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults

$(document).ready(function(){
  $('#galleryOne').hide();
  $('#galleryTwo').hide();
  $('#galleryThree').hide();

  $('#galleryOneHeader').click(function() {
    $('#galleryOne').slideToggle(400);
    return false;
  });
  $('#galleryTwoHeader').click(function() {
    $('#galleryTwo').slideToggle(400)
    return false;
  });
  $('#galleryThreeHeader').click(function() {
    $('#galleryThree').slideToggle(400);
    return false;
  });

  $("a[rel='galleryOne']").colorbox({transition:'fade', speed:200, maxWidth: '100%', maxHeight: '100%', scalePhotos: true});
  $("a[rel='galleryTwo']").colorbox({transition:'fade', speed:200});
  $("a[rel='galleryThree']").colorbox({transition:'fade', speed:200});
  
  
/*$("#galleries").accordion({*/
/*active: false,*/
/*autoHeight: false,*/
/*animated: 'easeslide'*/
/*});*/
});

