Ajax.Responders.register({
	onCreate: function() {
		if($('notification') && Ajax.activeRequestCount > 0) {
			Effect.BlindDown('notification',{duration: 0.25, queue: 'end'}); } },
	onComplete: function() {
		if($('notification') && Ajax.activeRequestCount == 0) {
			Effect.BlindUp('notification',{duration: 0.25, queue: 'end'}); } }
});

function selectForm($srcID, $targetDiv, $toggleValue)
{
	// If the selected value of the manufacturer select is -1, we need to show the form for a new manufacturer
	$selected = $($srcID).options[$($srcID).selectedIndex].value;
	if ($selected == $toggleValue) 
	{ 
		Effect.BlindDown($targetDiv);
	} 
	else 
	{
 		Effect.BlindUp($targetDiv);
	}
}