		//AJAX ADAUGA ANUNT

function incarcaDinamic(url, currSpan, spanId)
{
 var sel;
 var model;
 
 if(currSpan == "marca")
 	sel = document.getElementById("marca");
 
 else if(currSpan == "selDeAfis")
 	sel = document.getElementById("selDeAfis");
 	
 model   = sel.options[sel.selectedIndex].value;
 
  var deAfis = document.getElementById(spanId);
  url+="?span=" + spanId.toString() + "&val=" + model;

  
  dojo.io.bind({url: url,
  				load: function(type, data, evt) {deAfis.innerHTML = data; },
				error: function(type, error) {alert(error.message);},
				mimetype: "text/html"});
}