/*
 * Show / Hide City Monthly Pass Fare Panels
 */
function openfarepanel(pId) {
	var obj = document.getElementById(pId);
	if (obj == null) return;

	var displayStyle = obj.style.display;

	if (displayStyle == "block") {
		obj.style.display = "none";
    showDownButton ( pId + "abtx" );
	} else if (displayStyle == "none") {
		obj.style.display = "block";
    showUpButton ( pId + "abtx" );
	} else {
		obj.style.display = "none";
    showDownButton ( pId + "abtx" );
	}
}

function showUpButton ( bId ) {
  document.getElementById ( bId ).src = "/images/gn/arrow_o.gif";
}

function showDownButton ( bId ) {
  document.getElementById ( bId ).src = "/images/gn/arrow.gif";
}
