/**
 * @copyright ©2011 Spinitron All rights reserved.
 */
'';
/*global
	$
*/
$(document).ready(function () {
	'use strict';
	$('#bigscheddiv div.schedshow').each(function () {
		// make each show div at east 8px high, overcomes browser "specials"
		var $div = $(this), 
			dh = $div.height(), 
			ph = $('p', $div).height();
		if ($div.is(':visible') && dh < 8) {
			$div.height(8);
		}
		// if a show div's text overflows, show div expands on mousever
		if (ph + 6 > Math.max(dh, 8)) {
			$div.mouseenter(function () {
				$div.height(ph + 6).css('z-index', 100);
			}).mouseleave(function () {
				$div.height(dh).css('z-index', '');
			});
		}		
	});
});
