// Common JavaScript functions

/////////////////////////////////////////////////////////////////////
function DisplayHeader()
{
    document.open();
    document.writeln("<table border='0' width='100%' cellspacing='0' cellpadding='0' height='52' bgcolor='#FFFFFF' background='http://www.axialis.com/img/g1.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.axialis.com/'><img border='0' src='http://www.axialis.com/img/l1.gif' width='160' height='62'></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("          <form id='form1' name='form1' method='GET' action='http://www.axialis.com/cgi-bin/search'>");
    document.writeln("            <tr>");
    document.writeln("              <td align='center' width='10'>&nbsp;</td>");
    document.writeln("              <td><a href='http://www.axialis.com/purchase/'>");
    document.writeln("              <img border='0' src='http://www.axialis.com/img/c1.gif' hspace='3' width='17' height='17'></a></td>");
    document.writeln("              <td width='10' align='center'>");
    document.writeln("              <img height='13' hspace='2' src='http://www.axialis.com/img/d1.gif' width='1' border='0'></td>");
    document.writeln("              <td><font color='#44577B'>");
    document.writeln("              <img border='0' src='http://www.axialis.com/img/sp.gif' width='3' height='3'></font><a class='sHeadLink' href='http://www.axialis.com/customer/account.html'>My ");
    document.writeln("              Account</a><font color='#44577B'><img border='0' src='http://www.axialis.com/img/sp.gif' width='3' height='3'></font></td>");
    document.writeln("              <td width='10' align='center'>");
    document.writeln("              <img height='13' hspace='2' src='http://www.axialis.com/img/d1.gif' width='1' border='0'></td>");
    document.writeln("              <td><font color='#44577B'>");
    document.writeln("              <img border='0' src='http://www.axialis.com/img/sp.gif' width='3' height='3'></font><a class='sHeadLink' href='http://www.axialis.com/customer/'>Customer ");
    document.writeln("              Service</a><font color='#44577B'><img border='0' src='http://www.axialis.com/img/sp.gif' width='3' height='3'></font></td>");
    document.writeln("              <td width='10' align='center'>");
    document.writeln("              <img height='13' hspace='2' src='http://www.axialis.com/img/d1.gif' width='1' border='0'></td>");
    document.writeln("              <td><font color='#44577B'>");
    document.writeln("              <img border='0' src='http://www.axialis.com/img/sp.gif' width='3' height='3'></font><a class='sHeadLink' href='http://www.axialis.com/rss/'>RSS<img border='0' hspace='4' src='http://www.axialis.com/img/rss.gif' align='absbottom' width='12' height='12'></a>");
    document.writeln("              </td>");
    document.writeln("              <td width='10' align='center'>");
    document.writeln("              <img height='13' hspace='2' src='http://www.axialis.com/img/d1.gif' width='1' border='0'></td>");
    document.writeln("              <td>Search:<font color='#44577B'><img border='0' src='http://www.axialis.com/img/sp.gif' width='5' height='5'></font>");
    document.writeln("              </td>");
    document.writeln("              <td><font SIZE='1'>");
    document.writeln("              <input size='15' maxLength='80' name='search' style='font-family: Verdana; font-size: 8pt'></font>");
    document.writeln("              <input TYPE='image' src='http://www.axialis.com/img/b1.gif' alt='Search The Site!' width='17' height='17' Name='I1' BORDER='0' align='absbottom' vspace='2'><br>");
    document.writeln("              </td>");
    document.writeln("            </tr>");
    document.writeln("          </form>");
    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='http://www.axialis.com/img/sp.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 DisplayNavBar()
{
    document.open();
    document.writeln("<table border='0' width='100%' cellspacing='0' cellpadding='0'>");
    document.writeln("<tr>");
    document.writeln("<td background='http://www.axialis.com/img/bk1.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,'','http://www.axialis.com/img/sp.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','http://www.axialis.com/img/bk1.gif',3,0,0,'#000000']);");
    document.writeln("stm_ai('p0i0',[6,16,'transparent','http://www.axialis.com/img/d2.gif',2,15,0]);");
    document.writeln("stm_ai('p0i1',[0,'Products','','',-1,-1,0,'http://www.axialis.com/products','_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,'Axialis IconWorkshop','','',-1,-1,0,'http://www.axialis.com/iconworkshop','_self','','','http://www.axialis.com/img/a1.gif','http://www.axialis.com/img/a1.gif',7,7,0,'','',0,0,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('p1i2','p1i0',[0,'Axialis Professional Screensaver Producer   ','','',-1,-1,0,'http://www.axialis.com/ssp']);");
    document.writeln("stm_aix('p1i3','p1i1',[]);");
    document.writeln("stm_aix('p1i4','p1i0',[0,'Axialis AX-Cursors','','',-1,-1,0,'http://www.axialis.com/axcursors']);");
    document.writeln("stm_aix('p1i5','p1i1',[]);");
    document.writeln("stm_aix('p1i6','p1i0',[0,'Axialis MediaBrowser','','',-1,-1,0,'http://www.axialis.com/mediabrowser']);");
    document.writeln("stm_aix('p1i7','p1i1',[]);");
    document.writeln("stm_aix('p1i8','p1i0',[0,'Axialis AX-CDPlayer','','',-1,-1,0,'http://www.axialis.com/axcdplayer']);");
    document.writeln("stm_aix('p1i9','p1i1',[]);");
    document.writeln("stm_aix('p1i10','p1i0',[0,'Product FAQ','','',-1,-1,0,'http://www.axialis.com/support/faq.html']);");
    document.writeln("stm_aix('p1i11','p1i1',[]);");
    document.writeln("stm_aix('p1i12','p1i0',[0,'Manuals','','',-1,-1,0,'http://www.axialis.com/docs/index.html']);");
    document.writeln("stm_aix('p1i13','p1i1',[]);");
    document.writeln("stm_aix('p1i14','p1i0',[0,'Online Registration','','',-1,-1,0,'http://www.axialis.com/customer/registration.html']);");
    document.writeln("stm_ep();");
    document.writeln("stm_aix('p0i2','p0i0',[]);");
    document.writeln("stm_aix('p0i3','p0i1',[0,'Downloads','','',-1,-1,0,'http://www.axialis.com/download']);");
    document.writeln("stm_bpx('p2','p1',[1,4,-10,4,0,3,7,7]);");
    document.writeln("stm_aix('p2i0','p0i1',[0,'30-Day Tryout Versions  ','','',-1,-1,0,'http://www.axialis.com/download','_self','','','http://www.axialis.com/img/a1.gif','http://www.axialis.com/img/a1.gif',0,0,0,'http://www.axialis.com/img/a2.gif','http://www.axialis.com/img/a2.gif',7,7,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('p3','p1',[1,4,187,-20]);");
    document.writeln("stm_aix('p3i0','p1i0',[0,'All Tryout Products','','',-1,-1,0,'http://www.axialis.com/download']);");
    document.writeln("stm_aix('p3i1','p1i1',[]);");
    document.writeln("stm_aix('p3i2','p1i0',[0,'Axialis Professional Screensaver Producer   ','','',-1,-1,0,'http://www.axialis.com/download/ssp.html']);");
    document.writeln("stm_aix('p3i3','p1i1',[]);");
    document.writeln("stm_aix('p3i4','p1i0',[0,'Axialis IconWorkshop','','',-1,-1,0,'http://www.axialis.com/download/iw.html']);");
    document.writeln("stm_aix('p3i5','p1i1',[]);");
    document.writeln("stm_aix('p3i6','p1i0',[0,'Axialis AX-Cursors','','',-1,-1,0,'http://www.axialis.com/download/cw.html']);");
    document.writeln("stm_aix('p3i7','p1i1',[]);");
    document.writeln("stm_aix('p3i8','p1i0',[0,'Axialis MediaBrowser','','',-1,-1,0,'http://www.axialis.com/download/mb.html']);");
    document.writeln("stm_aix('p3i9','p1i1',[]);");
    document.writeln("stm_aix('p3i10','p1i0',[0,'Axialis AX-CDPlayer','','',-1,-1,0,'http://www.axialis.com/download/cdp.html']);");
    document.writeln("stm_ep();");
    document.writeln("stm_aix('p2i1','p1i1',[]);");
    document.writeln("stm_aix('p2i2','p1i0',[0,'Image Object Packs','','',-1,-1,0,'http://www.axialis.com/objects/index.shtml']);");
    document.writeln("stm_aix('p2i3','p1i1',[]);");
    document.writeln("stm_aix('p2i4','p1i0',[0,'Product Manuals','','',-1,-1,0,'http://www.axialis.com/docs/index.html']);");
    document.writeln("stm_aix('p2i5','p1i1',[]);");
    document.writeln("stm_aix('p2i6','p1i0',[0,'Free Media Gallery','','',-1,-1,0,'http://www.axialis.com/gallery/index.html']);");
    document.writeln("stm_aix('p2i7','p1i1',[]);");
    document.writeln("stm_aix('p2i8','p1i0',[0,'Language Packs','','',-1,-1,0,'http://www.axialis.com/download/language.html']);");
    document.writeln("stm_aix('p2i9','p1i1',[]);");
    document.writeln("stm_aix('p2i10','p1i0',[0,'Distribution Kit','','',-1,-1,0,'http://www.axdn.com']);");
    document.writeln("stm_ep();");
    document.writeln("stm_aix('p0i4','p0i0',[]);");
    document.writeln("stm_aix('p0i5','p0i1',[0,' Axialis Store','','',-1,-1,0,'http://www.axialis.com/purchase','_self','','','http://www.axialis.com/img/c2.gif','http://www.axialis.com/img/c2.gif',15,12]);");
    document.writeln("stm_bpx('p4','p1',[]);");
    document.writeln("stm_aix('p4i0','p2i0',[0,'Axialis Online Store','','',-1,-1,0,'http://www.axialis.com/purchase','_self','','','http://www.axialis.com/img/a1.gif','http://www.axialis.com/img/a1.gif',7,7,0,'','',0,0]);");
    document.writeln("stm_aix('p4i1','p1i1',[]);");
    document.writeln("stm_aix('p4i2','p1i0',[0,'How To Purchase Products?','','',-1,-1,0,'http://www.axialis.com/purchase#help']);");
    document.writeln("stm_aix('p4i3','p1i1',[]);");
    document.writeln("stm_aix('p4i4','p1i0',[0,'Phone/Fax/Check orders','','',-1,-1,0,'http://www.axialis.com/purchase/index.html#phone-fax']);");
    document.writeln("stm_aix('p4i5','p1i1',[]);");
    document.writeln("stm_aix('p4i6','p1i0',[0,'Volume Licensing','','',-1,-1,0,'http://www.axialis.com/purchase/index.html#corporate']);");
    document.writeln("stm_aix('p4i7','p1i1',[]);");
    document.writeln("stm_aix('p4i8','p1i0',[0,'What is Axialis Lifetime License?','','',-1,-1,0,'http://www.axialis.com/life-license/index.html']);");
    document.writeln("stm_aix('p4i9','p1i1',[]);");
    document.writeln("stm_aix('p4i10','p1i0',[0,'Order FAQ','','',-1,-1,0,'http://www.axialis.com/support/cfaq.html']);");
    document.writeln("stm_aix('p4i11','p1i1',[]);");
    document.writeln("stm_aix('p4i12','p1i0',[0,'Customer Service','','',-1,-1,0,'http://www.axialis.com/customer']);");
    document.writeln("stm_ep();");
    document.writeln("stm_aix('p0i6','p0i0',[]);");
    document.writeln("stm_aix('p0i7','p0i1',[0,'Support','','',-1,-1,0,'http://www.axialis.com/support']);");
    document.writeln("stm_bpx('p5','p1',[]);");
    document.writeln("stm_aix('p5i0','p1i0',[0,'Technical Support  ','','',-1,-1,0,'http://www.axialis.com/support']);");
    document.writeln("stm_aix('p5i1','p1i1',[]);");
    document.writeln("stm_aix('p5i2','p1i0',[0,'Product FAQ','','',-1,-1,0,'http://www.axialis.com/support/faq.html']);");
    document.writeln("stm_aix('p5i3','p1i1',[]);");
    document.writeln("stm_aix('p5i4','p1i0',[0,'Customer FAQ','','',-1,-1,0,'http://www.axialis.com/support/cfaq.html']);");
    document.writeln("stm_aix('p5i5','p1i1',[]);");
    document.writeln("stm_aix('p5i6','p1i0',[0,'Community Forum','','',-1,-1,0,'http://www.axialis.net/forums','_top']);");
    document.writeln("stm_aix('p5i7','p1i1',[]);");
    document.writeln("stm_aix('p5i8','p1i0',[0,'Contact Axialis Support Team  ','','',-1,-1,0,'http://www.axialis.com/contact']);");
    document.writeln("stm_aix('p5i9','p1i1',[]);");
    document.writeln("stm_aix('p5i10','p1i0',[0,'Customer Service','','',-1,-1,0,'http://www.axialis.com/customer']);");
    document.writeln("stm_aix('p5i11','p1i1',[]);");
    document.writeln("stm_aix('p5i12','p1i0',[0,'Online Registration','','',-1,-1,0,'http://www.axialis.com/customer/registration.html']);");
    document.writeln("stm_ep();");
    document.writeln("stm_aix('p0i8','p0i0',[]);");
    document.writeln("stm_aix('p0i9','p0i1',[0,'Tutorials','','',-1,-1,0,'http://www.axialis.com/tutorials']);");
    document.writeln("stm_bpx('p6','p1',[]);");
    document.writeln("stm_aix('p6i0','p1i0',[0,'Axialis Professional Screensaver Producer  ','','',-1,-1,0,'http://www.axialis.com/tutorials/#pssp']);");
    document.writeln("stm_aix('p6i1','p1i1',[]);");
    document.writeln("stm_aix('p6i2','p1i0',[0,'Axialis IconWorkshop','','',-1,-1,0,'http://www.axialis.com/tutorials/#iw']);");
    document.writeln("stm_aix('p6i3','p1i1',[]);");
    document.writeln("stm_aix('p6i4','p5i4',[0,'Other Tutorials','','',-1,-1,0,'http://www.axialis.com/tutorials/#other']);");
    document.writeln("stm_ep();");
    document.writeln("stm_aix('p0i10','p0i0',[]);");
    document.writeln("stm_aix('p0i11','p0i9',[0,'Company','','',-1,-1,0,'http://www.axialis.com/axialis']);");
    document.writeln("stm_bpx('p7','p1',[]);");
    document.writeln("stm_aix('p7i0','p1i0',[0,'About Axialis Software Company  ','','',-1,-1,0,'http://www.axialis.com/axialis']);");
    document.writeln("stm_aix('p7i1','p1i1',[]);");
    document.writeln("stm_aix('p7i2','p1i0',[0,'Contact Us','','',-1,-1,0,'http://www.axialis.com/contact']);");
    document.writeln("stm_aix('p7i3','p1i1',[]);");
    document.writeln("stm_aix('p7i4','p5i0',[0,'Internet Resources','','',-1,-1,0,'http://www.axialis.com/resources']);");
    document.writeln("stm_aix('p7i5','p1i1',[]);");
    document.writeln("stm_aix('p7i6','p5i4',[0,'Favorite Sites','','',-1,-1,0,'http://www.axialis.com/links']);");
    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 DisplayNavShade()
{
    document.open();
    document.writeln("<table border='0' width='100%' cellspacing='0' cellpadding='0'>");
    document.writeln("  <tr>");
    document.writeln("    <td WIDTH='100%' background='http://www.axialis.com/img/s1.gif'>");
    document.writeln("    <img SRC='http://www.axialis.com/img/sp.gif' width='8' HEIGHT='8' ALT BORDER='0'></td>");
    document.writeln("  </tr>");
    document.writeln("</table>");
}

/////////////////////////////////////////////////////////////////////
function DisplayStatus()
{
    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='http://www.axialis.com/img/sp.gif' width='1' height='1'></font></td>");
    document.writeln("  </tr>");
    document.writeln("  <tr>");
    document.writeln("    <td align='center' VALIGN='BOTTOM' bgcolor='#E0E0E0'>");
    document.writeln("      <p align='center' style='margin-top: 8pt; margin-bottom: 2pt; margin-left: 8pt'>        ");
    document.writeln("  	  <a href='http://www.axialis.com/sitemap.html' class='sHeadLink'>site map</a><span class='style2'> | </span>");
    document.writeln("  	  <a href='http://www.axialis.com/axialis/terms-of-use.html' class='sHeadLink'>terms of use</a><span class='style2'> | </span>");
    document.writeln("	      <a href='http://www.axialis.com/axialis/privacy-policy.html' class='sHeadLink'>privacy policy</a><span class='style2'> | </span>");
    document.writeln("	      <a href='http://www.axialis.com/axialis/eula.html' class='sHeadLink'>user license agreements2</a><span class='style2'> | </span>");
    document.writeln("	      <a href='http://www.axialis.com/axialis/' class='sHeadLink'>company information</a><span class='style2'> | </span>");
    document.writeln("	      <a href='http://www.axialis.com/contact' class='sHeadLink'>contact us</a><span class='style2'> | </span>");
    document.writeln("	      <a href='http://www.axialis.com/resources' class='sHeadLink'>resources</a><span class='style2'> | </span>");
    document.writeln("	      <a href='http://www.axialis.com/rss' class='sHeadLink'>rss 2.0<img border='0' hspace='4' src='http://www.axialis.com/img/rss.gif' align='absbottom' width='12' height='12'></a> </p>");
    document.writeln("        <table width='350' border='0' style='margin-bottom: 8pt'>");
    document.writeln("        <tr>");
    document.writeln("          <td width='32'><img src='http://www.axialis.com/img/l2.gif' hspace='1' vspace='1' align='bottom'></td>");
    document.writeln("          <td width='318'><font size='1'>Copyright © 2006 Axialis Software. All rights reserved. <br>");
    document.writeln("            <b><a href='http://www.axialis.com/contact/website-form.html' class='sHeadLink'>Send us feedback</a></b> about the site.</font>");
    document.writeln("		  </td>");
    document.writeln("        </tr>");
    document.writeln("      </table>");
    document.writeln("	</td>");
    document.writeln("  </tr>");
    document.writeln("</table>");
}

/////////////////////////////////////////////////////////////////////
function DisplayStatusShade()
{
    document.open();
    document.writeln("<table border='0' width='100%' cellspacing='0' cellpadding='0'>");
    document.writeln("  <tr>");
    document.writeln("    <td WIDTH='100%' background='http://www.axialis.com/img/s2.gif'>");
    document.writeln("    <img SRC='http://www.axialis.com/img/sp.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)
}

