function conditions(theForm)
{

  if (theForm.user_name.value == "" )
  {
    alert("Please enter a user name.");
    theForm.user_name.focus();
    return (false);
  }
  
   if (theForm.b_month.value == "Month" )
  {
    alert("Please enter your birth month.");
    theForm.b_month.focus();
    return (false);
  }
  
     if (theForm.b_day.value == "Day" )
  {
    alert("Please enter the day of your birth.");
    theForm.b_day.focus();
    return (false);
  }
  
    if (theForm.b_year.value == "Year" )
  {
    alert("Please enter your birth year.");
    theForm.b_year.focus();
    return (false);
  }
  
   return (true);
}


 function getTheCheckedValue(radioarray)
	{
		 for ( i = 0; i < radioarray.length; i++) {
			 if (radioarray[i].checked) {
				  return radioarray[i].value;
			}
		}
		return "";
	}	 	


