// JavaScript Document
function validate_login()
{
errors = "";
if (document.forms[0].survey_id.value == "") errors = "You must enter your survey id.\n";
if (document.forms[0].ci2i_password.value == "") errors += "You must enter your password.\n";
if (errors) alert('The following error(s) occurred:\n'+errors);
document.is_Valid = (errors == '');
}
