| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 | <style>table {margin-bottom:20px;table-layout:fixed; border-collapse:collapse; border-spacing:10px}table.t1 {width:400px; border:1px solid black}table.t1 th {border:1px solid black;padding:4px;background-color:#e0e0e0}table.t1 td {text-align:center}table.t2 {width:800px; border:1px solid black;}table.t2 th {border:1px solid black;padding:4px;background-color:#e0e0e0}table.t2 td {border:1px solid black; text-align:center}div.d1 {text-align:center; width=400px; background-color:#e0e0e0;        font-size:      20px; margin-bottom:20px}</style><table cellspacing="2" cellpadding="5" border="0"><tr><td>CRF ID: </td><td><strong id="crfRefId">1583163135258</strong></td></tr></table><form name="smokingHabitsForm" id="smokingHabitsForm"><div id="smokingHabitsDiv"></div><textarea cols="30" rows="2" name="formStatus" id="formStatus">Loading</textarea></form><script type="text/javascript">window.onload = init();//var generateTable=require("tecant/generateTable.js");function init(){    //LABKEY.requiresScript("/tecant/scripts/tecant/generateTable.js", function() {            // Called back when all the scripts are loaded onto the page    //        document.getElementById('formStatus').value+="\n Adding scripts";    //    });    //generateTable("existingCondition","smokingHabitsDiv",true);    document.getElementById('formStatus').value+="\n Adding scripts";    var moduleContext=LABKEY.getModuleContext('tecant');    if(moduleContext === null){        document.getElementById('formStatus').value+="\n Module not loaded";        return;    }    document.getElementById('formStatus').value+="\n Module tecant loaded: "+moduleContext;    for (f in moduleContext){        document.getElementById('formStatus').value+=            "\n moduleContext["+f+"]: "+moduleContext[f];    }}</script>
 |