// FUNCTIONS FOR PLANT SEARCH

function ftnPlantSearch(paramLetter)
{ 
// Use value passed to function in search page for plant names beginning with selected letter
    updatelink = "listplants.asp?letter=" + paramLetter;
 	window.open(updatelink, 'addmenupage', 'width=947,height=470,left=40,top=30,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1');
}

// Old function from other website left in for reference purposes (shows use of location.href)
function confirmDelete(recordid) 
{
if (confirm("Are you sure you want to delete this page?")) {
     updatelink = "cmsfunctions/deletemenuitem.asp?recordid=" + recordid;
     location.href=updatelink;
}
}

