
<body bgcolor=ffffff>

<table width="100%">
<tr valign=bottom>
  <td width=10>&nbsp;</td>
  <td>
  
  <table width="100%">
  <tr>
    <td>
      <h4>
      <?lsmb company ?>
      <br><?lsmb address ?>
      </h4>
    </td>

    <td align=right>
      <h4>
      Telefon: <?lsmb tel ?>
      <br>Telefaks: <?lsmb fax ?>
      </h4>
    </td>
  </tr>

  <tr>
    <th colspan=3>
      <h4>S A L G S &nbsp;&nbsp; O R D R E</h4>
    </th>
  </tr>

  </table>


  <table width=100% callspacing=0 cellpadding=0>
    
  <tr>
    <td align=right>
    <table>
    <tr>
      <th align=right>Ordre dato</th><td width=10>&nbsp;</td><td><?lsmb orddate ?></td>
    </tr>
  
    <tr>
      <th align=right>Leveringsdato</th><td width=10>&nbsp;</td><td><?lsmb reqdate ?></td>
    </tr>

    <tr>
      <th align=right>Ordrenr.</th><td>&nbsp;</td><td><?lsmb ordnumber ?></td></tr>
    </tr>
  
    <tr>
      <td>&nbsp;</td>
    </tr>
    </td>
    </table>
  </tr>

  <tr>
    <td>
    <table width="100%">
    <tr bgcolor=000000>
      <th align=left><font color=ffffff>To:</th>
      <th align=left><font color=ffffff>Ship To:</th>
    </tr>

    <tr>
      <td><?lsmb name ?>
      <br><?lsmb address1 ?>
      <?lsmb if address2 ?>
<br><?lsmb address2 ?>
<?lsmb end address2 ?>
      <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
      <?lsmb if country ?>
<?lsmb country ?>
<?lsmb end country ?>
      </td>

      <td><?lsmb shiptoname ?>
      <br><?lsmb shiptoaddress1 ?>
      <?lsmb if shiptoaddress2 ?>
<br><?lsmb shiptoaddress2 ?>
<?lsmb end shiptoaddress2 ?>
      <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
      <?lsmb if shiptocountry ?>
<?lsmb shiptocountry ?>
<?lsmb end shiptocountry ?>
      </td>
    </tr>
    </table>
    </td>
  </tr>

  <tr>
    <td>&nbsp;</td>
  </tr>
  
  <tr>
    <td>
    <table width="100%">
    <tr bgcolor=000000>
<!--      <th align=right><font color=ffffff>No.</th>  -->
      <th align=left><font color=ffffff>Nummer</th>
      <th align=left><font color=ffffff>Beskrivelse</th>
      <th><font color=ffffff>Ant.</th>
      <th>&nbsp;</th>
      <th><font color=ffffff>Pris</th>
      <th><font color=ffffff>Rabatt</th>
      <th><font color=ffffff>Sum</th>
    </tr>

<?lsmb foreach number ?>
    <tr valign=top>
<!--      <td align=right><?lsmb runningnumber ?>.</td>
adjust the colspan if you include this to shift subtotal one to the right
-->
      <td><?lsmb number ?></td>
      <td><?lsmb description ?></td>
      <td align=right><?lsmb qty ?></td>
      <td><?lsmb unit ?></td>
      <td align=right><?lsmb sellprice ?></td>
      <td align=right><?lsmb discount ?></td>
      <td align=right><?lsmb linetotal ?></td>
    </tr>
<?lsmb end number ?>

    <tr>
      <td colspan=7><hr noshade></td>
    </tr>
    
    <tr>
<?lsmb if taxincluded ?>
      <th colspan=5 align=right>Total</th>
      <td colspan=2 align=right><?lsmb ordtotal ?></td>
<?lsmb end taxincluded ?>

<?lsmb if not taxincluded ?>
      <th colspan=5 align=right>Subtotal</th>
      <td colspan=2 align=right><?lsmb subtotal ?></td>
<?lsmb end taxincluded ?>
    </tr>

<?lsmb foreach tax ?>
    <tr>
      <th colspan=5 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th>
      <td colspan=2 align=right><?lsmb tax ?></td>
    </tr>
<?lsmb end tax ?>

    <tr>
      <td colspan=2>&nbsp;</td>
      <td colspan=5><hr noshade></td>
    </tr>

    <tr>
      <td colspan=3>Betalingsfrist <b><?lsmb terms ?></b> dager</td>
      <th colspan=2 align=right>Total</th>
      <th colspan=2 align=right><?lsmb ordtotal ?></th>
    </tr>
<?lsmb if taxincluded ?>
    <tr>
      <td colspan=3>Mva er inkludert i Total</td>
    </tr>
<?lsmb end taxincluded ?>

    <tr>
      <td>&nbsp;</td>
    </tr>

    </table>
    </td>
  </tr>

<tr>
  <td>
  <table width="100%">
    <tr valign=top>
<?lsmb if notes ?>
      <td>Note</td>
      <td><pre><?lsmb notes ?></pre></td>
<?lsmb end notes ?>
      <td align=right>
      Alle priser i valuta <b><?lsmb currency ?></b>
      <br><?lsmb shippingpoint ?>
      </td>
    </tr>

  </table>
  </td>
</tr>

<tr><td>&nbsp;</td></tr>
  
<tr>
  <td>
  <table width="100%">
  <tr valign=top>
    <td><font size=-3>
Ved spesialtilpassede ordre (påkrevd av kunden), skreddersydde produkter, utvidede eller
oppgraderte produkter belastes et 10% avbestillingsgebyr. Varer som
ikke kan returneres er merket over.
    </font>
    </td>
    <td width=150>
    X <hr noshade>
    </td>
  </tr>
  </table>
  </td>
</tr>

</table>

</td>
</tr>
</table>

</body>
</html>

