That's IE6, IE7 is fine. It was the norm, javascript was just a fallback. And if you go further back to Dreamweaver days, javascript was the norm again (remember MM_clusterufck)?
I've had the displeasure of seeing one of these functions recently, and let's just say it's not pretty JS.