/*
* File: reveal.js
* 
* Author: Brice Crawford
* Date: 2009.07.03
*
* Description: This script uses the jQuery library to show/hide music posts on
* 	bricecrawford.com.  Developed using tutorials on jquery.com
*	
*/

var ART = {
	UI: {}
};

ART.UI.content = function() {
	var init = function() {
		$('.art_desc_link a').click(function(e) {
			e.preventDefault();
			$(this).parent('.art_desc_link').next('.art_desc_content').slideToggle(1000);
		});
	}
	return {
		init: init
	}
}();

jQuery(function($) { ART.UI.content.init(); });

// 'art_desc_content' divs are shown by default for users without JavaScript enabled.
// This hides 'art_desc_conent' divs for users with JavaScript so they don't show before onload fires.
document.write('\n\t<style type="text/css"> .art_desc_content { display: none; }</style>');