// JavaScript Document

// Functions for the pages containing an add to cart link
// Note: The page must contain a form with a hidden input
// named packageType

// Function: frm_submit
// Descriptions: Takes a packageType number and sets the value
// of the forms hidden input "packageType" to be the value
// then submits the form.

function frm_submit(formName, packageType) {
	frm = document.forms[formName]
	frm.packageType.value = packageType
	frm.submit();
}
