Tutorial > Observer Canvas

The ObserversCanvas class for spectra is the equivalent of the ViewerCanvas class for molecules. In essence, there is procedural difference between declaring canvases that display structures and those that display spectra, except that one type displays molecules and the other displays spectra. Just like the molecule canvases, the spectrum canvases are fully customizable.

The ObserverCanvas class is the most basic canvas for spectra. All spectrum canvases can be used by following four general steps:

  1. Construction
  2. Specify Canvas Settings
  3. Override Spectrum Settings
  4. Load Spectrum

1. Construction

Just like the ViewerCanvas, the ObserverCanvas constructor takes only 3 parameters: name, width and height. The constructor will automatically create the canvas with the name and dimensions you give it. The ObserverCanvas class is a child of the SpectrumCanvas class, which in turn, is a child of the Canvas class.

new ChemDoodle.ObserverCanvas(name, width, height);

2. Specify Canvas Settings

The constructor will automatically place the canvas on the page. After the canvas has been created, its settings may be changed by accessing its Canvas.styles object. The spectrum styles are different from those of atoms and bonds, but the concept is the same. Complete information on all styles is provided in the API.

3. Override Spectrum Settings

Unlike molecules, where most of the settings to define how molecules are displayed have nothing to do with the actual molecule data, the same is not true for spectra. You may want to override several properties of the spectrum, such as the title, the units of the axes and the domain of the plot. You can do this by reading the spectrum into a local variable followed by modifying any of the spectrum's properties, listed here:

  • title - The title of the spectrum.
  • xUnit - The units of the domain, to be displayed under the x-axis.
  • yUnit - The units of the range, to be displayed next to the y-axis.
  • minX - The start of the plot domain.
  • maxX - The end of the plot domain.
  • dataDisplay - This is an Array of Object. Each object describes an item in the list of data items to be displayed on the top left of the spectrum. This data can be manually specified or referenced from the JCAMP header. More information is provided in the API.

4. Load Spectrum

The last step is to load the spectrum. The Spectrum.loadSpectrum() function serves this purpose, and requires a Spectrum data structure. The loadSpectrum() function is analogous to the loadMolecule() function.

Note that JCAMP files can be very large. You do not want to be manually inserting these files into the HTML page. A backend script, such as PHP or JSP will help you load large files from your server to your webpages.

Examples

A classic style:

<script>
  let observerIR = new ChemDoodle.ObserverCanvas('observerIR', 400, 200);
  observerIR.styles.plots_showGrid=true;
  observerIR.styles.plots_flipXAxis = true;
  observerIR.styles.text_font_families[0] = "Times New Roman";
  observerIR.styles.text_font_families[1] = "Times";
  observerIR.styles.text_font_families[2] = 'serif';
  let spectrumJcampFile = '##TITLE=POLYETHYLENE\n##JCAMP-DX=4.24\n##DATA TYPE=INFRARED SPECTRUM\n##DATE=03/30/90\n##TIME=10:47:11\n##OWNER=(c) by Peter Lampen 12.12.91\n##ORIGIN=Peter Lampen\n##SPECTROMETER/DATA SYSTEM=SPECTRAFILE-IR / XXIR  \n##DATA PROCESSING=Dir\n##XUNITS=1/CM\n##YUNITS=TRANSMITTANCE\n##XFACTOR=0.125\n##YFACTOR=0.00312499\n##FIRSTX=400.000000\n##LASTX=4000.000000\n##NPOINTS=1801\n##MAXY=99.999750\n##FIRSTY=97.7404\n##DELTAX=2.000000\n##XYDATA=(X++(Y..Y))\n3200C1276%Sj05Sl3Sm2SJ44So5Sn7SJ8SK7Sq3SK3SO2Sj4SJ28SL0SM1SQ0SK7SM4S\n3519C1501K3SJ0SQ2SL1Sk8SK2Sj8SMSK5SkSn4SJ2Sm0Sl9Sm2Sj8Sl4So0SJSk6Sk7S\n3855C1323j4Sk3Sl3Sj1Sj6Sj3SPSj2SJSRSJ4SQSL7SJ2SM4SK5SN0SK8SL4SN1SL9S\n4191C1560M9SM6SL9SL6SL1SM9SK8SnSK1SJ4SlSOSj2Sj0Sj5Sk7Sl5Sk7Sl9Sn0Sl0S\n4527C1626l8Sm0Sk7Sm9Sj7Sl5Sk9Sj4Sk4Sk2SpSj8SLSOTK1SL6SJ9SK3SM0SM4SN2S\n4879C1556N0TN9SM9SN3SK9SL7SK9SK7SL7SJ2SJSJ0Sj5Sj3Sj7Sk9Sk6Sl0Sm7Sl8S\n5214C1784n1So0So1So0Sn9So3Sm2Sn4SJ13SL5Sk44Sm7Sk6Sj6Sk3Sl1Sj7SqSk1S\n5518C1049j6Sk2Sl5So9Sj13Sj59Sj74Sk51Sl43Sm82So98Sr83Sj487Sk523Sm479S\n5758A9215o287SL67SM740SK217Sk24Sl543Sj427SP109SM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j06SjSm7Sl1SP4Sr4Sl7SJ14Sr5SM1Sn9Sl5SQ4Sk3Sl0SN5S\n31104B6629q5SL5SJSlS%SJ9Sj2SJ1SnSk6SnSJSJ5Sn0SpSM5SJ8Sn9SM4SK3Sm0SnS\n31456B6544M9SK6SK1Sl1Sj6SJ3SK3Sj5Sj0SjSM6Sl0Sj2Sl8SK0SK8Sj8Sl8Sk0TqS\n31792B6513K1SQSj6Sl7SJ6SpSj0SK5Sk7SM9Sj2Sk7SJ0S\n31999@\n##END=\n';
  let spectrum = ChemDoodle.readJCAMP(spectrumJcampFile);
  observerIR.loadSpectrum(spectrum);
</script>

Focusing on a peak:

