function RemoteBase()
{
  return("");
//  return("http://digilander.iol.it/ferring/");
}

function WriteFileHref(name, text)
{
  document.write('<A HREF="');
  document.write(RemoteBase());
  document.write('files/');
  document.write(name);
  document.write('">');
  document.write(text);
  document.write('</A>');
}

function WriteImgRef(name, options)
{
  document.write('<IMG SRC="');
  document.write(RemoteBase());
  document.write('images/');
  document.write(name);
  document.write('"');
  if(options.length > 0)
  {
    document.write(" ");
    document.write(options);
  }
  document.write(' ALT="');
  document.write(name);
  document.write('">');
}

function WriteImageHref(name, text)
{
  document.write('<A HREF="');
  document.write(RemoteBase());
  document.write('images/');
  document.write(name);
  document.write('">');
  document.write(text);
  document.write('</A>');
}

function WriteJumpRouler(n)
{
  document.write('<P ALIGN="center"><FONT SIZE="-1">');
  
  if(n == 0)
    document.write('Home');
  else
    document.write('<A HREF="index.html">Home</A>');
  document.write('&nbsp;|&nbsp;');
  
  if(n == 1)
    document.write('The Company');
  else
    document.write('<A HREF="ecomp.html">The Company</A>');
  document.write('&nbsp;|&nbsp;');
  
  if(n == 2)
    document.write('News');
  else
    document.write('<A HREF="enews.html">News</A>');
  document.write('&nbsp;|&nbsp;');
  
  if(n == 3)
    document.write('Products');
  else
    document.write('<A HREF="eprod.html">Products</A>');
  document.write('&nbsp;|&nbsp;');
  
  if(n == 4)
    document.write('Ax2000');
  else
    document.write('<A HREF="eax2k.html">Ax2000</A>');
  document.write('&nbsp;|&nbsp;');
  
  if(n == 5)
    document.write('Prices/Orders');
  else
    document.write('<A HREF="ecomm.html">Prices/Orders</A>');
  document.write('&nbsp;|&nbsp;');
  
//  if(n == 6)
//    document.write('Contacts');
//  else
//    document.write('<A HREF="econt.html">Contacts</A>');
//  document.write('&nbsp;|&nbsp;');
  
  if(n == 7)
    document.write('Download');
  else
    document.write('<A HREF="edown.html">Download</A>');

  document.write('<BR>');
  document.write('</FONT></P>');
}

function WriteFooter(n)
{
  document.write('<DIV CLASS="footer1"><HR>');
  document.write('<CENTER><P><STRONG>Studio Ferraris</STRONG><BR>');
  document.write('Via Borgonuovo, 27 - 10040 Givoletto(To) - Italy<BR>');
  document.write('Phone +39(011)994-7752 -- Fax +39(011)536-8053 -- Mob.+39(335)806-1568<BR>');
  document.write('mail info at this domain (sorry no mail address here to avoid spam)');
  document.write('</P>');
  WriteJumpRouler(n);
  document.write('<FONT SIZE=-1>&copy; Studio Ferraris</FONT></CENTER></DIV>');
}
