Writing Cross-Browser Dynamic HTML