<body> <h2 align=center> <?lsmb company ?> <br><?lsmb address ?> <p>BALANCE SHEET <br>as at <?lsmb this_period ?> </h2> <?lsmb IF department ?> <h4>Department: <?lsmb department ?></h4> <?lsmb END ?> <table border=0> <tr> <th align=left width=400 colspan=2>ASSETS<br><hr align=left width=250 size=5 noshade></th> <th><?lsmb this_period ?></th> <th><?lsmb last_period ?></th> </tr> <?lsmb FOREACH asset_account ?> <?lsmb loop_count = loop.count - 1 ?> <tr> <td> </td> <td><?lsmb asset_account.${loop_count} ?></td> <td align=right><?lsmb asset_this_period.${loop_count} ?></td> <td align=right><?lsmb asset_last_period.${loop_count} ?></td> </tr> <?lsmb END ?> <tr> <td colspan=2> </td> <td><hr noshade size=1></td> <td><hr noshade size=1></td> </tr> <tr valign=top> <th align=left colspan=2>TOTAL ASSETS</th> <td align=right><?lsmb total_assets_this_period ?><hr noshade size=2></td> <td align=right><?lsmb total_assets_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=4>LIABILITIES<b><hr align=left width=250 size=5 noshade></th> </tr> <?lsmb FOREACH liability_account ?> <?lsmb loop_count = loop.count - 1 ?> <tr> <td></td> <td><?lsmb liability_account.${loop_count} ?></td> <td align=right><?lsmb liability_this_period.${loop_count} ?></td> <td align=right><?lsmb liability_last_period.${loop_count} ?></td> </tr> <?lsmb END ?> <tr> <td colspan=2> </td> <td><hr noshade size=1></td> <td><hr noshade size=1></td> </tr> <tr valign=top> <td></td> <th align=left>TOTAL LIABILITIES</th> <td align=right><?lsmb total_liabilities_this_period ?><br><hr noshade size=2</td> <td align=right><?lsmb total_liabilities_last_period ?><br><hr noshade size=2</td> </tr> <tr> <th align=left colspan=4>SHAREHOLDER'S EQUITY<br><hr align=left width=250 size=5 noshade></th> </tr> <?lsmb FOREACH equity_account ?> <?lsmb loop_count = loop.count - 1 ?> <tr> <td></td> <td><?lsmb equity_account.${loop_count} ?></td> <td align=right><?lsmb equity_this_period.${loop_count} ?></td> <td align=right><?lsmb equity_last_period.${loop_count} ?></td> </tr> <?lsmb END ?> <tr> <td colspan=2> </td> <td><hr noshade size=1></td> <td><hr noshade size=1></td> </tr> <tr valign=top> <td></td> <th align=left>TOTAL EQUITY</th> <td align=right><?lsmb total_equity_this_period ?><br><hr noshade size=2</td> <td align=right><?lsmb total_equity_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>TOTAL LIABILITIES & EQUITY</th> <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> </body> </html>