<!--
var errWindow = 0;

function isFilled(fe)
{
  if (fe.value == "" || fe.value == null)
  {
    return false;
  }
  else
  {
    return true;
  }
}

function isValidCharacter(fe)
{
  if (fe.value.search(/'/i) >= 0)
  {
    return false;
  }
  else
  {
    return true;
  }
}


function showErrors(arErrMsg)
{
  if (errWindow != 0)
  {
    //  If window has already been opened once 
    errWindow.close();
  }

  errWindow = window.open("", "basic_err_wind", "toolbar=no,width=475,height=450,status=no,scrollbars=no,resizable=no, menubar=no");
  errWindow.document.write('<TITLE>Thew Arnott - Information Request</TITLE>');
  errWindow.document.write('<BODY bgcolor="#FFFFFF">');
  errWindow.document.write('<table border="0" cellspacing="0" cellpadding="10" width="117" bgcolor="#FFFFFF">');
  errWindow.document.write('<tr>');
 // errWindow.document.write('<td><img src="images/logo_tree_sm.jpg" width="100" height="96"></td>');
 // errWindow.document.write('<td><img src="images/logo_thewarnott_sm.gif" width="250" height="105"></td>');
  errWindow.document.write('</tr>');
  errWindow.document.write('</table>');
  errWindow.document.write('<BR>');
  errWindow.document.write('<h2 align="center">Data Entry Errors</h2>');
  errWindow.document.write('<H4 align="center"><I>The following data items have not been entered correctly. Please return to the data entry screen and correct them before submitting your request.</I></H4>');
  errWindow.document.write('<BR>');
  if (arErrMsg.length > 0)
  {
    errWindow.document.write('<DIV align=center>');
    for (i = 0; i < arErrMsg.length; i++)
    {
      errWindow.document.write(arErrMsg[i]);
      errWindow.document.write('<BR>');
    }
    errWindow.document.write('</DIV>');
  }
  errWindow.document.write('</BODY>');
}

//function isFormOk(form)
function infRoeper()
{
  if (errWindow != 0)
  {
    //  If window has already been opened once 
    errWindow.close();
  }

  errWindow = window.open("", "basic_err_wind", "toolbar=no,width=475,height=450,status=no,scrollbars=no,resizable=no, menubar=no");
  errWindow.document.write('<TITLE>Thew Arnott - Information Request</TITLE>');
  errWindow.document.write('<BODY bgcolor="#FFFFFF">');
//  errWindow.document.write('<table border="0" cellspacing="0" cellpadding="10" width="117" bgcolor="#FFFFFF">');
//  errWindow.document.write('<tr>');
 // errWindow.document.write('<td><img src="images/logo_tree_sm.jpg" width="100" height="96"></td>');
 // errWindow.document.write('<td><img src="images/logo_thewarnott_sm.gif" width="250" height="105"></td>');
//  errWindow.document.write('</tr>');
//  errWindow.document.write('</table>');
  errWindow.document.write('<BR>');
//  errWindow.document.write('<td align="center"><img src="images/cargill.gif" alt="Cargill Texturizing Systems Ltd" width="119" height="61" border="0"></td>');
//  errWindow.document.write('<BR>');
  errWindow.document.write('<h2 align="center">Roeper</h2>');
  errWindow.document.write("<p>CE Roeper GmbH has been in business since 1891 and is based in the German city of Hamburg. It is a trader and processor of natural raw materials from all over the world with an emphasis on resins, waxes and gums. Its products are used mainly by manufacturers of foodstuffs, soft drinks and confectionery for binding, thickening, encapsulation, stabilising, colouring and polishing. The increasing demands of the market are catered for by the company's ability to offer its products in kibbled, powdered, blended and spray dried-forms. The company prides itself on having an unparalleled knowledge of the market for its products in general and for the different qualities in particular.</p>");
  errWindow.document.write("<p>The company's products are marketed through a world-wide network of representatives and, with its recent extension of its warehousing capacity, it is able to offer a high level of supply and availability. CE Roeper's laboratory facilities ensure the high level of quality control of its products.</p>");

  errWindow.document.write('</BODY>');
}

function infCargill()
{
  if (errWindow != 0)
  {
    //  If window has already been opened once 
    errWindow.close();
  }

  errWindow = window.open("", "basic_err_wind", "toolbar=no,width=475,height=450,status=no,scrollbars=no,resizable=no, menubar=no");
  errWindow.document.write('<TITLE>Thew Arnott - Information Request</TITLE>');
  errWindow.document.write('<BODY bgcolor="#FFFFFF">');
//  errWindow.document.write('<table border="0" cellspacing="0" cellpadding="10" width="117" bgcolor="#FFFFFF">');
//  errWindow.document.write('<tr>');
 // errWindow.document.write('<td><img src="images/logo_tree_sm.jpg" width="100" height="96"></td>');
 // errWindow.document.write('<td><img src="images/logo_thewarnott_sm.gif" width="250" height="105"></td>');
//  errWindow.document.write('</tr>');
//  errWindow.document.write('</table>');
  errWindow.document.write('<BR>');
//  errWindow.document.write('<td align="center"><img src="images/cargill.gif" alt="Cargill Texturizing Systems Ltd" width="119" height="61" border="0"></td>');
//  errWindow.document.write('<BR>');
  errWindow.document.write('<h2 align="center">Cargill Texturizing Solutions Ltd</h2>');
  errWindow.document.write('<p>Cargill Texturizing Solutions Ltd is a subsidiary of Cargill Inc. which is a leading supplier of texturizers and emulsifiers to the global food and beverage industries.</p>');
  errWindow.document.write('<p>Cargill Texturizing Solutions offers specific solutions for providing texture in multiple food applications based on a wide palette of ingredients including hydrocolloids, emulsifiers, lecithins, cultures, starches, soy flour and functional systems.</p>');
  errWindow.document.write('<p>With plants located all over the world, the company is a recognised, long-time partner of the food industry. Its state-of-the-art production facilities guarantee exact reproducibility of products and their components thanks to precise monitoring conditions and procedures with the help of sophisticated and strict formula controls.</p>');

//  if (arErrMsg.length > 0)
//  {
//    errWindow.document.write('<DIV align=center>');
//    for (i = 0; i < arErrMsg.length; i++)
//    {
//      errWindow.document.write(arErrMsg[i]);
//      errWindow.document.write('<BR>');
//    }
//    errWindow.document.write('</DIV>');
//  }
  errWindow.document.write('</BODY>');
}

//-->

