/*
 * jQuery Color Animations
 * Copyright 2007 John Resig
 * Released under the MIT and GPL licenses.
 */

function arco_toggle(object_id,other) {
	object = document.getElementById( 'arco_variations_' + object_id );
	object2 = document.getElementById( object_id+'_gal' );
	label = document.getElementById( 'arco_label_' + object_id );
	varlabel = document.getElementById( 'arco_varlabel_' + object_id );
		
		
		if (other.style.backgroundColor == 'rgb(220, 220, 220)' ) {

jQuery(other).animate({ backgroundColor: "rgb(248, 248, 248)" }, 444)

jQuery(object).fade("slow") 

	} else {
jQuery(other).animate({ backgroundColor: "rgb(220, 220, 220)" }, 444)
	
	}
	jQuery(object).slideToggle("slow") 

}

function arco_remove_item_carrello(coso) {
	document.getElementById(coso).value = 0;
	document.getElementById('arcocarrelloform').submit();
}
