function title(t){
 document.write(
   '<CENTER><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0><TR><TD HEIGHT=1 BGCOLOR=#cc8866></TD></TR><TR><TD HEIGHT=4></TD></TR><TR><TD BGCOLOR=#fffffc><CENTER>'
  +'<FONT FACE="Tahoma,Arial,Helv,Helvetica" SIZE=2 COLOR=#446688><B>' + t + '</B></FONT>'
  +'</CENTER></TD></TR><TR><TD HEIGHT=4></TD></TR><TR><TD HEIGHT=1 BGCOLOR=#cc8866></TD></TR><TR><TD HEIGHT=4></TD></TR></TABLE></CENTER>'
  );
}

function open_win(url_add)
{
  window.open(url_add,'Screenshot','width=726,height=560');  
}

function prolog(ts){
 document.write(
 '<TABLE WIDTH=700 BORDER=0 CELLPADDING=0 CELLSPACING=0>'
 +'<TR>'
 +'<TD COLSPAN=2>'
   +'<TABLE WIDTH=100% BGCOLOR=#FFFFDD BORDER=0 CELLPADDING=0 CELLSPACING=0>'
    +'<TR>'
     +'<TD>'
      +'<a href="http://www.numerit.com">'
      +'<IMG SRC="images/numerit.jpg" ALT="Numerit" WIDTH=360 HEIGHT=46 BORDER=0>'
      +'</a>'
     +'</TD>'
     +'<TD ALIGN=RIGHT VALIGN=BOTTOM NOWRAP>'
     +'<FONT FACE="tahoma,verdana,arial" SIZE=1>'
	   +'<a href="download.htm"><b>Download</b></a>&nbsp;'
	   +'|&nbsp;<a href="order.htm"><b>Order</b></a>&nbsp;'
	   +'|&nbsp;<a href="prod.htm"><b>Products</b></a>&nbsp;'
	   +'|&nbsp;<a href="gsl.htm"><b>GSL</b></a>&nbsp;'
	   +'|&nbsp;<a href="letters.htm"><b>Testimonials</b></a>&nbsp;'
	   +'|&nbsp;<a href="contact.htm"><b>Contact Us</b></a>&nbsp;'
     +'</FONT>'
     +'</TD>'
    +'</TR>'
   +'</TABLE>'
  +'</TD>'
 +'</TR>'
  
 +'<TR>'
  +'<TD HEIGHT=4 COLSPAN=2>'
  +'</TD>'
 +'</TR>'

 +'<TR>'
  +'<TD HEIGHT=10 COLSPAN=2 BGCOLOR=#BFC7EE>'
	+'</TD>'
 +'</TR>'

 +'<TR>'
  +'<TD COLSPAN=2>'
	+'<FONT FACE="Verdana,Arial,Helv,Helvetica" SIZE="1" COLOR="#00009F"><B>Version 1.7 (build 1.7.106)</B></FONT>'
	+'</TD>'
 +'</TR>'
 
 +'<TR>'
  +'<TD HEIGHT=22 COLSPAN=2>'
  +'</TD>'
 +'</TR>'
 
 +'<TR VALIGN=TOP>'
  +'<TD>'
  +'<IMG SRC="images/wpix.gif" WIDTH=150 HEIGHT=300 BORDER=0>'
);
 
 if (ts)
 {
   document.write(
   '<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>'
   +'</TABLE>'
   +'<TABLE>'
   +'<TR>'
   +'<TD WIDTH=4 HEIGHT=120>'
   +'</TD>'  
   +'<TD>'
    +'<TABLE WIDTH=120 HEIGHT=50 BORDER=0 CELLPADDING=2 CELLSPACING=0>'
     +'<TR BGCOLOR=#EEF3FF>' 
     +'<TD VALIGN=BOTTOM ALIGN=CENTER>'
     +'<FONT FACE="Arial,Helv,Helvetica" SIZE=2>'
     +'<FONT FACE="Arial,Helv,Helvetica" SIZE=2 COLOR=#303070>'
     +'<B>Download a free spell checker</B>'
     +'<BR>'
     +'<a href="http://www.tinyspell.com/" target="tslink">'
     +'<IMG SRC="images/tss.jpg" ALT="tinySpell" WIDTH=32 HEIGHT=32 BORDER=0>'
     +'</a>'
     +'<BR>'
     +'</FONT>'
     +'<FONT COLOR=#446688>'
     +'<a href="http://www.tinyspell.com/" target="tisp">'
     +'<B>tinySpell</B>'
     +'</a>'
     +'</FONT>'
     +'</FONT>'
     +'</TD>'
     +'</TR>' 
    +'</TABLE>' 
   +'</TD>'
   +'</TR>' 
   +'</TABLE>'
  );
 } 

 document.write(
  '</TD>'
  +'<TD WIDTH=550>'
  +'<FONT FACE="Arial,Helv,Helvetica" SIZE=2>'
  );
}

function epilog(){
 document.write(
 '</FONT>'
 +'</TD>'
 +'</TR>'
 +'<TR>'
  +'<TD HEIGHT=25 COLSPAN=2 BGCOLOR=#DDDDDB ALIGN=CENTER>'
   +'<FONT FACE="Arial,Helv,Helvetica" SIZE=-2>'
   +'Copyright &copy; 2009 KEDMI Scientific Computing. All Rights Reserved.'
   +'</FONT>'
  +'</TD>'
 +'</TR>'
 +'</TABLE>');
 new menu(MENU_ITEMS, MENU_POS);
}
