//image swap
function swapImage (targetId, image) {
	var target = document.getElementById(targetId);
		target.src = "http://www.copynet.co.uk/"+image;
}
 
//Sending Form
function submitForm(s)  {
s.value = "Sending";
return true;
}

//moo fx for brochure request
var containerHeight;
var content = "Thank you. Your enquiry has been sent and one of our representatives will be in touch with you soon.";
window.onload = function RandomImageSingle(obj01,obj02,path,ary01,ary02) {
//dropdown menu
if (document.all&&document.getElementById) {
navRoot = document.getElementById("nav");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }
   }
  }



 }


containerHeight = new fx.Height('container', {duration: 400});
		containerHeight.hide();
		if (document.referrer == this.location.href | "http://www.copynet.co.uk/formmailer/formmailer.php") {
		document.getElementById('broreq').style.width = 50+"%";
		document.getElementById('broreq').innerHTML = content;
}
}