// put page title in status bar
status = 'Carreg Llwyd Church';

// show/hide the regular activity days
function showHidden(id, count) {
        // show the hidden rows
        for (i = 1; i <= count; i++) {
                var row = document.getElementById(id+i);
                var display = row.style.display;
                row.style.display = display == 'none' ? '' : 'none';
        }
        // change the plus/minus img
        var img = document.getElementById(id + "_img");
        if (img.innerHTML = '<img src="../images/plus.bmp" />') {
        img.innerHTML = '<img src="../-/images/minus.bmp" alt =""/>';
        }
        if (display = row.style.display) {
        img.innerHTML = '<img src="../-/images/plus.bmp" alt="" />';
        }
}

// live broadcast info popup
function broadcastInfoPopup() {
        win=window.open('../-/includes/popup_broadcast_info.php','broadcastInfo','width=400,height=120');
}

// live broadcast popup
function broadcastLivePopup() {
		var r=confirm("You must use Internet Explorer to hear the live broadcast.");
		if (r==true)
		{
        win=window.open('../-/includes/popup_broadcast_live.php','broadcastLive','width=320,height=240');
        }
		else
		  {
//		  alert("You pressed Cancel!");
		  }        
}

