// JavaScript Document
// RJJ Site code

function submitAddToCart(theForm) {
	if (navigator.userAgent.toLowerCase().indexOf("firefox") != -1) {
		theDescription = theForm.parentNode.parentNode.cells[1].textContent;
	}
	else {
		theDescription = theForm.parentElement.parentElement.cells[1].innerText;
	}
	theForm.elements['item_name'].value = theDescription;
}