-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAxion.html
More file actions
899 lines (816 loc) · 41.8 KB
/
Axion.html
File metadata and controls
899 lines (816 loc) · 41.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
<!DOCTYPE HTML>
<!--CREATED BY NICK JACOBSEN-->
<html lang="us">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>AXION Value Calculator</title>
<link rel="stylesheet" type="text/css" href="mystyle.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!--enables JQuery-->
<script src="commonjs.js"></script>
<!--Proper fonts for CLAAS-->
<link href="https://www.fontify.me/wf/30b7c05ed3c5a32d452ca39bba8147d6" rel="stylesheet" type="text/css"> <!--Titles/Headings reference with 92192 CLAAS neue helvetica 35thin-->
<link href="https://www.fontify.me/wf/18e2a1337607f8734ef443d978cb015f" rel="stylesheet" type="text/css"> <!--subheadlines reference with 72227 CLAAS Neue Helvetica 45 light-->
<link href="https://www.fontify.me/wf/800d997c339c0d0926c020a1edd1c9a0" rel="stylesheet" type="text/css"> <!--body reference with 71949 CLAAS Neue Helvetica 65 medium-->
<link href="https://www.fontify.me/wf/8d07f32883c790caccd89636d1eb5b47" rel="stylesheet" type="text/css"> <!--footnote reference with 115649 CLAAS Neue Helvetica 47 light condensed-->
<link href="https://www.fontify.me/wf/aff34d9b118b88af2245aba72ed961fd" rel="stylesheet" type="text/css"> <!--body condensed reference with 109817 CLAAS Neue helvetica 67 medium condensed-->
<!--warning if browser does not work-->
<noscript>
<p>Sorry, your browser does not support JavaScript. Value Calculator will not function properly.</p>
</noscript>
<!--end to warning-->
<!--insert CLAAS logo, and heading text-->
<a href="index.html"><img src="miscellaneous/logos/logo-2x.png" float="left" style='width:40%; padding-top:2em; padding-bottom:0.5em;'></a>
<img src="" name='dealerlogo' align="right" style='height:50px; padding-top:40px; padding-right:10px;'>
</head>
<body>
<div align='center'><h2>AXION Value Calculator</h2></div>
<div id="grad1" class='grad1'></div>
<form name="content" method="post" id="form1" style="border:5px">
<!--farm info-->
<br><fieldset class="part1">
<legend><b>1. Farm Information</b></legend>
<label for="farmname" class="fieldset1">Name:</label><input type="text" id="farmname" placeholder="First, Last" autofocus required></input>
<label for="farmlocation" class="fieldset1">Location:</label><input type="text" id="farmlocation" onchange="calculate()" placeholder="City, State/Province" required></input>
<label for="serialno" class="fieldset1">Serial:</label><input type="text" id="serial" style='width:80px;' required></input>
<label for="farmname" class="fieldset1">Dealer:</label><select name="dealername" id="dealername" style='width:180px;' required>
<option disabled selected>Select</option>
<option value='advancedag.png'>Advanced Ag Tractor Sales and Service</option>
<option value='AgAuthority.png'>Ag Authority</option>
<option value='AgWest.jpg'>AgWest</option>
<option value='agricenter.png'>Agricenter</option>
<option value='agricterra.png'>Agriterra Equipment</option>
<option value='agritex.png'>AGRITEX CENTRE QUEBEC INC.</option>
<option value='agritibi.jpg'>Agritibi</option>
<option value ='Aimsouth.png'>AIMSOUTH</option>
<option value='AlbertaAgCentre.jpg'>Alberta AG Centre</option>
<option value='allanequipment.png'>Allan Equipment</option>
<option value='altonleblanc.jpg'>Alton LeBlanc & Sons LLC</option>
<option value='altorfer.png'>ALTORFER Inc.</option>
<option value='aesjcb.png'>AMERICAN EQUIPMENT SERVICE, INC.</option>
<option value="applefarm.png">Apple Farm Service Inc.</option>
<option value='arnolds.png'>Arnold's of Kimball, Inc.</option>
<option value='audilet.png'>AUDILET TRACTOR SALES, Inc.</option>
<option value='bequip.png'>B EQUIPMENT Inc.</option>
<option value='bosse.png'>Bosse & Frere, Inc.</option>
<option value='briggs.png'>Briggs Equipment, Inc.</option>
<option>Brown's Farm Implement, LLC.</option>
<option value='burnips.png'>Burnips Equipment Co.</option>
<option value='butler.png'>Butler Machinery</option>
<option value='cain.png'>Cain Equipment</option>
<option value='caliber.png'>Caliber Equipment</option>
<option value='cawhc.png'>Canada West Harvest Centre Inc.</option>
<option value='chinn.png'>Chinn Equipment Company, Inc.</option>
<option value='claude.png'>CLAUDE JOYAL INC.</option>
<option value='cny.png'>CNY FARM SUPPLIES LLC</option>
<option value='deboer.png'>De Boer's Farm Equipment Ltd.</option>
<option value='dae.jpg'>Don Allison Equipment, Inc.</option>
<option>EATON & SON REPAIR</option>
<option value='elliot.png'>ELLIOT FARM EQUIPMENT LTD</option>
<option value='empire.png'>Empire CAT</option>
<option value='fosters.jpg'>Foster's Agri World</option>
<option>Frymire Equipment Inc.</option>
<option>Garage Champoux</option>
<option>GARAGE OSCAR BROCHU, Inc.</option>
<option value='genag.png'>genAG Inc.</option>
<option>GENE HOLLIDAY DBA</option>
<option value='gjs.png'>GJ's FARM EQUIPMENT</option>
<option value='gladegrove.png'>Glade & Grove Supply Co.</option>
<option value='glacock.png'>Glascock Equipment & Sales</option>
<option value='glenwood.jpg'>Glenwood Equipment Co., Inc.</option>
<option>GRANDVIEW FARM SUPPLY</option>
<option value='gregorypoole.png'>Gegory Poole Equipment</option>
<option>Haller Motor Worx LLC</option>
<option value='haney.jpg'>Haney Equipment</option>
<option value='hawke.jpg'>Hawke & Co AG Systems, Inc.</option>
<option value='hepson.gif'>Hepson Equipment Inc.</option>
<option value=hetrick.png>HETRICK FARM SUPPLY, INC.</option>
<option value='hjv.png'>HJV Equipment</option>
<option value='holt.png'>Holt of California</option>
<option value='huddleston.jpg'>Huddleston Equipment Sales and Service</option>
<option>HUPF's REPAIR CENTER</option>
<option value='ironcity.png'>Iron City Equipment</option>
<option>Jansen Farm Equipment Inc.</option>
<option value='vanostrum.png'>JG Van Oostrum Farm Equipment LTD</option>
<option value='kandl.png'>K & L Tractor Sales, Inc.</option>
<option value='kalvesta.gif'>Kalvesta Implement Co. Inc.</option>
<option value='brownlee.png'>Ken Brownlee & Sons Equipment Corp.</option>
<option value='koletzky.png'>KOLETZKY IMPLEMENT, INC.</option>
<option>L'Excellence Agridustrie de L'Estrie, Inc.</option>
<option value='lamb.png'>Lamb & Webster, Inc.</option>
<option>Lazy Diamond Farm Supply</option>
<option>LES ENTERPRISES R. RAYMOND, INC.</option>
<option>LES EQUIPEMENTS YVON RIVARD INC.</option>
<option value='linder.png'>Linder Equipment Co.</option>
<option value='Lindstrom.png'>Lindstrom Equipment, Inc.</option>
<option>LONGENECKER'S, INC.</option>
<option value='macallister.jpg'>MacAllister</option>
<option>MACHINERIE JNG THERIAULT, INC.</option>
<option>Maltais & Ouellet, Inc.</option>
<option value='mirtech.jpg'>MirTech Harvest Center Inc.</option>
<option value='weaver.jpg'>MM Weaver</option>
<option value='monroe.png'>Monroe Tractor</option>
<option value='mountainview.jpg'>Mountain View Equipment Company</option>
<option value='mullins.png'>MULLINS FARM SERVICE</option>
<option value="nands.png">N & S Tractor Co (Inc)</option>
<option value='nebharvestcenter.jpg'>Nebraska Harvest Center</option>
<option>Niemeyet Tractor & Farm Supplies</option>
<option value='nieboer.png'>Nieboer Farm Supplies</option>
<option value='nortex.png'>NorTex Tractor</option>
<option value='ohiocat.jpg'>Ohio CAT</option>
<option value='oversons.jpg'>Overson's Farm Center</option>
<option value='parmer.png'>Parmer County Implement Co, Inc.</option>
<option value='pentagon.png'>Pentagon Farm Centre</option>
<option value='pickens.png'>PICKEN'S FARM EQUIPMENT, INC.</option>
<option value='peterson.png'>Peterson CAT</option>
<option>R & M Tractor & Supply, Inc.</option>
<option value='randall.png'>RANDALL IMPLEMENTS CO, INC.</option>
<option value='reberland.jpg'>Reberland Equipment, Inc.</option>
<option value='reis.png'>Reis Equipment Center Ltd.</option>
<option>REXROAD EQUIPMENT</option>
<option value='ritchie.png'>Ritchie Implement, Inc.</option>
<option value='rocky.png'>Rocky Mountain Equipment</option>
<option>Rutledge Repair</option>
<option value='shaeperkoetter.jpg'>Schaeperkoetter Sales & Service</option>
<option value='scholtens.png'>Scholten's Equipment, Inc.</option>
<option value='sam.jpg'>SERVICE AGROMECANIQUE, INC.</option>
<option value='service.png'>Service Motor Company, Inc.</option>
<option value='shakers.png'>Shaker Equipment</option>
<option value='sherwood.png'>Sherwood Equipment</option>
<option value='smiths.png'>Smith's Equipment Sales</option>
<option value='smiths2.png'>Smith's Farm Equipment, LLC</option>
<option value='smiths3.jpg'>Smith Tractor Co., Inc.</option>
<option value='stigler.png'>STIGLER MILLING CO. LLC</option>
<option value='sunova.png'>Sunova Implement Ltd.</option>
<option value='taylor.jpg'>Taylor Implement Co, Inc.</option>
<option value='thompson.png'>Thompson Machinery</option>
<option value='tingley.png'>Tingley Implements</option>
<option value='T&E.jpg'>Tractor & Equipment Co.</option>
<option>Trenary Implement Co.</option>
<option value='vanderloop.png'>Vanderloop Equipment, Inc.</option>
<option value='weaver2.png'>Weaver AG & Lawn Equipment</option>
<option value='whayne.png'>Whayne Supply</option>
<option value='ziegler.jpg'>Ziegler Inc.</option>
</select>
</fieldset>
<br>
<fieldset class="part2">
<legend><b>2. Basic Information</b></legend>
<table>
<colgroup>
<col width="12.5%"><col width="12.5%"><col width="12.5%"><col width="12.5%">
<col width="12.5%"><col width="12.5%"><col width="12.5%"><col width="12.5%">
</colgroup>
<td align='right'><label for="laborprice">Labor Rate:</label><td align='left'><input type="number" step="any" id="laborprice" min="1" max="50" style="width:50px; text-float:right;" onchange='dothemath();' value="18" required>$/hr
<td align='right'><label for="fuelprice">Fuel Price:</label><td align='left'><input type="number" id="fuelprice" min="0" max="10" step="any" style="width:50px; text-float:right;" onchange='dothemath();' value="2.00" required>$/gal
<td align='right'><label for="DEF Price">DEF Price:</label><td align='left'><input type="number" step="any" id="defprice" min="0" max="10" style="width:50px; text-float:right;" onchange='dothemath();' value="5.76" required>$/gal
<td align='right'><label for="efficiency">Efficiency:</label><td align='left'><input type="number" id="efficiency" min="0" max="100" style="width:50px; text-float:right;" onchange='dothemath();' value="85" required > %
</table>
</fieldset><br>
<!-- <div id="watermarkREMOVEME">
<p id="watermarktextREMOVEME">Work in Progress</p>
</div> -->
<fieldset class="part3">
<legend><b>3. Performance Comparison</b></legend>
<table>
<colgroup>
<col width="20%"><col width="30%"><col width="10%"><col width="30%">
</colgroup>
<tr>
<td>
<td><select name="tractorpick" size="1" id="claastype" style="width:150px; text-float:center;" onclick='dothemath()' required>
<option value="" disabled selected>Select</option>
<option value="200">AXION 810</option>
<option value="215">AXION 820</option>
<option value="215">AXION 830</option>
<option value="230">AXION 840</option>
<option value="245">AXION 850</option>
<option value="250">AXION 860</option>
<option value="265">AXION 880</option>
<option value="320">AXION 920</option>
<option value="350">AXION 930</option>
<option value="380">AXION 940</option>
<option value="405">AXION 950</option>
<option value="440">AXION 960</option>
</select>
<td float="center"> VS </td>
<td style='text-wrap:nowrap;'><label for='meal' id='groupname' ></label>
<select name="meal" style="width:150px;" id="tractorpick2" onclick='dothemath()' required>
<option value="" disabled selected>Select</option>
<optgroup label='Case IH'>
<option value="400"> Steiger 400 T4i</option>
<option value="450"> Steiger 450 T4i</option>
<option value="500"> Steiger 500 T4i</option>
<option value="550"> Steiger 550 T4i</option>
<option value="600"> Steiger 600 T4i</option>
<option value="370"> Steiger 370</option>
<option value="420"> Steiger 420</option>
<option value="470"> Steiger 470</option>
<option value="500"> Steiger 500</option>
<option value="540"> Steiger 540</option>
<option value="580"> Steiger 580</option>
<option value="620"> Steiger 620</option>
</optgroup>
<optgroup label='Challenger'>
<option value="380"> MT765E</option>
<option value="405"> MT775E</option>
<option value="410"> MT835C</option>
<option value="440"> MT845C</option>
<option value="460"> MT845E</option>
<option value="475"> MT855C</option>
<option value="500"> MT855E</option>
<option value="525"> MT865C</option>
<option value="550"> MT865E</option>
<option value="585"> MT875C</option>
<option value="600"> MT875E</option>
<option value="380"> MT765E</option>
</optgroup>
<optgroup label='John Deere'>
<option value="410"> 9370R</option>
<option value="420"> 9410R T4i</option>
<option value="420"> 9420R</option>
<option value="460"> 9460R T4i</option>
<option value="470"> 9470RT</option>
<option value="470"> 9470RX</option>
<option value="510"> 9510R T4i</option>
<option value="520"> 9520R</option>
<option value="520"> 9520RT</option>
<option value="520"> 9520RX</option>
<option value="560"> 9560R T4i</option>
<option value="570"> 9570R</option>
<option value="570"> 9570RT</option>
<option value="570"> 9570RX</option>
<option value="620"> 9620R</option>
<option value="620"> 9620RX</option>
<option value="570"> 9570R</option>
</optgroup>
<optgroup label='Versatile'>
<option value="400"> 400</option>
<option value="450"> 450</option>
<option value="450"> 450DT</option>
<option value="500"> 500</option>
<option value="500"> 500DT</option>
<option value="550"> 550</option>
<option value="550"> 550DT</option>
</optgroup>
<optgroup label='Other manufacturer'>
<option value="0">Other</option>
</optgroup>
</select>
</tr>
<tr>
<td>Ownership Cost<td float="center"><input type="number" id="ownercost1" style="width:70px; text-float:right;" onchange='dothemath();' value="88"> $/hr
<td><td float="center"><input type="number"id="ownercost2" style="width:70px; text-float:right;" onchange='dothemath();' value="70"> $/hr
</tr>
<tr>
<td>Maintenance Cost<td float="center"><input type="number" step="any" id="maincost1" style="width:70px; text-float:right;" onchange='dothemath();' value="0.25"> $/hr
<td><td float="center"><input type="number" step="any" id="maincost2" style="width:70px; text-float:right;" onchange='dothemath();' value="0.30"> $/hr
</tr>
</table>
<input type="checkbox" id="stcheck" onclick="dothemath()" >Tillage<br>
<div id="tr1" style="display:none;">
<table style="text-align:left;">
<colgroup>
<col width="20%"><col width="20%"><col width="20%"><col width="20%"><col width="20%">
</colgroup>
<tr>
<td align='right' colspan='2'>Acres: <input type="number" id="stacres" style="width:70px; text-float:right;" onchange='dothemath();' value="2000" required>
<td align='right' colspan='2'>Implement Width: <input type="number" id="stwidth" style="width:50px; text-float:right;" onchange='dothemath();' value="30" required> ft
<td>
</tr>
<tr>
<td align='right'>Speed <td><input type="number" id="stspeed1" style="width:70px; text-float:right;" onchange='dothemath();' value="3" required> mph
<td align='right'>Speed <td><input type="number" id="stspeed2" style="width:70px; text-float:right;" onchange='dothemath();' value="2.8" required> mph
<td>
</tr>
<tr>
<td align='right'>Fuel <td><input type="number" id="stfuel1" style="width:70px; text-float:right;" onchange='dothemath();' value="1" required> gal/hr
<td align='right'>Fuel <td><input type="number" id="stfuel2" style="width:70px; text-float:right;" onchange='dothemath();' value="2" required> gal/hr
<td>
</tr>
<tr>
<td align='right'>DEF <td><input type="number" id="stdef1" style="width:70px; text-float:right;" onchange='dothemath();' value="0.5"required> gal/hr
<td align='right'>DEF <td><input type="number" id="stdef2" style="width:70px; text-float:right;" onchange='dothemath();' value="0.7" required> gal/hr
<td>
</tr>
</table>
</div>
<br><input type="checkbox" id="ftcheck" onclick="dothemath()">Mowing<br>
<div id="tr2" style="display:none;">
<table style="text-align:left;">
<colgroup>
<col width="20%"><col width="20%"><col width="20%"><col width="20%"><col width="20%">
</colgroup>
<tr>
<td align='right' colspan='2'>Acres: <input type="number" id="ftacres" style="width:70px; text-float:right;" onchange='dothemath();' value="1000" required>
<td align='right' colspan='2'>Implement Width: <input type="number" id="ftwidth" style="width:50px; text-float:right;" onchange='dothemath();' value="32" required> ft
<td>
</tr>
<tr>
<td align='right'>Speed <td><input type="number" id="ftspeed1" style="width:70px; text-float:right;" onchange='dothemath();' value="1.3" required> mph
<td align='right'>Speed <td><input type="number" id="ftspeed2" style="width:70px; text-float:right;" onchange='dothemath();' value="1.0" required> mph
<td>
</tr>
<tr>
<td align='right'>Fuel <td><input type="number" id="ftfuel1" style="width:70px; text-float:right;" onchange='dothemath();' value="1" required> gal/hr
<td align='right'>Fuel <td><input type="number" id="ftfuel2" style="width:70px; text-float:right;" onchange='dothemath();' value="1.1" required> gal/hr
<td>
</tr>
<tr>
<td align='right'>DEF <td><input type="number" id="ftdef1" style="width:70px; text-float:right;" onchange='dothemath();' value="0.5" required> gal/hr
<td align='right'>DEF <td><input type="number" id="ftdef2" style="width:70px; text-float:right;" onchange='dothemath();' value="0.7" required> gal/hr
<td>
</tr>
</table>
</div>
<br><input type="checkbox" id="ppcheck" onclick="dothemath()">Pit Packing<br>
<div id="tr3" style="display:none;" float="left">
<table style="text-align:left;">
<colgroup>
<col width="20%"><col width="20%"><col width="20%"><col width="20%"><col width="20%">
</colgroup>
<tr>
<td colspan='2'>Operational Hours <input type="number" id="pphrs1" style="width:70px; text-float:right;" onchange='dothemath();' value="200" required>
<td><td colspan='2'>Operational Hours <input type="number" id="pphrs2" style="width:70px; text-float:right;" onchange='dothemath();' value="200" required>
</tr>
<tr>
<td align='right'>Fuel <td><input type="number" id="ppfuel1" style="width:70px; text-float:right;" onchange='dothemath();' value="1.0" required> gal/hr
<td align='right'>Fuel <td><input type="number" id="ppfuel2" style="width:70px; text-float:right;" onchange='dothemath();' value="1.1" required> gal/hr
<td>
</tr>
<tr>
<td align='right'>DEF <td><input type="number" id="ppdef1" style="width:70px; text-float:right;" onchange='dothemath();' value="1.00" required> gal/hr
<td align='right'>DEF <td><input type="number" id="ppdef2" style="width:70px; text-float:right;" onchange='dothemath();' value="1.1" required> gal/hr
<td>
</tr>
</table>
</div>
<br><input type="checkbox" id="mhcheck" onclick="dothemath()">Manure Hauling<br>
<div id="tr4" style="display:none;">
<table style="text-align:left;">
<colgroup>
<col width="20%"><col width="20%"><col width="20%"><col width="20%"><col width="20%">
</colgroup>
<tr>
<td colspan='2'>Operational Hours <input type="number" id="mhhrs1" style="width:70px; text-float:right;" onchange='dothemath();' value="50" required>
<td><td colspan='2'>Operational Hours <input type="number" id="mhhrs2" style="width:70px; text-float:right;" onchange='dothemath();' value="50" required>
</tr>
<tr>
<td align='right'>Fuel <td><input type="number" id="mhfuel1" style="width:70px; text-float:right;" value="1.0" onchange='dothemath();' required> gal/hr
<td align='right'>Fuel <td><input type="number" id="mhfuel2" style="width:70px; text-float:right;" value="1.1" onchange='dothemath();' required> gal/hr
</tr>
<tr>
<td align='right'>DEF <td><input type="number" id="mhdef1" style="width:70px; text-float:right;" onchange='dothemath();' value="1" required> gal/hr
<td align='right'>DEF <td><input type="number" id="mhdef2" style="width:70px; text-float:right;" onchange='dothemath();' value="1.1" required> gal/hr
</tr>
</table>
</div>
<br><input type="checkbox" id="spcheck" onclick="dothemath()">Seeding / Planting<br>
<div id="tr5" style="display:none;">
<table style="text-align:left;">
<colgroup>
<col width="20%"><col width="20%"><col width="20%"><col width="20%"><col width="20%">
</colgroup>
<tr>
<td colspan='2' align='right'>Acres: <input type="number" id="spacres" style="width:70px; text-float:right;" onchange='dothemath();' value="2000" required>
<td colspan='2' align='right'>Implement Width: <input type="number" id="spwidth" style="width:50px; text-float:right;" onchange='dothemath();' value="40" required> ft
<td>
</tr>
<tr>
<td align='right'>Speed <td><input type="number" id="spspeed1" style="width:70px; text-float:right;" onchange='dothemath();' value="5" required> mph
<td align='right'>Speed <td><input type="number" id="spspeed2" style="width:70px; text-float:right;" onchange='dothemath();' value="4.5" required> mph
<td>
</tr>
<tr>
<td align='right'>Fuel <td><input type="number" id="spfuel1" style="width:70px; text-float:right;" onchange='dothemath();' value="1" required> gal/hr
<td align='right'>Fuel <td><input type="number" id="spfuel2" style="width:70px; text-float:right;" onchange='dothemath();' value="1.1" required> gal/hr
<td>
</tr>
<tr>
<td align='right'>DEF <td><input type="number" id="spdef1" style="width:70px; text-float:right;" onchange='dothemath();' value="1" required> gal/hr
<td align='right'>DEF <td><input type="number" id="spdef2" style="width:70px; text-float:right;" onchange='dothemath();' value="1.1" required> gal/hr
<td>
</tr>
</table>
</div>
</fieldset><br>
<script>
//written by Nick Jacobsen
function dothemath() {
if (document.getElementById("stcheck").checked) {
document.getElementById("tr1").style.display = "inline";
document.getElementById("tr6").style.display = "inline";
} else {
document.getElementById("tr1").style.display = "none";
document.getElementById("tr6").style.display = "none";
document.getElementById('stacres').value = 0;
document.getElementById('stwidth').value = 0;
document.getElementById('stspeed1').value = 0;
document.getElementById('stspeed2').value = 0;
document.getElementById('stfuel1').value = 0;
document.getElementById('stfuel2').value = 0;
document.getElementById('stdef1').value = 0;
document.getElementById('stdef2').value = 0;
}
if (document.getElementById("ftcheck").checked) {
document.getElementById("tr2").style.display = "inline";
document.getElementById("tr7").style.display = "inline";
} else {
document.getElementById("tr2").style.display = "none";
document.getElementById("tr7").style.display = "none";
document.getElementById('ftacres').value = 0;
document.getElementById('ftwidth').value = 0;
document.getElementById('ftspeed1').value = 0;
document.getElementById('ftspeed2').value = 0;
document.getElementById('ftfuel1').value = 0;
document.getElementById('ftfuel2').value = 0;
document.getElementById('ftdef1').value = 0;
document.getElementById('ftdef2').value = 0;
}
if (document.getElementById("ppcheck").checked) {
document.getElementById("tr3").style.display = "inline";
document.getElementById("tr8").style.display = "inline";
} else {
document.getElementById("tr3").style.display = "none";
document.getElementById("tr8").style.display = "none";
document.getElementById('pphrs1').value = 0;
document.getElementById('pphrs2').value = 0;
document.getElementById('ppfuel1').value = 0;
document.getElementById('ppfuel2').value = 0;
document.getElementById('ppdef1').value = 0;
document.getElementById('ppdef2').value = 0;
}
if (document.getElementById("mhcheck").checked) {
document.getElementById("tr4").style.display = "inline";
document.getElementById("tr9").style.display = "inline";
} else {
document.getElementById("tr4").style.display = "none";
document.getElementById("tr9").style.display = "none";
document.getElementById('mhhrs1').value = 0;
document.getElementById('mhhrs2').value = 0;
document.getElementById('mhfuel1').value = 0;
document.getElementById('mhfuel2').value = 0;
document.getElementById('mhdef1').value = 0;
document.getElementById('mhdef2').value = 0;
}
if (document.getElementById("spcheck").checked) {
document.getElementById("tr5").style.display = "inline";
document.getElementById("tr10").style.display = "inline";
} else {
document.getElementById("tr5").style.display = "none";
document.getElementById("tr10").style.display = "none";
document.getElementById('spacres').value = 0;
document.getElementById('spwidth').value = 0;
document.getElementById('spspeed1').value = 0;
document.getElementById('spspeed2').value = 0;
document.getElementById('spfuel1').value = 0;
document.getElementById('spfuel2').value = 0;
document.getElementById('spdef1').value = 0;
document.getElementById('spdef2').value = 0;
}
var laborprice = document.getElementById("laborprice").value;
var fuelprice = document.getElementById("fuelprice").value;
var defprice = document.getElementById("defprice").value;
var efficiency = document.getElementById("efficiency").value;
var ownercost1 = document.getElementById("ownercost1").value;
var ownercost2 = document.getElementById("ownercost2").value;
var maincost1 = document.getElementById("maincost1").value;
var maincost2 = document.getElementById("maincost2").value;
<!--Tillage-->
var stfuel1 = document.getElementById("stfuel1").value * fuelprice;
var stfuel2 = document.getElementById("stfuel2").value * fuelprice;
var stdef1 = document.getElementById("stdef1").value * defprice;
var stdef2 = document.getElementById("stdef2").value * defprice;
var stpro1 = (document.getElementById("stwidth").value * document.getElementById("stspeed1").value * 0.1212 * efficiency / 100);
var stpro2 = (document.getElementById("stwidth").value * document.getElementById("stspeed2").value * 0.1212 * efficiency / 100);
var stpro12 = (stpro1-stpro2).toFixed(2);
document.getElementById("td2").innerHTML = stpro1.toFixed(2) + "ac/hr";
document.getElementById("td3").innerHTML = stpro2.toFixed(2) + "ac/hr";
document.getElementById("td4").innerHTML = addCommas(stpro12) + "ac/hr";
var sttothrs1 = (document.getElementById("stacres").value / stpro1);
var sttothrs2 = (document.getElementById("stacres").value / stpro2);
document.getElementById("td5").innerHTML = sttothrs1.toFixed(2);
document.getElementById("td6").innerHTML = sttothrs2.toFixed(2);
document.getElementById("td7").innerHTML = (sttothrs2-sttothrs1).toFixed(2);
var stopcost1 = (stfuel1 + stdef1 + +ownercost1 + +maincost1 + +laborprice);
var stopcost2 = (stfuel2 + stdef2 + +ownercost2 + +maincost2 + +laborprice);
document.getElementById("td8").innerHTML = stopcost1.toFixed(2) + " $/hr";
document.getElementById("td9").innerHTML = stopcost2.toFixed(2) + " $/hr";
document.getElementById("td10").innerHTML = (stopcost1 - stopcost2).toFixed(2) +"$/hr";
var stopcost3 = (stopcost1 * sttothrs1).toFixed(2);
var stopcost4 = (stopcost2 * sttothrs2).toFixed(2);
var stopcost34 = (stopcost4 - stopcost3).toFixed(2);
document.getElementById("td11").innerHTML = "$" + addCommas(stopcost3);
document.getElementById("td12").innerHTML = "$" + addCommas(stopcost4);
document.getElementById("td13").innerHTML = "$" + addCommas(stopcost34);
<!--Mowing-->
var ftfuel1 = document.getElementById("ftfuel1").value * fuelprice;
var ftfuel2 = document.getElementById("ftfuel2").value * fuelprice;
var ftdef1 = document.getElementById("ftdef1").value * defprice;
var ftdef2 = document.getElementById("ftdef2").value * defprice;
var ftpro1 = (document.getElementById("ftwidth").value * document.getElementById("ftspeed1").value * 0.1212 * efficiency / 100);
var ftpro2 = (document.getElementById("ftwidth").value * document.getElementById("ftspeed2").value * 0.1212 * efficiency / 100);
document.getElementById("td14").innerHTML = ftpro1.toFixed(2) + "ac/hr";
document.getElementById("td15").innerHTML = ftpro2.toFixed(2) + "ac/hr";
document.getElementById("td16").innerHTML = (ftpro1-ftpro2).toFixed(2) + "ac/hr";
var fttothrs1 = (document.getElementById("ftacres").value / ftpro1);
var fttothrs2 = (document.getElementById("ftacres").value / ftpro2);
document.getElementById("td17").innerHTML = fttothrs1.toFixed(2);
document.getElementById("td18").innerHTML = fttothrs2.toFixed(2);
document.getElementById("td19").innerHTML = (fttothrs2-fttothrs1).toFixed(2);
var ftopcost1 = ftfuel1 + ftdef1 + +ownercost1 + +maincost1 + +laborprice;
var ftopcost2 = ftfuel2 + ftdef2 + +ownercost2 + +maincost2 + +laborprice;
document.getElementById("td20").innerHTML = ftopcost1.toFixed(2) + " $/hr";
document.getElementById("td21").innerHTML = ftopcost2.toFixed(2) + " $/hr";
document.getElementById("td22").innerHTML = (ftopcost1 - ftopcost2).toFixed(2) +"$/hr";
var ftopcost3 = (ftopcost1 * fttothrs1).toFixed(2);
var ftopcost4 = (ftopcost2 * fttothrs2).toFixed(2);
var ftopcost34 = (ftopcost4 - ftopcost3).toFixed(2);
document.getElementById("td23").innerHTML = "$" + addCommas(ftopcost3);
document.getElementById("td24").innerHTML = "$" + addCommas(ftopcost4);
document.getElementById("td25").innerHTML = "$" + addCommas(ftopcost34);
<!--Pit Packing-->
var ppfuel1 = document.getElementById("ppfuel1").value * fuelprice;
var ppfuel2 = document.getElementById("ppfuel2").value * fuelprice;
var ppdef1 = document.getElementById("ppdef1").value * defprice;
var ppdef2 = document.getElementById("ppdef2").value * defprice;
var pptothrs1 = (document.getElementById("pphrs1").value);
var pptothrs2 = (document.getElementById("pphrs2").value);
document.getElementById("td26").innerHTML = pptothrs1;
document.getElementById("td27").innerHTML = pptothrs2;
document.getElementById("td28").innerHTML = (pptothrs2-pptothrs1).toFixed(2);
var ppopcost1 = ppfuel1 + ppdef1 + +ownercost1 + +maincost1 + +laborprice;
var ppopcost2 = ppfuel2 + ppdef2 + +ownercost2 + +maincost2 + +laborprice;
document.getElementById("td29").innerHTML = ppopcost1.toFixed(2) + " $/hr";
document.getElementById("td30").innerHTML = ppopcost2.toFixed(2) + " $/hr";
document.getElementById("td31").innerHTML = (ppopcost1 - ppopcost2).toFixed(2) +"$/hr";
var ppopcost3 = (ppopcost1 * pptothrs1).toFixed(2);
var ppopcost4 = (ppopcost2 * pptothrs2).toFixed(2);
var ppopcost34 = (ppopcost4 - ppopcost3).toFixed(2)
document.getElementById("td32").innerHTML = "$" + addCommas(ppopcost3);
document.getElementById("td33").innerHTML = "$" + addCommas(ppopcost4);
document.getElementById("td34").innerHTML = "$" + addCommas(ppopcost34);
<!--Manure Hauling-->
var mhfuel1 = document.getElementById("mhfuel1").value * fuelprice;
var mhfuel2 = document.getElementById("mhfuel2").value * fuelprice;
var mhdef1 = document.getElementById("mhdef1").value * defprice;
var mhdef2 = document.getElementById("mhdef2").value * defprice;
var mhtothrs1 = (document.getElementById("mhhrs1").value);
var mhtothrs2 = (document.getElementById("mhhrs2").value);
document.getElementById("td35").innerHTML = mhtothrs1;
document.getElementById("td36").innerHTML = mhtothrs2;
document.getElementById("td37").innerHTML = (mhtothrs2-mhtothrs1).toFixed(2);
var mhopcost1 = mhfuel1 + mhdef1 + +ownercost1 + +maincost1 + +laborprice;
var mhopcost2 = mhfuel2 + mhdef2 + +ownercost2 + +maincost2 + +laborprice;
document.getElementById("td38").innerHTML = mhopcost1.toFixed(2) + " $/hr";
document.getElementById("td39").innerHTML = mhopcost2.toFixed(2) + " $/hr";
document.getElementById("td40").innerHTML = (mhopcost1 - mhopcost2).toFixed(2) +"$/hr";
var mhopcost3 = (mhopcost1 * mhtothrs1).toFixed(2);
var mhopcost4 = (mhopcost2 * mhtothrs2).toFixed(2);
var mhopcost34 = (mhopcost4 - mhopcost3).toFixed(2)
document.getElementById("td41").innerHTML = "$" + addCommas(mhopcost3);
document.getElementById("td42").innerHTML = "$" + addCommas(mhopcost4);
document.getElementById("td43").innerHTML = "$" + addCommas(mhopcost34);
<!--Planting / Seeding-->
var spfuel1 = document.getElementById("spfuel1").value * fuelprice;
var spfuel2 = document.getElementById("spfuel2").value * fuelprice;
var spdef1 = document.getElementById("spdef1").value * defprice;
var spdef2 = document.getElementById("spdef2").value * defprice;
var sppro1 = (document.getElementById("spwidth").value * document.getElementById("spspeed1").value * 0.1212 * efficiency / 100);
var sppro2 = (document.getElementById("spwidth").value * document.getElementById("spspeed2").value * 0.1212 * efficiency / 100);
document.getElementById("td44").innerHTML = sppro1.toFixed(2) + "ac/hr";
document.getElementById("td45").innerHTML = sppro2.toFixed(2) + "ac/hr";
document.getElementById("td46").innerHTML = (sppro1-sppro2).toFixed(2) + "ac/hr";
var sptothrs1 = (document.getElementById("spacres").value / sppro1);
var sptothrs2 = (document.getElementById("spacres").value / sppro2);
document.getElementById("td47").innerHTML = sptothrs1.toFixed(2);
document.getElementById("td48").innerHTML = sptothrs2.toFixed(2);
document.getElementById("td49").innerHTML = (sptothrs2-sptothrs1).toFixed(2);
var spopcost1 = spfuel1 + spdef1 + +ownercost1 + +maincost1 + +laborprice;
var spopcost2 = spfuel2 + spdef2 + +ownercost2 + +maincost2 + +laborprice;
document.getElementById("td50").innerHTML = spopcost1.toFixed(2) + " $/hr";
document.getElementById("td51").innerHTML = spopcost2.toFixed(2) + " $/hr";
document.getElementById("td52").innerHTML = (spopcost1 - spopcost2).toFixed(2) +"$/hr";
var spopcost3 = (spopcost1 * sptothrs1).toFixed(2);
var spopcost4 = (spopcost2 * sptothrs2).toFixed(2);
var spopcost34 = (spopcost4 - spopcost3).toFixed(1);
document.getElementById("td53").innerHTML = "$" + addCommas(spopcost3);
document.getElementById("td54").innerHTML = "$" + addCommas(spopcost4);
document.getElementById("td55").innerHTML = "$" + addCommas(spopcost34);
<!--Totals-->
// var grandtotal1 = (+stopcost34 + +ftopcost34 + +ppopcost34 + +mhopcost34 + +spopcost34).toFixed(2);
// var grandtotal2 = (+sttothrs2 - +sttothrs1 + +fttothrs2 - +fttothrs1 + +pptothrs2 - +pptothrs1 + +mhtothrs2 - +mhtothrs1 + +sptothrs2 - +sptothrs1).toFixed(2);
var grandtotal1 = 0;
var grandtotal2 = 0;
if( $('#stcheck').is(':checked')) {grandtotal1 = Number(grandtotal1) + Number(stopcost34);}
if( $('#ftcheck').is(':checked')) {grandtotal1 = Number(grandtotal1) + Number(ftopcost34);}
if( $('#mhcheck').is(':checked')) {grandtotal1 = Number(grandtotal1) + Number(mhopcost34);}
if( $('#ppcheck').is(':checked')) {grandtotal1 = Number(grandtotal1) + Number(ppopcost34);}
if( $('#spcheck').is(':checked')) {grandtotal1 = Number(grandtotal1) + Number(spopcost34);}
if( $('#stcheck').is(':checked')) {grandtotal2 = Number(grandtotal2) + Number(sttothrs2) - Number(sttothrs1);}
if( $('#ftcheck').is(':checked')) {grandtotal2 = Number(grandtotal2) + Number(fttothrs2) - Number(fttothrs1);}
if( $('#mhcheck').is(':checked')) {grandtotal2 = Number(grandtotal2) + Number(mhtothrs2) - Number(mhtothrs1);}
if( $('#ppcheck ').is(':checked')) {grandtotal2 = Number(grandtotal2) + Number(pptothrs2) - Number(pptothrs1);}
if( $('#spcheck').is(':checked')) {grandtotal2 = Number(grandtotal2) + Number(sptothrs2) - Number(sptothrs1);}
grandtotal1 = grandtotal1.toFixed(2);
grandtotal2 = grandtotal2.toFixed(2);
document.getElementById("td56").innerHTML = "$" + addCommas(grandtotal1) + " per year " + "       " + addCommas(grandtotal2) + " hours per year";
}
</script>
<table name="myTableb" width="750" style='text-align:center;'>
<colgroup>
<col width="25%"><col width="25%"><col width="25%"><col width="25%">
</colgroup>
<thead>
<tr>
<td>
<td><img src='miscellaneous/logos/claasred.png' style='width:100px;'><br></td>
<td><img src="" name='brandlogo' style='width:100px;'><br></td>
<td>CLAAS Advantage
</tr>
</thead>
<tr>
<td>
<td id="td0" float="center">
<td id="td1" float="center">
<td>
</tr>
</table><br>
<div id="tr6" style="display:none;">
<table cellpadding="8" width="800">
<colgroup>
<col width="25%"><col width="25%"><col width="25%"><col width="25%">
</colgroup>
<tr>
<td><b>Tillage<td><td><td>
</tr>
<tr>
<td float="right">Productivity
<td id="td2"></td>
<td id="td3"></td>
<td id="td4"></td>
</tr>
<tr>
<td float="right">Total Hours Needed
<td id="td5"></td>
<td id="td6"></td>
<td id="td7"></td>
</tr>
<tr>
<td float="right">Hourly Operating Cost
<td id="td8"></td>
<td id="td9"></td>
<td id="td10"></td>
</tr>
<tr>
<td float="right">Total Operating Cost
<td id="td11"></td>
<td id="td12"></td>
<td id="td13"></td>
</tr>
</table><br>
</div>
<div id="tr7" style="display:none;">
<table cellpadding="8" width="800">
<colgroup>
<col width="25%"><col width="25%"><col width="25%"><col width="25%">
</colgroup>
<tr>
<td><b>Mowing<td colspan="3">
</tr>
<tr>
<td float="right">Productivity
<td id="td14"></td>
<td id="td15"></td>
<td id="td16"></td>
</tr>
<tr>
<td float="right">Total Hours Needed
<td id="td17"></td>
<td id="td18"></td>
<td id="td19"></td>
</tr>
<tr>
<td float="right">Hourly Operating Cost
<td id="td20"></td>
<td id="td21"></td>
<td id="td22"></td>
</tr>
<tr>
<td float="right">Total Operating Cost
<td id="td23"></td>
<td id="td24"></td>
<td id="td25"></td>
</tr>
</table><br>
</div>
<div id="tr8" style="display:none;">
<table cellpadding="8" width="800">
<colgroup>
<col width="25%"><col width="25%"><col width="25%"><col width="25%">
</colgroup>
<tr>
<td><b>Pit Packing<td colspan="3">
</tr>
<tr>
<td float="right">Total Hours Needed
<td id="td26"></td>
<td id="td27"></td>
<td id="td28"></td>
</tr>
<tr>
<td float="right">Hourly Operating Cost
<td id="td29"></td>
<td id="td30"></td>
<td id="td31"></td>
</tr>
<tr>
<td float="right">Total Operating Cost
<td id="td32"></td>
<td id="td33"></td>
<td id="td34"></td>
</tr>
</table><br>
</div>
<div id="tr9" style="display:none;">
<table cellpadding="8" width="800">
<colgroup>
<col width="25%"><col width="25%"><col width="25%"><col width="25%">
</colgroup>
<tr>
<td><b>Manure Hauling<td colspan="3">
</tr>
<tr>
<td float="right">Total Hours Needed
<td id="td35"></td>
<td id="td36"></td>
<td id="td37"></td>
</tr>
<tr>
<td float="right">Hourly Operating Cost
<td id="td38"></td>
<td id="td39"></td>
<td id="td40"></td>
</tr>
<tr>
<td float="right">Total Operating Cost
<td id="td41"></td>
<td id="td42"></td>
<td id="td43"></td>
</tr>
</table><br>
</div>
<div id="tr10" style="display:none;">
<table cellpadding="8" width="800">
<colgroup>
<col width="25%"><col width="25%"><col width="25%"><col width="25%">
</colgroup>
<tr id="tr41" >
<td><b>Planting / Seeding<td colspan="3">
</tr>
<tr id="tr33" >
<td float="right">Productivity
<td id="td44"></td>
<td id="td45"></td>
<td id="td46"></td>
</tr>
<tr id="tr34" >
<td float="right">Total Hours Needed
<td id="td47"></td>
<td id="td48"></td>
<td id="td49"></td>
</tr>
<tr id="tr35" >
<td float="right">Hourly Operating Cost
<td id="td50"></td>
<td id="td51"></td>
<td id="td52"></td>
</tr>
<tr id="tr36" >
<td float="right">Total Operating Cost
<td id="td53"></td>
<td id="td54"></td>
<td id="td55"></td>
</tr>
</table><br>
</div>
<table width="750">
<colgroup>
<col width="25%"><col width="25%"><col width="25%"><col width="25%">
</colgroup>
<tfoot>
<tr>
<td><b>Total Savings
<td id="td56" align="center" colspan="3" style='font-size:1.4em;'></td>
</tr>
</tfoot>
</table>
<br><br>
<textarea id='styled' placeholder="Additional comments" onkeyup="increaseHeight(this);"></textarea>
<br><button onclick='printer()' style="width:100px; height:30px; font-weight:bold; vertical-align: bottom;" class='no-print'>Print</button>
<footer>
<img src='miscellaneous/footer.png' align='right'>
</footer>
</form>
</body>
</html>