m.split(',');
var newparam = '';
for (var i = 0; i < parr.length; i++) {
var pparr = parr[i].split('-');
if (pparr[0] == 'key') {
if (newparam == '') {
newparam = 'key-' + (key);
} else {
newparam += ',key-' + (key);
}
} else {
if (newparam == '') {
newparam = parr[i];
} else {
newparam += ',' + parr[i];
}
}
}
if (newparam.indexOf('key-') == -1 && key != '') {
if (newparam == '') {
newparam = 'key-' + key;
} else {
newparam += ',key-' + (key);
}
}
return newparam;
}