// Common JavaScript functions

/////////////////////////////////////////////////////////////////////
function ViewHeader()
{
    document.open();
    document.writeln("<table border='0' width='100%' cellspacing='0' cellpadding='0' height='52' bgcolor='#FFFFFF' background='hdrimg/band.gif'>");
    document.writeln("  <tr>");
    document.writeln("    <td width='160' height='66' valign='top' align='center' nowrap bgcolor='#FFFFFF'>");
    document.writeln("    <p style='text-indent: 0; margin: 0'>");
    document.writeln("    <a href='http://www.lti-aurinko.com'><img border='0' src='hdrimg/aurhdr.jpg' width='279' height='56'></a></p>");
    document.writeln("    </td>");
    document.writeln("    <td align='right'>");
    document.writeln("    <table border='0' cellpadding='0' cellspacing='0' width='100%'>");
    document.writeln("      <tr>");
    document.writeln("        <td style='PADDING-RIGHT: 10px; ' vAlign='bottom' align='right'>");
    document.writeln("        <table cellSpacing='0' cellPadding='0' border='0'>");
    document.writeln("            <tr>");
    document.writeln("              <td align='center' width='10'>&nbsp;</td>");
//    document.writeln("              <td><a href='http://www.lti-aurinko.com/us/'>");
//    document.writeln("              <img border='0' src='hdrimg/flag_en.gif' hspace='3' width='15' height='12'></a></td>");
//    document.writeln("              <td><a href='http://www.lti-aurinko.com/fr/'>");
//    document.writeln("              <img border='0' src='hdrimg/flag_fr.gif' hspace='3' width='15' height='12'></a></td>");
//    document.writeln("              <td><a href='http://www.lti-aurinko.com/jp/'>");
//    document.writeln("              <img border='0' src='hdrimg/flag_jp.gif' hspace='3' width='15' height='12'></a></td>");
//    document.writeln("              <td><a href='http://www.lti-aurinko.com/es/'>");
//    document.writeln("              <img border='0' src='hdrimg/flag_es.gif' hspace='3' width='15' height='12'></a></td>");
//    document.writeln("              <td><a href='http://www.lti-aurinko.com/pl/'>");
//    document.writeln("              <img border='0' src='hdrimg/flag_pl.gif' hspace='3' width='15' height='12'></a></td>");
//    document.writeln("              <td><a href='http://www.aurinko.cz/cz/'>");
//    document.writeln("              <img border='0' src='hdrimg/flag_cs.gif' hspace='3' width='15' height='12'></a></td>");
    document.writeln("              </td>");
    document.writeln("            </tr>");
    document.writeln("          </tbody>");
    document.writeln("        </table>");
    document.writeln("        </td>");
    document.writeln("      </tr>");
    document.writeln("      <tr>");
    document.writeln("        <td style='PADDING-RIGHT: 10px;' align='right'><font color='#44577B'>");
    document.writeln("        <img border='0' src='hdrimg/space.gif' width='10' height='10'><br>&nbsp;</font></td>");
    document.writeln("      </tr>");
    document.writeln("    </table>");
    document.writeln("    </td>");
    document.writeln("  </tr>");
    document.writeln("</table>");
}

