Being a server side script man this javascript stuff does my head in.

I have a multi line text box and must ensure that the usert does not enter more than 5 lines.

This would include either a long paragraph or lets say, acouple of lines and 3 carriage returns.

Does anyone have any idea how I would handle this ?

Thanks in Advance