code: function getListFormUrl(l, f) {
  
          var u;
          $().SPServices({
              operation: "GetFormCollection",
              async: false,
              listName: l,
              completefunc: function (xData) {
                  u = $(xData.responseXML).find("Form[Type='" + f + "']").attr("Url");
              }
          });
          return u;
  
      }
docs: End of function genContainerId Get the URL for a specified form for a list