
var showingPrices = 0;
/*
function cancelBubble(event) {
    event.cancelBubble = true;
}
*/




var orderbar_timer;
function showOrder () {
	clearTimeout(orderbar_timer);
	document.getElementById('product-order').style.display = 'block';
		document.getElementById('order-here').style.display = 'none';
	if (thisisaComboProduct) {
		//if it is a combo order 
		displayComboOrder();
	}
} 
function hideOrder () {
	clearTimeout(orderbar_timer);
	orderbar_timer=setTimeout("timeCloseOrder()",1000);
}
function timeCloseOrder() {
	document.getElementById('product-order').style.display = 'none';
	document.getElementById('order-here').style.display = 'block';
	if (thisisaComboProduct) {
		//if it is a combo order 
		hideComboOrder();
	}
}
function accordionPrices() {
		
		//clearTimeout(orderbar_timer);
        //document.getElementById('accordion-order').innerHTML = document.getElementById('product-order').innerHTML;

}

function accordionOrder() {
    /* check that accordion-order exists because raise an error in other pages that are not of products */
	
	//clearTimeout(orderbar_timer);
	//orderbar_timer=setTimeout("hideOrder()",1000);

	
   // document.getElementById('accordion-order').innerHTML = document.getElementById('order-here').innerHTML;
} 





