var data = prompt(line1+line2+line3, "");
if ( data == null || data.length ==0 )
{
//user canceled process or didn't enter anything, so do nothing and end nicely.
} else{
if (data.indexof(",")>0) {
action = data.split(",");
} else {
action = data.split(" ");
}
//if the 's' is it's own value in the array, detect and snip
if (action[action.length-1] == "s") {
action.length = action.length-1;
strokes = true;
}
// or, detect and snip the 's' from the last number in the array
if (action[action.length-1].charat(action[action.length-1].length-1) == "s") {
action[action.length-1] = action[action.length-1].substr(0,action[action.length-1].length-1)
//alert(action);
strokes = true;
}
var baseval = action[0];
for (j=0; j<len; j++) {
//
//change opacity here
if (isnumber(action[0]) && isnumber(action[1]) && action.length == 2) {