/////////////////////////////////////////////////////////////////////
function ViewNavBar()
{
    document.open();
    document.writeln("<table border='0' width='100%' cellspacing='0' cellpadding='0'>");
    document.writeln("<tr>");
    document.writeln("<td background='hdrimg/rnd.gif'>");
    document.writeln("<div align='center'>");
    document.writeln("<center>");
    document.writeln("<script type='text/javascript' language='JavaScript1.2'>");
    document.writeln("<!--");
    document.writeln("stm_bm(['mainmenu',430,'','hdrimg/space.gif',0,'','',1,0,0,0,50,1,0,0,'','',0],this);");
    document.writeln("stm_bp('p0',[0,4,0,0,3,0,15,0,100,'progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.20)',-2,'',-2,90,0,0,'#7f7f7f','#000000','hdrimg/rnd.gif',3,0,0,'#000000']);");
    document.writeln("stm_ai('p0i0',[6,16,'transparent','hdrimg/interrpt.gif',2,15,0]);");
    document.writeln("stm_ai('p0i1',[0,'Solution','','',-1,-1,0,'http://www.lti-aurinko.com/us/filedu.php','_self','','','','',0,0,0,'','',-1,-1,0,0,1,'#f0f0f0',1,'#f0f0f0',1,'','',0,3,0,0,'#ffffff','#ffffff','#333333','#cc0000','bold 8pt Verdana','bold 8pt Verdana',0,0]);");
    document.writeln("stm_bp('p1',[1,4,-10,4,0,3,7,0,100,'',-2,'',-2,90,0,0,'#cccccc','transparent','',3,1,1,'#808080']);");
    document.writeln("stm_aix('p1i0','p0i1',[0,'Education philosophy    ','','',-1,-1,0,'http://www.lti-aurinko.com/us/filedu.php','_self','','','hdrimg/item.gif','hdrimg/item.gif',0,0,0,'hdrimg/iter.gif','hdrimg/iter.gif',8,8,0,0,1,'#f0f0f0',0,'#969696',0,'','',3,3,0,0,'#ffffff','#ffffff','#505050','#ffffff','11px Verdana','11px Verdana']);");
    document.writeln("stm_aix('p1i1','p0i0',[6,1,'#cccccc','',-1,-1]);");
    //document.writeln("stm_aix('p2','p1',[1,4,187,-20]);");



//    document.writeln("stm_aix('p1i0','p0i1',[0,'Languages    ','','',-1,-1,0,'http://www.lti-aurinko.com/us/langs.php','_self','','','hdrimg/item.gif','hdrimg/item.gif',0,0,0,'hdrimg/iter.gif','hdrimg/iter.gif',8,8,0,0,1,'#f0f0f0',0,'#969696',0,'','',3,3,0,0,'#ffffff','#ffffff','#505050','#ffffff','bold 11px Verdana','bold 11px Verdana']);");
//    document.writeln("stm_bpx('p2','p1',[1,4,155,-20]);");
//    document.writeln("stm_aix('p2i0','p1i0',[0,'French','','',-1,-1,0,'http://www.aurinko.eu/download','_self','','','hdrimg/item.gif','hdrimg/item.gif',0,0,0,'hdrimg/iter.gif','hdrimg/iter.gif',8,8,0,0,1,'#f0f0f0',0,'#969696',0,'','',3,3,0,0,'#ffffff','#ffffff','#505050','#ffffff','11px Verdana','11px Verdana']);");
//    document.writeln("stm_aix('p2i1','p1i1',[]);");
//    document.writeln("stm_aix('p2i2','p1i0',[0,'German &#12367;&#12426;&#12363;&#12360;&#12375;  ','','',-1,-1,0,'http://www.aurinko.eu/download/ssp.html','_self','','','hdrimg/item.gif','hdrimg/item.gif',0,0,0,'hdrimg/iter.gif','hdrimg/iter.gif',8,8,0,0,1,'#f0f0f0',0,'#969696',0,'','',3,3,0,0,'#ffffff','#ffffff','#505050','#ffffff','11px Verdana','11px Verdana']);");
//    document.writeln("stm_aix('p2i3','p1i1',[]);");
//    document.writeln("stm_aix('p2i4','p1i0',[0,'Spanish','','',-1,-1,0,'http://www.aurinko.eu/download/iw.html','_self','','','hdrimg/item.gif','hdrimg/item.gif',0,0,0,'hdrimg/iter.gif','hdrimg/iter.gif',8,8,0,0,1,'#f0f0f0',0,'#969696',0,'','',3,3,0,0,'#ffffff','#ffffff','#505050','#ffffff','11px Verdana','11px Verdana']);");
//    document.writeln("stm_aix('p2i5','p1i1',[]);");
//    document.writeln("stm_aix('p2i6','p1i0',[0,'Japanese','','',-1,-1,0,'http://www.aurinko.eu/download/cw.html','_self','','','hdrimg/item.gif','hdrimg/item.gif',0,0,0,'hdrimg/iter.gif','hdrimg/iter.gif',8,8,0,0,1,'#f0f0f0',0,'#969696',0,'','',3,3,0,0,'#ffffff','#ffffff','#505050','#ffffff','11px Verdana','11px Verdana']);");
//    document.writeln("stm_aix('p2i7','p1i1',[]);");
//    document.writeln("stm_aix('p2i8','p1i0',[0,'Chinese','','',-1,-1,0,'http://www.aurinko.eu/download/mb.html','_self','','','hdrimg/item.gif','hdrimg/item.gif',0,0,0,'hdrimg/iter.gif','hdrimg/iter.gif',8,8,0,0,1,'#f0f0f0',0,'#969696',0,'','',3,3,0,0,'#ffffff','#ffffff','#505050','#ffffff','11px Verdana','11px Verdana']);");
//    document.writeln("stm_aix('p2i9','p1i1',[]);");
//    document.writeln("stm_aix('p2i10','p1i0',[0,'Polish','','',-1,-1,0,'http://www.aurinko.eu/download/cdp.html','_self','','','hdrimg/item.gif','hdrimg/item.gif',0,0,0,'hdrimg/iter.gif','hdrimg/iter.gif',8,8,0,0,1,'#f0f0f0',0,'#969696',0,'','',3,3,0,0,'#ffffff','#ffffff','#505050','#ffffff','11px Verdana','11px Verdana']);");
    document.writeln("stm_ep();");




    //document.writeln("stm_aix('p1i2','p1i0',[0,'Education philosophy   ','','',-1,-1,0,'http://www.lti-aurinko.com/us/filedu.php','_self','','','hdrimg/item.gif','hdrimg/item.gif',0,0,0,'hdrimg/iter.gif','hdrimg/iter.gif',8,8,0,0,1,'#f0f0f0',0,'#969696',0,'','',3,3,0,0,'#ffffff','#ffffff','#505050','#ffffff','11px Verdana','11px Verdana']);");
    document.writeln("stm_ep();");
    document.writeln("stm_aix('p0i2','p0i0',[]);");
    document.writeln("stm_aix('p0i3','p0i1',[0,'Product','','',-1,-1,0,'http://www.lti-aurinko.com/us/prodds.php']);");
    document.writeln("stm_bpx('p2','p1',[]);");


    document.writeln("stm_aix('p2i0','p1i0',[0,'Product Description  ','','',-1,-1,0,'http://www.lti-aurinko.com/us/prodds.php','_self','','','hdrimg/item.gif','hdrimg/item.gif',0,0,0,'hdrimg/iter.gif','hdrimg/iter.gif',8,8,0,0,1,'#f0f0f0',0,'#969696',0,'','',3,3,0,0,'#ffffff','#ffffff','#505050','#ffffff','11px Verdana','11px Verdana']);");
    document.writeln("stm_aix('p2i1','p1i1',[]);");
    document.writeln("stm_aix('p2i2','p1i0',[0,'Previews','','',-1,-1,0,'http://www.lti-aurinko.com/us/pictadd.php','_self','','','hdrimg/item.gif','hdrimg/item.gif',0,0,0,'hdrimg/iter.gif','hdrimg/iter.gif',8,8,0,0,1,'#f0f0f0',0,'#969696',0,'','',3,3,0,0,'#ffffff','#ffffff','#505050','#ffffff','11px Verdana','11px Verdana']);");
    document.writeln("stm_ep();");
    document.writeln("stm_aix('p0i4','p0i0',[]);");
    document.writeln("stm_aix('p0i5','p0i1',[0,' Online Store','','',-1,-1,0,'http://www.lti-aurinko.com/us/store.php','_self','','','hdrimg/basket.gif','hdrimg/basket.gif',15,12]);");
    document.writeln("stm_bpx('p4','p1',[]);");
    document.writeln("stm_aix('p4i0','p2i0',[0,'Online Store','','',-1,-1,0,'http://www.lti-aurinko.com/us/store.php','_self','','','hdrimg/item.gif','hdrimg/item.gif',0,0,0,'hdrimg/iter.gif','hdrimg/iter.gif',8,8,0,0,1,'#f0f0f0',0,'#969696',0,'','',3,3,0,0,'#ffffff','#ffffff','#505050','#ffffff','bold 11px Verdana','bold 11px Verdana']);");
    document.writeln("stm_aix('p4i1','p1i1',[]);");
//    document.writeln("stm_aix('p4i2','p1i0',[0,'Aurinko Online Store - Europe','','',-1,-1,0,'http://www.aurinko.eu/purchase#help','_self','','','hdrimg/item.gif','hdrimg/item.gif',0,0,0,'hdrimg/iter.gif','hdrimg/iter.gif',8,8,0,0,1,'#f0f0f0',0,'#969696',0,'','',3,3,0,0,'#ffffff','#ffffff','#505050','#ffffff','bold 11px Verdana','bold 11px Verdana']);");
//    document.writeln("stm_aix('p4i3','p1i1',[]);");
//    document.writeln("stm_aix('p4i4','p1i0',[0,'Pricelist ','','',-1,-1,0,'http://www.lti-aurinko.com/us/prices.php','_self','','','hdrimg/item.gif','hdrimg/item.gif',0,0,0,'hdrimg/iter.gif','hdrimg/iter.gif',8,8,0,0,1,'#f0f0f0',0,'#969696',0,'','',3,3,0,0,'#ffffff','#ffffff','#505050','#ffffff','11px Verdana','11px Verdana']);");
//    document.writeln("stm_aix('p4i5','p1i1',[]);");
    document.writeln("stm_aix('p4i6','p1i0',[0,'License Agreement and Limited Warranty  ','','',-1,-1,0,'http://www.lti-aurinko.com/us/license.php','_self','','','hdrimg/item.gif','hdrimg/item.gif',0,0,0,'hdrimg/iter.gif','hdrimg/iter.gif',8,8,0,0,1,'#f0f0f0',0,'#969696',0,'','',3,3,0,0,'#ffffff','#ffffff','#505050','#ffffff','11px Verdana','11px Verdana']);");
    document.writeln("stm_ep();");
    document.writeln("stm_aix('p0i6','p0i0',[]);");
    document.writeln("stm_aix('p0i7','p0i1',[0,'Support','','',-1,-1,0,'http://www.lti-aurinko.com/us/dwnlds.php']);");
    document.writeln("stm_bpx('p5','p1',[]);");
    document.writeln("stm_aix('p5i0','p1i0',[0,'Login  ','','',-1,-1,0,'http://www.lti-aurinko.com/us/dwnlds.php','_self','','','hdrimg/item.gif','hdrimg/item.gif',0,0,0,'hdrimg/iter.gif','hdrimg/iter.gif',8,8,0,0,1,'#f0f0f0',0,'#969696',0,'','',3,3,0,0,'#ffffff','#ffffff','#505050','#ffffff','11px Verdana','11px Verdana']);");
    document.writeln("stm_aix('p5i1','p1i1',[]);");
    document.writeln("stm_aix('p5i2','p1i0',[0,'FAQ','','',-1,-1,0,'http://www.lti-aurinko.com/us/faq.php','_self','','','hdrimg/item.gif','hdrimg/item.gif',0,0,0,'hdrimg/iter.gif','hdrimg/iter.gif',8,8,0,0,1,'#f0f0f0',0,'#969696',0,'','',3,3,0,0,'#ffffff','#ffffff','#505050','#ffffff','11px Verdana','11px Verdana']);");
    document.writeln("stm_aix('p5i3','p1i1',[]);");
    document.writeln("stm_aix('p5i4','p1i0',[0,'Unsubscribe   ','','',-1,-1,0,'http://www.lti-aurinko.com/us/unsubscribe.php','_self','','','hdrimg/item.gif','hdrimg/item.gif',0,0,0,'hdrimg/iter.gif','hdrimg/iter.gif',8,8,0,0,1,'#f0f0f0',0,'#969696',0,'','',3,3,0,0,'#ffffff','#ffffff','#505050','#ffffff','11px Verdana','11px Verdana']);");
//    document.writeln("stm_aix('p5i3','p1i1',[]);");
//    document.writeln("stm_aix('p5i4','p1i0',[0,'Community Forum   ','','',-1,-1,0,'http://www.lti.cz/forum/index.php','_self','','','hdrimg/item.gif','hdrimg/item.gif',0,0,0,'hdrimg/iter.gif','hdrimg/iter.gif',8,8,0,0,1,'#f0f0f0',0,'#969696',0,'','',3,3,0,0,'#ffffff','#ffffff','#505050','#ffffff','11px Verdana','11px Verdana']);");
    document.writeln("stm_ep();");
    document.writeln("stm_aix('p0i8','p0i0',[]);");
    document.writeln("stm_aix('p0i9','p0i1',[0,'Downloads','','',-1,-1,0,'http://www.lti-aurinko.com/us/setups.php']);");
    document.writeln("stm_bpx('p6','p1',[]);");
    document.writeln("stm_aix('p6i0','p1i0',[0,'Trial version        ','','',-1,-1,0,'http://www.lti-aurinko.com/us/setups.php','_self','','','hdrimg/item.gif','hdrimg/item.gif',0,0,0,'hdrimg/iter.gif','hdrimg/iter.gif',8,8,0,0,1,'#f0f0f0',0,'#969696',0,'','',3,3,0,0,'#ffffff','#ffffff','#505050','#ffffff','11px Verdana','11px Verdana']);");
    document.writeln("stm_aix('p6i1','p1i1',[]);");
    document.writeln("stm_aix('p6i2','p1i0',[0,'Documentation ','','',-1,-1,0,'http://www.lti-aurinko.com/us/docs.php','_self','','','hdrimg/item.gif','hdrimg/item.gif',0,0,0,'hdrimg/iter.gif','hdrimg/iter.gif',8,8,0,0,1,'#f0f0f0',0,'#969696',0,'','',3,3,0,0,'#ffffff','#ffffff','#505050','#ffffff','11px Verdana','11px Verdana']);");
    document.writeln("stm_ep();");
    document.writeln("stm_aix('p0i10','p0i0',[]);");
    document.writeln("stm_aix('p0i11','p0i9',[0,'Company','','',-1,-1,0,'http://www.lti-aurinko.com/us/cnts.php']);");
    document.writeln("stm_bpx('p7','p1',[]);");
    document.writeln("stm_aix('p7i0','p1i0',[0,'About Company and Contacts   ','','',-1,-1,0,'http://www.lti-aurinko.com/us/cnts.php','_self','','','hdrimg/item.gif','hdrimg/item.gif',0,0,0,'hdrimg/iter.gif','hdrimg/iter.gif',8,8,0,0,1,'#f0f0f0',0,'#969696',0,'','',3,3,0,0,'#ffffff','#ffffff','#505050','#ffffff','11px Verdana','11px Verdana']);");
    document.writeln("stm_aix('p7i1','p1i1',[]);");
    document.writeln("stm_aix('p7i2','p1i0',[0,'Write Us','','',-1,-1,0,'http://www.lti-aurinko.com/us/writeus.php','_self','','','hdrimg/item.gif','hdrimg/item.gif',0,0,0,'hdrimg/iter.gif','hdrimg/iter.gif',8,8,0,0,1,'#f0f0f0',0,'#969696',0,'','',3,3,0,0,'#ffffff','#ffffff','#505050','#ffffff','11px Verdana','11px Verdana']);");
    document.writeln("stm_aix('p7i3','p1i1',[]);");
    document.writeln("stm_aix('p7i4','p1i0',[0,'Cooperation','','',-1,-1,0,'http://www.lti-aurinko.com/us/coop.php','_self','','','hdrimg/item.gif','hdrimg/item.gif',0,0,0,'hdrimg/iter.gif','hdrimg/iter.gif',8,8,0,0,1,'#f0f0f0',0,'#969696',0,'','',3,3,0,0,'#ffffff','#ffffff','#505050','#ffffff','11px Verdana','11px Verdana']);");
    document.writeln("stm_aix('p7i5','p1i1',[]);");
    document.writeln("stm_aix('p7i6','p5i3',[0,'Press Releases','','',-1,-1,0,'http://www.lti-aurinko.com/us/press_releases.php','_self','','','hdrimg/item.gif','hdrimg/item.gif',0,0,0,'hdrimg/iter.gif','hdrimg/iter.gif',8,8,0,0,1,'#f0f0f0',0,'#969696',0,'','',3,3,0,0,'#ffffff','#ffffff','#505050','#ffffff','11px Verdana','11px Verdana']);");
    document.writeln("stm_ep();");
    document.writeln("stm_aix('p0i12','p0i0',[]);");
    document.writeln("stm_ep();");
    document.writeln("stm_em();");
    document.writeln("//-->");
    document.writeln("</script>");
    document.writeln("</center>");
    document.writeln("</div>");
    document.writeln("</td>");
    document.writeln("</tr>");
    document.writeln("</table>");

}

