function displayBottomLinks() {

 document.write('<center><a href="../main/index.php">Home</a>&nbsp;|&nbsp;');
 document.write('<a href="../main/overview.html">About Celentia</a>&nbsp;|&nbsp;');
   document.write('<a href="../contact/contactdetails.html">Contact Details</a>&nbsp;|&nbsp;');
 document.write('<a href="../main/terms.html" target="_BLANK">Terms of Use</a>&nbsp;|&nbsp;');
 document.write('<a href="../main/sitemap.html">Sitemap</a>&nbsp;|&nbsp;');
 document.write('<a href="../privacy/privacy.html" target="_BLANK">Privacy Policy</a></center>');
}

function valForm(){

if (document.DataSearch.sString.value.length < '4'){
alert ('Search must be at least 4 characters long');
return false;
}else{
return true;
}

}


function clickLink(item) {
 
 var previousMenu;
 if (top.document.getElementById('left')) {

     top.document.getElementById('left').contentWindow.document.getElementById(item).className= "selected";
  
     previousMenu = top.document.getElementById('left').contentWindow.document.currentMenu; 
     
     if (previousMenu != "") {
     
     
       top.document.getElementById('left').contentWindow.document.getElementById(previousMenu).className = "";
       top.document.getElementById('left').contentWindow.document.currentMenu = item;
     
     } 
     

 }
 

}


function displayHeader() {
 document.write('<div class="top">\r\n');
 document.write('<a class="header" href="contactus.html" onClick="clickLink(\'contact\');">Contact Us</a>&nbsp;|&nbsp;');
 document.write('<a class="header" href="sitemap.html">Sitemap</a>');
 document.write('</div>\r\n');
 //document.write('<table cellspacing="0" cellpadding="0" border="0" width="100%">\r\n');
 //document.write('<tr><td height="20"><img src="images/blue_header.gif"></td></tr>\r\n');
 //document.write('</table>\r\n');
 document.write('<br />');

}



function checkForm() {
  if ((document.subscribe.name.value == "") ||
      (document.subscribe.email.value == "") ||
      (document.subscribe.company.value == "")) {
      alert("Please provide all fields.");
      return false;
  }
}



