  function printSpecial(divID)
  {
    if (document.getElementById != null)
    {
        var html = '<HTML>\n<HEAD>\n';

        if (document.getElementsByTagName != null)
        {
            var headTags = document.getElementsByTagName("head");
            if (headTags.length > 0)
                html += headTags[0].innerHTML;
        }
        
        html += '\n</HE' + 'AD>\n<BODY class="printable">\n';
        
        var printReadyElem = document.getElementById(divID);
        
        if (printReadyElem != null)
        {
          if (printReadyElem.innerHTML.indexOf("FCK swfobject") == -1)
           {
                html += printReadyElem.innerHTML;
           }
          else
           {
            alert("Document contains elements that can not be printed");
            return;
           }
        }
        else
        {
            alert("Could not find the printReady section in the HTML");
            return;
        }
            
        html += '\n</BO' + 'DY>\n</HT' + 'ML>';
        
        var printWin = window.open("","printSpecial");
        printWin.document.open();
        printWin.document.write(html);
        printWin.document.close();
        //if (gAutoPrint)
        printWin.print();
        // printWin.close();
    }
    else
    {
        alert("Sorry, the print ready feature is only available in modern browsers.");
    }
 }
