	(function($) {
			/* from http://spindrop.us/2007/05/22/equal-height-columns-with-jquery/ */
			$.fn.equalizeCols = function(children) {
				var child = Array(0);
				if (children) child = children.split(",");
				var maxH = 0;
				this.each (
					function(i)
					{
						if (this.offsetHeight>maxH) maxH = this.offsetHeight;
					}
				).css("height","auto").each (
					function(i)
					{
						var gap = maxH-this.offsetHeight;
						if (gap > 0)
						{
							t = document.createElement('div');
							$(t).attr("class","fill").css("height",gap+"px");
							if (child.lenght > i)
							{
								$(this).find(child[i]).children(':last-child').after(t);
							}
							else
							{
								$(this).children(':last-child').after(t);
							}
						}
					}
				);
			}
		}) (jQuery);
	
		$(document).ready(function(){
			
			$(".main, .secondary").equalizeCols(); 
				
		 	$(".category ul").hide();
		    
		
			$(".category h3").click(function () {				
				
				if (($(this).parent(".active")).length > 0) {
					/* Shift background image to [+] */
					$(this).next("category ul").slideToggle("fast");
					$(this).parent(".category").removeClass("active");
					
				} else {
					/* Shift background image to [-] */
					$(this).next("category ul").slideToggle("fast");
					$(this).parent(".category").addClass("active");
				}
			
			});
			
		  }); 
		  
		
