Here's a really nice JavaScript equivalent of ColdFusion's tag.