<script>
  let observerSeptet = new ChemDoodle.ObserverCanvas('observerSeptet', 200, 200);
  observerSeptet.setBackgroundImage('/img/cwc/backgrounds/nmrTube.png');
  observerSeptet.styles.plots_color = '#3000FF';
  observerSeptet.styles.plots_width = 3;
  observerSeptet.styles.plots_showYAxis = false;
  observerSeptet.styles.plots_flipXAxis = true;
  observerSeptet.styles.scale = 10;
  observerSeptet.styles.text_font_size = 16;
  observerSeptet.styles.text_font_families[0] = "Comic Sans MS";
  observerSeptet.styles.text_font_families[1] = "Chalkboard";
  observerSeptet.styles.text_font_families[2] = "Marker Felt";
  observerSeptet.styles.text_font_families[3] = "cursive";
  observerSeptet.styles.text_font_families[4] = 'Sans Serif';
  observerSeptet.styles.text_color = 'white';
  let spectrumJcampFile = '##TITLE= 2-methyl-1-propanol\n##JCAMP-DX= 5.00 $$From Command Line Converter 1.0\n##DATA TYPE= NMR Spectrum\n##DATA CLASS=  XYDATA\n\n##ORIGIN= Exported from Command Line Converter 1.0\n##OWNER= SVB\n##$URL= http://wwwchem.uwimona.edu.jm:1104/software/jcampdx.html\n##SPECTROMETER/DATA SYSTEM= NUTS EXPORT\n##.OBSERVE FREQUENCY= 300.149506\n##.OBSERVE NUCLEUS= ^1H\n##INSTRUMENTAL PARAMETERS= 1H\n##XUNITS= PPM\n##YUNITS= ARBITRARY UNITS\n##XFACTOR= 0.0000035013\n##YFACTOR= 3.5404570000\n##FIRSTX=   0.449892\n##FIRSTY= 9201.000000\n##LASTX=   3.951200\n##NPOINTS= 2153\n##MAXY= 3534337.000000\n##MINY= -6120.000000\n##DELTAX=   0.001627\n##XYDATA= (X++(Y..Y))\n128492B598Pp2%M9o4J02m0P6j8m7l9K5J93j29J83j42p7Q1MK6K3lP8m5l8P0j02\n141054B699N2Q3%p2J9J77j11j59R4n1J05j00J77p0k7K9l3J13j6P1J24J8r4k1J21\n152657C128p8K8mm6o4J51j6O6M1Q9k39L4J68j33J53n1J25P1m9J71p1j43J9N8l2\n164271C376n2J58L9q7J35J91l8o5L8j12P1n0p1l2P7q3R3r5M9J33p6Q2P9lJ5R7\n176368C869j50O4KJ47n6Q5O6L2l7p3J46n0J1PJ20J20N1j5R5m9O5m4m5k8J16J51\n188436D600NK8P6J9k4J70J71o2J91k58P8N1J60J48r9L9K92j1K12N53P02J263J618\n199139I922l886o06R4L5J46N3K94J64K8J55N81Q01J824L07l629j99L9M7P3K18\n208436F461O76P31M93P16j431j107j67J81J78M7Q4J63O20O5O40N80P50R08k377\n217252H211m16K13j02J2j8J65M25k5j682Q36Q54N9L04r4RL47p7j31M60N2K56o48\n227479I010j493O88J096j01r5o09q25J243K085k5L64L69J251J121N59m73j876\n235382A2289pK6o51q61L054J083N58n7J328K386K09M04j609o45L32K14M93J3N69\n244215A9128N18P55p5J43J480N41N6N97M54P04O91J085R93O75J479J196J551K866\n252584C4837P86K646L039M524L425Q517J0781J5932J2440K0145O6510J06152K38567\n258618E28301M69970q46648r4459n895M138M084M920O687J7304J1354K6114Q1321\n264187B07191J32283L09755K82950q28035n0005q089k520l164q454k621k76n47\n269756B8468l824K019L01K274k465k879j445r48j176j848j359r51j248l87J57\n276731A4689l429r65j377J637p37p35N77m80m38m51K60N09P05j49l030q6P54l42\n285099F912l54M36Q57J559P79k000K58O17o2o73r79r0N2O8k82L95M67J996j335\n293932H621j632l49K89K6N96n12j963k0K32k30J06j97j28k49k12K44O70J388J513\n302765H193l053k767O18P95K79p29n83L7j10m9J34L24P83J997L745n293j559k92\n311133B470L11K1o57n3k2j15m1R2J61O50J128K553j679j26J212l630p76k07J10\n319938A402o8qp6J74m8L10N65J026J903m04l322l65Or7j4J00k33J8p9q6r0NM7\n330640F66j69J65r5M3k24m0j18J30l5r7rr6rj05j6M5RL2j13rj79M4J24n3N7k06\n342719b58N6j41L0Q1O3j25l5k0L5l8N5j59J22j38n7N4%j7Q7j63K7P4j60nk0P3\n354787e79j12P6p2j12N3L8K4l1k1LK9L3p8m3M7o1J06r1Q2j59K0O2Jo4P4q8R4o1\n367824h30OP3L1j07n9O6o6K1J7J02k0j30K0j2J28p1O7j13L5M5j00K33p4o4K9j95\n379892i68J76MNM4n6j4J06j19p1J31J00j27K3q1k0K9J06m0L6n0M2j15J30N3%J1\n391989f65j02J20n8r3K8J8o9j38M3l65L08L62J6O4lj77j9q6qK18j46mj89l21N22\n403592g44J28K0q7J42J86j38o4j20K7q4M0j5K9j27K21j14K30j05j33J49r9kq4\n414266g44l0J33nOm4N8L6k74R3k4K08j3l7qq6nR9Q1q8j04R2M33l84m7J16n5j41\n426839g34L9R8k8q9K37J05k8J88j057Q25K94l0j23Nj11J01j6J38m7J31l9L32j056\n437513h65J338k04j45n0j88j21qJ68k2J07K3P8K51J32p25K37j55p2M5l0J06Q3\n447740a7J76p4J36n0K70k15N5pj37j9N4R0k83j05N9K03K8K59k24J23k34J02p5\n458414A15qJ86P4n17J41K06k9rJ14o8r3J28j49R3R7L6L1j34K18l9j0J24N7O4j69\n470046D59n6J79j03R4J39P0o4J23mJ8J28K81M11M75o94k61O3L73L41M45p28j32\n480255A557p9J35J76L58P15J285L48o56L01J955M245l997k317r24p8j79K85M81\n488623C611O93J322J921K184K989Q907Q336j6377o179j604n67o3J83P31Q14J532\n496062H433L212O147J1363K3308j2711k2306p033k078j107k19K62Q53J040J998\n502561A1162M572Q772J9304K2554l2015j8134n465j866r96l31J76M60R50J998\n509088A1141M327Q968J9397J539k5879q530k674j360n53k80r6J88M49J364K609\n516034A0610N663J0663q494r760k821p70n48l18j23k26J10jM17Q93J874K663m305\n523938E527j872n21j83k06R2k35j32R0r6R5m6L40R0r09j6J1j50J79L9k74o9Ml7\n534629A721P9j97k8j6M8j39M7j0K11j42j24j38J18m9j0m3j87O7L8j7kM5m4o1k6\n546244A141n9J40l11K64k00j2J30j2R3k7J70J6j58K74J03o1l28j71j16P5n9L9\n556471I31J35J12p5m4j98K3%P4K4K1J8Q5q0J37o3M9k41l3j06L9p1L2J15l0j39\n568103G15Q8J35j7Q8L8j03j65j63Q2j32p8n0K0n2K41M97M33K38N88K30j50m72\n578312B011l49k55p3J46pj8J11J90N9M9N6p2J08N7Q2n1K4j12P5M1j92J08lO6L7\n589944B088J7P3J68P4J34k5K10O3K16J65L89K42M26K50P77R66J340J427K641N746\n599224A7387R509J2804J8471K4606J9181P289l462m194q877j8879k4163j8109\n604793C1563j0599m738k053j279o99m62p75j82L9M68m08j54r48o72p64n41n32\n612686G264m16m58l89m45k45k52k42k09j33k24k01k63k41k12k72r4k13J3L58l10\n621995B816j04L2j60P4N26j14j45j14J31M0j94p8r2J22J42j06J45l3m1O0J3k25\n632222B695Q2k01j00qJ02l8j77m3l0K0j56n0L7O0j03p3p3k3q9j0j71N1r3k2j57\n643836A430O2j54N4l1o5P5m1L3j87J00m0N9j63M1k%j81j6O5j24L7%m1R1j05O3\n655904I60k4J8J60L55P16J890j721r34j78k2j05l0l7J7l5J18K66K88R44K338N76\n665667E560l623n49j47l5j05p3k2M9P0J2N4K39O84J366j723o66l1p8J8j42N4j2\n675904I00K8j74O5n3n2n4o9K6r6M3N1K2qq4M0p1J00j73K8Jn0J07J2K9l9l4R6j79\n688913D12J4M8j30P7NJ9l1q7P4K5qQn7l0J17j79J16%j9r9N2k7K0Rk2K2L0J0j14\n702386B55O6J1p6L1k2j00O0o8l2Q9L3j04M5M5j02Nj8Q0o4j6m5k0j23N0p7l7j40\n714919b74k08K59Q72k90l3qo2n7j03k7j8L8j47m6k44P01K86r9p9q6O5r9j76J41\n726086C06Q9r6p2O4N8jm8rj8L6m2m9N4r6MP5L4j51N6%J03j14k4J1l8J12K6n0M5\n739559B65j39J36p0nJ07j56L7K9l6J12r9J83q0r3L3M9n3K7r4J37l1q7O2oj11L6\n751627A53m6P6N5Mm5QO5L9j43JO7q8l5P1l3l6J80Lj21P5n5P5J2n9o2l4K2J48j4\n765128B83k0n8j26J48q8P0j0K6j43J27qN2N4j41O1J13K6J04j97nn2j38J69j32\n776267A15L6j05R4M7NK8K2k20k0J81j46N6M6J23j81Q8O8o3l7M8J86j48l8Lj1J48\n788335C25q1r1J09k6K6J7j24J6q2K0NK4j7P7L7M9J62k96rL8n3oJ3j5p0N6j19N0\n801372C5Q3M62o60L64o6K8P2p2N3k2Rl8N2k9p2M%j52K05n9k2MonL6j32M1j0R5\n814845A98r9nR4p0PP2n5M4%j1K9k8L4j24N3lJ10l4l2j35K03j99J85j02Q8Kq8l1\n827853A03orJ9m3N3J25j20M7j6l2M4K4p5J3P0q8J05j90R9J9J10p5Jl0j9J11k06\n840386C4J33M7J5j49J32N7j3j00n4Rl2R6j01j9J32jj03J7P6m5M3m1R1j91m0J07\n852483A00p3M5O3r2P7jL9k7o1J07j78J73Nn9M8j10M0q1J21j51Q4O9N6k06J97q5\n864562A00QO9r1l3Q7K5j07Pk9N8p5J42m6Q7j42K8j9pRk7jM3j6K4J38m5q3l3J32\n878035B03j99J8jm7NL6m1K21k07q0L5R4op0Q5m2j57J36L9j7KK8N6o0L5j6l3O5\n891032H2r7l3M6L4RO4k02N8J10J9m2qJ7j26O3M0P0J26L08P79K20j117j13m1l9\n902664B27j8%L6r7J19J17J57N72J070j761j35Q9k11j08J5J14r9R8M4Mk01N4L8\n913338A24r1M5r1NLK3j5l2J19K73J17K44M26r43k07n8j79J31J7p4J37K79n2K31\n924506D32K43L18l52l37j67R9l3j25J16j11L75m72n08K38L35j54J44l5L3n7k8\n934250d6J7K8p1J21o64o3L04J1M3k39k86p69Q38M21R5J0J64K21L68M12o25l29\n944477c9j79l14l25q4Q17mK45k57N71J028m00L29q12l43j43J32j16j07K1J63j77\n954250Fkl6l69M48j74p7k07j61j7j1k38j45j17l01l28J324j231J41j32r7M99K66\n964460i59R83J676K808P307K0228L6877J12117J96173k94009l4186j2180n906\n970029C0929n669j536j79J777N096J3899L0920Q2957K40207k87801n0773j4883\n975627D4944l934p966l258k091j347j272j379r44n24n6K5k263n46o26o58q27q22\n983520A6456n38q07p46o23n31o31j041K92n8o07k15n2m30l03k69j60q2j29l21\n992335I205n40R2l37L7l51L77J9P68k70l73J13L0j65l99l55k7J40n8k40J95K29\n1002098H090O45q77l04j61J6Q1K9M3r05j39M8L1q4j89o1k79j09J49k14M82k99p67\n1012335E226mJ97r4K7j18j47o6j64j20Jq3r8m0K2j50R7l7k7m2o4P8j40r4M1j49\n1023939D052j58K0k1J94p9Q7k5k03j08mK9q8k8q7O5P1J5R2L28J91J14J265j579\n1034641D143k54k11oj1k33O8j50M11J29N87k95P67o06o55j17l5j93m6P9j08N7l7\n1044840C284J64l7k82r1J38l8j58n2k5KNk16J37O4k8o1k8q1J9m7K3q8J4O8j03L5\n1056947B618j65j89j52R4K16K2M8J5j87J47j5N0k1j0q0l99j1L17q5J4l9L8l2N7\n1068086B251%o2m8O2j05k6Q0l2J2n6P6j33l5Q8m2rJ36j10j6j05O5j0JJ1m6j31J75\n1080648A991j56O3Q7jm2r2L8JL2n5J56r3j18J19m9o5J2l6k3PJ26k08M1J66o3m2\n1092726A796m0N5r7k3K9Q9rJ1l8oo7P9o4L6N3j58J0O2J0m4l9L8J06J3j12rl1j83\n1105724A467O6J45Nj73RJ38N6k04O6k6oon1O7M6p9J2k3J8pn3R8L0oq7O7M6j93J43\n1119197A565k9Po7J92J3k07P8mj3k0q4O6K3p8J42q2Pj73J47N6\n##END=\n';
  let spectrum = ChemDoodle.readJCAMP(spectrumJcampFile);
  spectrum.title = 'A Septet';
  spectrum.xUnit = '\u03B4';
  spectrum.minX = 1.57;
  spectrum.maxX = 1.96;
  observerSeptet.loadSpectrum(spectrum);
