Hello all. I'm trying to get the below sript to load a iframe. How can I change the below to open multiple iframe.
function LoadPage(lyr_ID,oLeft,oTop,oPage) {
document.getElementById(lyr_ID).style.visibility = (document.getElementById(lyr_ID).style.visibility == "visible") ? "hidden" : "visible";
document.getElementById(lyr_ID).style.pixelLeft=oLeft
document.getElementById(lyr_ID).style.pixelTop=oTop
document.frames[id].location.href=oPage

}

function hidelyr(lyr_ID) {
document.getElementById(lyr_ID).style.visibility = "hidden";
}

</SCRIPT>

<DIV id="layer_2" style="position:absolute;left:0;top:0;width:0;height:0;border:1 ridge black;overflow:visible;visibility:hidden;z-index:4">

<iframe id="iframe2" frameborder="0" style="border-width: 1px;border-style: solid;
border-color: #FFFFFF;"
src="#null" width=350 height=300></iframe>

</DIV>


<DIV id="layer_1" style="position:absolute;left:0;top:0;width:0;height:0;border:0 ridge white;overflow:visible;visibility:hidden;z-index:4">

<iframe id="iframe1" frameborder="0" style="border-width: 1px;border-style: solid;
border-color: #FFFFFF;"
src="#null" width=390 height=180></iframe>

</DIV>