we use a url substitution for disaster recovery in case some of our servers are down. Our old site used frames, I wrote a litle gimmick, urlSub.js, that references the secondary server:
---------------------------------------------------------------
var url_base = "example.com";
function urlSubstitution(url_in)
{
parent.frames['rightPane'].location.href = "http://"+ url_base + "/" + url_in;
}
----------------------------------------------------------------
everything has worked fine - Now the company wants to change the site - I am using a big iFrame now to display content. However - the urlSub links I had before will not work and I just know it is my lack of DOM knowledge. Here is what I am using for the iFrame version:
----------------------------------------------------------------
var url_base = "example.com";
function urlSubstitution(url_in)
{
document.getElementById['portalFrame'].src = "http://"+ url_base + "/" + url_in;
}
------------------------------------------------------------------

and for reference, here is how I am calling the urlSub.js in my line: (using the Milonic drop down menus)

aI("text=Title Page;url=javascript:urlSubstitution('transco/sheet.asp?stype=0');target=portalFrame");

portalFrame being the iFrame in the page.

thanks