1 /* ---------------------------------------------------------------------------
2 * Copyright (C) 2011 Equinox Software, Inc.
3 * Mike Rylander <miker@esilibrary.com>
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 * ---------------------------------------------------------------------------
17 if(!dojo._hasResource["MARC.FixedFields"]) {
19 dojo.require('MARC.Record');
21 dojo._hasResource["MARC.FixedFields"] = true;
22 dojo.provide("MARC.FixedFields");
24 MARC.Record._recType = {
25 BKS : { Type : /[at]{1}/, BLvl : /[acdm]{1}/ },
26 SER : { Type : /[a]{1}/, BLvl : /[bsi]{1}/ },
27 VIS : { Type : /[gkro]{1}/, BLvl : /[abcdmsi]{1}/ },
28 MIX : { Type : /[p]{1}/, BLvl : /[cdi]{1}/ },
29 MAP : { Type : /[ef]{1}/, BLvl : /[abcdmsi]{1}/ },
30 SCO : { Type : /[cd]{1}/, BLvl : /[abcdmsi]{1}/ },
31 REC : { Type : /[ij]{1}/, BLvl : /[abcdmsi]{1}/ },
32 COM : { Type : /[m]{1}/, BLvl : /[abcdmsi]{1}/ },
33 AUT : { Type : /[z]{1}/, BLvl : /.{1}/ },
34 MFHD : { Type : /[uvxy]{1}/, BLvl : /.{1}/ }
37 MARC.Record._ff_pos = {
40 BKS : {start : 15, len : 3, def : ' ' },
41 SER : {start : 15, len : 3, def : ' ' },
42 VIS : {start : 15, len : 3, def : ' ' },
43 MIX : {start : 15, len : 3, def : ' ' },
44 MAP : {start : 15, len : 3, def : ' ' },
45 SCO : {start : 15, len : 3, def : ' ' },
46 REC : {start : 15, len : 3, def : ' ' },
47 COM : {start : 15, len : 3, def : ' ' },
52 BKS : {start : 35, len : 3, def : ' ' },
53 SER : {start : 35, len : 3, def : ' ' },
54 VIS : {start : 35, len : 3, def : ' ' },
55 MIX : {start : 35, len : 3, def : ' ' },
56 MAP : {start : 35, len : 3, def : ' ' },
57 SCO : {start : 35, len : 3, def : ' ' },
58 REC : {start : 35, len : 3, def : ' ' },
59 COM : {start : 35, len : 3, def : ' ' },
64 BKS : {start : 38, len : 1, def : ' ' },
65 SER : {start : 38, len : 1, def : ' ' },
66 VIS : {start : 38, len : 1, def : ' ' },
67 MIX : {start : 38, len : 1, def : ' ' },
68 MAP : {start : 38, len : 1, def : ' ' },
69 SCO : {start : 38, len : 1, def : ' ' },
70 REC : {start : 38, len : 1, def : ' ' },
71 COM : {start : 38, len : 1, def : ' ' },
76 BKS : {start : 6, len : 1, def : ' ' },
77 SER : {start : 6, len : 1, def : 'c' },
78 VIS : {start : 6, len : 1, def : ' ' },
79 MIX : {start : 6, len : 1, def : ' ' },
80 MAP : {start : 6, len : 1, def : ' ' },
81 SCO : {start : 6, len : 1, def : ' ' },
82 REC : {start : 6, len : 1, def : ' ' },
83 COM : {start : 6, len : 1, def : ' ' },
88 BKS : {start : 6, len : 1, def : 'a' },
89 SER : {start : 6, len : 1, def : 'a' },
90 VIS : {start : 6, len : 1, def : 'g' },
91 MIX : {start : 6, len : 1, def : 'p' },
92 MAP : {start : 6, len : 1, def : 'e' },
93 SCO : {start : 6, len : 1, def : 'c' },
94 REC : {start : 6, len : 1, def : 'i' },
95 COM : {start : 6, len : 1, def : 'm' },
96 AUT : {start : 6, len : 1, def : 'z' },
97 MFHD : {start : 6, len : 1, def : 'y' }
103 BKS : {start : 8, len : 1, def : ' ' },
104 SER : {start : 8, len : 1, def : ' ' },
105 VIS : {start : 8, len : 1, def : ' ' },
106 MIX : {start : 8, len : 1, def : ' ' },
107 MAP : {start : 8, len : 1, def : ' ' },
108 SCO : {start : 8, len : 1, def : ' ' },
109 REC : {start : 8, len : 1, def : ' ' },
110 COM : {start : 8, len : 1, def : ' ' },
115 BKS : {start : 7, len : 1, def : 'm' },
116 SER : {start : 7, len : 1, def : 's' },
117 VIS : {start : 7, len : 1, def : 'm' },
118 MIX : {start : 7, len : 1, def : 'c' },
119 MAP : {start : 7, len : 1, def : 'm' },
120 SCO : {start : 7, len : 1, def : 'm' },
121 REC : {start : 7, len : 1, def : 'm' },
122 COM : {start : 7, len : 1, def : 'm' },
127 BKS : {start : 18, len : 1, def : ' ' },
128 SER : {start : 18, len : 1, def : ' ' },
129 VIS : {start : 18, len : 1, def : ' ' },
130 MIX : {start : 18, len : 1, def : ' ' },
131 MAP : {start : 18, len : 1, def : ' ' },
132 SCO : {start : 18, len : 1, def : ' ' },
133 REC : {start : 18, len : 1, def : ' ' },
134 COM : {start : 18, len : 1, def : ' ' },
139 MFHD : {start : 18, len : 1, def : 'i' }
144 BKS : {start : 17, len : 1, def : ' ' },
145 SER : {start : 17, len : 1, def : ' ' },
146 VIS : {start : 17, len : 1, def : ' ' },
147 MIX : {start : 17, len : 1, def : ' ' },
148 MAP : {start : 17, len : 1, def : ' ' },
149 SCO : {start : 17, len : 1, def : ' ' },
150 REC : {start : 17, len : 1, def : ' ' },
151 COM : {start : 17, len : 1, def : ' ' },
152 AUT : {start : 17, len : 1, def : 'n' },
153 MFHD : {start : 17, len : 1, def : 'u' }
158 VIS : {start : 33, len : 1, def : ' ' },
161 VIS : {start : 16, len : 1, def : ' ' },
166 BKS : {start : 31, len : 1, def : '0' },
167 MAP : {start : 31, len : 1, def : '0' },
170 BKS : {start : 14, len : 1, def : '0' },
171 MAP : {start : 14, len : 1, def : '0' },
176 BKS : {start : 7, len : 4, def : ' ' },
177 SER : {start : 7, len : 4, def : ' ' },
178 VIS : {start : 7, len : 4, def : ' ' },
179 MIX : {start : 7, len : 4, def : ' ' },
180 MAP : {start : 7, len : 4, def : ' ' },
181 SCO : {start : 7, len : 4, def : ' ' },
182 REC : {start : 7, len : 4, def : ' ' },
183 COM : {start : 7, len : 4, def : ' ' },
188 BKS : {start : 11, len : 4, def : ' ' },
189 SER : {start : 11, len : 4, def : '9' },
190 VIS : {start : 11, len : 4, def : ' ' },
191 MIX : {start : 11, len : 4, def : ' ' },
192 MAP : {start : 11, len : 4, def : ' ' },
193 SCO : {start : 11, len : 4, def : ' ' },
194 REC : {start : 11, len : 4, def : ' ' },
195 COM : {start : 11, len : 4, def : ' ' },
200 BKS : {start : 33, len : 1, def : '0' },
203 BKS : {start : 16, len : 1, def : '0' },
208 BKS : {start : 34, len : 1, def : ' ' },
211 BKS : {start : 17, len : 1, def : ' ' },
216 BKS : {start : 18, len : 4, def : ' ' },
219 BKS : {start : 1, len : 4, def : ' ' },
224 BKS : {start : 30, len : 1, def : '0' },
227 BKS : {start : 13, len : 1, def : '0' },
232 BKS : {start : 24, len : 4, def : ' ' },
233 SER : {start : 25, len : 3, def : ' ' },
236 BKS : {start : 7, len : 4, def : ' ' },
237 SER : {start : 8, len : 3, def : ' ' },
242 BKS : {start : 28, len : 1, def : ' ' },
243 SER : {start : 28, len : 1, def : ' ' },
244 VIS : {start : 28, len : 1, def : ' ' },
245 MAP : {start : 28, len : 1, def : ' ' },
246 COM : {start : 28, len : 1, def : ' ' },
249 BKS : {start : 11, len : 1, def : ' ' },
250 SER : {start : 11, len : 1, def : ' ' },
251 VIS : {start : 11, len : 1, def : ' ' },
252 MAP : {start : 11, len : 1, def : ' ' },
253 COM : {start : 11, len : 1, def : ' ' },
258 BKS : {start : 22, len : 1, def : ' ' },
259 SER : {start : 22, len : 1, def : ' ' },
260 VIS : {start : 22, len : 1, def : ' ' },
261 SCO : {start : 22, len : 1, def : ' ' },
262 REC : {start : 22, len : 1, def : ' ' },
263 COM : {start : 22, len : 1, def : ' ' },
266 BKS : {start : 5, len : 1, def : ' ' },
267 SER : {start : 5, len : 1, def : ' ' },
268 VIS : {start : 5, len : 1, def : ' ' },
269 SCO : {start : 5, len : 1, def : ' ' },
270 REC : {start : 5, len : 1, def : ' ' },
271 COM : {start : 5, len : 1, def : ' ' },
276 BKS : {start : 23, len : 1, def : ' ' },
277 SER : {start : 23, len : 1, def : ' ' },
278 VIS : {start : 29, len : 1, def : ' ' },
279 MIX : {start : 23, len : 1, def : ' ' },
280 MAP : {start : 29, len : 1, def : ' ' },
281 SCO : {start : 23, len : 1, def : ' ' },
282 REC : {start : 23, len : 1, def : ' ' },
285 BKS : {start : 6, len : 1, def : ' ' },
286 SER : {start : 6, len : 1, def : ' ' },
287 VIS : {start : 12, len : 1, def : ' ' },
288 MIX : {start : 6, len : 1, def : ' ' },
289 MAP : {start : 12, len : 1, def : ' ' },
290 SCO : {start : 6, len : 1, def : ' ' },
291 REC : {start : 6, len : 1, def : ' ' },
296 SER : {start : 34, len : 1, def : '0' },
299 SER : {start : 17, len : 1, def : '0' },
304 SER : {start : 33, len : 1, def : ' ' },
307 SER : {start : 16, len : 1, def : ' ' },
312 "AUT" : {"start" : 6, "len" : 1, "def" : ' ' }
317 "AUT" : {"start" : 7, "len" : 1, "def" : ' ' }
322 "AUT" : {"start" : 8, "len" : 1, "def" : ' ' }
327 "AUT" : {"start" : 9, "len" : 1, "def" : ' ' }
332 "AUT" : {"start" : 10, "len" : 1, "def" : ' ' }
337 "AUT" : {"start" : 11, "len" : 1, "def" : ' ' }
342 "AUT" : {"start" : 12, "len" : 1, "def" : ' ' }
347 "AUT" : {"start" : 13, "len" : 1, "def" : ' ' }
352 "AUT" : {"start" : 14, "len" : 1, "def" : ' ' }
357 "AUT" : {"start" : 15, "len" : 1, "def" : ' ' }
362 "AUT" : {"start" : 16, "len" : 1, "def" : ' ' }
367 "AUT" : {"start" : 17, "len" : 1, "def" : ' ' }
372 "AUT" : {"start" : 28, "len" : 1, "def" : ' ' }
377 "AUT" : {"start" : 29, "len" : 1, "def" : ' ' }
382 "AUT" : {"start" : 31, "len" : 1, "def" : ' ' }
387 "AUT" : {"start" : 32, "len" : 1, "def" : ' ' }
392 "AUT" : {"start" : 33, "len" : 1, "def" : ' ' }
397 "AUT" : {"start" : 38, "len" : 1, "def" : ' ' }
402 "AUT" : {"start" : 39, "len" : 1, "def" : ' ' }
407 MARC.Record._physical_characteristics = {
409 label : "Electronic Resource",
414 values: { a : "Tape Cartridge",
415 b : "Chip cartridge",
416 c : "Computer optical disk cartridge",
420 m : "Magneto-optical disk",
430 values: { a : "One color",
431 b : "Black-and-white",
435 n : "Not applicable",
442 label : "Dimensions",
443 values: { a : "3 1/2 in.",
445 g : "4 3/4 in. or 12 cm.",
446 i : "1 1/8 x 2 3/8 in.",
447 j : "3 7/8 x 2 1/2 in.",
448 n : "Not applicable",
458 values: { ' ' : "No sound (Silent)",
465 label : "Image bit depth",
466 values: { mmm : "Multiple",
467 nnn : "Not applicable",
473 label : "File formats",
474 values: { a : "One file format",
475 m : "Multiple file formats",
481 label : "Quality assurance target(s)",
482 values: { a : "Absent",
483 n : "Not applicable",
490 label : "Antecedent/Source",
491 values: { a : "File reproduced from original",
492 b : "File reproduced from microform",
493 c : "File reproduced from electronic resource",
494 d : "File reproduced from an intermediate (not microform)",
496 n : "Not applicable",
502 label : "Level of compression",
503 values: { a : "Uncompressed",
512 label : "Reformatting quality",
513 values: { a : "Access",
514 n : "Not applicable",
528 values: { a : "Celestial globe",
529 b : "Planetary or lunar globe",
530 c : "Terrestrial globe",
531 e : "Earth moon globe",
539 values: { a : "One color",
545 label : "Physical medium",
546 values: { a : "Paper",
560 label : "Type of reproduction",
561 values: { f : "Facsimile",
562 n : "Not applicable",
575 values: { d : "Atlas",
580 r : "Remote-sensing image",
590 values: { a : "One color",
596 label : "Physical medium",
597 values: { a : "Paper",
605 q : "Flexible base photographic medium, positive",
606 r : "Flexible base photographic medium, negative",
607 s : "Non-flexible base photographic medium, positive",
608 t : "Non-flexible base photographic medium, negative",
610 y : "Other photographic medium",
616 label : "Type of reproduction",
617 values: { f : "Facsimile",
618 n : "Not applicable",
625 label : "Production/reproduction details",
626 values: { a : "Photocopy, blueline print",
628 c : "Pre-production",
636 label : "Positive/negative",
637 values: { a : "Positive",
640 n : "Not applicable",
651 values: { a : "Aperture card",
652 b : "Microfilm cartridge",
653 c : "Microfilm cassette",
654 d : "Microfilm reel",
656 f : "Microfiche cassette",
664 label : "Positive/negative",
665 values: { a : "Positive",
673 label : "Dimensions",
674 values: { a : "8 mm.",
679 l : "3 x 5 in. (8 x 13 cm.)",
680 m : "4 x 6 in. (11 x 15 cm.)",
681 o : "6 x 9 in. (16 x 23 cm.)",
682 p : "3 1/4 x 7 3/8 in. (9 x 19 cm.)",
689 label : "Reduction ratio range/Reduction ratio",
690 values: { a : "Low (1-16x)",
691 b : "Normal (16-30x)",
693 d : "Very high (61-90x)",
696 v : "Reduction ratio varies",
702 values: { b : "Black-and-white",
711 label : "Emulsion on film",
712 values: { a : "Silver halide",
716 n : "Not applicable",
723 label : "Quality assurance target(s)",
724 values: { a : "1st gen. master",
725 b : "Printing master",
727 m : "Mixed generation",
733 label : "Base of film",
734 values: { a : "Safety base, undetermined",
735 c : "Safety base, acetate undetermined",
736 d : "Safety base, diacetate",
739 n : "Not applicable",
740 p : "Safety base, polyester",
741 r : "Safety base, mixed",
742 t : "Safety base, triacetate",
750 label : "Motion Picture",
755 values: { a : "Film cartridge",
765 values: { b : "Black-and-white",
775 label : "Motion picture presentation format",
776 values: { a : "Standard sound aperture, reduced frame",
777 b : "Nonanamorphic (wide-screen)",
779 d : "Anamorphic (wide-screen)",
780 e : "Other-wide screen format",
781 f : "Standard. silent aperture, full frame",
788 label : "Sound on medium or separate",
789 values: { a : "Sound on medium",
790 b : "Sound separate from medium",
796 label : "Medium for sound",
797 values: { a : "Optical sound track on motion picture film",
798 b : "Magnetic sound track on motion picture film",
799 c : "Magnetic audio tape in cartridge",
801 e : "Magnetic audio tape on reel",
802 f : "Magnetic audio tape in cassette",
803 g : "Optical and magnetic sound track on film",
812 label : "Dimensions",
813 values: { a : "Standard 8 mm.",
814 b : "Super 8 mm./single 8 mm.",
826 label : "Configuration of playback channels",
827 values: { k : "Mixed",
829 n : "Not applicable",
830 q : "Multichannel, surround or quadraphonic",
838 label : "Production elements",
839 values: { a : "Work print",
844 f : "Title bands/inter-title rolls",
845 g : "Production rolls",
846 n : "Not applicable",
853 label : "Non-projected Graphic",
858 values: { c : "Collage",
861 f : "Photo-mechanical print",
866 l : "Technical drawing",
868 o : "Flash/activity card",
876 values: { a : "One color",
877 b : "Black-and-white",
887 label : "Primary support material",
888 values: { a : "Canvas",
890 c : "Cardboard/illustration board",
896 m : "Mixed collection",
909 label : "Secondary support material",
910 values: { a : "Canvas",
912 c : "Cardboard/illustration board",
918 m : "Mixed collection",
932 label : "Projected Graphic",
937 values: { c : "Film cartridge",
939 f : "Film filmstrip type",
940 o : "Filmstrip roll",
949 values: { b : "Black-and-white",
953 n : "Not applicable",
960 label : "Base of emulsion",
961 values: { d : "Glass",
964 k : "Film base, other than safety film",
965 m : "Mixed collection",
973 label : "Sound on medium or separate",
974 values: { a : "Sound on medium",
975 b : "Sound separate from medium",
981 label : "Medium for sound",
982 values: { a : "Optical sound track on motion picture film",
983 b : "Magnetic sound track on motion picture film",
984 c : "Magnetic audio tape in cartridge",
986 e : "Magnetic audio tape on reel",
987 f : "Magnetic audio tape in cassette",
988 g : "Optical and magnetic sound track on film",
997 label : "Dimensions",
998 values: { a : "Standard 8 mm.",
999 b : "Super 8 mm./single 8 mm.",
1005 j : "2 x 2 in. (5 x 5 cm.)",
1006 k : "2 1/4 x 2 1/4 in. (6 x 6 cm.)",
1007 s : "4 x 5 in. (10 x 13 cm.)",
1008 t : "5 x 7 in. (13 x 18 cm.)",
1009 v : "8 x 10 in. (21 x 26 cm.)",
1010 w : "9 x 9 in. (23 x 23 cm.)",
1011 x : "10 x 10 in. (26 x 26 cm.)",
1012 y : "7 x 7 in. (18 x 18 cm.)",
1019 label : "Secondary support material",
1020 values: { c : "Cardboard",
1024 j : "Metal and glass",
1025 k : "Synthetics and glass",
1026 m : "Mixed collection",
1034 label : "Remote-sensing Image",
1039 values: { u : "Unspecified" },
1043 label : "Altitude of sensor",
1044 values: { a : "Surface",
1047 n : "Not applicable",
1054 label : "Attitude of sensor",
1055 values: { a : "Low oblique",
1058 n : "Not applicable",
1064 label : "Cloud cover",
1065 values: { 0 : "0-09%",
1075 n : "Not applicable",
1081 label : "Platform construction type",
1082 values: { a : "Balloon",
1083 b : "Aircraft-low altitude",
1084 c : "Aircraft-medium altitude",
1085 d : "Aircraft-high altitude",
1086 e : "Manned spacecraft",
1087 f : "Unmanned spacecraft",
1088 g : "Land-based remote-sensing device",
1089 h : "Water surface-based remote-sensing device",
1090 i : "Submersible remote-sensing device",
1091 n : "Not applicable",
1098 label : "Platform use category",
1099 values: { a : "Meteorological",
1100 b : "Surface observing",
1101 c : "Space observing",
1103 n : "Not applicable",
1110 label : "Sensor type",
1111 values: { a : "Active",
1119 label : "Data type",
1120 values: { nn : "Not applicable",
1123 aa : "Visible light",
1124 da : "Near infrared",
1125 db : "Middle infrared",
1126 dc : "Far infrared",
1127 dd : "Thermal infrared",
1128 de : "Shortwave infrared (SWIR)",
1129 df : "Reflective infrared",
1130 dv : "Combinations",
1131 dz : "Other infrared data",
1132 ga : "Sidelooking airborne radar (SLAR)",
1133 gb : "Synthetic aperture radar (SAR-single frequency)",
1134 gc : "SAR-multi-frequency (multichannel)",
1135 gd : "SAR-like polarization",
1136 ge : "SAR-cross polarization",
1137 gf : "Infometric SAR",
1138 gg : "Polarmetric SAR",
1139 gu : "Passive microwave mapping",
1140 gz : "Other microwave data",
1141 ja : "Far ultraviolet",
1142 jb : "Middle ultraviolet",
1143 jc : "Near ultraviolet",
1144 jv : "Ultraviolet combinations",
1145 jz : "Other ultraviolet data",
1146 ma : "Multi-spectral, multidata",
1147 mb : "Multi-temporal",
1148 mm : "Combination of various data types",
1149 pa : "Sonar-water depth",
1150 pb : "Sonar-bottom topography images, sidescan",
1151 pc : "Sonar-bottom topography, near-surface",
1152 pd : "Sonar-bottom topography, near-bottom",
1153 pe : "Seismic surveys",
1154 pz : "Other acoustical data",
1155 ra : "Gravity anomales (general)",
1159 sa : "Magnetic field",
1160 ta : "Radiometric surveys",
1166 label : "Sound Recording",
1171 values: { d : "Sound disc",
1173 g : "Sound cartridge",
1174 i : "Sound-track film",
1176 s : "Sound cassette",
1177 t : "Sound-tape reel",
1179 w : "Wire recording",
1186 values: { a : "16 rpm",
1206 label : "Configuration of playback channels",
1207 values: { m : "Monaural",
1216 label : "Groove width or pitch",
1217 values: { m : "Microgroove/fine",
1218 n : "Not applicable",
1219 s : "Coarse/standard",
1226 label : "Dimensions",
1227 values: { a : "3 in.",
1233 g : "4 3/4 in. (12 cm.)",
1234 j : "3 7/8 x 2 1/2 in.",
1235 o : "5 1/4 x 3 7/8 in.",
1236 s : "2 3/4 x 4 in.",
1237 n : "Not applicable",
1244 label : "Tape width",
1245 values: { l : "1/8 in.",
1247 n : "Not applicable",
1256 label : "Tape configuration ",
1257 values: { a : "Full (1) track",
1258 b : "Half (2) track",
1259 c : "Quarter (4) track",
1263 n : "Not applicable",
1270 label : "Special playback",
1271 values: { a : "NAB standard",
1272 b : "CCIR standard",
1273 c : "Dolby-B encoded, standard Dolby",
1275 e : "Digital recording",
1276 f : "Dolby-A encoded",
1277 g : "Dolby-C encoded",
1279 n : "Not applicable",
1286 label : "Capture and storage",
1287 values: { a : "Acoustical capture, direct storage",
1288 b : "Direct storage, not acoustical",
1289 d : "Digital storage",
1290 e : "Analog electrical storage",
1298 label : "Tactile Material",
1303 values: { a : "Moon",
1306 d : "Tactile, with no writing system",
1313 label : "Class of braille writing",
1314 values: { a : "Literary braille",
1315 b : "Format code braille",
1316 c : "Mathematics and scientific braille",
1317 d : "Computer braille",
1318 e : "Music braille",
1319 m : "Multiple braille types",
1320 n : "Not applicable",
1327 label : "Level of contraction",
1328 values: { a : "Uncontracted",
1331 n : "Not applicable",
1338 label : "Braille music format",
1339 values: { a : "Bar over bar",
1341 c : "Line over line",
1344 f : "Section by section",
1347 i : "Spanner short form scoring",
1348 j : "Short form scoring",
1350 l : "Vertical score",
1351 n : "Not applicable",
1358 label : "Special physical characteristics",
1359 values: { a : "Print/braille",
1360 b : "Jumbo or enlarged braille",
1361 n : "Not applicable",
1369 label : "Videorecording",
1374 values: { c : "Videocartridge",
1376 f : "Videocassette",
1385 values: { b : "Black-and-white",
1388 n : "Not applicable",
1395 label : "Videorecording format",
1396 values: { a : "Beta",
1418 label : "Sound on medium or separate",
1419 values: { a : "Sound on medium",
1420 b : "Sound separate from medium",
1426 label : "Medium for sound",
1427 values: { a : "Optical sound track on motion picture film",
1428 b : "Magnetic sound track on motion picture film",
1429 c : "Magnetic audio tape in cartridge",
1431 e : "Magnetic audio tape on reel",
1432 f : "Magnetic audio tape in cassette",
1433 g : "Optical and magnetic sound track on motion picture film",
1442 label : "Dimensions",
1443 values: { a : "8 mm.",
1455 label : "Configuration of playback channel",
1456 values: { k : "Mixed",
1458 n : "Not applicable",
1459 q : "Multichannel, surround or quadraphonic",
1469 MARC.Record.prototype.recordType = function () {
1471 var _t = this.leader.substr(MARC.Record._ff_pos.Type.ldr.BKS.start, MARC.Record._ff_pos.Type.ldr.BKS.len);
1472 var _b = this.leader.substr(MARC.Record._ff_pos.BLvl.ldr.BKS.start, MARC.Record._ff_pos.BLvl.ldr.BKS.len);
1474 for (var t in MARC.Record._recType) {
1475 if (_t.match(MARC.Record._recType[t].Type) && _b.match(MARC.Record._recType[t].BLvl)) {
1479 return 'BKS'; // default
1482 MARC.Record.prototype.videorecordingFormatName = function () {
1483 var _7 = this.field('007');
1485 if (_7.match(/^v/)) {
1486 var _v_e = _7.substr(
1487 MARC.Record._physical_characteristics.v.subfields.e.start,
1488 MARC.Record._physical_characteristics.v.subfields.e.len
1491 return MARC.Record._physical_characteristics.v.subfields.e.values[ _v_e ];
1497 MARC.Record.prototype.videorecordingFormatCode = function () {
1498 var _7 = this.field('007');
1500 if (_7.match(/^v/)) {
1502 MARC.Record._physical_characteristics.v.subfields.e.start,
1503 MARC.Record._physical_characteristics.v.subfields.e.len
1510 MARC.Record.prototype.extractFixedField = function (field, dflt) {
1512 var _l = this.field('007');
1513 var _8 = this.field('008');
1514 var _6 = this.field('006');
1516 var rtype = this.recordType();
1520 if (MARC.Record._ff_pos[field].ldr) {
1521 if (MARC.Record._ff_pos[field].ldr[rtype]) {
1523 MARC.Record._ff_pos[field].ldr[rtype].start,
1524 MARC.Record._ff_pos[field].ldr[rtype].len
1527 } else if (MARC.Record._ff_pos[field]._8) {
1528 if (MARC.Record._ff_pos[field]._8[rtype]) {
1530 MARC.Record._ff_pos[field]._8[rtype].start,
1531 MARC.Record._ff_pos[field]._8[rtype].len
1536 if (!val && MARC.Record._ff_pos[field]._6) {
1537 if (MARC.Record._ff_pos[field]._6[rtype]) {
1539 MARC.Record._ff_pos[field]._6[rtype].start,
1540 MARC.Record._ff_pos[field]._6[rtype].len
1549 if (MARC.Record._ff_pos[name].ldr && MARC.Record._ff_pos[name].ldr[rtype]) {
1550 d = MARC.Record._ff_pos[name].ldr[rtype].def;
1554 if (MARC.Record._ff_pos[name]._8 && MARC.Record._ff_pos[name]._8[rtype]) {
1555 d = MARC.Record._ff_pos[name]._8[rtype].def;
1559 if (!val && MARC.Record._ff_pos[name]._6 && MARC.Record._ff_pos[name]._6[rtype]) {
1560 d = MARC.Record._ff_pos[name]._6[rtype].def;
1565 for (var j = 0; j < MARC.Record._ff_pos[name][p][rtype].len; j++) {