<%
' Check for error messages
Dim errorType, errorSerial, errorMsg
errorType = Request.QueryString("error")
errorSerial = Request.QueryString("serial")
errorMsg = Request.QueryString("msg")
If errorType <> "" Then
If errorType = "invalid" Then
Response.Write("
Invalid! Serial number must be at least 3 characters.