Well in that case just use something like
code:
result = [
box1.value, ";",
box2.value, ":",
box3.value, ":",
box4.value,
box5.value,
// etc.
box23.value
].join("");
You could probably imagine ways to make it more efficient/cleaner, e.g. join all the colon-separated bits first, then add them to the other ones.
EDITED: 20 Jan 2012 13:04 by CAER