document.readyStatereadyState--------------------------------------------------------------------------------DescriptionSpecifies the current state of an object being downloaded. Syntax
object.readyStateSettingsPossible values include: uninitialized  The object is not initialized with data. 
loading  The object is currently loading its data. 
interactive  The object can be interacted with even though it is not fully loaded. 
complete  The control is completely loaded. 
ResEach object can independently determine which of the four states it exposes. This property has read-only permission, meaning you can retrieve its current value, but not change it. Applies ToIMG, LINK, OBJECT, SCRIPT, STYLE, documentSee Also
onreadystatechange