function showmenu(menuitem, urlRedirect){	if (!$(menuitem).visible())	{			Element.show(menuitem);		window.location = urlRedirect;	}	else	{		Element.hide(menuitem);	}}var priceList = new Object();var fixedPrice = 0;function product_quantity_change(){	calcPrice();}function initProduct(fixed, varPrice){	fixedPrice = fixed;	priceList['var'] = varPrice;	calcPrice();}function priceChange(group, price){	priceList[group] = price;	calcPrice();}function calcPrice(){	var total = 0;		quantityElem = document.getElementById('quantity');	sqM = quantityElem.options[quantityElem.selectedIndex].text;	sizeElem = document.getElementById('specific_size');	sizeString = sizeElem.options[sizeElem.selectedIndex].text;	var dims = sizeString.split('x');		quantity = (sqM * 100 * 100) / (dims[0] * dims[1]);	for (name in priceList)	{		total += priceList[name];	}		total *= quantity;	total += fixedPrice;	priceElem = document.getElementById('price');	priceElem.innerHTML = Math.round(total * 100) / 100;}