  $(document).ready(function(){

    $('#crewPanelToggle').click(function()
    {
        $.ajax({
            type: "GET",
            url: "set_crew.php"
            //data: "chat=dodaj&wpis="+$(this).prev("input#wpis").val(),
        });
        $('div#crewPanel').toggle('slow');
    });

      /*$('div.select').click(function(){
          $(this).siblings('div.dropdown').slideDown(100);
          return false;
      }); */
      /*$('div.dropdown').children('a.option').click(function(){
          $(this).parent().prev().prev().empty();
          $(this).clone().prependTo( $(this).parent().prev().prev() );
          var ref = $(this).attr("href");          
          $(this).parent().parent().parent().append( '<input type="hidden" name="lang" value="'+ref+'">' );
          $(this).parent().slideUp(200, function(){
             $(this).parent().parent().parent().submit();
          });          
          return false;
      });
      $('div.langdrop').hover(function(){},function(){
          $(this).children('div.dropdown').slideUp(200);
      });*/
     /* $('#main').gradient({
	from: 'f4f3d2',
	to: 'd2d0a0',
	direction: 'horizontal'
	});*/
	/* $('.cc5content').gradient({
		from: 'eef3dd',
		to: '93ab34',
		direction: 'horizontal'
		});	
	  });*/

	/*var options = {
		script:"getSearchList.php?json=true&amp;",
		varname:"input",
		json:true,
		noresults: "Brak wyników!",
		callback: function (obj) { document.getElementById('hidenjsonid').value = obj.id; }
	};
	var as_json = new AutoSuggest('keywords', options);*/
  });