imgNms = new Array('callback',
                   'ukwda',
                   'pagb');

ovrImg = new Array('../images/home_butt_call_o.gif',
                   '../images/home_butt_ukwda_o.gif',
                   '../images/home_butt_pagb_o.gif');

outImg = new Array('../images/home_butt_call.gif',
                   '../images/home_butt_ukwda.gif',
                   '../images/home_butt_pagb.gif');

imgCnt = imgNms.length;
ovrPic = new Array(imgCnt);
outPic = new Array(imgCnt);

for (var i=0 ; i<imgCnt ; i++)
{
  ovrPic[i] = new Image;
  ovrPic[i].src = ovrImg[i];
  outPic[i] = new Image;
  outPic[i].src = outImg[i];
}

function swImg(imgNum, imgState)
{
  swElt = document.getElementById(imgNms[imgNum]);
  if (document.images)
  {
    if (imgState == 1)
    {
      swElt.src = ovrPic[imgNum].src;
    }
    else if (imgState == 0)
    {
      swElt.src = outPic[imgNum].src;
    }
  }
}

<!--//--><![CDATA[//><!--

sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

//--><!]]>

function setupform()
{
  quoteform.forename.errname = 'Forename';
  quoteform.surname.errname = 'Surname';
  quoteform.email.errname = 'Email';
  quoteform.job_title.optional = true;
  quoteform.company.optional = true;
  quoteform.tel.optional = true;
  quoteform.whereheard.optional = true;
  quoteform.brand_product_name.optional = true;
  quoteform.web_address.optional = true;
  quoteform.budget.optional = true;
  quoteform.competitors.optional = true;
  quoteform.requirements.optional = true;
}