cvalue = cvalue + cline; 
cvalue = cvalue + cline.substring(0,cline.length -1) + '),'; 
function PrepareItemList(cname) {    var rcnt,ccnt,cvalue,tblcell,start_char,end_char;    var cline;        cvalue = ""    tblcell = document.getElementById(cname + "_item00")    rcnt = 0        // Loop throught all of the rows.    while (tblcell != null ) {        // Loop throught all of the cols        ccnt = 0        cline = ""        while (tblcell != null) {            if (tblcell.value != "")                start_char = "'"                end_char = "'"                schar = tblcell.value.charAt(0);                echar = tblcell.value.charAt(tblcell.value.length - 1)                if (schar == "(")                    start_char = "";                if (echar == ")")                    end_char = "";                //if  start_char.charAt(0)                cline =  start_char + tblcell.value + end_char + ",";            ccnt++;            tblcell = document.getElementById(cname + "_item" + rcnt + ccnt)        }        rcnt++;        ccnt = 0        cvalue = cvalue + cline;        tblcell = document.getElementById(cname + "_item" + rcnt + ccnt);    }            if (cvalue != "")         cvalue = "[" + cvalue.substring(0,cvalue.length -1) + "]";    return cvalue;}
3817	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3817/c7faaca9b24d4df61774e200c69e8a11cb807921/config.js/buggy/src/www/htdocs/scripts/config.js