//Set the div containting the textarea to visible if user selects the "other" checkbox

function setTextAreaVisible(box) {
	var o = document.getElementById('txtareasupplyform');
	var j = document.getElementById('pstextarea');
	var c = document.getElementById('contact-content');

if (j != null) {
	if (box.checked == true) {
		j.style.visibility = "visible";
		j.style.width = "250px";
		j.style.height = "100px";
		j.focus();
	}
	else {
		j.style.visibility = "hidden";
		j.style.width = "0px";
		j.style.height = "0px";
	}
}
else if (o != null) {
	if (box.checked == true ) {
		o.style.visibility = "visible";
		o.style.width = "250px";
		o.style.height = "100px";
		o.focus();
	}
	else {
		o.style.visibility = "hidden";
		o.style.width = "0px";
		o.style.height = "0px";
	}
}
else if (c != null) {
	var content = document.getElementById('content');
	
	if (content.style.visibility == "visible") {
		c.style.visibility = "visible";
		content.style.visibility = "hidden";
		
	}
	else {
		c.style.visibility = "hidden";
		content.style.visibility = "visible";
	}
	box.checked = "";
}
		
}