Thanks for that.
I'm not sure how to modify that to fit in with my array's.
Here are my two array's:
var list1 = "1,2,3,5";
var valueArray1 = new Array();
valueArray1 = list1.split(',');
var list2 = "5,6,7,8";
var valueArray2 = new Array();
valueArray2 = list2.split(',');
Could you tell me where they go in your script?
Thanks for your time