/*arr = Array();
arr[0] = 'pricesSeptember2008';
arr[1] = 'pricesOctober2008';
arr[2] = 'pricesNovember2008';
arr[3] = 'pricesDecember2008';
arr[4] = 'pricesJanuary2008';
arr[5] = 'pricesFebruary2009';
arr[6] = 'pricesMarch2009';
arr[7] = 'pricesApril2009';
arr[8] = 'pricesMay2009';
arr[9] = 'pricesJune2009';
arr[10] = 'pricesJuly2009';
arr[11] = 'pricesAugust2008';*/


function showPrices(strObj) {
	var o = createObject(strObj);
	for (i=0;i < arr.length;i++) {
		if (arr[i] == strObj||strObj == 'showAll') {
			createObject(arr[i]).style.display = 'block';
		} else {
			createObject(arr[i]).style.display = 'none';
		}
	}
}

function selectMonth() {
	var f = createObject('monthSelector');
	var o = f.elements['strMonth'].options;
	showPrices(o[o.selectedIndex].value);
}

function showEarliestMonth() {
	showPrices(arr[0]);
}
