function jq_req_filters()
{
  elm_sel=jQuery("select[name='categorie'] option:selected").val();	
  jQuery.ajax({
		   type: "GET",
		   url: "actions/req_filtre.php",
		   cache: false,
		   data: ({category: elm_sel}),
		   complete: function (XH, textmes) {
			  if(textmes!="success")
				{
					alert("Eroare de accesare: "+textmes);
				}
			},
		   success: function(html){
				jQuery(".ler_as_filtre").html(html);
			}
		 });
}

jQuery(document).ready(function () 
{

	jQuery("#cat_advs").change(function () {
				jq_req_filters();
			});
	
	jQuery('.jqlb').lightBox();
}
);
