The variabe Message is a string and not an array, to fix this you can use a 'for' to list through the different lines in the array. Maybe have a look at the JScript documentation from microsoft (
MSDN)
I'm not sure about the first question though sorry.
EDIT: Looks like I was beaten to it, but the MSDN will still help you with further scripting and problems like this.