hi,

how do I grab items from an array in jQuery? what I'm trying to do (standard tabbed-content switcheroo):

Code:
  
    var height = [440, 520, 540, 550, 415 ];


  $('#marquee_content a.tablink').click(function(e) {
        e.preventDefault();
        $('#marquee_content .marquee').css('visibility', 'hidden');
        $('#marquee_content .marquee').eq($(this).index('#marquee_content a.tablink')).css('visibility', 'visible');
                
	   for (i=0; i < 6; i++ ) {
            $('#marquee_content').css('height',height[i]);  // is ignored.. how can I do this, please...
                                                                           //  but throws no errors...
        }

    });