
// 'stacks' is the Stacks global object.
// All of the other Stacks related Javascript will 
// be attatched to it.
var stacks = {};


// this call to jQuery gives us access to the globaal
// jQuery object. 
// 'noConflict' removes the '$' variable.
// 'true' removes the 'jQuery' variable.
// removing these globals reduces conflicts with other 
// jQuery versions that might be running on this page.
stacks.jQuery = jQuery.noConflict(true);

// Javascript for stacks_in_24_page0
// ---------------------------------------------------------------------

// Each stack has its own object with its own namespace.  The name of
// that object is the same as the stack's id.
stacks.stacks_in_24_page0 = {};

// A closure is defined and assigned to the stack's object.  The object
// is also passed in as 'stack' which gives you a shorthand for referring
// to this object from elsewhere.
stacks.stacks_in_24_page0 = (function(stack) {

	// When jQuery is used it will be available as $ and jQuery but only
	// inside the closure.
	var jQuery = stacks.jQuery;
	var $ = jQuery;
	
/*
 * CSV Grid Stack By WeaverAddons.com
 * Version 1.0.0
 *
 * Visit http://weaveraddons.com for more information on how to use this stack in RapidWeaver.
 *
 */





$(document).ready(function() {	
	$("#stacks_in_24_page0table").delegate('td','mouseover mouseleave', function(e) {
		if (e.type == 'mouseover') {
	    	$(this).parent().addClass("csv_hover_row");
	    	$("#stacks_in_24_page0table td.csv_column_" + ($(this).index() +1)).addClass("csv_hover_column");
	    } else {
	    	$(this).parent().removeClass("csv_hover_row");
	    	$("#stacks_in_24_page0table td.csv_column_" + ($(this).index() +1)).removeClass("csv_hover_column");
	    }
	});	
	
	if (false) {
		if (false) {
			var options = {widgets: ['zebra']};
		} else {
			var options = null;
		}
		$("#stacks_in_24_page0table").tablesorter(options); 
		
		if (false) {
			$('#stacks_in_24_page0table').tablesorterPager({container: $('#stacks_in_24_page0pager'), size: 20, positionFixed: false});
		}
	}
});
	return stack;
})(stacks.stacks_in_24_page0);



