function navigationLinks()
{
output  = " <table class=\"navigationbox\">                                                                       ";
output += " <tr><td><img src=\"images/womanonphone.gif\" alt=\"Please ring 0116 2830664 for a free quote\"/><br/><font color=\"red\">0116 2830664</font><hr color=\"red\"></hr></td></tr>";
output += " <tr class=\"select\"><td><a href=\"index.html\"           ><font color=\"red\">&gt;</font>Home</a></td></tr>                   ";
output += " <tr class=\"select\"><td><a href=\"contactus.html\"       ><font color=\"red\">&gt;</font>Contact&nbsp;Us</a></td></tr>        ";
output += " <tr class=\"select\"><td><a href=\"healthrisks.html\"     ><font color=\"red\">&gt;</font>Health&nbsp;Risks</a></td></tr>      ";
output += " <tr class=\"select\"><td><a href=\"theservice.html\"      ><font color=\"red\">&gt;</font>The Service</a></td></tr>            ";
output += " <tr class=\"select\"><td><a href=\"pricelist.html\"       ><font color=\"red\">&gt;</font>Price&nbsp;List</a></td></tr>        ";
output += " <tr class=\"select\"><td><a href=\"testimonials.html\"    ><font color=\"red\">&gt;</font>Testimonials</a></td></tr>           ";
output += " <tr class=\"select\"><td><a href=\"links.html\"           ><font color=\"red\">&gt;</font>Links</a></td></tr>                  ";
output += " </table>";
document.write(output);
}
function displayHeading()
{
output =  " <table background=\"images/longlogo.gif\" class=\"logo\"><tr  class=\"logo\"><td height=\"148\" width=\"500px\"></td><td>          ";
if (screen.width<1024)
{
output += " <td class=\"title\"><p>They poop, we scoop...<br/><font color=\"red\">&nbsp;&nbsp;&nbsp;&nbsp;PHONE<br/>&nbsp;&nbsp;&nbsp;0116&nbsp;2830664</font></p>";
}
else
{
output += " <td class=\"title\"><p><big>They poop, we scoop...<br/><font color=\"red\">PHONE 0116 2830664 </font></big><br/>";
output += " &nbsp;&nbsp;&nbsp;or email <a href=\"mailto:hector@pooperscooper.co.uk\"><ins>hector@pooperscooper.co.uk</ins></a></p> ";
}
output += " </td></tr></table>";
document.write(output);
}
function footer()
{
output =  "<p><center>";
output += " <a href=\"index.html\"                 >Home</a>                  - ";
output += " <a href=\"contactus.html\"             >Contact&nbsp;Us</a>       - ";
output += " <a href=\"healthrisks.html\"           >Health&nbsp;Risks</a>     - ";
output += " <a href=\"theservice.html\"            >The&nbsp;Service</a>      - ";
output += " <a href=\"pricelist.html\"             >Price&nbsp;List</a>       - ";
output += " <a href=\"testimonials.html\"          >Testimonials</a>          - ";	
output += " <a href=\"links.html\"                 >Links</a>                   ";
output += "</p></center>";
output += "<h3>&copy;227 Environmental</h3>"; 
output += "<object id=\"woof\" width=\"0\" height=\"0\" classid=\"clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95\"><param name=\"FileName\" value=\"sounds/woof.wav\"><param name=autoplay value=false></object>";
document.write(output);
}
function contactUs()
{
output = "<p><center>For futher information please click <a href=\"contactus.htm\"       >contact us</a>.</center></p>  ";
document.write(output);
}
function center()
{
output =  "<center>";
document.write(output);
}
function endCenter()
{
output =  "</center>";
document.write(output);
}
function MM_controlSound(x, _sndObj, sndFile) { //   v3.0
  var i, method = "", sndObj = eval(_sndObj);
  if (sndObj != null) {
    if (navigator.appName == 'Netscape') method = "play";
    else {
      if (window.MM_WMP == null) {
        window.MM_WMP = false;
        for(i in sndObj) if (i == "ActiveMovie") {
          window.MM_WMP = true; break;
      } }
      if (window.MM_WMP) method = "play";
      else if (sndObj.FileName) method = "run";
  } }
  if (method) eval(_sndObj+"."+method+"()");
  else window.location = sndFile;
}
function validate() 
{
	name=mainform.Name.value;
	if (name=='') 
	{
		alert('Your name is a required field. Please try again.');
		event.returnValue=false;
	}
	else
	{
		PhoneNumber=mainform.PhoneNumber.value;
		if (PhoneNumber=='') 
		{
			alert('Your Phone Number is a required field. Please try again.');
			event.returnValue=false;
		}
		else
		{
			email=mainform.email.value;
			if (email=='') 
			{
				alert('Your email is a required field. Please try again.');
				event.returnValue=false;
			}
		}
	}
}

