function printVersion(){
    newwindow=window.open("","","toolbar=no,status=no,width=710,height=500,location=no,scrollbars=yes,menubar=yes,resizable=yes");
    newdocument=newwindow.document;
    newdocument.write('<html><head><style media="print" type="text/css">.noprint {display:none;}</style><link type="text/css" href="/styles/print.css" rel="StyleSheet" /></head><body><div class="noprint"><p style="padding:6px;"><a class="printlink" href="javascript:window.print()">Print this page</a></p></div><div class="logoDiv"><img src="/images/printActions/logoPrint.gif" alt="William &amp; Mary Law School"></div>');
    if (document.getElementById('pageTitle') && document.getElementById('printContainer')){
        newdocument.write("<h1>"+document.getElementById('pageTitle').innerHTML+"</h1>");
    }

    if (document.getElementById('printContainer')){
        //newdocument.write(document.getElementById('printContainer').innerHTML);

        // get rid of movie stuff- This hack will be revisited soon
        var mytext = document.getElementById('printContainer').innerHTML;
        var mytext = mytext.replace(/<\s*embed/g,"<nobed");
        var mytext = mytext.replace(/<\s*object/g,"<noject");
        var mytext = mytext.replace(/AC_FL_RunContent\(/g,"DontDoIt\(");

        newdocument.write(mytext);

    }
    else {
        newdocument.write("There is a problem with the print version of this page.")
    }
    newdocument.write("<div class='footer'></div></body></html>");
    newdocument.close();
}
