// Expand treeview style DHTML page
function treeExpand(objImg, sIndex)
{
  if (g_MSIE) {
      var sItem = "faq" + objImg.treeIndex;
      var objTR = document.getElementById(sItem);
      var sSrc = new String(objImg.src);
      //--
      if (sSrc.indexOf("images/TreePlus.gif", 1) > -1) {
        objTR.style.display = "inline";
        objImg.src = "images/TreeMinus.gif";
      } else {
        objTR.style.display = "none";
        objImg.src = "images/TreePlus.gif";
      }
      return false;
//  } else if (g_OK) {
//      var sURL = "faq_popup.asp?id=" + sIndex;
//      window.open(sURL, "faq_popup", "height=275,width=400,status=no,toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=yes");
//       
//      return false;
  } else {
      return true;
  }
}

function popupWindow(sURL, iWidth)
{
  if (g_OK) {
      window.open(sURL, "pic_popup", "height=450,width=" + iWidth + ",status=no,toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=yes");
      return false;
  } else {
      return true;
  }
}