zIndex

This value is used to set or change the stacking order, or z-index value, of the given element relative to the other elements within the same document . The value is any positive integer, reflecting the number of layers within the stacking order for that document..

syntax:

document.all.elementID.style.zindex = "value"

This Property is used to access attributes of the following:

layer
style
tags