forked from LividInstruments/Livid-Online-Editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
666 lines (622 loc) · 48.6 KB
/
index.html
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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!-- saved from url=(0030)http://lividserver.com/editor/ -->
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Livid Editor</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="css/tagit.ui-zendesk.css">
<link rel="stylesheet" href="css/jquery.tagit.css">
<script src="JZZ.js"></script>
<!--<script src="JZZ.synth.OSC.js"></script> -->
<script src="raphael-min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/lividToSysex.js"></script>
<script src="js/sysexToLivid.js"></script>
<script src="js/user.js"></script>
<script src="js/faceplate.js"></script>
<script src="js/uitocontroller.js"></script>
<script src="js/midiio.js"></script>
<script src="js/jquery-1.11.0.min.js"></script>
<script src="js/jquery-ui-1.10.4.custom.min.js"></script>
<script src="js/tag-it.js"></script>
<script type="text/javascript" charset="utf-8">
var DEBUG=0;
var DEBUGMIDI=0;
var SPOOF=0;
//check the user agent string to see if it is a safari browser
var isSaf = Object.prototype.toString.call(window.HTMLElement).indexOf('Constructor') > 0;
var isOpera = !!window.opera || navigator.userAgent.indexOf(' OPR/') >= 0;
var isChrome = !!window.chrome && !isOpera;
var isFirefox = typeof InstallTrigger !== 'undefined'; // Firefox 1.0+
console.log('chrome? '+isChrome+' safari? '+isSaf);
if(isSaf){
//can establish this again, if needed, but seems ok for now.
//isSafari(true); //in uitocontroller.js
}
if(isFirefox){
}
window.onload = function () {
console.log("onload (START)")
makemidimenu();
if(isChrome){
//$('#chromeo').append('Chrome users, make sure you enable NPAPI plugins. Enter chrome://flags/#enable-npapi in the location bar.');
//console.log('added to warning');
}
if (window.File && window.FileReader && window.FileList && window.Blob) {
clog("File APIs are supported");// Great success! All the File APIs are supported.
} else {
alert('The File APIs are not fully supported in this browser.');
}
console.log("onload (END)")
}
function log(s) {
if(DEBUG) {
var d = document.getElementById("console");
if(s!=null){
d.innerHTML = d.innerHTML+s+"<br />";
}else{
d.innerHTML = "";
}
}
}
function clog(s){
console.log(s);
}
function logmidi(s) {
if(DEBUGMIDI) {
var d = document.getElementById("console");
if(s!=null){
d.innerHTML = d.innerHTML+s+"<br />";
}else{
d.innerHTML = "";
}
}
}
var hidealert = 0;
function alertbox(s,stay){
if(hidealert) clearTimeout(hidealert);
$("#alerts").css({"z-index": 100});
$("#alerts").fadeTo(500,1);
//$("#alerts").css({visibility: "visible"})
var d = document.getElementById("alerts");
d.innerHTML = s;
if(!stay){
hidealert = setTimeout(function(){ $("#alerts").fadeTo(1000,0,function(){ $("#alerts").css({"z-index": -10}) }) },6000); //hide the alert after a few seconds
}
}
var hidemsg = 0;
function msgbox(s,stay){
if(hidemsg) clearTimeout(hidemsg);
$("#msg").css({"z-index": 100});
$("#msg").fadeTo(500,1);
var d = document.getElementById("msg");
d.innerHTML = s;
if(!stay){
hidemsg = setTimeout(function(){ $("#msg").fadeTo(1000,0,function(){ $("#msg").css({"z-index": -10}) }) },8000); //hide the alert after a few seconds
}
}
var hidesafalert = 0;
function safarialert(){
var words = "blah";
if(hidesafalert) clearTimeout(hidesafalert);
$("#safalerts").css({"z-index": 100});
$("#safalerts").fadeTo(500,1);
var d = document.getElementById("safalerts");
//d.innerHTML = "Safari can be a bit buggy with the Livid Editor. We recommend <a href='https://www.google.com/intl/en/chrome/browser/'>Chrome</a> or <a href='http://www.mozilla.org/en-US/'>Firefox</a>";
//d.innerHTML = words;
hidesafalert = setTimeout(function(){ $("#safalerts").fadeTo(1000,0,function(){ $("#safalerts").css({"z-index": -10}) }) },10000); //hide the alert after a few seconds
}
var midict = 0;
var masterreq = 0;
function viewmidi(){
var arg=Array.prototype.slice.call(arguments, 0);
var mm=document.getElementById("midimonitor");
if(midict>=50) {
mm.innerHTML=""; //limit the amount of messages printed - keeps things snappy!
midict=0;
}
mm.innerHTML=mm.innerHTML+"<br />"+arg;
mm.scrollTop=mm.scrollHeight;
if(masterreq){
init=document.getElementById("initmidi");
init.innerHTML=init.innerHTML+"<br />"+arg;
}
midict++;
}
</script>
</head>
<body>
<div id="confirm"><span id="confirmspan">CONFIRM</span><br><input type="button" value="yes" class="submitbtn" id="confirmyes"> <input type="button" value="no" class="submitbtn" id="confirmno"></div>
<div id="alerts">ALERT</div>
<div id="msg">MSG</div>
<div id="safalerts">Safari can be a bit buggy with the Livid Editor. We recommend <a href="https://www.google.com/intl/en/chrome/browser/">Chrome</a> or <a href="http://www.mozilla.org/en-US/">Firefox</a></div>
<!--MIDI io menus -->
<div id="midiio">
<img src="livid_logo_select.png" style="margin-top:10px;margin-bottom:15px">
<span id="midiout" class="hidden"><h2>MIDI out:</h2><br><select id="outports" onchange="midioutports();" class="menu" style="margin:3px"></select></span><br>
<span id="midihint"><h3 style="margin-top:5px">Select a port.</h3></span><br>
<span id="midiin" class="hidden">MIDI In: <select id="inports" onchange="midiinports();" class="menu" style="margin:3px"><option value="">Not connected</option></select></span>
</div>
<!-- midiioscrim is used to screen out the UI until a port has been selected: -->
<div id="midiioscrim"></div>
<div id="fetchsettings">
<img src="t.gif" alt="" style="width:1px; height:99.5%;" align="left"><br>
<span style="font-size:1.5em; margin-top:10%">Fetching settings from controller...</span><br>
<span id="initmidi">
</span>
</div>
<div id="topmiddle">
<ul id="navigation" class="topnav">
<li><img src="livid_logo_corner.png" style="margin-right:2em"> </li>
<!--<li><a href="#" class="show_login">login</a></li>-->
<li> <a href="http://wiki.lividinstruments.com/wiki/Online_Editor">manual</a></li>
<li> | <a href="http://lividinstruments.com/helpdesk/open.php?">report problem</a></li>
<li> | <a href="http://lividserver.com/editor/index.html">reload page</a></li>
<li> | <a href="http://lividserver.com/editor/src.zip">source (offline)</a></li>
<li id="fwupdate" style="visibility:hidden"> | <a href="http://wiki.lividinstruments.com/wiki/Updating_Your_Firmware">firmware update</a></li>
</ul>
<div id="saveanddefaults" style="margin-left:1em;visibility:hidden;">
<ul id="saveul" class="topnav" style="margin: 0px">
<li>
<span><form action="http://lividserver.com/editor/#" id="save" method="get">
<input type="submit" value="save to device" class="submitbtn importantbtn" style="margin-right:0.5em"></form></span>
</li>
<li>
<span><form action="http://lividserver.com/editor/#" id="defaults" method="get">
<input type="submit" value="defaults (reset)" class="submitbtn importantbtn" style="background:rgb(90%,90%,90%);"></form></span>
</li>
</ul>
</div>
</div>
<div class="create_container">
<div id="content">
<div style="clear:both"></div>
<div id="left_container" class="leftpanel" style="z-index:0;opacity: 0.1">
<div id="" class="leftmenus">
<input type="button" value="Global" name="global" class="submitbtn tabbtn" id="global_tab">
<input type="button" value="Color" name="colormap" class="submitbtn tabbtn" id="colormap_tab">
<input type="button" value="MIDI" name="midimon" class="submitbtn tabbtn" id="midimon_tab">
</div>
<!--global values-->
<div class="inspector insp_globals" name="global_insp" id="global_div">
<!--form elements have names that are identical to the names in the brain.object-->
<h4>global values</h4><br>
<form action="http://lividserver.com/editor/#" id="globl" method="get">
<ul style="width:92%">
<li id="encspeedA_li"><span class="insp_label">enc. speed A</span> <select type="menu" name="encspeedA" class="menu check_local" id="encspeedA"><option>1x</option><option>2x</option><option>3x</option><option>4x</option><option>5x</option><option>6x</option><option>7x</option><option>8x</option><option>9x</option><option>10x</option><option>11x</option><option>12x</option><option>13x</option><option>14x</option><option>15x</option><option>1/2x</option><option>1/3x</option><option>1/4x</option><option>1/5x</option><option>1/6x</option><option>1/7x</option><option>1/8x</option><option>1/9x</option><option>1/10x</option><option>1/11x</option><option>1/12x</option><option>1/13x</option><option>1/14x</option><option>1/15x</option></select></li>
<li id="encspeedB_li"><span class="insp_label">enc. speed B</span> <select type="menu" name="encspeedB" class="menu check_local" id="encspeedB"><option>1x</option><option>2x</option><option>3x</option><option>4x</option><option>5x</option><option>6x</option><option>7x</option><option>8x</option><option>9x</option><option>10x</option><option>11x</option><option>12x</option><option>13x</option><option>14x</option><option>15x</option><option>1/2x</option><option>1/3x</option><option>1/4x</option><option>1/5x</option><option>1/6x</option><option>1/7x</option><option>1/8x</option><option>1/9x</option><option>1/10x</option><option>1/11x</option><option>1/12x</option><option>1/13x</option><option>1/14x</option><option>1/15x</option></select></li>
<li id="settingsch_li"><span class="insp_label">settings ch</span> <select type="menu" name="settingsch" class="menu ch check_local" id="settingsch"><option>1</option><option>2</option><option>3</option><option>4</option><option>5</option><option>6</option><option>7</option><option>8</option><option>9</option><option>10</option><option>11</option><option>12</option><option>13</option><option>14</option><option>15</option><option>16</option></select></li>
<li id="settingsch_enable_li"><span class="insp_label">use settings ch</span> <input name="settingsch_enable" type="checkbox" class="check" value="no" id="settingsch_enable"><label for="settingsch_enable" class="check_local">enable</label></li>
<li id="omni_li"><span class="insp_label">omni</span> <input name="omni" type="checkbox" class="check" value="no" id="omni"><label for="omni" class="check_local">enable</label></li>
<li id="merge_li"><span class="insp_label">MIDI merge</span> <input name="merge" type="checkbox" class="check" value="no" id="merge"><label for="merge" class="check_local">enable</label></li>
<li id="xfadeflip_li"><span class="insp_label">Crossfader flip</span> <input name="xfadeflip" type="checkbox" class="check" value="no" id="xfadeflip"><label for="xfadeflip" class="check_local">enable</label></li>
<li id="atouchspeed_li"><span class="insp_label">Afterpress. speed</span><select type="menu" name="atouchspeed" class="menu check_local" id="atouchspeed"><option>1</option><option>2</option><option>3</option><option>4</option><option>5</option><option>6</option><option>7</option><option>8</option><option>9</option><option>10</option><option>11</option><option>12</option><option>13</option><option>14</option><option>15</option><option>16</option><option>17</option><option>18</option><option>19</option><option>20</option><option>21</option><option>22</option><option>23</option><option>24</option><option>25</option><option>26</option><option>27</option><option>28</option><option>29</option><option>30</option><option>31</option><option>32</option><option>33</option><option>34</option><option>35</option><option>36</option><option>37</option><option>38</option><option>39</option><option>40</option><option>41</option><option>42</option><option>43</option><option>44</option><option>45</option><option>46</option><option>47</option><option>48</option><option>49</option><option>50</option><option>51</option><option>52</option><option>53</option><option>54</option><option>55</option><option>56</option><option>57</option><option>58</option><option>59</option><option>60</option><option>61</option><option>62</option><option>63</option><option>64</option><option>65</option><option>66</option><option>67</option><option>68</option><option>69</option><option>70</option><option>71</option><option>72</option><option>73</option><option>74</option><option>75</option><option>76</option><option>77</option><option>78</option><option>79</option><option>80</option><option>81</option><option>82</option><option>83</option><option>84</option><option>85</option><option>86</option><option>87</option><option>88</option><option>89</option><option>90</option><option>91</option><option>92</option><option>93</option><option>94</option><option>95</option><option>96</option><option>97</option><option>98</option><option>99</option><option>100</option></select></li>
<li style="margin-top:0.8em"><b>LED local control</b></li>
<li id="ringlocal_abs_li"><span class="insp_label">LED Ring (abs)</span><input name="ringlocal_abs" type="checkbox" class="check" value="no" id="ringlocal_abs"><label for="ringlocal_abs" id="ringlocal_abs_lab" class="check_local">enable</label></li>
<li id="ringlocal_rel_li"><span class="insp_label">LED Ring (rel)</span><input name="ringlocal_rel" type="checkbox" class="check" value="no" id="ringlocal_rel"><label for="ringlocal_rel" id="ringlocal_rel_lab" class="check_local">enable</label></li>
<li id="ringlocal_slide_li"><span class="insp_label">Touch Faders</span><input name="ringlocal_slide" type="checkbox" class="check" value="no" id="ringlocal_slide"><label for="ringlocal_slide" id="ringlocal_slide_lab" class="check_local">enable</label></li>
<li id="btnlocal_mom_li"><span class="insp_label">Button (mom)</span><input name="btnlocal_mom" type="checkbox" class="check" value="no" id="btnlocal_mom"><label for="btnlocal_mom" id="btnlocal_mom_lab" class="check_local">enable</label></li>
<li id="btnlocal_tog_li"><span class="insp_label">Button (tog)</span><input name="btnlocal_tog" type="checkbox" class="check" value="no" id="btnlocal_tog"><label for="btnlocal_tog" id="btnlocal_tog_lab" class="check_local">enable</label></li>
<!--<li id="btnlocal_cbtn_li"><span class="insp_label"></span><input name="btnlocal_cbtn" type="checkbox" class="check" value="no" id="btnlocal_cbtn"/><label for="btnlocal_cbtn" id="btnlocal_cbtn_lab">Button local control (cbtn)</label></li>-->
<li id="agslocal_fsr_li"><span class="insp_label">Drum Pad </span><input name="agslocal_fsr" type="checkbox" class="check" value="no" id="agslocal_fsr"><label for="agslocal_fsr" id="agslocal_fsr_lab" class="check_local">enable</label></li>
<li id="btnlocal_li"><span class="insp_label">Local control</span><input name="btnlocal" type="checkbox" class="check" value="no" id="btnlocal"><label for="btnlocal" id="btnlocal_lab" class="check_local">enable</label></li>
<li id="bankch_head" style="margin-top:0.8em"><b>Bank Channels</b></li>
<li class="bankli">
<span id="bank_0" class="bankch">1 <select type="menu" name="bankchs_0" class="menu ch" id="bankchs_0"><option>1</option><option>2</option><option>3</option><option>4</option><option>5</option><option>6</option><option>7</option><option>8</option><option>9</option><option>10</option><option>11</option><option>12</option><option>13</option><option>14</option><option>15</option><option>16</option></select></span>
<span id="bank_5" class="bankch">6 <select type="menu" name="bankchs_5" class="menu ch" id="bankchs_5"><option>1</option><option>2</option><option>3</option><option>4</option><option>5</option><option>6</option><option>7</option><option>8</option><option>9</option><option>10</option><option>11</option><option>12</option><option>13</option><option>14</option><option>15</option><option>16</option></select></span>
<span id="bank_10" class="bankch">11 <select type="menu" name="bankchs_10" class="menu ch" id="bankchs_10"><option>1</option><option>2</option><option>3</option><option>4</option><option>5</option><option>6</option><option>7</option><option>8</option><option>9</option><option>10</option><option>11</option><option>12</option><option>13</option><option>14</option><option>15</option><option>16</option></select></span>
</li>
<li class="bankli">
<span id="bank_1" class="bankch">2 <select type="menu" name="bankchs_1" class="menu ch" id="bankchs_1"><option>1</option><option>2</option><option>3</option><option>4</option><option>5</option><option>6</option><option>7</option><option>8</option><option>9</option><option>10</option><option>11</option><option>12</option><option>13</option><option>14</option><option>15</option><option>16</option></select></span>
<span id="bank_6" class="bankch" '="">7 <select type="menu" name="bankchs_6" class="menu ch" id="bankchs_6"><option>1</option><option>2</option><option>3</option><option>4</option><option>5</option><option>6</option><option>7</option><option>8</option><option>9</option><option>10</option><option>11</option><option>12</option><option>13</option><option>14</option><option>15</option><option>16</option></select></span>
<span id="bank_11" class="bankch">12 <select type="menu" name="bankchs_11" class="menu ch" id="bankchs_11"><option>1</option><option>2</option><option>3</option><option>4</option><option>5</option><option>6</option><option>7</option><option>8</option><option>9</option><option>10</option><option>11</option><option>12</option><option>13</option><option>14</option><option>15</option><option>16</option></select></span>
</li>
<li class="bankli">
<span id="bank_2" class="bankch">3 <select type="menu" name="bankchs_2" class="menu ch" id="bankchs_2"><option>1</option><option>2</option><option>3</option><option>4</option><option>5</option><option>6</option><option>7</option><option>8</option><option>9</option><option>10</option><option>11</option><option>12</option><option>13</option><option>14</option><option>15</option><option>16</option></select></span>
<span id="bank_7" class="bankch">8 <select type="menu" name="bankchs_7" class="menu ch" id="bankchs_7"><option>1</option><option>2</option><option>3</option><option>4</option><option>5</option><option>6</option><option>7</option><option>8</option><option>9</option><option>10</option><option>11</option><option>12</option><option>13</option><option>14</option><option>15</option><option>16</option></select></span>
<span id="bank_12" class="bankch">13 <select type="menu" name="bankchs_12" class="menu ch" id="bankchs_12"><option>1</option><option>2</option><option>3</option><option>4</option><option>5</option><option>6</option><option>7</option><option>8</option><option>9</option><option>10</option><option>11</option><option>12</option><option>13</option><option>14</option><option>15</option><option>16</option></select></span>
</li>
<li class="bankli">
<span id="bank_3" class="bankch">4 <select type="menu" name="bankchs_3" class="menu ch" id="bankchs_3"><option>1</option><option>2</option><option>3</option><option>4</option><option>5</option><option>6</option><option>7</option><option>8</option><option>9</option><option>10</option><option>11</option><option>12</option><option>13</option><option>14</option><option>15</option><option>16</option></select></span>
<span id="bank_8" class="bankch">9 <select type="menu" name="bankchs_8" class="menu ch" id="bankchs_8"><option>1</option><option>2</option><option>3</option><option>4</option><option>5</option><option>6</option><option>7</option><option>8</option><option>9</option><option>10</option><option>11</option><option>12</option><option>13</option><option>14</option><option>15</option><option>16</option></select></span>
<span id="bank_13" class="bankch">14 <select type="menu" name="bankchs_13" class="menu ch" id="bankchs_13"><option>1</option><option>2</option><option>3</option><option>4</option><option>5</option><option>6</option><option>7</option><option>8</option><option>9</option><option>10</option><option>11</option><option>12</option><option>13</option><option>14</option><option>15</option><option>16</option></select></span>
</li>
<li class="bankli">
<span id="bank_4" class="bankch">5 <select type="menu" name="bankchs_4" class="menu ch" id="bankchs_4"><option>1</option><option>2</option><option>3</option><option>4</option><option>5</option><option>6</option><option>7</option><option>8</option><option>9</option><option>10</option><option>11</option><option>12</option><option>13</option><option>14</option><option>15</option><option>16</option></select></span>
<span id="bank_9" class="bankch">10 <select type="menu" name="bankchs_9" class="menu ch" id="bankchs_9"><option>1</option><option>2</option><option>3</option><option>4</option><option>5</option><option>6</option><option>7</option><option>8</option><option>9</option><option>10</option><option>11</option><option>12</option><option>13</option><option>14</option><option>15</option><option>16</option></select></span>
<span id="bank_14" class="bankch">15 <select type="menu" name="bankchs_14" class="menu ch" id="bankchs_14"><option>1</option><option>2</option><option>3</option><option>4</option><option>5</option><option>6</option><option>7</option><option>8</option><option>9</option><option>10</option><option>11</option><option>12</option><option>13</option><option>14</option><option>15</option><option>16</option></select></span>
</li>
<li id="currentbank_head" style="margin-top:0.8em"><b>Current Bank</b></li>
<li id="currentbank_li"><input name="bank" type="text" class="textfield" id="bank"></li>
<li id="onech_head"><b>Channel</b></li>
<li id="one_ch">
<select type="menu" name="onech" class="menu ch" id="onech"><option>1</option><option>2</option><option>3</option><option>4</option><option>5</option><option>6</option><option>7</option><option>8</option><option>9</option><option>10</option><option>11</option><option>12</option><option>13</option><option>14</option><option>15</option><option>16</option></select>
</li>
<li id="encoderdet" style="margin-top:0.8em"><b>Detented or Smooth action</b></li>
<li id="encdet_li">
<input name="encdet_abs" type="checkbox" class="check" value="no" id="encdet_abs" style="margin-right:0.5em"><label for="encdet_abs" class="check_local" id="encdet_abs_label">absolute</label>
<input name="encdet_rel" type="checkbox" class="check" value="no" id="encdet_rel"><label for="encdet_rel" class="check_local" id="encdet_rel_label">relative</label>
</li>
<li id="localcolor" class="localcolors" style="margin-top:0.8em"><b>Save Colors for Local Control</b></li>
<li class="localcolors"><button id="localcolor_on" class="submitbtn">On Colors</button> <button id="localcolor_off" class="submitbtn">Off Colors</button></li>
</ul>
</form>
<ul>
<li id="encoderphys" style="margin-top:0.8em"><b>Encoder Hardware</b></li>
<li id="encflip_li">
<input type="button" name="encflip" class="btn" value="Flip Encoders" id="encflip">
</li>
<!--
<input type="button" name="encdet_abs" class="btn" value="Absolute" id="encdet_abs" style="margin-right:0.5em"/>
<input type="button" name="encdet_rel" class="btn" value="Relative" id="encdet_rel"/>-->
</ul>
<span id="firmware"></span>
</div>
<!--change color to velocity map-->
<div id="color_map" class="inspector globals">
<h4>velocity to color</h4>
<form action="http://lividserver.com/editor/#" id="colormap" method="get">
<ul class="listv">
<li><span class="insp_label">0</span><select type="menu" name="color0" class="menu check_local" id="color_0"><option>off</option><option>red</option><option>green</option><option>yellow</option><option>blue</option><option>magenta</option><option>cyan</option><option>white</option></select></li>
<li><span class="insp_label">1-3</span><select type="menu" name="color1" class="menu check_local" id="color_1"><option>off</option><option>red</option><option>green</option><option>yellow</option><option>blue</option><option>magenta</option><option>cyan</option><option>white</option></select></li>
<li><span class="insp_label">4-7</span><select type="menu" name="color2" class="menu check_local" id="color_2"><option>off</option><option>red</option><option>green</option><option>yellow</option><option>blue</option><option>magenta</option><option>cyan</option><option>white</option></select></li>
<li><span class="insp_label">8-15</span><select type="menu" name="color3" class="menu check_local" id="color_3"><option>off</option><option>red</option><option>green</option><option>yellow</option><option>blue</option><option>magenta</option><option>cyan</option><option>white</option></select></li>
<li><span class="insp_label">16-31</span><select type="menu" name="color4" class="menu check_local" id="color_4"><option>off</option><option>red</option><option>green</option><option>yellow</option><option>blue</option><option>magenta</option><option>cyan</option><option>white</option></select></li>
<li><span class="insp_label">32-63</span><select type="menu" name="color5" class="menu check_local" id="color_5"><option>off</option><option>red</option><option>green</option><option>yellow</option><option>blue</option><option>magenta</option><option>cyan</option><option>white</option></select></li>
<li><span class="insp_label">64-126</span><select type="menu" name="color6" class="menu check_local" id="color_6"><option>off</option><option>red</option><option>green</option><option>yellow</option><option>blue</option><option>magenta</option><option>cyan</option><option>white</option></select></li>
<li>127 <select type="menu" name="color7" class="menu check_local" id="color_7"><option>off</option><option>red</option><option>green</option><option>yellow</option><option>blue</option><option>magenta</option><option>cyan</option><option>white</option></select></li>
<!--<li><input type="submit" value="send" class="submitbtn" /></li>-->
</ul>
</form>
</div>
<!--MIDI monitor-->
<div id="midimonitor">MIDI MONITOR</div>
<div name="sendsysex_insp" id="sendsysex_div" class="inspector" style="margin-top:3%">
<h4>send sysex</h4>
<form action="http://lividserver.com/editor/#" id="sendsysex" method="get">
<ul class="listv">
<li><input type="text" value="" placeholder="sysex" style="width:10em;height:3em" id="sysexvalue"></li>
<li><input type="submit" value="send" class="submitbtn" style="float:right"></li>
</ul>
</form>
</div>
</div>
<!--end left container div-->
<!--controller graphics UI-->
<div id="canvas" class="centerpanel">
<!--
<div id="savebtns" class="rightmenus" style="float:right;width:100%;z-index:10;">
<ul id="saveul" class="topnav" style="margin: 0px">
<li>
<span><form action="#" id="save" method="get">
<input type="submit" value="save to device" class="submitbtn importantbtn" style="margin-right:0.5em"/></form></span>
</li>
<li style="float:right">
<span><form action="#" id="defaults" method="get">
<input type="submit" value="defaults (reset)" class="submitbtn importantbtn" style="background:rgb(90%,90%,90%);"/></form></span>
</li>
</ul>
</div>-->
<div id="paper"></div>
</div>
<div id="right_container" class="rightpanel" style="opacity: 0.1">
<div id="righttabs" class="rightmenus">
<input type="button" value="Inspector" name="inspector" class="submitbtn tabbtn" id="inspector_tab">
<!--<input type="button" value="Presets" name="pst" class="submitbtn tabbtn" id="preset_tab" />-->
</div>
<div id="inspectors_container">
<!--ledring inspector-->
<div class="inspector ctlinspector insp_ledrings" name="ledring_insp" id="ledring_div">
<input type="button" value="group" name="group" class="group_btn" id="ledring_group">
<!--form elements have names that are identical to the names in the brain.object-->
<h4>ledrings</h4>
<span class="ctlid">[ID: x]</span><br>
<form action="http://lividserver.com/editor/#" id="ledring" method="get">
<input type="hidden" name="ctlid" value="0">
<ul class="listv" style="width:70%">
<li><span class="insp_label">cc#</span> <input name="nn" type="text" class="textfield check_local" id="ledringmidi"></li>
<li><span class="insp_label">style</span> <select type="menu" name="style" class="menu check_local" id="ledringmode"><option>walk</option><option>fill</option><option>eq</option><option>spread</option></select></li>
<!--<li><input type="submit" value="update" class="submitbtn" /></li>-->
</ul>
</form>
</div>
<!--encoder inspector-->
<div class="inspector ctlinspector insp_encs" name="enc_insp" id="enc_div">
<input type="button" value="group" name="group" class="group_btn" id="enc_group">
<!--form elements have names that are identical to the names in the brain.object-->
<h4>encoders</h4>
<span class="ctlid">[ID: x]</span><br>
<form action="http://lividserver.com/editor/#" id="enc" method="get">
<input type="hidden" name="ctlid" value="0">
<ul class="listv">
<li><span class="insp_label">note/cc#</span> <input name="nn" type="text" class="textfield check_local" id="encsmidi"></li>
<li><span class="insp_label">mode</span> <select type="menu" name="mode" class="menu check_local" id="encsmode" style="width:45%"><option>note</option><option>cc</option></select></li>
<li><span class="insp_label">type</span> <select type="menu" name="type" class="menu check_local" id="encsmode"><option>absolute</option><option>relative</option></select></li>
<li class="ringv1"><span class="insp_label">ring</span> <select type="menu" name="style" class="menu check_local" id="encsring"><option>walk</option><option>fill</option></select></li>
<!--<li><input type="submit" value="update" class="submitbtn" /></li>-->
</ul>
</form>
</div>
<!--fsr inspector-->
<div class="inspector ctlinspector insp_fsrs" name="fsr_insp" id="fsr_div">
<input type="button" value="group" name="group" class="group_btn" id="fsr_group">
<!--form elements have names that are identical to the names in the brain.object-->
<h4>drum pads</h4>
<span class="ctlid">[ID: x]</span><br>
<form action="http://lividserver.com/editor/#" id="fsr" method="get">
<input type="hidden" name="ctlid" value="0">
<ul class="listv">
<li><span class="insp_label">note#</span> <input name="nn" type="text" class="textfield check_local" id="fsrnote"></li>
<li><span class="insp_label">note output</span> <input name="nn_enable" type="checkbox" class="check" value="no" id="fsrnnenable"><label for="fsrnnenable" class="check_local">enable</label></li>
<li><span class="insp_label">fixed note velocity</span> <input name="nvel_enable" type="checkbox" class="check" value="no" id="nvelenable"><label for="nvelenable" class="check_local">enable</label></li>
<li><span class="insp_label">toggle mode</span> <input name="ntog_enable" type="checkbox" class="check" value="no" id="ntogenable"><label for="ntogenable" class="check_local">enable</label></li>
<li><span class="insp_label">cc# (pressure)</span> <input name="cc" type="text" class="textfield check_local" id="fsrcc"></li>
<li><span class="insp_label">cc</span><input name="cc_enable" type="checkbox" class="check" value="no" id="fsrccenable"><label for="fsrccenable" class="check_local">enable</label></li>
<!--<li><input name="cvel_enable" type="checkbox" class="check" value="no" id="cvelenable"/><label for="cvelenable">fixed cc value</label></li>-->
<li><span class="insp_label">sensitivity</span> <select type="menu" name="filter" class="menu check_local" id="fsrfilter"><option>Low</option><option>Mid</option><option>Medium</option><option>High</option><option>Highest</option></select></li>
<li><span class="insp_label">mode</span> <select type="menu" name="mode" class="menu check_local" id="fsrmode"><option>cc.</option><option>bend</option><option>aftertouch</option></select></li>
<!--<li><input type="submit" value="update" class="submitbtn" /></li>-->
</ul>
</form>
</div>
<!--pot analog inspector-->
<div class="inspector ctlinspector insp_pots" name="pot_insp" id="pot_div">
<input type="button" value="group" name="group" class="group_btn" id="pot_group">
<!--form elements have names that are identical to the names in the brain.object-->
<div><h4>knobs & </h4><br><h4>faders</h4></div>
<span class="ctlid">[ID: x]</span><br>
<form action="http://lividserver.com/editor/#" id="pot" method="get">
<input type="hidden" name="ctlid" class="cid" id="crap" value="0">
<ul class="listv">
<li><span class="insp_label">note/cc#</span> <input name="nn" type="text" class="textfield" id="potsmidi"></li>
<li><span class="insp_label">mode</span> <select type="menu" name="mode" class="menu" id="potsmode"><option>cc.</option><option>bend</option></select></li>
<!--<li><input type="submit" value="update" class="submitbtn" /></li>-->
</ul>
</form>
</div>
<!--touch slider inspector-->
<div class="inspector ctlinspector insp_slides" name="slide_insp" id="slide_div">
<input type="button" value="group" name="group" class="group_btn" id="slide_group">
<!--form elements have names that are identical to the names in the brain.object-->
<h4>touch sliders</h4>
<span class="ctlid">[ID: x]</span><br>
<form action="http://lividserver.com/editor/#" id="slide" method="get">
<input type="hidden" name="ctlid" class="cid" id="crap" value="0">
<ul class="listv">
<li><span class="insp_label">cc#</span> <input name="cc" type="text" class="textfield check_local" id="slidecc"></li>
<li><span class="insp_label">mode</span> <select type="menu" name="mode" class="menu check_local" id="slidemode"><option>cc.</option><option>bend</option><option>aftertouch</option></select></li>
<li><span class="insp_label">output</span> <select type="menu" name="output" class="menu check_local" id="slideoutput"><option>abs+fine</option><option>precision</option><option>fine</option><option>inc/dec</option></select></li>
<li><span class="insp_label">note#</span> <input name="nn" type="text" class="textfield check_local" id="slidenote"></li>
<li class="btog"><span class="insp_label">send note on</span><input name="sendnote" type="checkbox" class="check" value="no" id="sendsnote"><label for="sendsnote" class="check_local">enable</label></li>
<li class="btog"><span class="insp_label">fixed note vel.</span><input name="fixvel" type="checkbox" class="check" value="no" id="fixedveloc"><label for="fixedveloc" class="check_local">enable</label></li>
<li><span class="insp_label">led style</span> <select type="menu" name="style" class="menu check_local" id="slideled"><option>walk</option><option>fill</option><option>spread</option><option>eq</option></select></li>
<li><span class="insp_label">color</span> <select type="menu" name="color" class="menu check_local" id="slidecolor"><option>invert</option><option>red</option><option>green</option><option>yellow</option><option>blue</option><option>magenta</option><option>cyan</option><option>white</option></select></li>
<!--<li><input type="submit" value="update" class="submitbtn" /></li>-->
</ul>
</form>
</div>
<!--expansion jack inspector-->
<div class="inspector ctlinspector insp_exps" name="exp_insp" id="exp_div">
<input type="button" value="group" name="group" class="group_btn" id="exp_group">
<!--form elements have names that are identical to the names in the brain.object-->
<div><h4>analog</h4><br><h4>expansion</h4><br><h4>jacks</h4></div>
<span class="ctlid">[ID: x]</span><br>
<form action="http://lividserver.com/editor/#" id="exp" method="get">
<input type="hidden" name="ctlid" class="cid" id="crap" value="0">
<ul class="listv">
<li><span class="insp_label">note/cc#</span> <input name="nn" type="text" class="textfield" id="expsmidi"></li>
<li><span class="insp_label">mode</span> <select type="menu" name="mode" class="menu" id="expsmode"><option>cc.</option><option>bend</option></select></li>
<!--<li><input type="submit" value="update" class="submitbtn" /></li>-->
</ul>
</form>
</div>
<!--button inspector-->
<div class="inspector ctlinspector insp_btns" name="btn_insp" id="btn_div">
<input type="button" value="group" name="group" class="group_btn" id="btn_group">
<!--form elements have names that are identical to the names in the brain.object-->
<form action="http://lividserver.com/editor/#" id="btn" method="get">
<input type="hidden" name="ctlid" id="ctlid" value="0"> <!--hidden must be first in the form-->
<h4>buttons</h4>
<span class="ctlid">[ID: x]</span><br>
<ul class="listv">
<li><span class="insp_label">note/cc#</span> <input name="nn" type="text" class="textfield check_local" id="btnsmidi"></li>
<li><span class="insp_label">mode</span> <select type="menu" name="mode" class="menu check_local" id="btnsmode"><option>note</option><option>cc</option></select></li>
<li class="btog"><span class="insp_label">toggle</span><input name="toggle" type="checkbox" class="check" value="no" id="btnstoggle"><label for="btnstoggle" class="check_local">enable</label></li>
<li><span class="insp_label">special</span> <select type="menu" name="special" class="menu check_local" id="btnsspecial"><option>---</option><option>bank</option><option id="indivbank">indiv. bank</option><option>enc. speed</option><option>mmc-start</option><option>mmc-cont.</option><option>mmc-stop</option></select></li>
<!--<li><input type="submit" value="update" class="submitbtn" /></li>-->
</ul>
</form>
</div>
<!--leds inspector-->
<div class="inspector ctlinspector insp_leds" name="led_insp" id="led_div" style="margin-top: 3%">
<input type="button" value="group" name="group" class="group_btn" id="led_group">
<!--form elements have names that are identical to the names in the brain.object-->
<form action="http://lividserver.com/editor/#" id="lock" method="get" style="float: left; display: inline-block; margin-right: 3px;">
<input name="lock_led" type="checkbox" class="check" value="no" checked="true" id="lockled"><label for="lockled" id="lockledlabel">x</label>
</form>
<h4>leds</h4>
<span class="ctlid">[ID: x]</span><br>
<form action="http://lividserver.com/editor/#" id="led" method="get">
<input type="hidden" name="ctlid" value="0">
<ul class="listv">
<li><span class="insp_label">note/cc#</span> <input name="nn" type="text" class="textfield check_local" id="ledsmidi"></li>
<li><span class="insp_label">mode</span> <select type="menu" name="mode" class="menu check_local" id="ledsmode"><option>note</option><option>cc</option></select></li>
<li class="mono"><span class="insp_label"><input name="onoff" type="checkbox" class="check" value="no" id="ledonoff"><label for="ledonoff" id="ledonoff_label">on/off</label></span></li>
</ul>
<ul class="rgb">
<li class="rgb"><input name="red" type="checkbox" class="check" value="no" id="redonoff"><label for="redonoff" id="redonoff_label">R</label></li>
<li class="rgb"><input name="green" type="checkbox" class="check" value="no" id="greenonoff"><label for="greenonoff" id="greenonoff_label">G</label></li>
<li class="rgb"><input name="blue" type="checkbox" class="check" value="no" id="blueonoff"><label for="blueonoff" id="blueonoff_label">B</label></li>
<!--<li><input type="submit" value="update" class="submitbtn" /></li>-->
</ul>
</form>
</div>
<!--midi sender-->
<div name="send_insp" id="send_div" class="inspector" style="margin-top:3%">
<h4>send MIDI</h4>
<form action="http://lividserver.com/editor/#" id="sendmidi" method="get">
<ul class="listv">
<li><span class="insp_label">note/cc#</span> <input name="nn" type="text" class="textfield check_local" id="sendnote"></li>
<li><span class="insp_label">vel/val#</span> <input name="vel" type="text" class="textfield check_local" id="sendval"></li>
<li><span class="insp_label">channel</span> <select type="menu" name="bankchs_2" class="menu ch check_local" id="sendch"><option>1</option><option>2</option><option>3</option><option>4</option><option>5</option><option>6</option><option>7</option><option>8</option><option>9</option><option>10</option><option>11</option><option>12</option><option>13</option><option>14</option><option>15</option><option>16</option></select>
<!--<input name="ch" type="text" class="textfield" id="sendch"/>-->
</li>
<li><span class="insp_label">mode</span> <select type="menu" name="mode" class="menu check_local" id="sendmode"><option>note</option><option>cc</option></select></li>
<li><input type="submit" value="send" class="submitbtn" style="float:right"></li>
</ul>
</form>
</div>
<div name="saveload_insp" id="saveload_div" class="inspector" style="margin-top:3%">
<h4>save settings to file</h4>
<script src="js/downloadjson.js"></script>
<ul class="listv" id="container">
<li><input type="text" value="livid preset" placeholder="lividpreset"></li>
<li><button onclick="downloadFile()" class="submitbtn" style="float:right">create file</button></li>
<li><output></output></li>
</ul>
<h4>load settings from file</h4>
<ul class="listv" id="upload">
<li><input type="file" id="fileInput" style="width:99%;padding:0px;"></li>
<li><span class="insp_label" id="fileDisplayArea"></span></li>
</ul>
</div>
</div>
<!--end inspectors container div-->
<!--
<div id="presets">
<div id="globalpresets" class="inspector">
<span style="color:red;font-weight: bold;font-style: italic;">(preset files not yet functional)</span>
<ul class="listv">
<li style="text-align:left"><h4 style="float:none">recall preset</h4></li>
<li><select id="presets_public" onchange='loadpreset();' class="menu"><option value="none">No presets</option></select></li>
</ul>
</div>
<div id="presets_private" class="inspector" style="display:none;margin-top:3%">
<form action="#" id="preset_store" method="get">
<h4>save to preset</h4>
<ul class="listv">
<li>name<br><input name="presetname" type="text" class="textfield" id="preset_name" style="width:10em;"/></li>
<li>description<br><input name="presetdesc" type="text" class="textfield" id="preset_desc" style="width:10em;"/></li>
<li><input name="presetpublic" type="checkbox" value="no" id="preset_public"/><label for="preset_public"> public</label></li>
<li style="float:left">tags</li>
<li><input name="tags" style="width:10em" class="textfield" id="tagsinput" value="Apple, Orange"></li>
<li><input type="button" value="save" name="save" class="submitbtn" id="save_btn" /></li>
</ul>
</form>
<hr></hr>
<form action="#" id="search" method="get">
<ul class="listv">
<li>search<br><input name="presetsearch" type="text" class="textfield" id="preset_search" style="width:10em;"/></li>
<li><input type="button" value="search" name="save" class="submitbtn" id="search_btn" /></li>
</ul>
</form>
<hr></hr>
<div style="display:none" id="searchresults_div">
<form action="#" id="searchresults" method="get">
<h4>results</h4>
<ul class="listv">
<li><select multiple style="width:12em;" class="results" id="searchresults">
<option value="1">Preset One</option>
<option value="2">Preset Two</option>
<option value="3">Preset Three</option>
<option value="3">Preset Four</option>
</select></li>
<li><input type="button" value="loadpst" name="loadpst" class="submitbtn" id="loadpst_btn" /></li>
</form>
</div>
</div>
</div>
-->
<!--end presets-->
</div>
<!--end right container-->
</div>
<!--end main content-->
<!--login panel-->
<div id="login" class="usermanage">
<span class="closex"><a href="http://lividserver.com/editor/#" class="close_modal">X</a></span>
<h4 style="float: left">login</h4><span class="proto" style="color:red;">(not currently functional)</span>
<form action="http://lividserver.com/editor/#" id="loginform" method="get">
<ul class="listv">
<li>username <input name="nn" type="text" class="textfield" id="username" style="width:8em;"></li>
<li>password <input name="nn" type="text" class="textfield" id="password" style="width:8em;"></li>
<li>
<span style="float: left"><a href="http://lividserver.com/editor/#" class="show_register">register </a></span>
<span style="float: left">|<a href="http://lividserver.com/editor/#" id="recoverpwd"> get password</a></span>
<input type="button" value="log in" name="loginbtn" class="submitbtn" id="login_btn">
</li>
</ul>
</form>
</div>
<!--reg panel-->
<div id="register" class="usermanage">
<span class="closex"><a href="http://lividserver.com/editor/#" class="close_modal">X</a></span>
<h4 style="float: left">register</h4><span class="proto" style="color:red;">(not currently functional)</span>
<form action="http://lividserver.com/editor/#" id="loginform" method="get">
<ul class="listv">
<li>username <input name="nn" type="text" class="textfield" id="username" style="width:8em;"></li>
<li>password <input name="nn" type="text" class="textfield" id="password" style="width:8em;"></li>
<li>
<span style="float: left"><a href="http://lividserver.com/editor/#" class="show_login">login </a></span>
<input type="button" value="register" name="registerbtn" class="submitbtn" id="reg_btn">
</li>
</ul>
</form>
</div>
<div id="register_thanks" class="usermanage">
<h4 style="float: left">You'll soon receive an email to confirm your registration.<br>
You'll then be able to add more info to your profile.</h4><br>
<span class="proto" style="color:red;">(not currently functional)</span>
<input type="button" value="close" name="close" class="submitbtn close_modal" id="close_btn" style="float: right">
</div>
<div id="recoverpwd_note" class="usermanage">
<h4 style="float: left">You'll soon receive an email with a new password.</h4><br>
<span class="proto" style="color:red;">(not currently functional)</span>
<input type="button" value="close" name="close" class="submitbtn close_modal" id="close_btn" style="float: right">
</div>
<div id="result_details" class="usermanage">
Description:<span id="result_desc"></span><br>
Tags:<span id="result_tags"></span>
</div>
<div id="console"></div>
<!--used if in debug mode-->
<div id="testbuttons">
<form action="http://lividserver.com/editor/#" id="printlivid" method="get">
<input type="submit" value="print livid" class="submitbtn">
</form>
<form action="http://lividserver.com/editor/#" id="printsx" method="get">
<input type="submit" value="print sx" class="submitbtn">
</form>
<form action="http://lividserver.com/editor/#" id="product" method="get">
<input type="submit" value="product" class="submitbtn">
</form>
<form action="http://lividserver.com/editor/#" id="writefile" method="get">
<input type="submit" value="write json file" class="submitbtn">
</form>
</div>
<!--end debug div mode-->
</div> <!--end "create_container" div-->
<!-- MIDI i/o plugin-->
<!-- <object id="Jazz1" classid="clsid:1ACE1618-1C7D-4561-AEE1-34842AA85E90" class="hidden">
<object id="Jazz2" type="audio/x-jazz" class="hidden">
<div id="pluginwarning">
For this MIDI application to work,<br>
you'll need to download and install the<br>
<a href="http://jazz-soft.net/">Jazz-Plugin</a>
<span id="chromeo">Chrome users, make sure you enable NPAPI plugins. Enter chrome://flags/#enable-npapi in the location bar.</span>
</div>
</object>
</object>
!revision: reimplement me. It's nice to provide the jazz link when jazz does not exist on the system'
-->
<script> <!--
var Jazz = document.getElementById("Jazz1"); if(!Jazz || !Jazz.isJazz) Jazz = document.getElementById("Jazz2");
if(Jazz && Jazz.isJazz){
var version = Number(Jazz.version);
var cur_vers = 1.3;
var oldjazz = version < cur_vers;
if(oldjazz){
var msg = "You need to update the Jazz MIDI Plugin.<br>You have version "+version+". <br>Just download from jazz-soft.net for <a href=http://jazz-soft.net/download/Jazz-Plugin/1.3/Jazz-Plugin-1-3.msi>Windows</a> or <a href=http://jazz-soft.net/download/Jazz-Plugin/1.3/Jazz-Plugin-1-3.dmg>Mac</a> and run the installer";
alertbox(msg,1);
}
}
--> </script>
</body></html>