This is an alternative way to load a new document into a layer. You can accomplish something similar by assigning a new value to the src property. This method will adjust the width of the layer at the same time.
In fact this works so much better, that the Layer.src property can be ignored for most purposes. This seems to work well with an absolutely positioned <DIV> container.