/////////////////////////////////////////////////////////////////////
function ViewNavShade()
{
    document.open();
    document.writeln("<table border='0' width='100%' cellspacing='0' cellpadding='0'>");
    document.writeln("  <tr>");
    document.writeln("    <td WIDTH='100%' background='hdrimg/shadt.gif'>");
    document.writeln("    <img SRC='hdrimg/space.gif' width='8' HEIGHT='8' ALT BORDER='0'></td>");
    document.writeln("  </tr>");
    document.writeln("</table>");
}

/////////////////////////////////////////////////////////////////////
function ViewStatus()
{
    document.open();
    document.writeln("<table CELLPADDING='0' CELLSPACING='0' WIDTH='100%' BORDER='0' >");
    document.writeln("  <tr>");
    document.writeln("    <td bgcolor='#FCFCFC'><font size='1'>");
    document.writeln("    <img border='0' src='hdrimg/space.gif' width='1' height='1'></font></td>");
    document.writeln("  </tr>");
    document.writeln("  <tr>");
    document.writeln("    <td align='center' VALIGN='BOTTOM' bgcolor='#B2C6F0'>");   //'#E0E0E0'>");
    document.writeln("      <p align='center' style='margin-top: 0pt; margin-bottom: 0pt; margin-left: 8pt'>        ");
    document.writeln("        <table width='350' border='0' style='margin-bottom: 0pt'>");
    document.writeln("        <tr>");
    document.writeln("          <td width='350'><p align='center'><font size='1'>© Copyright LTI ltd. <br>All Rights Reserved. Live Technology & Information. <br>");
    document.writeln("		  </td>");
    document.writeln("        </tr>");
    document.writeln("      </table>");
    document.writeln("	</td>");
    document.writeln("  </tr>");
    document.writeln("</table>");
}

/////////////////////////////////////////////////////////////////////
function ViewStatusShade()
{
    document.open();
    document.writeln("<table border='0' width='100%' cellspacing='0' cellpadding='0'>");
    document.writeln("  <tr>");
    document.writeln("    <td WIDTH='100%' background='hdrimg/shadd.gif'>");
    document.writeln("    <img SRC='hdrimg/space.gif' width='8' HEIGHT='8' ALT BORDER='0'></td>");
    document.writeln("  </tr>");
    document.writeln("</table>");
}

/////////////////////////////////////////////////////////////////////
function openPopup(url,x,y){
  if (!x){x=760;};
  if (!y){y=630;};
  window.open(url,null,'toolbar=yes,menubar=no,resizable=yes,scrollbars=yes,width='+x+',height='+y)
}

/////////////////////////////////////////////////////////////////////
function openPopupFixed(url,x,y){
  if (!x){x=760;};
  if (!y){y=630;};
  window.open(url,null,'toolbar=no,status=no,menubar=no,resizable=yes,scrollbars=no,width='+x+',height='+y)
}
