/*
////////////////////////////////////////////////////////////////////////////////
jsSQL Framework
jsSQL Framework related tools

 - PrintTable( aTable [, aTarget="document"] [, aClass] ) rel 1.0 (apr 2000)

written in JavaScript1.2
tested with IE 4.0 e NS 4.6

conceived and first realized by:

    Federico Sasso
    Via P.Nenni, 3/2
    Genova - Italy
    federicosasso@technologist.com


Author notes:

This CSS is provided in bundle with *.js file containing the PrintTable()
function definition.
The PrintTable function, whose prototype is:

 PrintTable( aTable [, aTarget="document"] [, aClass] )

allows a certain degree of customization of the layout of the printed table
because it can accept the aClass argument, that stands for the name of a
custom CSS class to be associated to the HTML table.
When the aClass argument is specified, odd and even rows of the table are
declared of class="oddrow" and class="evenrow", plus, the attribute border="1"
in the HTML table definition is not specified any more.

This script is provided as part of the jsSQL Framework but it has also to be
intended as an example of use.

version: jsSQLtables.js rel 1.0 (apr 2000) 
author:  fred
Known issues: can anyone explain how to tell NS to draw table borders correctly
              with a CSS class definition? At the moment it displays them white!

////////////////////////////////////////////////////////////////////////////////
*/

TABLE.orig {background-color: #000000; font-family: Arial; font-size: 10pt; border: solid 1px black;}
TABLE.orig TD {font-family: Arial; font-size: 10pt; color: black;}
TABLE.orig TH {font-family: Arial; font-size: 10pt;}
TABLE.orig TH {border-style: solid; border-color: black; border-width: 1px; background: #000000; color: white}
TABLE.orig TR.evenrow {background: #E4DDBB}
TABLE.orig TR.oddrow  {background: #FFFFFF}

TABLE.result {background: #000000; font-family: Arial; font-size: 10pt}
TABLE.result TH, TD {font-family: Arial; font-size: 10pt; color: black;}
TABLE.result TH {background: #800000; color: white}
TABLE.result TR.evenrow {background: #D0D0D0}
TABLE.result TR.oddrow  {background: #FFFFFF}

TABLE.interm {background: #000000; font-family: Arial; font-size: 10pt}
TABLE.interm TH, TD {font-family: Arial; font-size: 10pt; color: black;}
TABLE.interm TH {background: #008000; color: white}
TABLE.interm TR.evenrow {background: #D0D0D0}
TABLE.interm TR.oddrow  {background: #FFFFFF}

