
	function list_items(box, product_id, default_type, allocated_type_id) {
		var controls = $$('#controls' + box + ' a').each(function(s) { s.hide(); });
		var controls = $$('#controls' + box + ' div').each(function(s) { s.show(); });
	
		var pars = '&product_id=' + product_id + '&default_type=' + default_type + '&allocated_type_id=' + allocated_type_id;
		var ajax = new Ajax.Updater('list' + box, '/detail/list/',	{method: 'post', parameters: pars, evalScripts: true,
			onComplete: function(u) { 
				new Effect.BlindDown('list' + box, { duration: 0.5 }); 
				$('controls' + box).hide();
			}
		});
	}
	
