function SchoolFundraiserDelete(id)
{
    if(window.confirm("Are you sure you want to delete this School Fundraiser?"))
	    window.location.href="SchoolFundraiser.aspx?ID=" + id + "&del=y";
}

function SchoolFundraiserPageValid()
{    
    var str = "";
    var errorMessage = "";         
    
    str = document.getElementById("ctl00_content_left_inner_holder_SchoolName").value;
    if (isempty(str)){errorMessage = errorMessage + "Please Enter a School Name<br/>";}
   
    if (errorMessage != "")
    {
        document.getElementById("ctl00_content_left_inner_holder_Message").innerHTML = errorMessage; 
        return false;
    }  
    
    return true;
}


