Custom Action html View

Custom Action html View

I have created an html view called Maintenance that combines the Add_Maintenance form and the View_Maintenance view together.  I have created a custom function so I can put a button on my Equipment view that when clicked will pull up the html view for that particular record.

I have successfully created custom function buttons that separately pull up the Add_Maintenance or View_Maintenance subforms but having both was rather cluttered which is why I combined the views in an html view so there would be only one button to click to pull up both.

My question is, on the custom function I built for the Maintenance html view when you click the button on the Equipment view it just continues to load but never actually loads anything.  So it says:
    Loading Form....
    Loading View....

Here is the custom function:

  1.      void display.maintenance(int id)
  2.      {
  3.          openUrl("#View:Maintenance?Asset_ID=" + input.id + "&zc_Header=false&zc_Footer=false&zc_DelRec=false",      "popup window", "Height=300,width=550");
  4.      }

What have I done wrong that it's not actually loading anything?  Is it not possible to link to the html view for custom actions or do I have to use a different code to make it work?