var j$ = jQuery;  var j$ = jQuery; j$(function(){ j$(".acc ul").hide();j$(".acc").each(function(){ j$("td > img", this).each(function(index){ var $this = j$(this); if(index > 0) $this.next().hide(); $this.click(function(){ var params = {height:"toggle", opacity:"toggle"}; j$(this).next().animate(params).parent().siblings() .children("ul:visible").animate(params); return false; }); }); }); }); 
