function searchErase(blah,tot)
{
	if(blah.value == tot) 
		blah.value='';
}
function buttonchange(button,blah)
{
	button.value = blah;
}
function gotomin(s,d)
{
	var newLink = s[s.selectedIndex].value;
	if (newLink == '') 
	{
		alert("Please select a destination");
			return false;
	}
	//document.location = '?action=ministry&id=' + newLink;
}
function opensermon(id)
{
	newwindow=window.open('sermon.php?id=' + id, 'Sermon', 'height=75,width=250');
}
function add_upload()
{
	var txt = "<br /><br /><input type=\"file\" class=\"filebrowse\" name=\"userfile[]\">";
	document.getElementById("divfile").innerHTML += txt;
	document.getElementById("filesub").value='Upload Images';
}

