I'm not following what's going on... I don't know about doing the same in JS like flsam asked; jmsrickland, were you talking about the final solution to that javascript question, or the final solution to my original question? Because the code absolutely does work: