(function($) {
	$.fn.expandable = function() {
		return this.each(function() {

			var $this = $(this);

			$this.closest('div').css({'position':'relative', 'cursor':'pointer'}).prepend('<div class="arrow down"></div>');

			$this.closest('div').click( function() {
				if ($this.is(':visible')) {
					$this.hide();
					$('.arrow', this).removeClass('up').addClass('down');
				} else {
					$this.show();
					$('.arrow', this).removeClass('down').addClass('up');
					$this.moveTo($this);
				}
			});
			$this.closest('.csc-default').bind({
				mouseenter: function() {
					$(this).find('p').css('color', '#ae1a28');
				}, 
				mouseleave: function() {
					$(this).find('p').css('color', '#3E3E3E');
				}
			});
		});
	};
}(jQuery));
