title: Controlling display of embedded VisualForce page
body: <p>I have a client who has a custom visualforce page that is embedded on the standard Lead page via page layout.  What they would like to do is have this embedded page appear conditionally based upon various criteria in the Lead Object.  I have been able to implement this using a Home Page Component that uses javascript to find and hide the embedded content based on certain criteria it finds on screen. I have a couple questions about this technique:</p>
  
  <ol>
  <li>Is there a better way to accomplish this?</li>
  <li>How will Salesforce look upon this if they decide to create an AppExchange product out of this?</li>
  </ol>
  
  <p>Thanks</p>