title: javascript for iframe - loading message and what to do if there is no connection
body: <p><a href="https://stackoverflow.com/questions/7434967/how-to-put-loading-message-in-iframe-before-page-was-loaded">how to put loading message in iframe before page was loaded</a></p>
  
  <p>I have used the suggestion on the link above to help solve my issue but it isn't really clean.</p>
  
  <p>My problem:  I manage a large CMS and we want to have some content that not only requires login but requires that employees are on the local intranet.  So the CMS is internet and I have another local intranet server that will supply the content.</p>
  
  <p>Employees go to the page and I have a clean iframe of the intranet site.  Only issue is that I don't want them to see the browser error message if they do not have connectivity.  I want them to see my error message because if they don't see mine our tech helpdesk will get a flood of calls.  I am using the above code right now and I can set a long time out on it but eventually people are going to see the "Unable to connect" message...  What alternatives do I have?</p>