This is part of the javascript
messages[0] = new Array('image.gif','',"#FFFFFF");
i want to be able to loop those variables in the javascript so that its something like
messages[<? echo $number ?>] = new Array('<? echo $image ?>','',"#FFFFFF");
how would i get javascript to read those variables?