function get_performances() {
	var xmlhttp = new XMLHttpRequest();
	var qs = '?concert=2';
	xmlhttp.open('GET', 'http://localhost:3000/ticket_store/get_performances' + qs, true);
	xmlhttp.onreadystatechange = function() {
		if (xmlhttp.readyState == 4) {
			receiveStateAnswer(xmlhttp.responseXML);
		}
	}
	xmlhttp.send(null);
}

/*
function receiveStateAnswer(dom) {
	//new Ajax.Updater('performances', '/ticket_store/say_hello', {asynchronous:true, evalScripts:true}); return false;
}

function recalc() {
	Cost = 0;
}

function tally()
        {
        Cost = 0;
        if (document.orderform.Item1.checked) { Cost = Cost + 26.15;    }
        if (document.orderform.Item2.checked) { Cost = Cost + 26.10;    }
        if (document.orderform.Item3.checked) { Cost = Cost + 26;               }
        if (document.orderform.Item4.checked) { Cost = Cost + 26;               }
        if (document.orderform.Item5.checked) { Cost = Cost + 26.44;    }
        if (document.orderform.Item6.checked) { Cost = Cost + 26.01;    }
        if (document.orderform.Item7.checked) { Cost = Cost + 26;               }
        if (document.orderform.Item8.checked) { Cost = Cost + 26;               }
       if (document.orderform.Item9.checked) {  Cost = Cost + 25;               }

        GST = (Cost * 0.07);
        PST = (Cost * 0.07);

        Cost = dollar(Cost);
        GST = dollar(GST);
        PST = dollar(PST);
        Grand_Total = parseFloat(Cost) + parseFloat(GST) + parseFloat(PST);
        Grand_Total = dollar(Grand_Total);

        document.orderform.Total.value = "$" + Cost;
        document.orderform.GST.value = "$" + GST;
        document.orderform.PST.value = "$" + PST;
        document.orderform.GrandTotal.value = "$" + Grand_Total;
}
*/
