("runtimeStyle" is a special property IE supports to facilitate the temporary adjustment of a style value. It come in very handy if you want to override a style without forgetting what the original style was, allowing the override to be easily removed.) Then it displays the datepicker panel:
Changing the appearance of objects The datepicker does just about the same amount of work to change the appearance of a selected date as it does to change the calendar to a new month: it calculates what action the user requested, performs it, and then regenerates the HTML for the entire calendar display. This may seem like overkill, but from a programming perspective, it was simpler to do this than to worry about changing the class associated with several cells on the screen. However, another approach—remembering what cells had special styles associated with them (“Today” and “CurrDay”), and then programmatically changing the class attribute of these affected cells—would have accomplished the same end result. If you look at the iwa_DatePick.js script, you'll see that DatePick's update method writes the calendar table out as a text string, concatenating it in a variable named s. It picks up the values and attributes of each cell as it loops through the table. One of the ways it builds that string is by assigning string values to variables, and then assigning those variables to the innerHTML values of the <td> tags: el = aAll[ "SDP" + 'Grid' + this.sUnique ];