--- /dev/null
+/* grab the config from the config script */
+var config = getItemConfig();
+var itemForm = (marcXMLDoc) ? extractFixedField(marcXMLDoc,'Form') : "";
+
+/* Set the defaults for books for most patron types */
+result.durationRule = '21_days_1_renew';
+result.recurringFinesRule = '25_cent_per_day';
+result.maxFine = '10_dollars';
+
+if (copy.circ_modifier == 'AUDIO') {
+ result.durationRule = '7_days_1_renew';
+ result.recurringFinesRule = '1_dollar_per_day';
+}
+
+if (copy.circ_modifier == 'AV_EQUIP') {
+ result.durationRule = '1_day_1_renew';
+ result.recurringFinesRule = '1_dollar_per_day';
+}
+
+if (copy.circ_modifier == 'CD MUSIC') {
+ result.durationRule = '7_days_1_renew';
+}
+
+if (copy.circ_modifier == 'CIRC SHORT') {
+ result.durationRule = '1_day_1_renew';
+}
+
+if (copy.circ_modifier == 'DVD VIDEO') {
+ result.durationRule = '7_days_1_renew';
+ result.recurringFinesRule = '1_dollar_per_day';
+}
+
+if (copy.circ_modifier == 'SOFTWARE') {
+ result.durationRule = '7_days_1_renew';
+ result.recurringFinesRule = '1_dollar_per_day';
+}
+
+if (copy.circ_modifier == 'DVD VIDEO') {
+ result.durationRule = '7_days_1_renew';
+ result.recurringFinesRule = '1_dollar_per_day';
+}