// JavaScript Document


//Edit these Darran for the changer bar at the top!----------------------
var hometext = "&raquo; Home | Southern Pump Services Engineering Ltd";
var clients  = "&raquo; Download your documents here";
var contact  = "&raquo; Contact Us | Southern Pump Services Engineering Ltd";
var sitemap  = "&raquo; View Sitemap";
var company  = "&raquo; Information about us";
var products = "&raquo; Our range of products";
var services = "&raquo; Our range of services";
var welcome = "&raquo; Southern Pump Services Engineering Limited | Package Pump Station | Foul and Storm Water Pumping";
//-----------------------------------------------------------------------

function changer(content) 
{
		document.getElementById('changer').innerHTML = content;
}

function showDiv(id) 
{
		if (document.getElementById(id).style.display == "block")
		{		
			document.getElementById(id).style.display = "none";
		}
		else
		{
			document.getElementById(id).style.display = "block";
		}
}

function focusForm()
{
		document.form1.name.focus;
}

function searchForm()
{
		alert('Sorry for the Inconvenience but the Search Feature is Currently Disabled.');
}

function contactLinkC ()
{
		if (document.getElementById('contactForm').style.display == "block")
		{
			document.getElementById('contactLink').innerHTML = "&laquo; Click to Retract";
		}
		else
		{
			document.getElementById('contactLink').innerHTML = "Click to Expand &raquo;";
		}
}

function contactLinkCB ()
{
			document.getElementById('contactLink').innerHTML = "Contact Form &raquo;";
}