Behaviors were introduced with Microsoft® Internet Explorer 5.0 to provide easy separation of script from content. Before the advent of behaviors, DHTML scriptlets were the only way to encapsulate scripting code into manageable elements if you wanted to make your code more object oriented. For a primer on DHTML scriptlets, refer to the Cutting Edge column in the January 1998 issue of Microsoft Internet Developer. I also covered behaviors in the April 1999 issue.