// JScript File


function changeBGColor(id,bgColor)
{
    document.getElementById(id).style.backgroundColor = bgColor;
}
   
function changeLink(idTD,idFrame,urlFrameDiv,bgColorS)//,bgColorN)
//function changeLink(idFrame,urlFrameDiv)
{
    changeBGColor(idTD,bgColorS);
    document.getElementById(idFrame).setAttribute("src",urlFrameDiv);
}

function changeDivLink(idTD,idFrameView,idFrame,iframeto,iheight,bgColorS)
//function changeLink(idFrame,urlFrameDiv)
{
    changeBGColor(idTD,bgColorS);
    for(i=0;i<iframeto;i++)
    {
      s_idFrame = idFrame + i;
      document.getElementById(s_idFrame).style.visibility='hidden';
      document.getElementById(s_idFrame).style.height = 0;
    }
    document.getElementById(idFrameView).style.visibility='visible';
    document.getElementById(idFrameView).style.height = iheight+'px';
}



