// *************************************************************
// brief check for valid e-mail address
// *************************************************************

function brief_echeck ()
{
var submitOK="true";
var at=document.getElementById("email").value.indexOf("@");
if (at==-1) 
 {
 alert("Not a valid e-mail. Missing an @ !");
 submitOK="false";
}

var at=document.getElementById("email").value.indexOf(".");

if (at==-1) 
 {
 alert("Not a valid e-mail. Missing a . !");
 submitOK="false";
} 

if (submitOK=="false")
{return (false);}
else
{return (true);}

} // end of function
function alertValueDescr()
{
alert("You are searching descriptions in Pamms Guides for the word/words " + "'"+document.getElementById("descript").value+"'");
}
function alertValueM()
{
var x=document.getElementById("mag_pass");
alert("MSG Mag1046 - You have requested a search for a store or stores secured by the password " + "'"+ x.value+"'. Select OK to continue.");

if (x.value.length < 4) 
 {
 alert("MSG Mag1048 - This cannot be a valid password as it seems to be less than 4 characters in length");
 return (false);
} 
return (true);
} // end of function
