i have a function that i call as follows :

writeComboItem("'<img src=flags/MY.gif>','&nbsp;MY','&nbsp;MY'","#7D7DFF","Sample1147","MY","MY","Sample1");

the start of the function looks like this

function writeComboItem(ComboArray,TRbg,TRid,TRval,val2Store,cboName) {
var arrComboArray = new Array(ComboArray)

how can i feed in the array to the function? currently it doesn't work and just treets it as a single string


Thanks Kris