  /******************************
    Notice : Permission to use this script is
    restricted, unless this header remains intact.
    Copyright (c) 2008 Joppadesign
    
    Writer - Curt Arbtin
    Contact - curt@joppadesign.com
    Date Created - Aug 2008
    Use - grab content and put it into a new window
    Requires - no other sources
  *******************************/
  var siteName = "Content Printed from www.eslabonlp.com";
  var winPrint, docPrint;

  function show_printable()
  {
    var article_content = document.getElementById('property_details').innerHTML;

    winPrint = window.open('',"printableWindow","toolbar=yes,status=no,menubar=yes,fullscreen=no,scrollbars=yes,width=816,height=600,resizable=yes,top=100,left=100");

    render_Print_Page(article_content);
    //winPrint.close();
    //winPrint.focus();
  }
  
  function render_Print_Page(article_content)
  {
    docPrintHTML = "<html><head><title>Content Printed from www.eslabonlp.com</title>\n";
    docPrintHTML += "<script language=\"javascript\">var winMain=window.opener;</script>\n";
    docPrintHTML += "<link href=\"js/eslabon_print.css\" media=\"print, screen\" rel=\"stylesheet\" type=\"text/css\" />";
    docPrintHTML += "</head><body>\n";
    docPrintHTML += "<p class=\"print-button\"><input type=\"button\" value=\"Print\" onclick=\"javascript:window.print();\" /></p>";
    docPrintHTML += article_content;
    docPrintHTML += "<div class=\"disclaimer-footer\"><strong>Disclaimer: </strong>The information contained on this website is for informational purposes only. You must rely on your own inspection and examination of the described property to the extent you deem necessary in order to enable you to evaluate the purchase of the property. We make no express or implied representations or warranties with respect to the described property, including but not limited to, capacity, suitability, utility, salability, availability, financial value, operation, condition, merchantability, or fitness for any purpose or a particular purpose.";
    docPrintHTML += "<p class=\"print-footer\">Printed from URL: "+ window.location.href +"</p>";
    docPrintHTML += "</body></html>";

    winPrint.document.open();
    winPrint.document.write(docPrintHTML);
    winPrint.document.close();
  }