function changedrp(dropdown)
{
	var myIndex  = dropdown.selectedIndex;
    var SelText = dropdown.options(myIndex).text;
    document.contactForm.f04_topic.value = SelText;
    
    if (document.contactForm.f04_topic.value=="Branch Offices & Services")
    {
    	alert("Please provide the name of the branch office and the date of your visit in the message box.");
    }
    if (document.contactForm.f04_topic.value=="I Didn't Receive My Driver's License")
    {
    	alert("Please include your driver’s license number and address in the message box.");
    }
    if (document.contactForm.f04_topic.value=="I Didn't Receive My Renewal Form or Tab")
    {
    	alert("Please include your license plate number and address in the message box.");
    }
    if (document.contactForm.f04_topic.value=="I Didn't Receive My Title")
    {
    	alert("Please include the vehicle information number (VIN) and your address in the message box.");
    }
}

function verify()
{
	var themessage = "";
	if (document.contactForm.f02_email.value==document.contactForm.f03_email.value)
	{
		if (document.contactForm.f02_email.value=="")
		{
			document.contactForm.fpMailFromAddr.value="DoNotReply@michigan.gov";
		}
		else
		{
			document.contactForm.fpMailFromAddr.value=document.contactForm.f02_email.value;
		}
	}
	else
	{
		themessage = themessage + "There is an error with your e-mail address, please re-enter it.";
	}
	
	/*if (document.contactForm.f05_comments.value=="")
	{
		themessage = themessage + "\n You have entered your question or comment in the Message box.";
	}*/
	
	if (themessage == "")
	{
		return true;
	}
	else
	{
		alert(themessage);
		return false;
	}
}