/********************************************************************************************************************************************
	
	Purpose: contains JS needed for the <head /> tag of the storefront page
	
	History:
		File added on 02/21/2006
	
********************************************************************************************************************************************/


/****************************************************************************************************
	Purpose of function is to toggle the display of option detail sections on the checkout form
****************************************************************************************************/
function toggleOptionDetail() {
	// grab all option detail divs
	var optDetailDivs = getElementsByPartialId(document.body,'div','opt_detail_');
	
	// loop thru all option detail sections
	if (optDetailDivs) {
		for(var i=0;optDetailDivs[i];i++) {
			swapDisplay(optDetailDivs[i]);
		}
	}
}