function addRecipeHasProduct(id_parent,class_parent){
	/*
	alert($("div#type-of-salad div").context) ;	
	div = $("div#type-of-salad").children;
	alert(div.html());
	$("div#type-of-salad").append(div);
	*/
	$(document).ready(function() {
		 divElement = $("div.type-of-salad div:first").clone();
            //div = '<div>'+$(this).html()+'<div>';
            

            
            divElement.find('select').each(
            	//function(j){
        		//alert($(this).attr('selectedIndex'));
        		//$(this).removeAttr('selectedIndex');
    			function(test,index){
    				index.selectedIndex = 0
    			});
			//});
            divElement.find('input').each(function(k){
				$(this).val('');
				//$(this).context.value = '';
			});
            divElement.find('div.add a').each(function(l){
				$(this).remove();
			});
            
            $("div.type-of-salad").append(divElement);

	});	
	return false;
}