</script>

Showing an integration line:

<script>
  let observerNMR = new ChemDoodle.ObserverCanvas('observerNMR', 400, 200);
  observerNMR.styles.plots_showYAxis = false;
  observerNMR.styles.plots_showIntegration = true;
  observerNMR.styles.plots_flipXAxis = true;
  let spectrumJcampFile = '##TITLE= PAMOIC ACID in DMSO\n##JCAMP-DX= 5.00 $$From Command Line Converter 1.0\n##DATA TYPE= NMR Spectrum\n##DATA CLASS=  XYDATA\n\n##ORIGIN= Exported from Command Line Converter 1.0\n##OWNER= SVB\n##$URL= http://wwwchem.uwimona.edu.jm:1104/software/jcampdx.html\n##SPECTROMETER/DATA SYSTEM= NUTS EXPORT\n##.OBSERVE FREQUENCY= 300.149506\n##.OBSERVE NUCLEUS= ^1H\n##INSTRUMENTAL PARAMETERS= 1H\n##XUNITS= PPM\n##YUNITS= ARBITRARY UNITS\n##XFACTOR= 0.0000043007\n##YFACTOR= 1.5165470000\n##FIRSTX=   4.517287\n##FIRSTY= 17730.000000\n##LASTX=   8.817900\n##NPOINTS= 5288\n##MAXY= 1505971.000000\n##MINY= -10576.000000\n##DELTAX=   0.000813\n##XYDATA= (X++(Y..Y))\n1050360A1691j328K36k021j062J495o48k26R92j285J587j80j182J488k64J816k743\n1053377H366J593l87j633j058J052n23L142k476K139j059j403N28K320k30O67j891\n1056393I147N88l21O17K126l996L728k657m50J571k47o84k92J964j165j533J330\n1059429I726j092r9J482j563M16l80K115J427l764J735M96p9n16p77k14J1J195\n1062634A0119j161K30Q96N16o11n79L153m467Q56J449j981L816l71n18j760j071\n1065674H516K599k8p96J373j284k76K343j671r33K415k940K247J875l134J776o0\n1068709A2022o57J395k62p76k03j435N08R42k72k425O4J576J777k420M09J529l043\n1071915H729J597L328k594O14k619J907R87m626N441m31k036j471J838j540J112\n1074742A0236o59K642Q9j121l63J699j233q36o84K120p82Q90p30P94n27r54K275\n1077971A2856j635K022L6j17j73n92J795k024m75O781n335j558K2N59Q30k237M59\n1081172A1214L572k666K93K3r60J798J232k867K92O46q56J675k315k20M91o02P28\n1084401A1478r92n1J621j120J30J202j300n66Q81Ll5M78K58j344K359k289J754\n1087607A2467q16q63J04K330j36j045K966k416j760K116j195J458m67O24J153l658\n1090647A0862J589K303q18O12k120J129L86M52J05J76L41j689R59j116R82J191\n1093659A5344P30l073K556l295L873j660J345K32J073k34O7j05j513J187J329j956\n1096698A5900J347j332J867j140J710K4r47K309m37n15P36O73j427J745j301j035\n1099715A8177N271k487N1k71K25o30j067L245l398J572n10M82l5j272n74K638L75\n1102944B1792j018K03N33R07o12J177Q06n59J043j607j29J714J286J137j168K023\n1105956B7528P98j61K391q13K97J536K715j823L842m28J53J139j567j728K766m115\n1108996C2530J526J200j168J662J94J656j285K207j051J772j83J447q91J722M274\n1111819D5612j557P00N84M594j167M802j138M154Q6O301J139N304L887K117M874\n1114669H0292P243M990N152P000O685R178J0612J2860O849J6883J6266J7781J8430\n1117114B20221K6596K9142L6570L8408M6731N0182N1647M7591L5506K0531o064\n1119203E97061k8763m5440n6651o0089n3372m5065l9339l4890k6745j8934k0952\n1121270A66821j5677j2493j1105r317p590r494n767k438m129l055k573m581j579\n1123737G7023l903j058l798k568j031l242j433j475j540j238m067P94k541o37k26\n1126584D9060k484l442O71j288m7k527l02k814j417q88p00m5n36l575J587o86l287\n1129789B7280K411k991O2j203L76j051o05J70K1j379L77j268k841K907j376N16\n1132829B1406j164O82r88O93k578J197Q19j268J5m41j913J474l057M129j509l84\n1135845A7113k16o96q2J925q04p97P09p06J500J66K97r5q54j696M24j71R14K68\n1139240A7199l284K737j104j518J625J311k285p0K32n3Q47k879J751k22j201j881\n1142276A1205J150J622k441o14K838K033l918J051k205K784m358J156K679k798\n1144914A0184K349n15j103J676j059p35K299k316K98Q97k873N41J395l50J046l348\n1147949H386L107l130K987j936K242P26m65m56J3J150r08M97j564jQ69j778l56\n1151155I383M43k223J830j139m25J820r32L94l326J038l75R15Q04m34J571J55k801\n1154384F698J362L10o46L1j376R62q56l72N57J525m21m38Q9j211m33K531j358O5\n1157778G019k764K283l007L502J07Q42q49j5l218L032j208j117K348j453K55j630\n1160818D127K658O84j665j61j203O03J624k889K421k078O41J60M32q58L224k978\n1163830D742o53R75P88j387k18M36R44Q71k181K028j120j884M942k506Q81J86j292\n1167059E552J101j148J99n31Q18L75k89J49J020j882J639j761k36r52R93M52M5\n1170265E544Q01m19j754j445J660P24r28j148l208N147L514L183j972m050J064\n1173111F713j366Q3k21j340j05r9m41k017L019k027K476j956j89K985j913p35R31\n1176317C798n64J052j277J92k838M011p01j465J823k503L002k513K240M53j777\n1179167B933J053j480J214k324K184j981j213J810N6n89L21P03j501j479K854j184\n1182179A377M97K625j636j053q56p0K07O00Q57j090J546O25l329K536k515J55l62\n1185408A14J189p92K576p17N84j854K450o68j292j160K366j497L48m43R50j747\n1188425D07m8J566k776J445m08r9J628Q83K94j457J146k942L189p65j324J404p84\n1191630A359p71K1K15K048m01p8o92m06J60j852J322r68N59J09k50K229k617L610\n1195048C597m729J493O90j007K423J17q69J385k507O1Q52K875k459j764o4K399\n1198060B493q42n67R57o61R03p36j518j70N32k58J07K78R60l87J056j211j881J567\n1201478F22m60M51J276k742K596p16O51j080m09J612k277M29O1N28r11p9J174J86\n1204873I12j419n16K763j508N05J604k093J061n82J20N34o81j090K041j719J91\n1207913A23n22K231q37k409J959K70k043J080J13J996k014j74J419o92Q8m41k60\n1211119a13n37k746L119K75M69o24N25l52L22l73n29K316j983L89j447J918J33\n1214347G62j125k50p79L691j523J34o97j17r85J384o26l74K311q08j622J593k437\n1217553a468K217L56J20K38j051R31l062L360j441j372K914k695K280r5j182K002\n1220588B052k39j712J461j230k22q75J169j375K281j660k41O71j150j466K303j99\n1223605d32l58J847r10M95l314L271j335o95J010M49K175j956j181L258l302j035\n1226621b013M34J119O49j27k403L136j599J589l409J503M41J032j506k289L126\n1229468c17L67J032j774m00L35k47Q87k066L79R81J390o61k507K228o90J463m62\n1232696f2L59j904J521J392j687J337j622P90k688Q45L58J030k191K090j605K75\n1235713a762J043m49J442j138P82K7o83K57j466J554j331m39Q05K015j952N01N36\n1238937b58J2R78K01q99M90j090m17J21K158p23p39Q40J02j640n50r29J913k77\n1242332g07n29K037j359j521J939N83R95j839j082J730Q1l71N55l0l191L234l260\n1245538b735J604R76r16K203j105J93Q4r38J191j063j264N97J615m39k253K692\n1248578D42j236q66J865j016J06J188j575j56J148j311l36J165R34j288m15j520\n1251594b871J589M66K17k576K951k332K416j317j1J204J766j153M97j392l98J714\n1254629G70j714m13p9J25O54M25j850J917J224k21j211M96k580K715j414K34R55\n1257835C3j168J397q61j006J344n16m86k66J086r8o67l84J530J523k354j61P38\n1261064c16m10j230K860k106J186j137n12O15J257k053J316J322l81k040K492j60\n1264080G03k099K229o38j123m11o46n3j735K167L0k89K514j974n32K267j423j185\n1267305b198l54M82N56J768p68J656k888L416j960j281R45J06N3L66j020k11R10\n1270510d22O94n94o64j825J723n51M5k168N214l452R33j19l87J872o09j408K836\n1273739A118k43Q9P58l213J170L19k101J826P33j191o58J690M15j411q41J670j59\n1276945b9M60n80q50K51O41O25q30k252J537K75J062j931O53J086m08r86k72J271\n1280340b77j499K046j116j17p68l06K110l50n25n72J279j42k561K544j747l04L215\n1283569I10j923M00J238j512Q61n63k38l86k137M081r89j253J546k00q9j169O06\n1286774h17m61j082m05K040Q17k965R44M9K576M86k019J304J69j450J0J063j126\n1289999h67N82Q01p8j150J060o11q61J108j49j01m80K348l895J489Kk952K896P55\n1293394a03J134l25j947P92k07P32j101M41J091O44p12k624J422L45Q38j926J411\n1296623i5r74L46Q20O25l007K859j646M04p75l02L50l37j170J173R65J185k946\n1299828b525J162J514j102n83m51L13N43J068k489Q27J432j41L49j036m1j51p92\n1303057b103J717j227J810k56j097m51J070r08O39m00J915j550q32K032m42O7j851\n1306263a867J874p30j256K433k106R43N23j402N63n42k4J13n36J187k19m78N21\n1309468a003j849J991k35n91P39j501k78R89L40N62J743l812K246J38j69j681K00\n1312693b171P03OK01J211j379P72K03Q2J227j843J799q23j607l65K158j592M59\n1315898i59L35P22O30j437J87j295R82N73j88P9J32j289K52K499k788J463K00K56\n1319316C54o34j268R07j108J061k616R15R36K44m60l08j28K85p81P71L10J71J077\n1322711b72p58L81j557J772L183l113O0M6j731q0K671K56j496q59R17l23L43J590\n1326129A030l06l117J837O63j726J038o69p88J358l330J876R5J008L66k439K189\n1329146i15Q38N00n44N5K81o22j605J403j854M11k92J326j689K269p0P4J436k54\n1332564G48k988K454q80P15k258K607j256k7q04k194J741Q11l40J639k026P41O3\n1335770a254l28R70K59K17j256J151k202L42J303o97mJ33J331k25j77k547K075\n1338975i09N31j598k379K847L250m28o24o54q76J038k924j15J740J75Q55j577O68\n1342200i80m34J663m63r4q46K475j873J239j274j111R12q37K01n29J203j070K737\n1345405I19l554M94J687k576K274k91J029m29j135J229Q59k509L53n69K947m751\n1348445d023O73L255j876q38J619K4n79K78J324j869J528J662l016L344m978K829\n1351462f43K42k495Q67o6J585j97j993J346j291K700P49k690p8J214L45m96j622\n1354686b523M82m79j08m00K394j122l77m7J082m8O36o30m69j952K238K254j659\n1357892g28o88p93J120o69J443k40j589J811q41l36j40K278K17j122j862j993K324\n1361121a808J1J109M70j569L13q38J256j668J836j170J143Q93J6r95k209K100j873\n1364326b983N37J179J07q79J685J206k616J173K52j992Q67j235K137r62l72J4R87\n1367555h95j363L08P84J13J192l239J347R85q22J709k96J80J535j353K55k287q44\n1370761b691Q49q3j184k50L314k310K666k027j57q5K036k258J716m87N11m49J601\n1373985G12o49j839j243K128m89o50Q86q10K317l173N85p32L453p89L60j703m02\n1377191b038J755l99L33n39j157Q77O64j700M40K106j984J107J75l64j361J533\n1380207e52J9j477J208j08n15J510k147J632j616K112k304J649j869J101N50n12\n1383247a319j668J125J885L04O5r44r47R17o79j125j04J781j150k024L4K894Q27\n1386448a28J41l55j246J746k9l150J178J044j908J426J09o85R36k127K484J82j237\n1389677a619K642k144J736k056r53L899k900J153n00R47k508J333j598R15N49j\n1392694a105L07k95r81l09J217J554q94r52P73M83k929L230p52P11k415K67j40\n1395923b230k134L854M41j414J722k44j794j704L546k018O35p26O72L73l15J413\n1398935G7q00J92j367J489n2p69j356L319m070L071q07k112K823r9L39k298K346\n1402163g4p98k29J116k242j338L754m511L641j679K447l586J222j013K285K83k235\n1405180b957K409j567m48J754j482O02K4K324k189o0J355k32R9j928K917r00q48\n1408409a127O19j214K60q57n24Q13O24j115P21L4j464L655j728j872J493K312k054\n1411615a424J050r22P60j381R87o43N20R50k160R85j096K28J016O95p72j146J539\n1414839h14k42j98k1j080J161o39J676j754O95k39j095K306k051q32R20J312o46\n1418045a541j752J095p49K360Q71l581K390R43n97J160j140j260j280K220k32K83\n1421061h10n50j162J4K10J55P46J028q09l89j565M51J833J217j272j033p59M02\n1424290b293l73J967J96j63J254j660K47j250P64N55K45r41q05Q99J912j262j76\n1427496h84q97J633q81j178M20q60J762m75P68k771J901N8j4m04K66J901r50o65\n1430914a270K92K86j122k7j72P85J25J40j577j20J043P34j184P09N79r02P13o59\n1434309a627N29m55J19j611K359j818m61J041l26N2O93q92J078p5j085L402l932\n1437533c009K855j542r11P40J818k843J095Q56n95j00j02J254L18j663K593j955\n1440549a191j624J134L89M96j516J870J257j783K31l21j377J457k564J933j098\n1443400b707K433j889Q41m13K050k151O72J246q61j495K011l332L006j260j136\n1446223b985M011k966K172j431J161j558N13l81J049l68p76R78O48j294m9L4K52\n1449452i90l40L06p19J830J02j446j434J958j802P7Q94J363j310J141j241l0j27\n1452657a768J119j319R12J25o27J58l93O1n91J928K45j752Q87J397j286j52K269\n1455863A213k886J893k318K97K104j298p04J174m21J036K017k386m81k86K176k535\n1458898a405m37J303l711K726J603j875m58L273j876j165J598K67m04Mn76l59J76\n1462104a316O54M4R9q76O36P64k170K720q94r12N78m68M28L02K302k980j67j242\n1465522b498J007N13L48m83j625J030o3n67k43R9L31P8j108J390L236k339l86L43\n1468917i37p95O42k174K388p85j224J542n73q88L474j228j132L4J051q3n21O53\n1472146e56j843J088J662p41K10j063P55p20j090o39J67L034o32k378K292j115\n1475162a569j599J232J299L13r56Q23r7k831J758J473j144P5k12p12J711M90k600\n1478387b546P63R59o15j295K493j449J980j396J405j405K9J74m93n48J028k62L32\n1481592h46j86N01j681O14L3L27P55j200P55J315k057L95j765Q46J56m08P75J542\n1485010a29j474l1j587K352K30Q94j336K004k915K563j077j322j243J695J543k20\n1488027e3p61o1Ml92K46j537K446j842J310j736K150n61j235J02R50L00K94j63\n1491422e39j586J792o51J207o00n1j88k70j653K788m313K974o28o8J320p55K35\n1494651i86r41J179P31R83j29k449N71J933j489J057m294L138j115K380j280k207\n1497663b918K379j053O56J241j970m96J886l5n80j137j052M20J8K121J010k89j210\n1500892a009q3J296k39p21Q95k483P99M53Q32O90k157J350Q52j622N5J752m4p19\n1504286a03k290K102m37j954K02J581N37l03P19j505L038l140J516j862K61j65\n1507326a803J702L51m83l64m80L0k18K95j515p17J854j398J896m14J051j123Q36\n1510532e00Q92j235J08Q17o09o40N7L48L16j31N07n76j137J00M40J751p43O85k778\n1514139b328J667J040j404j99J133L46q38j217L095k422L10R95J035j78m84l69\n1517155A82l749K867J052k389J752j883Q71J921j149N65j972K579l195J049J640\n1520002A41p37L16r77J100R82j710J389j892n14O36l37k97L35n90L200k405l72\n1523207a732K239k66m45j841J96J897l055K590J676k074K91j705J055l24J430Q66\n1526224G98k305o9J552k010M75L324l136o48K165k248J157J743o14j029J017j2\n1529259A60q87L74k87n99o18n7N48o67J743j025j16J368m38j228n64J243J029J14\n1532654I3j910m27L86K00J845k65j223J351l78k201K557q30j392J198k92O4m53\n1535883a677K01J446l50O48l27k87o63R34K68O89p63j459J922k449J088P63n87\n1539088f03p35R21j171Q87J08R95j663J03p00K222m60j590J966k253K720j005L17\n1542317E9j755J715J263j863P43r41J651k250m17L47j2K748j509J266q81j725N21\n1545523a040j725K825o37P79k93o60O09K836k437M07k66o99J491j372O23k115R81\n1548747f93m59n66J348P27n74q68J5K727j401k242K742k76j12j576p57L83l97K989\n1552142A010k693j35K067j066N27j134K72J468J000j572J735k107n08M73M0k503\n1555182c126J221N59J142J154l440L007n02j54j131Q09J099j483N27n75J739n23\n1558198C23j495J783J72j214N87j116m01J601j149J131Q6p71p20J631q11j66J312\n1561404G83j835P85p77j59M347l559k51k81J077r81J104j382R61j997J640q35J838\n1564629D78m50R24p17J125k328J336l86P51j490r09O01j394J461J948m45L61l75\n1567857D91J65j208J583j860Q7M08M94o12J86j411P65L175l818m17J011P80Q49\n1571063F68M08j515J348M40L04l860J790j369K311j201R81j727P50N87j244L050\n1574080A721j663r78m00K824k030j79j700K434M83j219r5R33Q67p87J552k817J135\n1577308H1n62K256k313J53J699j892L97k41m29J14O19Q00k67j96N30o85l22K115\n1580703A857k172N86J351j062j186j255L798m033J690R09p49J365q69M17q44l33\n1583739e30J287k450J230K097q98O67l065M86J754j285j176J953Q4M9J38j750K24\n1586944a185L254j256O63k344K494j038j80R61l940Q55K982k047J782j669J920\n1589795A252m09k621K934j19m52n24K85n8r9Q02J300j797n32j496K012j722J450\n1592996B06j336R31L39p3J017P58j306n13Q54r13l55M60j57J675q03j284j049J955\n1596414D06o78J060j101q01J282Q3M11k25J601k112L56J180O15k640J748N05L23\n1599620B013n75k435K903l391J424P01K471j91k824O97M26q59J612p92j867q60\n1602659a547J434O87O97N7N07j452M59J139q52O07K21J808l693K900l031n4J631\n1605865A518l00j253L096r85k630M94j28J285l50M07J409j032J641p20j500J51\n1608900A103J53J947p06m47j845L44j692J115k73J176l7K69o92J568k146J930K90\n1612106B057L18o9k506j37K677j162J435n1J749j106m93j014M84p50J539j949J945\n1615312B967k517L328j029K37m91N79P41j583J717j411l62j149j176K367l5o92\n1618351A491K050j629p44J464J582k1R60n216J729J466k050J833Q60j534P30N34\n1621363C505l12k001R82k9K848p89n07K85l156L41L250j523k215K349k31m7k58\n1624592B492o55R44Q18j811O5k27k89O52R38j158J327J571k306n75N21l52J008\n1627798B963M20j392J154J036n45P70k595K73M89J719k037l27Q50k144P68P12o55\n1631027A459J369n58R83k251L450k906K420K424l411J45P38j251J955k600j273\n1633850F93N237k343O72M48j807P37m88J152J942m613K206r21J481J686n865L800\n1636890D017M28r1L58k469J322J205j069J568m32k233J538r02K300k3j921n7m4\n1640095C495K351j880J544j684M24m27J690j624j005M079j699l1L6j781L289r8\n1643135F679k906q7J471j30M33R61r79K193r06j723L43j787K216l057N071k122\n1646147E670J04l95o67K031J91k303J389N71j307O89J246m30J248r27k369K43J490\n1649376F474J563l484J968N35N69M36J008r96r53Q09N02k222N87N33J044j233j15\n1652582G025J657j708K315M56l33j473m86q96L206j402k38o25M02k61K33J694p5\n1655787I491J059J540J131l054L79K414k079O80O64l99K91k107l52l72M01O26J700\n1659016A2013j568L83J344p49N42N10q96l81R73p8O2l32PJ823m4K142l4j197P19\n1662600A5239p54J201J881k111O61j598p30m72J435k82j12j056J428m39l77M80\n1665635A4394J408O74l674J352J157j737K772l092Q94K4J373r08J253n40J309J001\n1668652A7660J58M57k319K817j57r37J644l97o22R13J898K65j634j12J838j343\n1671692B0129K756M01R68l05L380J742k63Q37O87K372j120J622K233J583L378p56\n1674704C9644K081L571K899N001L496J0757J2738J7499K5556L1357L8165K5462\n1676982B18226k765j2766m88P424k0035m2667l8533j8048r949n673m121J29M5K471\n1679621G3250l94N267K133M915L112J0168R270J2997K0097K8007L7743M6880N7823\n1682088C11268L4352J617m4K1869K1349m783m0177m3353k4738q928k1431l8405\n1684367B08596n0519l0378j7332j2206n857m042j695k270K078k341R94J986M966\n1686812I1980K032R646J1026J4390J9886L2171L9640M6061L5618O354j6425r464\n1689090B82915n041k6895n3025m9920l5849k0318j4558r346m897m422l879k925\n1691346E1840N97m030j434j440k030k636L208j946m08N09j293n65k507j939J423\n1694196C7349K1J090j967N79O01m016J267j992r72p74q3k4k505K243j736O86j230\n1697398B8537J233o38j337q41J72l43QJ140O05k733K200k405J896K38M90j931l13\n1700627B5978r95J606k131J177n65Q19N6j071Q88J288n58J350O17q6Q14m09K254\n1703832C1032j966l69n15K163j257R17k711J183q75q51R63P9J393N97k714K756\n1706872B9825k200P99p97L639n01K22J668J43k15j07R23L013L53K479o15L717M26\n1710078D2772Q44K797J815K112J60L526K497R97J2069N770J1724J6067K0226L2408\n1712735A55784L9214M7840J9956k5250k3562P40J6540K1246j0779n2189m9435k8955\n1714990A11150j5932j1448m146k307j710J579l50K513L780J842P256J0458P863\n1717458A10548J6013K0114K3707L5408L3833J3324j0941o165J5350K9383L9801\n1719547C20375K4021Q50j8575l7923k6402j768R689Q389l2200n9504m0937k6853\n1721803A19162j5494j0210n653o431m034J053J686q48K205R65M903O898J1522J5552\n1724460A21276J9832K5087L3782K9208p285k6777j4412J529J2518Q063l3999m6602\n1726715A22220l0186j6785j2257o007o795k780j883k478l590j301N16k654J453\n1729183C7473k188K76j311j57k010r44L64k867j195K346J96j897l010K258l233\n1732010B4101J797j524k156r9j311J763j539k66M65p8r03l55J69J589j043j009\n1735050A9601r62J41M72k018J330o48k17j292p36J93L57j23k906J126j217J970\n1738086A5071p75K910m282L435m56N2j839O21R34l64m44M41Q43j241k210J27j006\n1741291A1817M33m4J170q1k154K182j845o24m25J039J01o84l7K663j261j061P98\n1744497A1987R93N56p44m3M16m80j00j629J443R07L90j585m17q89J288j247M60\n1747726A1306j222J691k932Q18q11K557j627j655K538j243r94R17L09m45j706L658\n1750738A1159l222Q40M25J72M60J301k752N26j26N36j518K503j244j216Q56r16\n1753778G784N52m29O28k672Q02K304j446m44J336q79J32k75r26o29J932l920K955\n1756983F805m87j323K628j941m31M69N79j823K384o99j180j47k58K017l318P65\n1760023D040P08R0L39j83j54J531k890J246l61P02r80J458j353o20J1L09j93p8\n1763418C622Q48R76k026k14L21L651k919o89K356j945K702k810j186R10l9k114\n1766453A444L00K451j567K755j757K53K524k953P64J357k555K86J210p97K075J768\n1769470G558j484j737K707K506k238R9J462j531p70M55p76k182J672O90j910J561\n1772509F082j003J67j042j315K10K515J525q37k483K083r3o67N01o35J411k598\n1775521C821J624l27N22j831K373J300j0l66o48J948j603N87l80j082r98J747k627\n1778750D050J699M33j02R53m86j199J867l16n68k20q97p25N26J23j280J983l600\n1781956B241L559j591K33J251l518J250K346k419j866J686N29j592r2J913J126\n1784802E056k258J40J332J331j396J042j42j904J356M07O74j112j345m8L95J147\n1787818D675p41k07k323J540J332m282K085l61J631j888J593j015J543M83j158\n1790646B907p09J813j960o31p3J719N10j386L000l183N46J438J9j249K117O62n19\n1793870E021k821L317j424K74R29J221l195J835k326q04J371j697J958n31J981\n1796698E109j015J70R51l89k027l98J267O45o71k758K765J186n88j162j31P41M53\n1799927D148P29o98O22N67j073n41K91k880K854o82O54L66j253om32R34O25j177\n1803321C048J39P10L082j129l56M6O13k089k78J804k50n41k043K763j284J391p85\n1806550D841k841K614J759k312o48k91K19m03P40J89o86J941l126J822J726k563\n1809562B981K816n7M13R09j511L6K403j140J349k479J484j712R17k40P14j258l72\n1812791E253L858O88j27j007r59M11M58m00J126r21N61K66r86O53j046J768j465\n1815997H131k345K705J627j17o93J37K18K008K29k306J692k424L557m043K439l04\n1819037A0511j389L728n13K06o51J634j055J456l526L358j82j395K172k118K508\n1821859A4744k500k57qP89M06l18n79J023m42J134J316p04l30l98K747j503j153\n1825088A3967oJ392P16J838q56j16J641k289J565Q51M1L03J228R47j01J041N95\n1828294B2757L296M59q9R82K980R59R63O42N530J236K182K332J369N431L566M923\n1831329E9518L080N911P906J0914J0326J9790K7623L1283M8979N4684M5309L8850\n1833585C64173K6943J76J912O989j1770k1324l1899n8450n4861m5693l7268k5307\n1835863A13621j5682q511l158k456l469q07Q82j098L565K558K463M211R712R551\n1838502A11382J6445J4528K5552L2347M1974N2246M3704L6618O652j665o579k1076\n1840780C52128j0431j7488l9721m2567m9529m9048l2317j8898j4469o651p440n664\n1843059E7905l488k241k45l580l268r3j287j979j50j448J37k097K85j235j293j042\n1846071C4881l105K63j98p89m14j766j706R05j48l04j335J07k72q32r82j019J530\n1849300B4816j663Ko68k693N32J846j785k293J803N02L6K21l5k718R16q9k39J77\n1852695A8668j363p26N09r87K13M35O35p04j151J880n44j694J145j863J452q84\n1855711A5021J355j034k740M77j078Q72j231J965J8L008k501J68J063j878J977\n1858557A5462o39J136j408k272N443k653o05j96N05m90Q21q06L33j742O65J617\n1861574A5171j388P22j114m23j914J14K418r96j384r85j72K193j888J940l50J858\n1864614A3802j957L196n71m09R50K615l068j022r55K911J582l756N56N08p87o86\n1867626A2909K650j346p84K501m116K554J062r23l624R26J424j800K190K30l58\n1870476A3495j006K710J393l324K610k991J594O09j069K95q5m93K36P99j468J76\n1873493A3481K903j323k078K043m08l6N90k627K171J562k034p99J810j29j569N09\n1876528A4066l02K749n57k998J766J933k556J208O12R36k179k56K142j580M001\n1879355A8985j976K5J444j570K895o57J913j21M38j7K76n96Q23J431N69j533J570\n1882584B3899K185K5L407O97J486L437K619J975R96K898N310J033N187M668N074\n1885407F4896O400R054J1804J7824K0669L2457L9330M1276M4405M2931M4872L3752\n1887686D09670L461j1297j1748j7809m4331n6441m6999m5158l5213l0085j5169\n1889776I8881j0380m775o779o18r75k194L37L148n98L980K246K107L927Q010P307\n1892598A03624J1772J5790K1603K7090L6420M1253L9960L7425L9005J9629p808\n1894688C85763r768j3453k9806m6516n0483m0938l7955l2846k2828j4936j0874\n1896754G5360p274o758l998k606m721k441j355j513k390k46r08o59p67k64l056\n1899605C6404M22k287j298j35M11j995k758J203k150K38k517L97J729j946r87k440\n1902640B2291N1m69K159k474k269J198Q85k617j697J009j329J71O09m09O58o56\n1905657A7111k470j424K528M63j893K473k673K808j115r56K749k480Q77L72j832\n1908503A4538o0p18j593m86r51j229L036k308L28K77j867L335p56j514n0K007j01\n1911708A1888R68O05j608L406l067k043Q70m4O44j061k389K195J026J389o33q24\n1914725A1322N86J014k189M6o99j421J485j806J142q53j77n0j114K01k43q11J93\n1917954F626j967M15R25P61K19p30m67L157k889J782k696O74K91k191L947j699\n1920966F158j320j28R13R83M9P97j005k99j731k9Q34r91K49k157J977k76O88M80\n1924384E192j094J374j521M62L75k099K592j31M61j597j600K621q17r3L70l560\n1927400I35K32K463J059j924K12j314J355j572M7J515k058K377r32j244J629p86\n1930440A994k77J61L28J346k673K58K116L35j166q82n46m82J005j00q17J123K202\n1933646C925j060M26j526J422j476J199K147r06p8J576M75K763m307j490L643j886\n1936681D847j68j172j775j177K288l03R1K65p60q55K215j259J73j507J569O64k086\n1939887A050j294J591Q46L59m25o93O45j744K499q70o03k79J622M27k141J245J32\n1943116B367j175m68J918k159K237j385N95m93k412K66K449M68k154K568P95N2\n1946132C469J65o76k15J17J745Q8o48j463J127k074K846k592L823n80j882K138\n1949167E388j87o68J55j452K215j454J677n86j025j37Kj499N67K110M10k177k94\n1952373C045M019j344m16P36L92k077o04P8N63j531J287K140K6Q51K503n43N08\n1955579I633j222J485J46k32m27k920J258m13q77k333J248R51P78O24k52k13p84\n1958808F450J127Kk031K174n4r1L244k394j878j92m50J639J829k326m95O51P94\n1962013G999o11K283j913K14K153N49r95J41p74J136j359J582o03k88O78P59j397\n1965238I554j84j23K120j37n84M25o39j000J389O9J201L14M37o99K083o61J611\n1968443A5176M74L409l28R29J335P06o99J860j083L000J539K614P99M858K780P064\n1971483D4433L28N411O966N681L562O356M142O794K884R412Q736J2474J5443K7235\n1974117A59857L1015N0977P1506R5631J33624J55220J49372J06203L9621n1615\n1976017I41411j13907j51262j67697j58707j07944o5251l8527k4557j3268r610\n1977918I0681q548m106n813l195p935M19m068j100J361k554p65N94k155p49J362\n1980741E3429n538q79k429q13j843j170o79M5k559k149q14j381j804k863j6l68\n1983780B8169k599J063K7k920J684k105M50m604J233L7k618J631j866k042J368\n1986603A6908j777k106J668q38j491R99Q3j218J23K169k183J024r62n91K89r85\n1989643A1112j392J686k331l72k286L198m088L701k179q20P69j823J358J19M74\n1992466G126k372N58P10J344p79l0L3j047r86L151P4k01j01J145j219q42j700K957\n1995884G821J666k253K59j601o69j291L540k611M62p51L531l415n23j217o15R89\n1998900C322k529R04Q36k276J604K481k135J268O2j985J576q63J789j532L3J440\n2001940C995k272j63J92J670n65k315M58J573M56k110J744k06o49K96k5J239k076\n2005146A242J89j259J681r03K190o76K491k220J390j578l02n32k7j58P08j247j533\n2008370e44J556O85K552m041L47j252P68m43j76j334J969l06p15P58m0m99J30j273\n2011765a858Q67j990N92J444J713L07j103k592n86K781l012L552j911K069j442\n2014592a169l92L142m578Q72J186l613L932k30j313O1J732l390J693J077o87j469\n2017632c146n33K13k3K20N56j049R99P92m10Q18q35r03L84j462P35J682j756R73\n2021027b745j829J261k90n94J430m12Q32j587J406n18k139K285j170L57rJ46k58\n2024251c834l91j05J617m91P38k681N63L86N91j154O23j81K853j536J524m838K700\n2027457c616j8l29N4M59Pn17n13J027j182R17J791p40k638K519k73l3J248l736\n2030875e573J970J60j1o04j19N5M86n31J39N10j04r41J379N0j845Q75m38q01J446\n2034459c897j34l95k548L684j715Q54L17J261O47l363K51K434j863J4P87M73J76\n2037688c017J386j289m30J567j328K314j543K721k513Q02K196k245j556M39k004\n2040515d500Q82j263K286k236L38j947Q23K423O19k250j216O62J677j847N95n43\n2043551e497j016J804O8K05p32M92m96Q83j969O24L10O35j186J342k397K001R41\n2046756c988p17M44n45j65m85K277k5j275q63K30j734J179N93j751K245n72K81\n2049962d871j383J553\n##END=\n';
  let spectrum = ChemDoodle.readJCAMP(spectrumJcampFile);
  spectrum.title = 'Pamoic Acid in DMSO with Integration';
  spectrum.xUnit = 'ppm';
  spectrum.minX = 4.5;
  spectrum.maxX = 8.8;
  observerNMR.loadSpectrum(spectrum);
</script>

Get your work done with our popular desktop software.