var $j = jQuery.noConflict();


$j(document).ready(function(){
       $j("div.orangeBar").each(function(i){                
	//alert($j(this).html());
              $j(this).click(function () {
		//alert($j(this).html());
                  var box = $j("~ .box3", this);
		//alert($j(this.parentNode.parentNode).html());
                     if (box.attr("rel") == "open")
                     {
                           //content is visible - close it now
                           box.slideUp('fast', function() {   
				 //alert($j(".orangeBar div img", this.parentNode).attr("src"));
                                  $j(".orangeBar div img", this.parentNode).attr('src','/images/entertainment/robinhood/open.gif');
                           });
                           box.attr("rel","close");

                     }
                     else
                     {
                           //content is hidden - open it now
                           box.slideDown('fast', function() {
				//alert($j(".orangeBar", this.parentNode).html());
                                  $j(".orangeBar div img", this.parentNode).attr('src','/images/entertainment/robinhood/close.gif');
                           });
                           box.attr("rel","open");
                     }
              });
       });

var secid = "member1";
var x = $j("." + secid);
if (x)
{
	$j(".orangeBar div img", x).attr('src','/images/entertainment/robinhood/close.gif');
	var box = $j(".box3", x);
        box.show();	
        box.attr("rel","open");		
}



});


