// ********************************
// Login Form logic

function isblank1()
{
var blank_exists="";

if (document.forms[0].elements[0].value == "")
{blank_exists=blank_exists + "USERNAME is blank. \n\tPlease enter a Username. \n";}
if (document.forms[0].elements[1].value == "")
{blank_exists=blank_exists + "PASSWORD is blank. \n\tPlease enter a Password. \n";}

if (blank_exists=="")
{return true;}
else
{alert(blank_exists);
return false;}
}

// ********************************
// Add and Edit Event logic

function isblank2()
{
var blank_exists="";

if (document.forms[0].elements[2].value == "")
{blank_exists=blank_exists + "EVENT NAME is blank. \n\tPlease enter a Name for this Event. \n";}

if (blank_exists=="")
{return true;}
else
{alert(blank_exists);
return false;}
}

// ********************************
// Add and Edit User logic

function isblank3()
{
var blank_exists="";

if (document.forms[0].elements[0].value == "")
{blank_exists=blank_exists + "USERNAME is blank. \n\tPlease enter a Username. \n";}
if (document.forms[0].elements[1].value == "")
{blank_exists=blank_exists + "PASSWORD is blank. \n\tPlease enter an Password. \n";}
if (document.forms[0].elements[2].value == "")
{blank_exists=blank_exists + "EMAIL is blank. \n\tPlease enter an email for this user. \n";}

if (blank_exists=="")
{return true;}
else
{alert(blank_exists);
return false;}
}


