I'm guessing that if you posted the 6 lines, someone just might just write the code for you.

Hopefully, the lines are short or you would get ticketted by the long-line police.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.