<!------------------------------------------------------------------------------------------------------------------------------------------------------------->

document.write('  <link rel="stylesheet" type="text/css" href="/_style/lj_index.css"> ');
document.write('  <link href="/_style/lj_general.css" rel="stylesheet" type="text/css"> ');

document.write('  <script type="text/javascript" src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js"></script> ');

<!------------------------------------------------------------------------------------------------------------------------------------------------------------->

function ColourBand()
{
  document.write('  <div id="dropdownmenu"> ');
  document.write('    <img id="ColourBand" width=100% height=58px src="/_img/band_colour.gif" name="colourband" border=0> ');
  document.write('  </div> ');
}

<!------------------------------------------------------------------------------------------------------------------------------------------------------------->

function footer()
{
  document.write('  <img width=100% height=70px src="/_img/band_colour.gif" name="colourband" border=0 alt="colourband"> ');
  document.write('  <div id="footer_address" style="position:relative; top:-72px; height:48px; margin-top:5px; 1background-image:url(/_img/band_colour.gif); background-repeat: repeat-y; z-index:100">');
  document.write('  LJ Specialities Limited, Enterprise Drive, Holmewood Industrial Park, Chesterfield, Derbyshire, S42 5UW, England<br /><br />');
  document.write('  Tel: +44 (0)1246 593000');
  document.write('  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
  document.write('  Fax: +44(0)1246 857810');
  document.write('  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
  document.write('  email: <a href="mailto:info@lj-specialities.co.uk">info@lj-specialities.co.uk</a>');
  document.write('  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
  document.write('  Skype: <a href="skype:ljspecialities?call">ljspecialities</a> ');
  document.write('  </div> ');
}

<!------------------------------------------------------------------------------------------------------------------------------------------------------------->

function menubottom(pdf)
{


  document.write('<div id="" style="position:relative;top:-20px;"> ');
  document.write('<table border=0 align="center" width="990">');
  document.write('<tr>');

  document.write('<td width="220">');
  document.write('  <a href="http://jigsaw.w3.org/css-validator/check/referer" target="new">');
  document.write('    <img style="border:0;width:88px;height:31px" src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!" />');
  document.write('  </a>');
  document.write('  <a href="http://validator.w3.org/check?uri=referer" target="new">');
  document.write('    <img style="border:0;width:88px;height:31px" src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Transitional" />');
  document.write('  </a>');
  document.write('</td>');

  document.write('<td id="menubottom" align="center">');
  document.write('  <a href="/index.html">Home</a>');
  document.write(' : ');
  document.write('  <a href="/chemicals/index.html">Chemicals</a>');
  document.write(' : ');
  document.write('  <a href="/dyestuffs/index.html">Dyestuffs</a>');
  document.write(' : ');
  document.write('  <a href="/laboratory.html">Laboratory</a>');
  document.write(' : ');
  document.write('  <a href="/contact.html">Contact us</a>');
  document.write(' : ');
  document.write('  <a href="/about.html">About Us</a>');
  document.write('</td>');

  if(pdf===undefined)
  {
  document.write('<td width="112">');
  document.write('</td>');
  }
  else
  {
  document.write('<td width="112">');
  document.write('  <a href="http://www.adobe.com/products/acrobat/readstep2.html" target="new"> ');
  document.write('    <img src="/_img/get_adobe_reader.gif" width="112" height="33" border="0" /> ');
  document.write('  </a> ');
  document.write('</td>');

  document.write('</tr>');
  document.write('</table>');
  document.write('</div> ');
  }
}

<!------------------------------------------------------------------------------------------------------------------------------------------------------------->

function skype()
{
  document.write('  <a href="skype:ljspecialities?call"><img src="http://download.skype.com/share/skypebuttons/buttons/call_blue_white_124x52.png" style="border: none;" width="124" height="52" alt="Skype Me™!"></a> ');
}

<!------------------------------------------------------------------------------------------------------------------------------------------------------------->

function building()
{
  document.write('  <center><img vspace=15 src="/_img/building.gif" name="laboratory" border=0 alt="Laboratory"></center>');
}

<!------------------------------------------------------------------------------------------------------------------------------------------------------------->

function pdficon(_pdf,description,size)
{
  document.write('  <img vspace=15 src="/_img/pdf.gif" id="pdf" name="pdf" border=0 alt="pdf">');


  if(size===undefined)
  {
  document.write('  <a href="javascript:OpenTechInfo(' + Chr(39) + _pdf + Chr(39) + ');">' + description + '</a>');
  }
  else
  {
  document.write('  <a href="javascript:OpenTechInfo(' + Chr(39) + _pdf + Chr(39) + ');">' + description + '</a>&nbsp;&nbsp;' + size);
  }

  document.write('  <br />');
}

<!------------------------------------------------------------------------------------------------------------------------------------------------------------->

function resize_content()
{
  var height;
  var height_min = 554;

  if(document.getElementById("content").offsetHeight <= height_min)
  {
  height = height_min;
  }
  else
  {
  height = document.getElementById("content").offsetHeight;
  }

  document.write('    <script language="javascript">document.getElementById("content").style.height="' + (height) + 'px";</script>');
  document.write('    <script language="javascript">document.getElementById("wrap").style.height="' + (height+80) + 'px";</script>');
}

<!------------------------------------------------------------------------------------------------------------------------------------------------------------->

function TopOfPage(height)
{
  document.write('  <div style="position:relative;height:' + height + 'px;">');
  document.write('    <center>');
  document.write('      <a href="#TOP">Top Of Page</a>');
  document.write('    </center>');
  document.write('  </div>');
}
