MP3-jPlayer - Version 1.8.7

Version Description

  • Fixed autoplay in the popout when using the popout shortcode [mp3-popout].
  • Improved widget detection for scripts to allow for core's wp_convert_widget_settings.
  • Sorted the overlapping field on widget interface.
Download this release

Release Info

Developer simon.ward
Plugin Icon 128x128 MP3-jPlayer
Version 1.8.7
Comparing to
See all releases

Code changes from version 1.8.10 to 1.8.7

css/admin-1.8.css DELETED
@@ -1,152 +0,0 @@
1
-
2
-
3
-
4
- /* --- Tabs --- */
5
- .mp3j-tabbuttons-wrap {
6
- position:relative;
7
- border:0;
8
- height:30px;
9
- padding:5px 0 0 0;
10
- width:auto;
11
- border-bottom:1px solid #ccc;
12
- overflow:visible;
13
- }
14
- .mp3j-tabbutton {
15
- float:left;
16
- padding:6px 24px 6px 22px;
17
- font-size:11px; margin:0 2px 0 0; background:#e0e0e0; font-weight:700;
18
- -webkit-border-top-left-radius: 3px;
19
- -webkit-border-top-right-radius: 3px;
20
- -moz-border-radius-topleft: 3px;
21
- -moz-border-radius-topright: 3px;
22
- border-top-left-radius: 3px;
23
- border-top-right-radius: 3px;
24
- border-bottom:1px solid #ccc;
25
- cursor:pointer;
26
- color:#777;
27
- }
28
- .active-tab {
29
- background:#f0f0f0;
30
- border:1px solid #ccc;
31
- border-bottom:0px;
32
- padding:5px 23px 7px 21px;
33
- color:#333;
34
- }
35
-
36
- .mp3j-tabs-wrap {
37
- position:relative;
38
- height:auto;
39
- border-bottom:1px solid #bbb;
40
- }
41
- .mp3j-tab {
42
- position:relative;
43
- height:auto;
44
- padding:20px 0px 40px 25px;
45
- background:#f0f0f0;
46
- }
47
- .tab-header { border-bottom:1px solid #ccc; padding:5px 0 10px 0; margin-bottom:15px; width:100%; }
48
-
49
-
50
-
51
-
52
-
53
-
54
-
55
-
56
- /* ====================================================================================== */
57
-
58
-
59
-
60
-
61
-
62
-
63
-
64
-
65
- #pickerwrap { position:relative; padding: 0px; background: #444; margin:30px 0px 0px 10px; width:380px; height:208px; border: 0px; }
66
- .addcol { position:relative; border:1px solid #d8d8d8; background:#e6e6e6; color:#444; padding:3px 3px 4px 3px; cursor:pointer; font-size: 12px; font-weight: 700; width: 20px; -moz-border-radius: 4px; -webkit-border-radius: 4px; margin-left:0px; margin-right:11px; }
67
- .addcol:hover { border:1px solid #e0e0e0; color:#666; background:#eee; }
68
- .bl { width: 30px; padding: 5px 0px 6px 30px; margin:0px 0px 0px 0px; height: 30px; border:1px solid #aaa; cursor:pointer; }
69
- #plugin { position: absolute; BACKGROUND: #444 url('images/Hue.gif') no-repeat 196px 22px; COLOR: #AAA; CURSOR: default; FONT-FAMILY: arial; FONT-SIZE: 12px; line-height: 14px; padding: 22px 9px 0px 9px; _PADDING-RIGHT: 0; Z-INDEX: 1; height:180px; WIDTH: 214px; _width: 210px; top:0px; right:7px; border-left: 0px solid #444; }
70
- #plugin br { CLEAR: both; MARGIN: 0; PADDING: 0; }
71
- #plugHEX { position: absolute; top: 85px; left: 33px; COLOR: #FFD000; color:#f0f0f0; width: 70px; height:25px; }
72
- #plugCUR { position: absolute; width: 81px; height: 57px; font-size: 1px; background: transparent; border: 1px solid #555; top: 21px; left: 33px; }
73
- #SV { background: #FF0000 url('images/SatVal.png'); _BACKGROUND: #FF0000; POSITION: relative; CURSOR: crosshair; FLOAT: left; HEIGHT: 166px; WIDTH: 167px; _WIDTH: 166px; MARGIN-RIGHT: 17px; margin-top:0px; /* filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/SatVal.png', sizingMethod='scale'); */ border: 1px solid #555; border-top:0px; -moz-user-select: none; -khtml-user-select: none; user-select: none; }
74
- #SVslide { BACKGROUND: url('images/slide.gif'); HEIGHT: 9px; WIDTH: 9px; POSITION: absolute; _font-size: 4px; line-height: 4px; }
75
- #H { BORDER: 0; CURSOR: crosshair; FLOAT: left; HEIGHT: 154px; POSITION: relative; WIDTH: 25px; PADDING: 0; TOP: 4px; -moz-user-select: none; -khtml-user-select: none; user-select: none; }
76
- #Hslide { BACKGROUND: url('images/arrow.gif'); HEIGHT: 8px; WIDTH: 20px; POSITION: absolute; _font-size: 1px; line-height: 1px; }
77
- #Hmodel { POSITION: relative; TOP: -5px; BORDER: 1px solid #555; WIDTH: 25px; height:166px; }
78
-
79
-
80
-
81
- a.fox_buttonlink {
82
- background:#eaf2fa;
83
- border:1px solid #afcfdb;
84
- padding:1px 12px 2px 10px;
85
- text-decoration:none;
86
- -webkit-border-radius: 3px;
87
- -moz-border-radius: 3px;
88
- border-radius: 3px;
89
- }
90
- a.fox_buttonlink:hover { background:#dbeafa; border:1px solid #99bac7; color:#222; }
91
-
92
- a.bl2 { padding:0px 31px 1px 31px; }
93
-
94
- div#fox_library-list, div#fox_folder-list {
95
- padding:10px 20px 10px 20px;
96
- margin:10px 0px 10px 35px;
97
- background:#f9f9f9;
98
- border:1px solid #f1f1f1;
99
- }
100
-
101
- div.wrap {
102
- border: 0px solid #FF3300;
103
- margin:0px 10px 0 20px;
104
- max-width:1200px;
105
- }
106
- div.wrap p { margin:0 0 4px 0; }
107
- div.wrap h1 { font-weight:500; font-size: 22px; line-height:22px; margin:20px 0 5px 0; padding:0; }
108
- div.wrap h2 { font-size: 10px; line-height:10px; margin:0; padding:0; }
109
- div.wrap h3 { margin:0 0 8px 20px; }
110
- div.wrap h4 { margin:20px 0 0px 0; }
111
-
112
- div.wrap p.jtick {
113
- margin:0 0 2px 24px;
114
- }
115
- div.wrap p.jtick2 {
116
- margin:0 0 2px 35px;
117
- }
118
- div.wrap p.jtext {
119
- margin:0 0 10px 20px;
120
- }
121
-
122
- .joptionswrap {
123
- border-top:0px solid #eee;
124
- margin:30px 0 40px 0px;
125
- }
126
- .joptionswrap h4 {
127
- margin:6px 0 3px 0;
128
- width:250px;
129
- }
130
- .jopbox {
131
- border:1px solid #f0f0f0;
132
- padding:10px 20px;
133
- margin-bottom:15px;
134
- min-width:550px;
135
- }
136
- a.bl3 {
137
- display:block;
138
- width:200px;
139
- padding:0 0 0 20px;
140
- margin:5px 0 1px 0;
141
- /* background:#f0f0f0;
142
- border:1px solid #d0d0d0;
143
- color:#696969; */
144
- }
145
- a.bl3:hover { /* background:#e9e9e9; border:1px solid #c9c9c9; color:#606060; */ }
146
-
147
- .clearB { clear:both; }
148
- .Ahelp1 { float:left; width:300px; border-top:0px solid #ccc; }
149
-
150
- #tog_0-list p { margin:10px 0 10px 0; }
151
- #tog_0-list h4 { margin:10px 0 10px 0; }
152
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
css/images/Thumbs.db CHANGED
Binary file
css/mp3j-admin-1.8.css ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #pickerwrap { position:relative; padding: 0px; background: #444; margin:30px 0px 0px 10px; width:380px; height:208px; border: 0px; }
2
+ .addcol { position:relative; border:1px solid #d8d8d8; background:#e6e6e6; color:#444; padding:3px 3px 4px 3px; cursor:pointer; font-size: 12px; font-weight: 700; width: 20px; -moz-border-radius: 4px; -webkit-border-radius: 4px; margin-left:0px; margin-right:11px; }
3
+ .addcol:hover { border:1px solid #e0e0e0; color:#666; background:#eee; }
4
+ .bl { width: 30px; padding: 5px 0px 6px 30px; margin:0px 0px 0px 0px; height: 30px; border:1px solid #aaa; cursor:pointer; }
5
+ #plugin { position: absolute; BACKGROUND: #444 url('images/Hue.gif') no-repeat 196px 22px; COLOR: #AAA; CURSOR: default; FONT-FAMILY: arial; FONT-SIZE: 12px; line-height: 14px; padding: 22px 9px 0px 9px; _PADDING-RIGHT: 0; Z-INDEX: 1; height:180px; WIDTH: 214px; _width: 210px; top:0px; right:7px; border-left: 0px solid #444; }
6
+ #plugin br { CLEAR: both; MARGIN: 0; PADDING: 0; }
7
+ #plugHEX { position: absolute; top: 85px; left: 33px; COLOR: #FFD000; color:#f0f0f0; width: 70px; height:25px; }
8
+ #plugCUR { position: absolute; width: 81px; height: 57px; font-size: 1px; background: transparent; border: 1px solid #555; top: 21px; left: 33px; }
9
+ #SV { background: #FF0000 url('images/SatVal.png'); _BACKGROUND: #FF0000; POSITION: relative; CURSOR: crosshair; FLOAT: left; HEIGHT: 166px; WIDTH: 167px; _WIDTH: 166px; MARGIN-RIGHT: 17px; margin-top:0px; /* filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/SatVal.png', sizingMethod='scale'); */ border: 1px solid #555; border-top:0px; -moz-user-select: none; -khtml-user-select: none; user-select: none; }
10
+ #SVslide { BACKGROUND: url('images/slide.gif'); HEIGHT: 9px; WIDTH: 9px; POSITION: absolute; _font-size: 4px; line-height: 4px; }
11
+ #H { BORDER: 0; CURSOR: crosshair; FLOAT: left; HEIGHT: 154px; POSITION: relative; WIDTH: 25px; PADDING: 0; TOP: 4px; -moz-user-select: none; -khtml-user-select: none; user-select: none; }
12
+ #Hslide { BACKGROUND: url('images/arrow.gif'); HEIGHT: 8px; WIDTH: 20px; POSITION: absolute; _font-size: 1px; line-height: 1px; }
13
+ #Hmodel { POSITION: relative; TOP: -5px; BORDER: 1px solid #555; WIDTH: 25px; height:166px; }
14
+
15
+
16
+
17
+ a.fox_buttonlink {
18
+ background:#eaf2fa;
19
+ border:1px solid #afcfdb;
20
+ padding:1px 12px 2px 10px;
21
+ text-decoration:none;
22
+ -webkit-border-radius: 3px;
23
+ -moz-border-radius: 3px;
24
+ border-radius: 3px;
25
+ }
26
+ a.fox_buttonlink:hover { background:#dbeafa; border:1px solid #99bac7; color:#222; }
27
+
28
+ a.bl2 { padding:0px 31px 1px 31px; }
29
+
30
+ div#fox_library-list, div#fox_folder-list {
31
+ padding:10px 20px 10px 20px;
32
+ margin:10px 0px 10px 35px;
33
+ background:#f9f9f9;
34
+ border:1px solid #f1f1f1;
35
+ }
36
+
37
+ div.wrap {
38
+ border: 0px solid #FF3300;
39
+ margin:0px 10px 0 20px;
40
+ max-width:1200px;
41
+ }
42
+ div.wrap p { margin:0 0 4px 0; }
43
+ div.wrap h1 { font-weight:500; font-size: 22px; line-height:22px; margin:20px 0 5px 0; padding:0; }
44
+ div.wrap h2 { font-size: 10px; line-height:10px; margin:0; padding:0; }
45
+ div.wrap h3 { margin:0 0 8px 20px; }
46
+ div.wrap h4 { margin:20px 0 0px 0; }
47
+
48
+ div.wrap p.jtick {
49
+ margin:0 0 2px 24px;
50
+ }
51
+ div.wrap p.jtick2 {
52
+ margin:0 0 2px 35px;
53
+ }
54
+ div.wrap p.jtext {
55
+ margin:0 0 10px 20px;
56
+ }
57
+
58
+ .joptionswrap {
59
+ border-top:0px solid #eee;
60
+ margin:30px 0 40px 0px;
61
+ }
62
+ .joptionswrap h4 {
63
+ margin:6px 0 3px 0;
64
+ width:250px;
65
+ }
66
+ .jopbox {
67
+ border:1px solid #f0f0f0;
68
+ padding:10px 20px;
69
+ margin-bottom:15px;
70
+ min-width:550px;
71
+ }
72
+ a.bl3 {
73
+ display:block;
74
+ width:200px;
75
+ padding:0 0 0 20px;
76
+ margin:5px 0 1px 0;
77
+ /* background:#f0f0f0;
78
+ border:1px solid #d0d0d0;
79
+ color:#696969; */
80
+ }
81
+ a.bl3:hover { /* background:#e9e9e9; border:1px solid #c9c9c9; color:#606060; */ }
82
+
83
+ .clearB { clear:both; }
84
+ .Ahelp1 { float:left; width:300px; border-top:0px solid #ccc; }
85
+
86
+ #tog_0-list p { margin:10px 0 10px 0; }
87
+ #tog_0-list h4 { margin:10px 0 10px 0; }
88
+
css/mp3j-help.css CHANGED
@@ -1,26 +1,26 @@
1
-
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
- /* ----------------------------------------- */
12
-
13
- a.fox_buttonlink { background:#eaf2fa; border:1px solid #afcfdb; padding:2px 12px 2px 10px; text-decoration:none;
14
- -webkit-border-radius: 3px;
15
- -moz-border-radius: 3px;
16
- border-radius: 3px; }
17
- a.fox_buttonlink:hover { background:#dbeafa; border:1px solid #99bac7; color:#222; }
18
-
19
- a.bl2 { padding:0px 31px 0px 30px; }
20
-
21
- div#fox_library-list, div#fox_folder-list {
22
- padding:10px 20px 10px 20px;
23
- margin:10px 120px 10px 35px;
24
- background:#f9f9f9;
25
- border:1px solid #f1f1f1;
26
  }
1
+
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+ /* ----------------------------------------- */
12
+
13
+ a.fox_buttonlink { background:#eaf2fa; border:1px solid #afcfdb; padding:2px 12px 2px 10px; text-decoration:none;
14
+ -webkit-border-radius: 3px;
15
+ -moz-border-radius: 3px;
16
+ border-radius: 3px; }
17
+ a.fox_buttonlink:hover { background:#dbeafa; border:1px solid #99bac7; color:#222; }
18
+
19
+ a.bl2 { padding:0px 31px 0px 30px; }
20
+
21
+ div#fox_library-list, div#fox_folder-list {
22
+ padding:10px 20px 10px 20px;
23
+ margin:10px 120px 10px 35px;
24
+ background:#f9f9f9;
25
+ border:1px solid #f1f1f1;
26
  }
css/player-silverALT.css CHANGED
@@ -1,643 +1,614 @@
1
- /*
2
- MP3-jPlayer 1.8.1 - Silver Player (alternative style)
3
-
4
- */
5
-
6
- /* === [mp3-jplayer] ============================== */
7
-
8
- /* POSITION AND WIDTH */
9
- div.wrap-MI { border:0; margin:0; background:transparent;
10
- /* position || float */
11
- /* width */
12
- min-width:116px;
13
- }
14
- div.jp-innerwrap,
15
- div.jp-interface,
16
- div.innertab,
17
- div.bars_holder,
18
- div.playlist-wrap-MI {
19
- width:100%;
20
- }
21
-
22
- div.jp-innerwrap { position:relative !important; background:transparent; border:0; margin:0; }
23
- div.jp-interface { position:relative !important; height:110px; min-height:85px; border:0; margin:0; cursor:default; }
24
-
25
- /* BACKGROUNDS */
26
- div.innerx { position: absolute;
27
- width: auto;
28
- height: 20px;
29
- left: 9px;
30
- right: 88px;
31
- top: 0px;
32
- background: url('images/case2t-x.png') repeat-x left top;
33
- z-index:5;
34
- }
35
-
36
- div.innerleft { position: absolute;
37
- width: 10px;
38
- height: 20px; /* IE6 */
39
- left: -1px;
40
- top: 0px;
41
- background: url('images/case2t-l.png') no-repeat left top;
42
- z-index:5; }
43
-
44
- div.innerright { position: absolute;
45
- width: 90px;
46
- height: 20px; /* IE6 */
47
- right: -2px;
48
- top: 0px;
49
- background: url('images/case2t-r.png') no-repeat right top;
50
- z-index:5; }
51
-
52
- /* SCREEN BACKGROUND -------------- */
53
- div.innertab {
54
- position: absolute;
55
- width: 100%;
56
- bottom: 10px;
57
- left: 0px;
58
- top: 0px;
59
- /* background */
60
- /* opacity */
61
- }
62
-
63
-
64
- /* SCREEN
65
- ----------------- */
66
- div.player-track-title, div.jp-play-time, div.jp-total-time, div.statusMI { position:absolute; z-index:50; /* color set from admin */ font:normal normal 500 14px/16px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
67
-
68
- div.player-track-title { top:13px; left:9px; width:auto; right:10px; }
69
- div.player-track-title span { font-size:10px; line-height:12px; padding-left:10px; max-width:95%; }
70
-
71
- div.jp-play-time, div.jp-total-time, div.statusMI { font-size:8px; line-height:10px !important; bottom:52px; text-align:left; font-family:Verdana, Arial, Helvetica, sans-serif; }
72
- div.jp-play-time { right:84px; }
73
- div.jp-total-time { right:6px; opacity:0.8; width:auto; }
74
-
75
-
76
- span.mp3-finding, span.Smp3-finding, span.mp3-tint, span.mp3-gtint { padding:0px 0px 0px 6px !important; font-size:8px !important; line-height:10px !important; height:10px !important; overflow:hidden !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
77
- span.mp3-finding, span.Smp3-finding { margin:0px 0px 0px -2px; background:url('images/finding-bar1f.gif') repeat 0px 3px; }
78
- span.mp3-tint { margin:0px 2px 0px -6px; opacity:.5; filter:alpha(opacity=50); /* background set from admin */ }
79
- span.mp3-gtint { margin:0px 2px 0px -6px; opacity:.5; filter:alpha(opacity=50); background:#777; }
80
- span.Smp3-finding { margin:0px 0px 0px 3px; }
81
- span.tintmarg { margin:0 2px 0 3px; }
82
-
83
- div.statusMI { right:27px; width:52px !important; height:10px; }
84
- .statusMI span.mp3-finding, .statusMI span.Smp3-finding, .statusMI span.mp3-tint, .statusMI span.mp3-gtint { padding:0px 0px 0px 6px !important; }
85
- .statusMI span.mp3-tint, .statusMI span.mp3-gtint { margin:0px 2px 0px -6px; }
86
-
87
- .MI-image { position:absolute; top:0; left:0; padding:0; }
88
- .MI-image img { border:none; padding:0px; background-color:#bbb; }
89
- .MI-image a:hover img { /* background-colour set from admin */ }
90
-
91
- div.player-track-title.mp3j_widgetmods { font-size: 11px; top: 12px; left:5px; }
92
- div.player-track-title.mp3j_widgetmods span { font-size: 9px; }
93
-
94
- /* DIV TRANSPORT since 1.6 */
95
- /* Transport wrap */
96
- div.transport-MI { position:absolute; left:0px; height:39px; right:0px; bottom:0px; border:0; z-index:15; background:url('images/case2t-x.png') repeat-x left -65px; padding-right:2px; }
97
-
98
- /* playpause button */
99
- div.buttons_mp3j { text-indent:-9999px !important; float:right; width:30px; height: 34px; margin:0px; background: transparent url("images/transport-hard.png") -110px 1px no-repeat !important; }
100
- div.buttons_mp3j:hover { background:transparent url("images/transport-hard.png") -110px -31px no-repeat !important; }
101
- div.buttons_mp3jpause { text-indent:-9999px !important; float:right; width:30px; height: 34px; margin:0px; background: transparent url("images/transport-hard.png") -2px 1px no-repeat !important; }
102
- div.buttons_mp3jpause:hover { background:transparent url("images/transport-hard.png") -2px -31px no-repeat !important; }
103
-
104
- /* prev & next buttons */
105
- div.Prev_mp3j, div.Next_mp3j { text-indent:-9999px !important; float:right; height: 28px; }
106
- div.Prev_mp3j { width:22px; margin:0px 2px 0px 0px; background: transparent url("images/transport-hard.png") -32px -1px no-repeat !important; }
107
- div.Prev_mp3j:hover { background: transparent url("images/transport-hard.png") -32px -33px no-repeat !important; }
108
- div.Next_mp3j { width:19px; margin:0px 1px 0px 0px; background: transparent url("images/transport-hard.png") -57px -1px no-repeat !important; }
109
- div.Next_mp3j:hover { background: transparent url("images/transport-hard.png") -57px -33px no-repeat !important; }
110
-
111
- /* stop button */
112
- div.stop_mp3j { text-indent:-9999px !important; float:right; width:26px; height: 34px; margin:0px 1px 0px 2px; background: transparent url("images/transport-hard.png") -81px 1px no-repeat !important; }
113
- div.stop_mp3j:hover { background:transparent url("images/transport-hard.png") -81px -31px no-repeat !important; }
114
-
115
- /* PLAYLIST TOGGLE */
116
- div.playlist-toggle-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif; bottom:5px; left:1px; color:#707070; padding:2px 6px 2px 5px; line-height:9px; min-width:24px; background:#b9b9b9; -moz-border-radius:1px; -webkit-border-radius:1px; cursor:default; z-index:30; }
117
- div.playlist-toggle-MI:hover { background:#c6c6c6; color:#808080; border-right:1px solid #a9a9a9; }
118
-
119
- /* DOWNLOAD BUTTON */
120
- div.dloadmp3-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; bottom:49px; margin:0px !important; font-size:9px !important; text-align:center; left:0px; width:41%; min-width:75px; max-width:225px; padding:0px 0px 0px 0px !important; border:0px; background:transparent url('images/t10b.png') repeat left top !important; color:#fff; line-height:11px !important; -moz-border-radius-topright:3px; -webkit-border-top-right-radius:3px; overflow:hidden; z-index:150; cursor:default; }
121
- div.dloadmp3-MI.betweenlinks { background:transparent url('images/t10b.png') repeat left top !important; }
122
- div.dloadmp3-MI.whilelinks, div.dloadmp3-MI.logintext { background:#696969 !important; }
123
- div.dloadmp3-MI.whilelinks:hover { background:#777 !important; }
124
-
125
- div.dloadmp3-MI a { color:#ececec; display:block; width:auto; padding:1px 5px 2px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; /* after font declaration */ height:100%; border-bottom:none; visibility:hidden; }
126
- div.dloadmp3-MI a:hover { outline: none; border-bottom: none; color: #ececec; }
127
- div.dloadmp3-MI.betweenlinks a { visibility: hidden; }
128
- div.dloadmp3-MI.whilelinks a { color: #f3f3f3; visibility: inherit; }
129
- div.dloadmp3-MI.whilelinks a:hover { color: #fff; }
130
-
131
- div.dloadmp3-MI p { color:#ececec; display:block; width:auto; padding:1px 5px 2px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; /* after font declaration */ height:100%; border-bottom:none; visibility:visible; }
132
-
133
- /* POPOUT BUTTON */
134
- div.mp3j-popout-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif; bottom:18px; left:0px; height:16px; color:#595959; padding:3px 5px 0px 28px; min-width:2px; line-height:11px; border:1px solid #acacac; background:#bfbfbf url('images/buttons-popout.png') no-repeat -5px -5px; -moz-border-radius:2px; -webkit-border-radius:2px; cursor:default; z-index:30; }
135
- div.mp3j-popout-MI:hover { color:#606060; background:#c6c6c6 url('images/buttons-popout.png') no-repeat -5px -35px; }
136
-
137
-
138
- /* sliders/bars */
139
- .ui-state-disabled { cursor: default !important; }
140
- .ui-slider { position: relative; text-align: left; }
141
- .ui-slider .ui-slider-handle { position: absolute; z-index: 100; cursor: default; }
142
- .ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; }
143
- .ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
144
- .ui-slider-horizontal .ui-slider-range-min { left: 0; }
145
- .ui-slider-horizontal .ui-slider-range-max { right: 0; }
146
- .ui-state-default,
147
- .ui-widget-content .ui-state-default {
148
- outline: none;
149
- border: 0px;
150
- }
151
-
152
-
153
- div.MIsliderVolume { position:absolute;
154
- top:7px;
155
- right: 10px;
156
- width: 59px;
157
- height:2px;
158
- background: #555;
159
- border: 1px solid #606060;
160
- font-size: 1px;
161
- cursor: default;
162
- z-index:10; }
163
-
164
- div.MIsliderVolume .ui-widget-header { /* background */ }
165
-
166
- div.MIsliderVolume .ui-slider-handle {
167
- height: 11px !important;
168
- width: 10px !important;
169
- padding: 0px !important;
170
- margin-left: -4px;
171
- top: -5px;
172
- border: 0px;
173
- -moz-border-radius: 2px;
174
- -webkit-border-radius: 2px;
175
- background: transparent url('images/vol-handle.png') no-repeat -1px 0px;
176
- overflow:hidden !important; }
177
-
178
- div.MIsliderVolume .ui-slider-handle:hover {
179
- border-color: #888;
180
- background: #606060;
181
- background: transparent url('images/vol-handle.png') no-repeat -21px 0px; }
182
-
183
- div.MIsliderVolume .ui-state-active,
184
- div.MIsliderVolume .ui-widget-content .ui-state-active {
185
- border: 0px solid #777;
186
- background: transparent url('images/vol-handle.png') no-repeat -21px 0px;
187
- outline: none; }
188
-
189
- div.bars_holder { position:absolute;
190
- bottom: 39px;
191
- left: 0px;
192
- right: 0px;
193
- width: auto;
194
- height: 9px;
195
- background: #989898;
196
- font-size: 1px;
197
- cursor: default;
198
- border-bottom: 1px solid #d8d8d8;
199
- z-index: 700; }
200
-
201
- div.bars_holder.ui-widget-header { border: 1px solid #555;
202
- border-left: 0px;
203
- border-right: 0px;
204
- margin-right: 20px;
205
- }
206
-
207
- div.poscolMI_mp3j { position:absolute; top:0px; left:0px; bottom:1px;
208
- /* background */
209
- /* opacity */
210
- }
211
- div.posbarMI_mp3j { position: absolute;
212
- /*background: #989898;*/
213
- top: 0px;
214
- font-size: 5px;
215
- border: 0px solid #989898;
216
- border-bottom: 0px solid #888;
217
- border-left: 0px solid #888;
218
- left: 0px;
219
- right: 6px;
220
- width:auto; }
221
-
222
- div.posbarMI_mp3j .ui-slider-handle {
223
- top: -2px;
224
- margin-left: -2px;
225
- border: 0px;
226
- height: 13px;
227
- width: 12px;
228
- background: transparent url('images/pos-handleALT.png') no-repeat left top;
229
- z-index: 800; }
230
-
231
- div.posbarMI_mp3j .ui-slider-handle:hover {
232
- background: transparent url('images/pos-handleALT.png') no-repeat right top; }
233
-
234
- div.posbarMI_mp3j .ui-state-active, div.posbarMI_mp3j .ui-widget-content .ui-state-active {
235
- border: 0px solid #777;
236
- background: 989898 url('images/pos-handleALT.png') no-repeat right top;
237
- outline: none; }
238
-
239
- /* LOAD BAR */
240
- div.loadMI_mp3j { position:absolute; top:6px; left:0px; bottom:0px;
241
- /* background */
242
- /* opacity */
243
- }
244
-
245
- div.bars_holder .ui-progressbar .ui-progressbar-value {margin: 0px; height:100%;
246
- /* background */
247
- /* opacity */
248
- }
249
-
250
- div.bars_holder .ui-slider-horizontal { height: 6px; z-index: 100; }
251
-
252
-
253
- /* PLAYLIST */
254
- div.listwrap_mp3j { position:relative; padding: 0px 0px 0px 0px; margin-top:-2px; /* background */ }
255
- div.playlist-wrap-MI { position:relative; }
256
- div.playlist-wrap-MI ul { position:static; }
257
-
258
-
259
- div.playlist-colour { position:absolute; width:100%; height:100%; left:0px; top:0px;
260
- /* background */
261
- /* opacity */
262
- }
263
-
264
- ul.UL_mp3j { margin:0px !important; padding:0px 0px 0px 0px !important; list-style-type:none !important; list-style:none !important; list-style-image:none !important; }
265
- ul.UL-MI_mp3j { margin:0px !important; padding:0px 0px 0px 0px !important; list-style-type:none !important; list-style:none !important; list-style-image:none !important; font-weight: 500 !important;
266
- /* background */
267
- }
268
- ul.UL_mp3j li { margin:0px !important; padding:0px 0px 0px 15px !important; background:none !important; }
269
- ul.UL_mp3j li:before { content:none !important; }
270
- ul.UL-MI_mp3j li { margin:0px !important; list-style-type:none !important; padding:0px 0px 1px 0px !important; font-weight:500 !important; line-height:16px !important; letter-spacing:0px !important; font-size:11px !important; word-spacing:0px !important; margin:0px 1px 0px 1px !important; }
271
- ul.UL-MI_mp3j li:before { content:none !important; }
272
- ul.UL-MI_mp3j.mp3j_widgetmods li { font-size:10px !important; line-height:14px !important; }
273
-
274
- ul.UL-MI_mp3j li a { font-size:11px !important; border:0 !important; line-height:16px !important; font-weight:500 !important; text-decoration:none !important; display:block !important; width:auto !important; font-family:'verdana', 'Lucida Grande', 'arial', sans-serif !important; outline:none !important; padding:6px 0px 6px 14px !important; }
275
- ul.UL-MI_mp3j.mp3j_widgetmods li a { font-size:10px !important; line-height:14px !important; }
276
-
277
- .MI-image { position:absolute; top:0; left:0; padding:0; }
278
- .MI-image a img { border:none; padding:1px; background-color:#ccc; }
279
- .MI-image a:hover img { /* background-colour */ }
280
-
281
-
282
-
283
- /* FORCED DOWNLOAD FRAME
284
- ------------------------ */
285
-
286
- div.mp3j-dlframe, iframe.mp3j-dlframe {
287
- border:0px solid #ddd;
288
- width:1px;
289
- height:1px;
290
- overflow:hidden;
291
- margin:0;
292
- padding:0;
293
- display:none !important;
294
- }
295
-
296
- /* MESSAGES */
297
- div.mp3j-finfo {
298
- position:absolute;
299
- top:36px;
300
- z-index:9999 !important;
301
- width:80%;
302
- left:10%;
303
- -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
304
- background:url('images/fdloadW-x.png') repeat-x left top;
305
- -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
306
- padding:0;
307
- min-height:31px;
308
- overflow:hidden;
309
- min-width:170px;
310
- }
311
-
312
- div.mp3j-finfo * { font-family:Arial, Helvetica, sans-serif !important; }
313
- div.mp3j-finfo-sleeve { position:relative !important; width:100%; height:100%; }
314
- div.mp3j-finfo-gif { position:absolute !important; top:0; left:0; right:10%; bottom:0; background:url('images/loader.gif') no-repeat center 37px; width:auto; padding:0px; height:100%; }
315
- div.mp3j-finfo-txt { position:relative !important; margin:0px 15px 0 15px !important; padding:10px 0 10px 0 !important; width:auto; }
316
- div.mp3j-finfo-close { position:absolute !important; width:31px !important; height:27px !important; padding-top:5px !important; right:0 !important; top:0 !important; text-align:center !important; font-weight:700 !important; font-size:18px !important; line-height:22px !important; color:#aaa !important; border-bottom:1px solid #ccc !important; border-left:1px solid #ccc !important; background:url('images/t40w.png') repeat left top !important; }
317
- div.mp3j-finfo-close:hover { color:#888 !important; }
318
-
319
- div.mp3j-finfo-txt h2 { font-size:15px !important; color:#333 !important; margin:0 0 10px 0 !important; }
320
- div.mp3j-finfo-txt h3 { font-size:14px !important; color:#333 !important; margin:0 0 15px 0 !important; }
321
- div.mp3j-finfo-txt p { font-size:11px !important; color:#555 !important; line-height:13px !important; margin:0 0 5px 0 !important; }
322
- div.mp3j-finfo-txt a { }
323
-
324
-
325
-
326
-
327
- .mp3j-nosolution
328
- {
329
- position:absolute;
330
- z-index:9999;
331
- height:auto;
332
- padding:5%;
333
- border:1px solid #c0c0c0;
334
- background:#f0f0f0;
335
- color:#333;
336
- top:4px;
337
- left:4px;
338
- right:4px;
339
- -webkit-border-top-left-radius: 8px;
340
- -webkit-border-top-right-radius: 8px;
341
- -moz-border-radius-topleft: 8px;
342
- -moz-border-radius-topright: 8px;
343
- border-top-left-radius: 8px;
344
- border-top-right-radius: 8px;
345
- font-size:13px;
346
- -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
347
- }
348
-
349
- .s-nosolution
350
- {
351
- }
352
-
353
-
354
-
355
- /*-------------------------
356
- [mp3j] & [mp3t] SHORTCODES
357
- ==================================== */
358
- span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
359
- /*span.wrap_inline_mp3j:hover .buttons_mp3j { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }*/
360
- span.indi_mp3j { position:relative; padding-left:2px; font-size: 0.7em !important; }
361
-
362
- /* BARS */
363
- span.bars_mp3j { position:absolute; width:100%; height:100%; }
364
- span.load_mp3j, span.loadB_mp3j { position:absolute; /* background */ top:20px; left:0px; height:2px; }
365
- /* mp3t */
366
- span.posbar_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
367
- span.posbar_mp3j .ui-widget-header { z-index:-500; }
368
- span.posbar_mp3j .ui-slider-handle { top: 2px; margin-left:-2px; border:1px solid #999; height:21px; width:4px; z-index:500; background:url('images/t20b.png') repeat; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
369
- span.posbar_mp3j .ui-slider-handle:hover { background:url('images/t15b.png') repeat; border-color:#aaa; }
370
- /* mp3j */
371
- span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0; z-index:450; cursor:pointer; }
372
- span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:450; height:100%; }
373
- span.posbarB_mp3j .ui-slider-handle { top: 0px; margin-left:-6px !important; border:0px solid #888; height:23px; width:12px !important; z-index: 500; background: transparent url('images/inlineHandle2.png') no-repeat -3px -3px; cursor: default; padding:0px !important; }
374
- span.posbarB_mp3j .ui-slider-handle:hover { background: transparent url('images/inlineHandle2.png') no-repeat -3px -33px; }
375
-
376
- /* SPAN TRANSPORT */
377
- span.group_wrap { position:relative; margin:0px 0px 0px 0px; width:auto; }
378
- span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; margin:0px; padding:0px; }
379
- span.buttons_mp3j { position:relative; margin:0px; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -80px -3px; }
380
- span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }
381
- span.buttons_mp3jpause { position:relative; margin:0px; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -2px -3px; }
382
- span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -35px; }
383
-
384
- /* VOLUMES */
385
- span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; }
386
- span.vol_mp3j { position:absolute; top:-9px; right:5px; width:85%; max-width:100px; height:2px; }
387
- span.vol_mp3j.flipped { right:4px; }
388
- span.vol_mp3t .ui-widget-header, span.vol_mp3j .ui-widget-header { background: transparent url('images/vol-grad60b2.png') repeat left top; z-index:500; height:100%; }
389
- span.vol_mp3t .ui-slider-handle, span.vol_mp3j .ui-slider-handle { height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; border:0px !important; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; z-index:600; overflow:hidden !important; cursor:default; top:-6px; background: transparent url('images/vol-handle.png') no-repeat -1px 0px; }
390
- span.vol_mp3t .ui-slider-handle:hover, span.vol_mp3j .ui-slider-handle:hover { background: transparent url('images/vol-handle.png') no-repeat -21px 0px; }
391
- span.vol_mp3t .ui-state-active, span.vol_mp3t .ui-widget-content .ui-state-active, span.vol_mp3j .ui-state-active, span.vol_mp3j .ui-widget-content .ui-state-active { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; border:0px; }
392
-
393
-
394
- /*----------------------
395
- [mp3j-popout] SHORTCODE
396
- ================================================= */
397
- .mp3j-popout-link-wrap { cursor:pointer; position:relative; clear:left; }
398
- .mp3j-popout-link { float:left; margin:0 5px 0 0; min-width:22px; min-height:18px; background:url('images/buttons-popout.png') no-repeat -10px -65px; }
399
- .mp3j-popout-link-wrap:hover .mp3j-popout-link { background:url('images/buttons-popout.png') no-repeat -10px -95px; }
400
-
401
-
402
-
403
-
404
- /*=================================================
405
-
406
- MODS
407
- (via 'style' param in shortcode)
408
- ================================================= */
409
-
410
- /* ===== "nolistbutton" ===== */
411
- .nolistbutton div.playlist-toggle-MI { visibility:hidden; }
412
-
413
- /* ===== "nopopoutbutton" ===== */
414
- .nopopoutbutton div.mp3j-popout-MI { display:none; }
415
-
416
- /* ===== "nopn" ===== */
417
- .nopn div.Prev_mp3j { display:none; }
418
- .nopn div.Next_mp3j { display:none; }
419
-
420
- /* ===== "nostop" ===== */
421
- .nostop div.stop_mp3j { display:none; }
422
-
423
-
424
- /* ===== "bars100" ===== */
425
- .bars100 div.player-track-title { left:112px; }
426
- .bars100 div.dloadmp3-MI { left:102px; width:36%;}
427
- .bars100 div.bars_holder { left:102px; width:auto; }
428
- .bars100 .MI-image img { padding:1px; }
429
- .bars100 div.player-track-title { top:20px; }
430
-
431
- /* ===== "bars150" ===== */
432
- .bars150 div.player-track-title { left:162px; }
433
- .bars150 div.dloadmp3-MI { left:152px; width:33%;}
434
- .bars150 div.bars_holder { left:152px; width:auto; }
435
- .bars150 .MI-image img { padding:1px; }
436
- .bars150 div.player-track-title { top:20px; }
437
-
438
- /* ===== "bars200" ===== */
439
- .bars200 div.player-track-title { left:212px; }
440
- .bars200 div.dloadmp3-MI { left:202px; width:30%; }
441
- .bars200 div.bars_holder { left:202px; width:auto; }
442
- .bars200 .MI-image img { padding:1px; }
443
- .bars200 div.player-track-title { top:20px; }
444
-
445
- /* ===== "bars250" ===== */
446
- .bars250 div.player-track-title { left:262px; }
447
- .bars250 div.dloadmp3-MI { left:252px; width:27%;}
448
- .bars250 div.bars_holder { left:252px; width:auto; }
449
- .bars250 .MI-image img { padding:1px; }
450
- .bars250 div.player-track-title { top:20px; }
451
-
452
- /* ===== "bars300" ===== */
453
- .bars300 div.player-track-title { left:312px; }
454
- .bars300 div.dloadmp3-MI { left:302px; width:24%; }
455
- .bars300 div.bars_holder { left:302px; width:auto; }
456
- .bars300 .MI-image img { padding:1px; }
457
- .bars300 div.player-track-title { top:20px; }
458
-
459
- /* ===== "bars350" ===== */
460
- .bars350 div.player-track-title { left:362px; }
461
- .bars350 div.dloadmp3-MI { left:352px; width:21%;}
462
- .bars350 div.bars_holder { left:352px; width:auto; }
463
- .bars350 .MI-image img { padding:1px; }
464
- .bars350 div.player-track-title { top:20px; }
465
-
466
- /* ===== "bars400" ===== */
467
- .bars400 div.player-track-title { left:412px; }
468
- .bars400 div.dloadmp3-MI { left:402px; width:18%; }
469
- .bars400 div.bars_holder { left:402px; width:auto; }
470
- .bars400 .MI-image img { padding:1px; }
471
- .bars400 div.player-track-title { top:20px; }
472
-
473
- /* ===== bigger1 ===== */
474
- .bigger1 { font-size:18px; line-height:26px !important; margin:0 !important; }
475
- .bigger1 span.load_mp3j,
476
- .bigger1 span.loadB_mp3j { top:24px; left:0px; height:2px; }
477
- .bigger1 span.posbar_mp3j .ui-slider-handle { top: 3px; height:24px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
478
- .bigger1 span.posbarB_mp3j .ui-slider-handle { top: 3px; margin-left:-3px !important; border:1px solid #999; height:24px; width:6px !important; z-index:500; background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
479
- .bigger1 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; border-color:#aaa; }
480
- .bigger1 span.buttons_mp3j { position:relative; margin:0px; margin-left:5px !important; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -80px 0px; }
481
- .bigger1 span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -32px; }
482
- .bigger1 span.buttons_mp3jpause { position:relative; margin:0px; margin-left:5px !important; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -2px 0px; }
483
- .bigger1 span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -32px; }
484
- .bigger1 span.vol_mp3j { position:absolute; top:-6px; right:7px; width:85%; max-width:100px; height:2px; }
485
-
486
- .bigger1 div.player-track-title { font:normal normal 500 18px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
487
-
488
- .bigger1 div.player-track-title span { font:normal normal 500 14px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
489
- .bigger1 ul.UL-MI_mp3j li a, .bigger1 ul.UL-MI_mp3j li { font-size:16px !important; line-height:19px !important; }
490
- .bigger1 .indi_mp3j { font-size: 0.6em !important; }
491
-
492
- /* ===== "bigger2" ===== */
493
- .bigger2 div.player-track-title { font:normal normal 500 36px/38px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
494
- .bigger2 div.player-track-title span { font:normal normal 500 20px/22px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
495
- .bigger2 ul.UL-MI_mp3j li a, .bigger2 ul.UL-MI_mp3j li { font-size:20px !important; line-height:24px !important; }
496
- .bigger2 { font-size:23px; line-height:25px !important; margin:0 !important; }
497
- .bigger2 span.load_mp3j,
498
- .bigger2 span.loadB_mp3j { top:26px; left:0px; height:2px; }
499
- .bigger2 span.posbar_mp3j .ui-slider-handle { top: 0px; height:28px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
500
- .bigger2 span.posbarB_mp3j .ui-slider-handle { top: -1px; margin-left:-3px !important; border:1px solid #999; height:29px; width:8px !important; z-index:500; border-color:#aaa; background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
501
- .bigger2 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; border-color:#999; }
502
- .bigger2 span.buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 4px 20px !important; background:url('images/play-dark2-b.png') no-repeat -186px center; border:0px solid #bbb; margin-left:10px; }
503
- .bigger2 span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -437px center; }
504
- .bigger2 span.buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:0px 0px 2px 20px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
505
- .bigger2 span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
506
- .bigger2 span.vol_mp3j { position:absolute; top:-12px; right:4px; width:85%; max-width:100px; height:2px; }
507
- .bigger2 span.vol_mp3t { position:absolute; top:-10px; width:85%; max-width:100px; height:2px; }
508
- .bigger2 .Smp3-finding,
509
- .bigger2 .mp3-tint,
510
- .bigger2 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 10px !important; font-size:12px !important; line-height:12px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
511
- .bigger2 .mp3-gtint { margin:0 6px 0 -16px; }
512
- .bigger2 .indi_mp3j { font-size: 0.5em !important; padding-left:0px; }
513
-
514
- .bigger2.wh .buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 4px 20px !important; background:url('images/play-dark2-w.png') no-repeat -186px center; border:0px solid #bbb; margin-left:10px; }
515
- .bigger2.wh .buttons_mp3j:hover { background:url('images/play-dark2-w.png') no-repeat -437px center; }
516
- .bigger2.wh .buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:0px 0px 2px 20px !important; background:url('images/stop-dark2-w.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
517
- .bigger2.wh .buttons_mp3jpause:hover { background:url('images/stop-dark2-w.png') repeat-y -350px top; }
518
-
519
-
520
-
521
- /* ===== bigger3 ===== */
522
- .bigger3 { font-size:28px; line-height:36px !important; margin:0 !important; }
523
- .bigger3 .load_mp3j, .bigger3 .loadB_mp3j { top:37px; left:0px; height:3px; }
524
- .bigger3 .posbar_mp3j .ui-slider-handle, .bigger3 .posbarB_mp3j .ui-slider-handle { top: 0px; border:1px solid #bbb; height:40px; width:12px !important; margin-left:-5px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
525
- .bigger3 .posbar_mp3j .ui-slider-handle:hover, .bigger3 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y 0px top; border:1px solid #aaa; }
526
- .bigger3 .indi_mp3j { font-size: 0.5em !important; }
527
- .bigger3 span.buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:8px 0px 12px 30px !important; background:url('images/play-dark2.png') no-repeat -177px center; border:0px solid #bbb; margin-left:12px; }
528
- .bigger3 span.buttons_mp3j:hover { background:url('images/play-dark2.png') no-repeat -428px center; }
529
- .bigger3 span.buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 6px 30px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:12px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
530
- .bigger3 span.buttons_mp3jpause:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
531
- .bigger3 .vol_mp3j { height:1px; max-width:110px; right:64px; top:-8px; }
532
- .bigger3 .vol_mp3t { height:1px; max-width:110px; right:16px; top:-5px; }
533
- .bigger3 .vol_mp3j .ui-slider-handle, .bigger3 .vol_mp3t .ui-slider-handle { height:14px !important; width:33px !important; margin-left:-16px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-14px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
534
- .bigger3 .vol_mp3j .ui-slider-handle:hover, .bigger3 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
535
- .bigger3 .Smp3-finding,
536
- .bigger3 .mp3-tint,
537
- .bigger3 .mp3-gtint { margin-left:8px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
538
- .bigger3 .mp3-gtint { margin:0 2px 0 -14px; }
539
- .bigger3 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
540
- .bigger3 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
541
- .bigger3 ul.UL-MI_mp3j li a, .bigger3 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
542
-
543
- .bigger3.bl span.buttons_mp3j { background:url('images/play-dark2-b.png') no-repeat -177px center; }
544
- .bigger3.bl span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -428px center; }
545
- .bigger3.bl span.buttons_mp3jpause { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
546
- .bigger3.bl span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
547
- .bigger3.bl span.vol_mp3j .ui-slider-handle, .bigger3.bl span.vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
548
- .bigger3.bl span.vol_mp3j .ui-slider-handle:hover, .bigger3.bl span.vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
549
-
550
-
551
-
552
- /* ===== bigger4 ===== */
553
- .bigger4 { font-size:38px; line-height:46px !important; margin:0 !important; }
554
- .bigger4 .load_mp3j, .bigger4 .loadB_mp3j { top:46px; left:0px; height:3px; }
555
- .bigger4 .posbar_mp3j .ui-slider-handle, .bigger4 .posbarB_mp3j .ui-slider-handle { top: -2px; border:1px solid #bbb; height:52px; width:16px !important; margin-left:-8px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
556
- .bigger4 .posbar_mp3j .ui-slider-handle:hover, .bigger4 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y 0px top; border:1px solid #aaa; }
557
- .bigger4 .indi_mp3j { font-size: 0.5em !important; }
558
- .bigger4 span.buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:8px 0px 12px 40px !important; background:url('images/play-dark2.png') no-repeat -167px center; border:0px solid #bbb; margin-left:15px; }
559
- .bigger4 span.buttons_mp3j:hover { background:url('images/play-dark2.png') no-repeat -418px center; }
560
- .bigger4 span.buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 4px 40px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:15px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
561
- .bigger4 span.buttons_mp3jpause:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
562
- .bigger4 .vol_mp3j { height:1px; max-width:110px; right:86px; top:-8px; }
563
- .bigger4 .vol_mp3t { height:1px; max-width:110px; right:20px; top:-5px; }
564
- .bigger4 .vol_mp3j .ui-slider-handle, .bigger4 .vol_mp3t .ui-slider-handle { height:20px !important; width:43px !important; margin-left:-21px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-20px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
565
- .bigger4 .vol_mp3j .ui-slider-handle:hover, .bigger4 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
566
- .bigger4 .Smp3-finding,
567
- .bigger4 .mp3-tint,
568
- .bigger4 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
569
- .bigger4 .mp3-gtint { margin:0 6px 0 -20px; }
570
-
571
- .bigger4 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
572
- .bigger4 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
573
- .bigger4 ul.UL-MI_mp3j li a, .bigger4 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
574
-
575
- .bigger4.bl .posbar_mp3j .ui-slider-handle, .bigger4.bl .posbarB_mp3j .ui-slider-handle { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
576
- .bigger4.bl .posbar_mp3j .ui-slider-handle:hover, .bigger4.bl .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
577
- .bigger4.bl .buttons_mp3j { background:url('images/play-dark2-b.png') no-repeat -167px center; }
578
- .bigger4.bl .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -418px center; }
579
- .bigger4.bl .buttons_mp3jpause { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
580
- .bigger4.bl .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
581
- .bigger4.bl .vol_mp3j .ui-slider-handle, .bigger4.bl .vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
582
- .bigger4.bl .vol_mp3j .ui-slider-handle:hover, .bigger4.bl .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
583
-
584
-
585
-
586
- /* ===== bigger5 ===== */
587
- .bigger5 { font-size:48px; line-height:60px !important; margin:0 !important; }
588
- .bigger5 .load_mp3j, .bigger5 .loadB_mp3j { top:63px; left:0px; height:4px; }
589
- .bigger5 .posbar_mp3j .ui-slider-handle, .bigger5 .posbarB_mp3j .ui-slider-handle { top: -1px; border:1px solid #bbb; height:69px; width:20px !important; margin-left:-10px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
590
- .bigger5 .posbar_mp3j .ui-slider-handle:hover, .bigger5 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y 0px top; border:1px solid #aaa; }
591
- .bigger5 .indi_mp3j { font-size: 0.5em !important; }
592
- .bigger5 span.buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:8px 0px 13px 52px !important; background:url('images/play-dark2.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
593
- .bigger5 span.buttons_mp3j:hover { background:url('images/play-dark2.png') no-repeat -405px center; }
594
- .bigger5 span.buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:3px 0px 8px 52px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:15px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
595
- .bigger5 span.buttons_mp3jpause:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
596
- .bigger5 .vol_mp3j { height:1px; max-width:170px; right:115px; top:-10px; }
597
- .bigger5 .vol_mp3t { height:1px; max-width:170px; right:33px; top:-5px; }
598
- .bigger5 .vol_mp3j .ui-slider-handle, .bigger5 .vol_mp3t .ui-slider-handle { height:30px !important; width:55px !important; margin-left:-21px; border-bottom:1px solid #aaa !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-30px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
599
- .bigger5 .vol_mp3j .ui-slider-handle:hover, .bigger5 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
600
- .bigger5 .Smp3-finding,
601
- .bigger5 .mp3-tint,
602
- .bigger5 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
603
- .bigger5 .mp3-gtint { margin:0 6px 0 -20px; }
604
-
605
- .bigger5.bl .posbar_mp3j .ui-slider-handle, .bigger5.bl .posbarB_mp3j .ui-slider-handle { background:url('images/stop-dark2-b.png') repeat-y -350px top; border:1px solid #888; }
606
- .bigger5.bl .posbar_mp3j .ui-slider-handle:hover, .bigger5.bl .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; border:1px solid #777; }
607
- .bigger5.bl .buttons_mp3j { background:url('images/play-dark2-b.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
608
- .bigger5.bl .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -405px center; }
609
- .bigger5.bl .buttons_mp3jpause { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
610
- .bigger5.bl .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
611
- .bigger5.bl .vol_mp3j .ui-slider-handle, .bigger5.bl .vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
612
- .bigger5.bl .vol_mp3j .ui-slider-handle:hover, .bigger5.bl .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
613
-
614
-
615
- /* ===== "smaller" ===== */
616
- .smaller div.player-track-title { font:normal normal 500 11px/13px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; left:3px; right:5px; }
617
- .smaller div.player-track-title span { font:normal normal 500 10px/10px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; padding:0; }
618
- .smaller ul.UL-MI_mp3j li a, .smaller ul.UL-MI_mp3j li { font-size:10px !important; font-family:'verdana', Helvetica, sans-serif !important; line-height:13px !important; }
619
-
620
-
621
- /* ===== outline ==== */
622
- span.outline { font-size:14px; line-height:22px !important; margin:0 !important; }
623
- .outline span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; background: transparent; }
624
- .outline span.vol_mp3j { position:absolute; top:-9px; right:7px; width:85%; max-width:100px; height:2px; background: transparent; }
625
- .outline span.buttons_mp3j { padding:2px 0px 5px 20px !important; background: transparent url('images/transport-outline.png') no-repeat -80px -1px; border:0; margin:0; }
626
- .outline span.buttons_mp3j:hover { background:transparent url('images/transport-outline.png') no-repeat -80px -33px; }
627
- .outline span.buttons_mp3jpause { padding:2px 0px 5px 20px !important; background: transparent url('images/transport-outline.png') no-repeat 1px -1px; border:0; margin:0; }
628
- .outline span.buttons_mp3jpause:hover { background:transparent url('images/transport-outline.png') no-repeat 1px -33px; }
629
- .outline span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
630
- .outline span.posbarB_mp3j .ui-widget-header { z-index:-500; }
631
- .outline span.posbarB_mp3j .ui-slider-handle { top: 0px; margin-left:0px; border:1px solid #aaa; height:23px; width:5px !important; z-index:500; background:url('images/t10b.png') repeat; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
632
- .outline span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t20b.png') repeat; border-color:#777; }
633
-
634
-
635
- /* ===== wtransbars ==== */
636
- .wtransbars div.loadMI_mp3j { background:#fff; opacity:0.1; filter:alpha(opacity=10); }
637
- .wtransbars div.poscolMI_mp3j { background:#fff url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
638
- .wtransbars div.player-track-title { color:#fff; }
639
-
640
- /* ===== btransbars ==== */
641
- .btransbars div.loadMI_mp3j { background:#000; opacity:0.1; filter:alpha(opacity=10); }
642
- .btransbars div.poscolMI_mp3j { background:#000 url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
643
- .btransbars div.player-track-title { color:#000; }
1
+ /*
2
+ MP3-jPlayer 1.8.1 - Silver Player (alternative style)
3
+
4
+ */
5
+
6
+ /* === [mp3-jplayer] ============================== */
7
+
8
+ /* POSITION AND WIDTH */
9
+ div.wrap-MI { border:0; margin:0; background:transparent;
10
+ /* position || float */
11
+ /* width */
12
+ min-width:116px;
13
+ }
14
+ div.jp-innerwrap,
15
+ div.jp-interface,
16
+ div.innertab,
17
+ div.bars_holder,
18
+ div.playlist-wrap-MI {
19
+ width:100%;
20
+ }
21
+
22
+ div.jp-innerwrap { position:relative !important; background:transparent; border:0; margin:0; }
23
+ div.jp-interface { position:relative !important; height:110px; min-height:85px; border:0; margin:0; cursor:default; }
24
+
25
+ /* BACKGROUNDS */
26
+ div.innerx { position: absolute;
27
+ width: auto;
28
+ height: 20px;
29
+ left: 9px;
30
+ right: 88px;
31
+ top: 0px;
32
+ background: url('images/case2t-x.png') repeat-x left top;
33
+ z-index:5;
34
+ }
35
+
36
+ div.innerleft { position: absolute;
37
+ width: 10px;
38
+ height: 20px; /* IE6 */
39
+ left: -1px;
40
+ top: 0px;
41
+ background: url('images/case2t-l.png') no-repeat left top;
42
+ z-index:5; }
43
+
44
+ div.innerright { position: absolute;
45
+ width: 90px;
46
+ height: 20px; /* IE6 */
47
+ right: -2px;
48
+ top: 0px;
49
+ background: url('images/case2t-r.png') no-repeat right top;
50
+ z-index:5; }
51
+
52
+ /* SCREEN BACKGROUND -------------- */
53
+ div.innertab {
54
+ position: absolute;
55
+ width: 100%;
56
+ bottom: 10px;
57
+ left: 0px;
58
+ top: 0px;
59
+ /* background */
60
+ /* opacity */
61
+ }
62
+
63
+
64
+ /* SCREEN
65
+ ----------------- */
66
+ div.player-track-title, div.jp-play-time, div.jp-total-time, div.statusMI { position:absolute; z-index:50; /* color set from admin */ font:normal normal 500 14px/16px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
67
+
68
+ div.player-track-title { top:13px; left:9px; width:auto; right:10px; }
69
+ div.player-track-title span { font-size:10px; line-height:12px; padding-left:10px; max-width:95%; }
70
+
71
+ div.jp-play-time, div.jp-total-time, div.statusMI { font-size:8px; line-height:10px !important; bottom:52px; text-align:left; font-family:Verdana, Arial, Helvetica, sans-serif; }
72
+ div.jp-play-time { right:84px; }
73
+ div.jp-total-time { right:6px; opacity:0.8; width:auto; }
74
+
75
+
76
+ span.mp3-finding, span.Smp3-finding, span.mp3-tint, span.mp3-gtint { padding:0px 0px 0px 6px !important; font-size:8px !important; line-height:10px !important; height:10px !important; overflow:hidden !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
77
+ span.mp3-finding, span.Smp3-finding { margin:0px 0px 0px -2px; background:url('images/finding-bar1f.gif') repeat 0px 3px; }
78
+ span.mp3-tint { margin:0px 2px 0px -6px; opacity:.5; filter:alpha(opacity=50); /* background set from admin */ }
79
+ span.mp3-gtint { margin:0px 2px 0px -6px; opacity:.5; filter:alpha(opacity=50); background:#777; }
80
+ span.Smp3-finding { margin:0px 0px 0px 3px; }
81
+ span.tintmarg { margin:0 2px 0 3px; }
82
+
83
+ div.statusMI { right:27px; width:52px !important; height:10px; }
84
+ .statusMI span.mp3-finding, .statusMI span.Smp3-finding, .statusMI span.mp3-tint, .statusMI span.mp3-gtint { padding:0px 0px 0px 6px !important; }
85
+ .statusMI span.mp3-tint, .statusMI span.mp3-gtint { margin:0px 2px 0px -6px; }
86
+
87
+ .MI-image { position:absolute; top:0; left:0; padding:0; }
88
+ .MI-image img { border:none; padding:0px; background-color:#bbb; }
89
+ .MI-image a:hover img { /* background-colour set from admin */ }
90
+
91
+ div.player-track-title.mp3j_widgetmods { font-size: 11px; top: 12px; left:5px; }
92
+ div.player-track-title.mp3j_widgetmods span { font-size: 9px; }
93
+
94
+ /* DIV TRANSPORT since 1.6 */
95
+ /* Transport wrap */
96
+ div.transport-MI { position:absolute; left:0px; height:39px; right:0px; bottom:0px; border:0; z-index:15; background:url('images/case2t-x.png') repeat-x left -65px; padding-right:2px; }
97
+
98
+ /* playpause button */
99
+ div.buttons_mp3j { text-indent:-9999px !important; float:right; width:30px; height: 34px; margin:0px; background: transparent url("images/transport-hard.png") -110px 1px no-repeat !important; }
100
+ div.buttons_mp3j:hover { background:transparent url("images/transport-hard.png") -110px -31px no-repeat !important; }
101
+ div.buttons_mp3jpause { text-indent:-9999px !important; float:right; width:30px; height: 34px; margin:0px; background: transparent url("images/transport-hard.png") -2px 1px no-repeat !important; }
102
+ div.buttons_mp3jpause:hover { background:transparent url("images/transport-hard.png") -2px -31px no-repeat !important; }
103
+
104
+ /* prev & next buttons */
105
+ div.Prev_mp3j, div.Next_mp3j { text-indent:-9999px !important; float:right; height: 28px; }
106
+ div.Prev_mp3j { width:22px; margin:0px 2px 0px 0px; background: transparent url("images/transport-hard.png") -32px -1px no-repeat !important; }
107
+ div.Prev_mp3j:hover { background: transparent url("images/transport-hard.png") -32px -33px no-repeat !important; }
108
+ div.Next_mp3j { width:19px; margin:0px 1px 0px 0px; background: transparent url("images/transport-hard.png") -57px -1px no-repeat !important; }
109
+ div.Next_mp3j:hover { background: transparent url("images/transport-hard.png") -57px -33px no-repeat !important; }
110
+
111
+ /* stop button */
112
+ div.stop_mp3j { text-indent:-9999px !important; float:right; width:26px; height: 34px; margin:0px 1px 0px 2px; background: transparent url("images/transport-hard.png") -81px 1px no-repeat !important; }
113
+ div.stop_mp3j:hover { background:transparent url("images/transport-hard.png") -81px -31px no-repeat !important; }
114
+
115
+ /* PLAYLIST TOGGLE */
116
+ div.playlist-toggle-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif; bottom:5px; left:1px; color:#707070; padding:2px 6px 2px 5px; line-height:9px; min-width:24px; background:#b9b9b9; -moz-border-radius:1px; -webkit-border-radius:1px; cursor:default; z-index:30; }
117
+ div.playlist-toggle-MI:hover { background:#c6c6c6; color:#808080; border-right:1px solid #a9a9a9; }
118
+
119
+ /* DOWNLOAD BUTTON */
120
+ div.dloadmp3-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; bottom:49px; margin:0px !important; font-size:9px !important; text-align:center; left:0px; width:41%; min-width:75px; max-width:225px; padding:0px 0px 0px 0px !important; border:0px; background:transparent url('images/t10b.png') repeat left top !important; color:#fff; line-height:11px !important; -moz-border-radius-topright:3px; -webkit-border-top-right-radius:3px; overflow:hidden; z-index:150; cursor:default; }
121
+ div.dloadmp3-MI.betweenlinks { background:transparent url('images/t10b.png') repeat left top !important; }
122
+ div.dloadmp3-MI.whilelinks, div.dloadmp3-MI.logintext { background:#696969 !important; }
123
+ div.dloadmp3-MI.whilelinks:hover { background:#777 !important; }
124
+
125
+ div.dloadmp3-MI a { color:#ececec; display:block; width:auto; padding:1px 5px 2px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; /* after font declaration */ height:100%; border-bottom:none; visibility:hidden; }
126
+ div.dloadmp3-MI a:hover { outline: none; border-bottom: none; color: #ececec; }
127
+ div.dloadmp3-MI.betweenlinks a { visibility: hidden; }
128
+ div.dloadmp3-MI.whilelinks a { color: #f3f3f3; visibility: inherit; }
129
+ div.dloadmp3-MI.whilelinks a:hover { color: #fff; }
130
+
131
+ div.dloadmp3-MI p { color:#ececec; display:block; width:auto; padding:1px 5px 2px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; /* after font declaration */ height:100%; border-bottom:none; visibility:visible; }
132
+
133
+ /* POPOUT BUTTON */
134
+ div.mp3j-popout-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif; bottom:18px; left:0px; height:16px; color:#595959; padding:3px 5px 0px 28px; min-width:2px; line-height:11px; border:1px solid #acacac; background:#bfbfbf url('images/buttons-popout.png') no-repeat -5px -5px; -moz-border-radius:2px; -webkit-border-radius:2px; cursor:default; z-index:30; }
135
+ div.mp3j-popout-MI:hover { color:#606060; background:#c6c6c6 url('images/buttons-popout.png') no-repeat -5px -35px; }
136
+
137
+
138
+ /* sliders/bars */
139
+ .ui-state-disabled { cursor: default !important; }
140
+ .ui-slider { position: relative; text-align: left; }
141
+ .ui-slider .ui-slider-handle { position: absolute; z-index: 100; cursor: default; }
142
+ .ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; }
143
+ .ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
144
+ .ui-slider-horizontal .ui-slider-range-min { left: 0; }
145
+ .ui-slider-horizontal .ui-slider-range-max { right: 0; }
146
+ .ui-state-default,
147
+ .ui-widget-content .ui-state-default {
148
+ outline: none;
149
+ border: 0px;
150
+ }
151
+
152
+
153
+ div.MIsliderVolume { position:absolute;
154
+ top:7px;
155
+ right: 10px;
156
+ width: 59px;
157
+ height:2px;
158
+ background: #555;
159
+ border: 1px solid #606060;
160
+ font-size: 1px;
161
+ cursor: default;
162
+ z-index:10; }
163
+
164
+ div.MIsliderVolume .ui-widget-header { /* background */ }
165
+
166
+ div.MIsliderVolume .ui-slider-handle {
167
+ height: 11px !important;
168
+ width: 10px !important;
169
+ padding: 0px !important;
170
+ margin-left: -4px;
171
+ top: -5px;
172
+ border: 0px;
173
+ -moz-border-radius: 2px;
174
+ -webkit-border-radius: 2px;
175
+ background: transparent url('images/vol-handle.png') no-repeat -1px 0px;
176
+ overflow:hidden !important; }
177
+
178
+ div.MIsliderVolume .ui-slider-handle:hover {
179
+ border-color: #888;
180
+ background: #606060;
181
+ background: transparent url('images/vol-handle.png') no-repeat -21px 0px; }
182
+
183
+ div.MIsliderVolume .ui-state-active,
184
+ div.MIsliderVolume .ui-widget-content .ui-state-active {
185
+ border: 0px solid #777;
186
+ background: transparent url('images/vol-handle.png') no-repeat -21px 0px;
187
+ outline: none; }
188
+
189
+ div.bars_holder { position:absolute;
190
+ bottom: 39px;
191
+ left: 0px;
192
+ right: 0px;
193
+ width: auto;
194
+ height: 9px;
195
+ background: #989898;
196
+ font-size: 1px;
197
+ cursor: default;
198
+ border-bottom: 1px solid #d8d8d8;
199
+ z-index: 700; }
200
+
201
+ div.bars_holder.ui-widget-header { border: 1px solid #555;
202
+ border-left: 0px;
203
+ border-right: 0px;
204
+ margin-right: 20px;
205
+ }
206
+
207
+ div.poscolMI_mp3j { position:absolute; top:0px; left:0px; bottom:1px;
208
+ /* background */
209
+ /* opacity */
210
+ }
211
+ div.posbarMI_mp3j { position: absolute;
212
+ /*background: #989898;*/
213
+ top: 0px;
214
+ font-size: 5px;
215
+ border: 0px solid #989898;
216
+ border-bottom: 0px solid #888;
217
+ border-left: 0px solid #888;
218
+ left: 0px;
219
+ right: 6px;
220
+ width:auto; }
221
+
222
+ div.posbarMI_mp3j .ui-slider-handle {
223
+ top: -2px;
224
+ margin-left: -2px;
225
+ border: 0px;
226
+ height: 13px;
227
+ width: 12px;
228
+ background: transparent url('images/pos-handleALT.png') no-repeat left top;
229
+ z-index: 800; }
230
+
231
+ div.posbarMI_mp3j .ui-slider-handle:hover {
232
+ background: transparent url('images/pos-handleALT.png') no-repeat right top; }
233
+
234
+ div.posbarMI_mp3j .ui-state-active, div.posbarMI_mp3j .ui-widget-content .ui-state-active {
235
+ border: 0px solid #777;
236
+ background: 989898 url('images/pos-handleALT.png') no-repeat right top;
237
+ outline: none; }
238
+
239
+ /* LOAD BAR */
240
+ div.loadMI_mp3j { position:absolute; top:6px; left:0px; bottom:0px;
241
+ /* background */
242
+ /* opacity */
243
+ }
244
+
245
+ div.bars_holder .ui-progressbar .ui-progressbar-value {margin: 0px; height:100%;
246
+ /* background */
247
+ /* opacity */
248
+ }
249
+
250
+ div.bars_holder .ui-slider-horizontal { height: 6px; z-index: 100; }
251
+
252
+
253
+ /* PLAYLIST */
254
+ div.listwrap_mp3j { position:relative; padding: 0px 0px 0px 0px; margin-top:-2px; /* background */ }
255
+ div.playlist-wrap-MI { position:relative; }
256
+ div.playlist-wrap-MI ul { position:static; }
257
+
258
+
259
+ div.playlist-colour { position:absolute; width:100%; height:100%; left:0px; top:0px;
260
+ /* background */
261
+ /* opacity */
262
+ }
263
+
264
+ ul.UL_mp3j { margin:0px !important; padding:0px 0px 0px 0px !important; list-style-type:none !important; list-style:none !important; list-style-image:none !important; }
265
+ ul.UL-MI_mp3j { margin:0px !important; padding:0px 0px 0px 0px !important; list-style-type:none !important; list-style:none !important; list-style-image:none !important; font-weight: 500 !important;
266
+ /* background */
267
+ }
268
+ ul.UL_mp3j li { margin:0px !important; padding:0px 0px 0px 15px !important; background:none !important; }
269
+ ul.UL_mp3j li:before { content:none !important; }
270
+ ul.UL-MI_mp3j li { margin:0px !important; list-style-type:none !important; padding:0px 0px 1px 0px !important; font-weight:500 !important; line-height:16px !important; letter-spacing:0px !important; font-size:11px !important; word-spacing:0px !important; margin:0px 1px 0px 1px !important; }
271
+ ul.UL-MI_mp3j li:before { content:none !important; }
272
+ ul.UL-MI_mp3j.mp3j_widgetmods li { font-size:10px !important; line-height:14px !important; }
273
+
274
+ ul.UL-MI_mp3j li a { font-size:11px !important; border:0 !important; line-height:16px !important; font-weight:500 !important; text-decoration:none !important; display:block !important; width:auto !important; font-family:'verdana', 'Lucida Grande', 'arial', sans-serif !important; outline:none !important; padding:6px 0px 6px 14px !important; }
275
+ ul.UL-MI_mp3j.mp3j_widgetmods li a { font-size:10px !important; line-height:14px !important; }
276
+
277
+ .MI-image { position:absolute; top:0; left:0; padding:0; }
278
+ .MI-image a img { border:none; padding:1px; background-color:#ccc; }
279
+ .MI-image a:hover img { /* background-colour */ }
280
+
281
+
282
+
283
+ /* FORCED DOWNLOAD FRAME
284
+ ------------------------ */
285
+
286
+ div.mp3j-dlframe, iframe.mp3j-dlframe {
287
+ border:0px solid #ddd;
288
+ width:1px;
289
+ height:1px;
290
+ overflow:hidden;
291
+ margin:0;
292
+ padding:0;
293
+ display:none !important;
294
+ }
295
+
296
+ /* MESSAGES */
297
+ div.mp3j-finfo {
298
+ position:absolute;
299
+ top:36px;
300
+ z-index:9999 !important;
301
+ width:80%;
302
+ left:10%;
303
+ -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
304
+ background:url('images/fdloadW-x.png') repeat-x left top;
305
+ -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
306
+ padding:0;
307
+ min-height:31px;
308
+ overflow:hidden;
309
+ min-width:170px;
310
+ }
311
+
312
+ div.mp3j-finfo * { font-family:Arial, Helvetica, sans-serif !important; }
313
+ div.mp3j-finfo-sleeve { position:relative !important; width:100%; height:100%; }
314
+ div.mp3j-finfo-gif { position:absolute !important; top:0; left:0; right:10%; bottom:0; background:url('images/loader.gif') no-repeat center 37px; width:auto; padding:0px; height:100%; }
315
+ div.mp3j-finfo-txt { position:relative !important; margin:0px 15px 0 15px !important; padding:10px 0 10px 0 !important; width:auto; }
316
+ div.mp3j-finfo-close { position:absolute !important; width:31px !important; height:27px !important; padding-top:5px !important; right:0 !important; top:0 !important; text-align:center !important; font-weight:700 !important; font-size:18px !important; line-height:22px !important; color:#aaa !important; border-bottom:1px solid #ccc !important; border-left:1px solid #ccc !important; background:url('images/t40w.png') repeat left top !important; }
317
+ div.mp3j-finfo-close:hover { color:#888 !important; }
318
+
319
+ div.mp3j-finfo-txt h2 { font-size:15px !important; color:#333 !important; margin:0 0 10px 0 !important; }
320
+ div.mp3j-finfo-txt h3 { font-size:14px !important; color:#333 !important; margin:0 0 15px 0 !important; }
321
+ div.mp3j-finfo-txt p { font-size:11px !important; color:#555 !important; line-height:13px !important; margin:0 0 5px 0 !important; }
322
+ div.mp3j-finfo-txt a { }
323
+
324
+
325
+
326
+ /*-------------------------
327
+ [mp3j] & [mp3t] SHORTCODES
328
+ ==================================== */
329
+ span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
330
+ /*span.wrap_inline_mp3j:hover .buttons_mp3j { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }*/
331
+ span.indi_mp3j { position:relative; padding-left:2px; font-size: 0.7em !important; }
332
+
333
+ /* BARS */
334
+ span.bars_mp3j { position:absolute; width:100%; height:100%; }
335
+ span.load_mp3j, span.loadB_mp3j { position:absolute; /* background */ top:20px; left:0px; height:2px; }
336
+ /* mp3t */
337
+ span.posbar_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
338
+ span.posbar_mp3j .ui-widget-header { z-index:-500; }
339
+ span.posbar_mp3j .ui-slider-handle { top: 2px; margin-left:-2px; border:1px solid #999; height:21px; width:4px; z-index:500; background:url('images/t20b.png') repeat; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
340
+ span.posbar_mp3j .ui-slider-handle:hover { background:url('images/t15b.png') repeat; border-color:#aaa; }
341
+ /* mp3j */
342
+ span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0; z-index:450; cursor:pointer; }
343
+ span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:450; height:100%; }
344
+ span.posbarB_mp3j .ui-slider-handle { top: 0px; margin-left:-6px !important; border:0px solid #888; height:23px; width:12px !important; z-index: 500; background: transparent url('images/inlineHandle2.png') no-repeat -3px -3px; cursor: default; padding:0px !important; }
345
+ span.posbarB_mp3j .ui-slider-handle:hover { background: transparent url('images/inlineHandle2.png') no-repeat -3px -33px; }
346
+
347
+ /* SPAN TRANSPORT */
348
+ span.group_wrap { position:relative; margin:0px 0px 0px 0px; width:auto; }
349
+ span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; margin:0px; padding:0px; }
350
+ span.buttons_mp3j { position:relative; margin:0px; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -80px -3px; }
351
+ span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }
352
+ span.buttons_mp3jpause { position:relative; margin:0px; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -2px -3px; }
353
+ span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -35px; }
354
+
355
+ /* VOLUMES */
356
+ span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; }
357
+ span.vol_mp3j { position:absolute; top:-9px; right:5px; width:85%; max-width:100px; height:2px; }
358
+ span.vol_mp3j.flipped { right:4px; }
359
+ span.vol_mp3t .ui-widget-header, span.vol_mp3j .ui-widget-header { background: transparent url('images/vol-grad60b2.png') repeat left top; z-index:500; height:100%; }
360
+ span.vol_mp3t .ui-slider-handle, span.vol_mp3j .ui-slider-handle { height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; border:0px !important; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; z-index:600; overflow:hidden !important; cursor:default; top:-6px; background: transparent url('images/vol-handle.png') no-repeat -1px 0px; }
361
+ span.vol_mp3t .ui-slider-handle:hover, span.vol_mp3j .ui-slider-handle:hover { background: transparent url('images/vol-handle.png') no-repeat -21px 0px; }
362
+ span.vol_mp3t .ui-state-active, span.vol_mp3t .ui-widget-content .ui-state-active, span.vol_mp3j .ui-state-active, span.vol_mp3j .ui-widget-content .ui-state-active { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; border:0px; }
363
+
364
+
365
+ /*----------------------
366
+ [mp3j-popout] SHORTCODE
367
+ ================================================= */
368
+ .mp3j-popout-link-wrap { cursor:pointer; position:relative; clear:left; }
369
+ .mp3j-popout-link { float:left; margin:0 5px 0 0; min-width:22px; min-height:18px; background:url('images/buttons-popout.png') no-repeat -10px -65px; }
370
+ .mp3j-popout-link-wrap:hover .mp3j-popout-link { background:url('images/buttons-popout.png') no-repeat -10px -95px; }
371
+
372
+
373
+
374
+
375
+ /*=================================================
376
+
377
+ MODS
378
+ (via 'style' param in shortcode)
379
+ ================================================= */
380
+
381
+ /* ===== "nolistbutton" ===== */
382
+ .nolistbutton div.playlist-toggle-MI { visibility:hidden; }
383
+
384
+ /* ===== "nopopoutbutton" ===== */
385
+ .nopopoutbutton div.mp3j-popout-MI { display:none; }
386
+
387
+ /* ===== "nopn" ===== */
388
+ .nopn div.Prev_mp3j { display:none; }
389
+ .nopn div.Next_mp3j { display:none; }
390
+
391
+ /* ===== "nostop" ===== */
392
+ .nostop div.stop_mp3j { display:none; }
393
+
394
+
395
+ /* ===== "bars100" ===== */
396
+ .bars100 div.player-track-title { left:112px; }
397
+ .bars100 div.dloadmp3-MI { left:102px; width:36%;}
398
+ .bars100 div.bars_holder { left:102px; width:auto; }
399
+ .bars100 .MI-image img { padding:1px; }
400
+ .bars100 div.player-track-title { top:20px; }
401
+
402
+ /* ===== "bars150" ===== */
403
+ .bars150 div.player-track-title { left:162px; }
404
+ .bars150 div.dloadmp3-MI { left:152px; width:33%;}
405
+ .bars150 div.bars_holder { left:152px; width:auto; }
406
+ .bars150 .MI-image img { padding:1px; }
407
+ .bars150 div.player-track-title { top:20px; }
408
+
409
+ /* ===== "bars200" ===== */
410
+ .bars200 div.player-track-title { left:212px; }
411
+ .bars200 div.dloadmp3-MI { left:202px; width:30%; }
412
+ .bars200 div.bars_holder { left:202px; width:auto; }
413
+ .bars200 .MI-image img { padding:1px; }
414
+ .bars200 div.player-track-title { top:20px; }
415
+
416
+ /* ===== "bars250" ===== */
417
+ .bars250 div.player-track-title { left:262px; }
418
+ .bars250 div.dloadmp3-MI { left:252px; width:27%;}
419
+ .bars250 div.bars_holder { left:252px; width:auto; }
420
+ .bars250 .MI-image img { padding:1px; }
421
+ .bars250 div.player-track-title { top:20px; }
422
+
423
+ /* ===== "bars300" ===== */
424
+ .bars300 div.player-track-title { left:312px; }
425
+ .bars300 div.dloadmp3-MI { left:302px; width:24%; }
426
+ .bars300 div.bars_holder { left:302px; width:auto; }
427
+ .bars300 .MI-image img { padding:1px; }
428
+ .bars300 div.player-track-title { top:20px; }
429
+
430
+ /* ===== "bars350" ===== */
431
+ .bars350 div.player-track-title { left:362px; }
432
+ .bars350 div.dloadmp3-MI { left:352px; width:21%;}
433
+ .bars350 div.bars_holder { left:352px; width:auto; }
434
+ .bars350 .MI-image img { padding:1px; }
435
+ .bars350 div.player-track-title { top:20px; }
436
+
437
+ /* ===== "bars400" ===== */
438
+ .bars400 div.player-track-title { left:412px; }
439
+ .bars400 div.dloadmp3-MI { left:402px; width:18%; }
440
+ .bars400 div.bars_holder { left:402px; width:auto; }
441
+ .bars400 .MI-image img { padding:1px; }
442
+ .bars400 div.player-track-title { top:20px; }
443
+
444
+ /* ===== bigger1 ===== */
445
+ .bigger1 { font-size:18px; line-height:26px !important; margin:0 !important; }
446
+ .bigger1 span.load_mp3j,
447
+ .bigger1 span.loadB_mp3j { top:24px; left:0px; height:2px; }
448
+ .bigger1 span.posbar_mp3j .ui-slider-handle { top: 3px; height:24px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
449
+ .bigger1 span.posbarB_mp3j .ui-slider-handle { top: 3px; margin-left:-3px !important; border:1px solid #999; height:24px; width:6px !important; z-index:500; background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
450
+ .bigger1 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; border-color:#aaa; }
451
+ .bigger1 span.buttons_mp3j { position:relative; margin:0px; margin-left:5px !important; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -80px 0px; }
452
+ .bigger1 span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -32px; }
453
+ .bigger1 span.buttons_mp3jpause { position:relative; margin:0px; margin-left:5px !important; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -2px 0px; }
454
+ .bigger1 span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -32px; }
455
+ .bigger1 span.vol_mp3j { position:absolute; top:-6px; right:7px; width:85%; max-width:100px; height:2px; }
456
+
457
+ .bigger1 div.player-track-title { font:normal normal 500 18px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
458
+
459
+ .bigger1 div.player-track-title span { font:normal normal 500 14px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
460
+ .bigger1 ul.UL-MI_mp3j li a, .bigger1 ul.UL-MI_mp3j li { font-size:16px !important; line-height:19px !important; }
461
+ .bigger1 .indi_mp3j { font-size: 0.6em !important; }
462
+
463
+ /* ===== "bigger2" ===== */
464
+ .bigger2 div.player-track-title { font:normal normal 500 36px/38px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
465
+ .bigger2 div.player-track-title span { font:normal normal 500 20px/22px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
466
+ .bigger2 ul.UL-MI_mp3j li a, .bigger2 ul.UL-MI_mp3j li { font-size:20px !important; line-height:24px !important; }
467
+ .bigger2 { font-size:23px; line-height:25px !important; margin:0 !important; }
468
+ .bigger2 span.load_mp3j,
469
+ .bigger2 span.loadB_mp3j { top:26px; left:0px; height:2px; }
470
+ .bigger2 span.posbar_mp3j .ui-slider-handle { top: 0px; height:28px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
471
+ .bigger2 span.posbarB_mp3j .ui-slider-handle { top: -1px; margin-left:-3px !important; border:1px solid #999; height:29px; width:8px !important; z-index:500; border-color:#aaa; background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
472
+ .bigger2 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; border-color:#999; }
473
+ .bigger2 span.buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 4px 20px !important; background:url('images/play-dark2-b.png') no-repeat -186px center; border:0px solid #bbb; margin-left:10px; }
474
+ .bigger2 span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -437px center; }
475
+ .bigger2 span.buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:0px 0px 2px 20px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
476
+ .bigger2 span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
477
+ .bigger2 span.vol_mp3j { position:absolute; top:-12px; right:4px; width:85%; max-width:100px; height:2px; }
478
+ .bigger2 span.vol_mp3t { position:absolute; top:-10px; width:85%; max-width:100px; height:2px; }
479
+ .bigger2 .Smp3-finding,
480
+ .bigger2 .mp3-tint,
481
+ .bigger2 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 10px !important; font-size:12px !important; line-height:12px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
482
+ .bigger2 .mp3-gtint { margin:0 6px 0 -16px; }
483
+ .bigger2 .indi_mp3j { font-size: 0.5em !important; padding-left:0px; }
484
+
485
+ .bigger2.wh .buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 4px 20px !important; background:url('images/play-dark2-w.png') no-repeat -186px center; border:0px solid #bbb; margin-left:10px; }
486
+ .bigger2.wh .buttons_mp3j:hover { background:url('images/play-dark2-w.png') no-repeat -437px center; }
487
+ .bigger2.wh .buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:0px 0px 2px 20px !important; background:url('images/stop-dark2-w.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
488
+ .bigger2.wh .buttons_mp3jpause:hover { background:url('images/stop-dark2-w.png') repeat-y -350px top; }
489
+
490
+
491
+
492
+ /* ===== bigger3 ===== */
493
+ .bigger3 { font-size:28px; line-height:36px !important; margin:0 !important; }
494
+ .bigger3 .load_mp3j, .bigger3 .loadB_mp3j { top:37px; left:0px; height:3px; }
495
+ .bigger3 .posbar_mp3j .ui-slider-handle, .bigger3 .posbarB_mp3j .ui-slider-handle { top: 0px; border:1px solid #bbb; height:40px; width:12px !important; margin-left:-5px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
496
+ .bigger3 .posbar_mp3j .ui-slider-handle:hover, .bigger3 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y 0px top; border:1px solid #aaa; }
497
+ .bigger3 .indi_mp3j { font-size: 0.5em !important; }
498
+ .bigger3 span.buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:8px 0px 12px 30px !important; background:url('images/play-dark2.png') no-repeat -177px center; border:0px solid #bbb; margin-left:12px; }
499
+ .bigger3 span.buttons_mp3j:hover { background:url('images/play-dark2.png') no-repeat -428px center; }
500
+ .bigger3 span.buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 6px 30px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:12px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
501
+ .bigger3 span.buttons_mp3jpause:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
502
+ .bigger3 .vol_mp3j { height:1px; max-width:110px; right:64px; top:-8px; }
503
+ .bigger3 .vol_mp3t { height:1px; max-width:110px; right:16px; top:-5px; }
504
+ .bigger3 .vol_mp3j .ui-slider-handle, .bigger3 .vol_mp3t .ui-slider-handle { height:14px !important; width:33px !important; margin-left:-16px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-14px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
505
+ .bigger3 .vol_mp3j .ui-slider-handle:hover, .bigger3 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
506
+ .bigger3 .Smp3-finding,
507
+ .bigger3 .mp3-tint,
508
+ .bigger3 .mp3-gtint { margin-left:8px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
509
+ .bigger3 .mp3-gtint { margin:0 2px 0 -14px; }
510
+ .bigger3 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
511
+ .bigger3 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
512
+ .bigger3 ul.UL-MI_mp3j li a, .bigger3 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
513
+
514
+ .bigger3.bl span.buttons_mp3j { background:url('images/play-dark2-b.png') no-repeat -177px center; }
515
+ .bigger3.bl span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -428px center; }
516
+ .bigger3.bl span.buttons_mp3jpause { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
517
+ .bigger3.bl span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
518
+ .bigger3.bl span.vol_mp3j .ui-slider-handle, .bigger3.bl span.vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
519
+ .bigger3.bl span.vol_mp3j .ui-slider-handle:hover, .bigger3.bl span.vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
520
+
521
+
522
+
523
+ /* ===== bigger4 ===== */
524
+ .bigger4 { font-size:38px; line-height:46px !important; margin:0 !important; }
525
+ .bigger4 .load_mp3j, .bigger4 .loadB_mp3j { top:46px; left:0px; height:3px; }
526
+ .bigger4 .posbar_mp3j .ui-slider-handle, .bigger4 .posbarB_mp3j .ui-slider-handle { top: -2px; border:1px solid #bbb; height:52px; width:16px !important; margin-left:-8px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
527
+ .bigger4 .posbar_mp3j .ui-slider-handle:hover, .bigger4 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y 0px top; border:1px solid #aaa; }
528
+ .bigger4 .indi_mp3j { font-size: 0.5em !important; }
529
+ .bigger4 span.buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:8px 0px 12px 40px !important; background:url('images/play-dark2.png') no-repeat -167px center; border:0px solid #bbb; margin-left:15px; }
530
+ .bigger4 span.buttons_mp3j:hover { background:url('images/play-dark2.png') no-repeat -418px center; }
531
+ .bigger4 span.buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 4px 40px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:15px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
532
+ .bigger4 span.buttons_mp3jpause:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
533
+ .bigger4 .vol_mp3j { height:1px; max-width:110px; right:86px; top:-8px; }
534
+ .bigger4 .vol_mp3t { height:1px; max-width:110px; right:20px; top:-5px; }
535
+ .bigger4 .vol_mp3j .ui-slider-handle, .bigger4 .vol_mp3t .ui-slider-handle { height:20px !important; width:43px !important; margin-left:-21px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-20px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
536
+ .bigger4 .vol_mp3j .ui-slider-handle:hover, .bigger4 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
537
+ .bigger4 .Smp3-finding,
538
+ .bigger4 .mp3-tint,
539
+ .bigger4 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
540
+ .bigger4 .mp3-gtint { margin:0 6px 0 -20px; }
541
+
542
+ .bigger4 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
543
+ .bigger4 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
544
+ .bigger4 ul.UL-MI_mp3j li a, .bigger4 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
545
+
546
+ .bigger4.bl .posbar_mp3j .ui-slider-handle, .bigger4.bl .posbarB_mp3j .ui-slider-handle { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
547
+ .bigger4.bl .posbar_mp3j .ui-slider-handle:hover, .bigger4.bl .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
548
+ .bigger4.bl .buttons_mp3j { background:url('images/play-dark2-b.png') no-repeat -167px center; }
549
+ .bigger4.bl .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -418px center; }
550
+ .bigger4.bl .buttons_mp3jpause { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
551
+ .bigger4.bl .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
552
+ .bigger4.bl .vol_mp3j .ui-slider-handle, .bigger4.bl .vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
553
+ .bigger4.bl .vol_mp3j .ui-slider-handle:hover, .bigger4.bl .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
554
+
555
+
556
+
557
+ /* ===== bigger5 ===== */
558
+ .bigger5 { font-size:48px; line-height:60px !important; margin:0 !important; }
559
+ .bigger5 .load_mp3j, .bigger5 .loadB_mp3j { top:63px; left:0px; height:4px; }
560
+ .bigger5 .posbar_mp3j .ui-slider-handle, .bigger5 .posbarB_mp3j .ui-slider-handle { top: -1px; border:1px solid #bbb; height:69px; width:20px !important; margin-left:-10px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
561
+ .bigger5 .posbar_mp3j .ui-slider-handle:hover, .bigger5 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y 0px top; border:1px solid #aaa; }
562
+ .bigger5 .indi_mp3j { font-size: 0.5em !important; }
563
+ .bigger5 span.buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:8px 0px 13px 52px !important; background:url('images/play-dark2.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
564
+ .bigger5 span.buttons_mp3j:hover { background:url('images/play-dark2.png') no-repeat -405px center; }
565
+ .bigger5 span.buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:3px 0px 8px 52px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:15px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
566
+ .bigger5 span.buttons_mp3jpause:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
567
+ .bigger5 .vol_mp3j { height:1px; max-width:170px; right:115px; top:-10px; }
568
+ .bigger5 .vol_mp3t { height:1px; max-width:170px; right:33px; top:-5px; }
569
+ .bigger5 .vol_mp3j .ui-slider-handle, .bigger5 .vol_mp3t .ui-slider-handle { height:30px !important; width:55px !important; margin-left:-21px; border-bottom:1px solid #aaa !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-30px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
570
+ .bigger5 .vol_mp3j .ui-slider-handle:hover, .bigger5 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
571
+ .bigger5 .Smp3-finding,
572
+ .bigger5 .mp3-tint,
573
+ .bigger5 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
574
+ .bigger5 .mp3-gtint { margin:0 6px 0 -20px; }
575
+
576
+ .bigger5.bl .posbar_mp3j .ui-slider-handle, .bigger5.bl .posbarB_mp3j .ui-slider-handle { background:url('images/stop-dark2-b.png') repeat-y -350px top; border:1px solid #888; }
577
+ .bigger5.bl .posbar_mp3j .ui-slider-handle:hover, .bigger5.bl .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; border:1px solid #777; }
578
+ .bigger5.bl .buttons_mp3j { background:url('images/play-dark2-b.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
579
+ .bigger5.bl .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -405px center; }
580
+ .bigger5.bl .buttons_mp3jpause { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
581
+ .bigger5.bl .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
582
+ .bigger5.bl .vol_mp3j .ui-slider-handle, .bigger5.bl .vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
583
+ .bigger5.bl .vol_mp3j .ui-slider-handle:hover, .bigger5.bl .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
584
+
585
+
586
+ /* ===== "smaller" ===== */
587
+ .smaller div.player-track-title { font:normal normal 500 11px/13px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; left:3px; right:5px; }
588
+ .smaller div.player-track-title span { font:normal normal 500 10px/10px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; padding:0; }
589
+ .smaller ul.UL-MI_mp3j li a, .smaller ul.UL-MI_mp3j li { font-size:10px !important; font-family:'verdana', Helvetica, sans-serif !important; line-height:13px !important; }
590
+
591
+
592
+ /* ===== outline ==== */
593
+ span.outline { font-size:14px; line-height:22px !important; margin:0 !important; }
594
+ .outline span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; background: transparent; }
595
+ .outline span.vol_mp3j { position:absolute; top:-9px; right:7px; width:85%; max-width:100px; height:2px; background: transparent; }
596
+ .outline span.buttons_mp3j { padding:2px 0px 5px 20px !important; background: transparent url('images/transport-outline.png') no-repeat -80px -1px; border:0; margin:0; }
597
+ .outline span.buttons_mp3j:hover { background:transparent url('images/transport-outline.png') no-repeat -80px -33px; }
598
+ .outline span.buttons_mp3jpause { padding:2px 0px 5px 20px !important; background: transparent url('images/transport-outline.png') no-repeat 1px -1px; border:0; margin:0; }
599
+ .outline span.buttons_mp3jpause:hover { background:transparent url('images/transport-outline.png') no-repeat 1px -33px; }
600
+ .outline span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
601
+ .outline span.posbarB_mp3j .ui-widget-header { z-index:-500; }
602
+ .outline span.posbarB_mp3j .ui-slider-handle { top: 0px; margin-left:0px; border:1px solid #aaa; height:23px; width:5px !important; z-index:500; background:url('images/t10b.png') repeat; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
603
+ .outline span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t20b.png') repeat; border-color:#777; }
604
+
605
+
606
+ /* ===== wtransbars ==== */
607
+ .wtransbars div.loadMI_mp3j { background:#fff; opacity:0.1; filter:alpha(opacity=10); }
608
+ .wtransbars div.poscolMI_mp3j { background:#fff url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
609
+ .wtransbars div.player-track-title { color:#fff; }
610
+
611
+ /* ===== btransbars ==== */
612
+ .btransbars div.loadMI_mp3j { background:#000; opacity:0.1; filter:alpha(opacity=10); }
613
+ .btransbars div.poscolMI_mp3j { background:#000 url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
614
+ .btransbars div.player-track-title { color:#000; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
css/players-1-8-dark.css CHANGED
@@ -1,555 +1,524 @@
1
- /*
2
- MP3-jPlayer 1.8.1 - Dark
3
- www.sjward.org */
4
-
5
- /*---------------------
6
- [mp3-jplayer] SHORTCODE
7
- ==================================== */
8
-
9
- /* SKIN
10
- --------------- */
11
- /* MAIN WRAPPER (default class) */
12
- div.wrap-MI { border:0; margin:0; background:none; min-width:116px; /* position||float set in-line! */ /* width set in-line! */ }
13
-
14
- /* SUB WRAPPERS */
15
- div.jp-innerwrap, div.jp-interface, div.listwrap_mp3j, div.playlist-wrap-MI { position:relative !important; width:100%; border:0; margin:0; padding:0; }
16
- div.jp-innerwrap { background:none; }
17
- div.jp-interface { background:url('images/shadow-x.png') repeat-x left bottom; height:101px/*player default height*/; min-height:67px; cursor:default; }
18
- div.listwrap_mp3j { margin-top:0px; /* background set from admin */ }
19
-
20
- /* BACKGROUNDS */
21
- div.innerx, div.innerleft, div.innerright, div.innertab { position:absolute; }
22
- div.innerx { background:url('images/case-grad-x.png') repeat-x left -119px; width:auto; height:35px; left:0px; right:0px; bottom:3px; }
23
- div.innerleft { background:url('images/shadow-l.png') no-repeat left bottom; width:1px; height:40px; left:-1px; bottom:0px; }
24
- div.innerright { background:url('images/shadow-r.png') no-repeat right bottom; width:2px; height:40px; right:-2px; bottom:0px; }
25
- div.innertab { /* background and opacity set from admin */ left:0px; top:0px; width:100%; bottom:38px; }
26
-
27
- /* PLAYLIST
28
- ----------------- */
29
- div.playlist-colour { position:absolute; width:100%; height:100%; left:0px; top:0px; /* background set from admin */ /* opacity set from admin */ }
30
- div.playlist-wrap-MI ul { position:static; }
31
- ul.UL-MI_mp3j { margin:0px !important; padding:0px 0px 0px 0px !important; list-style-type:none !important; list-style:none !important; list-style-image:none !important; font-weight: 500 !important; /* background */ }
32
- ul.UL-MI_mp3j li { margin:0px !important; padding:0px 0px 1px 0px !important; font-weight:500 !important; line-height:15px !important; letter-spacing:0px !important; font-size:11px !important; word-spacing:0px !important; margin:0px 1px 0px 1px !important; list-style-type:none !important; }
33
- ul.UL-MI_mp3j li:before { content:none !important; }
34
- ul.UL-MI_mp3j li a { font-size:11px !important; border:0 !important; line-height:15px !important; font-weight:500 !important; text-decoration:none !important; display:block !important; width:auto !important; font-family:'verdana', 'Lucida Grande', 'arial', sans-serif !important; outline:none !important; padding:6px 0px 6px 14px !important; }
35
-
36
- /* SCREEN
37
- ----------------- */
38
- div.player-track-title, div.jp-play-time, div.jp-total-time, div.statusMI { position:absolute; z-index:50; /* color set from admin */ font:normal normal 500 14px/16px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
39
-
40
- div.player-track-title { top:7px; left:9px; width:auto; right:10px; }
41
- div.player-track-title span { font-size:10px; line-height:12px; padding-left:10px; max-width:95%; }
42
-
43
- div.jp-play-time, div.jp-total-time, div.statusMI { font-size:8px; line-height:10px !important; bottom:42px; text-align:left; font-family:Verdana, Arial, Helvetica, sans-serif; }
44
- div.jp-play-time { right:84px; }
45
- div.jp-total-time { right:6px; opacity:0.8; width:auto; }
46
-
47
- span.mp3-finding, span.Smp3-finding, span.mp3-tint, span.mp3-gtint { padding:0px 0px 0px 6px !important; font-size:8px !important; line-height:10px !important; height:10px !important; overflow:hidden !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
48
- span.mp3-finding, span.Smp3-finding { margin:0px 0px 0px -2px; background:url('images/finding-bar1f.gif') repeat 0px 3px; }
49
- span.mp3-tint { margin:0px 2px 0px -6px; opacity:.5; filter:alpha(opacity=50); /* background */ }
50
- span.mp3-gtint { margin:0px 2px 0px -6px; opacity:.5; filter:alpha(opacity=50); background:#777; }
51
- span.Smp3-finding { margin:0px 0px 0px 3px; }
52
- span.tintmarg { margin:0 2px 0 3px; }
53
-
54
- div.statusMI { right:27px; width:52px !important; height:10px; }
55
- .statusMI span.mp3-finding, .statusMI span.Smp3-finding, .statusMI span.mp3-tint, .statusMI span.mp3-gtint { padding:0px 0px 0px 6px !important; }
56
- .statusMI span.mp3-tint, .statusMI span.mp3-gtint { margin:0px 2px 0px -6px; }
57
-
58
- .MI-image { position:absolute; top:0; left:0; padding:0; }
59
- .MI-image img { border:none; padding:0px; background-color:#777; }
60
- .MI-image a:hover img { /* background-colour */ }
61
-
62
- /* BUTTONS
63
- ----------------- */
64
- /* TRANSPORT BUTTONS */
65
- div.transport-MI { position:absolute; width:auto; height:38px; right:2px; bottom:0px; border:0; }
66
- /*div.transport-MI div { background-image: url("images/transport-hardV-shiny.png"); text-indent:-9999px !important; float:right; }*/
67
- div.transport-MI div { background-image: url("images/transport-darkbg-trans2.png"); text-indent:-9999px !important; float:right; }
68
- /* play */
69
- div.buttons_mp3j { width:30px; height:32px; margin:1px 0px 0px 0px; background-position:-110px 0px; }
70
- div.buttons_mp3j:hover { background-position:-110px -32px; }
71
- /* pause */
72
- div.buttons_mp3jpause { width:30px; height:32px; margin:1px 0px 0px 0px; background-position:-2px 0px; }
73
- div.buttons_mp3jpause:hover { background-position:-2px -32px; }
74
- /* prev n next */
75
- div.Prev_mp3j { width:22px; height:28px; margin:1px 4px 0px 0px; background-position:-32px -1px; }
76
- div.Prev_mp3j:hover { background-position:-32px -33px; }
77
- div.Next_mp3j { width:19px; height:28px; margin:1px 3px 0px 0px; background-position:-57px -1px; }
78
- div.Next_mp3j:hover { background-position:-57px -33px; }
79
- /* stop */
80
- div.stop_mp3j { width:26px; height:32px; margin:1px 3px 0px 0px; background-position:-81px 0px; }
81
- div.stop_mp3j:hover { background-position:-81px -32px; }
82
-
83
- /* PLAYLIST TOGGLE */
84
- div.playlist-toggle-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif; bottom:4px; left:1px; padding:2px 6px 2px 5px; line-height:9px; min-width:24px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; cursor:default; background:#505050; color:#a2a2a2; }
85
- div.playlist-toggle-MI:hover { background:#585858; color:#aaa; border-right:0px solid #a9a9a9; }
86
-
87
- /* DOWNLOAD BUTTON */
88
- div.dloadmp3-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; bottom:39px; margin:0px !important; font-size:9px !important; text-align:center; left:0px; width:41%; min-width:75px; max-width:425px; padding:0px 0px 0px 0px !important; border:0px; background:transparent url('images/t10b.png') repeat left top !important; color:#fff; line-height:11px !important; -moz-border-radius-topright:3px; -webkit-border-top-right-radius:3px; overflow:hidden; z-index:150; cursor:default; }
89
- div.dloadmp3-MI.whilelinks, div.dloadmp3-MI.logintext { background:transparent url('images/t50b.png') repeat left top !important; }
90
- div.dloadmp3-MI.whilelinks:hover { background:transparent url('images/t40b.png') repeat left top !important; }
91
- div.dloadmp3-MI a { color:#ececec; display:block; width:auto; padding:1px 5px 2px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; /* after font declaration */ height:100%; border-bottom:none; visibility:hidden; }
92
- div.dloadmp3-MI a:hover { outline: none; border-bottom: none; color: #ececec; }
93
- div.dloadmp3-MI.whilelinks a { color: #f3f3f3; visibility: inherit; }
94
- div.dloadmp3-MI.whilelinks a:hover { color: #fff; }
95
- div.dloadmp3-MI p { color:#ececec; display:block; width:auto; padding:1px 5px 2px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; /* after font declaration */ height:100%; border-bottom:none; visibility:visible; }
96
-
97
- /* POPOUT BUTTON */
98
- div.mp3j-popout-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif; bottom:17px; left:0px; height:16px; padding:3px 5px 0px 28px; min-width:2px; line-height:11px; border:1px solid #585858; background-color:#aaa; background-image:url('images/buttons-popoutE.png'); background-repeat:no-repeat; background-position:-8px -6px; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; cursor:default;
99
- color:#a2a2a2; }
100
- div.mp3j-popout-MI:hover { color:#aaa; background-position:-8px -36px; }
101
-
102
- /* BARS
103
- ----------------- */
104
- .ui-state-disabled { cursor:default !important; }
105
- .ui-slider { position:relative; text-align:left; }
106
- .ui-slider .ui-slider-handle { position:absolute; z-index:200; cursor:default; }
107
- .ui-slider .ui-slider-range { position:absolute; z-index:1; font-size:.7em; display:block; border:0; }
108
- .ui-slider-horizontal .ui-slider-range { top:0; height:100%; }
109
- .ui-slider-horizontal .ui-slider-range-min { left:0; }
110
- .ui-slider-horizontal .ui-slider-range-max { right:0; }
111
- .ui-state-default, .ui-widget-content .ui-state-default { outline:none; border:0px; }
112
-
113
- /* VOLUME */
114
- div.MIsliderVolume { position:absolute; top:0px; right:4px; width:108px; height:4px !important; background:transparent; border:0px; font-size:1px; cursor:default; z-index:150; }
115
- div.MIsliderVolume .ui-widget-header { /* background */ }
116
- div.MIsliderVolume .ui-slider-handle { border:0px; height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; top:-3px; border:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; background:transparent url('images/vol-handle.png') no-repeat -1px 0px; z-index:150; overflow:hidden !important; cursor:default; }
117
- div.MIsliderVolume .ui-slider-handle:hover { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; }
118
- div.MIsliderVolume .ui-state-active, div.MIsliderVolume .ui-widget-content .ui-state-active { border:0px; background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; }
119
-
120
- /* LOADER AND POS SLIDER */
121
- div.bars_holder, div.loadMI_mp3j, div.poscolMI_mp3j, div.posbarMI_mp3j { position:absolute; top:0px; left:0px; }
122
- div.bars_holder { right:0; width:100%; bottom:38px; font-size:1px; cursor:default; background:url('images/t40b.png')/*t50g.png*/ repeat-x left bottom;/* 1px highlight top of control bar */ }
123
- div.loadMI_mp3j { bottom:1px; /* background */ /* opacity */ }
124
- div.poscolMI_mp3j { bottom:1px; /* background */ /* opacity */ }
125
- div.bars_holder .ui-widget-header, div.bars_holder .ui-widget-content { border:0px !important; background:none; }
126
- div.bars_holder .ui-slider-horizontal { top:0px; bottom:1px; height:auto; z-index:90; }
127
- div.posbarMI_mp3j { bottom:1px; width:100%; }
128
- div.posbarMI_mp3j .ui-slider-handle { top:-6px; margin-left:-1px !important; border:0; bottom:-2px; width:2px !important; z-index:100; background:none; cursor:default ; padding:0px !important; }
129
- div.posbarMI_mp3j .ui-slider-handle:hover { background:none; z-index:100; }
130
-
131
-
132
-
133
- /* FORCED DOWNLOAD FRAME
134
- ------------------------ */
135
- div.mp3j-dlframe, iframe.mp3j-dlframe {
136
- border:0px solid #ddd;
137
- width:1px;
138
- height:1px;
139
- overflow:hidden;
140
- margin:0;
141
- padding:0;
142
- display:none !important;
143
- }
144
-
145
- /* MESSAGES */
146
- div.mp3j-finfo {
147
- position:absolute !important;
148
- top:36px;
149
- z-index:9999;
150
- width:80%;
151
- left:10%;
152
- -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
153
- background:url('images/fdloadB-x.png') repeat-x left top;
154
- -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
155
- padding:0;
156
- min-height:31px;
157
- overflow:hidden;
158
- min-width:170px;
159
- }
160
-
161
- div.mp3j-finfo * { font-family:Arial, Helvetica, sans-serif !important; }
162
- div.mp3j-finfo-sleeve { position:relative !important; width:100%; height:100%; }
163
- div.mp3j-finfo-gif { position:absolute !important; top:0; left:0; right:10%; bottom:0; background:url('images/loader-w2.gif') no-repeat center 37px; width:auto; padding:0px !important; height:100%; }
164
- div.mp3j-finfo-txt { position:relative !important; margin:0px 15px 0 15px !important; padding:10px 0 10px 0 !important; width:auto; }
165
- div.mp3j-finfo-close { position:absolute !important; width:31px !important; height:27px !important; padding-top:5px !important; right:0 !important; top:0 !important; text-align:center !important; font-weight:700 !important; font-size:18px !important; line-height:22px !important; color:#999 !important; border-bottom:1px solid #777 !important; border-left:1px solid #777 !important; background:url('images/t40b.png') repeat left top; }
166
- div.mp3j-finfo-close:hover { color:#eee !important; }
167
-
168
- div.mp3j-finfo-txt h2 { font-size:15px !important; color:#fff !important; margin:0 0 10px 0 !important; }
169
- div.mp3j-finfo-txt h3 { font-size:14px !important; color:#fff !important; margin:0 0 15px 0 !important; }
170
- div.mp3j-finfo-txt p { font-size:11px !important; color:#fff !important; line-height:13px !important; margin:0 0 5px 0 !important; }
171
- div.mp3j-finfo-txt a { }
172
-
173
-
174
-
175
-
176
-
177
-
178
-
179
- .mp3j-nosolution
180
- {
181
- position:absolute;
182
- z-index:9999;
183
- height:auto;
184
- padding:5%;
185
- border:1px solid #c0c0c0;
186
- background:#f0f0f0;
187
- color:#333;
188
- top:4px;
189
- left:4px;
190
- right:4px;
191
- -webkit-border-top-left-radius: 8px;
192
- -webkit-border-top-right-radius: 8px;
193
- -moz-border-radius-topleft: 8px;
194
- -moz-border-radius-topright: 8px;
195
- border-top-left-radius: 8px;
196
- border-top-right-radius: 8px;
197
- font-size:13px;
198
- -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
199
- }
200
-
201
- .s-nosolution
202
- {
203
- }
204
-
205
-
206
-
207
- /* backwards compat
208
- ------------------- */
209
- div.player-track-title.mp3j_widgetmods { font-size: 11px; top: 7px; left:5px; }
210
- div.player-track-title.mp3j_widgetmods span { font-size: 9px; }
211
- ul.UL-MI_mp3j.mp3j_widgetmods li { font-size:10px !important; line-height:14px !important; }
212
- ul.UL-MI_mp3j.mp3j_widgetmods li a { font-size:10px !important; line-height:14px !important; }
213
-
214
-
215
- /*-------------------------
216
- [mp3j] & [mp3t] SHORTCODES
217
- ==================================== */
218
- span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
219
- /*span.wrap_inline_mp3j:hover .buttons_mp3j { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }*/
220
- span.indi_mp3j { position:relative; padding-left:2px; font-size: 0.7em !important; }
221
-
222
- /* BARS */
223
- span.bars_mp3j { position:absolute; width:100%; height:100%; }
224
- span.load_mp3j, span.loadB_mp3j { position:absolute; /* background */ top:20px; left:0px; height:2px; }
225
- /* mp3t */
226
- span.posbar_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
227
- span.posbar_mp3j .ui-widget-header { z-index:-500; }
228
- span.posbar_mp3j .ui-slider-handle { top: 2px; margin-left:-2px; border:1px solid #999; height:21px; width:4px; z-index:500; background:url('images/t20b.png') repeat; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
229
- span.posbar_mp3j .ui-slider-handle:hover { background:url('images/t15b.png') repeat; border-color:#aaa; }
230
- /* mp3j */
231
- span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0; z-index:450; cursor:pointer; }
232
- span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:450; height:100%; }
233
- span.posbarB_mp3j .ui-slider-handle { top: 0px; margin-left:-6px !important; border:0px solid #888; height:23px; width:12px !important; z-index: 500; background: transparent url('images/inlineHandle2.png') no-repeat -3px -3px; cursor: default; padding:0px !important; }
234
- span.posbarB_mp3j .ui-slider-handle:hover { background: transparent url('images/inlineHandle2.png') no-repeat -3px -33px; }
235
-
236
- /* SPAN TRANSPORT */
237
- span.group_wrap { position:relative; margin:0px 0px 0px 0px; width:auto; }
238
- span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; margin:0px; padding:0px; }
239
- span.buttons_mp3j { position:relative; margin:0px; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -80px -3px; }
240
- span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }
241
- span.buttons_mp3jpause { position:relative; margin:0px; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -2px -3px; }
242
- span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -35px; }
243
-
244
- /* VOLUMES */
245
- span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; }
246
- span.vol_mp3j { position:absolute; top:-9px; right:5px; width:85%; max-width:100px; height:2px; }
247
- span.vol_mp3j.flipped { right:4px; }
248
- span.vol_mp3t .ui-widget-header, span.vol_mp3j .ui-widget-header { background: transparent url('images/vol-grad60b2.png') repeat left top; z-index:500; height:100%; }
249
- span.vol_mp3t .ui-slider-handle, span.vol_mp3j .ui-slider-handle { height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; border:0px !important; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; z-index:600; overflow:hidden !important; cursor:default; top:-6px; background: transparent url('images/vol-handle.png') no-repeat -1px 0px; }
250
- span.vol_mp3t .ui-slider-handle:hover, span.vol_mp3j .ui-slider-handle:hover { background: transparent url('images/vol-handle.png') no-repeat -21px 0px; }
251
- span.vol_mp3t .ui-state-active, span.vol_mp3t .ui-widget-content .ui-state-active, span.vol_mp3j .ui-state-active, span.vol_mp3j .ui-widget-content .ui-state-active { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; border:0px; }
252
-
253
-
254
- /*----------------------
255
- [mp3j-popout] SHORTCODE
256
- ================================================= */
257
- .mp3j-popout-link-wrap { cursor:pointer; position:relative; clear:left; }
258
- .mp3j-popout-link { float:left; margin:0 5px 0 0; min-width:22px; min-height:18px; background:url('images/buttons-popout.png') no-repeat -10px -65px; }
259
- .mp3j-popout-link-wrap:hover .mp3j-popout-link { background:url('images/buttons-popout.png') no-repeat -10px -95px; }
260
-
261
-
262
- /*-------------
263
- CUSTOM CLASSES
264
- (via 'style' param in shortcode)
265
- ================================================= */
266
-
267
- /* ===== "silver" ===== */
268
- .silver .innerx { background-position:left -45px; }
269
- .silver .transport-MI { height:37px; }
270
- .silver .transport-MI div { background-image:url("images/transport-hardW-shiny.png"); }
271
- .silver .bars_holder { background:url('images/t60w.png') repeat-x left bottom; }
272
- .silver .mp3j-popout-MI { color:#6c6c6c; background-position:-8px -65px; border-color:#b2b2b2; background-color:#aaa; }
273
- .silver .mp3j-popout-MI:hover { color:#606060; background-position:-8px -95px; }
274
- .silver div.playlist-toggle-MI { background:#bcbcbc; color:#707070; }
275
- .silver div.playlist-toggle-MI:hover { background:#c6c6c6; color:#777; }
276
- .silver .MI-image img { background-color:#bbb; }
277
-
278
- .silver div.mp3j-finfo { background:url('images/fdloadW-x.png') repeat-x left top; }
279
- .silver div.mp3j-finfo-gif { background:url('images/loader.gif') no-repeat center 37px; }
280
- .silver div.mp3j-finfo-close { color:#aaa !important; border-bottom:1px solid #ccc !important; border-left:1px solid #ccc !important; background:url('images/t40w.png') repeat left top !important; }
281
- .silver div.mp3j-finfo-close:hover { color:#888 !important; }
282
- .silver div.mp3j-finfo-txt h2 { color:#333 !important; }
283
- .silver div.mp3j-finfo-txt h3 { color:#333 !important; }
284
- .silver div.mp3j-finfo-txt p { color:#555 !important; }
285
-
286
-
287
- /* ===== "text" ===== */
288
- div.wrap-MI.text { /*min-width:300px;*/ }
289
- .text div.innerx, .text div.innerleft, .text div.innerright { position: absolute; visibility: hidden; }
290
- .text div.innertab { bottom: 38px; }
291
- .text div.jp-interface { background:none; }
292
- .text div.player-track-title { font:normal normal 500 16px/18px 'trebuchet ms', Arial, sans-serif; }
293
- .text div.player-track-title span { font:italic normal 500 12px/14px 'trebuchet ms', Arial, sans-serif; opacity:0.7; filter:alpha(opacity=70); }
294
- .text div.jp-play-time, .text div.jp-total-time, .text div.statusMI { bottom:20px; font-size:11px; font-family: 'trebuchet ms', Arial, sans-serif; }
295
- .text div.jp-play-time { width:37px; left:0px; opacity:0.6; filter:alpha(opacity=60); }
296
- .text div.jp-total-time { width:37px; left:100px; display:none; }
297
- .text div.statusMI { left:37px; width:70px !important; }
298
- .text div.transport-MI { height:26px; right:2px; bottom:12px; }
299
- .text div.transport-MI div { font-family: 'trebuchet ms', Arial, sans-serif; font-weight:700; overflow:hidden !important; background:none !important; white-space:nowrap !important; }
300
- .text div.buttons_mp3j { text-indent:4px !important; width:32px; overflow:hidden !important; height: 25px; margin:0 6px 0 0px; background:none !important; line-height:25px !important; font-size:14px; }
301
- .text div.buttons_mp3jpause { text-indent:-29px !important; width:38px; overflow:hidden !important; height: 25px; margin:0 -3px 0 3px; background:none !important; line-height:25px !important; font-size:14px; }
302
- .text div.Prev_mp3j, .text div.Next_mp3j { text-indent:0px !important; height:23px; line-height:23px !important; font-size:12px; width:36px; margin:2px 0px 0px 0px; }
303
- .text div.stop_mp3j { text-indent:0px !important; width:31px; height:25px; margin:0px 0px 0px 4px; line-height:25px !important; font-size:14px; }
304
-
305
- .text div.playlist-toggle-MI { bottom: 7px; font-family:'trebuchet ms', Arial, sans-serif; background:none; padding:0; opacity:0.6; filter:alpha(opacity=60); }
306
- .text div.playlist-toggle-MI:hover { opacity:1.0; filter:alpha(opacity=100); }
307
- .text div.dloadmp3-MI { font-size:11px; bottom: 6px; height:auto; right:0px !important; left:auto; margin:0; font-family: 'trebuchet ms', Arial, sans-serif; text-align:right; background:none !important; }
308
- .text div.dloadmp3-MI a { color:#888; font-size:inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
309
- .text div.dloadmp3-MI a:hover { color:#555; background:none !important; }
310
- .text div.dloadmp3-MI.betweenlinks a { display:none; background:none !important; }
311
- .text div.dloadmp3-MI.whilelinks a { display:block; background:none !important; }
312
- .text div.dloadmp3-MI.whilelinks a:hover { text-decoration:none; background:none !important; }
313
- .text div.dloadmp3-MI p { font-size: inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
314
- .text div.mp3j-popout-MI { color:#888; font:normal normal 500 11px 'trebuchet ms', 'arial', sans-serif; bottom:15px; right:155px; left:auto; width:auto; opacity:1; filter:alpha(opacity=100); padding:0px; line-height:12px; border:0; background:none; cursor:default; z-index:500; }
315
- .text div.mp3j-popout-MI:hover { color:#555; opacity:1.0; filter:alpha(opacity=100); }
316
- .text div.MIsliderVolume { position:absolute; bottom:38px; top:auto; right:4px; width:108px !important; height:1px !important; background:transparent; border:0px; font-size:1px; cursor:default; z-index:150; }
317
- .text div.MIsliderVolume .ui-slider-handle, .text div.vol_mp3j .ui-slider-handle { height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; top:-7px; border:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; background:transparent url('images/vol-handle.png') no-repeat -41px 0px; z-index:150; overflow:hidden !important; cursor:default; }
318
- .text div.MIsliderVolume .ui-slider-handle:hover, .text div.vol_mp3j .ui-slider-handle:hover { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; }
319
- .text div.MIsliderVolume .ui-state-active, .text div.MIsliderVolume .ui-widget-content .ui-state-active, .text div.vol_mp3j .ui-state-active, .text div.vol_mp3j .ui-widget-content .ui-state-active { border:0px; background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; }
320
-
321
- .text div.dloadmp3-MI.whilelinks, .text div.dloadmp3-MI.logintext { background:none !important; }
322
-
323
-
324
-
325
- /* ===== "noscreen" ===== */
326
- .noscreen div.jp-interface { height:44px; min-height:44px; }
327
- .noscreen div.player-track-title { display:none; }
328
- .noscreen div.bars_holder { top:auto; bottom:0px; height:7px; }
329
- .noscreen div.innertab { bottom: 0px; top:0; display:none; }
330
- .noscreen div.dloadmp3-MI { bottom: 11px; }
331
- .noscreen div.transport-MI { bottom:17px; }
332
- .noscreen div.jp-play-time, .noscreen div.jp-total-time, .noscreen div.statusMI { bottom:25px; }
333
- .noscreen div.playlist-toggle-MI { bottom: 12px; }
334
- .noscreen div.mp3j-popout-MI { bottom: 20px; }
335
- .noscreen div.MIsliderVolume { bottom: 43px; }
336
- .noscreen div.MIsliderVolume .ui-widget-header { background:transparent url('images/vol-grad60b2.png') repeat-y 0px top; }
337
- .noscreen div.MIsliderVolume .ui-slider-handle { top:-6px; }
338
- .noscreen h2 { margin:0 !important; padding:0 0 0px 0 !important; }
339
- .noscreen div.posbarMI_mp3j .ui-slider-handle { top:-5px; margin-left:-7px !important; border:0; bottom:-5px; width:14px !important; z-index:100; background:none; border:none; cursor:default ; padding:0px !important; }
340
- .noscreen div.posbarMI_mp3j .ui-slider-handle:hover { background:none; border:none; }
341
- .noscreen .MI-image { top:15px; }
342
-
343
- /* ===== "nolistbutton" ===== */
344
- .nolistbutton div.playlist-toggle-MI { visibility:hidden; }
345
-
346
- /* ===== "nopopoutbutton" ===== */
347
- .nopopoutbutton div.mp3j-popout-MI { display:none; }
348
-
349
- /* ===== "nopn" ===== */
350
- .nopn div.Prev_mp3j { display:none; }
351
- .nopn div.Next_mp3j { display:none; }
352
-
353
- /* ===== "nostop" ===== */
354
- .nostop div.stop_mp3j { display:none; }
355
-
356
- /* ===== "bars100" ===== */
357
- .bars100 div.player-track-title { left:112px; }
358
- .bars100 div.dloadmp3-MI { left:102px; width:36%;}
359
- .bars100 div.bars_holder { left:102px; width:auto; }
360
- .bars100 .MI-image img { padding:1px; }
361
- .bars100 div.player-track-title { top:20px; }
362
-
363
- /* ===== "bars150" ===== */
364
- .bars150 div.player-track-title { left:162px; }
365
- .bars150 div.dloadmp3-MI { left:152px; width:33%;}
366
- .bars150 div.bars_holder { left:152px; width:auto; }
367
- .bars150 .MI-image img { padding:1px; }
368
- .bars150 div.player-track-title { top:20px; }
369
-
370
- /* ===== "bars200" ===== */
371
- .bars200 div.player-track-title { left:212px; }
372
- .bars200 div.dloadmp3-MI { left:202px; width:30%; }
373
- .bars200 div.bars_holder { left:202px; width:auto; }
374
- .bars200 .MI-image img { padding:1px; }
375
- .bars200 div.player-track-title { top:20px; }
376
-
377
- /* ===== "bars250" ===== */
378
- .bars250 div.player-track-title { left:262px; }
379
- .bars250 div.dloadmp3-MI { left:252px; width:27%;}
380
- .bars250 div.bars_holder { left:252px; width:auto; }
381
- .bars250 .MI-image img { padding:1px; }
382
- .bars250 div.player-track-title { top:20px; }
383
-
384
- /* ===== "bars300" ===== */
385
- .bars300 div.player-track-title { left:312px; }
386
- .bars300 div.dloadmp3-MI { left:302px; width:24%; }
387
- .bars300 div.bars_holder { left:302px; width:auto; }
388
- .bars300 .MI-image img { padding:1px; }
389
- .bars300 div.player-track-title { top:20px; }
390
-
391
- /* ===== "bars350" ===== */
392
- .bars350 div.player-track-title { left:362px; }
393
- .bars350 div.dloadmp3-MI { left:352px; width:21%;}
394
- .bars350 div.bars_holder { left:352px; width:auto; }
395
- .bars350 .MI-image img { padding:1px; }
396
- .bars350 div.player-track-title { top:20px; }
397
-
398
- /* ===== "bars400" ===== */
399
- .bars400 div.player-track-title { left:412px; }
400
- .bars400 div.dloadmp3-MI { left:402px; width:18%; }
401
- .bars400 div.bars_holder { left:402px; width:auto; }
402
- .bars400 .MI-image img { padding:1px; }
403
- .bars400 div.player-track-title { top:20px; }
404
-
405
- /* ===== bigger1 ===== */
406
- .bigger1 { font-size:18px; line-height:26px !important; margin:0 !important; }
407
- .bigger1 span.load_mp3j,
408
- .bigger1 span.loadB_mp3j { top:24px; left:0px; height:2px; }
409
- .bigger1 span.posbar_mp3j .ui-slider-handle { top: 3px; height:24px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
410
- .bigger1 span.posbarB_mp3j .ui-slider-handle { top: 3px; margin-left:-3px !important; border:1px solid #999; height:24px; width:6px !important; z-index:500; background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
411
- .bigger1 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; border-color:#aaa; }
412
- .bigger1 span.buttons_mp3j { position:relative; margin:0px; margin-left:5px !important; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -80px 0px; }
413
- .bigger1 span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -32px; }
414
- .bigger1 span.buttons_mp3jpause { position:relative; margin:0px; margin-left:5px !important; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -2px 0px; }
415
- .bigger1 span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -32px; }
416
- .bigger1 span.vol_mp3j { position:absolute; top:-6px; right:7px; width:85%; max-width:100px; height:2px; }
417
-
418
- .bigger1 div.player-track-title { font:normal normal 500 18px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
419
- .bigger1 div.player-track-title span { font:normal normal 500 14px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
420
- .bigger1 ul.UL-MI_mp3j li a, .bigger1 ul.UL-MI_mp3j li { font-size:16px !important; line-height:19px !important; }
421
- .bigger1 .indi_mp3j { font-size: 0.6em !important; }
422
-
423
- /* ===== "bigger2" ===== */
424
- .bigger2 div.player-track-title { font:normal normal 500 36px/38px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
425
- .bigger2 div.player-track-title span { font:normal normal 500 20px/22px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
426
- .bigger2 ul.UL-MI_mp3j li a, .bigger2 ul.UL-MI_mp3j li { font-size:20px !important; line-height:24px !important; }
427
- .bigger2 { font-size:23px; line-height:25px !important; margin:0 !important; }
428
- .bigger2 span.load_mp3j,
429
- .bigger2 span.loadB_mp3j { top:26px; left:0px; height:2px; }
430
- .bigger2 span.posbar_mp3j .ui-slider-handle { top: 0px; height:28px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
431
- .bigger2 span.posbarB_mp3j .ui-slider-handle { top: -1px; margin-left:-3px !important; border:1px solid #999; height:29px; width:8px !important; z-index:500; border-color:#aaa; background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
432
- .bigger2 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; border-color:#999; }
433
- .bigger2 span.buttons_mp3j { padding:2px 0px 4px 20px !important; background:url('images/play-dark2-b.png') no-repeat -186px center; border:0px solid #bbb; margin-left:10px; }
434
- .bigger2 span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -437px center; }
435
- .bigger2 span.buttons_mp3jpause { padding:0px 0px 2px 20px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
436
- .bigger2 span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
437
- .bigger2 span.vol_mp3j { position:absolute; top:-12px; right:4px; width:85%; max-width:100px; height:2px; }
438
- .bigger2 span.vol_mp3t { position:absolute; top:-10px; width:85%; max-width:100px; height:2px; }
439
- .bigger2 .Smp3-finding,
440
- .bigger2 .mp3-tint,
441
- .bigger2 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 10px !important; font-size:12px !important; line-height:12px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
442
- .bigger2 .mp3-gtint { margin:0 6px 0 -16px; }
443
- .bigger2 .indi_mp3j { font-size: 0.5em !important; padding-left:0px; }
444
-
445
- /* ===== bigger3 ===== */
446
- .bigger3 { font-size:28px; line-height:36px !important; margin:0 !important; }
447
- .bigger3 .load_mp3j, .bigger3 .loadB_mp3j { top:37px; left:0px; height:3px; }
448
- .bigger3 .posbar_mp3j .ui-slider-handle, .bigger3 .posbarB_mp3j .ui-slider-handle { top: 0px; border:1px solid #bbb; height:40px; width:12px !important; margin-left:-5px !important; background:url('images/stop-dark2-b.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
449
- .bigger3 .posbar_mp3j .ui-slider-handle:hover, .bigger3 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; border:1px solid #aaa; }
450
- .bigger3 .indi_mp3j { font-size: 0.5em !important; }
451
- .bigger3 span.buttons_mp3j { padding:8px 0px 12px 30px !important; background:url('images/play-dark2-b.png') no-repeat -177px center; border:0px solid #bbb; margin-left:12px; }
452
- .bigger3 span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -428px center; }
453
- .bigger3 span.buttons_mp3jpause { padding:2px 0px 6px 30px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:12px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
454
- .bigger3 span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
455
- .bigger3 .vol_mp3j { height:1px; max-width:110px; right:64px; top:-8px; }
456
- .bigger3 .vol_mp3t { height:1px; max-width:110px; right:16px; top:-5px; }
457
- .bigger3 .vol_mp3j .ui-slider-handle, .bigger3 .vol_mp3t .ui-slider-handle { height:14px !important; width:33px !important; margin-left:-16px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-14px; background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
458
- .bigger3 .vol_mp3j .ui-slider-handle:hover, .bigger3 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
459
- .bigger3 .Smp3-finding,
460
- .bigger3 .mp3-tint,
461
- .bigger3 .mp3-gtint { margin-left:8px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
462
- .bigger3 .mp3-gtint { margin:0 2px 0 -14px; }
463
- .bigger3 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
464
- .bigger3 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
465
- .bigger3 ul.UL-MI_mp3j li a, .bigger3 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
466
-
467
-
468
- /* ===== bigger4 ===== */
469
- .bigger4 { font-size:38px; line-height:46px !important; margin:0 !important; }
470
- .bigger4 .load_mp3j, .bigger4 .loadB_mp3j { top:46px; left:0px; height:3px; }
471
- .bigger4 .posbar_mp3j .ui-slider-handle, .bigger4 .posbarB_mp3j .ui-slider-handle { top: -2px; border:1px solid #bbb; height:52px; width:20px !important; margin-left:-10px !important; background:url('images/stop-dark2-b.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
472
- .bigger4 .posbar_mp3j .ui-slider-handle:hover, .bigger4 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; border:1px solid #aaa; }
473
- .bigger4 .indi_mp3j { font-size: 0.5em !important; }
474
- .bigger4 span.buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:8px 0px 12px 40px !important; background:url('images/play-dark2-b.png') no-repeat -167px center; border:0px solid #bbb; margin-left:15px; }
475
- .bigger4 span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -418px center; }
476
- .bigger4 span.buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 4px 40px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:15px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
477
- .bigger4 span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
478
- .bigger4 .vol_mp3j { height:1px; max-width:110px; right:86px; top:-8px; }
479
- .bigger4 .vol_mp3t { height:1px; max-width:110px; right:20px; top:-5px; }
480
- .bigger4 .vol_mp3j .ui-slider-handle, .bigger4 .vol_mp3t .ui-slider-handle { height:20px !important; width:43px !important; margin-left:-21px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-20px; background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
481
- .bigger4 .vol_mp3j .ui-slider-handle:hover, .bigger4 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
482
- .bigger4 .Smp3-finding,
483
- .bigger4 .mp3-tint,
484
- .bigger4 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
485
- .bigger4 .mp3-gtint { margin:0 6px 0 -20px; }
486
-
487
- .bigger4 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
488
- .bigger4 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
489
- .bigger4 ul.UL-MI_mp3j li a, .bigger4 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
490
-
491
-
492
- /* ===== bigger5 ===== */
493
- .bigger5 { font-size:48px; line-height:60px !important; margin:0 !important; }
494
- .bigger5 .load_mp3j, .bigger5 .loadB_mp3j { top:63px; left:0px; height:4px; }
495
- .bigger5 .posbar_mp3j .ui-slider-handle, .bigger5 .posbarB_mp3j .ui-slider-handle { top: -1px; border:1px solid #bbb; height:69px; width:20px !important; margin-left:-10px !important; background:url('images/stop-dark2-b.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
496
- .bigger5 .posbar_mp3j .ui-slider-handle:hover, .bigger5 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; border:1px solid #aaa; }
497
- .bigger5 .indi_mp3j { font-size: 0.5em !important; }
498
- .bigger5 span.buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:8px 0px 13px 52px !important; background:url('images/play-dark2-b.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
499
- .bigger5 span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -405px center; }
500
- .bigger5 span.buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:3px 0px 8px 52px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:15px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
501
- .bigger5 span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
502
- .bigger5 .vol_mp3j { height:1px; max-width:170px; right:115px; top:-10px; }
503
- .bigger5 .vol_mp3t { height:1px; max-width:170px; right:33px; top:-5px; }
504
- .bigger5 .vol_mp3j .ui-slider-handle, .bigger5 .vol_mp3t .ui-slider-handle { height:30px !important; width:55px !important; margin-left:-21px; border-bottom:1px solid #aaa !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-30px; background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
505
- .bigger5 .vol_mp3j .ui-slider-handle:hover, .bigger5 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
506
- .bigger5 .Smp3-finding,
507
- .bigger5 .mp3-tint,
508
- .bigger5 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
509
- .bigger5 .mp3-gtint { margin:0 6px 0 -20px; }
510
-
511
- .bigger5.wh .posbar_mp3j .ui-slider-handle, .bigger5.wh .posbarB_mp3j .ui-slider-handle { background:url('images/stop-dark2-w.png') repeat-y -350px top; border:1px solid #888; }
512
- .bigger5.wh .posbar_mp3j .ui-slider-handle:hover, .bigger5.wh .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-w.png') repeat-y 0px top; border:1px solid #777; }
513
- .bigger5.wh .buttons_mp3j { background:url('images/play-dark2-w.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
514
- .bigger5.wh .buttons_mp3j:hover { background:url('images/play-dark2-w.png') no-repeat -405px center; }
515
- .bigger5.wh .buttons_mp3jpause { background:url('images/stop-dark2-w.png') repeat-y 0px top; }
516
- .bigger5.wh .buttons_mp3jpause:hover { background:url('images/stop-dark2-w.png') repeat-y -350px top; }
517
- .bigger5.wh .vol_mp3j .ui-slider-handle, .bigger5.wh .vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-bw.png') no-repeat -10px bottom; }
518
- .bigger5.wh .vol_mp3j .ui-slider-handle:hover, .bigger5.wh .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-w.png') no-repeat -257px bottom; }
519
-
520
-
521
- /* ===== "smaller" ===== */
522
- .smaller div.player-track-title { font:normal normal 500 11px/13px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; left:5px; right:5px; }
523
- .smaller div.player-track-title span { font:normal normal 500 10px/10px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; padding:0; }
524
- .smaller ul.UL-MI_mp3j li a, .smaller ul.UL-MI_mp3j li { font-size:10px !important; font-family:'verdana', Helvetica, sans-serif !important; line-height:13px !important; }
525
-
526
-
527
- /* ===== outline ==== */
528
- span.outline { font-size:14px; line-height:22px !important; margin:0 !important; }
529
- .outline span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; background: transparent; }
530
- .outline span.vol_mp3j { position:absolute; top:-9px; right:7px; width:85%; max-width:100px; height:2px; background: transparent; }
531
- .outline span.buttons_mp3j { padding:2px 0px 3px 20px; background: transparent url('images/transport-outline.png') no-repeat -80px -2px; border:0; margin:0; }
532
- .outline span.buttons_mp3j:hover { background:transparent url('images/transport-outline.png') no-repeat -80px -34px; }
533
- .outline span.buttons_mp3jpause { padding:2px 0px 3px 20px; background: transparent url('images/transport-outline.png') no-repeat 1px -2px; border:0; margin:0; }
534
- .outline span.buttons_mp3jpause:hover { background:transparent url('images/transport-outline.png') no-repeat 1px -34px; }
535
- .outline span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
536
- .outline span.posbarB_mp3j .ui-widget-header { z-index:-500; }
537
- .outline span.posbarB_mp3j .ui-slider-handle { top: 0px; margin-left:0px; border:1px solid #aaa; height:23px; width:5px !important; z-index:500; background:url('images/t10b.png') repeat; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
538
- .outline span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t20b.png') repeat; border-color:#777; }
539
- .outline div.transport-MI div { background-image: url("images/transport-hardK.png"); }
540
- .outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
541
- .silver.outline div.transport-MI div { background-image: url("images/transport-hardZ.png"); }
542
- .silver.outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
543
-
544
- /* ===== wtransbars ==== */
545
- .wtransbars div.loadMI_mp3j { background:#fff; opacity:0.1; filter:alpha(opacity=10); }
546
- .wtransbars div.poscolMI_mp3j { background:#fff url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
547
- .wtransbars div.player-track-title { color:#fff; }
548
-
549
- /* ===== btransbars ==== */
550
- .btransbars div.loadMI_mp3j { background:#000; opacity:0.1; filter:alpha(opacity=10); }
551
- .btransbars div.poscolMI_mp3j { background:#000 url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
552
- .btransbars div.player-track-title { color:#000; }
553
-
554
-
555
-
1
+ /*
2
+ MP3-jPlayer 1.8.1 - Dark
3
+ www.sjward.org */
4
+
5
+ /*---------------------
6
+ [mp3-jplayer] SHORTCODE
7
+ ==================================== */
8
+
9
+ /* SKIN
10
+ --------------- */
11
+ /* MAIN WRAPPER (default class) */
12
+ div.wrap-MI { border:0; margin:0; background:none; min-width:116px; /* position||float set in-line! */ /* width set in-line! */ }
13
+
14
+ /* SUB WRAPPERS */
15
+ div.jp-innerwrap, div.jp-interface, div.listwrap_mp3j, div.playlist-wrap-MI { position:relative !important; width:100%; border:0; margin:0; padding:0; }
16
+ div.jp-innerwrap { background:none; }
17
+ div.jp-interface { background:url('images/shadow-x.png') repeat-x left bottom; height:101px/*player default height*/; min-height:67px; cursor:default; }
18
+ div.listwrap_mp3j { margin-top:0px; /* background set from admin */ }
19
+
20
+ /* BACKGROUNDS */
21
+ div.innerx, div.innerleft, div.innerright, div.innertab { position:absolute; }
22
+ div.innerx { background:url('images/case-grad-x.png') repeat-x left -119px; width:auto; height:35px; left:0px; right:0px; bottom:3px; }
23
+ div.innerleft { background:url('images/shadow-l.png') no-repeat left bottom; width:1px; height:40px; left:-1px; bottom:0px; }
24
+ div.innerright { background:url('images/shadow-r.png') no-repeat right bottom; width:2px; height:40px; right:-2px; bottom:0px; }
25
+ div.innertab { /* background and opacity set from admin */ left:0px; top:0px; width:100%; bottom:38px; }
26
+
27
+ /* PLAYLIST
28
+ ----------------- */
29
+ div.playlist-colour { position:absolute; width:100%; height:100%; left:0px; top:0px; /* background set from admin */ /* opacity set from admin */ }
30
+ div.playlist-wrap-MI ul { position:static; }
31
+ ul.UL-MI_mp3j { margin:0px !important; padding:0px 0px 0px 0px !important; list-style-type:none !important; list-style:none !important; list-style-image:none !important; font-weight: 500 !important; /* background */ }
32
+ ul.UL-MI_mp3j li { margin:0px !important; padding:0px 0px 1px 0px !important; font-weight:500 !important; line-height:15px !important; letter-spacing:0px !important; font-size:11px !important; word-spacing:0px !important; margin:0px 1px 0px 1px !important; list-style-type:none !important; }
33
+ ul.UL-MI_mp3j li:before { content:none !important; }
34
+ ul.UL-MI_mp3j li a { font-size:11px !important; border:0 !important; line-height:15px !important; font-weight:500 !important; text-decoration:none !important; display:block !important; width:auto !important; font-family:'verdana', 'Lucida Grande', 'arial', sans-serif !important; outline:none !important; padding:6px 0px 6px 14px !important; }
35
+
36
+ /* SCREEN
37
+ ----------------- */
38
+ div.player-track-title, div.jp-play-time, div.jp-total-time, div.statusMI { position:absolute; z-index:50; /* color set from admin */ font:normal normal 500 14px/16px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
39
+
40
+ div.player-track-title { top:7px; left:9px; width:auto; right:10px; }
41
+ div.player-track-title span { font-size:10px; line-height:12px; padding-left:10px; max-width:95%; }
42
+
43
+ div.jp-play-time, div.jp-total-time, div.statusMI { font-size:8px; line-height:10px !important; bottom:42px; text-align:left; font-family:Verdana, Arial, Helvetica, sans-serif; }
44
+ div.jp-play-time { right:84px; }
45
+ div.jp-total-time { right:6px; opacity:0.8; width:auto; }
46
+
47
+ span.mp3-finding, span.Smp3-finding, span.mp3-tint, span.mp3-gtint { padding:0px 0px 0px 6px !important; font-size:8px !important; line-height:10px !important; height:10px !important; overflow:hidden !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
48
+ span.mp3-finding, span.Smp3-finding { margin:0px 0px 0px -2px; background:url('images/finding-bar1f.gif') repeat 0px 3px; }
49
+ span.mp3-tint { margin:0px 2px 0px -6px; opacity:.5; filter:alpha(opacity=50); /* background */ }
50
+ span.mp3-gtint { margin:0px 2px 0px -6px; opacity:.5; filter:alpha(opacity=50); background:#777; }
51
+ span.Smp3-finding { margin:0px 0px 0px 3px; }
52
+ span.tintmarg { margin:0 2px 0 3px; }
53
+
54
+ div.statusMI { right:27px; width:52px !important; height:10px; }
55
+ .statusMI span.mp3-finding, .statusMI span.Smp3-finding, .statusMI span.mp3-tint, .statusMI span.mp3-gtint { padding:0px 0px 0px 6px !important; }
56
+ .statusMI span.mp3-tint, .statusMI span.mp3-gtint { margin:0px 2px 0px -6px; }
57
+
58
+ .MI-image { position:absolute; top:0; left:0; padding:0; }
59
+ .MI-image img { border:none; padding:0px; background-color:#777; }
60
+ .MI-image a:hover img { /* background-colour */ }
61
+
62
+ /* BUTTONS
63
+ ----------------- */
64
+ /* TRANSPORT BUTTONS */
65
+ div.transport-MI { position:absolute; width:auto; height:38px; right:2px; bottom:0px; border:0; }
66
+ /*div.transport-MI div { background-image: url("images/transport-hardV-shiny.png"); text-indent:-9999px !important; float:right; }*/
67
+ div.transport-MI div { background-image: url("images/transport-darkbg-trans2.png"); text-indent:-9999px !important; float:right; }
68
+ /* play */
69
+ div.buttons_mp3j { width:30px; height:32px; margin:1px 0px 0px 0px; background-position:-110px 0px; }
70
+ div.buttons_mp3j:hover { background-position:-110px -32px; }
71
+ /* pause */
72
+ div.buttons_mp3jpause { width:30px; height:32px; margin:1px 0px 0px 0px; background-position:-2px 0px; }
73
+ div.buttons_mp3jpause:hover { background-position:-2px -32px; }
74
+ /* prev n next */
75
+ div.Prev_mp3j { width:22px; height:28px; margin:1px 4px 0px 0px; background-position:-32px -1px; }
76
+ div.Prev_mp3j:hover { background-position:-32px -33px; }
77
+ div.Next_mp3j { width:19px; height:28px; margin:1px 3px 0px 0px; background-position:-57px -1px; }
78
+ div.Next_mp3j:hover { background-position:-57px -33px; }
79
+ /* stop */
80
+ div.stop_mp3j { width:26px; height:32px; margin:1px 3px 0px 0px; background-position:-81px 0px; }
81
+ div.stop_mp3j:hover { background-position:-81px -32px; }
82
+
83
+ /* PLAYLIST TOGGLE */
84
+ div.playlist-toggle-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif; bottom:4px; left:1px; padding:2px 6px 2px 5px; line-height:9px; min-width:24px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; cursor:default; background:#505050; color:#a2a2a2; }
85
+ div.playlist-toggle-MI:hover { background:#585858; color:#aaa; border-right:0px solid #a9a9a9; }
86
+
87
+ /* DOWNLOAD BUTTON */
88
+ div.dloadmp3-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; bottom:39px; margin:0px !important; font-size:9px !important; text-align:center; left:0px; width:41%; min-width:75px; max-width:425px; padding:0px 0px 0px 0px !important; border:0px; background:transparent url('images/t10b.png') repeat left top !important; color:#fff; line-height:11px !important; -moz-border-radius-topright:3px; -webkit-border-top-right-radius:3px; overflow:hidden; z-index:150; cursor:default; }
89
+ div.dloadmp3-MI.whilelinks, div.dloadmp3-MI.logintext { background:transparent url('images/t50b.png') repeat left top !important; }
90
+ div.dloadmp3-MI.whilelinks:hover { background:transparent url('images/t40b.png') repeat left top !important; }
91
+ div.dloadmp3-MI a { color:#ececec; display:block; width:auto; padding:1px 5px 2px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; /* after font declaration */ height:100%; border-bottom:none; visibility:hidden; }
92
+ div.dloadmp3-MI a:hover { outline: none; border-bottom: none; color: #ececec; }
93
+ div.dloadmp3-MI.whilelinks a { color: #f3f3f3; visibility: inherit; }
94
+ div.dloadmp3-MI.whilelinks a:hover { color: #fff; }
95
+ div.dloadmp3-MI p { color:#ececec; display:block; width:auto; padding:1px 5px 2px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; /* after font declaration */ height:100%; border-bottom:none; visibility:visible; }
96
+
97
+ /* POPOUT BUTTON */
98
+ div.mp3j-popout-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif; bottom:17px; left:0px; height:16px; padding:3px 5px 0px 28px; min-width:2px; line-height:11px; border:1px solid #585858; background-color:#aaa; background-image:url('images/buttons-popoutE.png'); background-repeat:no-repeat; background-position:-8px -6px; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; cursor:default;
99
+ color:#a2a2a2; }
100
+ div.mp3j-popout-MI:hover { color:#aaa; background-position:-8px -36px; }
101
+
102
+ /* BARS
103
+ ----------------- */
104
+ .ui-state-disabled { cursor:default !important; }
105
+ .ui-slider { position:relative; text-align:left; }
106
+ .ui-slider .ui-slider-handle { position:absolute; z-index:200; cursor:default; }
107
+ .ui-slider .ui-slider-range { position:absolute; z-index:1; font-size:.7em; display:block; border:0; }
108
+ .ui-slider-horizontal .ui-slider-range { top:0; height:100%; }
109
+ .ui-slider-horizontal .ui-slider-range-min { left:0; }
110
+ .ui-slider-horizontal .ui-slider-range-max { right:0; }
111
+ .ui-state-default, .ui-widget-content .ui-state-default { outline:none; border:0px; }
112
+
113
+ /* VOLUME */
114
+ div.MIsliderVolume { position:absolute; top:0px; right:4px; width:108px; height:4px !important; background:transparent; border:0px; font-size:1px; cursor:default; z-index:150; }
115
+ div.MIsliderVolume .ui-widget-header { /* background */ }
116
+ div.MIsliderVolume .ui-slider-handle { border:0px; height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; top:-3px; border:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; background:transparent url('images/vol-handle.png') no-repeat -1px 0px; z-index:150; overflow:hidden !important; cursor:default; }
117
+ div.MIsliderVolume .ui-slider-handle:hover { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; }
118
+ div.MIsliderVolume .ui-state-active, div.MIsliderVolume .ui-widget-content .ui-state-active { border:0px; background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; }
119
+
120
+ /* LOADER AND POS SLIDER */
121
+ div.bars_holder, div.loadMI_mp3j, div.poscolMI_mp3j, div.posbarMI_mp3j { position:absolute; top:0px; left:0px; }
122
+ div.bars_holder { right:0; width:100%; bottom:38px; font-size:1px; cursor:default; background:url('images/t40b.png')/*t50g.png*/ repeat-x left bottom;/* 1px highlight top of control bar */ }
123
+ div.loadMI_mp3j { bottom:1px; /* background */ /* opacity */ }
124
+ div.poscolMI_mp3j { bottom:1px; /* background */ /* opacity */ }
125
+ div.bars_holder .ui-widget-header, div.bars_holder .ui-widget-content { border:0px !important; background:none; }
126
+ div.bars_holder .ui-slider-horizontal { top:0px; bottom:1px; height:auto; z-index:90; }
127
+ div.posbarMI_mp3j { bottom:1px; width:100%; }
128
+ div.posbarMI_mp3j .ui-slider-handle { top:-6px; margin-left:-1px !important; border:0; bottom:-2px; width:2px !important; z-index:100; background:none; cursor:default ; padding:0px !important; }
129
+ div.posbarMI_mp3j .ui-slider-handle:hover { background:none; z-index:100; }
130
+
131
+
132
+
133
+ /* FORCED DOWNLOAD FRAME
134
+ ------------------------ */
135
+ div.mp3j-dlframe, iframe.mp3j-dlframe {
136
+ border:0px solid #ddd;
137
+ width:1px;
138
+ height:1px;
139
+ overflow:hidden;
140
+ margin:0;
141
+ padding:0;
142
+ display:none !important;
143
+ }
144
+
145
+ /* MESSAGES */
146
+ div.mp3j-finfo {
147
+ position:absolute !important;
148
+ top:36px;
149
+ z-index:9999;
150
+ width:80%;
151
+ left:10%;
152
+ -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
153
+ background:url('images/fdloadB-x.png') repeat-x left top;
154
+ -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
155
+ padding:0;
156
+ min-height:31px;
157
+ overflow:hidden;
158
+ min-width:170px;
159
+ }
160
+
161
+ div.mp3j-finfo * { font-family:Arial, Helvetica, sans-serif !important; }
162
+ div.mp3j-finfo-sleeve { position:relative !important; width:100%; height:100%; }
163
+ div.mp3j-finfo-gif { position:absolute !important; top:0; left:0; right:10%; bottom:0; background:url('images/loader-w2.gif') no-repeat center 37px; width:auto; padding:0px !important; height:100%; }
164
+ div.mp3j-finfo-txt { position:relative !important; margin:0px 15px 0 15px !important; padding:10px 0 10px 0 !important; width:auto; }
165
+ div.mp3j-finfo-close { position:absolute !important; width:31px !important; height:27px !important; padding-top:5px !important; right:0 !important; top:0 !important; text-align:center !important; font-weight:700 !important; font-size:18px !important; line-height:22px !important; color:#999 !important; border-bottom:1px solid #777 !important; border-left:1px solid #777 !important; background:url('images/t40b.png') repeat left top; }
166
+ div.mp3j-finfo-close:hover { color:#eee !important; }
167
+
168
+ div.mp3j-finfo-txt h2 { font-size:15px !important; color:#fff !important; margin:0 0 10px 0 !important; }
169
+ div.mp3j-finfo-txt h3 { font-size:14px !important; color:#fff !important; margin:0 0 15px 0 !important; }
170
+ div.mp3j-finfo-txt p { font-size:11px !important; color:#fff !important; line-height:13px !important; margin:0 0 5px 0 !important; }
171
+ div.mp3j-finfo-txt a { }
172
+
173
+
174
+
175
+
176
+ /* backwards compat
177
+ ------------------- */
178
+ div.player-track-title.mp3j_widgetmods { font-size: 11px; top: 7px; left:5px; }
179
+ div.player-track-title.mp3j_widgetmods span { font-size: 9px; }
180
+ ul.UL-MI_mp3j.mp3j_widgetmods li { font-size:10px !important; line-height:14px !important; }
181
+ ul.UL-MI_mp3j.mp3j_widgetmods li a { font-size:10px !important; line-height:14px !important; }
182
+
183
+
184
+ /*-------------------------
185
+ [mp3j] & [mp3t] SHORTCODES
186
+ ==================================== */
187
+ span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
188
+ /*span.wrap_inline_mp3j:hover .buttons_mp3j { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }*/
189
+ span.indi_mp3j { position:relative; padding-left:2px; font-size: 0.7em !important; }
190
+
191
+ /* BARS */
192
+ span.bars_mp3j { position:absolute; width:100%; height:100%; }
193
+ span.load_mp3j, span.loadB_mp3j { position:absolute; /* background */ top:20px; left:0px; height:2px; }
194
+ /* mp3t */
195
+ span.posbar_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
196
+ span.posbar_mp3j .ui-widget-header { z-index:-500; }
197
+ span.posbar_mp3j .ui-slider-handle { top: 2px; margin-left:-2px; border:1px solid #999; height:21px; width:4px; z-index:500; background:url('images/t20b.png') repeat; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
198
+ span.posbar_mp3j .ui-slider-handle:hover { background:url('images/t15b.png') repeat; border-color:#aaa; }
199
+ /* mp3j */
200
+ span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0; z-index:450; cursor:pointer; }
201
+ span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:450; height:100%; }
202
+ span.posbarB_mp3j .ui-slider-handle { top: 0px; margin-left:-6px !important; border:0px solid #888; height:23px; width:12px !important; z-index: 500; background: transparent url('images/inlineHandle2.png') no-repeat -3px -3px; cursor: default; padding:0px !important; }
203
+ span.posbarB_mp3j .ui-slider-handle:hover { background: transparent url('images/inlineHandle2.png') no-repeat -3px -33px; }
204
+
205
+ /* SPAN TRANSPORT */
206
+ span.group_wrap { position:relative; margin:0px 0px 0px 0px; width:auto; }
207
+ span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; margin:0px; padding:0px; }
208
+ span.buttons_mp3j { position:relative; margin:0px; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -80px -3px; }
209
+ span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }
210
+ span.buttons_mp3jpause { position:relative; margin:0px; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -2px -3px; }
211
+ span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -35px; }
212
+
213
+ /* VOLUMES */
214
+ span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; }
215
+ span.vol_mp3j { position:absolute; top:-9px; right:5px; width:85%; max-width:100px; height:2px; }
216
+ span.vol_mp3j.flipped { right:4px; }
217
+ span.vol_mp3t .ui-widget-header, span.vol_mp3j .ui-widget-header { background: transparent url('images/vol-grad60b2.png') repeat left top; z-index:500; height:100%; }
218
+ span.vol_mp3t .ui-slider-handle, span.vol_mp3j .ui-slider-handle { height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; border:0px !important; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; z-index:600; overflow:hidden !important; cursor:default; top:-6px; background: transparent url('images/vol-handle.png') no-repeat -1px 0px; }
219
+ span.vol_mp3t .ui-slider-handle:hover, span.vol_mp3j .ui-slider-handle:hover { background: transparent url('images/vol-handle.png') no-repeat -21px 0px; }
220
+ span.vol_mp3t .ui-state-active, span.vol_mp3t .ui-widget-content .ui-state-active, span.vol_mp3j .ui-state-active, span.vol_mp3j .ui-widget-content .ui-state-active { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; border:0px; }
221
+
222
+
223
+ /*----------------------
224
+ [mp3j-popout] SHORTCODE
225
+ ================================================= */
226
+ .mp3j-popout-link-wrap { cursor:pointer; position:relative; clear:left; }
227
+ .mp3j-popout-link { float:left; margin:0 5px 0 0; min-width:22px; min-height:18px; background:url('images/buttons-popout.png') no-repeat -10px -65px; }
228
+ .mp3j-popout-link-wrap:hover .mp3j-popout-link { background:url('images/buttons-popout.png') no-repeat -10px -95px; }
229
+
230
+
231
+ /*-------------
232
+ CUSTOM CLASSES
233
+ (via 'style' param in shortcode)
234
+ ================================================= */
235
+
236
+ /* ===== "silver" ===== */
237
+ .silver .innerx { background-position:left -45px; }
238
+ .silver .transport-MI { height:37px; }
239
+ .silver .transport-MI div { background-image:url("images/transport-hardW-shiny.png"); }
240
+ .silver .bars_holder { background:url('images/t60w.png') repeat-x left bottom; }
241
+ .silver .mp3j-popout-MI { color:#6c6c6c; background-position:-8px -65px; border-color:#b2b2b2; background-color:#aaa; }
242
+ .silver .mp3j-popout-MI:hover { color:#606060; background-position:-8px -95px; }
243
+ .silver div.playlist-toggle-MI { background:#bcbcbc; color:#707070; }
244
+ .silver div.playlist-toggle-MI:hover { background:#c6c6c6; color:#777; }
245
+ .silver .MI-image img { background-color:#bbb; }
246
+
247
+ .silver div.mp3j-finfo { background:url('images/fdloadW-x.png') repeat-x left top; }
248
+ .silver div.mp3j-finfo-gif { background:url('images/loader.gif') no-repeat center 37px; }
249
+ .silver div.mp3j-finfo-close { color:#aaa !important; border-bottom:1px solid #ccc !important; border-left:1px solid #ccc !important; background:url('images/t40w.png') repeat left top !important; }
250
+ .silver div.mp3j-finfo-close:hover { color:#888 !important; }
251
+ .silver div.mp3j-finfo-txt h2 { color:#333 !important; }
252
+ .silver div.mp3j-finfo-txt h3 { color:#333 !important; }
253
+ .silver div.mp3j-finfo-txt p { color:#555 !important; }
254
+
255
+
256
+ /* ===== "text" ===== */
257
+ div.wrap-MI.text { /*min-width:300px;*/ }
258
+ .text div.innerx, .text div.innerleft, .text div.innerright { position: absolute; visibility: hidden; }
259
+ .text div.innertab { bottom: 38px; }
260
+ .text div.jp-interface { background:none; }
261
+ .text div.player-track-title { font:normal normal 500 16px/18px 'trebuchet ms', Arial, sans-serif; }
262
+ .text div.player-track-title span { font:italic normal 500 12px/14px 'trebuchet ms', Arial, sans-serif; opacity:0.7; filter:alpha(opacity=70); }
263
+ .text div.jp-play-time, .text div.jp-total-time, .text div.statusMI { bottom:20px; font-size:11px; font-family: 'trebuchet ms', Arial, sans-serif; }
264
+ .text div.jp-play-time { width:37px; left:0px; opacity:0.6; filter:alpha(opacity=60); }
265
+ .text div.jp-total-time { width:37px; left:100px; display:none; }
266
+ .text div.statusMI { left:37px; width:70px !important; }
267
+ .text div.transport-MI { height:26px; right:2px; bottom:12px; }
268
+ .text div.transport-MI div { font-family: 'trebuchet ms', Arial, sans-serif; font-weight:700; overflow:hidden !important; background:none !important; white-space:nowrap !important; }
269
+ .text div.buttons_mp3j { text-indent:4px !important; width:32px; overflow:hidden !important; height: 25px; margin:0 6px 0 0px; background:none !important; line-height:25px !important; font-size:14px; }
270
+ .text div.buttons_mp3jpause { text-indent:-29px !important; width:38px; overflow:hidden !important; height: 25px; margin:0 -3px 0 3px; background:none !important; line-height:25px !important; font-size:14px; }
271
+ .text div.Prev_mp3j, .text div.Next_mp3j { text-indent:0px !important; height:23px; line-height:23px !important; font-size:12px; width:36px; margin:2px 0px 0px 0px; }
272
+ .text div.stop_mp3j { text-indent:0px !important; width:31px; height:25px; margin:0px 0px 0px 4px; line-height:25px !important; font-size:14px; }
273
+
274
+ .text div.playlist-toggle-MI { bottom: 7px; font-family:'trebuchet ms', Arial, sans-serif; background:none; padding:0; opacity:0.6; filter:alpha(opacity=60); }
275
+ .text div.playlist-toggle-MI:hover { opacity:1.0; filter:alpha(opacity=100); }
276
+ .text div.dloadmp3-MI { font-size:11px; bottom: 6px; height:auto; right:0px !important; left:auto; margin:0; font-family: 'trebuchet ms', Arial, sans-serif; text-align:right; background:none !important; }
277
+ .text div.dloadmp3-MI a { color:#888; font-size:inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
278
+ .text div.dloadmp3-MI a:hover { color:#555; background:none !important; }
279
+ .text div.dloadmp3-MI.betweenlinks a { display:none; background:none !important; }
280
+ .text div.dloadmp3-MI.whilelinks a { display:block; background:none !important; }
281
+ .text div.dloadmp3-MI.whilelinks a:hover { text-decoration:none; background:none !important; }
282
+ .text div.dloadmp3-MI p { font-size: inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
283
+ .text div.mp3j-popout-MI { color:#888; font:normal normal 500 11px 'trebuchet ms', 'arial', sans-serif; bottom:15px; right:155px; left:auto; width:auto; opacity:1; filter:alpha(opacity=100); padding:0px; line-height:12px; border:0; background:none; cursor:default; z-index:500; }
284
+ .text div.mp3j-popout-MI:hover { color:#555; opacity:1.0; filter:alpha(opacity=100); }
285
+ .text div.MIsliderVolume { position:absolute; bottom:38px; top:auto; right:4px; width:108px !important; height:1px !important; background:transparent; border:0px; font-size:1px; cursor:default; z-index:150; }
286
+ .text div.MIsliderVolume .ui-slider-handle, .text div.vol_mp3j .ui-slider-handle { height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; top:-7px; border:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; background:transparent url('images/vol-handle.png') no-repeat -41px 0px; z-index:150; overflow:hidden !important; cursor:default; }
287
+ .text div.MIsliderVolume .ui-slider-handle:hover, .text div.vol_mp3j .ui-slider-handle:hover { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; }
288
+ .text div.MIsliderVolume .ui-state-active, .text div.MIsliderVolume .ui-widget-content .ui-state-active, .text div.vol_mp3j .ui-state-active, .text div.vol_mp3j .ui-widget-content .ui-state-active { border:0px; background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; }
289
+
290
+ .text div.dloadmp3-MI.whilelinks, .text div.dloadmp3-MI.logintext { background:none !important; }
291
+
292
+
293
+
294
+ /* ===== "noscreen" ===== */
295
+ .noscreen div.jp-interface { height:44px; min-height:44px; }
296
+ .noscreen div.player-track-title { display:none; }
297
+ .noscreen div.bars_holder { top:auto; bottom:0px; height:7px; }
298
+ .noscreen div.innertab { bottom: 0px; top:0; display:none; }
299
+ .noscreen div.dloadmp3-MI { bottom: 11px; }
300
+ .noscreen div.transport-MI { bottom:17px; }
301
+ .noscreen div.jp-play-time, .noscreen div.jp-total-time, .noscreen div.statusMI { bottom:25px; }
302
+ .noscreen div.playlist-toggle-MI { bottom: 12px; }
303
+ .noscreen div.mp3j-popout-MI { bottom: 20px; }
304
+ .noscreen div.MIsliderVolume { bottom: 43px; }
305
+ .noscreen div.MIsliderVolume .ui-widget-header { background:transparent url('images/vol-grad60b2.png') repeat-y 0px top; }
306
+ .noscreen div.MIsliderVolume .ui-slider-handle { top:-6px; }
307
+ .noscreen h2 { margin:0 !important; padding:0 0 0px 0 !important; }
308
+ .noscreen div.posbarMI_mp3j .ui-slider-handle { top:-5px; margin-left:-7px !important; border:0; bottom:-5px; width:14px !important; z-index:100; background:none; border:none; cursor:default ; padding:0px !important; }
309
+ .noscreen div.posbarMI_mp3j .ui-slider-handle:hover { background:none; border:none; }
310
+ .noscreen .MI-image { top:15px; }
311
+
312
+ /* ===== "nolistbutton" ===== */
313
+ .nolistbutton div.playlist-toggle-MI { visibility:hidden; }
314
+
315
+ /* ===== "nopopoutbutton" ===== */
316
+ .nopopoutbutton div.mp3j-popout-MI { display:none; }
317
+
318
+ /* ===== "nopn" ===== */
319
+ .nopn div.Prev_mp3j { display:none; }
320
+ .nopn div.Next_mp3j { display:none; }
321
+
322
+ /* ===== "nostop" ===== */
323
+ .nostop div.stop_mp3j { display:none; }
324
+
325
+ /* ===== "bars100" ===== */
326
+ .bars100 div.player-track-title { left:112px; }
327
+ .bars100 div.dloadmp3-MI { left:102px; width:36%;}
328
+ .bars100 div.bars_holder { left:102px; width:auto; }
329
+ .bars100 .MI-image img { padding:1px; }
330
+ .bars100 div.player-track-title { top:20px; }
331
+
332
+ /* ===== "bars150" ===== */
333
+ .bars150 div.player-track-title { left:162px; }
334
+ .bars150 div.dloadmp3-MI { left:152px; width:33%;}
335
+ .bars150 div.bars_holder { left:152px; width:auto; }
336
+ .bars150 .MI-image img { padding:1px; }
337
+ .bars150 div.player-track-title { top:20px; }
338
+
339
+ /* ===== "bars200" ===== */
340
+ .bars200 div.player-track-title { left:212px; }
341
+ .bars200 div.dloadmp3-MI { left:202px; width:30%; }
342
+ .bars200 div.bars_holder { left:202px; width:auto; }
343
+ .bars200 .MI-image img { padding:1px; }
344
+ .bars200 div.player-track-title { top:20px; }
345
+
346
+ /* ===== "bars250" ===== */
347
+ .bars250 div.player-track-title { left:262px; }
348
+ .bars250 div.dloadmp3-MI { left:252px; width:27%;}
349
+ .bars250 div.bars_holder { left:252px; width:auto; }
350
+ .bars250 .MI-image img { padding:1px; }
351
+ .bars250 div.player-track-title { top:20px; }
352
+
353
+ /* ===== "bars300" ===== */
354
+ .bars300 div.player-track-title { left:312px; }
355
+ .bars300 div.dloadmp3-MI { left:302px; width:24%; }
356
+ .bars300 div.bars_holder { left:302px; width:auto; }
357
+ .bars300 .MI-image img { padding:1px; }
358
+ .bars300 div.player-track-title { top:20px; }
359
+
360
+ /* ===== "bars350" ===== */
361
+ .bars350 div.player-track-title { left:362px; }
362
+ .bars350 div.dloadmp3-MI { left:352px; width:21%;}
363
+ .bars350 div.bars_holder { left:352px; width:auto; }
364
+ .bars350 .MI-image img { padding:1px; }
365
+ .bars350 div.player-track-title { top:20px; }
366
+
367
+ /* ===== "bars400" ===== */
368
+ .bars400 div.player-track-title { left:412px; }
369
+ .bars400 div.dloadmp3-MI { left:402px; width:18%; }
370
+ .bars400 div.bars_holder { left:402px; width:auto; }
371
+ .bars400 .MI-image img { padding:1px; }
372
+ .bars400 div.player-track-title { top:20px; }
373
+
374
+ /* ===== bigger1 ===== */
375
+ .bigger1 { font-size:18px; line-height:26px !important; margin:0 !important; }
376
+ .bigger1 span.load_mp3j,
377
+ .bigger1 span.loadB_mp3j { top:24px; left:0px; height:2px; }
378
+ .bigger1 span.posbar_mp3j .ui-slider-handle { top: 3px; height:24px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
379
+ .bigger1 span.posbarB_mp3j .ui-slider-handle { top: 3px; margin-left:-3px !important; border:1px solid #999; height:24px; width:6px !important; z-index:500; background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
380
+ .bigger1 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; border-color:#aaa; }
381
+ .bigger1 span.buttons_mp3j { position:relative; margin:0px; margin-left:5px !important; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -80px 0px; }
382
+ .bigger1 span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -32px; }
383
+ .bigger1 span.buttons_mp3jpause { position:relative; margin:0px; margin-left:5px !important; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -2px 0px; }
384
+ .bigger1 span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -32px; }
385
+ .bigger1 span.vol_mp3j { position:absolute; top:-6px; right:7px; width:85%; max-width:100px; height:2px; }
386
+
387
+ .bigger1 div.player-track-title { font:normal normal 500 18px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
388
+ .bigger1 div.player-track-title span { font:normal normal 500 14px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
389
+ .bigger1 ul.UL-MI_mp3j li a, .bigger1 ul.UL-MI_mp3j li { font-size:16px !important; line-height:19px !important; }
390
+ .bigger1 .indi_mp3j { font-size: 0.6em !important; }
391
+
392
+ /* ===== "bigger2" ===== */
393
+ .bigger2 div.player-track-title { font:normal normal 500 36px/38px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
394
+ .bigger2 div.player-track-title span { font:normal normal 500 20px/22px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
395
+ .bigger2 ul.UL-MI_mp3j li a, .bigger2 ul.UL-MI_mp3j li { font-size:20px !important; line-height:24px !important; }
396
+ .bigger2 { font-size:23px; line-height:25px !important; margin:0 !important; }
397
+ .bigger2 span.load_mp3j,
398
+ .bigger2 span.loadB_mp3j { top:26px; left:0px; height:2px; }
399
+ .bigger2 span.posbar_mp3j .ui-slider-handle { top: 0px; height:28px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
400
+ .bigger2 span.posbarB_mp3j .ui-slider-handle { top: -1px; margin-left:-3px !important; border:1px solid #999; height:29px; width:8px !important; z-index:500; border-color:#aaa; background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
401
+ .bigger2 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; border-color:#999; }
402
+ .bigger2 span.buttons_mp3j { padding:2px 0px 4px 20px !important; background:url('images/play-dark2-b.png') no-repeat -186px center; border:0px solid #bbb; margin-left:10px; }
403
+ .bigger2 span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -437px center; }
404
+ .bigger2 span.buttons_mp3jpause { padding:0px 0px 2px 20px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
405
+ .bigger2 span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
406
+ .bigger2 span.vol_mp3j { position:absolute; top:-12px; right:4px; width:85%; max-width:100px; height:2px; }
407
+ .bigger2 span.vol_mp3t { position:absolute; top:-10px; width:85%; max-width:100px; height:2px; }
408
+ .bigger2 .Smp3-finding,
409
+ .bigger2 .mp3-tint,
410
+ .bigger2 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 10px !important; font-size:12px !important; line-height:12px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
411
+ .bigger2 .mp3-gtint { margin:0 6px 0 -16px; }
412
+ .bigger2 .indi_mp3j { font-size: 0.5em !important; padding-left:0px; }
413
+
414
+ /* ===== bigger3 ===== */
415
+ .bigger3 { font-size:28px; line-height:36px !important; margin:0 !important; }
416
+ .bigger3 .load_mp3j, .bigger3 .loadB_mp3j { top:37px; left:0px; height:3px; }
417
+ .bigger3 .posbar_mp3j .ui-slider-handle, .bigger3 .posbarB_mp3j .ui-slider-handle { top: 0px; border:1px solid #bbb; height:40px; width:12px !important; margin-left:-5px !important; background:url('images/stop-dark2-b.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
418
+ .bigger3 .posbar_mp3j .ui-slider-handle:hover, .bigger3 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; border:1px solid #aaa; }
419
+ .bigger3 .indi_mp3j { font-size: 0.5em !important; }
420
+ .bigger3 span.buttons_mp3j { padding:8px 0px 12px 30px !important; background:url('images/play-dark2-b.png') no-repeat -177px center; border:0px solid #bbb; margin-left:12px; }
421
+ .bigger3 span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -428px center; }
422
+ .bigger3 span.buttons_mp3jpause { padding:2px 0px 6px 30px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:12px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
423
+ .bigger3 span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
424
+ .bigger3 .vol_mp3j { height:1px; max-width:110px; right:64px; top:-8px; }
425
+ .bigger3 .vol_mp3t { height:1px; max-width:110px; right:16px; top:-5px; }
426
+ .bigger3 .vol_mp3j .ui-slider-handle, .bigger3 .vol_mp3t .ui-slider-handle { height:14px !important; width:33px !important; margin-left:-16px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-14px; background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
427
+ .bigger3 .vol_mp3j .ui-slider-handle:hover, .bigger3 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
428
+ .bigger3 .Smp3-finding,
429
+ .bigger3 .mp3-tint,
430
+ .bigger3 .mp3-gtint { margin-left:8px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
431
+ .bigger3 .mp3-gtint { margin:0 2px 0 -14px; }
432
+ .bigger3 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
433
+ .bigger3 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
434
+ .bigger3 ul.UL-MI_mp3j li a, .bigger3 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
435
+
436
+
437
+ /* ===== bigger4 ===== */
438
+ .bigger4 { font-size:38px; line-height:46px !important; margin:0 !important; }
439
+ .bigger4 .load_mp3j, .bigger4 .loadB_mp3j { top:46px; left:0px; height:3px; }
440
+ .bigger4 .posbar_mp3j .ui-slider-handle, .bigger4 .posbarB_mp3j .ui-slider-handle { top: -2px; border:1px solid #bbb; height:52px; width:20px !important; margin-left:-10px !important; background:url('images/stop-dark2-b.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
441
+ .bigger4 .posbar_mp3j .ui-slider-handle:hover, .bigger4 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; border:1px solid #aaa; }
442
+ .bigger4 .indi_mp3j { font-size: 0.5em !important; }
443
+ .bigger4 span.buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:8px 0px 12px 40px !important; background:url('images/play-dark2-b.png') no-repeat -167px center; border:0px solid #bbb; margin-left:15px; }
444
+ .bigger4 span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -418px center; }
445
+ .bigger4 span.buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 4px 40px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:15px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
446
+ .bigger4 span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
447
+ .bigger4 .vol_mp3j { height:1px; max-width:110px; right:86px; top:-8px; }
448
+ .bigger4 .vol_mp3t { height:1px; max-width:110px; right:20px; top:-5px; }
449
+ .bigger4 .vol_mp3j .ui-slider-handle, .bigger4 .vol_mp3t .ui-slider-handle { height:20px !important; width:43px !important; margin-left:-21px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-20px; background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
450
+ .bigger4 .vol_mp3j .ui-slider-handle:hover, .bigger4 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
451
+ .bigger4 .Smp3-finding,
452
+ .bigger4 .mp3-tint,
453
+ .bigger4 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
454
+ .bigger4 .mp3-gtint { margin:0 6px 0 -20px; }
455
+
456
+ .bigger4 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
457
+ .bigger4 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
458
+ .bigger4 ul.UL-MI_mp3j li a, .bigger4 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
459
+
460
+
461
+ /* ===== bigger5 ===== */
462
+ .bigger5 { font-size:48px; line-height:60px !important; margin:0 !important; }
463
+ .bigger5 .load_mp3j, .bigger5 .loadB_mp3j { top:63px; left:0px; height:4px; }
464
+ .bigger5 .posbar_mp3j .ui-slider-handle, .bigger5 .posbarB_mp3j .ui-slider-handle { top: -1px; border:1px solid #bbb; height:69px; width:20px !important; margin-left:-10px !important; background:url('images/stop-dark2-b.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
465
+ .bigger5 .posbar_mp3j .ui-slider-handle:hover, .bigger5 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; border:1px solid #aaa; }
466
+ .bigger5 .indi_mp3j { font-size: 0.5em !important; }
467
+ .bigger5 span.buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:8px 0px 13px 52px !important; background:url('images/play-dark2-b.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
468
+ .bigger5 span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -405px center; }
469
+ .bigger5 span.buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:3px 0px 8px 52px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:15px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
470
+ .bigger5 span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
471
+ .bigger5 .vol_mp3j { height:1px; max-width:170px; right:115px; top:-10px; }
472
+ .bigger5 .vol_mp3t { height:1px; max-width:170px; right:33px; top:-5px; }
473
+ .bigger5 .vol_mp3j .ui-slider-handle, .bigger5 .vol_mp3t .ui-slider-handle { height:30px !important; width:55px !important; margin-left:-21px; border-bottom:1px solid #aaa !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-30px; background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
474
+ .bigger5 .vol_mp3j .ui-slider-handle:hover, .bigger5 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
475
+ .bigger5 .Smp3-finding,
476
+ .bigger5 .mp3-tint,
477
+ .bigger5 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
478
+ .bigger5 .mp3-gtint { margin:0 6px 0 -20px; }
479
+
480
+ .bigger5.wh .posbar_mp3j .ui-slider-handle, .bigger5.wh .posbarB_mp3j .ui-slider-handle { background:url('images/stop-dark2-w.png') repeat-y -350px top; border:1px solid #888; }
481
+ .bigger5.wh .posbar_mp3j .ui-slider-handle:hover, .bigger5.wh .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-w.png') repeat-y 0px top; border:1px solid #777; }
482
+ .bigger5.wh .buttons_mp3j { background:url('images/play-dark2-w.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
483
+ .bigger5.wh .buttons_mp3j:hover { background:url('images/play-dark2-w.png') no-repeat -405px center; }
484
+ .bigger5.wh .buttons_mp3jpause { background:url('images/stop-dark2-w.png') repeat-y 0px top; }
485
+ .bigger5.wh .buttons_mp3jpause:hover { background:url('images/stop-dark2-w.png') repeat-y -350px top; }
486
+ .bigger5.wh .vol_mp3j .ui-slider-handle, .bigger5.wh .vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-bw.png') no-repeat -10px bottom; }
487
+ .bigger5.wh .vol_mp3j .ui-slider-handle:hover, .bigger5.wh .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-w.png') no-repeat -257px bottom; }
488
+
489
+
490
+ /* ===== "smaller" ===== */
491
+ .smaller div.player-track-title { font:normal normal 500 11px/13px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; left:5px; right:5px; }
492
+ .smaller div.player-track-title span { font:normal normal 500 10px/10px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; padding:0; }
493
+ .smaller ul.UL-MI_mp3j li a, .smaller ul.UL-MI_mp3j li { font-size:10px !important; font-family:'verdana', Helvetica, sans-serif !important; line-height:13px !important; }
494
+
495
+
496
+ /* ===== outline ==== */
497
+ span.outline { font-size:14px; line-height:22px !important; margin:0 !important; }
498
+ .outline span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; background: transparent; }
499
+ .outline span.vol_mp3j { position:absolute; top:-9px; right:7px; width:85%; max-width:100px; height:2px; background: transparent; }
500
+ .outline span.buttons_mp3j { padding:2px 0px 3px 20px; background: transparent url('images/transport-outline.png') no-repeat -80px -2px; border:0; margin:0; }
501
+ .outline span.buttons_mp3j:hover { background:transparent url('images/transport-outline.png') no-repeat -80px -34px; }
502
+ .outline span.buttons_mp3jpause { padding:2px 0px 3px 20px; background: transparent url('images/transport-outline.png') no-repeat 1px -2px; border:0; margin:0; }
503
+ .outline span.buttons_mp3jpause:hover { background:transparent url('images/transport-outline.png') no-repeat 1px -34px; }
504
+ .outline span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
505
+ .outline span.posbarB_mp3j .ui-widget-header { z-index:-500; }
506
+ .outline span.posbarB_mp3j .ui-slider-handle { top: 0px; margin-left:0px; border:1px solid #aaa; height:23px; width:5px !important; z-index:500; background:url('images/t10b.png') repeat; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
507
+ .outline span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t20b.png') repeat; border-color:#777; }
508
+ .outline div.transport-MI div { background-image: url("images/transport-hardK.png"); }
509
+ .outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
510
+ .silver.outline div.transport-MI div { background-image: url("images/transport-hardZ.png"); }
511
+ .silver.outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
512
+
513
+ /* ===== wtransbars ==== */
514
+ .wtransbars div.loadMI_mp3j { background:#fff; opacity:0.1; filter:alpha(opacity=10); }
515
+ .wtransbars div.poscolMI_mp3j { background:#fff url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
516
+ .wtransbars div.player-track-title { color:#fff; }
517
+
518
+ /* ===== btransbars ==== */
519
+ .btransbars div.loadMI_mp3j { background:#000; opacity:0.1; filter:alpha(opacity=10); }
520
+ .btransbars div.poscolMI_mp3j { background:#000 url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
521
+ .btransbars div.player-track-title { color:#000; }
522
+
523
+
524
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
css/players-1-8-silver.css CHANGED
@@ -1,595 +1,562 @@
1
- /*
2
- MP3-jPlayer 1.8.1 - Silver
3
- www.sjward.org */
4
-
5
- /*---------------------
6
- [mp3-jplayer] SHORTCODE
7
- ==================================== */
8
-
9
- /* SKIN
10
- --------------- */
11
- /* MAIN WRAPPER (default class) */
12
- div.wrap-MI { border:0; margin:0; background:none; min-width:116px; /* position||float set in-line! */ /* width set in-line! */ }
13
-
14
- /* SUB WRAPPERS */
15
- div.jp-innerwrap, div.jp-interface, div.listwrap_mp3j, div.playlist-wrap-MI { position:relative !important; width:100%; border:0; margin:0; padding:0; }
16
- div.jp-innerwrap { background:none; }
17
- div.jp-interface { background:url('images/shadow-x.png') repeat-x left bottom; height:101px/*player default height*/; min-height:67px; cursor:default; }
18
- div.listwrap_mp3j { margin-top:0px; /* background set from admin */ }
19
-
20
- /* BACKGROUNDS */
21
- div.innerx, div.innerleft, div.innerright, div.innertab { position:absolute; }
22
- div.innerx { background:url('images/case-grad-x.png') repeat-x left -45px; width:auto; height:35px; left:0px; right:0px; bottom:3px; }
23
- div.innerleft { background:url('images/shadow-l.png') no-repeat left bottom; width:1px; height:40px; left:-1px; bottom:0px; }
24
- div.innerright { background:url('images/shadow-r.png') no-repeat right bottom; width:2px; height:40px; right:-2px; bottom:0px; }
25
- div.innertab { /* background and opacity set from admin */ left:0px; top:0px; width:100%; bottom:38px; }
26
-
27
- /* PLAYLIST
28
- ----------------- */
29
- div.playlist-colour { position:absolute; width:100%; height:100%; left:0px; top:0px; /* background set from admin */ /* opacity set from admin */ }
30
- div.playlist-wrap-MI ul { position:static; }
31
- ul.UL-MI_mp3j { margin:0px !important; padding:0px 0px 0px 0px !important; list-style-type:none !important; list-style:none !important; list-style-image:none !important; font-weight: 500 !important; /* background set from admin */ }
32
- ul.UL-MI_mp3j li { margin:0px !important; padding:0px 0px 1px 0px !important; font-weight:500 !important; line-height:15px !important; letter-spacing:0px !important; font-size:11px !important; word-spacing:0px !important; margin:0px 1px 0px 1px !important; list-style-type:none !important; }
33
- ul.UL-MI_mp3j li:before { content:none !important; }
34
- ul.UL-MI_mp3j li a { font-size:11px !important; border:0 !important; line-height:15px !important; font-weight:500 !important; text-decoration:none !important; display:block !important; width:auto !important; font-family:'verdana', 'Lucida Grande', 'arial', sans-serif !important; outline:none !important; padding:6px 0px 6px 14px !important; }
35
-
36
-
37
- /* SCREEN
38
- ----------------- */
39
- div.player-track-title, div.jp-play-time, div.jp-total-time, div.statusMI { position:absolute; z-index:50; /* color set from admin */ font:normal normal 500 14px/16px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
40
-
41
- div.player-track-title { top:7px; left:9px; width:auto; right:10px; }
42
- div.player-track-title span { font-size:10px; line-height:12px; padding-left:10px; max-width:95%; }
43
-
44
- div.jp-play-time, div.jp-total-time, div.statusMI { font-size:8px; line-height:10px !important; bottom:42px; text-align:left; font-family:Verdana, Arial, Helvetica, sans-serif; }
45
- div.jp-play-time { right:84px; }
46
- div.jp-total-time { right:6px; opacity:0.8; width:auto; }
47
-
48
- span.mp3-finding, span.Smp3-finding, span.mp3-tint, span.mp3-gtint { padding:0px 0px 0px 6px !important; font-size:8px !important; line-height:10px !important; height:10px !important; overflow:hidden !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
49
- span.mp3-finding, span.Smp3-finding { margin:0px 0px 0px -2px; background:url('images/finding-bar1f.gif') repeat 0px 3px; }
50
- span.mp3-tint { margin:0px 2px 0px -6px; opacity:.5; filter:alpha(opacity=50); /* background set from admin */ }
51
- span.mp3-gtint { margin:0px 2px 0px -6px; opacity:.5; filter:alpha(opacity=50); background:#777; }
52
- span.Smp3-finding { margin:0px 0px 0px 3px; }
53
- span.tintmarg { margin:0 2px 0 3px; }
54
-
55
- div.statusMI { right:27px; width:52px !important; height:10px; }
56
- .statusMI span.mp3-finding, .statusMI span.Smp3-finding, .statusMI span.mp3-tint, .statusMI span.mp3-gtint { padding:0px 0px 0px 6px !important; }
57
- .statusMI span.mp3-tint, .statusMI span.mp3-gtint { margin:0px 2px 0px -6px; }
58
-
59
- .MI-image { position:absolute; top:0; left:0; padding:0; }
60
- .MI-image img { border:none; padding:0px; background-color:#bbb; }
61
- .MI-image a:hover img { /* background-colour set from admin */ }
62
-
63
-
64
- /* BUTTONS
65
- ----------------- */
66
- /* TRANSPORT BUTTONS */
67
- div.transport-MI { position:absolute; width:auto; height:37px; right:2px; bottom:0px; border:0; }
68
- div.transport-MI div { background-image: url("images/transport-hardW-shiny.png"); text-indent:-9999px !important; float:right; }
69
- /* play */
70
- div.buttons_mp3j { width:30px; height:32px; margin:1px 0px 0px 0px; background-position:-110px 0px; }
71
- div.buttons_mp3j:hover { background-position:-110px -32px; }
72
- /* pause */
73
- div.buttons_mp3jpause { width:30px; height:32px; margin:1px 0px 0px 0px; background-position:-2px 0px; }
74
- div.buttons_mp3jpause:hover { background-position:-2px -32px; }
75
- /* prev n next */
76
- div.Prev_mp3j { width:22px; height:28px; margin:1px 4px 0px 0px; background-position:-32px -1px; }
77
- div.Prev_mp3j:hover { background-position:-32px -33px; }
78
- div.Next_mp3j { width:19px; height:28px; margin:1px 3px 0px 0px; background-position:-57px -1px; }
79
- div.Next_mp3j:hover { background-position:-57px -33px; }
80
- /* stop */
81
- div.stop_mp3j { width:26px; height:32px; margin:1px 3px 0px 0px; background-position:-81px 0px; }
82
- div.stop_mp3j:hover { background-position:-81px -32px; }
83
-
84
- /* PLAYLIST TOGGLE */
85
- div.playlist-toggle-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif; bottom:4px; left:1px; color:#707070; padding:2px 6px 2px 5px; line-height:9px; min-width:24px; background:#bcbcbc; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; cursor:default; }
86
- div.playlist-toggle-MI:hover { background:#c6c6c6; color:#777; }
87
-
88
- /* DOWNLOAD BUTTON */
89
- div.dloadmp3-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; bottom:39px; margin:0px !important; font-size:9px !important; text-align:center; left:0px; width:41%; min-width:75px; max-width:425px; padding:0px 0px 0px 0px !important; border:0px; background:transparent url('images/t10b.png') repeat left top !important; color:#fff; line-height:11px !important; -moz-border-radius-topright:3px; -webkit-border-top-right-radius:3px; overflow:hidden; z-index:150; cursor:default; }
90
- div.dloadmp3-MI.whilelinks, div.dloadmp3-MI.logintext { background:transparent url('images/t50b.png') repeat left top !important; }
91
- div.dloadmp3-MI.whilelinks:hover { background:transparent url('images/t40b.png') repeat left top !important; }
92
- div.dloadmp3-MI a { color:#ececec; display:block; width:auto; padding:1px 5px 2px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; height:100%; border-bottom:none; visibility:hidden; }
93
- div.dloadmp3-MI a:hover { outline: none; border-bottom: none; color: #ececec; }
94
- div.dloadmp3-MI.whilelinks a { color: #f3f3f3; visibility: inherit; }
95
- div.dloadmp3-MI.whilelinks a:hover { color: #fff; }
96
- div.dloadmp3-MI p { color:#ececec; display:block; width:auto; padding:1px 5px 2px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; height:100%; border-bottom:none; visibility:visible; }
97
-
98
- /* POPOUT BUTTON */
99
- div.mp3j-popout-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif; bottom:17px; left:0px; height:16px; color:#6c6c6c; padding:3px 5px 0px 28px; min-width:2px; line-height:11px; border:1px solid #b2b2b2; background-color:#aaa; background-image:url('images/buttons-popoutE.png'); background-repeat:no-repeat; background-position:-8px -65px; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; cursor:default; }
100
- div.mp3j-popout-MI:hover { color:#606060; background-position:-8px -95px; }
101
-
102
- /* BARS
103
- ----------------- */
104
- .ui-state-disabled { cursor:default !important; }
105
- .ui-slider { position:relative; text-align:left; }
106
- .ui-slider .ui-slider-handle { position:absolute; z-index:200; cursor:default; }
107
- .ui-slider .ui-slider-range { position:absolute; z-index:1; font-size:.7em; display:block; border:0; }
108
- .ui-slider-horizontal .ui-slider-range { top:0; height:100%; }
109
- .ui-slider-horizontal .ui-slider-range-min { left:0; }
110
- .ui-slider-horizontal .ui-slider-range-max { right:0; }
111
- .ui-state-default, .ui-widget-content .ui-state-default { outline:none; border:0px; }
112
-
113
- /* VOLUME */
114
- div.MIsliderVolume { position:absolute; top:0px; right:4px; width:108px; height:4px !important; background:transparent; border:0px; font-size:1px; cursor:default; z-index:150; }
115
- div.MIsliderVolume .ui-widget-header { /* background set from admin */ }
116
- div.MIsliderVolume .ui-slider-handle { border:0px; height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; top:-3px; border:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; background:transparent url('images/vol-handle.png') no-repeat -1px 0px; z-index:150; overflow:hidden !important; cursor:default; }
117
- div.MIsliderVolume .ui-slider-handle:hover { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; }
118
- div.MIsliderVolume .ui-state-active, div.MIsliderVolume .ui-widget-content .ui-state-active { border:0px; background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; }
119
-
120
- /* LOADER AND POS SLIDER */
121
- div.bars_holder, div.loadMI_mp3j, div.poscolMI_mp3j, div.posbarMI_mp3j { position:absolute; top:0px; left:0px; }
122
- div.bars_holder { right:0; width:100%; bottom:38px; font-size:1px; cursor:default; background:transparent url('images/t60w.png') repeat-x left bottom;/* 1px highlight top of control bar */ }
123
- div.loadMI_mp3j { bottom:1px; /* background set from admin */ /* opacity set from admin */ }
124
- div.poscolMI_mp3j { bottom:1px; /* background set from admin */ /* opacity set from admin */ }
125
- div.bars_holder .ui-widget-header, div.bars_holder .ui-widget-content { border:0px !important; background:none; }
126
- div.bars_holder .ui-slider-horizontal { top:0px; bottom:1px; height:auto; z-index:90; }
127
- div.posbarMI_mp3j { bottom:1px; width:100%; }
128
- div.posbarMI_mp3j .ui-slider-handle { top:-6px; margin-left:-1px !important; border:0; bottom:-2px; width:2px !important; z-index:100; background:none; cursor:default ; padding:0px !important; }
129
- div.posbarMI_mp3j .ui-slider-handle:hover { background:none; z-index:100; }
130
-
131
-
132
- /* FORCED DOWNLOAD FRAME
133
- ------------------------ */
134
-
135
- div.mp3j-dlframe, iframe.mp3j-dlframe {
136
- border:0px solid #ddd;
137
- width:1px;
138
- height:1px;
139
- overflow:hidden;
140
- margin:0;
141
- padding:0;
142
- display:none !important;
143
- }
144
-
145
- /* MESSAGES */
146
- div.mp3j-finfo {
147
- position:absolute;
148
- top:36px;
149
- z-index:9999 !important;
150
- width:80%;
151
- left:10%;
152
- -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
153
- background:url('images/fdloadW-x.png') repeat-x left top;
154
- -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
155
- padding:0;
156
- min-height:31px;
157
- overflow:hidden;
158
- min-width:170px;
159
- }
160
-
161
- div.mp3j-finfo * { font-family:Arial, Helvetica, sans-serif !important; }
162
- div.mp3j-finfo-sleeve { position:relative !important; width:100%; height:100%; }
163
- div.mp3j-finfo-gif { position:absolute !important; top:0; left:0; right:10%; bottom:0; background:url('images/loader.gif') no-repeat center 37px; width:auto; padding:0px; height:100%; }
164
- div.mp3j-finfo-txt { position:relative !important; margin:0px 15px 0 15px !important; padding:10px 0 10px 0 !important; width:auto; }
165
- div.mp3j-finfo-close { position:absolute !important; width:31px !important; height:27px !important; padding-top:5px !important; right:0 !important; top:0 !important; text-align:center !important; font-weight:700 !important; font-size:18px !important; line-height:22px !important; color:#aaa !important; border-bottom:1px solid #ccc !important; border-left:1px solid #ccc !important; background:url('images/t40w.png') repeat left top !important; }
166
- div.mp3j-finfo-close:hover { color:#888 !important; }
167
-
168
- div.mp3j-finfo-txt h2 { font-size:15px !important; color:#333 !important; margin:0 0 10px 0 !important; }
169
- div.mp3j-finfo-txt h3 { font-size:14px !important; color:#333 !important; margin:0 0 15px 0 !important; }
170
- div.mp3j-finfo-txt p { font-size:11px !important; color:#555 !important; line-height:13px !important; margin:0 0 5px 0; }
171
- div.mp3j-finfo-txt a { }
172
-
173
-
174
- /* backwards compat
175
- ------------------- */
176
- div.player-track-title.mp3j_widgetmods { font-size: 11px; top: 7px; left:5px; }
177
- div.player-track-title.mp3j_widgetmods span { font-size: 9px; }
178
- ul.UL-MI_mp3j.mp3j_widgetmods li { font-size:10px !important; line-height:14px !important; }
179
- ul.UL-MI_mp3j.mp3j_widgetmods li a { font-size:10px !important; line-height:14px !important; }
180
-
181
-
182
-
183
-
184
-
185
- .mp3j-nosolution
186
- {
187
- position:absolute;
188
- z-index:9999;
189
- height:auto;
190
- padding:5%;
191
- border:1px solid #c0c0c0;
192
- background:#f0f0f0;
193
- color:#333;
194
- top:4px;
195
- left:4px;
196
- right:4px;
197
- -webkit-border-top-left-radius: 8px;
198
- -webkit-border-top-right-radius: 8px;
199
- -moz-border-radius-topleft: 8px;
200
- -moz-border-radius-topright: 8px;
201
- border-top-left-radius: 8px;
202
- border-top-right-radius: 8px;
203
- font-size:13px;
204
- -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
205
- }
206
-
207
- .s-nosolution
208
- {
209
- }
210
-
211
-
212
-
213
-
214
-
215
- /*-------------------------
216
- [mp3j] & [mp3t] SHORTCODES
217
- ==================================== */
218
- span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
219
- /*span.wrap_inline_mp3j:hover .buttons_mp3j { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }*/
220
- span.indi_mp3j { position:relative; padding-left:2px; font-size: 0.7em !important; }
221
-
222
- /* BARS */
223
- span.bars_mp3j { position:absolute; width:100%; height:100%; }
224
- span.load_mp3j, span.loadB_mp3j { position:absolute; /* background set from admin */ top:20px; left:0px; height:2px; }
225
- /* mp3t */
226
- span.posbar_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
227
- span.posbar_mp3j .ui-widget-header { z-index:-500; }
228
- span.posbar_mp3j .ui-slider-handle { top: 2px; margin-left:-2px; border:1px solid #999; height:21px; width:4px; z-index:500; background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
229
- span.posbar_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y -0px 0px; border-color:#aaa; }
230
-
231
- /* mp3j */
232
- span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0; z-index:450; cursor:pointer; }
233
- span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:450; height:100%; }
234
- span.posbarB_mp3j .ui-slider-handle { top: 0px; margin-left:-6px !important; border:0px solid #888; height:23px; width:12px !important; z-index: 500; background: transparent url('images/inlineHandle2.png') no-repeat -3px -3px; cursor: default; padding:0px !important; }
235
- span.posbarB_mp3j .ui-slider-handle:hover { background: transparent url('images/inlineHandle2.png') no-repeat -3px -33px; }
236
-
237
- /* SPAN TRANSPORT */
238
- span.group_wrap { position:relative; margin:0px 0px 0px 0px; width:auto; }
239
- span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; margin:0px; padding:0px !important; }
240
- span.buttons_mp3j { position:relative; margin:0px; padding:2px 0px 3px 20px !important; background: transparent url('images/transport-shard-B.png') no-repeat -80px -3px; }
241
- span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }
242
- span.buttons_mp3jpause { position:relative; margin:0px; padding:2px 0px 3px 20px !important; background: transparent url('images/transport-shard-B.png') no-repeat -2px -3px; }
243
- span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -35px; }
244
-
245
- /* VOLUMES */
246
- span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; }
247
- span.vol_mp3j { position:absolute; top:-9px; right:6px; width:85%; max-width:100px; height:2px; }
248
- span.vol_mp3j.flipped { right:4px; }
249
- span.vol_mp3t .ui-widget-header, span.vol_mp3j .ui-widget-header { background: transparent url('images/vol-grad60b2.png') repeat left top; z-index:500; height:100%; }
250
- span.vol_mp3t .ui-slider-handle, span.vol_mp3j .ui-slider-handle { height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; border:0px !important; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; z-index:600; overflow:hidden !important; cursor:default; top:-6px; background: transparent url('images/vol-handle.png') no-repeat -1px 0px; }
251
- span.vol_mp3t .ui-slider-handle:hover, span.vol_mp3j .ui-slider-handle:hover { background: transparent url('images/vol-handle.png') no-repeat -21px 0px; }
252
- span.vol_mp3t .ui-state-active, span.vol_mp3t .ui-widget-content .ui-state-active, span.vol_mp3j .ui-state-active, span.vol_mp3j .ui-widget-content .ui-state-active { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; border:0px; }
253
-
254
-
255
-
256
- /*----------------------
257
- [mp3j-popout] SHORTCODE
258
- ================================================= */
259
- .mp3j-popout-link-wrap { cursor:pointer; position:relative; clear:left; }
260
- .mp3j-popout-link { float:left; margin:0 5px 0 0; min-width:22px; min-height:18px; background:url('images/buttons-popout.png') no-repeat -10px -65px; }
261
- .mp3j-popout-link-wrap:hover .mp3j-popout-link { background:url('images/buttons-popout.png') no-repeat -10px -95px; }
262
-
263
-
264
-
265
- /*=================================================
266
-
267
- MODS
268
- (via 'style' param in shortcode)
269
- ================================================= */
270
-
271
- /* ===== "dark" ===== */
272
- .dark .innerx { background-position:left -119px; }
273
- .dark .transport-MI { height:38px; }
274
- .dark .transport-MI div { background-image:url("images/transport-darkbg-trans2.png"); }
275
- .dark .bars_holder { background:url('images/t40b.png') repeat-x left bottom; }
276
- .dark .mp3j-popout-MI { color:#a2a2a2; background-position:-8px -6px; border-color:#585858; background-color:#aaa; }
277
- .dark .mp3j-popout-MI:hover { color:#aaa; background-position:-8px -36px; }
278
- .dark div.playlist-toggle-MI { background:#505050; color:#a2a2a2; }
279
- .dark div.playlist-toggle-MI:hover { background:#585858; color:#aaa; }
280
- .dark .MI-image img { background-color:#777; }
281
-
282
- .dark div.mp3j-finfo { background:url('images/fdloadB-x.png') repeat-x left top; }
283
- .dark div.mp3j-finfo-gif { background:url('images/loader-w2.gif') no-repeat center 37px; }
284
- .dark div.mp3j-finfo-close { color:#999 !important; border-bottom:1px solid #777 !important; border-left:1px solid #777 !important; background:url('images/t40b.png') repeat left top !important; }
285
- .dark div.mp3j-finfo-close:hover { color:#eee !important; }
286
- .dark div.mp3j-finfo-txt h2 { color:#fff !important; }
287
- .dark div.mp3j-finfo-txt h3 { color:#fff !important; }
288
- .dark div.mp3j-finfo-txt p { color:#fff !important; }
289
-
290
-
291
- /* ===== "text" ===== */
292
- div.wrap-MI.text { /*min-width:300px;*/ }
293
- .text div.innerx, .text div.innerleft, .text div.innerright { position: absolute; visibility: hidden; }
294
- .text div.innertab { bottom: 38px; }
295
- .text div.jp-interface { background:none; }
296
- .text div.player-track-title { font:normal normal 500 16px/18px 'trebuchet ms', Arial, sans-serif; }
297
- .text div.player-track-title span { font:italic normal 500 12px/14px 'trebuchet ms', Arial, sans-serif; opacity:0.7; filter:alpha(opacity=70); }
298
- .text div.jp-play-time, .text div.jp-total-time, .text div.statusMI { bottom:20px; font-size:11px; font-family: 'trebuchet ms', Arial, sans-serif; }
299
- .text div.jp-play-time { width:37px; left:0px; opacity:0.6; filter:alpha(opacity=60); }
300
- .text div.jp-total-time { width:37px; left:100px; display:none; }
301
- .text div.statusMI { left:37px; width:70px !important; }
302
- .text div.transport-MI { height:26px; right:2px; bottom:12px; }
303
- .text div.transport-MI div { font-family: 'trebuchet ms', Arial, sans-serif; font-weight:700; overflow:hidden !important; background:none !important; white-space:nowrap !important; }
304
- .text div.buttons_mp3j { text-indent:4px !important; width:32px; overflow:hidden !important; height: 25px; margin:0 6px 0 0px; background:none !important; line-height:25px !important; font-size:14px; }
305
- .text div.buttons_mp3jpause { text-indent:-29px !important; width:38px; overflow:hidden !important; height: 25px; margin:0 -3px 0 3px; background:none !important; line-height:25px !important; font-size:14px; }
306
- .text div.Prev_mp3j, .text div.Next_mp3j { text-indent:0px !important; height:23px; line-height:23px !important; font-size:12px; width:36px; margin:2px 0px 0px 0px; }
307
- .text div.stop_mp3j { text-indent:0px !important; width:31px; height:25px; margin:0px 0px 0px 4px; line-height:25px !important; font-size:14px; }
308
- .text div.playlist-toggle-MI { bottom: 7px; font-family:'trebuchet ms', Arial, sans-serif; background:none; padding:0; opacity:0.6; filter:alpha(opacity=60); }
309
- .text div.playlist-toggle-MI:hover { opacity:1.0; filter:alpha(opacity=100); }
310
- .text div.dloadmp3-MI { font-size:11px; bottom: 6px; height:auto; right:0px !important; left:auto; margin:0; font-family: 'trebuchet ms', Arial, sans-serif; text-align:right; background:none !important; }
311
- .text div.dloadmp3-MI a { color:#888; font-size:inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
312
- .text div.dloadmp3-MI a:hover { color:#555; background:none !important; }
313
- .text div.dloadmp3-MI.betweenlinks a { display:none; background:none !important; }
314
- .text div.dloadmp3-MI.whilelinks a { display:block; background:none !important; }
315
- .text div.dloadmp3-MI.whilelinks a:hover { text-decoration:none; background:none !important; }
316
- .text div.dloadmp3-MI p { font-size: inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
317
- .text div.mp3j-popout-MI { color:#888; font:normal normal 500 11px 'trebuchet ms', 'arial', sans-serif; bottom:15px; right:155px; left:auto; width:auto; opacity:1; filter:alpha(opacity=100); padding:0px; line-height:12px; border:0; background:none; cursor:default; z-index:500; }
318
- .text div.mp3j-popout-MI:hover { color:#555; opacity:1.0; filter:alpha(opacity=100); }
319
- .text div.MIsliderVolume { position:absolute; bottom:38px; top:auto; right:4px; width:108px !important; height:1px !important; background:transparent; border:0px; font-size:1px; cursor:default; z-index:150; }
320
- .text div.MIsliderVolume .ui-slider-handle, .text div.vol_mp3j .ui-slider-handle { height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; top:-7px; border:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; background:transparent url('images/vol-handle.png') no-repeat -41px 0px; z-index:150; overflow:hidden !important; cursor:default; }
321
- .text div.MIsliderVolume .ui-slider-handle:hover, .text div.vol_mp3j .ui-slider-handle:hover { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; }
322
- .text div.MIsliderVolume .ui-state-active, .text div.MIsliderVolume .ui-widget-content .ui-state-active, .text div.vol_mp3j .ui-state-active, .text div.vol_mp3j .ui-widget-content .ui-state-active { border:0px; background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; }
323
- .text div.dloadmp3-MI.whilelinks, .text div.dloadmp3-MI.logintext { background:none !important; }
324
-
325
-
326
- /* ===== "noscreen" ===== */
327
- .noscreen div.jp-interface { height:44px; min-height:44px; }
328
- .noscreen div.player-track-title { display:none; }
329
- .noscreen div.bars_holder { top:auto; bottom:0px; height:7px; }
330
- .noscreen div.innertab { bottom: 0px; top:0; display:none; }
331
- .noscreen div.dloadmp3-MI { bottom: 11px; }
332
- .noscreen div.transport-MI { bottom:17px; }
333
- .noscreen div.jp-play-time, .noscreen div.jp-total-time, .noscreen div.statusMI { bottom:25px; }
334
- .noscreen div.playlist-toggle-MI { bottom: 12px; }
335
- .noscreen div.mp3j-popout-MI { bottom: 20px; }
336
- .noscreen div.MIsliderVolume { bottom: 43px; }
337
- .noscreen div.MIsliderVolume .ui-widget-header { background:transparent url('images/vol-grad60b2.png') repeat-y 0px top; }
338
- .noscreen div.MIsliderVolume .ui-slider-handle { top:-6px; }
339
- .noscreen h2 { margin:0 !important; padding:0 0 0px 0 !important; }
340
- .noscreen div.posbarMI_mp3j .ui-slider-handle { top:-5px; margin-left:-7px !important; border:0; bottom:-5px; width:14px !important; z-index:100; background:none; border:none; cursor:default ; padding:0px !important; }
341
- .noscreen div.posbarMI_mp3j .ui-slider-handle:hover { background:none; border:none; }
342
- .noscreen .MI-image { top:15px; }
343
-
344
-
345
- /* ===== "nolistbutton" ===== */
346
- .nolistbutton div.playlist-toggle-MI { visibility:hidden; }
347
-
348
- /* ===== "nopopoutbutton" ===== */
349
- .nopopoutbutton div.mp3j-popout-MI { display:none; }
350
-
351
- /* ===== "nopn" ===== */
352
- .nopn div.Prev_mp3j { display:none; }
353
- .nopn div.Next_mp3j { display:none; }
354
-
355
- /* ===== "nostop" ===== */
356
- .nostop div.stop_mp3j { display:none; }
357
-
358
-
359
- /* ===== "bars100" ===== */
360
- .bars100 div.player-track-title { left:112px; }
361
- .bars100 div.dloadmp3-MI { left:102px; width:36%;}
362
- .bars100 div.bars_holder { left:102px; width:auto; }
363
- .bars100 .MI-image img { padding:1px; }
364
- .bars100 div.player-track-title { top:20px; }
365
-
366
- /* ===== "bars150" ===== */
367
- .bars150 div.player-track-title { left:162px; }
368
- .bars150 div.dloadmp3-MI { left:152px; width:33%;}
369
- .bars150 div.bars_holder { left:152px; width:auto; }
370
- .bars150 .MI-image img { padding:1px; }
371
- .bars150 div.player-track-title { top:20px; }
372
-
373
- /* ===== "bars200" ===== */
374
- .bars200 div.player-track-title { left:212px; }
375
- .bars200 div.dloadmp3-MI { left:202px; width:30%; }
376
- .bars200 div.bars_holder { left:202px; width:auto; }
377
- .bars200 .MI-image img { padding:1px; }
378
- .bars200 div.player-track-title { top:20px; }
379
-
380
- /* ===== "bars250" ===== */
381
- .bars250 div.player-track-title { left:262px; }
382
- .bars250 div.dloadmp3-MI { left:252px; width:27%;}
383
- .bars250 div.bars_holder { left:252px; width:auto; }
384
- .bars250 .MI-image img { padding:1px; }
385
- .bars250 div.player-track-title { top:20px; }
386
-
387
- /* ===== "bars300" ===== */
388
- .bars300 div.player-track-title { left:312px; }
389
- .bars300 div.dloadmp3-MI { left:302px; width:24%; }
390
- .bars300 div.bars_holder { left:302px; width:auto; }
391
- .bars300 .MI-image img { padding:1px; }
392
- .bars300 div.player-track-title { top:20px; }
393
-
394
- /* ===== "bars350" ===== */
395
- .bars350 div.player-track-title { left:362px; }
396
- .bars350 div.dloadmp3-MI { left:352px; width:21%;}
397
- .bars350 div.bars_holder { left:352px; width:auto; }
398
- .bars350 .MI-image img { padding:1px; }
399
- .bars350 div.player-track-title { top:20px; }
400
-
401
- /* ===== "bars400" ===== */
402
- .bars400 div.player-track-title { left:412px; }
403
- .bars400 div.dloadmp3-MI { left:402px; width:18%; }
404
- .bars400 div.bars_holder { left:402px; width:auto; }
405
- .bars400 .MI-image img { padding:1px; }
406
- .bars400 div.player-track-title { top:20px; }
407
-
408
- /* ===== bigger1 ===== */
409
- .bigger1 { font-size:18px; line-height:26px !important; margin:0 !important; }
410
- .bigger1 span.load_mp3j,
411
- .bigger1 span.loadB_mp3j { top:24px; left:0px; height:2px; }
412
- .bigger1 span.posbar_mp3j .ui-slider-handle { top: 3px; height:24px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
413
- .bigger1 span.posbarB_mp3j .ui-slider-handle { top: 3px; margin-left:-3px !important; border:1px solid #999; height:24px; width:6px !important; z-index:500; background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
414
- .bigger1 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; border-color:#aaa; }
415
- .bigger1 span.buttons_mp3j { position:relative; margin:0px; margin-left:5px !important; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -80px 0px; }
416
- .bigger1 span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -32px; }
417
- .bigger1 span.buttons_mp3jpause { position:relative; margin:0px; margin-left:5px !important; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -2px 0px; }
418
- .bigger1 span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -32px; }
419
- .bigger1 span.vol_mp3j { position:absolute; top:-6px; right:7px; width:85%; max-width:100px; height:2px; }
420
-
421
- .bigger1 div.player-track-title { font:normal normal 500 18px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
422
- .bigger1 div.player-track-title span { font:normal normal 500 14px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
423
- .bigger1 ul.UL-MI_mp3j li a, .bigger1 ul.UL-MI_mp3j li { font-size:16px !important; line-height:19px !important; }
424
- .bigger1 .indi_mp3j { font-size: 0.6em !important; }
425
-
426
- /* ===== "bigger2" ===== */
427
- .bigger2 div.player-track-title { font:normal normal 500 36px/38px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
428
- .bigger2 div.player-track-title span { font:normal normal 500 20px/22px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
429
- .bigger2 ul.UL-MI_mp3j li a, .bigger2 ul.UL-MI_mp3j li { font-size:20px !important; line-height:24px !important; }
430
- .bigger2 { font-size:23px; line-height:25px !important; margin:0 !important; }
431
- .bigger2 span.load_mp3j,
432
- .bigger2 span.loadB_mp3j { top:26px; left:0px; height:2px; }
433
- .bigger2 span.posbar_mp3j .ui-slider-handle { top: 0px; height:28px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
434
- .bigger2 span.posbarB_mp3j .ui-slider-handle { top: -1px; margin-left:-3px !important; border:1px solid #999; height:29px; width:8px !important; z-index:500; border-color:#aaa; background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
435
- .bigger2 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; border-color:#999; }
436
- .bigger2 span.buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 4px 20px !important; background:url('images/play-dark2-b.png') no-repeat -186px center; border:0px solid #bbb; margin-left:10px; }
437
- .bigger2 span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -437px center; }
438
- .bigger2 span.buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:0px 0px 2px 20px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
439
- .bigger2 span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
440
- .bigger2 span.vol_mp3j { position:absolute; top:-12px; right:4px; width:85%; max-width:100px; height:2px; }
441
- .bigger2 span.vol_mp3t { position:absolute; top:-10px; width:85%; max-width:100px; height:2px; }
442
- .bigger2 .Smp3-finding,
443
- .bigger2 .mp3-tint,
444
- .bigger2 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 10px !important; font-size:12px !important; line-height:12px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
445
- .bigger2 .mp3-gtint { margin:0 6px 0 -16px; }
446
- .bigger2 .indi_mp3j { font-size: 0.5em !important; padding-left:0px; }
447
-
448
- .bigger2.wh .buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 4px 20px !important; background:url('images/play-dark2-w.png') no-repeat -186px center; border:0px solid #bbb; margin-left:10px; }
449
- .bigger2.wh .buttons_mp3j:hover { background:url('images/play-dark2-w.png') no-repeat -437px center; }
450
- .bigger2.wh .buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:0px 0px 2px 20px !important; background:url('images/stop-dark2-w.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
451
- .bigger2.wh .buttons_mp3jpause:hover { background:url('images/stop-dark2-w.png') repeat-y -350px top; }
452
-
453
-
454
-
455
- /* ===== bigger3 ===== */
456
- .bigger3 { font-size:28px; line-height:36px !important; margin:0 !important; }
457
- .bigger3 .load_mp3j, .bigger3 .loadB_mp3j { top:37px; left:0px; height:3px; }
458
- .bigger3 .posbar_mp3j .ui-slider-handle, .bigger3 .posbarB_mp3j .ui-slider-handle { top: 0px; border:1px solid #bbb; height:40px; width:12px !important; margin-left:-5px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
459
- .bigger3 .posbar_mp3j .ui-slider-handle:hover, .bigger3 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y 0px top; border:1px solid #aaa; }
460
- .bigger3 .indi_mp3j { font-size: 0.5em !important; }
461
- .bigger3 span.buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:8px 0px 12px 30px !important; background:url('images/play-dark2.png') no-repeat -177px center; border:0px solid #bbb; margin-left:12px; }
462
- .bigger3 span.buttons_mp3j:hover { background:url('images/play-dark2.png') no-repeat -428px center; }
463
- .bigger3 span.buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 6px 30px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:12px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
464
- .bigger3 span.buttons_mp3jpause:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
465
- .bigger3 .vol_mp3j { height:1px; max-width:110px; right:64px; top:-8px; }
466
- .bigger3 .vol_mp3t { height:1px; max-width:110px; right:16px; top:-5px; }
467
- .bigger3 .vol_mp3j .ui-slider-handle, .bigger3 .vol_mp3t .ui-slider-handle { height:14px !important; width:33px !important; margin-left:-16px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-14px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
468
- .bigger3 .vol_mp3j .ui-slider-handle:hover, .bigger3 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
469
- .bigger3 .Smp3-finding,
470
- .bigger3 .mp3-tint,
471
- .bigger3 .mp3-gtint { margin-left:8px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
472
- .bigger3 .mp3-gtint { margin:0 2px 0 -14px; }
473
- .bigger3 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
474
- .bigger3 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
475
- .bigger3 ul.UL-MI_mp3j li a, .bigger3 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
476
-
477
- .bigger3.bl span.buttons_mp3j { background:url('images/play-dark2-b.png') no-repeat -177px center; }
478
- .bigger3.bl span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -428px center; }
479
- .bigger3.bl span.buttons_mp3jpause { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
480
- .bigger3.bl span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
481
- .bigger3.bl span.vol_mp3j .ui-slider-handle, .bigger3.bl span.vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
482
- .bigger3.bl span.vol_mp3j .ui-slider-handle:hover, .bigger3.bl span.vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
483
-
484
-
485
-
486
- /* ===== bigger4 ===== */
487
- .bigger4 { font-size:38px; line-height:46px !important; margin:0 !important; }
488
- .bigger4 .load_mp3j, .bigger4 .loadB_mp3j { top:46px; left:0px; height:3px; }
489
- .bigger4 .posbar_mp3j .ui-slider-handle, .bigger4 .posbarB_mp3j .ui-slider-handle { top: -2px; border:1px solid #bbb; height:52px; width:16px !important; margin-left:-8px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
490
- .bigger4 .posbar_mp3j .ui-slider-handle:hover, .bigger4 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y 0px top; border:1px solid #aaa; }
491
- .bigger4 .indi_mp3j { font-size: 0.5em !important; }
492
- .bigger4 span.buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:8px 0px 12px 40px !important; background:url('images/play-dark2.png') no-repeat -167px center; border:0px solid #bbb; margin-left:15px; }
493
- .bigger4 span.buttons_mp3j:hover { background:url('images/play-dark2.png') no-repeat -418px center; }
494
- .bigger4 span.buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 4px 40px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:15px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
495
- .bigger4 span.buttons_mp3jpause:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
496
- .bigger4 .vol_mp3j { height:1px; max-width:110px; right:86px; top:-8px; }
497
- .bigger4 .vol_mp3t { height:1px; max-width:110px; right:20px; top:-5px; }
498
- .bigger4 .vol_mp3j .ui-slider-handle, .bigger4 .vol_mp3t .ui-slider-handle { height:20px !important; width:43px !important; margin-left:-21px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-20px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
499
- .bigger4 .vol_mp3j .ui-slider-handle:hover, .bigger4 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
500
- .bigger4 .Smp3-finding,
501
- .bigger4 .mp3-tint,
502
- .bigger4 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
503
- .bigger4 .mp3-gtint { margin:0 6px 0 -20px; }
504
-
505
- .bigger4 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
506
- .bigger4 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
507
- .bigger4 ul.UL-MI_mp3j li a, .bigger4 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
508
-
509
- .bigger4.bl .posbar_mp3j .ui-slider-handle, .bigger4.bl .posbarB_mp3j .ui-slider-handle { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
510
- .bigger4.bl .posbar_mp3j .ui-slider-handle:hover, .bigger4.bl .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
511
- .bigger4.bl .buttons_mp3j { background:url('images/play-dark2-b.png') no-repeat -167px center; }
512
- .bigger4.bl .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -418px center; }
513
- .bigger4.bl .buttons_mp3jpause { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
514
- .bigger4.bl .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
515
- .bigger4.bl .vol_mp3j .ui-slider-handle, .bigger4.bl .vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
516
- .bigger4.bl .vol_mp3j .ui-slider-handle:hover, .bigger4.bl .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
517
-
518
-
519
-
520
- /* ===== bigger5 ===== */
521
- .bigger5 { font-size:48px; line-height:60px !important; margin:0 !important; }
522
- .bigger5 .load_mp3j, .bigger5 .loadB_mp3j { top:63px; left:0px; height:4px; }
523
- .bigger5 .posbar_mp3j .ui-slider-handle, .bigger5 .posbarB_mp3j .ui-slider-handle { top: -1px; border:1px solid #bbb; height:69px; width:20px !important; margin-left:-10px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
524
- .bigger5 .posbar_mp3j .ui-slider-handle:hover, .bigger5 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y 0px top; border:1px solid #aaa; }
525
- .bigger5 .indi_mp3j { font-size: 0.5em !important; }
526
- .bigger5 span.buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:8px 0px 13px 52px !important; background:url('images/play-dark2.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
527
- .bigger5 span.buttons_mp3j:hover { background:url('images/play-dark2.png') no-repeat -405px center; }
528
- .bigger5 span.buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:3px 0px 8px 52px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:15px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
529
- .bigger5 span.buttons_mp3jpause:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
530
- .bigger5 .vol_mp3j { height:1px; max-width:170px; right:115px; top:-10px; }
531
- .bigger5 .vol_mp3t { height:1px; max-width:170px; right:33px; top:-5px; }
532
- .bigger5 .vol_mp3j .ui-slider-handle, .bigger5 .vol_mp3t .ui-slider-handle { height:30px !important; width:55px !important; margin-left:-21px; border-bottom:1px solid #aaa !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-30px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
533
- .bigger5 .vol_mp3j .ui-slider-handle:hover, .bigger5 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
534
- .bigger5 .Smp3-finding,
535
- .bigger5 .mp3-tint,
536
- .bigger5 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
537
- .bigger5 .mp3-gtint { margin:0 6px 0 -20px; }
538
-
539
- .bigger5.bl .posbar_mp3j .ui-slider-handle, .bigger5.bl .posbarB_mp3j .ui-slider-handle { background:url('images/stop-dark2-b.png') repeat-y -350px top; border:1px solid #888; }
540
- .bigger5.bl .posbar_mp3j .ui-slider-handle:hover, .bigger5.bl .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; border:1px solid #777; }
541
- .bigger5.bl .buttons_mp3j { background:url('images/play-dark2-b.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
542
- .bigger5.bl .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -405px center; }
543
- .bigger5.bl .buttons_mp3jpause { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
544
- .bigger5.bl .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
545
- .bigger5.bl .vol_mp3j .ui-slider-handle, .bigger5.bl .vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
546
- .bigger5.bl .vol_mp3j .ui-slider-handle:hover, .bigger5.bl .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
547
-
548
-
549
- /* ===== smaller ===== */
550
- .smaller div.player-track-title { font:normal normal 500 11px/13px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; left:5px; right:5px; }
551
- .smaller div.player-track-title span { font:normal normal 500 10px/10px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; padding:0; }
552
- .smaller ul.UL-MI_mp3j li a, .smaller ul.UL-MI_mp3j li { font-size:10px !important; font-family:'verdana', Helvetica, sans-serif !important; line-height:13px !important; }
553
-
554
-
555
- /* ===== outline ==== */
556
- span.outline { font-size:14px; line-height:22px !important; margin:0 !important; }
557
- .outline span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; background: transparent; }
558
- .outline span.vol_mp3j { position:absolute; top:-9px; right:7px; width:85%; max-width:100px; height:2px; background: transparent; }
559
- .outline span.buttons_mp3j { padding:2px 0px 5px 20px !important; background: transparent url('images/transport-outline.png') no-repeat -80px -1px; border:0; margin:0; }
560
- .outline span.buttons_mp3j:hover { background:transparent url('images/transport-outline.png') no-repeat -80px -33px; }
561
- .outline span.buttons_mp3jpause { padding:2px 0px 5px 20px !important; background: transparent url('images/transport-outline.png') no-repeat 1px -1px; border:0; margin:0; }
562
- .outline span.buttons_mp3jpause:hover { background:transparent url('images/transport-outline.png') no-repeat 1px -33px; }
563
- .outline span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
564
- .outline span.posbarB_mp3j .ui-widget-header { z-index:-500; }
565
- .outline span.posbarB_mp3j .ui-slider-handle { top: 0px; margin-left:0px; border:1px solid #aaa; height:23px; width:5px !important; z-index:500; background:url('images/t10b.png') repeat; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
566
- .outline span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t20b.png') repeat; border-color:#777; }
567
- .outline div.transport-MI div { background-image: url("images/transport-hardZ.png"); }
568
- .outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
569
-
570
- .dark.outline div.transport-MI div { background-image: url("images/transport-hardK.png"); }
571
- .dark.outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
572
-
573
-
574
- /* ===== wtransbars ==== */
575
- .wtransbars div.loadMI_mp3j { background:#fff; opacity:0.1; filter:alpha(opacity=10); }
576
- .wtransbars div.poscolMI_mp3j { background:#fff url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
577
- .wtransbars div.player-track-title { color:#fff; }
578
-
579
- /* ===== btransbars ==== */
580
- .btransbars div.loadMI_mp3j { background:#000; opacity:0.1; filter:alpha(opacity=10); }
581
- .btransbars div.poscolMI_mp3j { background:#000 url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
582
- .btransbars div.player-track-title { color:#000; }
583
-
584
-
585
-
586
-
587
-
588
-
589
-
590
-
591
-
592
-
593
-
594
-
595
-
1
+ /*
2
+ MP3-jPlayer 1.8.1 - Silver
3
+ www.sjward.org */
4
+
5
+ /*---------------------
6
+ [mp3-jplayer] SHORTCODE
7
+ ==================================== */
8
+
9
+ /* SKIN
10
+ --------------- */
11
+ /* MAIN WRAPPER (default class) */
12
+ div.wrap-MI { border:0; margin:0; background:none; min-width:116px; /* position||float set in-line! */ /* width set in-line! */ }
13
+
14
+ /* SUB WRAPPERS */
15
+ div.jp-innerwrap, div.jp-interface, div.listwrap_mp3j, div.playlist-wrap-MI { position:relative !important; width:100%; border:0; margin:0; padding:0; }
16
+ div.jp-innerwrap { background:none; }
17
+ div.jp-interface { background:url('images/shadow-x.png') repeat-x left bottom; height:101px/*player default height*/; min-height:67px; cursor:default; }
18
+ div.listwrap_mp3j { margin-top:0px; /* background set from admin */ }
19
+
20
+ /* BACKGROUNDS */
21
+ div.innerx, div.innerleft, div.innerright, div.innertab { position:absolute; }
22
+ div.innerx { background:url('images/case-grad-x.png') repeat-x left -45px; width:auto; height:35px; left:0px; right:0px; bottom:3px; }
23
+ div.innerleft { background:url('images/shadow-l.png') no-repeat left bottom; width:1px; height:40px; left:-1px; bottom:0px; }
24
+ div.innerright { background:url('images/shadow-r.png') no-repeat right bottom; width:2px; height:40px; right:-2px; bottom:0px; }
25
+ div.innertab { /* background and opacity set from admin */ left:0px; top:0px; width:100%; bottom:38px; }
26
+
27
+ /* PLAYLIST
28
+ ----------------- */
29
+ div.playlist-colour { position:absolute; width:100%; height:100%; left:0px; top:0px; /* background set from admin */ /* opacity set from admin */ }
30
+ div.playlist-wrap-MI ul { position:static; }
31
+ ul.UL-MI_mp3j { margin:0px !important; padding:0px 0px 0px 0px !important; list-style-type:none !important; list-style:none !important; list-style-image:none !important; font-weight: 500 !important; /* background set from admin */ }
32
+ ul.UL-MI_mp3j li { margin:0px !important; padding:0px 0px 1px 0px !important; font-weight:500 !important; line-height:15px !important; letter-spacing:0px !important; font-size:11px !important; word-spacing:0px !important; margin:0px 1px 0px 1px !important; list-style-type:none !important; }
33
+ ul.UL-MI_mp3j li:before { content:none !important; }
34
+ ul.UL-MI_mp3j li a { font-size:11px !important; border:0 !important; line-height:15px !important; font-weight:500 !important; text-decoration:none !important; display:block !important; width:auto !important; font-family:'verdana', 'Lucida Grande', 'arial', sans-serif !important; outline:none !important; padding:6px 0px 6px 14px !important; }
35
+
36
+
37
+ /* SCREEN
38
+ ----------------- */
39
+ div.player-track-title, div.jp-play-time, div.jp-total-time, div.statusMI { position:absolute; z-index:50; /* color set from admin */ font:normal normal 500 14px/16px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
40
+
41
+ div.player-track-title { top:7px; left:9px; width:auto; right:10px; }
42
+ div.player-track-title span { font-size:10px; line-height:12px; padding-left:10px; max-width:95%; }
43
+
44
+ div.jp-play-time, div.jp-total-time, div.statusMI { font-size:8px; line-height:10px !important; bottom:42px; text-align:left; font-family:Verdana, Arial, Helvetica, sans-serif; }
45
+ div.jp-play-time { right:84px; }
46
+ div.jp-total-time { right:6px; opacity:0.8; width:auto; }
47
+
48
+ span.mp3-finding, span.Smp3-finding, span.mp3-tint, span.mp3-gtint { padding:0px 0px 0px 6px !important; font-size:8px !important; line-height:10px !important; height:10px !important; overflow:hidden !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
49
+ span.mp3-finding, span.Smp3-finding { margin:0px 0px 0px -2px; background:url('images/finding-bar1f.gif') repeat 0px 3px; }
50
+ span.mp3-tint { margin:0px 2px 0px -6px; opacity:.5; filter:alpha(opacity=50); /* background set from admin */ }
51
+ span.mp3-gtint { margin:0px 2px 0px -6px; opacity:.5; filter:alpha(opacity=50); background:#777; }
52
+ span.Smp3-finding { margin:0px 0px 0px 3px; }
53
+ span.tintmarg { margin:0 2px 0 3px; }
54
+
55
+ div.statusMI { right:27px; width:52px !important; height:10px; }
56
+ .statusMI span.mp3-finding, .statusMI span.Smp3-finding, .statusMI span.mp3-tint, .statusMI span.mp3-gtint { padding:0px 0px 0px 6px !important; }
57
+ .statusMI span.mp3-tint, .statusMI span.mp3-gtint { margin:0px 2px 0px -6px; }
58
+
59
+ .MI-image { position:absolute; top:0; left:0; padding:0; }
60
+ .MI-image img { border:none; padding:0px; background-color:#bbb; }
61
+ .MI-image a:hover img { /* background-colour set from admin */ }
62
+
63
+
64
+ /* BUTTONS
65
+ ----------------- */
66
+ /* TRANSPORT BUTTONS */
67
+ div.transport-MI { position:absolute; width:auto; height:37px; right:2px; bottom:0px; border:0; }
68
+ div.transport-MI div { background-image: url("images/transport-hardW-shiny.png"); text-indent:-9999px !important; float:right; }
69
+ /* play */
70
+ div.buttons_mp3j { width:30px; height:32px; margin:1px 0px 0px 0px; background-position:-110px 0px; }
71
+ div.buttons_mp3j:hover { background-position:-110px -32px; }
72
+ /* pause */
73
+ div.buttons_mp3jpause { width:30px; height:32px; margin:1px 0px 0px 0px; background-position:-2px 0px; }
74
+ div.buttons_mp3jpause:hover { background-position:-2px -32px; }
75
+ /* prev n next */
76
+ div.Prev_mp3j { width:22px; height:28px; margin:1px 4px 0px 0px; background-position:-32px -1px; }
77
+ div.Prev_mp3j:hover { background-position:-32px -33px; }
78
+ div.Next_mp3j { width:19px; height:28px; margin:1px 3px 0px 0px; background-position:-57px -1px; }
79
+ div.Next_mp3j:hover { background-position:-57px -33px; }
80
+ /* stop */
81
+ div.stop_mp3j { width:26px; height:32px; margin:1px 3px 0px 0px; background-position:-81px 0px; }
82
+ div.stop_mp3j:hover { background-position:-81px -32px; }
83
+
84
+ /* PLAYLIST TOGGLE */
85
+ div.playlist-toggle-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif; bottom:4px; left:1px; color:#707070; padding:2px 6px 2px 5px; line-height:9px; min-width:24px; background:#bcbcbc; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; cursor:default; }
86
+ div.playlist-toggle-MI:hover { background:#c6c6c6; color:#777; }
87
+
88
+ /* DOWNLOAD BUTTON */
89
+ div.dloadmp3-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; bottom:39px; margin:0px !important; font-size:9px !important; text-align:center; left:0px; width:41%; min-width:75px; max-width:425px; padding:0px 0px 0px 0px !important; border:0px; background:transparent url('images/t10b.png') repeat left top !important; color:#fff; line-height:11px !important; -moz-border-radius-topright:3px; -webkit-border-top-right-radius:3px; overflow:hidden; z-index:150; cursor:default; }
90
+ div.dloadmp3-MI.whilelinks, div.dloadmp3-MI.logintext { background:transparent url('images/t50b.png') repeat left top !important; }
91
+ div.dloadmp3-MI.whilelinks:hover { background:transparent url('images/t40b.png') repeat left top !important; }
92
+ div.dloadmp3-MI a { color:#ececec; display:block; width:auto; padding:1px 5px 2px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; height:100%; border-bottom:none; visibility:hidden; }
93
+ div.dloadmp3-MI a:hover { outline: none; border-bottom: none; color: #ececec; }
94
+ div.dloadmp3-MI.whilelinks a { color: #f3f3f3; visibility: inherit; }
95
+ div.dloadmp3-MI.whilelinks a:hover { color: #fff; }
96
+ div.dloadmp3-MI p { color:#ececec; display:block; width:auto; padding:1px 5px 2px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; height:100%; border-bottom:none; visibility:visible; }
97
+
98
+ /* POPOUT BUTTON */
99
+ div.mp3j-popout-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif; bottom:17px; left:0px; height:16px; color:#6c6c6c; padding:3px 5px 0px 28px; min-width:2px; line-height:11px; border:1px solid #b2b2b2; background-color:#aaa; background-image:url('images/buttons-popoutE.png'); background-repeat:no-repeat; background-position:-8px -65px; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; cursor:default; }
100
+ div.mp3j-popout-MI:hover { color:#606060; background-position:-8px -95px; }
101
+
102
+ /* BARS
103
+ ----------------- */
104
+ .ui-state-disabled { cursor:default !important; }
105
+ .ui-slider { position:relative; text-align:left; }
106
+ .ui-slider .ui-slider-handle { position:absolute; z-index:200; cursor:default; }
107
+ .ui-slider .ui-slider-range { position:absolute; z-index:1; font-size:.7em; display:block; border:0; }
108
+ .ui-slider-horizontal .ui-slider-range { top:0; height:100%; }
109
+ .ui-slider-horizontal .ui-slider-range-min { left:0; }
110
+ .ui-slider-horizontal .ui-slider-range-max { right:0; }
111
+ .ui-state-default, .ui-widget-content .ui-state-default { outline:none; border:0px; }
112
+
113
+ /* VOLUME */
114
+ div.MIsliderVolume { position:absolute; top:0px; right:4px; width:108px; height:4px !important; background:transparent; border:0px; font-size:1px; cursor:default; z-index:150; }
115
+ div.MIsliderVolume .ui-widget-header { /* background set from admin */ }
116
+ div.MIsliderVolume .ui-slider-handle { border:0px; height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; top:-3px; border:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; background:transparent url('images/vol-handle.png') no-repeat -1px 0px; z-index:150; overflow:hidden !important; cursor:default; }
117
+ div.MIsliderVolume .ui-slider-handle:hover { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; }
118
+ div.MIsliderVolume .ui-state-active, div.MIsliderVolume .ui-widget-content .ui-state-active { border:0px; background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; }
119
+
120
+ /* LOADER AND POS SLIDER */
121
+ div.bars_holder, div.loadMI_mp3j, div.poscolMI_mp3j, div.posbarMI_mp3j { position:absolute; top:0px; left:0px; }
122
+ div.bars_holder { right:0; width:100%; bottom:38px; font-size:1px; cursor:default; background:transparent url('images/t60w.png') repeat-x left bottom;/* 1px highlight top of control bar */ }
123
+ div.loadMI_mp3j { bottom:1px; /* background set from admin */ /* opacity set from admin */ }
124
+ div.poscolMI_mp3j { bottom:1px; /* background set from admin */ /* opacity set from admin */ }
125
+ div.bars_holder .ui-widget-header, div.bars_holder .ui-widget-content { border:0px !important; background:none; }
126
+ div.bars_holder .ui-slider-horizontal { top:0px; bottom:1px; height:auto; z-index:90; }
127
+ div.posbarMI_mp3j { bottom:1px; width:100%; }
128
+ div.posbarMI_mp3j .ui-slider-handle { top:-6px; margin-left:-1px !important; border:0; bottom:-2px; width:2px !important; z-index:100; background:none; cursor:default ; padding:0px !important; }
129
+ div.posbarMI_mp3j .ui-slider-handle:hover { background:none; z-index:100; }
130
+
131
+
132
+ /* FORCED DOWNLOAD FRAME
133
+ ------------------------ */
134
+
135
+ div.mp3j-dlframe, iframe.mp3j-dlframe {
136
+ border:0px solid #ddd;
137
+ width:1px;
138
+ height:1px;
139
+ overflow:hidden;
140
+ margin:0;
141
+ padding:0;
142
+ display:none !important;
143
+ }
144
+
145
+ /* MESSAGES */
146
+ div.mp3j-finfo {
147
+ position:absolute;
148
+ top:36px;
149
+ z-index:9999 !important;
150
+ width:80%;
151
+ left:10%;
152
+ -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
153
+ background:url('images/fdloadW-x.png') repeat-x left top;
154
+ -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
155
+ padding:0;
156
+ min-height:31px;
157
+ overflow:hidden;
158
+ min-width:170px;
159
+ }
160
+
161
+ div.mp3j-finfo * { font-family:Arial, Helvetica, sans-serif !important; }
162
+ div.mp3j-finfo-sleeve { position:relative !important; width:100%; height:100%; }
163
+ div.mp3j-finfo-gif { position:absolute !important; top:0; left:0; right:10%; bottom:0; background:url('images/loader.gif') no-repeat center 37px; width:auto; padding:0px; height:100%; }
164
+ div.mp3j-finfo-txt { position:relative !important; margin:0px 15px 0 15px !important; padding:10px 0 10px 0 !important; width:auto; }
165
+ div.mp3j-finfo-close { position:absolute !important; width:31px !important; height:27px !important; padding-top:5px !important; right:0 !important; top:0 !important; text-align:center !important; font-weight:700 !important; font-size:18px !important; line-height:22px !important; color:#aaa !important; border-bottom:1px solid #ccc !important; border-left:1px solid #ccc !important; background:url('images/t40w.png') repeat left top !important; }
166
+ div.mp3j-finfo-close:hover { color:#888 !important; }
167
+
168
+ div.mp3j-finfo-txt h2 { font-size:15px !important; color:#333 !important; margin:0 0 10px 0 !important; }
169
+ div.mp3j-finfo-txt h3 { font-size:14px !important; color:#333 !important; margin:0 0 15px 0 !important; }
170
+ div.mp3j-finfo-txt p { font-size:11px !important; color:#555 !important; line-height:13px !important; margin:0 0 5px 0; }
171
+ div.mp3j-finfo-txt a { }
172
+
173
+
174
+ /* backwards compat
175
+ ------------------- */
176
+ div.player-track-title.mp3j_widgetmods { font-size: 11px; top: 7px; left:5px; }
177
+ div.player-track-title.mp3j_widgetmods span { font-size: 9px; }
178
+ ul.UL-MI_mp3j.mp3j_widgetmods li { font-size:10px !important; line-height:14px !important; }
179
+ ul.UL-MI_mp3j.mp3j_widgetmods li a { font-size:10px !important; line-height:14px !important; }
180
+
181
+
182
+ /*-------------------------
183
+ [mp3j] & [mp3t] SHORTCODES
184
+ ==================================== */
185
+ span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
186
+ /*span.wrap_inline_mp3j:hover .buttons_mp3j { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }*/
187
+ span.indi_mp3j { position:relative; padding-left:2px; font-size: 0.7em !important; }
188
+
189
+ /* BARS */
190
+ span.bars_mp3j { position:absolute; width:100%; height:100%; }
191
+ span.load_mp3j, span.loadB_mp3j { position:absolute; /* background set from admin */ top:20px; left:0px; height:2px; }
192
+ /* mp3t */
193
+ span.posbar_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
194
+ span.posbar_mp3j .ui-widget-header { z-index:-500; }
195
+ span.posbar_mp3j .ui-slider-handle { top: 2px; margin-left:-2px; border:1px solid #999; height:21px; width:4px; z-index:500; background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
196
+ span.posbar_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y -0px 0px; border-color:#aaa; }
197
+
198
+ /* mp3j */
199
+ span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0; z-index:450; cursor:pointer; }
200
+ span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:450; height:100%; }
201
+ span.posbarB_mp3j .ui-slider-handle { top: 0px; margin-left:-6px !important; border:0px solid #888; height:23px; width:12px !important; z-index: 500; background: transparent url('images/inlineHandle2.png') no-repeat -3px -3px; cursor: default; padding:0px !important; }
202
+ span.posbarB_mp3j .ui-slider-handle:hover { background: transparent url('images/inlineHandle2.png') no-repeat -3px -33px; }
203
+
204
+ /* SPAN TRANSPORT */
205
+ span.group_wrap { position:relative; margin:0px 0px 0px 0px; width:auto; }
206
+ span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; margin:0px; padding:0px !important; }
207
+ span.buttons_mp3j { position:relative; margin:0px; padding:2px 0px 3px 20px !important; background: transparent url('images/transport-shard-B.png') no-repeat -80px -3px; }
208
+ span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }
209
+ span.buttons_mp3jpause { position:relative; margin:0px; padding:2px 0px 3px 20px !important; background: transparent url('images/transport-shard-B.png') no-repeat -2px -3px; }
210
+ span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -35px; }
211
+
212
+ /* VOLUMES */
213
+ span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; }
214
+ span.vol_mp3j { position:absolute; top:-9px; right:6px; width:85%; max-width:100px; height:2px; }
215
+ span.vol_mp3j.flipped { right:4px; }
216
+ span.vol_mp3t .ui-widget-header, span.vol_mp3j .ui-widget-header { background: transparent url('images/vol-grad60b2.png') repeat left top; z-index:500; height:100%; }
217
+ span.vol_mp3t .ui-slider-handle, span.vol_mp3j .ui-slider-handle { height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; border:0px !important; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; z-index:600; overflow:hidden !important; cursor:default; top:-6px; background: transparent url('images/vol-handle.png') no-repeat -1px 0px; }
218
+ span.vol_mp3t .ui-slider-handle:hover, span.vol_mp3j .ui-slider-handle:hover { background: transparent url('images/vol-handle.png') no-repeat -21px 0px; }
219
+ span.vol_mp3t .ui-state-active, span.vol_mp3t .ui-widget-content .ui-state-active, span.vol_mp3j .ui-state-active, span.vol_mp3j .ui-widget-content .ui-state-active { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; border:0px; }
220
+
221
+
222
+
223
+ /*----------------------
224
+ [mp3j-popout] SHORTCODE
225
+ ================================================= */
226
+ .mp3j-popout-link-wrap { cursor:pointer; position:relative; clear:left; }
227
+ .mp3j-popout-link { float:left; margin:0 5px 0 0; min-width:22px; min-height:18px; background:url('images/buttons-popout.png') no-repeat -10px -65px; }
228
+ .mp3j-popout-link-wrap:hover .mp3j-popout-link { background:url('images/buttons-popout.png') no-repeat -10px -95px; }
229
+
230
+
231
+
232
+ /*=================================================
233
+
234
+ MODS
235
+ (via 'style' param in shortcode)
236
+ ================================================= */
237
+
238
+ /* ===== "dark" ===== */
239
+ .dark .innerx { background-position:left -119px; }
240
+ .dark .transport-MI { height:38px; }
241
+ .dark .transport-MI div { background-image:url("images/transport-darkbg-trans2.png"); }
242
+ .dark .bars_holder { background:url('images/t40b.png') repeat-x left bottom; }
243
+ .dark .mp3j-popout-MI { color:#a2a2a2; background-position:-8px -6px; border-color:#585858; background-color:#aaa; }
244
+ .dark .mp3j-popout-MI:hover { color:#aaa; background-position:-8px -36px; }
245
+ .dark div.playlist-toggle-MI { background:#505050; color:#a2a2a2; }
246
+ .dark div.playlist-toggle-MI:hover { background:#585858; color:#aaa; }
247
+ .dark .MI-image img { background-color:#777; }
248
+
249
+ .dark div.mp3j-finfo { background:url('images/fdloadB-x.png') repeat-x left top; }
250
+ .dark div.mp3j-finfo-gif { background:url('images/loader-w2.gif') no-repeat center 37px; }
251
+ .dark div.mp3j-finfo-close { color:#999 !important; border-bottom:1px solid #777 !important; border-left:1px solid #777 !important; background:url('images/t40b.png') repeat left top !important; }
252
+ .dark div.mp3j-finfo-close:hover { color:#eee !important; }
253
+ .dark div.mp3j-finfo-txt h2 { color:#fff !important; }
254
+ .dark div.mp3j-finfo-txt h3 { color:#fff !important; }
255
+ .dark div.mp3j-finfo-txt p { color:#fff !important; }
256
+
257
+
258
+ /* ===== "text" ===== */
259
+ div.wrap-MI.text { /*min-width:300px;*/ }
260
+ .text div.innerx, .text div.innerleft, .text div.innerright { position: absolute; visibility: hidden; }
261
+ .text div.innertab { bottom: 38px; }
262
+ .text div.jp-interface { background:none; }
263
+ .text div.player-track-title { font:normal normal 500 16px/18px 'trebuchet ms', Arial, sans-serif; }
264
+ .text div.player-track-title span { font:italic normal 500 12px/14px 'trebuchet ms', Arial, sans-serif; opacity:0.7; filter:alpha(opacity=70); }
265
+ .text div.jp-play-time, .text div.jp-total-time, .text div.statusMI { bottom:20px; font-size:11px; font-family: 'trebuchet ms', Arial, sans-serif; }
266
+ .text div.jp-play-time { width:37px; left:0px; opacity:0.6; filter:alpha(opacity=60); }
267
+ .text div.jp-total-time { width:37px; left:100px; display:none; }
268
+ .text div.statusMI { left:37px; width:70px !important; }
269
+ .text div.transport-MI { height:26px; right:2px; bottom:12px; }
270
+ .text div.transport-MI div { font-family: 'trebuchet ms', Arial, sans-serif; font-weight:700; overflow:hidden !important; background:none !important; white-space:nowrap !important; }
271
+ .text div.buttons_mp3j { text-indent:4px !important; width:32px; overflow:hidden !important; height: 25px; margin:0 6px 0 0px; background:none !important; line-height:25px !important; font-size:14px; }
272
+ .text div.buttons_mp3jpause { text-indent:-29px !important; width:38px; overflow:hidden !important; height: 25px; margin:0 -3px 0 3px; background:none !important; line-height:25px !important; font-size:14px; }
273
+ .text div.Prev_mp3j, .text div.Next_mp3j { text-indent:0px !important; height:23px; line-height:23px !important; font-size:12px; width:36px; margin:2px 0px 0px 0px; }
274
+ .text div.stop_mp3j { text-indent:0px !important; width:31px; height:25px; margin:0px 0px 0px 4px; line-height:25px !important; font-size:14px; }
275
+ .text div.playlist-toggle-MI { bottom: 7px; font-family:'trebuchet ms', Arial, sans-serif; background:none; padding:0; opacity:0.6; filter:alpha(opacity=60); }
276
+ .text div.playlist-toggle-MI:hover { opacity:1.0; filter:alpha(opacity=100); }
277
+ .text div.dloadmp3-MI { font-size:11px; bottom: 6px; height:auto; right:0px !important; left:auto; margin:0; font-family: 'trebuchet ms', Arial, sans-serif; text-align:right; background:none !important; }
278
+ .text div.dloadmp3-MI a { color:#888; font-size:inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
279
+ .text div.dloadmp3-MI a:hover { color:#555; background:none !important; }
280
+ .text div.dloadmp3-MI.betweenlinks a { display:none; background:none !important; }
281
+ .text div.dloadmp3-MI.whilelinks a { display:block; background:none !important; }
282
+ .text div.dloadmp3-MI.whilelinks a:hover { text-decoration:none; background:none !important; }
283
+ .text div.dloadmp3-MI p { font-size: inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
284
+ .text div.mp3j-popout-MI { color:#888; font:normal normal 500 11px 'trebuchet ms', 'arial', sans-serif; bottom:15px; right:155px; left:auto; width:auto; opacity:1; filter:alpha(opacity=100); padding:0px; line-height:12px; border:0; background:none; cursor:default; z-index:500; }
285
+ .text div.mp3j-popout-MI:hover { color:#555; opacity:1.0; filter:alpha(opacity=100); }
286
+ .text div.MIsliderVolume { position:absolute; bottom:38px; top:auto; right:4px; width:108px !important; height:1px !important; background:transparent; border:0px; font-size:1px; cursor:default; z-index:150; }
287
+ .text div.MIsliderVolume .ui-slider-handle, .text div.vol_mp3j .ui-slider-handle { height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; top:-7px; border:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; background:transparent url('images/vol-handle.png') no-repeat -41px 0px; z-index:150; overflow:hidden !important; cursor:default; }
288
+ .text div.MIsliderVolume .ui-slider-handle:hover, .text div.vol_mp3j .ui-slider-handle:hover { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; }
289
+ .text div.MIsliderVolume .ui-state-active, .text div.MIsliderVolume .ui-widget-content .ui-state-active, .text div.vol_mp3j .ui-state-active, .text div.vol_mp3j .ui-widget-content .ui-state-active { border:0px; background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; }
290
+ .text div.dloadmp3-MI.whilelinks, .text div.dloadmp3-MI.logintext { background:none !important; }
291
+
292
+
293
+ /* ===== "noscreen" ===== */
294
+ .noscreen div.jp-interface { height:44px; min-height:44px; }
295
+ .noscreen div.player-track-title { display:none; }
296
+ .noscreen div.bars_holder { top:auto; bottom:0px; height:7px; }
297
+ .noscreen div.innertab { bottom: 0px; top:0; display:none; }
298
+ .noscreen div.dloadmp3-MI { bottom: 11px; }
299
+ .noscreen div.transport-MI { bottom:17px; }
300
+ .noscreen div.jp-play-time, .noscreen div.jp-total-time, .noscreen div.statusMI { bottom:25px; }
301
+ .noscreen div.playlist-toggle-MI { bottom: 12px; }
302
+ .noscreen div.mp3j-popout-MI { bottom: 20px; }
303
+ .noscreen div.MIsliderVolume { bottom: 43px; }
304
+ .noscreen div.MIsliderVolume .ui-widget-header { background:transparent url('images/vol-grad60b2.png') repeat-y 0px top; }
305
+ .noscreen div.MIsliderVolume .ui-slider-handle { top:-6px; }
306
+ .noscreen h2 { margin:0 !important; padding:0 0 0px 0 !important; }
307
+ .noscreen div.posbarMI_mp3j .ui-slider-handle { top:-5px; margin-left:-7px !important; border:0; bottom:-5px; width:14px !important; z-index:100; background:none; border:none; cursor:default ; padding:0px !important; }
308
+ .noscreen div.posbarMI_mp3j .ui-slider-handle:hover { background:none; border:none; }
309
+ .noscreen .MI-image { top:15px; }
310
+
311
+
312
+ /* ===== "nolistbutton" ===== */
313
+ .nolistbutton div.playlist-toggle-MI { visibility:hidden; }
314
+
315
+ /* ===== "nopopoutbutton" ===== */
316
+ .nopopoutbutton div.mp3j-popout-MI { display:none; }
317
+
318
+ /* ===== "nopn" ===== */
319
+ .nopn div.Prev_mp3j { display:none; }
320
+ .nopn div.Next_mp3j { display:none; }
321
+
322
+ /* ===== "nostop" ===== */
323
+ .nostop div.stop_mp3j { display:none; }
324
+
325
+
326
+ /* ===== "bars100" ===== */
327
+ .bars100 div.player-track-title { left:112px; }
328
+ .bars100 div.dloadmp3-MI { left:102px; width:36%;}
329
+ .bars100 div.bars_holder { left:102px; width:auto; }
330
+ .bars100 .MI-image img { padding:1px; }
331
+ .bars100 div.player-track-title { top:20px; }
332
+
333
+ /* ===== "bars150" ===== */
334
+ .bars150 div.player-track-title { left:162px; }
335
+ .bars150 div.dloadmp3-MI { left:152px; width:33%;}
336
+ .bars150 div.bars_holder { left:152px; width:auto; }
337
+ .bars150 .MI-image img { padding:1px; }
338
+ .bars150 div.player-track-title { top:20px; }
339
+
340
+ /* ===== "bars200" ===== */
341
+ .bars200 div.player-track-title { left:212px; }
342
+ .bars200 div.dloadmp3-MI { left:202px; width:30%; }
343
+ .bars200 div.bars_holder { left:202px; width:auto; }
344
+ .bars200 .MI-image img { padding:1px; }
345
+ .bars200 div.player-track-title { top:20px; }
346
+
347
+ /* ===== "bars250" ===== */
348
+ .bars250 div.player-track-title { left:262px; }
349
+ .bars250 div.dloadmp3-MI { left:252px; width:27%;}
350
+ .bars250 div.bars_holder { left:252px; width:auto; }
351
+ .bars250 .MI-image img { padding:1px; }
352
+ .bars250 div.player-track-title { top:20px; }
353
+
354
+ /* ===== "bars300" ===== */
355
+ .bars300 div.player-track-title { left:312px; }
356
+ .bars300 div.dloadmp3-MI { left:302px; width:24%; }
357
+ .bars300 div.bars_holder { left:302px; width:auto; }
358
+ .bars300 .MI-image img { padding:1px; }
359
+ .bars300 div.player-track-title { top:20px; }
360
+
361
+ /* ===== "bars350" ===== */
362
+ .bars350 div.player-track-title { left:362px; }
363
+ .bars350 div.dloadmp3-MI { left:352px; width:21%;}
364
+ .bars350 div.bars_holder { left:352px; width:auto; }
365
+ .bars350 .MI-image img { padding:1px; }
366
+ .bars350 div.player-track-title { top:20px; }
367
+
368
+ /* ===== "bars400" ===== */
369
+ .bars400 div.player-track-title { left:412px; }
370
+ .bars400 div.dloadmp3-MI { left:402px; width:18%; }
371
+ .bars400 div.bars_holder { left:402px; width:auto; }
372
+ .bars400 .MI-image img { padding:1px; }
373
+ .bars400 div.player-track-title { top:20px; }
374
+
375
+ /* ===== bigger1 ===== */
376
+ .bigger1 { font-size:18px; line-height:26px !important; margin:0 !important; }
377
+ .bigger1 span.load_mp3j,
378
+ .bigger1 span.loadB_mp3j { top:24px; left:0px; height:2px; }
379
+ .bigger1 span.posbar_mp3j .ui-slider-handle { top: 3px; height:24px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
380
+ .bigger1 span.posbarB_mp3j .ui-slider-handle { top: 3px; margin-left:-3px !important; border:1px solid #999; height:24px; width:6px !important; z-index:500; background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
381
+ .bigger1 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; border-color:#aaa; }
382
+ .bigger1 span.buttons_mp3j { position:relative; margin:0px; margin-left:5px !important; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -80px 0px; }
383
+ .bigger1 span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -32px; }
384
+ .bigger1 span.buttons_mp3jpause { position:relative; margin:0px; margin-left:5px !important; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -2px 0px; }
385
+ .bigger1 span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -32px; }
386
+ .bigger1 span.vol_mp3j { position:absolute; top:-6px; right:7px; width:85%; max-width:100px; height:2px; }
387
+
388
+ .bigger1 div.player-track-title { font:normal normal 500 18px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
389
+ .bigger1 div.player-track-title span { font:normal normal 500 14px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
390
+ .bigger1 ul.UL-MI_mp3j li a, .bigger1 ul.UL-MI_mp3j li { font-size:16px !important; line-height:19px !important; }
391
+ .bigger1 .indi_mp3j { font-size: 0.6em !important; }
392
+
393
+ /* ===== "bigger2" ===== */
394
+ .bigger2 div.player-track-title { font:normal normal 500 36px/38px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
395
+ .bigger2 div.player-track-title span { font:normal normal 500 20px/22px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
396
+ .bigger2 ul.UL-MI_mp3j li a, .bigger2 ul.UL-MI_mp3j li { font-size:20px !important; line-height:24px !important; }
397
+ .bigger2 { font-size:23px; line-height:25px !important; margin:0 !important; }
398
+ .bigger2 span.load_mp3j,
399
+ .bigger2 span.loadB_mp3j { top:26px; left:0px; height:2px; }
400
+ .bigger2 span.posbar_mp3j .ui-slider-handle { top: 0px; height:28px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
401
+ .bigger2 span.posbarB_mp3j .ui-slider-handle { top: -1px; margin-left:-3px !important; border:1px solid #999; height:29px; width:8px !important; z-index:500; border-color:#aaa; background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
402
+ .bigger2 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; border-color:#999; }
403
+ .bigger2 span.buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 4px 20px !important; background:url('images/play-dark2-b.png') no-repeat -186px center; border:0px solid #bbb; margin-left:10px; }
404
+ .bigger2 span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -437px center; }
405
+ .bigger2 span.buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:0px 0px 2px 20px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
406
+ .bigger2 span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
407
+ .bigger2 span.vol_mp3j { position:absolute; top:-12px; right:4px; width:85%; max-width:100px; height:2px; }
408
+ .bigger2 span.vol_mp3t { position:absolute; top:-10px; width:85%; max-width:100px; height:2px; }
409
+ .bigger2 .Smp3-finding,
410
+ .bigger2 .mp3-tint,
411
+ .bigger2 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 10px !important; font-size:12px !important; line-height:12px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
412
+ .bigger2 .mp3-gtint { margin:0 6px 0 -16px; }
413
+ .bigger2 .indi_mp3j { font-size: 0.5em !important; padding-left:0px; }
414
+
415
+ .bigger2.wh .buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 4px 20px !important; background:url('images/play-dark2-w.png') no-repeat -186px center; border:0px solid #bbb; margin-left:10px; }
416
+ .bigger2.wh .buttons_mp3j:hover { background:url('images/play-dark2-w.png') no-repeat -437px center; }
417
+ .bigger2.wh .buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:0px 0px 2px 20px !important; background:url('images/stop-dark2-w.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
418
+ .bigger2.wh .buttons_mp3jpause:hover { background:url('images/stop-dark2-w.png') repeat-y -350px top; }
419
+
420
+
421
+
422
+ /* ===== bigger3 ===== */
423
+ .bigger3 { font-size:28px; line-height:36px !important; margin:0 !important; }
424
+ .bigger3 .load_mp3j, .bigger3 .loadB_mp3j { top:37px; left:0px; height:3px; }
425
+ .bigger3 .posbar_mp3j .ui-slider-handle, .bigger3 .posbarB_mp3j .ui-slider-handle { top: 0px; border:1px solid #bbb; height:40px; width:12px !important; margin-left:-5px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
426
+ .bigger3 .posbar_mp3j .ui-slider-handle:hover, .bigger3 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y 0px top; border:1px solid #aaa; }
427
+ .bigger3 .indi_mp3j { font-size: 0.5em !important; }
428
+ .bigger3 span.buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:8px 0px 12px 30px !important; background:url('images/play-dark2.png') no-repeat -177px center; border:0px solid #bbb; margin-left:12px; }
429
+ .bigger3 span.buttons_mp3j:hover { background:url('images/play-dark2.png') no-repeat -428px center; }
430
+ .bigger3 span.buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 6px 30px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:12px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
431
+ .bigger3 span.buttons_mp3jpause:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
432
+ .bigger3 .vol_mp3j { height:1px; max-width:110px; right:64px; top:-8px; }
433
+ .bigger3 .vol_mp3t { height:1px; max-width:110px; right:16px; top:-5px; }
434
+ .bigger3 .vol_mp3j .ui-slider-handle, .bigger3 .vol_mp3t .ui-slider-handle { height:14px !important; width:33px !important; margin-left:-16px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-14px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
435
+ .bigger3 .vol_mp3j .ui-slider-handle:hover, .bigger3 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
436
+ .bigger3 .Smp3-finding,
437
+ .bigger3 .mp3-tint,
438
+ .bigger3 .mp3-gtint { margin-left:8px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
439
+ .bigger3 .mp3-gtint { margin:0 2px 0 -14px; }
440
+ .bigger3 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
441
+ .bigger3 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
442
+ .bigger3 ul.UL-MI_mp3j li a, .bigger3 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
443
+
444
+ .bigger3.bl span.buttons_mp3j { background:url('images/play-dark2-b.png') no-repeat -177px center; }
445
+ .bigger3.bl span.buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -428px center; }
446
+ .bigger3.bl span.buttons_mp3jpause { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
447
+ .bigger3.bl span.buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
448
+ .bigger3.bl span.vol_mp3j .ui-slider-handle, .bigger3.bl span.vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
449
+ .bigger3.bl span.vol_mp3j .ui-slider-handle:hover, .bigger3.bl span.vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
450
+
451
+
452
+
453
+ /* ===== bigger4 ===== */
454
+ .bigger4 { font-size:38px; line-height:46px !important; margin:0 !important; }
455
+ .bigger4 .load_mp3j, .bigger4 .loadB_mp3j { top:46px; left:0px; height:3px; }
456
+ .bigger4 .posbar_mp3j .ui-slider-handle, .bigger4 .posbarB_mp3j .ui-slider-handle { top: -2px; border:1px solid #bbb; height:52px; width:16px !important; margin-left:-8px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
457
+ .bigger4 .posbar_mp3j .ui-slider-handle:hover, .bigger4 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y 0px top; border:1px solid #aaa; }
458
+ .bigger4 .indi_mp3j { font-size: 0.5em !important; }
459
+ .bigger4 span.buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:8px 0px 12px 40px !important; background:url('images/play-dark2.png') no-repeat -167px center; border:0px solid #bbb; margin-left:15px; }
460
+ .bigger4 span.buttons_mp3j:hover { background:url('images/play-dark2.png') no-repeat -418px center; }
461
+ .bigger4 span.buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 4px 40px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:15px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
462
+ .bigger4 span.buttons_mp3jpause:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
463
+ .bigger4 .vol_mp3j { height:1px; max-width:110px; right:86px; top:-8px; }
464
+ .bigger4 .vol_mp3t { height:1px; max-width:110px; right:20px; top:-5px; }
465
+ .bigger4 .vol_mp3j .ui-slider-handle, .bigger4 .vol_mp3t .ui-slider-handle { height:20px !important; width:43px !important; margin-left:-21px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-20px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
466
+ .bigger4 .vol_mp3j .ui-slider-handle:hover, .bigger4 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
467
+ .bigger4 .Smp3-finding,
468
+ .bigger4 .mp3-tint,
469
+ .bigger4 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
470
+ .bigger4 .mp3-gtint { margin:0 6px 0 -20px; }
471
+
472
+ .bigger4 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
473
+ .bigger4 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
474
+ .bigger4 ul.UL-MI_mp3j li a, .bigger4 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
475
+
476
+ .bigger4.bl .posbar_mp3j .ui-slider-handle, .bigger4.bl .posbarB_mp3j .ui-slider-handle { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
477
+ .bigger4.bl .posbar_mp3j .ui-slider-handle:hover, .bigger4.bl .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
478
+ .bigger4.bl .buttons_mp3j { background:url('images/play-dark2-b.png') no-repeat -167px center; }
479
+ .bigger4.bl .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -418px center; }
480
+ .bigger4.bl .buttons_mp3jpause { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
481
+ .bigger4.bl .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
482
+ .bigger4.bl .vol_mp3j .ui-slider-handle, .bigger4.bl .vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
483
+ .bigger4.bl .vol_mp3j .ui-slider-handle:hover, .bigger4.bl .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
484
+
485
+
486
+
487
+ /* ===== bigger5 ===== */
488
+ .bigger5 { font-size:48px; line-height:60px !important; margin:0 !important; }
489
+ .bigger5 .load_mp3j, .bigger5 .loadB_mp3j { top:63px; left:0px; height:4px; }
490
+ .bigger5 .posbar_mp3j .ui-slider-handle, .bigger5 .posbarB_mp3j .ui-slider-handle { top: -1px; border:1px solid #bbb; height:69px; width:20px !important; margin-left:-10px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
491
+ .bigger5 .posbar_mp3j .ui-slider-handle:hover, .bigger5 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y 0px top; border:1px solid #aaa; }
492
+ .bigger5 .indi_mp3j { font-size: 0.5em !important; }
493
+ .bigger5 span.buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:8px 0px 13px 52px !important; background:url('images/play-dark2.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
494
+ .bigger5 span.buttons_mp3j:hover { background:url('images/play-dark2.png') no-repeat -405px center; }
495
+ .bigger5 span.buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:3px 0px 8px 52px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:15px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
496
+ .bigger5 span.buttons_mp3jpause:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
497
+ .bigger5 .vol_mp3j { height:1px; max-width:170px; right:115px; top:-10px; }
498
+ .bigger5 .vol_mp3t { height:1px; max-width:170px; right:33px; top:-5px; }
499
+ .bigger5 .vol_mp3j .ui-slider-handle, .bigger5 .vol_mp3t .ui-slider-handle { height:30px !important; width:55px !important; margin-left:-21px; border-bottom:1px solid #aaa !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-30px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
500
+ .bigger5 .vol_mp3j .ui-slider-handle:hover, .bigger5 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
501
+ .bigger5 .Smp3-finding,
502
+ .bigger5 .mp3-tint,
503
+ .bigger5 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
504
+ .bigger5 .mp3-gtint { margin:0 6px 0 -20px; }
505
+
506
+ .bigger5.bl .posbar_mp3j .ui-slider-handle, .bigger5.bl .posbarB_mp3j .ui-slider-handle { background:url('images/stop-dark2-b.png') repeat-y -350px top; border:1px solid #888; }
507
+ .bigger5.bl .posbar_mp3j .ui-slider-handle:hover, .bigger5.bl .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; border:1px solid #777; }
508
+ .bigger5.bl .buttons_mp3j { background:url('images/play-dark2-b.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
509
+ .bigger5.bl .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -405px center; }
510
+ .bigger5.bl .buttons_mp3jpause { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
511
+ .bigger5.bl .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
512
+ .bigger5.bl .vol_mp3j .ui-slider-handle, .bigger5.bl .vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
513
+ .bigger5.bl .vol_mp3j .ui-slider-handle:hover, .bigger5.bl .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
514
+
515
+
516
+ /* ===== smaller ===== */
517
+ .smaller div.player-track-title { font:normal normal 500 11px/13px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; left:5px; right:5px; }
518
+ .smaller div.player-track-title span { font:normal normal 500 10px/10px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; padding:0; }
519
+ .smaller ul.UL-MI_mp3j li a, .smaller ul.UL-MI_mp3j li { font-size:10px !important; font-family:'verdana', Helvetica, sans-serif !important; line-height:13px !important; }
520
+
521
+
522
+ /* ===== outline ==== */
523
+ span.outline { font-size:14px; line-height:22px !important; margin:0 !important; }
524
+ .outline span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; background: transparent; }
525
+ .outline span.vol_mp3j { position:absolute; top:-9px; right:7px; width:85%; max-width:100px; height:2px; background: transparent; }
526
+ .outline span.buttons_mp3j { padding:2px 0px 5px 20px !important; background: transparent url('images/transport-outline.png') no-repeat -80px -1px; border:0; margin:0; }
527
+ .outline span.buttons_mp3j:hover { background:transparent url('images/transport-outline.png') no-repeat -80px -33px; }
528
+ .outline span.buttons_mp3jpause { padding:2px 0px 5px 20px !important; background: transparent url('images/transport-outline.png') no-repeat 1px -1px; border:0; margin:0; }
529
+ .outline span.buttons_mp3jpause:hover { background:transparent url('images/transport-outline.png') no-repeat 1px -33px; }
530
+ .outline span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
531
+ .outline span.posbarB_mp3j .ui-widget-header { z-index:-500; }
532
+ .outline span.posbarB_mp3j .ui-slider-handle { top: 0px; margin-left:0px; border:1px solid #aaa; height:23px; width:5px !important; z-index:500; background:url('images/t10b.png') repeat; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
533
+ .outline span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t20b.png') repeat; border-color:#777; }
534
+ .outline div.transport-MI div { background-image: url("images/transport-hardZ.png"); }
535
+ .outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
536
+
537
+ .dark.outline div.transport-MI div { background-image: url("images/transport-hardK.png"); }
538
+ .dark.outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
539
+
540
+
541
+ /* ===== wtransbars ==== */
542
+ .wtransbars div.loadMI_mp3j { background:#fff; opacity:0.1; filter:alpha(opacity=10); }
543
+ .wtransbars div.poscolMI_mp3j { background:#fff url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
544
+ .wtransbars div.player-track-title { color:#fff; }
545
+
546
+ /* ===== btransbars ==== */
547
+ .btransbars div.loadMI_mp3j { background:#000; opacity:0.1; filter:alpha(opacity=10); }
548
+ .btransbars div.poscolMI_mp3j { background:#000 url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
549
+ .btransbars div.player-track-title { color:#000; }
550
+
551
+
552
+
553
+
554
+
555
+
556
+
557
+
558
+
559
+
560
+
561
+
562
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
css/players-1-8-text.css CHANGED
@@ -1,519 +1,490 @@
1
- /*
2
- MP3-jPlayer 1.8.1 - Text
3
- www.sjward.org */
4
-
5
- /*---------------------
6
- [mp3-jplayer] SHORTCODE
7
- ==================================== */
8
-
9
- /* SKIN
10
- --------------- */
11
- /* MAIN WRAPPER (default class) */
12
- div.wrap-MI { border:0; margin:0; background:none; min-width:116px; /* position||float set in-line! */ /* width set in-line! */ }
13
-
14
- /* SUB WRAPPERS */
15
- div.jp-innerwrap, div.jp-interface, div.listwrap_mp3j, div.playlist-wrap-MI { position:relative !important; width:100%; border:0; margin:0; padding:0; }
16
- div.jp-innerwrap { background:none; }
17
- div.jp-interface { background:url('images/shadow-x.png') repeat-x left bottom; height:101px/*player default height*/; min-height:67px; cursor:default; }
18
- div.listwrap_mp3j { margin-top:0px; /* background set from admin */ }
19
-
20
- /* BACKGROUNDS */
21
- div.innerx, div.innerleft, div.innerright, div.innertab { position:absolute; }
22
- div.innerx { background:url('images/case-grad-x.png') repeat-x left -45px; width:auto; height:35px; left:0px; right:0px; bottom:3px; }
23
- div.innerleft { background:url('images/shadow-l.png') no-repeat left bottom; width:1px; height:40px; left:-1px; bottom:0px; }
24
- div.innerright { background:url('images/shadow-r.png') no-repeat right bottom; width:2px; height:40px; right:-2px; bottom:0px; }
25
- div.innertab { /* background and opacity set from admin */ left:0px; top:0px; width:100%; bottom:38px; }
26
-
27
- /* PLAYLIST
28
- ----------------- */
29
- div.playlist-colour { position:absolute; width:100%; height:100%; left:0px; top:0px; /* background set from admin */ /* opacity set from admin */ }
30
- div.playlist-wrap-MI ul { position:static; }
31
- ul.UL-MI_mp3j { margin:0px !important; padding:0px 0px 0px 0px !important; list-style-type:none !important; list-style:none !important; list-style-image:none !important; font-weight: 500 !important; /* background */ }
32
- ul.UL-MI_mp3j li { margin:0px !important; padding:0px 0px 1px 0px !important; list-style-type:none !important; font-weight:500 !important; line-height:15px !important; letter-spacing:0px !important; font-size:11px !important; word-spacing:0px !important; margin:0px 1px 0px 1px !important; }
33
- ul.UL-MI_mp3j li:before { content:none !important; }
34
- ul.UL-MI_mp3j li a { font-size:11px !important; border:0 !important; line-height:15px !important; font-weight:500 !important; text-decoration:none !important; display:block !important; width:auto !important; font-family:'verdana', 'Lucida Grande', 'arial', sans-serif !important; outline:none !important; padding:6px 0px 6px 14px !important; }
35
-
36
- /* SCREEN
37
- ----------------- */
38
- div.player-track-title, div.jp-play-time, div.jp-total-time, div.statusMI { position:absolute; z-index:50; /* color set from admin */ font:normal normal 500 14px/16px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
39
-
40
- div.player-track-title { top:7px; left:9px; width:auto; right:10px; }
41
- div.player-track-title span { font-size:10px; line-height:12px; padding-left:10px; max-width:95%; }
42
-
43
- div.jp-play-time, div.jp-total-time, div.statusMI { font-size:8px; line-height:10px !important; bottom:42px; text-align:left; font-family:Verdana, Arial, Helvetica, sans-serif; }
44
- div.jp-play-time { right:84px; }
45
- div.jp-total-time { right:6px; opacity:0.8; width:auto; }
46
-
47
- span.mp3-finding, span.Smp3-finding, span.mp3-tint, span.mp3-gtint { padding:0px 0px 0px 6px !important; font-size:8px !important; line-height:10px !important; height:10px !important; overflow:hidden !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
48
- span.mp3-finding, span.Smp3-finding { margin:0px 0px 0px -2px; background:url('images/finding-bar1f.gif') repeat 0px 3px; }
49
- span.mp3-tint { margin:0px 2px 0px -6px; opacity:.5; filter:alpha(opacity=50); /* background */ }
50
- span.mp3-gtint { margin:0px 2px 0px -6px; opacity:.5; filter:alpha(opacity=50); background:#777; }
51
- span.Smp3-finding { margin:0px 0px 0px 3px; }
52
- span.tintmarg { margin:0 2px 0 3px; }
53
-
54
- div.statusMI { right:27px; width:52px !important; height:10px; }
55
- .statusMI span.mp3-finding, .statusMI span.Smp3-finding, .statusMI span.mp3-tint, .statusMI span.mp3-gtint { padding:0px 0px 0px 6px !important; }
56
- .statusMI span.mp3-tint, .statusMI span.mp3-gtint { margin:0px 2px 0px -6px; }
57
-
58
- .MI-image { position:absolute; top:0; left:0; padding:0; }
59
- .MI-image a img { border:none; padding:1px; background-color:#ccc; }
60
- .MI-image a:hover img { /* background-colour */ }
61
-
62
- /* BUTTONS
63
- ----------------- */
64
- /* TRANSPORT BUTTONS */
65
- div.transport-MI { position:absolute; width:auto; height:37px; right:2px; bottom:0px; border:0; }
66
- div.transport-MI div { float:right; }
67
- /* play */
68
- div.buttons_mp3j { width:30px; height:32px; margin:1px 0px 0px 0px; background-position:-110px 0px; }
69
- div.buttons_mp3j:hover { background-position:-110px -32px; }
70
- /* pause */
71
- div.buttons_mp3jpause { width:30px; height:32px; margin:1px 0px 0px 0px; background-position:-2px 0px; }
72
- div.buttons_mp3jpause:hover { background-position:-2px -32px; }
73
- /* prev n next */
74
- div.Prev_mp3j { width:22px; height:28px; margin:1px 4px 0px 0px; background-position:-32px -1px; }
75
- div.Prev_mp3j:hover { background-position:-32px -33px; }
76
- div.Next_mp3j { width:19px; height:28px; margin:1px 3px 0px 0px; background-position:-57px -1px; }
77
- div.Next_mp3j:hover { background-position:-57px -33px; }
78
- /* stop */
79
- div.stop_mp3j { width:26px; height:32px; margin:1px 3px 0px 0px; background-position:-81px 0px; }
80
- div.stop_mp3j:hover { background-position:-81px -32px; }
81
-
82
- /* PLAYLIST TOGGLE */
83
- div.playlist-toggle-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif; bottom:4px; left:1px; color:#707070; padding:2px 6px 2px 5px; line-height:9px; min-width:24px; background:#bcbcbc; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; cursor:default; }
84
- div.playlist-toggle-MI:hover { background:#c6c6c6; color:#777; }
85
-
86
- /* DOWNLOAD BUTTON */
87
- div.dloadmp3-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; bottom:39px; margin:0px !important; font-size:9px !important; text-align:center; left:0px; width:41%; min-width:75px; max-width:425px; padding:0px 0px 0px 0px !important; border:0px; background:transparent url('images/t10b.png') repeat left top !important; color:#fff; line-height:11px !important; -moz-border-radius-topright:3px; -webkit-border-top-right-radius:3px; overflow:hidden; z-index:150; cursor:default; }
88
- div.dloadmp3-MI.whilelinks, div.dloadmp3-MI.logintext { }
89
- div.dloadmp3-MI.whilelinks:hover { }
90
- div.dloadmp3-MI a { display:block; width:auto; padding:1px 5px 2px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; height:100%; border-bottom:none; visibility:hidden; }
91
- div.dloadmp3-MI a:hover { outline: none; border-bottom: none; color: #ececec; }
92
- div.dloadmp3-MI.whilelinks a { visibility: inherit; }
93
- div.dloadmp3-MI.whilelinks a:hover { }
94
- div.dloadmp3-MI p { display:block; width:auto; padding:1px 5px 2px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; /* after font declaration */ height:100%; border-bottom:none; visibility:visible; }
95
-
96
- /* POPOUT BUTTON */
97
- div.mp3j-popout-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif; bottom:17px; left:0px; height:16px; padding:3px 5px 0px 28px; min-width:2px; cursor:default; }
98
- div.mp3j-popout-MI:hover { background-position:-8px -95px; }
99
-
100
- /* BARS
101
- ----------------- */
102
- .ui-state-disabled { cursor:default !important; }
103
- .ui-slider { position:relative; text-align:left; }
104
- .ui-slider .ui-slider-handle { position:absolute; z-index:200; cursor:default; }
105
- .ui-slider .ui-slider-range { position:absolute; z-index:1; font-size:.7em; display:block; border:0; }
106
- .ui-slider-horizontal .ui-slider-range { top:0; height:100%; }
107
- .ui-slider-horizontal .ui-slider-range-min { left:0; }
108
- .ui-slider-horizontal .ui-slider-range-max { right:0; }
109
- .ui-state-default, .ui-widget-content .ui-state-default { outline:none; border:0px; }
110
-
111
- /* VOLUME */
112
- div.MIsliderVolume { position:absolute; top:0px; right:4px; width:108px; height:4px !important; background:transparent; border:0px; font-size:1px; cursor:default; z-index:150; }
113
- div.MIsliderVolume .ui-widget-header { /* background */ }
114
- div.MIsliderVolume .ui-slider-handle { border:0px; height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; top:-3px; border:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; background:transparent url('images/vol-handle.png') no-repeat -1px 0px; z-index:150; overflow:hidden !important; cursor:default; }
115
- div.MIsliderVolume .ui-slider-handle:hover { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; }
116
- div.MIsliderVolume .ui-state-active, div.MIsliderVolume .ui-widget-content .ui-state-active { border:0px; background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; }
117
-
118
- /* LOADER AND POS SLIDER */
119
- div.bars_holder, div.loadMI_mp3j, div.poscolMI_mp3j, div.posbarMI_mp3j { position:absolute; top:0px; left:0px; }
120
- div.bars_holder { right:0; width:100%; bottom:38px; font-size:1px; cursor:default; background:transparent url('images/t60w.png') repeat-x left bottom;/* 1px highlight top of control bar */ }
121
- div.loadMI_mp3j { bottom:1px; /* background */ /* opacity */ }
122
- div.poscolMI_mp3j { bottom:1px; /* background */ /* opacity */ }
123
- div.bars_holder .ui-widget-header, div.bars_holder .ui-widget-content { border:0px !important; background:none; }
124
- div.bars_holder .ui-slider-horizontal { top:0px; bottom:1px; height:auto; z-index:90; }
125
- div.posbarMI_mp3j { bottom:1px; width:100%; }
126
- div.posbarMI_mp3j .ui-slider-handle { top:-6px; margin-left:-1px !important; border:0; bottom:-2px; width:2px !important; z-index:100; background:none; cursor:default ; padding:0px !important; }
127
- div.posbarMI_mp3j .ui-slider-handle:hover { background:none; z-index:100; }
128
-
129
-
130
-
131
-
132
-
133
- /* text mods as default */
134
- div.innerx, div.innerleft, div.innerright { position: absolute; visibility: hidden; }
135
- div.innertab { bottom: 38px; }
136
- div.jp-interface { background:none; }
137
- div.player-track-title { font:normal normal 500 16px/18px 'trebuchet ms', Arial, sans-serif; }
138
- div.player-track-title span { font:italic normal 500 12px/14px 'trebuchet ms', Arial, sans-serif; opacity:0.7; filter:alpha(opacity=70); }
139
- div.jp-play-time, div.jp-total-time, div.statusMI { bottom:20px; font-size:11px; font-family: 'trebuchet ms', Arial, sans-serif; }
140
- div.jp-play-time { width:37px; left:0px; opacity:0.6; filter:alpha(opacity=60); }
141
- div.jp-total-time { width:37px; left:100px; display:none; }
142
- div.statusMI { left:37px; width:70px !important; }
143
- div.transport-MI { height:26px; right:2px; bottom:12px; }
144
- div.transport-MI div { font-family: 'trebuchet ms', Arial, sans-serif; font-weight:700; overflow:hidden !important; background:none !important; white-space:nowrap !important; }
145
- div.buttons_mp3j { text-indent:4px !important; width:32px; overflow:hidden !important; height: 25px; margin:0 6px 0 0px; background:none !important; line-height:25px !important; font-size:14px; }
146
- div.buttons_mp3jpause { text-indent:-29px !important; width:38px; overflow:hidden !important; height: 25px; margin:0 -3px 0 3px; background:none !important; line-height:25px !important; font-size:14px; }
147
- div.Prev_mp3j, div.Next_mp3j { text-indent:0px !important; height:23px; line-height:23px !important; font-size:12px; width:36px; margin:2px 0px 0px 0px; }
148
- div.stop_mp3j { text-indent:0px !important; width:31px; height:25px; margin:0px 0px 0px 4px; line-height:25px !important; font-size:14px; }
149
-
150
- div.playlist-toggle-MI { bottom: 7px; font-family:'trebuchet ms', Arial, sans-serif; background:none !important; padding:0; opacity:0.6; filter:alpha(opacity=60); }
151
- div.playlist-toggle-MI:hover { opacity:1.0; filter:alpha(opacity=100); background:none !important; }
152
- div.dloadmp3-MI { font-size:11px; bottom: 6px; height:auto; right:0px !important; left:auto; margin:0; font-family: 'trebuchet ms', Arial, sans-serif; text-align:right; background:none !important; }
153
- div.dloadmp3-MI a { color:#888; font-size:inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
154
- div.dloadmp3-MI a:hover { color:#555; background:none !important; }
155
- div.dloadmp3-MI.betweenlinks a { display:none; background:none !important; }
156
- div.dloadmp3-MI.whilelinks a { display:block; background:none !important; }
157
- div.dloadmp3-MI.whilelinks a:hover { text-decoration:none; background:none !important; }
158
- div.dloadmp3-MI p { font-size: inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
159
- div.mp3j-popout-MI { color:#888; font:normal normal 500 11px 'trebuchet ms', 'arial', sans-serif; bottom:15px; right:155px; left:auto; width:auto; opacity:1; filter:alpha(opacity=100); padding:0px; line-height:12px; border:0; background:none !important; cursor:default; z-index:500; }
160
- div.mp3j-popout-MI:hover { color:#555; opacity:1.0; filter:alpha(opacity=100); }
161
- div.MIsliderVolume { position:absolute; bottom:38px; top:auto; right:4px; width:108px !important; height:1px !important; background:transparent; border:0px; font-size:1px; cursor:default; z-index:150; }
162
- div.MIsliderVolume .ui-slider-handle, div.vol_mp3j .ui-slider-handle { height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; top:-7px; border:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; background:transparent url('images/vol-handle.png') no-repeat -41px 0px; z-index:150; overflow:hidden !important; cursor:default; }
163
- div.MIsliderVolume .ui-slider-handle:hover, div.vol_mp3j .ui-slider-handle:hover { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; }
164
- div.MIsliderVolume .ui-state-active, div.MIsliderVolume .ui-widget-content .ui-state-active, div.vol_mp3j .ui-state-active, div.vol_mp3j .ui-widget-content .ui-state-active { border:0px; background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; }
165
-
166
- div.dloadmp3-MI.whilelinks, div.dloadmp3-MI.logintext { background:none !important; }
167
-
168
-
169
-
170
- /* FORCED DOWNLOAD FRAME
171
- ------------------------ */
172
-
173
- div.mp3j-dlframe, iframe.mp3j-dlframe {
174
- border:0px solid #ddd;
175
- width:1px;
176
- height:1px;
177
- overflow:hidden;
178
- margin:0;
179
- padding:0;
180
- display:none !important;
181
- }
182
-
183
- /* MESSAGES */
184
- div.mp3j-finfo {
185
- position:absolute;
186
- top:36px;
187
- z-index:9999 !important;
188
- width:80%;
189
- left:10%;
190
- -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
191
- background:url('images/fdloadW-x.png') repeat-x left top;
192
- -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
193
- padding:0;
194
- min-height:31px;
195
- overflow:hidden;
196
- min-width:170px;
197
- }
198
-
199
- div.mp3j-finfo * { font-family:Arial, Helvetica, sans-serif !important; }
200
- div.mp3j-finfo-sleeve { position:relative !important; width:100%; height:100%; }
201
- div.mp3j-finfo-gif { position:absolute !important; top:0; left:0; right:10%; bottom:0; background:url('images/loader.gif') no-repeat center 37px; width:auto; padding:0px; height:100%; }
202
- div.mp3j-finfo-txt { position:relative !important; margin:0px 15px 0 15px !important; padding:10px 0 10px 0 !important; width:auto; }
203
- div.mp3j-finfo-close { position:absolute !important; width:31px !important; height:27px !important; padding-top:5px !important; right:0 !important; top:0 !important; text-align:center !important; font-weight:700 !important; font-size:18px !important; line-height:22px !important; color:#aaa !important; border-bottom:1px solid #ccc !important; border-left:1px solid #ccc !important; background:url('images/t40w.png') repeat left top !important; }
204
- div.mp3j-finfo-close:hover { color:#888 !important; }
205
-
206
- div.mp3j-finfo-txt h2 { font-size:15px !important; color:#333 !important; margin:0 0 10px 0 !important; }
207
- div.mp3j-finfo-txt h3 { font-size:14px !important; color:#333 !important; margin:0 0 15px 0 !important; }
208
- div.mp3j-finfo-txt p { font-size:11px !important; color:#555 !important; line-height:13px !important; margin:0 0 5px 0 !important; }
209
- div.mp3j-finfo-txt a { }
210
-
211
-
212
-
213
-
214
-
215
- .mp3j-nosolution
216
- {
217
- position:absolute;
218
- z-index:9999;
219
- height:auto;
220
- padding:5%;
221
- border:1px solid #c0c0c0;
222
- background:#f0f0f0;
223
- color:#333;
224
- top:4px;
225
- left:4px;
226
- right:4px;
227
- -webkit-border-top-left-radius: 8px;
228
- -webkit-border-top-right-radius: 8px;
229
- -moz-border-radius-topleft: 8px;
230
- -moz-border-radius-topright: 8px;
231
- border-top-left-radius: 8px;
232
- border-top-right-radius: 8px;
233
- font-size:13px;
234
- -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
235
- }
236
-
237
- .s-nosolution
238
- {
239
- }
240
-
241
-
242
-
243
-
244
- /* backwards compat
245
- ------------------- */
246
- div.player-track-title.mp3j_widgetmods { font-size: 14px; }
247
- div.player-track-title.mp3j_widgetmods span { font-size: 11px; }
248
- ul.UL-MI_mp3j.mp3j_widgetmods li { font-size:11px !important; line-height:14px !important; }
249
- ul.UL-MI_mp3j.mp3j_widgetmods li a { font-size:11px !important; line-height:14px !important; }
250
-
251
-
252
-
253
-
254
-
255
- /*-------------------------
256
- [mp3j] & [mp3t] SHORTCODES
257
- ==================================== */
258
- span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
259
- /*span.wrap_inline_mp3j:hover .buttons_mp3j { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }*/
260
- span.indi_mp3j { position:relative; padding-left:2px; font-size: 0.7em !important; }
261
-
262
- /* BARS */
263
- span.bars_mp3j { position:absolute; width:100%; height:100%; }
264
- span.load_mp3j, span.loadB_mp3j { position:absolute; /* background */ top:20px; left:0px; height:2px; }
265
- /* mp3t */
266
- span.posbar_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
267
- span.posbar_mp3j .ui-widget-header { z-index:-500; }
268
- span.posbar_mp3j .ui-slider-handle { top: 2px; margin-left:-2px; border:1px solid #999; height:21px; width:4px; z-index:500; background:url('images/t20b.png') repeat; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
269
- span.posbar_mp3j .ui-slider-handle:hover { background:url('images/t15b.png') repeat; border-color:#aaa; }
270
- /* mp3j */
271
- span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0; z-index:450; cursor:pointer; }
272
- span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:450; height:100%; }
273
- span.posbarB_mp3j .ui-slider-handle { top: 0px; margin-left:-6px !important; border:0px solid #888; height:23px; width:12px !important; z-index: 500; background: transparent url('images/inlineHandle2.png') no-repeat -3px -3px; cursor: default; padding:0px !important; }
274
- span.posbarB_mp3j .ui-slider-handle:hover { background: transparent url('images/inlineHandle2.png') no-repeat -3px -33px; }
275
-
276
- /* SPAN TRANSPORT */
277
- span.group_wrap { position:relative; margin:0px 0px 0px 0px; width:auto; }
278
- span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; margin:0px; padding:0px; }
279
- span.buttons_mp3j { position:relative; margin:0px; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -80px -3px; }
280
- span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }
281
- span.buttons_mp3jpause { position:relative; margin:0px; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -2px -3px; }
282
- span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -35px; }
283
-
284
- /* VOLUMES */
285
- span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; }
286
- span.vol_mp3j { position:absolute; top:-9px; right:5px; width:85%; max-width:100px; height:2px; }
287
- span.vol_mp3j.flipped { right:4px; }
288
- span.vol_mp3t .ui-widget-header, span.vol_mp3j .ui-widget-header { background: transparent url('images/vol-grad60b2.png') repeat left top; z-index:500; height:100%; }
289
- span.vol_mp3t .ui-slider-handle, span.vol_mp3j .ui-slider-handle { height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; border:0px !important; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; z-index:600; overflow:hidden !important; cursor:default; top:-6px; background: transparent url('images/vol-handle.png') no-repeat -1px 0px; }
290
- span.vol_mp3t .ui-slider-handle:hover, span.vol_mp3j .ui-slider-handle:hover { background: transparent url('images/vol-handle.png') no-repeat -21px 0px; }
291
- span.vol_mp3t .ui-state-active, span.vol_mp3t .ui-widget-content .ui-state-active, span.vol_mp3j .ui-state-active, span.vol_mp3j .ui-widget-content .ui-state-active { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; border:0px; }
292
-
293
-
294
- /*----------------------
295
- [mp3j-popout] SHORTCODE
296
- ================================================= */
297
- .mp3j-popout-link-wrap { cursor:pointer; position:relative; clear:left; }
298
- .mp3j-popout-link { float:left; margin:0 5px 0 0; min-width:22px; min-height:18px; background:url('images/buttons-popout.png') no-repeat -10px -65px; }
299
- .mp3j-popout-link-wrap:hover .mp3j-popout-link { background:url('images/buttons-popout.png') no-repeat -10px -95px; }
300
-
301
-
302
-
303
-
304
- /*-------------
305
- CUSTOM CLASSES
306
- (via 'style' param in shortcode)
307
- ================================================= */
308
-
309
-
310
- /* ===== "nolistbutton" ===== */
311
- .nolistbutton div.playlist-toggle-MI { visibility:hidden; }
312
-
313
- /* ===== "nopopoutbutton" ===== */
314
- .nopopoutbutton div.mp3j-popout-MI { display:none; }
315
-
316
- /* ===== "nopn" ===== */
317
- .nopn div.Prev_mp3j { display:none; }
318
- .nopn div.Next_mp3j { display:none; }
319
-
320
- /* ===== "nostop" ===== */
321
- .nostop div.stop_mp3j { display:none; }
322
-
323
-
324
- /* ===== "bars100" ===== */
325
- .bars100 div.player-track-title { left:112px; }
326
- .bars100 div.dloadmp3-MI { left:102px; width:36%;}
327
- .bars100 div.bars_holder { left:102px; width:auto; }
328
- .bars100 .MI-image img { padding:1px; background-color:transparent; }
329
-
330
- /* ===== "bars150" ===== */
331
- .bars150 div.player-track-title { left:162px; }
332
- .bars150 div.dloadmp3-MI { left:152px; width:33%;}
333
- .bars150 div.bars_holder { left:152px; width:auto; }
334
- .bars150 .MI-image img { padding:1px; background-color:transparent; }
335
-
336
- /* ===== "bars200" ===== */
337
- .bars200 div.player-track-title { left:212px; }
338
- .bars200 div.dloadmp3-MI { left:202px; width:30%; }
339
- .bars200 div.bars_holder { left:202px; width:auto; }
340
- .bars200 .MI-image img { padding:1px; background-color:transparent; }
341
-
342
- /* ===== "bars250" ===== */
343
- .bars250 div.player-track-title { left:262px; }
344
- .bars250 div.dloadmp3-MI { left:252px; width:27%;}
345
- .bars250 div.bars_holder { left:252px; width:auto; }
346
- .bars250 .MI-image img { padding:1px; background-color:transparent; }
347
-
348
- /* ===== "bars300" ===== */
349
- .bars300 div.player-track-title { left:312px; }
350
- .bars300 div.dloadmp3-MI { left:302px; width:24%; }
351
- .bars300 div.bars_holder { left:302px; width:auto; }
352
- .bars300 .MI-image img { padding:1px; background-color:transparent; }
353
-
354
- /* ===== "bars350" ===== */
355
- .bars350 div.player-track-title { left:362px; }
356
- .bars350 div.dloadmp3-MI { left:352px; width:21%;}
357
- .bars350 div.bars_holder { left:352px; width:auto; }
358
- .bars350 .MI-image img { padding:1px; background-color:#transparent; }
359
-
360
- /* ===== "bars400" ===== */
361
- .bars400 div.player-track-title { left:412px; }
362
- .bars400 div.dloadmp3-MI { left:402px; width:18%; }
363
- .bars400 div.bars_holder { left:402px; width:auto; }
364
- .bars400 .MI-image img { padding:1px; background-color:transparent; }
365
-
366
- /* ===== bigger1 ===== */
367
- .bigger1 { font-size:18px; line-height:26px !important; margin:0 !important; }
368
- .bigger1 span.load_mp3j,
369
- .bigger1 span.loadB_mp3j { top:24px; left:0px; height:2px; }
370
- .bigger1 span.posbar_mp3j .ui-slider-handle { top: 3px; height:24px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
371
- .bigger1 span.posbarB_mp3j .ui-slider-handle { top: 3px; margin-left:-3px !important; border:1px solid #999; height:24px; width:6px !important; z-index:500; background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
372
- .bigger1 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; border-color:#aaa; }
373
- .bigger1 span.buttons_mp3j { position:relative; margin:0px; margin-left:5px !important; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -80px 0px; }
374
- .bigger1 span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -32px; }
375
- .bigger1 span.buttons_mp3jpause { position:relative; margin:0px; margin-left:5px !important; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -2px 0px; }
376
- .bigger1 span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -32px; }
377
- .bigger1 span.vol_mp3j { position:absolute; top:-6px; right:7px; width:85%; max-width:100px; height:2px; }
378
-
379
- .bigger1 div.player-track-title { font:normal normal 500 18px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
380
- .bigger1 div.player-track-title span { font:normal normal 500 14px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
381
- .bigger1 ul.UL-MI_mp3j li a, .bigger1 ul.UL-MI_mp3j li { font-size:16px !important; line-height:19px !important; }
382
- .bigger1 .indi_mp3j { font-size: 0.6em !important; }
383
-
384
- /* ===== "bigger2" ===== */
385
- .bigger2 div.player-track-title { font:normal normal 500 36px/38px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
386
- .bigger2 div.player-track-title span { font:normal normal 500 20px/22px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
387
- .bigger2 ul.UL-MI_mp3j li a, .bigger2 ul.UL-MI_mp3j li { font-size:20px !important; line-height:24px !important; }
388
- .bigger2 { font-size:23px; line-height:25px !important; margin:0 !important; }
389
- .bigger2 span.load_mp3j,
390
- .bigger2 span.loadB_mp3j { top:26px; left:0px; height:2px; }
391
- .bigger2 span.posbar_mp3j .ui-slider-handle { top: 0px; height:28px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
392
- .bigger2 span.posbarB_mp3j .ui-slider-handle { top: -1px; margin-left:-3px !important; border:1px solid #999; height:29px; width:8px !important; z-index:500; border-color:#aaa; background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
393
- .bigger2 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; border-color:#999; }
394
- .bigger2 .buttons_mp3j { padding:2px 0px 4px 20px !important; background:url('images/play-dark2-b.png') no-repeat -186px center; border:0px solid #bbb; margin-left:10px; }
395
- .bigger2 .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -437px center; }
396
- .bigger2 .buttons_mp3jpause { padding:0px 0px 2px 20px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
397
- .bigger2 .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
398
- .bigger2 span.vol_mp3j { position:absolute; top:-12px; right:4px; width:85%; max-width:100px; height:2px; }
399
- .bigger2 span.vol_mp3t { position:absolute; top:-10px; width:85%; max-width:100px; height:2px; }
400
- .bigger2 .Smp3-finding,
401
- .bigger2 .mp3-tint,
402
- .bigger2 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 10px !important; font-size:12px !important; line-height:12px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
403
- .bigger2 .mp3-gtint { margin:0 6px 0 -16px; }
404
- .bigger2 .indi_mp3j { font-size: 0.5em !important; padding-left:0px; }
405
-
406
- /* ===== bigger3 ===== */
407
- .bigger3 { font-size:28px; line-height:36px !important; margin:0 !important; }
408
- .bigger3 .load_mp3j, .bigger3 .loadB_mp3j { top:37px; left:0px; height:3px; }
409
- .bigger3 .posbar_mp3j .ui-slider-handle, .bigger3 .posbarB_mp3j .ui-slider-handle { top: 0px; border:1px solid #bbb; height:40px; width:12px !important; margin-left:-5px !important; background:url('images/stop-dark2-b.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
410
- .bigger3 .posbar_mp3j .ui-slider-handle:hover, .bigger3 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; border:1px solid #aaa; }
411
- .bigger3 .indi_mp3j { font-size: 0.5em !important; }
412
- .bigger3 .buttons_mp3j { padding:8px 0px 12px 30px !important; background:url('images/play-dark2-b.png') no-repeat -177px center; border:0px solid #bbb; margin-left:12px; }
413
- .bigger3 .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -428px center; }
414
- .bigger3 .buttons_mp3jpause { padding:2px 0px 6px 30px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:12px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
415
- .bigger3 .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
416
- .bigger3 .vol_mp3j { height:1px; max-width:110px; right:64px; top:-8px; }
417
- .bigger3 .vol_mp3t { height:1px; max-width:110px; right:16px; top:-5px; }
418
- .bigger3 .vol_mp3j .ui-slider-handle, .bigger3 .vol_mp3t .ui-slider-handle { height:14px !important; width:33px !important; margin-left:-16px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-14px; background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
419
- .bigger3 .vol_mp3j .ui-slider-handle:hover, .bigger3 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
420
- .bigger3 .Smp3-finding,
421
- .bigger3 .mp3-tint,
422
- .bigger3 .mp3-gtint { margin-left:8px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
423
- .bigger3 .mp3-gtint { margin:0 2px 0 -14px; }
424
- .bigger3 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
425
- .bigger3 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
426
- .bigger3 ul.UL-MI_mp3j li a, .bigger3 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
427
-
428
-
429
- /* ===== bigger4 ===== */
430
- .bigger4 { font-size:38px; line-height:46px !important; margin:0 !important; }
431
- .bigger4 .load_mp3j, .bigger4 .loadB_mp3j { top:46px; left:0px; height:3px; }
432
- .bigger4 .posbar_mp3j .ui-slider-handle, .bigger4 .posbarB_mp3j .ui-slider-handle { top: -2px; border:1px solid #bbb; height:52px; width:20px !important; margin-left:-10px !important; background:url('images/stop-dark2-b.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
433
- .bigger4 .posbar_mp3j .ui-slider-handle:hover, .bigger4 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; border:1px solid #aaa; }
434
- .bigger4 .indi_mp3j { font-size: 0.5em !important; }
435
- .bigger4 .buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:8px 0px 12px 40px !important; background:url('images/play-dark2-b.png') no-repeat -167px center; border:0px solid #bbb; margin-left:15px; }
436
- .bigger4 .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -418px center; }
437
- .bigger4 .buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 4px 40px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:15px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
438
- .bigger4 .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
439
- .bigger4 .vol_mp3j { height:1px; max-width:110px; right:86px; top:-8px; }
440
- .bigger4 .vol_mp3t { height:1px; max-width:110px; right:20px; top:-5px; }
441
- .bigger4 .vol_mp3j .ui-slider-handle, .bigger4 .vol_mp3t .ui-slider-handle { height:20px !important; width:43px !important; margin-left:-21px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-20px; background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
442
- .bigger4 .vol_mp3j .ui-slider-handle:hover, .bigger4 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
443
- .bigger4 .Smp3-finding,
444
- .bigger4 .mp3-tint,
445
- .bigger4 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
446
- .bigger4 .mp3-gtint { margin:0 6px 0 -20px; }
447
-
448
- .bigger4 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
449
- .bigger4 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
450
- .bigger4 ul.UL-MI_mp3j li a, .bigger4 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
451
-
452
-
453
- /* ===== bigger5 ===== */
454
- .bigger5 { font-size:48px; line-height:60px !important; margin:0 !important; }
455
- .bigger5 .load_mp3j, .bigger5 .loadB_mp3j { top:63px; left:0px; height:4px; }
456
- .bigger5 .posbar_mp3j .ui-slider-handle, .bigger5 .posbarB_mp3j .ui-slider-handle { top: -1px; border:1px solid #bbb; height:69px; width:20px !important; margin-left:-10px !important; background:url('images/stop-dark2-b.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
457
- .bigger5 .posbar_mp3j .ui-slider-handle:hover, .bigger5 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; border:1px solid #aaa; }
458
- .bigger5 .indi_mp3j { font-size: 0.5em !important; }
459
- .bigger5 .buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:8px 0px 13px 52px !important; background:url('images/play-dark2-b.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
460
- .bigger5 .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -405px center; }
461
- .bigger5 .buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:3px 0px 8px 52px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:15px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
462
- .bigger5 .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
463
- .bigger5 .vol_mp3j { height:1px; max-width:170px; right:115px; top:-10px; }
464
- .bigger5 .vol_mp3t { height:1px; max-width:170px; right:33px; top:-5px; }
465
- .bigger5 .vol_mp3j .ui-slider-handle, .bigger5 .vol_mp3t .ui-slider-handle { height:30px !important; width:55px !important; margin-left:-21px; border-bottom:1px solid #aaa !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-30px; background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
466
- .bigger5 .vol_mp3j .ui-slider-handle:hover, .bigger5 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
467
- .bigger5 .Smp3-finding,
468
- .bigger5 .mp3-tint,
469
- .bigger5 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
470
- .bigger5 .mp3-gtint { margin:0 6px 0 -20px; }
471
-
472
- .bigger5.wh .posbar_mp3j .ui-slider-handle, .bigger5.wh .posbarB_mp3j .ui-slider-handle { background:url('images/stop-dark2-w.png') repeat-y -350px top; border:1px solid #888; }
473
- .bigger5.wh .posbar_mp3j .ui-slider-handle:hover, .bigger5.wh .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-w.png') repeat-y 0px top; border:1px solid #777; }
474
- .bigger5.wh .buttons_mp3j { background:url('images/play-dark2-w.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
475
- .bigger5.wh .buttons_mp3j:hover { background:url('images/play-dark2-w.png') no-repeat -405px center; }
476
- .bigger5.wh .buttons_mp3jpause { background:url('images/stop-dark2-w.png') repeat-y 0px top; }
477
- .bigger5.wh .buttons_mp3jpause:hover { background:url('images/stop-dark2-w.png') repeat-y -350px top; }
478
- .bigger5.wh .vol_mp3j .ui-slider-handle, .bigger5.wh .vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-bw.png') no-repeat -10px bottom; }
479
- .bigger5.wh .vol_mp3j .ui-slider-handle:hover, .bigger5.wh .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-w.png') no-repeat -257px bottom; }
480
-
481
-
482
- /* ===== "smaller" ===== */
483
- .smaller div.player-track-title { font:normal normal 500 11px/13px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; left:3px; right:5px; }
484
- .smaller div.player-track-title span { font:normal normal 500 10px/10px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; padding:0; }
485
- .smaller ul.UL-MI_mp3j li a, .smaller ul.UL-MI_mp3j li { font-size:10px !important; font-family:'verdana', Helvetica, sans-serif !important; line-height:13px !important; }
486
-
487
-
488
-
489
-
490
-
491
-
492
-
493
- /* ===== outline ==== */
494
- span.outline { font-size:14px; line-height:22px !important; margin:0 !important; }
495
- .outline span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; background: transparent; }
496
- .outline span.vol_mp3j { position:absolute; top:-9px; right:7px; width:85%; max-width:100px; height:2px; background: transparent; }
497
- .outline span.buttons_mp3j { padding:2px 0px 3px 20px; background: transparent url('images/transport-outline.png') no-repeat -80px -2px; border:0; margin:0; }
498
- .outline span.buttons_mp3j:hover { background:transparent url('images/transport-outline.png') no-repeat -80px -34px; }
499
- .outline span.buttons_mp3jpause { padding:2px 0px 3px 20px; background: transparent url('images/transport-outline.png') no-repeat 1px -2px; border:0; margin:0; }
500
- .outline span.buttons_mp3jpause:hover { background:transparent url('images/transport-outline.png') no-repeat 1px -34px; }
501
- .outline span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
502
- .outline span.posbarB_mp3j .ui-widget-header { z-index:-500; }
503
- .outline span.posbarB_mp3j .ui-slider-handle { top: 0px; margin-left:0px; border:1px solid #aaa; height:23px; width:5px !important; z-index:500; background:url('images/t10b.png') repeat; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
504
- .outline span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t20b.png') repeat; border-color:#777; }
505
-
506
- .outline div.transport-MI div { background-image: url("images/transport-hardZ.png"); }
507
-
508
-
509
- /* ===== wtransbars ==== */
510
- .wtransbars div.loadMI_mp3j { background:#fff; opacity:0.1; filter:alpha(opacity=10); }
511
- .wtransbars div.poscolMI_mp3j { background:#fff url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
512
- .wtransbars div.player-track-title { color:#fff; }
513
-
514
- /* ===== btransbars ==== */
515
- .btransbars div.loadMI_mp3j { background:#000; opacity:0.1; filter:alpha(opacity=10); }
516
- .btransbars div.poscolMI_mp3j { background:#000 url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
517
- .btransbars div.player-track-title { color:#000; }
518
-
519
-
1
+ /*
2
+ MP3-jPlayer 1.8.1 - Text
3
+ www.sjward.org */
4
+
5
+ /*---------------------
6
+ [mp3-jplayer] SHORTCODE
7
+ ==================================== */
8
+
9
+ /* SKIN
10
+ --------------- */
11
+ /* MAIN WRAPPER (default class) */
12
+ div.wrap-MI { border:0; margin:0; background:none; min-width:116px; /* position||float set in-line! */ /* width set in-line! */ }
13
+
14
+ /* SUB WRAPPERS */
15
+ div.jp-innerwrap, div.jp-interface, div.listwrap_mp3j, div.playlist-wrap-MI { position:relative !important; width:100%; border:0; margin:0; padding:0; }
16
+ div.jp-innerwrap { background:none; }
17
+ div.jp-interface { background:url('images/shadow-x.png') repeat-x left bottom; height:101px/*player default height*/; min-height:67px; cursor:default; }
18
+ div.listwrap_mp3j { margin-top:0px; /* background set from admin */ }
19
+
20
+ /* BACKGROUNDS */
21
+ div.innerx, div.innerleft, div.innerright, div.innertab { position:absolute; }
22
+ div.innerx { background:url('images/case-grad-x.png') repeat-x left -45px; width:auto; height:35px; left:0px; right:0px; bottom:3px; }
23
+ div.innerleft { background:url('images/shadow-l.png') no-repeat left bottom; width:1px; height:40px; left:-1px; bottom:0px; }
24
+ div.innerright { background:url('images/shadow-r.png') no-repeat right bottom; width:2px; height:40px; right:-2px; bottom:0px; }
25
+ div.innertab { /* background and opacity set from admin */ left:0px; top:0px; width:100%; bottom:38px; }
26
+
27
+ /* PLAYLIST
28
+ ----------------- */
29
+ div.playlist-colour { position:absolute; width:100%; height:100%; left:0px; top:0px; /* background set from admin */ /* opacity set from admin */ }
30
+ div.playlist-wrap-MI ul { position:static; }
31
+ ul.UL-MI_mp3j { margin:0px !important; padding:0px 0px 0px 0px !important; list-style-type:none !important; list-style:none !important; list-style-image:none !important; font-weight: 500 !important; /* background */ }
32
+ ul.UL-MI_mp3j li { margin:0px !important; padding:0px 0px 1px 0px !important; list-style-type:none !important; font-weight:500 !important; line-height:15px !important; letter-spacing:0px !important; font-size:11px !important; word-spacing:0px !important; margin:0px 1px 0px 1px !important; }
33
+ ul.UL-MI_mp3j li:before { content:none !important; }
34
+ ul.UL-MI_mp3j li a { font-size:11px !important; border:0 !important; line-height:15px !important; font-weight:500 !important; text-decoration:none !important; display:block !important; width:auto !important; font-family:'verdana', 'Lucida Grande', 'arial', sans-serif !important; outline:none !important; padding:6px 0px 6px 14px !important; }
35
+
36
+ /* SCREEN
37
+ ----------------- */
38
+ div.player-track-title, div.jp-play-time, div.jp-total-time, div.statusMI { position:absolute; z-index:50; /* color set from admin */ font:normal normal 500 14px/16px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
39
+
40
+ div.player-track-title { top:7px; left:9px; width:auto; right:10px; }
41
+ div.player-track-title span { font-size:10px; line-height:12px; padding-left:10px; max-width:95%; }
42
+
43
+ div.jp-play-time, div.jp-total-time, div.statusMI { font-size:8px; line-height:10px !important; bottom:42px; text-align:left; font-family:Verdana, Arial, Helvetica, sans-serif; }
44
+ div.jp-play-time { right:84px; }
45
+ div.jp-total-time { right:6px; opacity:0.8; width:auto; }
46
+
47
+ span.mp3-finding, span.Smp3-finding, span.mp3-tint, span.mp3-gtint { padding:0px 0px 0px 6px !important; font-size:8px !important; line-height:10px !important; height:10px !important; overflow:hidden !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
48
+ span.mp3-finding, span.Smp3-finding { margin:0px 0px 0px -2px; background:url('images/finding-bar1f.gif') repeat 0px 3px; }
49
+ span.mp3-tint { margin:0px 2px 0px -6px; opacity:.5; filter:alpha(opacity=50); /* background */ }
50
+ span.mp3-gtint { margin:0px 2px 0px -6px; opacity:.5; filter:alpha(opacity=50); background:#777; }
51
+ span.Smp3-finding { margin:0px 0px 0px 3px; }
52
+ span.tintmarg { margin:0 2px 0 3px; }
53
+
54
+ div.statusMI { right:27px; width:52px !important; height:10px; }
55
+ .statusMI span.mp3-finding, .statusMI span.Smp3-finding, .statusMI span.mp3-tint, .statusMI span.mp3-gtint { padding:0px 0px 0px 6px !important; }
56
+ .statusMI span.mp3-tint, .statusMI span.mp3-gtint { margin:0px 2px 0px -6px; }
57
+
58
+ .MI-image { position:absolute; top:0; left:0; padding:0; }
59
+ .MI-image a img { border:none; padding:1px; background-color:#ccc; }
60
+ .MI-image a:hover img { /* background-colour */ }
61
+
62
+ /* BUTTONS
63
+ ----------------- */
64
+ /* TRANSPORT BUTTONS */
65
+ div.transport-MI { position:absolute; width:auto; height:37px; right:2px; bottom:0px; border:0; }
66
+ div.transport-MI div { float:right; }
67
+ /* play */
68
+ div.buttons_mp3j { width:30px; height:32px; margin:1px 0px 0px 0px; background-position:-110px 0px; }
69
+ div.buttons_mp3j:hover { background-position:-110px -32px; }
70
+ /* pause */
71
+ div.buttons_mp3jpause { width:30px; height:32px; margin:1px 0px 0px 0px; background-position:-2px 0px; }
72
+ div.buttons_mp3jpause:hover { background-position:-2px -32px; }
73
+ /* prev n next */
74
+ div.Prev_mp3j { width:22px; height:28px; margin:1px 4px 0px 0px; background-position:-32px -1px; }
75
+ div.Prev_mp3j:hover { background-position:-32px -33px; }
76
+ div.Next_mp3j { width:19px; height:28px; margin:1px 3px 0px 0px; background-position:-57px -1px; }
77
+ div.Next_mp3j:hover { background-position:-57px -33px; }
78
+ /* stop */
79
+ div.stop_mp3j { width:26px; height:32px; margin:1px 3px 0px 0px; background-position:-81px 0px; }
80
+ div.stop_mp3j:hover { background-position:-81px -32px; }
81
+
82
+ /* PLAYLIST TOGGLE */
83
+ div.playlist-toggle-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif; bottom:4px; left:1px; color:#707070; padding:2px 6px 2px 5px; line-height:9px; min-width:24px; background:#bcbcbc; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; cursor:default; }
84
+ div.playlist-toggle-MI:hover { background:#c6c6c6; color:#777; }
85
+
86
+ /* DOWNLOAD BUTTON */
87
+ div.dloadmp3-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; bottom:39px; margin:0px !important; font-size:9px !important; text-align:center; left:0px; width:41%; min-width:75px; max-width:425px; padding:0px 0px 0px 0px !important; border:0px; background:transparent url('images/t10b.png') repeat left top !important; color:#fff; line-height:11px !important; -moz-border-radius-topright:3px; -webkit-border-top-right-radius:3px; overflow:hidden; z-index:150; cursor:default; }
88
+ div.dloadmp3-MI.whilelinks, div.dloadmp3-MI.logintext { }
89
+ div.dloadmp3-MI.whilelinks:hover { }
90
+ div.dloadmp3-MI a { display:block; width:auto; padding:1px 5px 2px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; height:100%; border-bottom:none; visibility:hidden; }
91
+ div.dloadmp3-MI a:hover { outline: none; border-bottom: none; color: #ececec; }
92
+ div.dloadmp3-MI.whilelinks a { visibility: inherit; }
93
+ div.dloadmp3-MI.whilelinks a:hover { }
94
+ div.dloadmp3-MI p { display:block; width:auto; padding:1px 5px 2px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; /* after font declaration */ height:100%; border-bottom:none; visibility:visible; }
95
+
96
+ /* POPOUT BUTTON */
97
+ div.mp3j-popout-MI { position:absolute; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif; bottom:17px; left:0px; height:16px; padding:3px 5px 0px 28px; min-width:2px; cursor:default; }
98
+ div.mp3j-popout-MI:hover { background-position:-8px -95px; }
99
+
100
+ /* BARS
101
+ ----------------- */
102
+ .ui-state-disabled { cursor:default !important; }
103
+ .ui-slider { position:relative; text-align:left; }
104
+ .ui-slider .ui-slider-handle { position:absolute; z-index:200; cursor:default; }
105
+ .ui-slider .ui-slider-range { position:absolute; z-index:1; font-size:.7em; display:block; border:0; }
106
+ .ui-slider-horizontal .ui-slider-range { top:0; height:100%; }
107
+ .ui-slider-horizontal .ui-slider-range-min { left:0; }
108
+ .ui-slider-horizontal .ui-slider-range-max { right:0; }
109
+ .ui-state-default, .ui-widget-content .ui-state-default { outline:none; border:0px; }
110
+
111
+ /* VOLUME */
112
+ div.MIsliderVolume { position:absolute; top:0px; right:4px; width:108px; height:4px !important; background:transparent; border:0px; font-size:1px; cursor:default; z-index:150; }
113
+ div.MIsliderVolume .ui-widget-header { /* background */ }
114
+ div.MIsliderVolume .ui-slider-handle { border:0px; height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; top:-3px; border:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; background:transparent url('images/vol-handle.png') no-repeat -1px 0px; z-index:150; overflow:hidden !important; cursor:default; }
115
+ div.MIsliderVolume .ui-slider-handle:hover { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; }
116
+ div.MIsliderVolume .ui-state-active, div.MIsliderVolume .ui-widget-content .ui-state-active { border:0px; background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; }
117
+
118
+ /* LOADER AND POS SLIDER */
119
+ div.bars_holder, div.loadMI_mp3j, div.poscolMI_mp3j, div.posbarMI_mp3j { position:absolute; top:0px; left:0px; }
120
+ div.bars_holder { right:0; width:100%; bottom:38px; font-size:1px; cursor:default; background:transparent url('images/t60w.png') repeat-x left bottom;/* 1px highlight top of control bar */ }
121
+ div.loadMI_mp3j { bottom:1px; /* background */ /* opacity */ }
122
+ div.poscolMI_mp3j { bottom:1px; /* background */ /* opacity */ }
123
+ div.bars_holder .ui-widget-header, div.bars_holder .ui-widget-content { border:0px !important; background:none; }
124
+ div.bars_holder .ui-slider-horizontal { top:0px; bottom:1px; height:auto; z-index:90; }
125
+ div.posbarMI_mp3j { bottom:1px; width:100%; }
126
+ div.posbarMI_mp3j .ui-slider-handle { top:-6px; margin-left:-1px !important; border:0; bottom:-2px; width:2px !important; z-index:100; background:none; cursor:default ; padding:0px !important; }
127
+ div.posbarMI_mp3j .ui-slider-handle:hover { background:none; z-index:100; }
128
+
129
+
130
+
131
+
132
+
133
+ /* text mods as default */
134
+ div.innerx, div.innerleft, div.innerright { position: absolute; visibility: hidden; }
135
+ div.innertab { bottom: 38px; }
136
+ div.jp-interface { background:none; }
137
+ div.player-track-title { font:normal normal 500 16px/18px 'trebuchet ms', Arial, sans-serif; }
138
+ div.player-track-title span { font:italic normal 500 12px/14px 'trebuchet ms', Arial, sans-serif; opacity:0.7; filter:alpha(opacity=70); }
139
+ div.jp-play-time, div.jp-total-time, div.statusMI { bottom:20px; font-size:11px; font-family: 'trebuchet ms', Arial, sans-serif; }
140
+ div.jp-play-time { width:37px; left:0px; opacity:0.6; filter:alpha(opacity=60); }
141
+ div.jp-total-time { width:37px; left:100px; display:none; }
142
+ div.statusMI { left:37px; width:70px !important; }
143
+ div.transport-MI { height:26px; right:2px; bottom:12px; }
144
+ div.transport-MI div { font-family: 'trebuchet ms', Arial, sans-serif; font-weight:700; overflow:hidden !important; background:none !important; white-space:nowrap !important; }
145
+ div.buttons_mp3j { text-indent:4px !important; width:32px; overflow:hidden !important; height: 25px; margin:0 6px 0 0px; background:none !important; line-height:25px !important; font-size:14px; }
146
+ div.buttons_mp3jpause { text-indent:-29px !important; width:38px; overflow:hidden !important; height: 25px; margin:0 -3px 0 3px; background:none !important; line-height:25px !important; font-size:14px; }
147
+ div.Prev_mp3j, div.Next_mp3j { text-indent:0px !important; height:23px; line-height:23px !important; font-size:12px; width:36px; margin:2px 0px 0px 0px; }
148
+ div.stop_mp3j { text-indent:0px !important; width:31px; height:25px; margin:0px 0px 0px 4px; line-height:25px !important; font-size:14px; }
149
+
150
+ div.playlist-toggle-MI { bottom: 7px; font-family:'trebuchet ms', Arial, sans-serif; background:none !important; padding:0; opacity:0.6; filter:alpha(opacity=60); }
151
+ div.playlist-toggle-MI:hover { opacity:1.0; filter:alpha(opacity=100); background:none !important; }
152
+ div.dloadmp3-MI { font-size:11px; bottom: 6px; height:auto; right:0px !important; left:auto; margin:0; font-family: 'trebuchet ms', Arial, sans-serif; text-align:right; background:none !important; }
153
+ div.dloadmp3-MI a { color:#888; font-size:inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
154
+ div.dloadmp3-MI a:hover { color:#555; background:none !important; }
155
+ div.dloadmp3-MI.betweenlinks a { display:none; background:none !important; }
156
+ div.dloadmp3-MI.whilelinks a { display:block; background:none !important; }
157
+ div.dloadmp3-MI.whilelinks a:hover { text-decoration:none; background:none !important; }
158
+ div.dloadmp3-MI p { font-size: inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
159
+ div.mp3j-popout-MI { color:#888; font:normal normal 500 11px 'trebuchet ms', 'arial', sans-serif; bottom:15px; right:155px; left:auto; width:auto; opacity:1; filter:alpha(opacity=100); padding:0px; line-height:12px; border:0; background:none !important; cursor:default; z-index:500; }
160
+ div.mp3j-popout-MI:hover { color:#555; opacity:1.0; filter:alpha(opacity=100); }
161
+ div.MIsliderVolume { position:absolute; bottom:38px; top:auto; right:4px; width:108px !important; height:1px !important; background:transparent; border:0px; font-size:1px; cursor:default; z-index:150; }
162
+ div.MIsliderVolume .ui-slider-handle, div.vol_mp3j .ui-slider-handle { height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; top:-7px; border:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; background:transparent url('images/vol-handle.png') no-repeat -41px 0px; z-index:150; overflow:hidden !important; cursor:default; }
163
+ div.MIsliderVolume .ui-slider-handle:hover, div.vol_mp3j .ui-slider-handle:hover { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; }
164
+ div.MIsliderVolume .ui-state-active, div.MIsliderVolume .ui-widget-content .ui-state-active, div.vol_mp3j .ui-state-active, div.vol_mp3j .ui-widget-content .ui-state-active { border:0px; background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; }
165
+
166
+ div.dloadmp3-MI.whilelinks, div.dloadmp3-MI.logintext { background:none !important; }
167
+
168
+
169
+
170
+ /* FORCED DOWNLOAD FRAME
171
+ ------------------------ */
172
+
173
+ div.mp3j-dlframe, iframe.mp3j-dlframe {
174
+ border:0px solid #ddd;
175
+ width:1px;
176
+ height:1px;
177
+ overflow:hidden;
178
+ margin:0;
179
+ padding:0;
180
+ display:none !important;
181
+ }
182
+
183
+ /* MESSAGES */
184
+ div.mp3j-finfo {
185
+ position:absolute;
186
+ top:36px;
187
+ z-index:9999 !important;
188
+ width:80%;
189
+ left:10%;
190
+ -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
191
+ background:url('images/fdloadW-x.png') repeat-x left top;
192
+ -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
193
+ padding:0;
194
+ min-height:31px;
195
+ overflow:hidden;
196
+ min-width:170px;
197
+ }
198
+
199
+ div.mp3j-finfo * { font-family:Arial, Helvetica, sans-serif !important; }
200
+ div.mp3j-finfo-sleeve { position:relative !important; width:100%; height:100%; }
201
+ div.mp3j-finfo-gif { position:absolute !important; top:0; left:0; right:10%; bottom:0; background:url('images/loader.gif') no-repeat center 37px; width:auto; padding:0px; height:100%; }
202
+ div.mp3j-finfo-txt { position:relative !important; margin:0px 15px 0 15px !important; padding:10px 0 10px 0 !important; width:auto; }
203
+ div.mp3j-finfo-close { position:absolute !important; width:31px !important; height:27px !important; padding-top:5px !important; right:0 !important; top:0 !important; text-align:center !important; font-weight:700 !important; font-size:18px !important; line-height:22px !important; color:#aaa !important; border-bottom:1px solid #ccc !important; border-left:1px solid #ccc !important; background:url('images/t40w.png') repeat left top !important; }
204
+ div.mp3j-finfo-close:hover { color:#888 !important; }
205
+
206
+ div.mp3j-finfo-txt h2 { font-size:15px !important; color:#333 !important; margin:0 0 10px 0 !important; }
207
+ div.mp3j-finfo-txt h3 { font-size:14px !important; color:#333 !important; margin:0 0 15px 0 !important; }
208
+ div.mp3j-finfo-txt p { font-size:11px !important; color:#555 !important; line-height:13px !important; margin:0 0 5px 0 !important; }
209
+ div.mp3j-finfo-txt a { }
210
+
211
+
212
+
213
+
214
+
215
+ /* backwards compat
216
+ ------------------- */
217
+ div.player-track-title.mp3j_widgetmods { font-size: 14px; }
218
+ div.player-track-title.mp3j_widgetmods span { font-size: 11px; }
219
+ ul.UL-MI_mp3j.mp3j_widgetmods li { font-size:11px !important; line-height:14px !important; }
220
+ ul.UL-MI_mp3j.mp3j_widgetmods li a { font-size:11px !important; line-height:14px !important; }
221
+
222
+
223
+
224
+
225
+
226
+ /*-------------------------
227
+ [mp3j] & [mp3t] SHORTCODES
228
+ ==================================== */
229
+ span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
230
+ /*span.wrap_inline_mp3j:hover .buttons_mp3j { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }*/
231
+ span.indi_mp3j { position:relative; padding-left:2px; font-size: 0.7em !important; }
232
+
233
+ /* BARS */
234
+ span.bars_mp3j { position:absolute; width:100%; height:100%; }
235
+ span.load_mp3j, span.loadB_mp3j { position:absolute; /* background */ top:20px; left:0px; height:2px; }
236
+ /* mp3t */
237
+ span.posbar_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
238
+ span.posbar_mp3j .ui-widget-header { z-index:-500; }
239
+ span.posbar_mp3j .ui-slider-handle { top: 2px; margin-left:-2px; border:1px solid #999; height:21px; width:4px; z-index:500; background:url('images/t20b.png') repeat; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
240
+ span.posbar_mp3j .ui-slider-handle:hover { background:url('images/t15b.png') repeat; border-color:#aaa; }
241
+ /* mp3j */
242
+ span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0; z-index:450; cursor:pointer; }
243
+ span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:450; height:100%; }
244
+ span.posbarB_mp3j .ui-slider-handle { top: 0px; margin-left:-6px !important; border:0px solid #888; height:23px; width:12px !important; z-index: 500; background: transparent url('images/inlineHandle2.png') no-repeat -3px -3px; cursor: default; padding:0px !important; }
245
+ span.posbarB_mp3j .ui-slider-handle:hover { background: transparent url('images/inlineHandle2.png') no-repeat -3px -33px; }
246
+
247
+ /* SPAN TRANSPORT */
248
+ span.group_wrap { position:relative; margin:0px 0px 0px 0px; width:auto; }
249
+ span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; margin:0px; padding:0px; }
250
+ span.buttons_mp3j { position:relative; margin:0px; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -80px -3px; }
251
+ span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -35px; }
252
+ span.buttons_mp3jpause { position:relative; margin:0px; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -2px -3px; }
253
+ span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -35px; }
254
+
255
+ /* VOLUMES */
256
+ span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; }
257
+ span.vol_mp3j { position:absolute; top:-9px; right:5px; width:85%; max-width:100px; height:2px; }
258
+ span.vol_mp3j.flipped { right:4px; }
259
+ span.vol_mp3t .ui-widget-header, span.vol_mp3j .ui-widget-header { background: transparent url('images/vol-grad60b2.png') repeat left top; z-index:500; height:100%; }
260
+ span.vol_mp3t .ui-slider-handle, span.vol_mp3j .ui-slider-handle { height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; border:0px !important; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; z-index:600; overflow:hidden !important; cursor:default; top:-6px; background: transparent url('images/vol-handle.png') no-repeat -1px 0px; }
261
+ span.vol_mp3t .ui-slider-handle:hover, span.vol_mp3j .ui-slider-handle:hover { background: transparent url('images/vol-handle.png') no-repeat -21px 0px; }
262
+ span.vol_mp3t .ui-state-active, span.vol_mp3t .ui-widget-content .ui-state-active, span.vol_mp3j .ui-state-active, span.vol_mp3j .ui-widget-content .ui-state-active { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; border:0px; }
263
+
264
+
265
+ /*----------------------
266
+ [mp3j-popout] SHORTCODE
267
+ ================================================= */
268
+ .mp3j-popout-link-wrap { cursor:pointer; position:relative; clear:left; }
269
+ .mp3j-popout-link { float:left; margin:0 5px 0 0; min-width:22px; min-height:18px; background:url('images/buttons-popout.png') no-repeat -10px -65px; }
270
+ .mp3j-popout-link-wrap:hover .mp3j-popout-link { background:url('images/buttons-popout.png') no-repeat -10px -95px; }
271
+
272
+
273
+
274
+
275
+ /*-------------
276
+ CUSTOM CLASSES
277
+ (via 'style' param in shortcode)
278
+ ================================================= */
279
+
280
+
281
+ /* ===== "nolistbutton" ===== */
282
+ .nolistbutton div.playlist-toggle-MI { visibility:hidden; }
283
+
284
+ /* ===== "nopopoutbutton" ===== */
285
+ .nopopoutbutton div.mp3j-popout-MI { display:none; }
286
+
287
+ /* ===== "nopn" ===== */
288
+ .nopn div.Prev_mp3j { display:none; }
289
+ .nopn div.Next_mp3j { display:none; }
290
+
291
+ /* ===== "nostop" ===== */
292
+ .nostop div.stop_mp3j { display:none; }
293
+
294
+
295
+ /* ===== "bars100" ===== */
296
+ .bars100 div.player-track-title { left:112px; }
297
+ .bars100 div.dloadmp3-MI { left:102px; width:36%;}
298
+ .bars100 div.bars_holder { left:102px; width:auto; }
299
+ .bars100 .MI-image img { padding:1px; background-color:transparent; }
300
+
301
+ /* ===== "bars150" ===== */
302
+ .bars150 div.player-track-title { left:162px; }
303
+ .bars150 div.dloadmp3-MI { left:152px; width:33%;}
304
+ .bars150 div.bars_holder { left:152px; width:auto; }
305
+ .bars150 .MI-image img { padding:1px; background-color:transparent; }
306
+
307
+ /* ===== "bars200" ===== */
308
+ .bars200 div.player-track-title { left:212px; }
309
+ .bars200 div.dloadmp3-MI { left:202px; width:30%; }
310
+ .bars200 div.bars_holder { left:202px; width:auto; }
311
+ .bars200 .MI-image img { padding:1px; background-color:transparent; }
312
+
313
+ /* ===== "bars250" ===== */
314
+ .bars250 div.player-track-title { left:262px; }
315
+ .bars250 div.dloadmp3-MI { left:252px; width:27%;}
316
+ .bars250 div.bars_holder { left:252px; width:auto; }
317
+ .bars250 .MI-image img { padding:1px; background-color:transparent; }
318
+
319
+ /* ===== "bars300" ===== */
320
+ .bars300 div.player-track-title { left:312px; }
321
+ .bars300 div.dloadmp3-MI { left:302px; width:24%; }
322
+ .bars300 div.bars_holder { left:302px; width:auto; }
323
+ .bars300 .MI-image img { padding:1px; background-color:transparent; }
324
+
325
+ /* ===== "bars350" ===== */
326
+ .bars350 div.player-track-title { left:362px; }
327
+ .bars350 div.dloadmp3-MI { left:352px; width:21%;}
328
+ .bars350 div.bars_holder { left:352px; width:auto; }
329
+ .bars350 .MI-image img { padding:1px; background-color:#transparent; }
330
+
331
+ /* ===== "bars400" ===== */
332
+ .bars400 div.player-track-title { left:412px; }
333
+ .bars400 div.dloadmp3-MI { left:402px; width:18%; }
334
+ .bars400 div.bars_holder { left:402px; width:auto; }
335
+ .bars400 .MI-image img { padding:1px; background-color:transparent; }
336
+
337
+ /* ===== bigger1 ===== */
338
+ .bigger1 { font-size:18px; line-height:26px !important; margin:0 !important; }
339
+ .bigger1 span.load_mp3j,
340
+ .bigger1 span.loadB_mp3j { top:24px; left:0px; height:2px; }
341
+ .bigger1 span.posbar_mp3j .ui-slider-handle { top: 3px; height:24px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
342
+ .bigger1 span.posbarB_mp3j .ui-slider-handle { top: 3px; margin-left:-3px !important; border:1px solid #999; height:24px; width:6px !important; z-index:500; background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
343
+ .bigger1 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; border-color:#aaa; }
344
+ .bigger1 span.buttons_mp3j { position:relative; margin:0px; margin-left:5px !important; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -80px 0px; }
345
+ .bigger1 span.buttons_mp3j:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -32px; }
346
+ .bigger1 span.buttons_mp3jpause { position:relative; margin:0px; margin-left:5px !important; padding:2px 0px 3px 20px; background: transparent url('images/transport-shard-B.png') no-repeat -2px 0px; }
347
+ .bigger1 span.buttons_mp3jpause:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -32px; }
348
+ .bigger1 span.vol_mp3j { position:absolute; top:-6px; right:7px; width:85%; max-width:100px; height:2px; }
349
+
350
+ .bigger1 div.player-track-title { font:normal normal 500 18px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
351
+ .bigger1 div.player-track-title span { font:normal normal 500 14px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
352
+ .bigger1 ul.UL-MI_mp3j li a, .bigger1 ul.UL-MI_mp3j li { font-size:16px !important; line-height:19px !important; }
353
+ .bigger1 .indi_mp3j { font-size: 0.6em !important; }
354
+
355
+ /* ===== "bigger2" ===== */
356
+ .bigger2 div.player-track-title { font:normal normal 500 36px/38px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
357
+ .bigger2 div.player-track-title span { font:normal normal 500 20px/22px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
358
+ .bigger2 ul.UL-MI_mp3j li a, .bigger2 ul.UL-MI_mp3j li { font-size:20px !important; line-height:24px !important; }
359
+ .bigger2 { font-size:23px; line-height:25px !important; margin:0 !important; }
360
+ .bigger2 span.load_mp3j,
361
+ .bigger2 span.loadB_mp3j { top:26px; left:0px; height:2px; }
362
+ .bigger2 span.posbar_mp3j .ui-slider-handle { top: 0px; height:28px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
363
+ .bigger2 span.posbarB_mp3j .ui-slider-handle { top: -1px; margin-left:-3px !important; border:1px solid #999; height:29px; width:8px !important; z-index:500; border-color:#aaa; background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
364
+ .bigger2 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; border-color:#999; }
365
+ .bigger2 .buttons_mp3j { padding:2px 0px 4px 20px !important; background:url('images/play-dark2-b.png') no-repeat -186px center; border:0px solid #bbb; margin-left:10px; }
366
+ .bigger2 .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -437px center; }
367
+ .bigger2 .buttons_mp3jpause { padding:0px 0px 2px 20px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
368
+ .bigger2 .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
369
+ .bigger2 span.vol_mp3j { position:absolute; top:-12px; right:4px; width:85%; max-width:100px; height:2px; }
370
+ .bigger2 span.vol_mp3t { position:absolute; top:-10px; width:85%; max-width:100px; height:2px; }
371
+ .bigger2 .Smp3-finding,
372
+ .bigger2 .mp3-tint,
373
+ .bigger2 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 10px !important; font-size:12px !important; line-height:12px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
374
+ .bigger2 .mp3-gtint { margin:0 6px 0 -16px; }
375
+ .bigger2 .indi_mp3j { font-size: 0.5em !important; padding-left:0px; }
376
+
377
+ /* ===== bigger3 ===== */
378
+ .bigger3 { font-size:28px; line-height:36px !important; margin:0 !important; }
379
+ .bigger3 .load_mp3j, .bigger3 .loadB_mp3j { top:37px; left:0px; height:3px; }
380
+ .bigger3 .posbar_mp3j .ui-slider-handle, .bigger3 .posbarB_mp3j .ui-slider-handle { top: 0px; border:1px solid #bbb; height:40px; width:12px !important; margin-left:-5px !important; background:url('images/stop-dark2-b.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
381
+ .bigger3 .posbar_mp3j .ui-slider-handle:hover, .bigger3 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; border:1px solid #aaa; }
382
+ .bigger3 .indi_mp3j { font-size: 0.5em !important; }
383
+ .bigger3 .buttons_mp3j { padding:8px 0px 12px 30px !important; background:url('images/play-dark2-b.png') no-repeat -177px center; border:0px solid #bbb; margin-left:12px; }
384
+ .bigger3 .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -428px center; }
385
+ .bigger3 .buttons_mp3jpause { padding:2px 0px 6px 30px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:12px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
386
+ .bigger3 .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
387
+ .bigger3 .vol_mp3j { height:1px; max-width:110px; right:64px; top:-8px; }
388
+ .bigger3 .vol_mp3t { height:1px; max-width:110px; right:16px; top:-5px; }
389
+ .bigger3 .vol_mp3j .ui-slider-handle, .bigger3 .vol_mp3t .ui-slider-handle { height:14px !important; width:33px !important; margin-left:-16px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-14px; background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
390
+ .bigger3 .vol_mp3j .ui-slider-handle:hover, .bigger3 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
391
+ .bigger3 .Smp3-finding,
392
+ .bigger3 .mp3-tint,
393
+ .bigger3 .mp3-gtint { margin-left:8px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
394
+ .bigger3 .mp3-gtint { margin:0 2px 0 -14px; }
395
+ .bigger3 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
396
+ .bigger3 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
397
+ .bigger3 ul.UL-MI_mp3j li a, .bigger3 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
398
+
399
+
400
+ /* ===== bigger4 ===== */
401
+ .bigger4 { font-size:38px; line-height:46px !important; margin:0 !important; }
402
+ .bigger4 .load_mp3j, .bigger4 .loadB_mp3j { top:46px; left:0px; height:3px; }
403
+ .bigger4 .posbar_mp3j .ui-slider-handle, .bigger4 .posbarB_mp3j .ui-slider-handle { top: -2px; border:1px solid #bbb; height:52px; width:20px !important; margin-left:-10px !important; background:url('images/stop-dark2-b.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
404
+ .bigger4 .posbar_mp3j .ui-slider-handle:hover, .bigger4 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; border:1px solid #aaa; }
405
+ .bigger4 .indi_mp3j { font-size: 0.5em !important; }
406
+ .bigger4 .buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:8px 0px 12px 40px !important; background:url('images/play-dark2-b.png') no-repeat -167px center; border:0px solid #bbb; margin-left:15px; }
407
+ .bigger4 .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -418px center; }
408
+ .bigger4 .buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 4px 40px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:15px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
409
+ .bigger4 .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
410
+ .bigger4 .vol_mp3j { height:1px; max-width:110px; right:86px; top:-8px; }
411
+ .bigger4 .vol_mp3t { height:1px; max-width:110px; right:20px; top:-5px; }
412
+ .bigger4 .vol_mp3j .ui-slider-handle, .bigger4 .vol_mp3t .ui-slider-handle { height:20px !important; width:43px !important; margin-left:-21px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-20px; background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
413
+ .bigger4 .vol_mp3j .ui-slider-handle:hover, .bigger4 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
414
+ .bigger4 .Smp3-finding,
415
+ .bigger4 .mp3-tint,
416
+ .bigger4 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
417
+ .bigger4 .mp3-gtint { margin:0 6px 0 -20px; }
418
+
419
+ .bigger4 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
420
+ .bigger4 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
421
+ .bigger4 ul.UL-MI_mp3j li a, .bigger4 ul.UL-MI_mp3j li { font-size:28px !important; line-height:30px !important; }
422
+
423
+
424
+ /* ===== bigger5 ===== */
425
+ .bigger5 { font-size:48px; line-height:60px !important; margin:0 !important; }
426
+ .bigger5 .load_mp3j, .bigger5 .loadB_mp3j { top:63px; left:0px; height:4px; }
427
+ .bigger5 .posbar_mp3j .ui-slider-handle, .bigger5 .posbarB_mp3j .ui-slider-handle { top: -1px; border:1px solid #bbb; height:69px; width:20px !important; margin-left:-10px !important; background:url('images/stop-dark2-b.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
428
+ .bigger5 .posbar_mp3j .ui-slider-handle:hover, .bigger5 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; border:1px solid #aaa; }
429
+ .bigger5 .indi_mp3j { font-size: 0.5em !important; }
430
+ .bigger5 .buttons_mp3j { font-family:Arial, Helvetica, sans-serif !important; padding:8px 0px 13px 52px !important; background:url('images/play-dark2-b.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
431
+ .bigger5 .buttons_mp3j:hover { background:url('images/play-dark2-b.png') no-repeat -405px center; }
432
+ .bigger5 .buttons_mp3jpause { font-family:Arial, Helvetica, sans-serif !important; padding:3px 0px 8px 52px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:15px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
433
+ .bigger5 .buttons_mp3jpause:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
434
+ .bigger5 .vol_mp3j { height:1px; max-width:170px; right:115px; top:-10px; }
435
+ .bigger5 .vol_mp3t { height:1px; max-width:170px; right:33px; top:-5px; }
436
+ .bigger5 .vol_mp3j .ui-slider-handle, .bigger5 .vol_mp3t .ui-slider-handle { height:30px !important; width:55px !important; margin-left:-21px; border-bottom:1px solid #aaa !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-30px; background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
437
+ .bigger5 .vol_mp3j .ui-slider-handle:hover, .bigger5 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
438
+ .bigger5 .Smp3-finding,
439
+ .bigger5 .mp3-tint,
440
+ .bigger5 .mp3-gtint { margin-left:8px; margin-right:6px; padding:0px 0px 0px 14px !important; font-size:18px !important; line-height:20px !important; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
441
+ .bigger5 .mp3-gtint { margin:0 6px 0 -20px; }
442
+
443
+ .bigger5.wh .posbar_mp3j .ui-slider-handle, .bigger5.wh .posbarB_mp3j .ui-slider-handle { background:url('images/stop-dark2-w.png') repeat-y -350px top; border:1px solid #888; }
444
+ .bigger5.wh .posbar_mp3j .ui-slider-handle:hover, .bigger5.wh .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-w.png') repeat-y 0px top; border:1px solid #777; }
445
+ .bigger5.wh .buttons_mp3j { background:url('images/play-dark2-w.png') no-repeat -154px center; border:0px solid #bbb; margin-left:20px; }
446
+ .bigger5.wh .buttons_mp3j:hover { background:url('images/play-dark2-w.png') no-repeat -405px center; }
447
+ .bigger5.wh .buttons_mp3jpause { background:url('images/stop-dark2-w.png') repeat-y 0px top; }
448
+ .bigger5.wh .buttons_mp3jpause:hover { background:url('images/stop-dark2-w.png') repeat-y -350px top; }
449
+ .bigger5.wh .vol_mp3j .ui-slider-handle, .bigger5.wh .vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-bw.png') no-repeat -10px bottom; }
450
+ .bigger5.wh .vol_mp3j .ui-slider-handle:hover, .bigger5.wh .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-w.png') no-repeat -257px bottom; }
451
+
452
+
453
+ /* ===== "smaller" ===== */
454
+ .smaller div.player-track-title { font:normal normal 500 11px/13px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; left:3px; right:5px; }
455
+ .smaller div.player-track-title span { font:normal normal 500 10px/10px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; padding:0; }
456
+ .smaller ul.UL-MI_mp3j li a, .smaller ul.UL-MI_mp3j li { font-size:10px !important; font-family:'verdana', Helvetica, sans-serif !important; line-height:13px !important; }
457
+
458
+
459
+
460
+
461
+
462
+
463
+
464
+ /* ===== outline ==== */
465
+ span.outline { font-size:14px; line-height:22px !important; margin:0 !important; }
466
+ .outline span.vol_mp3t { position:absolute; top:-4px; right:4px; width:90%; max-width:100px; height:2px; background: transparent; }
467
+ .outline span.vol_mp3j { position:absolute; top:-9px; right:7px; width:85%; max-width:100px; height:2px; background: transparent; }
468
+ .outline span.buttons_mp3j { padding:2px 0px 3px 20px; background: transparent url('images/transport-outline.png') no-repeat -80px -2px; border:0; margin:0; }
469
+ .outline span.buttons_mp3j:hover { background:transparent url('images/transport-outline.png') no-repeat -80px -34px; }
470
+ .outline span.buttons_mp3jpause { padding:2px 0px 3px 20px; background: transparent url('images/transport-outline.png') no-repeat 1px -2px; border:0; margin:0; }
471
+ .outline span.buttons_mp3jpause:hover { background:transparent url('images/transport-outline.png') no-repeat 1px -34px; }
472
+ .outline span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
473
+ .outline span.posbarB_mp3j .ui-widget-header { z-index:-500; }
474
+ .outline span.posbarB_mp3j .ui-slider-handle { top: 0px; margin-left:0px; border:1px solid #aaa; height:23px; width:5px !important; z-index:500; background:url('images/t10b.png') repeat; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
475
+ .outline span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t20b.png') repeat; border-color:#777; }
476
+
477
+ .outline div.transport-MI div { background-image: url("images/transport-hardZ.png"); }
478
+
479
+
480
+ /* ===== wtransbars ==== */
481
+ .wtransbars div.loadMI_mp3j { background:#fff; opacity:0.1; filter:alpha(opacity=10); }
482
+ .wtransbars div.poscolMI_mp3j { background:#fff url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
483
+ .wtransbars div.player-track-title { color:#fff; }
484
+
485
+ /* ===== btransbars ==== */
486
+ .btransbars div.loadMI_mp3j { background:#000; opacity:0.1; filter:alpha(opacity=10); }
487
+ .btransbars div.poscolMI_mp3j { background:#000 url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
488
+ .btransbars div.player-track-title { color:#000; }
489
+
490
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
download.php CHANGED
@@ -1,115 +1,114 @@
1
- <?php
2
- /*
3
- MP3-jPlayer 1.8.5
4
- www.sjward.org
5
- */
6
-
7
- $mp3 = false;
8
- $playerID = "";
9
- $fp = "";
10
- $file = "";
11
- $dbug = "";
12
- $sent = "";
13
- $pagetext = '';
14
- $js_pagetext = '';
15
- $rooturl = preg_replace("/^www\./i", "", $_SERVER['HTTP_HOST']);
16
-
17
-
18
-
19
- if ( isset($_GET['mp3']) ) {
20
-
21
-
22
- $mp3 = strip_tags($_GET['mp3']);
23
- $mp3 = rawurldecode( $mp3 );
24
-
25
- $playerID = ( isset($_GET['pID']) ) ? strip_tags($_GET['pID']) : "";
26
-
27
- if ( preg_match("!\.mp3$!i", $mp3) ) {
28
-
29
- $sent = substr($mp3, 3);
30
- $file = substr(strrchr($sent, "/"), 1);
31
-
32
- if ( ($lp = strpos($sent, $rooturl)) || preg_match("!^/!", $sent) ) { //if local
33
-
34
- if ( $lp !== false ) { //url
35
-
36
- $fp = str_replace($rooturl, "", $sent);
37
- $fp = str_replace("www.", "", $fp);
38
- $fp = str_replace("http://", "", $fp);
39
- $fp = str_replace("https://", "", $fp);
40
-
41
- } else { //folder path
42
-
43
- $fp = $sent;
44
- }
45
-
46
- if ( ($fsize = @filesize($_SERVER['DOCUMENT_ROOT'] . $fp)) !== false ) { //if file can be read then set headers and cookie
47
-
48
- header('Content-Type: audio/mpeg');
49
- $cookiename = 'mp3Download' . $playerID;
50
- setcookie($cookiename, "true", 0, '/', '', '', false);
51
- header('Accept-Ranges: bytes'); // download resume
52
- header('Content-Disposition: attachment; filename=' . $file);
53
-
54
- header('Content-Length: ' . $fsize);
55
-
56
- readfile($_SERVER['DOCUMENT_ROOT'] . $fp);
57
-
58
-
59
- $dbug .= "#read failed"; //if past readfile() then something went wrong
60
-
61
- } else {
62
-
63
- $dbug .= "#no file";
64
- }
65
-
66
- } else {
67
-
68
- $dbug .= "#unreadable";
69
- }
70
-
71
- } else {
72
-
73
- $dbug .= "#not an mp3";
74
- }
75
-
76
- } else {
77
-
78
- $dbug .= "#no get param";
79
- }
80
-
81
- ?>
82
- <!DOCTYPE html>
83
- <html>
84
- <head>
85
- <title>Download MP3</title>
86
- </head>
87
- <body>
88
-
89
- <?php
90
- echo $js_pagetext;
91
- $info = "<p>
92
- Get: " . $_GET['mp3'] . "<br />
93
- Sent: " . $sent . "<br />
94
- File: " . $file . "<br />
95
- Open: " . $_SERVER['DOCUMENT_ROOT'] . $fp . "<br />
96
- Root: " . $rooturl . "<br />
97
- pID: " . $playerID . "<br />
98
- Dbug: " . $dbug . "<br /></p>";
99
- echo $info;
100
-
101
- if ( $playerID != "" ) {
102
- ?>
103
-
104
- <script type="text/javascript">
105
- if ( typeof window.parent.MP3_JPLAYER.dl_dialogs !== 'undefined' ) {
106
- window.parent.MP3_JPLAYER.dl_dialogs[<?php echo $playerID; ?>] = window.parent.MP3_JPLAYER.vars.message_fail;
107
- }
108
- </script>
109
-
110
- <?php
111
- }
112
- ?>
113
-
114
- </body>
115
  </html>
1
+ <?php
2
+ /*
3
+ MP3-jPlayer 1.8.5
4
+ www.sjward.org
5
+ */
6
+
7
+ $mp3 = false;
8
+ $playerID = "";
9
+ $fp = "";
10
+ $file = "";
11
+ $dbug = "";
12
+ $sent = "";
13
+ $pagetext = '';
14
+ $js_pagetext = '';
15
+ $rooturl = preg_replace("/^www\./i", "", $_SERVER['HTTP_HOST']);
16
+
17
+
18
+
19
+ if ( isset($_GET['mp3']) ) {
20
+
21
+
22
+ $mp3 = strip_tags($_GET['mp3']);
23
+ $mp3 = rawurldecode( $mp3 );
24
+
25
+ $playerID = ( isset($_GET['pID']) ) ? strip_tags($_GET['pID']) : "";
26
+
27
+ if ( preg_match("!\.mp3$!i", $mp3) ) {
28
+
29
+ $sent = substr($mp3, 3);
30
+ $file = substr(strrchr($sent, "/"), 1);
31
+
32
+ if ( ($lp = strpos($sent, $rooturl)) || preg_match("!^/!", $sent) ) { //if local
33
+
34
+ if ( $lp !== false ) { //url
35
+
36
+ $fp = str_replace($rooturl, "", $sent);
37
+ $fp = str_replace("www.", "", $fp);
38
+ $fp = str_replace("http://", "", $fp);
39
+ $fp = str_replace("https://", "", $fp);
40
+
41
+ } else { //folder path
42
+
43
+ $fp = $sent;
44
+ }
45
+
46
+ if ( ($fsize = @filesize($_SERVER['DOCUMENT_ROOT'] . $fp)) !== false ) { //if file can be read then set headers and cookie
47
+
48
+ $cookiename = 'mp3Download' . $playerID;
49
+ setcookie($cookiename, "true", 0, '/', '', '', false);
50
+ header('Accept-Ranges: bytes'); // download resume
51
+ header('Content-Disposition: attachment; filename=' . $file);
52
+ header('Content-Type: audio/mpeg');
53
+ header('Content-Length: ' . $fsize);
54
+
55
+ readfile($_SERVER['DOCUMENT_ROOT'] . $fp);
56
+
57
+
58
+ $dbug .= "#read failed"; //if past readfile() then something went wrong
59
+
60
+ } else {
61
+
62
+ $dbug .= "#no file";
63
+ }
64
+
65
+ } else {
66
+
67
+ $dbug .= "#unreadable";
68
+ }
69
+
70
+ } else {
71
+
72
+ $dbug .= "#not an mp3";
73
+ }
74
+
75
+ } else {
76
+
77
+ $dbug .= "#no get param";
78
+ }
79
+
80
+ ?>
81
+ <!DOCTYPE html>
82
+ <html>
83
+ <head>
84
+ <title>Download MP3</title>
85
+ </head>
86
+ <body>
87
+
88
+ <?php
89
+ echo $js_pagetext;
90
+ $info = "<p>
91
+ Get: " . $_GET['mp3'] . "<br />
92
+ Sent: " . $sent . "<br />
93
+ File: " . $file . "<br />
94
+ Open: " . $_SERVER['DOCUMENT_ROOT'] . $fp . "<br />
95
+ Root: " . $rooturl . "<br />
96
+ pID: " . $playerID . "<br />
97
+ Dbug: " . $dbug . "<br /></p>";
98
+ echo $info;
99
+
100
+ if ( $playerID != "" ) {
101
+ ?>
102
+
103
+ <script type="text/javascript">
104
+ if ( typeof window.parent.MP3_JPLAYER.dl_dialogs !== 'undefined' ) {
105
+ window.parent.MP3_JPLAYER.dl_dialogs[<?php echo $playerID; ?>] = window.parent.MP3_JPLAYER.vars.message_fail;
106
+ }
107
+ </script>
108
+
109
+ <?php
110
+ }
111
+ ?>
112
+
113
+ </body>
 
114
  </html>
help.php DELETED
@@ -1,190 +0,0 @@
1
- <?php
2
- function mp3j_print_help_page() {
3
-
4
- global $mp3_fox;
5
- $O = $mp3_fox->getAdminOptions();
6
- $colours_array = array();
7
- $openTab = '0';
8
- ?>
9
-
10
-
11
- <div class="wrap">
12
-
13
-
14
- <h2>&nbsp;</h2>
15
- <h1>Help
16
- <span class="description" style="font-size:10px;"> &nbsp; MP3-jPlayer &nbsp;|&nbsp; Version <?php echo $mp3_fox->version_of_plugin; ?></span>
17
- <?php
18
- if ( $O['disable_jquery_libs'] == "yes" )
19
- {
20
- echo '&nbsp;<span style="font-size: 11px; font-weight:700; color:#f66;">(jQuery and UI scripts are turned off)</span>';
21
- }
22
- ?>
23
- </h1>
24
- <p>&nbsp;</p>
25
-
26
-
27
-
28
- <p>Add players using <code>[mp3j]</code> <code>[mp3t]</code> <code>[mp3-jplayer]</code> <code>[mp3-popout]</code> shortcodes, links to mp3s, <a href="widgets.php">widgets</a>, and <a href="<?php echo $mp3_fox->PluginFolder; ?>/template-tag-help.htm">Template Tags</a>.</p>
29
-
30
- <br />
31
- <h3 style="margin-left:0;">Shortcode Parameters</h3>
32
- <div class="Ahelp1">
33
-
34
- <h4><code>[mp3-jplayer]</code> <span class="description">Playlist player</span></h4>
35
-
36
- <h5>Parameters:</h5>
37
- <p><code>tracks</code> <span class="description">filenames/URIs/FEEDs (<code>,</code> separated)</span><br />
38
- <code>captions</code> <span class="description">caption text (<code>;</code> separated)</span><br />
39
- <code>vol</code> <span class="description">0 - 100</span><br />
40
- <code>autoplay</code> <span class="description">y/n</span><br />
41
- <code>loop</code> <span class="description">y/n</span><br />
42
- <code>dload</code> <span class="description">y / n / loggedin (show download link)</span><br />
43
- <code>list</code> <span class="description">y/n (show playlist)</span><br />
44
- <code>pick</code> <span class="description">a number (picks random selection)</span><br />
45
- <code>shuffle</code> <span class="description">y/n (shuffle track order)</span><br />
46
- <code>title</code> <span class="description">text above player</span><br />
47
- <code>pos</code> <span class="description">rel-L, rel-C, rel-R, left, right</span><br />
48
- <code>width</code> <span class="description">in px or %</span><br />
49
- <code>height</code> <span class="description">in px (player height excluding list)</span><br />
50
- <code>pn</code> <span class="description">y/n (show prev/next buttons)</span><br />
51
- <code>stop</code> <span class="description">y/n (show stop button)</span><br />
52
- <code>id</code> <span class="description">a page id (to read the custom fields from)</span><br />
53
- <code>images</code> <span class="description">comma separated list of track image urls</span><br />
54
- <!--<code>imglinks</code> <span class="description">comma separated list of arbitrary links</span><br />-->
55
- <code>fsort</code> <span class="description">asc/desc (folder feed direction)</span><br />
56
- <code>style</code> <span class="description">modify player style</span> <strong><a href="<?php echo $mp3_fox->PluginFolder; ?>/style-param-help.htm">Help</a></strong></p>
57
-
58
- </div>
59
-
60
- <div class="Ahelp1">
61
- <h4><code>[mp3j]</code> &amp; <code>[mp3t]</code> <span class="description">Single-track players</span></h4>
62
-
63
- <h5>Parameters:</h5>
64
- <p><code>track</code> <span class="description">filename or URI</span><br />
65
- <code>caption</code> <span class="description">caption text (right of title)</span><br />
66
- <code>vol</code> <span class="description">0 - 100</span><br />
67
- <code>volslider</code> <span class="description">y/n</span><br />
68
- <code>autoplay</code> <span class="description">y/n</span><br />
69
- <code>loop</code> <span class="description">y/n</span><br />
70
- <code>title</code> <span class="description">text (replaces both title and caption)</span><br />
71
- <code>bold</code> <span class="description">y/n</span><br />
72
- <code>flip</code> <span class="description">y/n (play/pause)</span><br />
73
- <code>ind</code> <span class="description">y/n (hide indicator and time)</span><br />
74
- <code>flow</code> <span class="description">y/n (don't line break)</span><br />
75
- <code>style</code> <span class="description">modify player style</span> <strong><a href="<?php echo $mp3_fox->PluginFolder; ?>/style-param-help.htm">Help</a></strong></p>
76
-
77
- <h5>Also for <code>[mp3t]</code></h5>
78
- <p><code>play</code> play button text<br /><code>stop</code> pause button text</p>
79
-
80
- </div>
81
-
82
- <div class="Ahelp1">
83
- <h4><code>[mp3-popout]</code> <span class="description">Link to pop-out player</span></h4>
84
-
85
- <h5>Parameters:</h5>
86
- <p><code>tracks</code> <span class="description">files/URIs/FEEDs (<code>,</code> separated)</span><br />
87
- <code>captions</code> <span class="description">caption text (<code>;</code> separated)</span><br />
88
- <code>vol</code> <span class="description">0 - 100</span><br />
89
- <code>autoplay</code> <span class="description">y / n</span><br />
90
- <code>loop</code> <span class="description">y / n</span><br />
91
- <code>dload</code> <span class="description">y / n / loggedin (show download link)</span><br />
92
- <code>list</code> <span class="description">y/n (show popout playlist)</span><br />
93
- <code>pick</code> <span class="description">number (pick random selection)</span><br />
94
- <code>shuffle</code> <span class="description">y/n (shuffle track order)</span><br />
95
- <code>title</code> <span class="description">title for the popout window</span><br />
96
- <code>pos</code> <span class="description">rel-L, rel-C, rel-R, left, right (link position)</span><br />
97
- <code>text</code> <span class="description">text for the link</span><br />
98
- <code>height</code> <span class="description">px (popout player height excluding it's list)</span><br />
99
- <code>id</code> <span class="description">a page id (to read the custom fields from)</span><br />
100
- <code>tag</code> <span class="description">html tag for text (eg. <code>h2</code>, Default is <code>p</code>)</span><br />
101
- <code>image</code> <span class="description">image for the popout link</span><br />
102
- <code>images</code> <span class="description">comma separated list of track image urls</span><br />
103
- <!--<code>imglinks</code> <span class="description">comma separated list of arbitrary links</span><br />-->
104
- <code>fsort</code> <span class="description">asc/desc (folder feed direction)</span><br />
105
- <code>style</code> <span class="description">modify player style</span> <strong><a href="<?php echo $mp3_fox->PluginFolder; ?>/style-param-help.htm">Help</a></strong></p>
106
- </div>
107
-
108
- <!-- Not in this release
109
- <div class="Ahelp1">
110
- <h5><code>[mp3-link]</code> Play from a playlist player</h5>
111
- <p><code>player</code> number of the player to operate<br /><code>track</code> the track number<br /><code>text</code> link text, defaults to <code>Play</code><br /><code>bold</code> y/n</p>
112
- </div>
113
- -->
114
-
115
- <br class="clearB" /><br />
116
-
117
- <p><strong>Eg</strong>. <span class="description">Play a url:</span> <code>[mp3j track="http://somedomain.com/myfile.mp3"]</code><br />
118
- <strong>Eg</strong>. <span class="description">Play a file from default folder (set below) or library:</span> <code>[mp3j track="myfile.mp3"]</code><br />
119
- <strong>Eg</strong>. <span class="description">Make a playlist player:</span> <code>[mp3-jplayer tracks="fileA.mp3, http://somedomain.com/fileB.mp3, fileC.mp3"]</code><br />
120
- <strong>Eg</strong>. <span class="description">Add titles:</span> <code>[mp3-jplayer tracks="My Title@fileA.mp3, My Title@fileB.mp3, My Title@fileC.mp3"]</code><br />
121
- <strong>Eg</strong>. <span class="description">Add captions:</span> <code>[mp3-jplayer tracks="fileA.mp3, fileB.mp3" captions="Caption A; Caption B"]</code></p>
122
- <p><a href="http://sjward.org/jplayer-for-wordpress" target="_blank">More shortcode examples</a></p>
123
- <br />
124
-
125
- <p><strong>Use these commands with [mp3-jplayer] in the <code>tracks</code> parameter to playlist entire folders or the library:</strong></p>
126
- <p><code>FEED:LIB</code> playlists all mp3s in the library.<br />
127
- <code>FEED:DF</code> playlists your default folder.<br />
128
- <code>FEED:/my/music</code> playlists a folder or subfolder (relative to root of domain, not the WP install)</p>
129
- <p><strong>Eg</strong>. Play 5 random tracks from the library: <code>[mp3-jplayer tracks="FEED:LIB" pick="5"]</code><br />
130
- <strong>Eg</strong>. Play everything in the folder called 'tunes': <code>[mp3-jplayer tracks="FEED:/tunes"]</code></p>
131
-
132
- <p>The <code>tracks</code> parameter can contain a mix of FEEDs and filenames/urls, eg. <code>[mp3-jplayer tracks="myfileA.mp3, FEED:/tunes, Title@myfileB.mp3, FEED:DF"]</code>.
133
- When just a filename is used the file must be in either your media library or in the default folder (set on this page). You can also specify a file in a sub
134
- directory in the default folder eg. <code>tracks=&quot;subfolder/file.mp3&quot;</code>.</p>
135
-
136
- <br />
137
-
138
- <h3 style="margin-left:0;">Custom Fields</h3>
139
- <p>You can write playlists into the custom fields that are on page and post edit screens (check your 'screen options' at top-right
140
- if they're not visible). They can be picked up with any of the shortcodes (from any page/post, or with the template tag, or by the widgets). See below for how
141
- to set them up and some example uses:</p>
142
-
143
- <p class="description">1. Enter <code>mp3</code> into the left hand box (the 'key' box).<br />2. Write the filename, URI, or 'FEED' (see above) into the right hand box (the 'value' box) and hit 'add custom field'</p>
144
- <p>Add each track or 'FEED' in a new field pair.</p>
145
- <p>To add titles and captions in the custom fields use the following format:</p>
146
- <p class="description">1. Add a dot, then the caption in the left hand box, eg: <code>mp3.My Caption</code>
147
- <br />2. Add the title, then an '@' before the filename in the right box, eg: <code>My Title@filename</code></p>
148
- <p>The keys (left boxes) can be numbered, eg:<code>1 mp3</code> will be first on the playlist.</p>
149
-
150
- <p><strong>Eg</strong>. If a custom field key / value pair is set as <code>mp3</code> / <code>FEED:LIB</code>, then the library is available to any shortcodes, so:<br />
151
-
152
- <code>[mp3j]</code> or <code>[mp3t]</code> <span class="description">plays the next track from the library in a single player</span> <br />
153
- <code>[mp3j track="3"]</code> or <code>[mp3t track="3"]</code> <span class="description">plays track 3 from the library in a single player</span> <br />
154
- <code>[mp3-jplayer]</code> <span class="description">playlists all the custom fields in a playlist player</span><br /></p>
155
-
156
- <br />
157
-
158
-
159
- <h3 style="margin-left:0;">Widgets</h3>
160
- <p class="description">
161
- MP3j-sh - <span class="description">Adds players by writing shortcodes.</span><br />
162
- MP3j-ui - <span class="description">Adds a playlist player by using tick boxes and modes. Note that some features such as manually written captions, and additional style (css classes) cannot be set with this widget, use the mp3j-sh widget instead.</span>
163
- </p>
164
- <br />
165
- <h3 style="margin-left:0;">Template Tags</h3>
166
- <p class="description">For use in theme files, See <a href="<?php echo $mp3_fox->PluginFolder; ?>/template-tag-help.htm">Template Tag Help</a> for more details.</p>
167
- <p style="line-height:22px;"><code style="font-size:13px;">mp3j_addscripts( $style )</code><br /><code style="font-size:13px;">mp3j_put( $shortcodes )</code><br /><code style="font-size:13px;">mp3j_grab_library( $format )</code><br/><code style="font-size:13px;">mp3j_debug()</code></p>
168
-
169
- <br />
170
-
171
- <h3 style="margin-left:0;">Testing</h3>
172
- <p><strong>Make sure you're using default plugin settings for these tests.</strong></p>
173
- <p>You can test the plugin with a valid mp3 by copy/pasting the following shortcode into a page or post:<br />
174
- <code>[mp3-jplayer tracks="http://sjward.org/seven.mp3"]</code></p>
175
-
176
- <p>To test link replacement copy/paste one of these links, if you're not sure which one then paste them both (one of them should work):</p>
177
- <p>If you use the visual (default) editor: <code><a href="http://sjward.org/seven.mp3">Test link</a></code><br />
178
- If you use the text editor: <code>&lt;a href="http://sjward.org/seven.mp3"&gt;Test link&lt;/a&gt;</code></p>
179
-
180
- <p><br />Links to info:<br /><a href="http://sjward.org/jplayer-for-wordpress">Demo page</a><br /><a href="<?php echo $mp3_fox->PluginFolder; ?>/style-param-help.htm">Style Parameter Help</a><br /><a href="<?php echo $mp3_fox->PluginFolder; ?>/remote/help.txt">Forcing Remote Downloads</a><br /><a href="<?php echo $mp3_fox->PluginFolder; ?>/template-tag-help.htm">Template Tag Help</a></p>
181
- <br /><br />
182
-
183
-
184
-
185
- </div>
186
-
187
-
188
- <?php
189
- }
190
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/Jplayer2-5-0.swf ADDED
Binary file
js/Jplayer271.swf DELETED
@@ -1,848 +0,0 @@
1
-
2
-
3
-
4
-
5
- <!DOCTYPE html>
6
- <html lang="en" class="">
7
- <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# object: http://ogp.me/ns/object# article: http://ogp.me/ns/article# profile: http://ogp.me/ns/profile#">
8
- <meta charset='utf-8'>
9
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
10
- <meta http-equiv="Content-Language" content="en">
11
-
12
-
13
- <title>jPlayer/Jplayer.swf at master · happyworm/jPlayer · GitHub</title>
14
- <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub">
15
- <link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub">
16
- <link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-114.png">
17
- <link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114.png">
18
- <link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-144.png">
19
- <link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144.png">
20
- <meta property="fb:app_id" content="1401488693436528">
21
-
22
- <meta content="@github" name="twitter:site" /><meta content="summary" name="twitter:card" /><meta content="happyworm/jPlayer" name="twitter:title" /><meta content="jPlayer : HTML5 Audio &amp;amp; Video for jQuery" name="twitter:description" /><meta content="https://avatars0.githubusercontent.com/u/205061?v=2&amp;s=400" name="twitter:image:src" />
23
- <meta content="GitHub" property="og:site_name" /><meta content="object" property="og:type" /><meta content="https://avatars0.githubusercontent.com/u/205061?v=2&amp;s=400" property="og:image" /><meta content="happyworm/jPlayer" property="og:title" /><meta content="https://github.com/happyworm/jPlayer" property="og:url" /><meta content="jPlayer : HTML5 Audio &amp; Video for jQuery" property="og:description" />
24
-
25
- <meta name="browser-stats-url" content="/_stats">
26
- <link rel="assets" href="https://assets-cdn.github.com/">
27
- <link rel="conduit-xhr" href="https://ghconduit.com:25035">
28
-
29
- <meta name="pjax-timeout" content="1000">
30
-
31
- <meta name="msapplication-TileImage" content="/windows-tile.png">
32
- <meta name="msapplication-TileColor" content="#ffffff">
33
- <meta name="selected-link" value="repo_source" data-pjax-transient>
34
- <meta name="google-analytics" content="UA-3769691-2">
35
-
36
- <meta content="collector.githubapp.com" name="octolytics-host" /><meta content="collector-cdn.github.com" name="octolytics-script-host" /><meta content="github" name="octolytics-app-id" /><meta content="984E2693:7654:D458ED:543ED867" name="octolytics-dimension-request_id" />
37
- <meta content="Rails, view, blob#show" name="analytics-event" />
38
-
39
-
40
-
41
- <link rel="icon" type="image/x-icon" href="https://assets-cdn.github.com/favicon.ico">
42
-
43
-
44
- <meta content="authenticity_token" name="csrf-param" />
45
- <meta content="bGzUsIJ44f8O5nv5wqRe19OKLLupIvOSSD4pRAkbS7bMvVhYsa/4hkYS0Ct3m89WGISxpS8NO+RFc8k5qK06UA==" name="csrf-token" />
46
-
47
- <link href="https://assets-cdn.github.com/assets/github-0771b929a54c98ad48c1075a82c42e8cd8afb8516f8b4f3da76a461695daaf80.css" media="all" rel="stylesheet" type="text/css" />
48
- <link href="https://assets-cdn.github.com/assets/github2-c7c5c123bf8810b1bccded004dcae7b61fd9e418d4e372478b2b30c900f1ab24.css" media="all" rel="stylesheet" type="text/css" />
49
-
50
-
51
-
52
-
53
- <meta http-equiv="x-pjax-version" content="dfea8f7810c8ca7d0e70bb85a4f96edc">
54
-
55
-
56
- <meta name="description" content="jPlayer : HTML5 Audio &amp; Video for jQuery">
57
- <meta name="go-import" content="github.com/happyworm/jPlayer git https://github.com/happyworm/jPlayer.git">
58
-
59
- <meta content="205061" name="octolytics-dimension-user_id" /><meta content="happyworm" name="octolytics-dimension-user_login" /><meta content="521424" name="octolytics-dimension-repository_id" /><meta content="happyworm/jPlayer" name="octolytics-dimension-repository_nwo" /><meta content="true" name="octolytics-dimension-repository_public" /><meta content="false" name="octolytics-dimension-repository_is_fork" /><meta content="521424" name="octolytics-dimension-repository_network_root_id" /><meta content="happyworm/jPlayer" name="octolytics-dimension-repository_network_root_nwo" />
60
- <link href="https://github.com/happyworm/jPlayer/commits/master.atom" rel="alternate" title="Recent Commits to jPlayer:master" type="application/atom+xml">
61
-
62
- </head>
63
-
64
-
65
- <body class="logged_out env-production windows vis-public page-blob">
66
- <a href="#start-of-content" tabindex="1" class="accessibility-aid js-skip-to-content">Skip to content</a>
67
- <div class="wrapper">
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
- <div class="header header-logged-out" role="banner">
76
- <div class="container clearfix">
77
-
78
- <a class="header-logo-wordmark" href="https://github.com/" ga-data-click="(Logged out) Header, go to homepage, icon:logo-wordmark">
79
- <span class="mega-octicon octicon-logo-github"></span>
80
- </a>
81
-
82
- <div class="header-actions" role="navigation">
83
- <a class="button primary" href="/join" data-ga-click="(Logged out) Header, clicked Sign up, text:sign-up">Sign up</a>
84
- <a class="button signin" href="/login?return_to=%2Fhappyworm%2FjPlayer%2Fblob%2Fmaster%2Fjquery.jplayer%2FJplayer.swf" data-ga-click="(Logged out) Header, clicked Sign in, text:sign-in">Sign in</a>
85
- </div>
86
-
87
- <div class="site-search repo-scope js-site-search" role="search">
88
- <form accept-charset="UTF-8" action="/happyworm/jPlayer/search" class="js-site-search-form" data-global-search-url="/search" data-repo-search-url="/happyworm/jPlayer/search" method="get"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="&#x2713;" /></div>
89
- <input type="text"
90
- class="js-site-search-field is-clearable"
91
- data-hotkey="s"
92
- name="q"
93
- placeholder="Search"
94
- data-global-scope-placeholder="Search GitHub"
95
- data-repo-scope-placeholder="Search"
96
- tabindex="1"
97
- autocapitalize="off">
98
- <div class="scope-badge">This repository</div>
99
- </form>
100
- </div>
101
-
102
- <ul class="header-nav left" role="navigation">
103
- <li class="header-nav-item">
104
- <a class="header-nav-link" href="/explore" data-ga-click="(Logged out) Header, go to explore, text:explore">Explore</a>
105
- </li>
106
- <li class="header-nav-item">
107
- <a class="header-nav-link" href="/features" data-ga-click="(Logged out) Header, go to features, text:features">Features</a>
108
- </li>
109
- <li class="header-nav-item">
110
- <a class="header-nav-link" href="https://enterprise.github.com/" data-ga-click="(Logged out) Header, go to enterprise, text:enterprise">Enterprise</a>
111
- </li>
112
- <li class="header-nav-item">
113
- <a class="header-nav-link" href="/blog" data-ga-click="(Logged out) Header, go to blog, text:blog">Blog</a>
114
- </li>
115
- </ul>
116
-
117
- </div>
118
- </div>
119
-
120
-
121
-
122
- <div id="start-of-content" class="accessibility-aid"></div>
123
- <div class="site" itemscope itemtype="http://schema.org/WebPage">
124
- <div id="js-flash-container">
125
-
126
- </div>
127
- <div class="pagehead repohead instapaper_ignore readability-menu">
128
- <div class="container">
129
-
130
- <ul class="pagehead-actions">
131
-
132
-
133
- <li>
134
- <a href="/login?return_to=%2Fhappyworm%2FjPlayer"
135
- class="minibutton with-count star-button tooltipped tooltipped-n"
136
- aria-label="You must be signed in to star a repository" rel="nofollow">
137
- <span class="octicon octicon-star"></span>
138
- Star
139
- </a>
140
-
141
- <a class="social-count js-social-count" href="/happyworm/jPlayer/stargazers">
142
- 2,565
143
- </a>
144
-
145
- </li>
146
-
147
- <li>
148
- <a href="/login?return_to=%2Fhappyworm%2FjPlayer"
149
- class="minibutton with-count js-toggler-target fork-button tooltipped tooltipped-n"
150
- aria-label="You must be signed in to fork a repository" rel="nofollow">
151
- <span class="octicon octicon-repo-forked"></span>
152
- Fork
153
- </a>
154
- <a href="/happyworm/jPlayer/network" class="social-count">
155
- 749
156
- </a>
157
- </li>
158
- </ul>
159
-
160
- <h1 itemscope itemtype="http://data-vocabulary.org/Breadcrumb" class="entry-title public">
161
- <span class="mega-octicon octicon-repo"></span>
162
- <span class="author"><a href="/happyworm" class="url fn" itemprop="url" rel="author"><span itemprop="title">happyworm</span></a></span><!--
163
- --><span class="path-divider">/</span><!--
164
- --><strong><a href="/happyworm/jPlayer" class="js-current-repository js-repo-home-link">jPlayer</a></strong>
165
-
166
- <span class="page-context-loader">
167
- <img alt="" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
168
- </span>
169
-
170
- </h1>
171
- </div><!-- /.container -->
172
- </div><!-- /.repohead -->
173
-
174
- <div class="container">
175
- <div class="repository-with-sidebar repo-container new-discussion-timeline ">
176
- <div class="repository-sidebar clearfix">
177
-
178
- <div class="sunken-menu vertical-right repo-nav js-repo-nav js-repository-container-pjax js-octicon-loaders" role="navigation" data-issue-count-url="/happyworm/jPlayer/issues/counts">
179
- <div class="sunken-menu-contents">
180
- <ul class="sunken-menu-group">
181
- <li class="tooltipped tooltipped-w" aria-label="Code">
182
- <a href="/happyworm/jPlayer" aria-label="Code" class="selected js-selected-navigation-item sunken-menu-item" data-hotkey="g c" data-pjax="true" data-selected-links="repo_source repo_downloads repo_commits repo_releases repo_tags repo_branches /happyworm/jPlayer">
183
- <span class="octicon octicon-code"></span> <span class="full-word">Code</span>
184
- <img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
185
- </a> </li>
186
-
187
- <li class="tooltipped tooltipped-w" aria-label="Issues">
188
- <a href="/happyworm/jPlayer/issues" aria-label="Issues" class="js-selected-navigation-item sunken-menu-item js-disable-pjax" data-hotkey="g i" data-selected-links="repo_issues repo_labels repo_milestones /happyworm/jPlayer/issues">
189
- <span class="octicon octicon-issue-opened"></span> <span class="full-word">Issues</span>
190
- <span class="js-issue-replace-counter"></span>
191
- <img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
192
- </a> </li>
193
-
194
- <li class="tooltipped tooltipped-w" aria-label="Pull Requests">
195
- <a href="/happyworm/jPlayer/pulls" aria-label="Pull Requests" class="js-selected-navigation-item sunken-menu-item js-disable-pjax" data-hotkey="g p" data-selected-links="repo_pulls /happyworm/jPlayer/pulls">
196
- <span class="octicon octicon-git-pull-request"></span> <span class="full-word">Pull Requests</span>
197
- <span class="js-pull-replace-counter"></span>
198
- <img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
199
- </a> </li>
200
-
201
-
202
- <li class="tooltipped tooltipped-w" aria-label="Wiki">
203
- <a href="/happyworm/jPlayer/wiki" aria-label="Wiki" class="js-selected-navigation-item sunken-menu-item js-disable-pjax" data-hotkey="g w" data-selected-links="repo_wiki /happyworm/jPlayer/wiki">
204
- <span class="octicon octicon-book"></span> <span class="full-word">Wiki</span>
205
- <img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
206
- </a> </li>
207
- </ul>
208
- <div class="sunken-menu-separator"></div>
209
- <ul class="sunken-menu-group">
210
-
211
- <li class="tooltipped tooltipped-w" aria-label="Pulse">
212
- <a href="/happyworm/jPlayer/pulse/weekly" aria-label="Pulse" class="js-selected-navigation-item sunken-menu-item" data-pjax="true" data-selected-links="pulse /happyworm/jPlayer/pulse/weekly">
213
- <span class="octicon octicon-pulse"></span> <span class="full-word">Pulse</span>
214
- <img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
215
- </a> </li>
216
-
217
- <li class="tooltipped tooltipped-w" aria-label="Graphs">
218
- <a href="/happyworm/jPlayer/graphs" aria-label="Graphs" class="js-selected-navigation-item sunken-menu-item" data-pjax="true" data-selected-links="repo_graphs repo_contributors /happyworm/jPlayer/graphs">
219
- <span class="octicon octicon-graph"></span> <span class="full-word">Graphs</span>
220
- <img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
221
- </a> </li>
222
- </ul>
223
-
224
-
225
- </div>
226
- </div>
227
-
228
- <div class="only-with-full-nav">
229
-
230
-
231
- <div class="clone-url open"
232
- data-protocol-type="http"
233
- data-url="/users/set_protocol?protocol_selector=http&amp;protocol_type=clone">
234
- <h3><span class="text-emphasized">HTTPS</span> clone URL</h3>
235
- <div class="input-group">
236
- <input type="text" class="input-mini input-monospace js-url-field"
237
- value="https://github.com/happyworm/jPlayer.git" readonly="readonly">
238
- <span class="input-group-button">
239
- <button aria-label="Copy to clipboard" class="js-zeroclipboard minibutton zeroclipboard-button" data-clipboard-text="https://github.com/happyworm/jPlayer.git" data-copied-hint="Copied!" type="button"><span class="octicon octicon-clippy"></span></button>
240
- </span>
241
- </div>
242
- </div>
243
-
244
-
245
- <div class="clone-url "
246
- data-protocol-type="subversion"
247
- data-url="/users/set_protocol?protocol_selector=subversion&amp;protocol_type=clone">
248
- <h3><span class="text-emphasized">Subversion</span> checkout URL</h3>
249
- <div class="input-group">
250
- <input type="text" class="input-mini input-monospace js-url-field"
251
- value="https://github.com/happyworm/jPlayer" readonly="readonly">
252
- <span class="input-group-button">
253
- <button aria-label="Copy to clipboard" class="js-zeroclipboard minibutton zeroclipboard-button" data-clipboard-text="https://github.com/happyworm/jPlayer" data-copied-hint="Copied!" type="button"><span class="octicon octicon-clippy"></span></button>
254
- </span>
255
- </div>
256
- </div>
257
-
258
-
259
- <p class="clone-options">You can clone with
260
- <a href="#" class="js-clone-selector" data-protocol="http">HTTPS</a>
261
- or <a href="#" class="js-clone-selector" data-protocol="subversion">Subversion</a>.
262
- <a href="https://help.github.com/articles/which-remote-url-should-i-use" class="help tooltipped tooltipped-n" aria-label="Get help on which URL is right for you.">
263
- <span class="octicon octicon-question"></span>
264
- </a>
265
- </p>
266
-
267
-
268
- <a href="http://windows.github.com" class="minibutton sidebar-button" title="Save happyworm/jPlayer to your computer and use it in GitHub Desktop." aria-label="Save happyworm/jPlayer to your computer and use it in GitHub Desktop.">
269
- <span class="octicon octicon-device-desktop"></span>
270
- Clone in Desktop
271
- </a>
272
-
273
- <a href="/happyworm/jPlayer/archive/master.zip"
274
- class="minibutton sidebar-button"
275
- aria-label="Download the contents of happyworm/jPlayer as a zip file"
276
- title="Download the contents of happyworm/jPlayer as a zip file"
277
- rel="nofollow">
278
- <span class="octicon octicon-cloud-download"></span>
279
- Download ZIP
280
- </a>
281
- </div>
282
- </div><!-- /.repository-sidebar -->
283
-
284
- <div id="js-repo-pjax-container" class="repository-content context-loader-container" data-pjax-container>
285
-
286
-
287
- <a href="/happyworm/jPlayer/blob/5ebbd76b4e37145a20c28542b39ca7b8f2cac47a/jquery.jplayer/Jplayer.swf" class="hidden js-permalink-shortcut" data-hotkey="y">Permalink</a>
288
-
289
- <!-- blob contrib key: blob_contributors:v21:69921493be5134b9cae03bcc0963aaf7 -->
290
-
291
- <div class="file-navigation">
292
-
293
- <div class="select-menu js-menu-container js-select-menu left">
294
- <span class="minibutton select-menu-button js-menu-target css-truncate" data-hotkey="w"
295
- data-master-branch="master"
296
- data-ref="master"
297
- title="master"
298
- role="button" aria-label="Switch branches or tags" tabindex="0" aria-haspopup="true">
299
- <span class="octicon octicon-git-branch"></span>
300
- <i>branch:</i>
301
- <span class="js-select-button css-truncate-target">master</span>
302
- </span>
303
-
304
- <div class="select-menu-modal-holder js-menu-content js-navigation-container" data-pjax aria-hidden="true">
305
-
306
- <div class="select-menu-modal">
307
- <div class="select-menu-header">
308
- <span class="select-menu-title">Switch branches/tags</span>
309
- <span class="octicon octicon-x js-menu-close" role="button" aria-label="Close"></span>
310
- </div> <!-- /.select-menu-header -->
311
-
312
- <div class="select-menu-filters">
313
- <div class="select-menu-text-filter">
314
- <input type="text" aria-label="Filter branches/tags" id="context-commitish-filter-field" class="js-filterable-field js-navigation-enable" placeholder="Filter branches/tags">
315
- </div>
316
- <div class="select-menu-tabs">
317
- <ul>
318
- <li class="select-menu-tab">
319
- <a href="#" data-tab-filter="branches" class="js-select-menu-tab">Branches</a>
320
- </li>
321
- <li class="select-menu-tab">
322
- <a href="#" data-tab-filter="tags" class="js-select-menu-tab">Tags</a>
323
- </li>
324
- </ul>
325
- </div><!-- /.select-menu-tabs -->
326
- </div><!-- /.select-menu-filters -->
327
-
328
- <div class="select-menu-list select-menu-tab-bucket js-select-menu-tab-bucket" data-tab-filter="branches">
329
-
330
- <div data-filterable-for="context-commitish-filter-field" data-filterable-type="substring">
331
-
332
-
333
- <div class="select-menu-item js-navigation-item ">
334
- <span class="select-menu-item-icon octicon octicon-check"></span>
335
- <a href="/happyworm/jPlayer/blob/dev/jquery.jplayer/Jplayer.swf"
336
- data-name="dev"
337
- data-skip-pjax="true"
338
- rel="nofollow"
339
- class="js-navigation-open select-menu-item-text css-truncate-target"
340
- title="dev">dev</a>
341
- </div> <!-- /.select-menu-item -->
342
- <div class="select-menu-item js-navigation-item selected">
343
- <span class="select-menu-item-icon octicon octicon-check"></span>
344
- <a href="/happyworm/jPlayer/blob/master/jquery.jplayer/Jplayer.swf"
345
- data-name="master"
346
- data-skip-pjax="true"
347
- rel="nofollow"
348
- class="js-navigation-open select-menu-item-text css-truncate-target"
349
- title="master">master</a>
350
- </div> <!-- /.select-menu-item -->
351
- <div class="select-menu-item js-navigation-item ">
352
- <span class="select-menu-item-icon octicon octicon-check"></span>
353
- <a href="/happyworm/jPlayer/blob/v2.3/jquery.jplayer/Jplayer.swf"
354
- data-name="v2.3"
355
- data-skip-pjax="true"
356
- rel="nofollow"
357
- class="js-navigation-open select-menu-item-text css-truncate-target"
358
- title="v2.3">v2.3</a>
359
- </div> <!-- /.select-menu-item -->
360
- <div class="select-menu-item js-navigation-item ">
361
- <span class="select-menu-item-icon octicon octicon-check"></span>
362
- <a href="/happyworm/jPlayer/blob/v2.4/jquery.jplayer/Jplayer.swf"
363
- data-name="v2.4"
364
- data-skip-pjax="true"
365
- rel="nofollow"
366
- class="js-navigation-open select-menu-item-text css-truncate-target"
367
- title="v2.4">v2.4</a>
368
- </div> <!-- /.select-menu-item -->
369
- <div class="select-menu-item js-navigation-item ">
370
- <span class="select-menu-item-icon octicon octicon-check"></span>
371
- <a href="/happyworm/jPlayer/blob/v2.5/jquery.jplayer/Jplayer.swf"
372
- data-name="v2.5"
373
- data-skip-pjax="true"
374
- rel="nofollow"
375
- class="js-navigation-open select-menu-item-text css-truncate-target"
376
- title="v2.5">v2.5</a>
377
- </div> <!-- /.select-menu-item -->
378
- <div class="select-menu-item js-navigation-item ">
379
- <span class="select-menu-item-icon octicon octicon-check"></span>
380
- <a href="/happyworm/jPlayer/blob/v2.6/jquery.jplayer/Jplayer.swf"
381
- data-name="v2.6"
382
- data-skip-pjax="true"
383
- rel="nofollow"
384
- class="js-navigation-open select-menu-item-text css-truncate-target"
385
- title="v2.6">v2.6</a>
386
- </div> <!-- /.select-menu-item -->
387
- <div class="select-menu-item js-navigation-item ">
388
- <span class="select-menu-item-icon octicon octicon-check"></span>
389
- <a href="/happyworm/jPlayer/blob/v2.7/jquery.jplayer/Jplayer.swf"
390
- data-name="v2.7"
391
- data-skip-pjax="true"
392
- rel="nofollow"
393
- class="js-navigation-open select-menu-item-text css-truncate-target"
394
- title="v2.7">v2.7</a>
395
- </div> <!-- /.select-menu-item -->
396
- </div>
397
-
398
- <div class="select-menu-no-results">Nothing to show</div>
399
- </div> <!-- /.select-menu-list -->
400
-
401
- <div class="select-menu-list select-menu-tab-bucket js-select-menu-tab-bucket" data-tab-filter="tags">
402
- <div data-filterable-for="context-commitish-filter-field" data-filterable-type="substring">
403
-
404
-
405
- <div class="select-menu-item js-navigation-item ">
406
- <span class="select-menu-item-icon octicon octicon-check"></span>
407
- <a href="/happyworm/jPlayer/tree/2.7.1/jquery.jplayer/Jplayer.swf"
408
- data-name="2.7.1"
409
- data-skip-pjax="true"
410
- rel="nofollow"
411
- class="js-navigation-open select-menu-item-text css-truncate-target"
412
- title="2.7.1">2.7.1</a>
413
- </div> <!-- /.select-menu-item -->
414
- <div class="select-menu-item js-navigation-item ">
415
- <span class="select-menu-item-icon octicon octicon-check"></span>
416
- <a href="/happyworm/jPlayer/tree/2.7.0/jquery.jplayer/Jplayer.swf"
417
- data-name="2.7.0"
418
- data-skip-pjax="true"
419
- rel="nofollow"
420
- class="js-navigation-open select-menu-item-text css-truncate-target"
421
- title="2.7.0">2.7.0</a>
422
- </div> <!-- /.select-menu-item -->
423
- <div class="select-menu-item js-navigation-item ">
424
- <span class="select-menu-item-icon octicon octicon-check"></span>
425
- <a href="/happyworm/jPlayer/tree/2.6.4/jquery.jplayer/Jplayer.swf"
426
- data-name="2.6.4"
427
- data-skip-pjax="true"
428
- rel="nofollow"
429
- class="js-navigation-open select-menu-item-text css-truncate-target"
430
- title="2.6.4">2.6.4</a>
431
- </div> <!-- /.select-menu-item -->
432
- <div class="select-menu-item js-navigation-item ">
433
- <span class="select-menu-item-icon octicon octicon-check"></span>
434
- <a href="/happyworm/jPlayer/tree/2.6.3/jquery.jplayer/Jplayer.swf"
435
- data-name="2.6.3"
436
- data-skip-pjax="true"
437
- rel="nofollow"
438
- class="js-navigation-open select-menu-item-text css-truncate-target"
439
- title="2.6.3">2.6.3</a>
440
- </div> <!-- /.select-menu-item -->
441
- <div class="select-menu-item js-navigation-item ">
442
- <span class="select-menu-item-icon octicon octicon-check"></span>
443
- <a href="/happyworm/jPlayer/tree/2.6.2/jquery.jplayer/Jplayer.swf"
444
- data-name="2.6.2"
445
- data-skip-pjax="true"
446
- rel="nofollow"
447
- class="js-navigation-open select-menu-item-text css-truncate-target"
448
- title="2.6.2">2.6.2</a>
449
- </div> <!-- /.select-menu-item -->
450
- <div class="select-menu-item js-navigation-item ">
451
- <span class="select-menu-item-icon octicon octicon-check"></span>
452
- <a href="/happyworm/jPlayer/tree/2.6.1/jquery.jplayer/Jplayer.swf"
453
- data-name="2.6.1"
454
- data-skip-pjax="true"
455
- rel="nofollow"
456
- class="js-navigation-open select-menu-item-text css-truncate-target"
457
- title="2.6.1">2.6.1</a>
458
- </div> <!-- /.select-menu-item -->
459
- <div class="select-menu-item js-navigation-item ">
460
- <span class="select-menu-item-icon octicon octicon-check"></span>
461
- <a href="/happyworm/jPlayer/tree/2.6.0/jquery.jplayer/Jplayer.swf"
462
- data-name="2.6.0"
463
- data-skip-pjax="true"
464
- rel="nofollow"
465
- class="js-navigation-open select-menu-item-text css-truncate-target"
466
- title="2.6.0">2.6.0</a>
467
- </div> <!-- /.select-menu-item -->
468
- <div class="select-menu-item js-navigation-item ">
469
- <span class="select-menu-item-icon octicon octicon-check"></span>
470
- <a href="/happyworm/jPlayer/tree/2.5.6/jquery.jplayer/Jplayer.swf"
471
- data-name="2.5.6"
472
- data-skip-pjax="true"
473
- rel="nofollow"
474
- class="js-navigation-open select-menu-item-text css-truncate-target"
475
- title="2.5.6">2.5.6</a>
476
- </div> <!-- /.select-menu-item -->
477
- <div class="select-menu-item js-navigation-item ">
478
- <span class="select-menu-item-icon octicon octicon-check"></span>
479
- <a href="/happyworm/jPlayer/tree/2.5.5/jquery.jplayer/Jplayer.swf"
480
- data-name="2.5.5"
481
- data-skip-pjax="true"
482
- rel="nofollow"
483
- class="js-navigation-open select-menu-item-text css-truncate-target"
484
- title="2.5.5">2.5.5</a>
485
- </div> <!-- /.select-menu-item -->
486
- <div class="select-menu-item js-navigation-item ">
487
- <span class="select-menu-item-icon octicon octicon-check"></span>
488
- <a href="/happyworm/jPlayer/tree/2.5.4/jquery.jplayer/Jplayer.swf"
489
- data-name="2.5.4"
490
- data-skip-pjax="true"
491
- rel="nofollow"
492
- class="js-navigation-open select-menu-item-text css-truncate-target"
493
- title="2.5.4">2.5.4</a>
494
- </div> <!-- /.select-menu-item -->
495
- <div class="select-menu-item js-navigation-item ">
496
- <span class="select-menu-item-icon octicon octicon-check"></span>
497
- <a href="/happyworm/jPlayer/tree/2.5.3/jquery.jplayer/Jplayer.swf"
498
- data-name="2.5.3"
499
- data-skip-pjax="true"
500
- rel="nofollow"
501
- class="js-navigation-open select-menu-item-text css-truncate-target"
502
- title="2.5.3">2.5.3</a>
503
- </div> <!-- /.select-menu-item -->
504
- <div class="select-menu-item js-navigation-item ">
505
- <span class="select-menu-item-icon octicon octicon-check"></span>
506
- <a href="/happyworm/jPlayer/tree/2.5.2/jquery.jplayer/Jplayer.swf"
507
- data-name="2.5.2"
508
- data-skip-pjax="true"
509
- rel="nofollow"
510
- class="js-navigation-open select-menu-item-text css-truncate-target"
511
- title="2.5.2">2.5.2</a>
512
- </div> <!-- /.select-menu-item -->
513
- <div class="select-menu-item js-navigation-item ">
514
- <span class="select-menu-item-icon octicon octicon-check"></span>
515
- <a href="/happyworm/jPlayer/tree/2.5.1/jquery.jplayer/Jplayer.swf"
516
- data-name="2.5.1"
517
- data-skip-pjax="true"
518
- rel="nofollow"
519
- class="js-navigation-open select-menu-item-text css-truncate-target"
520
- title="2.5.1">2.5.1</a>
521
- </div> <!-- /.select-menu-item -->
522
- <div class="select-menu-item js-navigation-item ">
523
- <span class="select-menu-item-icon octicon octicon-check"></span>
524
- <a href="/happyworm/jPlayer/tree/2.5.0/jquery.jplayer/Jplayer.swf"
525
- data-name="2.5.0"
526
- data-skip-pjax="true"
527
- rel="nofollow"
528
- class="js-navigation-open select-menu-item-text css-truncate-target"
529
- title="2.5.0">2.5.0</a>
530
- </div> <!-- /.select-menu-item -->
531
- <div class="select-menu-item js-navigation-item ">
532
- <span class="select-menu-item-icon octicon octicon-check"></span>
533
- <a href="/happyworm/jPlayer/tree/2.4.2/jquery.jplayer/Jplayer.swf"
534
- data-name="2.4.2"
535
- data-skip-pjax="true"
536
- rel="nofollow"
537
- class="js-navigation-open select-menu-item-text css-truncate-target"
538
- title="2.4.2">2.4.2</a>
539
- </div> <!-- /.select-menu-item -->
540
- <div class="select-menu-item js-navigation-item ">
541
- <span class="select-menu-item-icon octicon octicon-check"></span>
542
- <a href="/happyworm/jPlayer/tree/2.4.1/jquery.jplayer/Jplayer.swf"
543
- data-name="2.4.1"
544
- data-skip-pjax="true"
545
- rel="nofollow"
546
- class="js-navigation-open select-menu-item-text css-truncate-target"
547
- title="2.4.1">2.4.1</a>
548
- </div> <!-- /.select-menu-item -->
549
- <div class="select-menu-item js-navigation-item ">
550
- <span class="select-menu-item-icon octicon octicon-check"></span>
551
- <a href="/happyworm/jPlayer/tree/2.4.0/jquery.jplayer/Jplayer.swf"
552
- data-name="2.4.0"
553
- data-skip-pjax="true"
554
- rel="nofollow"
555
- class="js-navigation-open select-menu-item-text css-truncate-target"
556
- title="2.4.0">2.4.0</a>
557
- </div> <!-- /.select-menu-item -->
558
- <div class="select-menu-item js-navigation-item ">
559
- <span class="select-menu-item-icon octicon octicon-check"></span>
560
- <a href="/happyworm/jPlayer/tree/2.3.10/jquery.jplayer/Jplayer.swf"
561
- data-name="2.3.10"
562
- data-skip-pjax="true"
563
- rel="nofollow"
564
- class="js-navigation-open select-menu-item-text css-truncate-target"
565
- title="2.3.10">2.3.10</a>
566
- </div> <!-- /.select-menu-item -->
567
- <div class="select-menu-item js-navigation-item ">
568
- <span class="select-menu-item-icon octicon octicon-check"></span>
569
- <a href="/happyworm/jPlayer/tree/2.3.9/jquery.jplayer/Jplayer.swf"
570
- data-name="2.3.9"
571
- data-skip-pjax="true"
572
- rel="nofollow"
573
- class="js-navigation-open select-menu-item-text css-truncate-target"
574
- title="2.3.9">2.3.9</a>
575
- </div> <!-- /.select-menu-item -->
576
- <div class="select-menu-item js-navigation-item ">
577
- <span class="select-menu-item-icon octicon octicon-check"></span>
578
- <a href="/happyworm/jPlayer/tree/2.3.8/jquery.jplayer/Jplayer.swf"
579
- data-name="2.3.8"
580
- data-skip-pjax="true"
581
- rel="nofollow"
582
- class="js-navigation-open select-menu-item-text css-truncate-target"
583
- title="2.3.8">2.3.8</a>
584
- </div> <!-- /.select-menu-item -->
585
- <div class="select-menu-item js-navigation-item ">
586
- <span class="select-menu-item-icon octicon octicon-check"></span>
587
- <a href="/happyworm/jPlayer/tree/2.3.7/jquery.jplayer/Jplayer.swf"
588
- data-name="2.3.7"
589
- data-skip-pjax="true"
590
- rel="nofollow"
591
- class="js-navigation-open select-menu-item-text css-truncate-target"
592
- title="2.3.7">2.3.7</a>
593
- </div> <!-- /.select-menu-item -->
594
- <div class="select-menu-item js-navigation-item ">
595
- <span class="select-menu-item-icon octicon octicon-check"></span>
596
- <a href="/happyworm/jPlayer/tree/2.3.6/jquery.jplayer/Jplayer.swf"
597
- data-name="2.3.6"
598
- data-skip-pjax="true"
599
- rel="nofollow"
600
- class="js-navigation-open select-menu-item-text css-truncate-target"
601
- title="2.3.6">2.3.6</a>
602
- </div> <!-- /.select-menu-item -->
603
- <div class="select-menu-item js-navigation-item ">
604
- <span class="select-menu-item-icon octicon octicon-check"></span>
605
- <a href="/happyworm/jPlayer/tree/2.3.5/jquery.jplayer/Jplayer.swf"
606
- data-name="2.3.5"
607
- data-skip-pjax="true"
608
- rel="nofollow"
609
- class="js-navigation-open select-menu-item-text css-truncate-target"
610
- title="2.3.5">2.3.5</a>
611
- </div> <!-- /.select-menu-item -->
612
- <div class="select-menu-item js-navigation-item ">
613
- <span class="select-menu-item-icon octicon octicon-check"></span>
614
- <a href="/happyworm/jPlayer/tree/2.3.4/jquery.jplayer/Jplayer.swf"
615
- data-name="2.3.4"
616
- data-skip-pjax="true"
617
- rel="nofollow"
618
- class="js-navigation-open select-menu-item-text css-truncate-target"
619
- title="2.3.4">2.3.4</a>
620
- </div> <!-- /.select-menu-item -->
621
- <div class="select-menu-item js-navigation-item ">
622
- <span class="select-menu-item-icon octicon octicon-check"></span>
623
- <a href="/happyworm/jPlayer/tree/2.3.3/jquery.jplayer/Jplayer.swf"
624
- data-name="2.3.3"
625
- data-skip-pjax="true"
626
- rel="nofollow"
627
- class="js-navigation-open select-menu-item-text css-truncate-target"
628
- title="2.3.3">2.3.3</a>
629
- </div> <!-- /.select-menu-item -->
630
- <div class="select-menu-item js-navigation-item ">
631
- <span class="select-menu-item-icon octicon octicon-check"></span>
632
- <a href="/happyworm/jPlayer/tree/2.3.2/jquery.jplayer/Jplayer.swf"
633
- data-name="2.3.2"
634
- data-skip-pjax="true"
635
- rel="nofollow"
636
- class="js-navigation-open select-menu-item-text css-truncate-target"
637
- title="2.3.2">2.3.2</a>
638
- </div> <!-- /.select-menu-item -->
639
- <div class="select-menu-item js-navigation-item ">
640
- <span class="select-menu-item-icon octicon octicon-check"></span>
641
- <a href="/happyworm/jPlayer/tree/2.3.0/jquery.jplayer/Jplayer.swf"
642
- data-name="2.3.0"
643
- data-skip-pjax="true"
644
- rel="nofollow"
645
- class="js-navigation-open select-menu-item-text css-truncate-target"
646
- title="2.3.0">2.3.0</a>
647
- </div> <!-- /.select-menu-item -->
648
- <div class="select-menu-item js-navigation-item ">
649
- <span class="select-menu-item-icon octicon octicon-check"></span>
650
- <a href="/happyworm/jPlayer/tree/2.2.0/jquery.jplayer/Jplayer.swf"
651
- data-name="2.2.0"
652
- data-skip-pjax="true"
653
- rel="nofollow"
654
- class="js-navigation-open select-menu-item-text css-truncate-target"
655
- title="2.2.0">2.2.0</a>
656
- </div> <!-- /.select-menu-item -->
657
- <div class="select-menu-item js-navigation-item ">
658
- <span class="select-menu-item-icon octicon octicon-check"></span>
659
- <a href="/happyworm/jPlayer/tree/2.1.0/jquery.jplayer/Jplayer.swf"
660
- data-name="2.1.0"
661
- data-skip-pjax="true"
662
- rel="nofollow"
663
- class="js-navigation-open select-menu-item-text css-truncate-target"
664
- title="2.1.0">2.1.0</a>
665
- </div> <!-- /.select-menu-item -->
666
- <div class="select-menu-item js-navigation-item ">
667
- <span class="select-menu-item-icon octicon octicon-check"></span>
668
- <a href="/happyworm/jPlayer/tree/2.0.0/jquery.jplayer/Jplayer.swf"
669
- data-name="2.0.0"
670
- data-skip-pjax="true"
671
- rel="nofollow"
672
- class="js-navigation-open select-menu-item-text css-truncate-target"
673
- title="2.0.0">2.0.0</a>
674
- </div> <!-- /.select-menu-item -->
675
- </div>
676
-
677
- <div class="select-menu-no-results">Nothing to show</div>
678
- </div> <!-- /.select-menu-list -->
679
-
680
- </div> <!-- /.select-menu-modal -->
681
- </div> <!-- /.select-menu-modal-holder -->
682
- </div> <!-- /.select-menu -->
683
-
684
- <div class="button-group right">
685
- <a href="/happyworm/jPlayer/find/master"
686
- class="js-show-file-finder minibutton empty-icon tooltipped tooltipped-s"
687
- data-pjax
688
- data-hotkey="t"
689
- aria-label="Quickly jump between files">
690
- <span class="octicon octicon-list-unordered"></span>
691
- </a>
692
- <button class="js-zeroclipboard minibutton zeroclipboard-button"
693
- data-clipboard-text="jquery.jplayer/Jplayer.swf"
694
- aria-label="Copy to clipboard"
695
- data-copied-hint="Copied!">
696
- <span class="octicon octicon-clippy"></span>
697
- </button>
698
- </div>
699
-
700
- <div class="breadcrumb">
701
- <span class='repo-root js-repo-root'><span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/happyworm/jPlayer" class="" data-branch="master" data-direction="back" data-pjax="true" itemscope="url"><span itemprop="title">jPlayer</span></a></span></span><span class="separator"> / </span><span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/happyworm/jPlayer/tree/master/jquery.jplayer" class="" data-branch="master" data-direction="back" data-pjax="true" itemscope="url"><span itemprop="title">jquery.jplayer</span></a></span><span class="separator"> / </span><strong class="final-path">Jplayer.swf</strong>
702
- </div>
703
- </div>
704
-
705
-
706
- <div class="commit file-history-tease">
707
- <div class="file-history-tease-header">
708
- <img alt="Mark Panaghiston" class="avatar" data-user="1105524" height="24" src="https://avatars1.githubusercontent.com/u/1105524?v=2&amp;s=48" width="24" />
709
- <span class="author"><a href="/thepag" rel="contributor">thepag</a></span>
710
- <time datetime="2014-09-01T18:07:54Z" is="relative-time">Sep 1, 2014</time>
711
- <div class="commit-title">
712
- <a href="/happyworm/jPlayer/commit/94e3c7a838a6124c779e7bdb1efc16454a0383e9" class="message" data-pjax="true" title="Updated versioning to 2.7.0">Updated versioning to 2.7.0</a>
713
- </div>
714
- </div>
715
-
716
- <div class="participation">
717
- <p class="quickstat">
718
- <a href="#blob_contributors_box" rel="facebox">
719
- <strong>1</strong>
720
- contributor
721
- </a>
722
- </p>
723
-
724
- </div>
725
- <div id="blob_contributors_box" style="display:none">
726
- <h2 class="facebox-header">Users who have contributed to this file</h2>
727
- <ul class="facebox-user-list">
728
- <li class="facebox-user-list-item">
729
- <img alt="Mark Panaghiston" data-user="1105524" height="24" src="https://avatars1.githubusercontent.com/u/1105524?v=2&amp;s=48" width="24" />
730
- <a href="/thepag">thepag</a>
731
- </li>
732
- </ul>
733
- </div>
734
- </div>
735
-
736
- <div class="file-box">
737
- <div class="file">
738
- <div class="meta clearfix">
739
- <div class="info file-name">
740
- <span>14.17 kb</span>
741
- </div>
742
- <div class="actions">
743
- <div class="button-group">
744
- <a href="/happyworm/jPlayer/raw/master/jquery.jplayer/Jplayer.swf" class="minibutton " id="raw-url">Raw</a>
745
- <a href="/happyworm/jPlayer/commits/master/jquery.jplayer/Jplayer.swf" class="minibutton " rel="nofollow">History</a>
746
- </div><!-- /.button-group -->
747
-
748
- <a class="octicon-button tooltipped tooltipped-nw"
749
- href="http://windows.github.com" aria-label="Open this file in GitHub for Windows">
750
- <span class="octicon octicon-device-desktop"></span>
751
- </a>
752
-
753
-
754
- <a class="octicon-button danger disabled tooltipped tooltipped-w" href="#"
755
- aria-label="You must be signed in to make or propose changes">
756
- <span class="octicon octicon-trashcan"></span>
757
- </a>
758
- </div><!-- /.actions -->
759
- </div>
760
-
761
- <div class="blob-wrapper data type-text">
762
- <div class="image">
763
- <a href="/happyworm/jPlayer/blob/master/jquery.jplayer/Jplayer.swf?raw=true">View Raw</a>
764
- </div>
765
- </div>
766
-
767
- </div>
768
- </div>
769
-
770
- <a href="#jump-to-line" rel="facebox[.linejump]" data-hotkey="l" style="display:none">Jump to Line</a>
771
- <div id="jump-to-line" style="display:none">
772
- <form accept-charset="UTF-8" class="js-jump-to-line-form">
773
- <input class="linejump-input js-jump-to-line-field" type="text" placeholder="Jump to line&hellip;" autofocus>
774
- <button type="submit" class="button">Go</button>
775
- </form>
776
- </div>
777
-
778
- </div>
779
-
780
- </div><!-- /.repo-container -->
781
- <div class="modal-backdrop"></div>
782
- </div><!-- /.container -->
783
- </div><!-- /.site -->
784
-
785
-
786
- </div><!-- /.wrapper -->
787
-
788
- <div class="container">
789
- <div class="site-footer" role="contentinfo">
790
- <ul class="site-footer-links right">
791
- <li><a href="https://status.github.com/">Status</a></li>
792
- <li><a href="http://developer.github.com">API</a></li>
793
- <li><a href="http://training.github.com">Training</a></li>
794
- <li><a href="http://shop.github.com">Shop</a></li>
795
- <li><a href="/blog">Blog</a></li>
796
- <li><a href="/about">About</a></li>
797
-
798
- </ul>
799
-
800
- <a href="/" aria-label="Homepage">
801
- <span class="mega-octicon octicon-mark-github" title="GitHub"></span>
802
- </a>
803
-
804
- <ul class="site-footer-links">
805
- <li>&copy; 2014 <span title="0.03083s from github-fe135-cp1-prd.iad.github.net">GitHub</span>, Inc.</li>
806
- <li><a href="/site/terms">Terms</a></li>
807
- <li><a href="/site/privacy">Privacy</a></li>
808
- <li><a href="/security">Security</a></li>
809
- <li><a href="/contact">Contact</a></li>
810
- </ul>
811
- </div><!-- /.site-footer -->
812
- </div><!-- /.container -->
813
-
814
-
815
- <div class="fullscreen-overlay js-fullscreen-overlay" id="fullscreen_overlay">
816
- <div class="fullscreen-container js-suggester-container">
817
- <div class="textarea-wrap">
818
- <textarea name="fullscreen-contents" id="fullscreen-contents" class="fullscreen-contents js-fullscreen-contents js-suggester-field" placeholder=""></textarea>
819
- </div>
820
- </div>
821
- <div class="fullscreen-sidebar">
822
- <a href="#" class="exit-fullscreen js-exit-fullscreen tooltipped tooltipped-w" aria-label="Exit Zen Mode">
823
- <span class="mega-octicon octicon-screen-normal"></span>
824
- </a>
825
- <a href="#" class="theme-switcher js-theme-switcher tooltipped tooltipped-w"
826
- aria-label="Switch themes">
827
- <span class="octicon octicon-color-mode"></span>
828
- </a>
829
- </div>
830
- </div>
831
-
832
-
833
-
834
- <div id="ajax-error-message" class="flash flash-error">
835
- <span class="octicon octicon-alert"></span>
836
- <a href="#" class="octicon octicon-x flash-close js-ajax-error-dismiss" aria-label="Dismiss error"></a>
837
- Something went wrong with that request. Please try again.
838
- </div>
839
-
840
-
841
- <script crossorigin="anonymous" src="https://assets-cdn.github.com/assets/frameworks-fb195fd1a4d42cc4b15379bdba88dece701142d2444f997052fadc7379f85f74.js" type="text/javascript"></script>
842
- <script async="async" crossorigin="anonymous" src="https://assets-cdn.github.com/assets/github-e8da8dfac05100852faba69c2b092b7cdd15a013a04c518a79a3b71c58b0ded7.js" type="text/javascript"></script>
843
-
844
-
845
- <script async src="https://www.google-analytics.com/analytics.js"></script>
846
- </body>
847
- </html>
848
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/admin-1.8.js DELETED
@@ -1,235 +0,0 @@
1
- /* MP3-jPlayer 1.8 - admin js */
2
-
3
- var MP3J_ADMIN = {
4
- toggle_states: [
5
- { fox_library: false },
6
- { fox_folder: false }
7
- ],
8
- showhideit: function ( id, label ) {
9
- if (this.toggle_states[id]) {
10
- jQuery("#" + id + "-list").fadeOut(100);
11
- jQuery("#" + id + "-toggle").empty().append('Show '+label).blur();
12
- this.toggle_states[id] = false;
13
- } else {
14
- jQuery("#" + id + "-list").fadeIn(200);
15
- jQuery("#" + id + "-toggle").empty().append('Hide '+label).blur();
16
- this.toggle_states[id] = true;
17
- }
18
- }
19
- }
20
-
21
-
22
- /* Form select event on player style dropdown */
23
- var player_select=document.getElementById("player-select");
24
- player_select.onchange=function(){
25
- var chosen=this.options[this.selectedIndex];
26
- if (chosen.value=="styleF" || chosen.value=="styleG" || chosen.value=="styleH"){
27
- $S('mp3fcss').color="#d6d6d6";
28
- $S('mp3fcss').backgroundColor="#fcfcfc";
29
- $S('mp3fcss').borderColor="#f0f0f0";
30
- $S('player-csssheet').color="#d6d6d6";
31
- }
32
- if (chosen.value=="styleI"){
33
- $S('mp3fcss').color="#000";
34
- $S('mp3fcss').backgroundColor="#fff";
35
- $S('mp3fcss').borderColor="#dfdfdf";
36
- $S('player-csssheet').color="#444";
37
- }
38
- };
39
-
40
-
41
- /* Admin/Picker interaction */
42
- var curcol="";
43
- var initcolour = "#6d9dde";
44
- var red = 0; // between 0 and 1
45
- var green = 0;
46
- var blue = 0;
47
- var hue = 0; // between 0 and 360
48
- var saturation = 0; // between 0 and 1
49
- var value = 0;
50
-
51
- function putfcolour(fID,blID) {
52
- $woof(fID).value='#'+curcol;
53
- $S(blID).background='#'+curcol;
54
- }
55
- function udfcol(fID, blID) {
56
- $S(blID).background=$woof(fID).value;
57
- }
58
- function sendfcolour(fID) {
59
- hval=$woof(fID).value;
60
- initpicker(hval);
61
- }
62
- function initpicker(hval){
63
- HextoRGB(hval);
64
- RGBtoHSV();
65
- sendHSV={H:hue, S:saturation*100, V:value*100};
66
- HSVupdate(sendHSV);
67
- $S('SVslide').left = Math.round(saturation*100*1.62)-1 + "px";
68
- $S('SVslide').top = 161-Math.round((value*100*1.62)) + "px";
69
- $S('Hslide').top = 159-Math.round((165/360)*hue) + "px";
70
- $S('SV').backgroundColor='#'+color.HSV_HEX({H:hue, S:100, V:100});
71
- }
72
- function HextoRGB(hexString) {
73
- if(hexString === null || typeof(hexString) != "string") {
74
- SetRGB(0,0,0);
75
- return;
76
- }
77
- if (hexString.substr(0, 1) == '#')
78
- hexString = hexString.substr(1);
79
- if(hexString.length != 6) {
80
- SetRGB(0,0,0);
81
- return;
82
- }
83
- var r = parseInt(hexString.substr(0, 2), 16);
84
- var g = parseInt(hexString.substr(2, 2), 16);
85
- var b = parseInt(hexString.substr(4, 2), 16);
86
- if (isNaN(r) || isNaN(g) || isNaN(b)) {
87
- SetRGB(0,0,0);
88
- return;
89
- }
90
- SetRGB(r,g,b);
91
- }
92
- function SetRGB(r, g, b){
93
- red = r/255.0;
94
- green = g/255.0;
95
- blue = b/255.0;
96
- }
97
- function RGBtoHSV(){
98
- var max = Math.max(Math.max(red, green), blue);
99
- var min = Math.min(Math.min(red, green), blue);
100
- value = max;
101
- saturation = 0;
102
- if(max !== 0)
103
- saturation = 1 - min/max;
104
- hue = 0;
105
- if(min == max)
106
- return;
107
-
108
- var delta = (max - min);
109
- if (red == max)
110
- hue = (green - blue) / delta;
111
- else if (green == max)
112
- hue = 2 + ((blue - red) / delta);
113
- else
114
- hue = 4 + ((red - green) / delta);
115
- hue = hue * 60;
116
- if(hue < 0)
117
- hue += 360;
118
- }
119
-
120
- /* Colour picker (modified DHTML Color Square by ColorJack) */
121
- function $woof(v,o) { return((typeof(o)=='object'?o:document).getElementById(v)); }
122
- function $S(o) { o=$woof(o); if(o) return(o.style); }
123
- function abPos(o) { var o=(typeof(o)=='object'?o:$woof(o)), z={X:0,Y:0}; while(o!==null) { z.X+=o.offsetLeft; z.Y+=o.offsetTop; o=o.offsetParent; } return(z); }
124
- function agent(v) { return(Math.max(navigator.userAgent.toLowerCase().indexOf(v),0)); }
125
- function toggle(v) { $S(v).display=($S(v).display=='none'?'block':'none'); }
126
- function within(v,a,z) { return((v>=a && v<=z)?true:false); }
127
- function XY(e,v) { var o=agent('msie')?{'X':event.clientX+document.documentElement.scrollLeft,'Y':event.clientY+document.documentElement.scrollTop}:{'X':e.pageX,'Y':e.pageY}; return(v?o[v]:o); }
128
- function zero(v) { v=parseInt(v); return(!isNaN(v)?v:0); }
129
-
130
- var maxValue={'H':360,'S':100,'V':100}, HSV={H:360, S:100, V:100};
131
- var slideHSV={H:360, S:100, V:100}, zINDEX=15, stop=1;
132
- function HSVslide(d,o,e) {
133
- function tXY(e) { tY=XY(e).Y-ab.Y; tX=XY(e).X-ab.X; }
134
- function mkHSV(a,b,c) { return(Math.min(a,Math.max(0,Math.ceil((parseInt(c)/b)*a)))); }
135
- function ckHSV(a,b) { if(within(a,0,b)) return(a); else if(a>b) return(b); else if(a<0) return('-'+oo); }
136
- function drag(e) {
137
- if(!stop) {
138
- if(d!='drag') tXY(e);
139
- if(d=='SVslide') {
140
- ds.left=ckHSV(tX-oo,162)+'px';
141
- ds.top=ckHSV(tY-oo,162)+'px';
142
- slideHSV.S=mkHSV(100,162,ds.left);
143
- slideHSV.V=100-mkHSV(100,162,ds.top);
144
- HSVupdate();
145
- }
146
- else if(d=='Hslide') {
147
- var ck=ckHSV(tY-oo,163), r=['H','S','V'], z={};
148
- ds.top=(ck-5)+'px';
149
- slideHSV.H=mkHSV(360,163,ck);
150
- for(var i in r) {
151
- i=r[i];
152
- z[i]=(i=='H')?maxValue[i]-mkHSV(maxValue[i],163,ck):HSV[i];
153
- }
154
- HSVupdate(z);
155
- $S('SV').backgroundColor='#'+color.HSV_HEX({H:HSV.H, S:100, V:100});
156
- }
157
- }}
158
- if(stop) {
159
- stop='';
160
- var ds=$S(d!='drag'?d:o);
161
- var ab=abPos($woof(o)), tX, tY, oo=(d=='Hslide')?2:4;
162
- ab.X+=10; ab.Y+=22;
163
- if(d=='SVslide') slideHSV.H=HSV.H;
164
- document.onmousemove=drag;
165
- document.onmouseup=function(){
166
- stop=1;
167
- document.onmousemove='';
168
- document.onmouseup='';
169
- };
170
- drag(e);
171
- }
172
- }
173
- function HSVupdate(v) {
174
- v=color.HSV_HEX(HSV=v?v:slideHSV);
175
- $woof('plugHEX').innerHTML='#'+v;
176
- $S('plugCUR').background='#'+v;
177
- curcol=v;
178
- return(v);
179
- }
180
- function loadSV() {
181
- var z='';
182
- for(var i=165; i>=0; i--) {
183
- z+="<div style=\"BACKGROUND: #"+color.HSV_HEX({H:Math.round((360/165)*i), S:100, V:100})+";\"><br /><\/div>";
184
- }
185
- }
186
-
187
- /* Colour library */
188
- color={};
189
- color.cords=function(W) {
190
- var W2=W/2, rad=(hsv.H/360)*(Math.PI*2), hyp=(hsv.S+(100-hsv.V))/100*(W2/2);
191
- $S('mCur').left=Math.round(Math.abs(Math.round(Math.sin(rad)*hyp)+W2+3))+'px';
192
- $S('mCur').top=Math.round(Math.abs(Math.round(Math.cos(rad)*hyp)-W2-21))+'px';
193
- };
194
- color.HEX=function(o) { o=Math.round(Math.min(Math.max(0,o),255));
195
- return("0123456789ABCDEF".charAt((o-o%16)/16)+"0123456789ABCDEF".charAt(o%16));
196
- };
197
- color.RGB_HEX=function(o) { var fu=color.HEX; return(fu(o.R)+fu(o.G)+fu(o.B)); };
198
- color.HSV_RGB=function(o) {
199
-
200
- var R, G, A, B, C, S=o.S/100, V=o.V/100, H=o.H/360;
201
- if(S>0) { if(H>=1) H=0;
202
- H=6*H; F=H-Math.floor(H);
203
- A=Math.round(255*V*(1-S));
204
- B=Math.round(255*V*(1-(S*F)));
205
- C=Math.round(255*V*(1-(S*(1-F))));
206
- V=Math.round(255*V);
207
-
208
- switch(Math.floor(H)) {
209
- case 0: R=V; G=C; B=A; break;
210
- case 1: R=B; G=V; B=A; break;
211
- case 2: R=A; G=V; B=C; break;
212
- case 3: R=A; G=B; B=V; break;
213
- case 4: R=C; G=A; B=V; break;
214
- case 5: R=V; G=A; B=B; break;
215
- }
216
- return({'R':R?R:0, 'G':G?G:0, 'B':B?B:0, 'A':1});
217
- }
218
- else return({'R':(V=Math.round(V*255)), 'G':V, 'B':V, 'A':1});
219
- };
220
- color.HSV_HEX=function(o) { return(color.RGB_HEX(color.HSV_RGB(o))); };
221
-
222
- /* Startup */
223
- jQuery("#tog_0-list").css( "display" , "none" );
224
- jQuery("#tog_1-list").css( "display" , "none" );
225
- jQuery("#fox_library-list").css( "display" , "none" );
226
- jQuery("#fox_folder-list").css( "display" , "none" );
227
- jQuery("#fox_op1-list").css( "display" , "none" );
228
- jQuery("#fox_op5-list").css( "display" , "none" );
229
- jQuery("#fox_op2-list").css( "display" , "none" );
230
- jQuery("#fox_op3-list").css( "display" , "none" );
231
- jQuery("#fox_op4-list").css( "display" , "none" );
232
-
233
- $S('plugin').display='block';
234
- loadSV();
235
- initpicker(initcolour);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/jquery.jplayer.2.7.1.js DELETED
@@ -1,3198 +0,0 @@
1
- /*
2
- * jPlayer Plugin for jQuery JavaScript Library
3
- * http://www.jplayer.org
4
- *
5
- * Copyright (c) 2009 - 2014 Happyworm Ltd
6
- * Licensed under the MIT license.
7
- * http://opensource.org/licenses/MIT
8
- *
9
- * Author: Mark J Panaghiston
10
- * Version: 2.7.1
11
- * Date: 19th September 2014
12
- */
13
-
14
- /* Code verified using http://www.jshint.com/ */
15
- /*jshint asi:false, bitwise:false, boss:false, browser:true, curly:true, debug:false, eqeqeq:true, eqnull:false, evil:false, forin:false, immed:false, jquery:true, laxbreak:false, newcap:true, noarg:true, noempty:true, nonew:true, onevar:false, passfail:false, plusplus:false, regexp:false, undef:true, sub:false, strict:false, white:false, smarttabs:true */
16
- /*global define:false, ActiveXObject:false, alert:false */
17
-
18
- /* Support for Zepto 1.0 compiled with optional data module.
19
- * For AMD support, you will need to manually switch the 2 lines in the code below.
20
- * Search terms: "jQuery Switch" and "Zepto Switch"
21
- */
22
-
23
- (function (root, factory) {
24
- if (typeof define === 'function' && define.amd) {
25
- // AMD. Register as an anonymous module.
26
- define(['jquery'], factory); // jQuery Switch
27
- // define(['zepto'], factory); // Zepto Switch
28
- } else {
29
- // Browser globals
30
- if(root.jQuery) { // Use jQuery if available
31
- factory(root.jQuery);
32
- } else { // Otherwise, use Zepto
33
- factory(root.Zepto);
34
- }
35
- }
36
- }(this, function ($, undefined) {
37
-
38
- // Adapted from jquery.ui.widget.js (1.8.7): $.widget.bridge - Tweaked $.data(this,XYZ) to $(this).data(XYZ) for Zepto
39
- $.fn.jPlayer = function( options ) {
40
- var name = "jPlayer";
41
- var isMethodCall = typeof options === "string",
42
- args = Array.prototype.slice.call( arguments, 1 ),
43
- returnValue = this;
44
-
45
- // allow multiple hashes to be passed on init
46
- options = !isMethodCall && args.length ?
47
- $.extend.apply( null, [ true, options ].concat(args) ) :
48
- options;
49
-
50
- // prevent calls to internal methods
51
- if ( isMethodCall && options.charAt( 0 ) === "_" ) {
52
- return returnValue;
53
- }
54
-
55
- if ( isMethodCall ) {
56
- this.each(function() {
57
- var instance = $(this).data( name ),
58
- methodValue = instance && $.isFunction( instance[options] ) ?
59
- instance[ options ].apply( instance, args ) :
60
- instance;
61
- if ( methodValue !== instance && methodValue !== undefined ) {
62
- returnValue = methodValue;
63
- return false;
64
- }
65
- });
66
- } else {
67
- this.each(function() {
68
- var instance = $(this).data( name );
69
- if ( instance ) {
70
- // instance.option( options || {} )._init(); // Orig jquery.ui.widget.js code: Not recommend for jPlayer. ie., Applying new options to an existing instance (via the jPlayer constructor) and performing the _init(). The _init() is what concerns me. It would leave a lot of event handlers acting on jPlayer instance and the interface.
71
- instance.option( options || {} ); // The new constructor only changes the options. Changing options only has basic support atm.
72
- } else {
73
- $(this).data( name, new $.jPlayer( options, this ) );
74
- }
75
- });
76
- }
77
-
78
- return returnValue;
79
- };
80
-
81
- $.jPlayer = function( options, element ) {
82
- // allow instantiation without initializing for simple inheritance
83
- if ( arguments.length ) {
84
- this.element = $(element);
85
- this.options = $.extend(true, {},
86
- this.options,
87
- options
88
- );
89
- var self = this;
90
- this.element.bind( "remove.jPlayer", function() {
91
- self.destroy();
92
- });
93
- this._init();
94
- }
95
- };
96
- // End of: (Adapted from jquery.ui.widget.js (1.8.7))
97
-
98
- // Zepto is missing one of the animation methods.
99
- if(typeof $.fn.stop !== 'function') {
100
- $.fn.stop = function() {};
101
- }
102
-
103
- // Emulated HTML5 methods and properties
104
- $.jPlayer.emulateMethods = "load play pause";
105
- $.jPlayer.emulateStatus = "src readyState networkState currentTime duration paused ended playbackRate";
106
- $.jPlayer.emulateOptions = "muted volume";
107
-
108
- // Reserved event names generated by jPlayer that are not part of the HTML5 Media element spec
109
- $.jPlayer.reservedEvent = "ready flashreset resize repeat error warning";
110
-
111
- // Events generated by jPlayer
112
- $.jPlayer.event = {};
113
- $.each(
114
- [
115
- 'ready',
116
- 'setmedia', // Fires when the media is set
117
- 'flashreset', // Similar to the ready event if the Flash solution is set to display:none and then shown again or if it's reloaded for another reason by the browser. For example, using CSS position:fixed on Firefox for the full screen feature.
118
- 'resize', // Occurs when the size changes through a full/restore screen operation or if the size/sizeFull options are changed.
119
- 'repeat', // Occurs when the repeat status changes. Usually through clicks on the repeat button of the interface.
120
- 'click', // Occurs when the user clicks on one of the following: poster image, html video, flash video.
121
- 'error', // Event error code in event.jPlayer.error.type. See $.jPlayer.error
122
- 'warning', // Event warning code in event.jPlayer.warning.type. See $.jPlayer.warning
123
-
124
- // Other events match HTML5 spec.
125
- 'loadstart',
126
- 'progress',
127
- 'suspend',
128
- 'abort',
129
- 'emptied',
130
- 'stalled',
131
- 'play',
132
- 'pause',
133
- 'loadedmetadata',
134
- 'loadeddata',
135
- 'waiting',
136
- 'playing',
137
- 'canplay',
138
- 'canplaythrough',
139
- 'seeking',
140
- 'seeked',
141
- 'timeupdate',
142
- 'ended',
143
- 'ratechange',
144
- 'durationchange',
145
- 'volumechange'
146
- ],
147
- function() {
148
- $.jPlayer.event[ this ] = 'jPlayer_' + this;
149
- }
150
- );
151
-
152
- $.jPlayer.htmlEvent = [ // These HTML events are bubbled through to the jPlayer event, without any internal action.
153
- "loadstart",
154
- // "progress", // jPlayer uses internally before bubbling.
155
- // "suspend", // jPlayer uses internally before bubbling.
156
- "abort",
157
- // "error", // jPlayer uses internally before bubbling.
158
- "emptied",
159
- "stalled",
160
- // "play", // jPlayer uses internally before bubbling.
161
- // "pause", // jPlayer uses internally before bubbling.
162
- "loadedmetadata",
163
- // "loadeddata", // jPlayer uses internally before bubbling.
164
- // "waiting", // jPlayer uses internally before bubbling.
165
- // "playing", // jPlayer uses internally before bubbling.
166
- "canplay",
167
- "canplaythrough"
168
- // "seeking", // jPlayer uses internally before bubbling.
169
- // "seeked", // jPlayer uses internally before bubbling.
170
- // "timeupdate", // jPlayer uses internally before bubbling.
171
- // "ended", // jPlayer uses internally before bubbling.
172
- // "ratechange" // jPlayer uses internally before bubbling.
173
- // "durationchange" // jPlayer uses internally before bubbling.
174
- // "volumechange" // jPlayer uses internally before bubbling.
175
- ];
176
-
177
- $.jPlayer.pause = function() {
178
- $.each($.jPlayer.prototype.instances, function(i, element) {
179
- if(element.data("jPlayer").status.srcSet) { // Check that media is set otherwise would cause error event.
180
- element.jPlayer("pause");
181
- }
182
- });
183
- };
184
-
185
- // Default for jPlayer option.timeFormat
186
- $.jPlayer.timeFormat = {
187
- showHour: false,
188
- showMin: true,
189
- showSec: true,
190
- padHour: false,
191
- padMin: true,
192
- padSec: true,
193
- sepHour: ":",
194
- sepMin: ":",
195
- sepSec: ""
196
- };
197
- var ConvertTime = function() {
198
- this.init();
199
- };
200
- ConvertTime.prototype = {
201
- init: function() {
202
- this.options = {
203
- timeFormat: $.jPlayer.timeFormat
204
- };
205
- },
206
- time: function(s) { // function used on jPlayer.prototype._convertTime to enable per instance options.
207
- s = (s && typeof s === 'number') ? s : 0;
208
-
209
- var myTime = new Date(s * 1000),
210
- hour = myTime.getUTCHours(),
211
- min = this.options.timeFormat.showHour ? myTime.getUTCMinutes() : myTime.getUTCMinutes() + hour * 60,
212
- sec = this.options.timeFormat.showMin ? myTime.getUTCSeconds() : myTime.getUTCSeconds() + min * 60,
213
- strHour = (this.options.timeFormat.padHour && hour < 10) ? "0" + hour : hour,
214
- strMin = (this.options.timeFormat.padMin && min < 10) ? "0" + min : min,
215
- strSec = (this.options.timeFormat.padSec && sec < 10) ? "0" + sec : sec,
216
- strTime = "";
217
-
218
- strTime += this.options.timeFormat.showHour ? strHour + this.options.timeFormat.sepHour : "";
219
- strTime += this.options.timeFormat.showMin ? strMin + this.options.timeFormat.sepMin : "";
220
- strTime += this.options.timeFormat.showSec ? strSec + this.options.timeFormat.sepSec : "";
221
-
222
- return strTime;
223
- }
224
- };
225
- var myConvertTime = new ConvertTime();
226
- $.jPlayer.convertTime = function(s) {
227
- return myConvertTime.time(s);
228
- };
229
-
230
- // Adapting jQuery 1.4.4 code for jQuery.browser. Required since jQuery 1.3.2 does not detect Chrome as webkit.
231
- $.jPlayer.uaBrowser = function( userAgent ) {
232
- var ua = userAgent.toLowerCase();
233
-
234
- // Useragent RegExp
235
- var rwebkit = /(webkit)[ \/]([\w.]+)/;
236
- var ropera = /(opera)(?:.*version)?[ \/]([\w.]+)/;
237
- var rmsie = /(msie) ([\w.]+)/;
238
- var rmozilla = /(mozilla)(?:.*? rv:([\w.]+))?/;
239
-
240
- var match = rwebkit.exec( ua ) ||
241
- ropera.exec( ua ) ||
242
- rmsie.exec( ua ) ||
243
- ua.indexOf("compatible") < 0 && rmozilla.exec( ua ) ||
244
- [];
245
-
246
- return { browser: match[1] || "", version: match[2] || "0" };
247
- };
248
-
249
- // Platform sniffer for detecting mobile devices
250
- $.jPlayer.uaPlatform = function( userAgent ) {
251
- var ua = userAgent.toLowerCase();
252
-
253
- // Useragent RegExp
254
- var rplatform = /(ipad|iphone|ipod|android|blackberry|playbook|windows ce|webos)/;
255
- var rtablet = /(ipad|playbook)/;
256
- var randroid = /(android)/;
257
- var rmobile = /(mobile)/;
258
-
259
- var platform = rplatform.exec( ua ) || [];
260
- var tablet = rtablet.exec( ua ) ||
261
- !rmobile.exec( ua ) && randroid.exec( ua ) ||
262
- [];
263
-
264
- if(platform[1]) {
265
- platform[1] = platform[1].replace(/\s/g, "_"); // Change whitespace to underscore. Enables dot notation.
266
- }
267
-
268
- return { platform: platform[1] || "", tablet: tablet[1] || "" };
269
- };
270
-
271
- $.jPlayer.browser = {
272
- };
273
- $.jPlayer.platform = {
274
- };
275
-
276
- var browserMatch = $.jPlayer.uaBrowser(navigator.userAgent);
277
- if ( browserMatch.browser ) {
278
- $.jPlayer.browser[ browserMatch.browser ] = true;
279
- $.jPlayer.browser.version = browserMatch.version;
280
- }
281
- var platformMatch = $.jPlayer.uaPlatform(navigator.userAgent);
282
- if ( platformMatch.platform ) {
283
- $.jPlayer.platform[ platformMatch.platform ] = true;
284
- $.jPlayer.platform.mobile = !platformMatch.tablet;
285
- $.jPlayer.platform.tablet = !!platformMatch.tablet;
286
- }
287
-
288
- // Internet Explorer (IE) Browser Document Mode Sniffer. Based on code at:
289
- // http://msdn.microsoft.com/en-us/library/cc288325%28v=vs.85%29.aspx#GetMode
290
- $.jPlayer.getDocMode = function() {
291
- var docMode;
292
- if ($.jPlayer.browser.msie) {
293
- if (document.documentMode) { // IE8 or later
294
- docMode = document.documentMode;
295
- } else { // IE 5-7
296
- docMode = 5; // Assume quirks mode unless proven otherwise
297
- if (document.compatMode) {
298
- if (document.compatMode === "CSS1Compat") {
299
- docMode = 7; // standards mode
300
- }
301
- }
302
- }
303
- }
304
- return docMode;
305
- };
306
- $.jPlayer.browser.documentMode = $.jPlayer.getDocMode();
307
-
308
- $.jPlayer.nativeFeatures = {
309
- init: function() {
310
-
311
- /* Fullscreen function naming influenced by W3C naming.
312
- * No support for: Mozilla Proposal: https://wiki.mozilla.org/Gecko:FullScreenAPI
313
- */
314
-
315
- var d = document,
316
- v = d.createElement('video'),
317
- spec = {
318
- // http://www.w3.org/TR/fullscreen/
319
- w3c: [
320
- 'fullscreenEnabled',
321
- 'fullscreenElement',
322
- 'requestFullscreen',
323
- 'exitFullscreen',
324
- 'fullscreenchange',
325
- 'fullscreenerror'
326
- ],
327
- // https://developer.mozilla.org/en-US/docs/DOM/Using_fullscreen_mode
328
- moz: [
329
- 'mozFullScreenEnabled',
330
- 'mozFullScreenElement',
331
- 'mozRequestFullScreen',
332
- 'mozCancelFullScreen',
333
- 'mozfullscreenchange',
334
- 'mozfullscreenerror'
335
- ],
336
- // http://developer.apple.com/library/safari/#documentation/WebKit/Reference/ElementClassRef/Element/Element.html
337
- // http://developer.apple.com/library/safari/#documentation/UserExperience/Reference/DocumentAdditionsReference/DocumentAdditions/DocumentAdditions.html
338
- webkit: [
339
- '',
340
- 'webkitCurrentFullScreenElement',
341
- 'webkitRequestFullScreen',
342
- 'webkitCancelFullScreen',
343
- 'webkitfullscreenchange',
344
- ''
345
- ],
346
- // http://developer.apple.com/library/safari/#documentation/AudioVideo/Reference/HTMLVideoElementClassReference/HTMLVideoElement/HTMLVideoElement.html
347
- // https://developer.apple.com/library/safari/samplecode/HTML5VideoEventFlow/Listings/events_js.html#//apple_ref/doc/uid/DTS40010085-events_js-DontLinkElementID_5
348
- // Events: 'webkitbeginfullscreen' and 'webkitendfullscreen'
349
- webkitVideo: [
350
- 'webkitSupportsFullscreen',
351
- 'webkitDisplayingFullscreen',
352
- 'webkitEnterFullscreen',
353
- 'webkitExitFullscreen',
354
- '',
355
- ''
356
- ]
357
- },
358
- specOrder = [
359
- 'w3c',
360
- 'moz',
361
- 'webkit',
362
- 'webkitVideo'
363
- ],
364
- fs, i, il;
365
-
366
- this.fullscreen = fs = {
367
- support: {
368
- w3c: !!d[spec.w3c[0]],
369
- moz: !!d[spec.moz[0]],
370
- webkit: typeof d[spec.webkit[3]] === 'function',
371
- webkitVideo: typeof v[spec.webkitVideo[2]] === 'function'
372
- },
373
- used: {}
374
- };
375
-
376
- // Store the name of the spec being used and as a handy boolean.
377
- for(i = 0, il = specOrder.length; i < il; i++) {
378
- var n = specOrder[i];
379
- if(fs.support[n]) {
380
- fs.spec = n;
381
- fs.used[n] = true;
382
- break;
383
- }
384
- }
385
-
386
- if(fs.spec) {
387
- var s = spec[fs.spec];
388
- fs.api = {
389
- fullscreenEnabled: true,
390
- fullscreenElement: function(elem) {
391
- elem = elem ? elem : d; // Video element required for webkitVideo
392
- return elem[s[1]];
393
- },
394
- requestFullscreen: function(elem) {
395
- return elem[s[2]]();
396
- },
397
- exitFullscreen: function(elem) {
398
- elem = elem ? elem : d; // Video element required for webkitVideo
399
- return elem[s[3]]();
400
- }
401
- };
402
- fs.event = {
403
- fullscreenchange: s[4],
404
- fullscreenerror: s[5]
405
- };
406
- } else {
407
- fs.api = {
408
- fullscreenEnabled: false,
409
- fullscreenElement: function() {
410
- return null;
411
- },
412
- requestFullscreen: function() {},
413
- exitFullscreen: function() {}
414
- };
415
- fs.event = {};
416
- }
417
- }
418
- };
419
- $.jPlayer.nativeFeatures.init();
420
-
421
- // The keyboard control system.
422
-
423
- // The current jPlayer instance in focus.
424
- $.jPlayer.focus = null;
425
-
426
- // (fallback) The list of element node names to ignore with key controls.
427
- $.jPlayer.keyIgnoreElementNames = "A INPUT TEXTAREA SELECT BUTTON";
428
-
429
- // The function that deals with key presses.
430
- var keyBindings = function(event) {
431
-
432
- var f = $.jPlayer.focus,
433
- pageFocus = document.activeElement,
434
- ignoreKey;
435
-
436
- // A jPlayer instance must be in focus. ie., keyEnabled and the last one played.
437
- if(f) {
438
- // What generated the key press?
439
- if(typeof pageFocus !== 'undefined') {
440
- if(pageFocus !== null && pageFocus.nodeName.toUpperCase() !== "BODY") {
441
- ignoreKey = true;
442
- }
443
- } else {
444
- // Fallback for no document.activeElement support.
445
- $.each( $.jPlayer.keyIgnoreElementNames.split(/\s+/g), function(i, name) {
446
- // The strings should already be uppercase.
447
- if(event.target.nodeName.toUpperCase() === name.toUpperCase()) {
448
- ignoreKey = true;
449
- return false; // exit each.
450
- }
451
- });
452
- }
453
- if(!ignoreKey) {
454
- // See if the key pressed matches any of the bindings.
455
- $.each(f.options.keyBindings, function(action, binding) {
456
- // The binding could be a null when the default has been disabled. ie., 1st clause in if()
457
- if(binding && event.which === binding.key && $.isFunction(binding.fn)) {
458
- event.preventDefault(); // Key being used by jPlayer, so prevent default operation.
459
- binding.fn(f);
460
- return false; // exit each.
461
- }
462
- });
463
- }
464
- }
465
- };
466
-
467
- $.jPlayer.keys = function(en) {
468
- var event = "keydown.jPlayer";
469
- // Remove any binding, just in case enabled more than once.
470
- $(document.documentElement).unbind(event);
471
- if(en) {
472
- $(document.documentElement).bind(event, keyBindings);
473
- }
474
- };
475
-
476
- // Enable the global key control handler ready for any jPlayer instance with the keyEnabled option enabled.
477
- $.jPlayer.keys(true);
478
-
479
- $.jPlayer.prototype = {
480
- count: 0, // Static Variable: Change it via prototype.
481
- version: { // Static Object
482
- script: "2.7.1",
483
- needFlash: "2.7.0",
484
- flash: "unknown"
485
- },
486
- options: { // Instanced in $.jPlayer() constructor
487
- swfPath: "js", // Path to Jplayer.swf. Can be relative, absolute or server root relative.
488
- solution: "html, flash", // Valid solutions: html, flash. Order defines priority. 1st is highest,
489
- supplied: "mp3", // Defines which formats jPlayer will try and support and the priority by the order. 1st is highest,
490
- preload: 'metadata', // HTML5 Spec values: none, metadata, auto.
491
- volume: 0.8, // The volume. Number 0 to 1.
492
- muted: false,
493
- remainingDuration: false, // When true, the remaining time is shown in the duration GUI element.
494
- toggleDuration: false, // When true, clicks on the duration toggle between the duration and remaining display.
495
- captureDuration: true, // When true, clicks on the duration are captured and no longer propagate up the DOM.
496
- playbackRate: 1,
497
- defaultPlaybackRate: 1,
498
- minPlaybackRate: 0.5,
499
- maxPlaybackRate: 4,
500
- wmode: "opaque", // Valid wmode: window, transparent, opaque, direct, gpu.
501
- backgroundColor: "#000000", // To define the jPlayer div and Flash background color.
502
- cssSelectorAncestor: "#jp_container_1",
503
- cssSelector: { // * denotes properties that should only be required when video media type required. _cssSelector() would require changes to enable splitting these into Audio and Video defaults.
504
- videoPlay: ".jp-video-play", // *
505
- play: ".jp-play",
506
- pause: ".jp-pause",
507
- stop: ".jp-stop",
508
- seekBar: ".jp-seek-bar",
509
- playBar: ".jp-play-bar",
510
- mute: ".jp-mute",
511
- unmute: ".jp-unmute",
512
- volumeBar: ".jp-volume-bar",
513
- volumeBarValue: ".jp-volume-bar-value",
514
- volumeMax: ".jp-volume-max",
515
- playbackRateBar: ".jp-playback-rate-bar",
516
- playbackRateBarValue: ".jp-playback-rate-bar-value",
517
- currentTime: ".jp-current-time",
518
- duration: ".jp-duration",
519
- title: ".jp-title",
520
- fullScreen: ".jp-full-screen", // *
521
- restoreScreen: ".jp-restore-screen", // *
522
- repeat: ".jp-repeat",
523
- repeatOff: ".jp-repeat-off",
524
- gui: ".jp-gui", // The interface used with autohide feature.
525
- noSolution: ".jp-no-solution" // For error feedback when jPlayer cannot find a solution.
526
- },
527
- stateClass: { // Classes added to the cssSelectorAncestor to indicate the state.
528
- playing: "jp-state-playing",
529
- seeking: "jp-state-seeking",
530
- muted: "jp-state-muted",
531
- looped: "jp-state-looped",
532
- fullScreen: "jp-state-full-screen"
533
- },
534
- useStateClassSkin: false, // A state class skin relies on the state classes to change the visual appearance. The single control toggles the effect, for example: play then pause, mute then unmute.
535
- autoBlur: true, // GUI control handlers will drop focus after clicks.
536
- smoothPlayBar: false, // Smooths the play bar transitions, which affects clicks and short media with big changes per second.
537
- fullScreen: false, // Native Full Screen
538
- fullWindow: false,
539
- autohide: {
540
- restored: false, // Controls the interface autohide feature.
541
- full: true, // Controls the interface autohide feature.
542
- fadeIn: 200, // Milliseconds. The period of the fadeIn anim.
543
- fadeOut: 600, // Milliseconds. The period of the fadeOut anim.
544
- hold: 1000 // Milliseconds. The period of the pause before autohide beings.
545
- },
546
- loop: false,
547
- repeat: function(event) { // The default jPlayer repeat event handler
548
- if(event.jPlayer.options.loop) {
549
- $(this).unbind(".jPlayerRepeat").bind($.jPlayer.event.ended + ".jPlayer.jPlayerRepeat", function() {
550
- $(this).jPlayer("play");
551
- });
552
- } else {
553
- $(this).unbind(".jPlayerRepeat");
554
- }
555
- },
556
- nativeVideoControls: {
557
- // Works well on standard browsers.
558
- // Phone and tablet browsers can have problems with the controls disappearing.
559
- },
560
- noFullWindow: {
561
- msie: /msie [0-6]\./,
562
- ipad: /ipad.*?os [0-4]\./,
563
- iphone: /iphone/,
564
- ipod: /ipod/,
565
- android_pad: /android [0-3]\.(?!.*?mobile)/,
566
- android_phone: /android.*?mobile/,
567
- blackberry: /blackberry/,
568
- windows_ce: /windows ce/,
569
- iemobile: /iemobile/,
570
- webos: /webos/
571
- },
572
- noVolume: {
573
- ipad: /ipad/,
574
- iphone: /iphone/,
575
- ipod: /ipod/,
576
- android_pad: /android(?!.*?mobile)/,
577
- android_phone: /android.*?mobile/,
578
- blackberry: /blackberry/,
579
- windows_ce: /windows ce/,
580
- iemobile: /iemobile/,
581
- webos: /webos/,
582
- playbook: /playbook/
583
- },
584
- timeFormat: {
585
- // Specific time format for this instance. The supported options are defined in $.jPlayer.timeFormat
586
- // For the undefined options we use the default from $.jPlayer.timeFormat
587
- },
588
- keyEnabled: false, // Enables keyboard controls.
589
- audioFullScreen: false, // Enables keyboard controls to enter full screen with audio media.
590
- keyBindings: { // The key control object, defining the key codes and the functions to execute.
591
- // The parameter, f = $.jPlayer.focus, will be checked truethy before attempting to call any of these functions.
592
- // Properties may be added to this object, in key/fn pairs, to enable other key controls. EG, for the playlist add-on.
593
- play: {
594
- key: 32, // space
595
- fn: function(f) {
596
- if(f.status.paused) {
597
- f.play();
598
- } else {
599
- f.pause();
600
- }
601
- }
602
- },
603
- fullScreen: {
604
- key: 13, // enter
605
- fn: function(f) {
606
- if(f.status.video || f.options.audioFullScreen) {
607
- f._setOption("fullScreen", !f.options.fullScreen);
608
- }
609
- }
610
- },
611
- muted: {
612
- key: 8, // backspace
613
- fn: function(f) {
614
- f._muted(!f.options.muted);
615
- }
616
- },
617
- volumeUp: {
618
- key: 38, // UP
619
- fn: function(f) {
620
- f.volume(f.options.volume + 0.1);
621
- }
622
- },
623
- volumeDown: {
624
- key: 40, // DOWN
625
- fn: function(f) {
626
- f.volume(f.options.volume - 0.1);
627
- }
628
- }
629
- },
630
- verticalVolume: false, // Calculate volume from the bottom of the volume bar. Default is from the left. Also volume affects either width or height.
631
- verticalPlaybackRate: false,
632
- globalVolume: false, // Set to make volume and muted changes affect all jPlayer instances with this option enabled
633
- idPrefix: "jp", // Prefix for the ids of html elements created by jPlayer. For flash, this must not include characters: . - + * / \
634
- noConflict: "jQuery",
635
- emulateHtml: false, // Emulates the HTML5 Media element on the jPlayer element.
636
- consoleAlerts: true, // Alerts are sent to the console.log() instead of alert().
637
- errorAlerts: false,
638
- warningAlerts: false
639
- },
640
- optionsAudio: {
641
- size: {
642
- width: "0px",
643
- height: "0px",
644
- cssClass: ""
645
- },
646
- sizeFull: {
647
- width: "0px",
648
- height: "0px",
649
- cssClass: ""
650
- }
651
- },
652
- optionsVideo: {
653
- size: {
654
- width: "480px",
655
- height: "270px",
656
- cssClass: "jp-video-270p"
657
- },
658
- sizeFull: {
659
- width: "100%",
660
- height: "100%",
661
- cssClass: "jp-video-full"
662
- }
663
- },
664
- instances: {}, // Static Object
665
- status: { // Instanced in _init()
666
- src: "",
667
- media: {},
668
- paused: true,
669
- format: {},
670
- formatType: "",
671
- waitForPlay: true, // Same as waitForLoad except in case where preloading.
672
- waitForLoad: true,
673
- srcSet: false,
674
- video: false, // True if playing a video
675
- seekPercent: 0,
676
- currentPercentRelative: 0,
677
- currentPercentAbsolute: 0,
678
- currentTime: 0,
679
- duration: 0,
680
- remaining: 0,
681
- videoWidth: 0, // Intrinsic width of the video in pixels.
682
- videoHeight: 0, // Intrinsic height of the video in pixels.
683
- readyState: 0,
684
- networkState: 0,
685
- playbackRate: 1, // Warning - Now both an option and a status property
686
- ended: 0
687
-
688
- /* Persistant status properties created dynamically at _init():
689
- width
690
- height
691
- cssClass
692
- nativeVideoControls
693
- noFullWindow
694
- noVolume
695
- playbackRateEnabled // Warning - Technically, we can have both Flash and HTML, so this might not be correct if the Flash is active. That is a niche case.
696
- */
697
- },
698
-
699
- internal: { // Instanced in _init()
700
- ready: false
701
- // instance: undefined
702
- // domNode: undefined
703
- // htmlDlyCmdId: undefined
704
- // autohideId: undefined
705
- // cmdsIgnored
706
- },
707
- solution: { // Static Object: Defines the solutions built in jPlayer.
708
- html: true,
709
- flash: true
710
- },
711
- // 'MPEG-4 support' : canPlayType('video/mp4; codecs="mp4v.20.8"')
712
- format: { // Static Object
713
- mp3: {
714
- codec: 'audio/mpeg',
715
- flashCanPlay: true,
716
- media: 'audio'
717
- },
718
- m4a: { // AAC / MP4
719
- codec: 'audio/mp4; codecs="mp4a.40.2"',
720
- flashCanPlay: true,
721
- media: 'audio'
722
- },
723
- m3u8a: { // AAC / MP4 / Apple HLS
724
- codec: 'application/vnd.apple.mpegurl; codecs="mp4a.40.2"',
725
- flashCanPlay: false,
726
- media: 'audio'
727
- },
728
- m3ua: { // M3U
729
- codec: 'audio/mpegurl',
730
- flashCanPlay: false,
731
- media: 'audio'
732
- },
733
- oga: { // OGG
734
- codec: 'audio/ogg; codecs="vorbis, opus"',
735
- flashCanPlay: false,
736
- media: 'audio'
737
- },
738
- flac: { // FLAC
739
- codec: 'audio/x-flac',
740
- flashCanPlay: false,
741
- media: 'audio'
742
- },
743
- wav: { // PCM
744
- codec: 'audio/wav; codecs="1"',
745
- flashCanPlay: false,
746
- media: 'audio'
747
- },
748
- webma: { // WEBM
749
- codec: 'audio/webm; codecs="vorbis"',
750
- flashCanPlay: false,
751
- media: 'audio'
752
- },
753
- fla: { // FLV / F4A
754
- codec: 'audio/x-flv',
755
- flashCanPlay: true,
756
- media: 'audio'
757
- },
758
- rtmpa: { // RTMP AUDIO
759
- codec: 'audio/rtmp; codecs="rtmp"',
760
- flashCanPlay: true,
761
- media: 'audio'
762
- },
763
- m4v: { // H.264 / MP4
764
- codec: 'video/mp4; codecs="avc1.42E01E, mp4a.40.2"',
765
- flashCanPlay: true,
766
- media: 'video'
767
- },
768
- m3u8v: { // H.264 / AAC / MP4 / Apple HLS
769
- codec: 'application/vnd.apple.mpegurl; codecs="avc1.42E01E, mp4a.40.2"',
770
- flashCanPlay: false,
771
- media: 'video'
772
- },
773
- m3uv: { // M3U
774
- codec: 'audio/mpegurl',
775
- flashCanPlay: false,
776
- media: 'video'
777
- },
778
- ogv: { // OGG
779
- codec: 'video/ogg; codecs="theora, vorbis"',
780
- flashCanPlay: false,
781
- media: 'video'
782
- },
783
- webmv: { // WEBM
784
- codec: 'video/webm; codecs="vorbis, vp8"',
785
- flashCanPlay: false,
786
- media: 'video'
787
- },
788
- flv: { // FLV / F4V
789
- codec: 'video/x-flv',
790
- flashCanPlay: true,
791
- media: 'video'
792
- },
793
- rtmpv: { // RTMP VIDEO
794
- codec: 'video/rtmp; codecs="rtmp"',
795
- flashCanPlay: true,
796
- media: 'video'
797
- }
798
- },
799
- _init: function() {
800
- var self = this;
801
-
802
- this.element.empty();
803
-
804
- this.status = $.extend({}, this.status); // Copy static to unique instance.
805
- this.internal = $.extend({}, this.internal); // Copy static to unique instance.
806
-
807
- // Initialize the time format
808
- this.options.timeFormat = $.extend({}, $.jPlayer.timeFormat, this.options.timeFormat);
809
-
810
- // On iOS, assume commands will be ignored before user initiates them.
811
- this.internal.cmdsIgnored = $.jPlayer.platform.ipad || $.jPlayer.platform.iphone || $.jPlayer.platform.ipod;
812
-
813
- this.internal.domNode = this.element.get(0);
814
-
815
- // Add key bindings focus to 1st jPlayer instanced with key control enabled.
816
- if(this.options.keyEnabled && !$.jPlayer.focus) {
817
- $.jPlayer.focus = this;
818
- }
819
-
820
- // A fix for Android where older (2.3) and even some 4.x devices fail to work when changing the *audio* SRC and then playing immediately.
821
- this.androidFix = {
822
- setMedia: false, // True when media set
823
- play: false, // True when a progress event will instruct the media to play
824
- pause: false, // True when a progress event will instruct the media to pause at a time.
825
- time: NaN // The play(time) parameter
826
- };
827
- if($.jPlayer.platform.android) {
828
- this.options.preload = this.options.preload !== 'auto' ? 'metadata' : 'auto'; // Default to metadata, but allow auto.
829
- }
830
-
831
- this.formats = []; // Array based on supplied string option. Order defines priority.
832
- this.solutions = []; // Array based on solution string option. Order defines priority.
833
- this.require = {}; // Which media types are required: video, audio.
834
-
835
- this.htmlElement = {}; // DOM elements created by jPlayer
836
- this.html = {}; // In _init()'s this.desired code and setmedia(): Accessed via this[solution], where solution from this.solutions array.
837
- this.html.audio = {};
838
- this.html.video = {};
839
- this.flash = {}; // In _init()'s this.desired code and setmedia(): Accessed via this[solution], where solution from this.solutions array.
840
-
841
- this.css = {};
842
- this.css.cs = {}; // Holds the css selector strings
843
- this.css.jq = {}; // Holds jQuery selectors. ie., $(css.cs.method)
844
-
845
- this.ancestorJq = []; // Holds jQuery selector of cssSelectorAncestor. Init would use $() instead of [], but it is only 1.4+
846
-
847
- this.options.volume = this._limitValue(this.options.volume, 0, 1); // Limit volume value's bounds.
848
-
849
- // Create the formats array, with prority based on the order of the supplied formats string
850
- $.each(this.options.supplied.toLowerCase().split(","), function(index1, value1) {
851
- var format = value1.replace(/^\s+|\s+$/g, ""); //trim
852
- if(self.format[format]) { // Check format is valid.
853
- var dupFound = false;
854
- $.each(self.formats, function(index2, value2) { // Check for duplicates
855
- if(format === value2) {
856
- dupFound = true;
857
- return false;
858
- }
859
- });
860
- if(!dupFound) {
861
- self.formats.push(format);
862
- }
863
- }
864
- });
865
-
866
- // Create the solutions array, with prority based on the order of the solution string
867
- $.each(this.options.solution.toLowerCase().split(","), function(index1, value1) {
868
- var solution = value1.replace(/^\s+|\s+$/g, ""); //trim
869
- if(self.solution[solution]) { // Check solution is valid.
870
- var dupFound = false;
871
- $.each(self.solutions, function(index2, value2) { // Check for duplicates
872
- if(solution === value2) {
873
- dupFound = true;
874
- return false;
875
- }
876
- });
877
- if(!dupFound) {
878
- self.solutions.push(solution);
879
- }
880
- }
881
- });
882
-
883
- this.internal.instance = "jp_" + this.count;
884
- this.instances[this.internal.instance] = this.element;
885
-
886
- // Check the jPlayer div has an id and create one if required. Important for Flash to know the unique id for comms.
887
- if(!this.element.attr("id")) {
888
- this.element.attr("id", this.options.idPrefix + "_jplayer_" + this.count);
889
- }
890
-
891
- this.internal.self = $.extend({}, {
892
- id: this.element.attr("id"),
893
- jq: this.element
894
- });
895
- this.internal.audio = $.extend({}, {
896
- id: this.options.idPrefix + "_audio_" + this.count,
897
- jq: undefined
898
- });
899
- this.internal.video = $.extend({}, {
900
- id: this.options.idPrefix + "_video_" + this.count,
901
- jq: undefined
902
- });
903
- this.internal.flash = $.extend({}, {
904
- id: this.options.idPrefix + "_flash_" + this.count,
905
- jq: undefined,
906
- swf: this.options.swfPath + (this.options.swfPath.toLowerCase().slice(-4) !== ".swf" ? (this.options.swfPath && this.options.swfPath.slice(-1) !== "/" ? "/" : "") + "Jplayer.swf" : "")
907
- });
908
- this.internal.poster = $.extend({}, {
909
- id: this.options.idPrefix + "_poster_" + this.count,
910
- jq: undefined
911
- });
912
-
913
- // Register listeners defined in the constructor
914
- $.each($.jPlayer.event, function(eventName,eventType) {
915
- if(self.options[eventName] !== undefined) {
916
- self.element.bind(eventType + ".jPlayer", self.options[eventName]); // With .jPlayer namespace.
917
- self.options[eventName] = undefined; // Destroy the handler pointer copy on the options. Reason, events can be added/removed in other ways so this could be obsolete and misleading.
918
- }
919
- });
920
-
921
- // Determine if we require solutions for audio, video or both media types.
922
- this.require.audio = false;
923
- this.require.video = false;
924
- $.each(this.formats, function(priority, format) {
925
- self.require[self.format[format].media] = true;
926
- });
927
-
928
- // Now required types are known, finish the options default settings.
929
- if(this.require.video) {
930
- this.options = $.extend(true, {},
931
- this.optionsVideo,
932
- this.options
933
- );
934
- } else {
935
- this.options = $.extend(true, {},
936
- this.optionsAudio,
937
- this.options
938
- );
939
- }
940
- this._setSize(); // update status and jPlayer element size
941
-
942
- // Determine the status for Blocklisted options.
943
- this.status.nativeVideoControls = this._uaBlocklist(this.options.nativeVideoControls);
944
- this.status.noFullWindow = this._uaBlocklist(this.options.noFullWindow);
945
- this.status.noVolume = this._uaBlocklist(this.options.noVolume);
946
-
947
- // Create event handlers if native fullscreen is supported
948
- if($.jPlayer.nativeFeatures.fullscreen.api.fullscreenEnabled) {
949
- this._fullscreenAddEventListeners();
950
- }
951
-
952
- // The native controls are only for video and are disabled when audio is also used.
953
- this._restrictNativeVideoControls();
954
-
955
- // Create the poster image.
956
- this.htmlElement.poster = document.createElement('img');
957
- this.htmlElement.poster.id = this.internal.poster.id;
958
- this.htmlElement.poster.onload = function() { // Note that this did not work on Firefox 3.6: poster.addEventListener("onload", function() {}, false); Did not investigate x-browser.
959
- if(!self.status.video || self.status.waitForPlay) {
960
- self.internal.poster.jq.show();
961
- }
962
- };
963
- this.element.append(this.htmlElement.poster);
964
- this.internal.poster.jq = $("#" + this.internal.poster.id);
965
- this.internal.poster.jq.css({'width': this.status.width, 'height': this.status.height});
966
- this.internal.poster.jq.hide();
967
- this.internal.poster.jq.bind("click.jPlayer", function() {
968
- self._trigger($.jPlayer.event.click);
969
- });
970
-
971
- // Generate the required media elements
972
- this.html.audio.available = false;
973
- if(this.require.audio) { // If a supplied format is audio
974
- this.htmlElement.audio = document.createElement('audio');
975
- this.htmlElement.audio.id = this.internal.audio.id;
976
- this.html.audio.available = !!this.htmlElement.audio.canPlayType && this._testCanPlayType(this.htmlElement.audio); // Test is for IE9 on Win Server 2008.
977
- }
978
- this.html.video.available = false;
979
- if(this.require.video) { // If a supplied format is video
980
- this.htmlElement.video = document.createElement('video');
981
- this.htmlElement.video.id = this.internal.video.id;
982
- this.html.video.available = !!this.htmlElement.video.canPlayType && this._testCanPlayType(this.htmlElement.video); // Test is for IE9 on Win Server 2008.
983
- }
984
-
985
- this.flash.available = this._checkForFlash(10.1);
986
-
987
- this.html.canPlay = {};
988
- this.flash.canPlay = {};
989
- $.each(this.formats, function(priority, format) {
990
- self.html.canPlay[format] = self.html[self.format[format].media].available && "" !== self.htmlElement[self.format[format].media].canPlayType(self.format[format].codec);
991
- self.flash.canPlay[format] = self.format[format].flashCanPlay && self.flash.available;
992
- });
993
- this.html.desired = false;
994
- this.flash.desired = false;
995
- $.each(this.solutions, function(solutionPriority, solution) {
996
- if(solutionPriority === 0) {
997
- self[solution].desired = true;
998
- } else {
999
- var audioCanPlay = false;
1000
- var videoCanPlay = false;
1001
- $.each(self.formats, function(formatPriority, format) {
1002
- if(self[self.solutions[0]].canPlay[format]) { // The other solution can play
1003
- if(self.format[format].media === 'video') {
1004
- videoCanPlay = true;
1005
- } else {
1006
- audioCanPlay = true;
1007
- }
1008
- }
1009
- });
1010
- self[solution].desired = (self.require.audio && !audioCanPlay) || (self.require.video && !videoCanPlay);
1011
- }
1012
- });
1013
- // This is what jPlayer will support, based on solution and supplied.
1014
- this.html.support = {};
1015
- this.flash.support = {};
1016
- $.each(this.formats, function(priority, format) {
1017
- self.html.support[format] = self.html.canPlay[format] && self.html.desired;
1018
- self.flash.support[format] = self.flash.canPlay[format] && self.flash.desired;
1019
- });
1020
- // If jPlayer is supporting any format in a solution, then the solution is used.
1021
- this.html.used = false;
1022
- this.flash.used = false;
1023
- $.each(this.solutions, function(solutionPriority, solution) {
1024
- $.each(self.formats, function(formatPriority, format) {
1025
- if(self[solution].support[format]) {
1026
- self[solution].used = true;
1027
- return false;
1028
- }
1029
- });
1030
- });
1031
-
1032
- // Init solution active state and the event gates to false.
1033
- this._resetActive();
1034
- this._resetGate();
1035
-
1036
- // Set up the css selectors for the control and feedback entities.
1037
- this._cssSelectorAncestor(this.options.cssSelectorAncestor);
1038
-
1039
- // If neither html nor flash are being used by this browser, then media playback is not possible. Trigger an error event.
1040
- if(!(this.html.used || this.flash.used)) {
1041
- this._error( {
1042
- type: $.jPlayer.error.NO_SOLUTION,
1043
- context: "{solution:'" + this.options.solution + "', supplied:'" + this.options.supplied + "'}",
1044
- message: $.jPlayer.errorMsg.NO_SOLUTION,
1045
- hint: $.jPlayer.errorHint.NO_SOLUTION
1046
- });
1047
- if(this.css.jq.noSolution.length) {
1048
- this.css.jq.noSolution.show();
1049
- }
1050
- } else {
1051
- if(this.css.jq.noSolution.length) {
1052
- this.css.jq.noSolution.hide();
1053
- }
1054
- }
1055
-
1056
- // Add the flash solution if it is being used.
1057
- if(this.flash.used) {
1058
- var htmlObj,
1059
- flashVars = 'jQuery=' + encodeURI(this.options.noConflict) + '&id=' + encodeURI(this.internal.self.id) + '&vol=' + this.options.volume + '&muted=' + this.options.muted;
1060
-
1061
- // Code influenced by SWFObject 2.2: http://code.google.com/p/swfobject/
1062
- // Non IE browsers have an initial Flash size of 1 by 1 otherwise the wmode affected the Flash ready event.
1063
-
1064
- if($.jPlayer.browser.msie && (Number($.jPlayer.browser.version) < 9 || $.jPlayer.browser.documentMode < 9)) {
1065
- var objStr = '<object id="' + this.internal.flash.id + '" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="0" height="0" tabindex="-1"></object>';
1066
-
1067
- var paramStr = [
1068
- '<param name="movie" value="' + this.internal.flash.swf + '" />',
1069
- '<param name="FlashVars" value="' + flashVars + '" />',
1070
- '<param name="allowScriptAccess" value="always" />',
1071
- '<param name="bgcolor" value="' + this.options.backgroundColor + '" />',
1072
- '<param name="wmode" value="' + this.options.wmode + '" />'
1073
- ];
1074
-
1075
- htmlObj = document.createElement(objStr);
1076
- for(var i=0; i < paramStr.length; i++) {
1077
- htmlObj.appendChild(document.createElement(paramStr[i]));
1078
- }
1079
- } else {
1080
- var createParam = function(el, n, v) {
1081
- var p = document.createElement("param");
1082
- p.setAttribute("name", n);
1083
- p.setAttribute("value", v);
1084
- el.appendChild(p);
1085
- };
1086
-
1087
- htmlObj = document.createElement("object");
1088
- htmlObj.setAttribute("id", this.internal.flash.id);
1089
- htmlObj.setAttribute("name", this.internal.flash.id);
1090
- htmlObj.setAttribute("data", this.internal.flash.swf);
1091
- htmlObj.setAttribute("type", "application/x-shockwave-flash");
1092
- htmlObj.setAttribute("width", "1"); // Non-zero
1093
- htmlObj.setAttribute("height", "1"); // Non-zero
1094
- htmlObj.setAttribute("tabindex", "-1");
1095
- createParam(htmlObj, "flashvars", flashVars);
1096
- createParam(htmlObj, "allowscriptaccess", "always");
1097
- createParam(htmlObj, "bgcolor", this.options.backgroundColor);
1098
- createParam(htmlObj, "wmode", this.options.wmode);
1099
- }
1100
-
1101
- this.element.append(htmlObj);
1102
- this.internal.flash.jq = $(htmlObj);
1103
- }
1104
-
1105
- // Setup playbackRate ability before using _addHtmlEventListeners()
1106
- if(this.html.used && !this.flash.used) { // If only HTML
1107
- // Using the audio element capabilities for playbackRate. ie., Assuming video element is the same.
1108
- this.status.playbackRateEnabled = this._testPlaybackRate('audio');
1109
- } else {
1110
- this.status.playbackRateEnabled = false;
1111
- }
1112
-
1113
- this._updatePlaybackRate();
1114
-
1115
- // Add the HTML solution if being used.
1116
- if(this.html.used) {
1117
-
1118
- // The HTML Audio handlers
1119
- if(this.html.audio.available) {
1120
- this._addHtmlEventListeners(this.htmlElement.audio, this.html.audio);
1121
- this.element.append(this.htmlElement.audio);
1122
- this.internal.audio.jq = $("#" + this.internal.audio.id);
1123
- }
1124
-
1125
- // The HTML Video handlers
1126
- if(this.html.video.available) {
1127
- this._addHtmlEventListeners(this.htmlElement.video, this.html.video);
1128
- this.element.append(this.htmlElement.video);
1129
- this.internal.video.jq = $("#" + this.internal.video.id);
1130
- if(this.status.nativeVideoControls) {
1131
- this.internal.video.jq.css({'width': this.status.width, 'height': this.status.height});
1132
- } else {
1133
- this.internal.video.jq.css({'width':'0px', 'height':'0px'}); // Using size 0x0 since a .hide() causes issues in iOS
1134
- }
1135
- this.internal.video.jq.bind("click.jPlayer", function() {
1136
- self._trigger($.jPlayer.event.click);
1137
- });
1138
- }
1139
- }
1140
-
1141
- // Create the bridge that emulates the HTML Media element on the jPlayer DIV
1142
- if( this.options.emulateHtml ) {
1143
- this._emulateHtmlBridge();
1144
- }
1145
-
1146
- if(this.html.used && !this.flash.used) { // If only HTML, then emulate flash ready() call after 100ms.
1147
- setTimeout( function() {
1148
- self.internal.ready = true;
1149
- self.version.flash = "n/a";
1150
- self._trigger($.jPlayer.event.repeat); // Trigger the repeat event so its handler can initialize itself with the loop option.
1151
- self._trigger($.jPlayer.event.ready);
1152
- }, 100);
1153
- }
1154
-
1155
- // Initialize the interface components with the options.
1156
- this._updateNativeVideoControls();
1157
- // The other controls are now setup in _cssSelectorAncestor()
1158
- if(this.css.jq.videoPlay.length) {
1159
- this.css.jq.videoPlay.hide();
1160
- }
1161
-
1162
- $.jPlayer.prototype.count++; // Change static variable via prototype.
1163
- },
1164
- destroy: function() {
1165
- // MJP: The background change remains. Would need to store the original to restore it correctly.
1166
- // MJP: The jPlayer element's size change remains.
1167
-
1168
- // Clear the media to reset the GUI and stop any downloads. Streams on some browsers had persited. (Chrome)
1169
- this.clearMedia();
1170
- // Remove the size/sizeFull cssClass from the cssSelectorAncestor
1171
- this._removeUiClass();
1172
- // Remove the times from the GUI
1173
- if(this.css.jq.currentTime.length) {
1174
- this.css.jq.currentTime.text("");
1175
- }
1176
- if(this.css.jq.duration.length) {
1177
- this.css.jq.duration.text("");
1178
- }
1179
- // Remove any bindings from the interface controls.
1180
- $.each(this.css.jq, function(fn, jq) {
1181
- // Check selector is valid before trying to execute method.
1182
- if(jq.length) {
1183
- jq.unbind(".jPlayer");
1184
- }
1185
- });
1186
- // Remove the click handlers for $.jPlayer.event.click
1187
- this.internal.poster.jq.unbind(".jPlayer");
1188
- if(this.internal.video.jq) {
1189
- this.internal.video.jq.unbind(".jPlayer");
1190
- }
1191
- // Remove the fullscreen event handlers
1192
- this._fullscreenRemoveEventListeners();
1193
- // Remove key bindings
1194
- if(this === $.jPlayer.focus) {
1195
- $.jPlayer.focus = null;
1196
- }
1197
- // Destroy the HTML bridge.
1198
- if(this.options.emulateHtml) {
1199
- this._destroyHtmlBridge();
1200
- }
1201
- this.element.removeData("jPlayer"); // Remove jPlayer data
1202
- this.element.unbind(".jPlayer"); // Remove all event handlers created by the jPlayer constructor
1203
- this.element.empty(); // Remove the inserted child elements
1204
-
1205
- delete this.instances[this.internal.instance]; // Clear the instance on the static instance object
1206
- },
1207
- enable: function() { // Plan to implement
1208
- // options.disabled = false
1209
- },
1210
- disable: function () { // Plan to implement
1211
- // options.disabled = true
1212
- },
1213
- _testCanPlayType: function(elem) {
1214
- // IE9 on Win Server 2008 did not implement canPlayType(), but it has the property.
1215
- try {
1216
- elem.canPlayType(this.format.mp3.codec); // The type is irrelevant.
1217
- return true;
1218
- } catch(err) {
1219
- return false;
1220
- }
1221
- },
1222
- _testPlaybackRate: function(type) {
1223
- // type: String 'audio' or 'video'
1224
- var el, rate = 0.5;
1225
- type = typeof type === 'string' ? type : 'audio';
1226
- el = document.createElement(type);
1227
- // Wrapping in a try/catch, just in case older HTML5 browsers throw and error.
1228
- try {
1229
- if('playbackRate' in el) {
1230
- el.playbackRate = rate;
1231
- return el.playbackRate === rate;
1232
- } else {
1233
- return false;
1234
- }
1235
- } catch(err) {
1236
- return false;
1237
- }
1238
- },
1239
- _uaBlocklist: function(list) {
1240
- // list : object with properties that are all regular expressions. Property names are irrelevant.
1241
- // Returns true if the user agent is matched in list.
1242
- var ua = navigator.userAgent.toLowerCase(),
1243
- block = false;
1244
-
1245
- $.each(list, function(p, re) {
1246
- if(re && re.test(ua)) {
1247
- block = true;
1248
- return false; // exit $.each.
1249
- }
1250
- });
1251
- return block;
1252
- },
1253
- _restrictNativeVideoControls: function() {
1254
- // Fallback to noFullWindow when nativeVideoControls is true and audio media is being used. Affects when both media types are used.
1255
- if(this.require.audio) {
1256
- if(this.status.nativeVideoControls) {
1257
- this.status.nativeVideoControls = false;
1258
- this.status.noFullWindow = true;
1259
- }
1260
- }
1261
- },
1262
- _updateNativeVideoControls: function() {
1263
- if(this.html.video.available && this.html.used) {
1264
- // Turn the HTML Video controls on/off
1265
- this.htmlElement.video.controls = this.status.nativeVideoControls;
1266
- // Show/hide the jPlayer GUI.
1267
- this._updateAutohide();
1268
- // For when option changed. The poster image is not updated, as it is dealt with in setMedia(). Acceptable degradation since seriously doubt these options will change on the fly. Can again review later.
1269
- if(this.status.nativeVideoControls && this.require.video) {
1270
- this.internal.poster.jq.hide();
1271
- this.internal.video.jq.css({'width': this.status.width, 'height': this.status.height});
1272
- } else if(this.status.waitForPlay && this.status.video) {
1273
- this.internal.poster.jq.show();
1274
- this.internal.video.jq.css({'width': '0px', 'height': '0px'});
1275
- }
1276
- }
1277
- },
1278
- _addHtmlEventListeners: function(mediaElement, entity) {
1279
- var self = this;
1280
- mediaElement.preload = this.options.preload;
1281
- mediaElement.muted = this.options.muted;
1282
- mediaElement.volume = this.options.volume;
1283
-
1284
- if(this.status.playbackRateEnabled) {
1285
- mediaElement.defaultPlaybackRate = this.options.defaultPlaybackRate;
1286
- mediaElement.playbackRate = this.options.playbackRate;
1287
- }
1288
-
1289
- // Create the event listeners
1290
- // Only want the active entity to affect jPlayer and bubble events.
1291
- // Using entity.gate so that object is referenced and gate property always current
1292
-
1293
- mediaElement.addEventListener("progress", function() {
1294
- if(entity.gate) {
1295
- if(self.internal.cmdsIgnored && this.readyState > 0) { // Detect iOS executed the command
1296
- self.internal.cmdsIgnored = false;
1297
- }
1298
- self._getHtmlStatus(mediaElement);
1299
- self._updateInterface();
1300
- self._trigger($.jPlayer.event.progress);
1301
- }
1302
- }, false);
1303
- mediaElement.addEventListener("loadeddata", function() {
1304
- if(entity.gate) {
1305
- self.androidFix.setMedia = false; // Disable the fix after the first progress event.
1306
- if(self.androidFix.play) { // Play Android audio - performing the fix.
1307
- self.androidFix.play = false;
1308
- self.play(self.androidFix.time);
1309
- }
1310
- if(self.androidFix.pause) { // Pause Android audio at time - performing the fix.
1311
- self.androidFix.pause = false;
1312
- self.pause(self.androidFix.time);
1313
- }
1314
- self._trigger($.jPlayer.event.loadeddata);
1315
- }
1316
- }, false);
1317
- mediaElement.addEventListener("timeupdate", function() {
1318
- if(entity.gate) {
1319
- self._getHtmlStatus(mediaElement);
1320
- self._updateInterface();
1321
- self._trigger($.jPlayer.event.timeupdate);
1322
- }
1323
- }, false);
1324
- mediaElement.addEventListener("durationchange", function() {
1325
- if(entity.gate) {
1326
- self._getHtmlStatus(mediaElement);
1327
- self._updateInterface();
1328
- self._trigger($.jPlayer.event.durationchange);
1329
- }
1330
- }, false);
1331
- mediaElement.addEventListener("play", function() {
1332
- if(entity.gate) {
1333
- self._updateButtons(true);
1334
- self._html_checkWaitForPlay(); // So the native controls update this variable and puts the hidden interface in the correct state. Affects toggling native controls.
1335
- self._trigger($.jPlayer.event.play);
1336
- }
1337
- }, false);
1338
- mediaElement.addEventListener("playing", function() {
1339
- if(entity.gate) {
1340
- self._updateButtons(true);
1341
- self._seeked();
1342
- self._trigger($.jPlayer.event.playing);
1343
- }
1344
- }, false);
1345
- mediaElement.addEventListener("pause", function() {
1346
- if(entity.gate) {
1347
- self._updateButtons(false);
1348
- self._trigger($.jPlayer.event.pause);
1349
- }
1350
- }, false);
1351
- mediaElement.addEventListener("waiting", function() {
1352
- if(entity.gate) {
1353
- self._seeking();
1354
- self._trigger($.jPlayer.event.waiting);
1355
- }
1356
- }, false);
1357
- mediaElement.addEventListener("seeking", function() {
1358
- if(entity.gate) {
1359
- self._seeking();
1360
- self._trigger($.jPlayer.event.seeking);
1361
- }
1362
- }, false);
1363
- mediaElement.addEventListener("seeked", function() {
1364
- if(entity.gate) {
1365
- self._seeked();
1366
- self._trigger($.jPlayer.event.seeked);
1367
- }
1368
- }, false);
1369
- mediaElement.addEventListener("volumechange", function() {
1370
- if(entity.gate) {
1371
- // Read the values back from the element as the Blackberry PlayBook shares the volume with the physical buttons master volume control.
1372
- // However, when tested 6th July 2011, those buttons do not generate an event. The physical play/pause button does though.
1373
- self.options.volume = mediaElement.volume;
1374
- self.options.muted = mediaElement.muted;
1375
- self._updateMute();
1376
- self._updateVolume();
1377
- self._trigger($.jPlayer.event.volumechange);
1378
- }
1379
- }, false);
1380
- mediaElement.addEventListener("ratechange", function() {
1381
- if(entity.gate) {
1382
- self.options.defaultPlaybackRate = mediaElement.defaultPlaybackRate;
1383
- self.options.playbackRate = mediaElement.playbackRate;
1384
- self._updatePlaybackRate();
1385
- self._trigger($.jPlayer.event.ratechange);
1386
- }
1387
- }, false);
1388
- mediaElement.addEventListener("suspend", function() { // Seems to be the only way of capturing that the iOS4 browser did not actually play the media from the page code. ie., It needs a user gesture.
1389
- if(entity.gate) {
1390
- self._seeked();
1391
- self._trigger($.jPlayer.event.suspend);
1392
- }
1393
- }, false);
1394
- mediaElement.addEventListener("ended", function() {
1395
- if(entity.gate) {
1396
- // Order of the next few commands are important. Change the time and then pause.
1397
- // Solves a bug in Firefox, where issuing pause 1st causes the media to play from the start. ie., The pause is ignored.
1398
- if(!$.jPlayer.browser.webkit) { // Chrome crashes if you do this in conjunction with a setMedia command in an ended event handler. ie., The playlist demo.
1399
- self.htmlElement.media.currentTime = 0; // Safari does not care about this command. ie., It works with or without this line. (Both Safari and Chrome are Webkit.)
1400
- }
1401
- self.htmlElement.media.pause(); // Pause otherwise a click on the progress bar will play from that point, when it shouldn't, since it stopped playback.
1402
- self._updateButtons(false);
1403
- self._getHtmlStatus(mediaElement, true); // With override true. Otherwise Chrome leaves progress at full.
1404
- self._updateInterface();
1405
- self._trigger($.jPlayer.event.ended);
1406
- }
1407
- }, false);
1408
- mediaElement.addEventListener("error", function() {
1409
- if(entity.gate) {
1410
- self._updateButtons(false);
1411
- self._seeked();
1412
- if(self.status.srcSet) { // Deals with case of clearMedia() causing an error event.
1413
- clearTimeout(self.internal.htmlDlyCmdId); // Clears any delayed commands used in the HTML solution.
1414
- self.status.waitForLoad = true; // Allows the load operation to try again.
1415
- self.status.waitForPlay = true; // Reset since a play was captured.
1416
- if(self.status.video && !self.status.nativeVideoControls) {
1417
- self.internal.video.jq.css({'width':'0px', 'height':'0px'});
1418
- }
1419
- if(self._validString(self.status.media.poster) && !self.status.nativeVideoControls) {
1420
- self.internal.poster.jq.show();
1421
- }
1422
- if(self.css.jq.videoPlay.length) {
1423
- self.css.jq.videoPlay.show();
1424
- }
1425
- self._error( {
1426
- type: $.jPlayer.error.URL,
1427
- context: self.status.src, // this.src shows absolute urls. Want context to show the url given.
1428
- message: $.jPlayer.errorMsg.URL,
1429
- hint: $.jPlayer.errorHint.URL
1430
- });
1431
- }
1432
- }
1433
- }, false);
1434
- // Create all the other event listeners that bubble up to a jPlayer event from html, without being used by jPlayer.
1435
- $.each($.jPlayer.htmlEvent, function(i, eventType) {
1436
- mediaElement.addEventListener(this, function() {
1437
- if(entity.gate) {
1438
- self._trigger($.jPlayer.event[eventType]);
1439
- }
1440
- }, false);
1441
- });
1442
- },
1443
- _getHtmlStatus: function(media, override) {
1444
- var ct = 0, cpa = 0, sp = 0, cpr = 0;
1445
-
1446
- // Fixes the duration bug in iOS, where the durationchange event occurs when media.duration is not always correct.
1447
- // Fixes the initial duration bug in BB OS7, where the media.duration is infinity and displays as NaN:NaN due to Date() using inifity.
1448
- if(isFinite(media.duration)) {
1449
- this.status.duration = media.duration;
1450
- }
1451
-
1452
- ct = media.currentTime;
1453
- cpa = (this.status.duration > 0) ? 100 * ct / this.status.duration : 0;
1454
- if((typeof media.seekable === "object") && (media.seekable.length > 0)) {
1455
- sp = (this.status.duration > 0) ? 100 * media.seekable.end(media.seekable.length-1) / this.status.duration : 100;
1456
- cpr = (this.status.duration > 0) ? 100 * media.currentTime / media.seekable.end(media.seekable.length-1) : 0; // Duration conditional for iOS duration bug. ie., seekable.end is a NaN in that case.
1457
- } else {
1458
- sp = 100;
1459
- cpr = cpa;
1460
- }
1461
-
1462
- if(override) {
1463
- ct = 0;
1464
- cpr = 0;
1465
- cpa = 0;
1466
- }
1467
-
1468
- this.status.seekPercent = sp;
1469
- this.status.currentPercentRelative = cpr;
1470
- this.status.currentPercentAbsolute = cpa;
1471
- this.status.currentTime = ct;
1472
-
1473
- this.status.remaining = this.status.duration - this.status.currentTime;
1474
-
1475
- this.status.videoWidth = media.videoWidth;
1476
- this.status.videoHeight = media.videoHeight;
1477
-
1478
- this.status.readyState = media.readyState;
1479
- this.status.networkState = media.networkState;
1480
- this.status.playbackRate = media.playbackRate;
1481
- this.status.ended = media.ended;
1482
- },
1483
- _resetStatus: function() {
1484
- this.status = $.extend({}, this.status, $.jPlayer.prototype.status); // Maintains the status properties that persist through a reset.
1485
- },
1486
- _trigger: function(eventType, error, warning) { // eventType always valid as called using $.jPlayer.event.eventType
1487
- var event = $.Event(eventType);
1488
- event.jPlayer = {};
1489
- event.jPlayer.version = $.extend({}, this.version);
1490
- event.jPlayer.options = $.extend(true, {}, this.options); // Deep copy
1491
- event.jPlayer.status = $.extend(true, {}, this.status); // Deep copy
1492
- event.jPlayer.html = $.extend(true, {}, this.html); // Deep copy
1493
- event.jPlayer.flash = $.extend(true, {}, this.flash); // Deep copy
1494
- if(error) {
1495
- event.jPlayer.error = $.extend({}, error);
1496
- }
1497
- if(warning) {
1498
- event.jPlayer.warning = $.extend({}, warning);
1499
- }
1500
- this.element.trigger(event);
1501
- },
1502
- jPlayerFlashEvent: function(eventType, status) { // Called from Flash
1503
- if(eventType === $.jPlayer.event.ready) {
1504
- if(!this.internal.ready) {
1505
- this.internal.ready = true;
1506
- this.internal.flash.jq.css({'width':'0px', 'height':'0px'}); // Once Flash generates the ready event, minimise to zero as it is not affected by wmode anymore.
1507
-
1508
- this.version.flash = status.version;
1509
- if(this.version.needFlash !== this.version.flash) {
1510
- this._error( {
1511
- type: $.jPlayer.error.VERSION,
1512
- context: this.version.flash,
1513
- message: $.jPlayer.errorMsg.VERSION + this.version.flash,
1514
- hint: $.jPlayer.errorHint.VERSION
1515
- });
1516
- }
1517
- this._trigger($.jPlayer.event.repeat); // Trigger the repeat event so its handler can initialize itself with the loop option.
1518
- this._trigger(eventType);
1519
- } else {
1520
- // This condition occurs if the Flash is hidden and then shown again.
1521
- // Firefox also reloads the Flash if the CSS position changes. position:fixed is used for full screen.
1522
-
1523
- // Only do this if the Flash is the solution being used at the moment. Affects Media players where both solution may be being used.
1524
- if(this.flash.gate) {
1525
-
1526
- // Send the current status to the Flash now that it is ready (available) again.
1527
- if(this.status.srcSet) {
1528
-
1529
- // Need to read original status before issuing the setMedia command.
1530
- var currentTime = this.status.currentTime,
1531
- paused = this.status.paused;
1532
-
1533
- this.setMedia(this.status.media);
1534
- this.volumeWorker(this.options.volume);
1535
- if(currentTime > 0) {
1536
- if(paused) {
1537
- this.pause(currentTime);
1538
- } else {
1539
- this.play(currentTime);
1540
- }
1541
- }
1542
- }
1543
- this._trigger($.jPlayer.event.flashreset);
1544
- }
1545
- }
1546
- }
1547
- if(this.flash.gate) {
1548
- switch(eventType) {
1549
- case $.jPlayer.event.progress:
1550
- this._getFlashStatus(status);
1551
- this._updateInterface();
1552
- this._trigger(eventType);
1553
- break;
1554
- case $.jPlayer.event.timeupdate:
1555
- this._getFlashStatus(status);
1556
- this._updateInterface();
1557
- this._trigger(eventType);
1558
- break;
1559
- case $.jPlayer.event.play:
1560
- this._seeked();
1561
- this._updateButtons(true);
1562
- this._trigger(eventType);
1563
- break;
1564
- case $.jPlayer.event.pause:
1565
- this._updateButtons(false);
1566
- this._trigger(eventType);
1567
- break;
1568
- case $.jPlayer.event.ended:
1569
- this._updateButtons(false);
1570
- this._trigger(eventType);
1571
- break;
1572
- case $.jPlayer.event.click:
1573
- this._trigger(eventType); // This could be dealt with by the default
1574
- break;
1575
- case $.jPlayer.event.error:
1576
- this.status.waitForLoad = true; // Allows the load operation to try again.
1577
- this.status.waitForPlay = true; // Reset since a play was captured.
1578
- if(this.status.video) {
1579
- this.internal.flash.jq.css({'width':'0px', 'height':'0px'});
1580
- }
1581
- if(this._validString(this.status.media.poster)) {
1582
- this.internal.poster.jq.show();
1583
- }
1584
- if(this.css.jq.videoPlay.length && this.status.video) {
1585
- this.css.jq.videoPlay.show();
1586
- }
1587
- if(this.status.video) { // Set up for another try. Execute before error event.
1588
- this._flash_setVideo(this.status.media);
1589
- } else {
1590
- this._flash_setAudio(this.status.media);
1591
- }
1592
- this._updateButtons(false);
1593
- this._error( {
1594
- type: $.jPlayer.error.URL,
1595
- context:status.src,
1596
- message: $.jPlayer.errorMsg.URL,
1597
- hint: $.jPlayer.errorHint.URL
1598
- });
1599
- break;
1600
- case $.jPlayer.event.seeking:
1601
- this._seeking();
1602
- this._trigger(eventType);
1603
- break;
1604
- case $.jPlayer.event.seeked:
1605
- this._seeked();
1606
- this._trigger(eventType);
1607
- break;
1608
- case $.jPlayer.event.ready:
1609
- // The ready event is handled outside the switch statement.
1610
- // Captured here otherwise 2 ready events would be generated if the ready event handler used setMedia.
1611
- break;
1612
- default:
1613
- this._trigger(eventType);
1614
- }
1615
- }
1616
- return false;
1617
- },
1618
- _getFlashStatus: function(status) {
1619
- this.status.seekPercent = status.seekPercent;
1620
- this.status.currentPercentRelative = status.currentPercentRelative;
1621
- this.status.currentPercentAbsolute = status.currentPercentAbsolute;
1622
- this.status.currentTime = status.currentTime;
1623
- this.status.duration = status.duration;
1624
- this.status.remaining = status.duration - status.currentTime;
1625
-
1626
- this.status.videoWidth = status.videoWidth;
1627
- this.status.videoHeight = status.videoHeight;
1628
-
1629
- // The Flash does not generate this information in this release
1630
- this.status.readyState = 4; // status.readyState;
1631
- this.status.networkState = 0; // status.networkState;
1632
- this.status.playbackRate = 1; // status.playbackRate;
1633
- this.status.ended = false; // status.ended;
1634
- },
1635
- _updateButtons: function(playing) {
1636
- if(playing === undefined) {
1637
- playing = !this.status.paused;
1638
- } else {
1639
- this.status.paused = !playing;
1640
- }
1641
- // Apply the state classes. (For the useStateClassSkin:true option)
1642
- if(playing) {
1643
- this.addStateClass('playing');
1644
- } else {
1645
- this.removeStateClass('playing');
1646
- }
1647
- if(!this.status.noFullWindow && this.options.fullWindow) {
1648
- this.addStateClass('fullScreen');
1649
- } else {
1650
- this.removeStateClass('fullScreen');
1651
- }
1652
- if(this.options.loop) {
1653
- this.addStateClass('looped');
1654
- } else {
1655
- this.removeStateClass('looped');
1656
- }
1657
- // Toggle the GUI element pairs. (For the useStateClassSkin:false option)
1658
- if(this.css.jq.play.length && this.css.jq.pause.length) {
1659
- if(playing) {
1660
- this.css.jq.play.hide();
1661
- this.css.jq.pause.show();
1662
- } else {
1663
- this.css.jq.play.show();
1664
- this.css.jq.pause.hide();
1665
- }
1666
- }
1667
- if(this.css.jq.restoreScreen.length && this.css.jq.fullScreen.length) {
1668
- if(this.status.noFullWindow) {
1669
- this.css.jq.fullScreen.hide();
1670
- this.css.jq.restoreScreen.hide();
1671
- } else if(this.options.fullWindow) {
1672
- this.css.jq.fullScreen.hide();
1673
- this.css.jq.restoreScreen.show();
1674
- } else {
1675
- this.css.jq.fullScreen.show();
1676
- this.css.jq.restoreScreen.hide();
1677
- }
1678
- }
1679
- if(this.css.jq.repeat.length && this.css.jq.repeatOff.length) {
1680
- if(this.options.loop) {
1681
- this.css.jq.repeat.hide();
1682
- this.css.jq.repeatOff.show();
1683
- } else {
1684
- this.css.jq.repeat.show();
1685
- this.css.jq.repeatOff.hide();
1686
- }
1687
- }
1688
- },
1689
- _updateInterface: function() {
1690
- if(this.css.jq.seekBar.length) {
1691
- this.css.jq.seekBar.width(this.status.seekPercent+"%");
1692
- }
1693
- if(this.css.jq.playBar.length) {
1694
- if(this.options.smoothPlayBar) {
1695
- this.css.jq.playBar.stop().animate({
1696
- width: this.status.currentPercentAbsolute+"%"
1697
- }, 250, "linear");
1698
- } else {
1699
- this.css.jq.playBar.width(this.status.currentPercentRelative+"%");
1700
- }
1701
- }
1702
- var currentTimeText = '';
1703
- if(this.css.jq.currentTime.length) {
1704
- currentTimeText = this._convertTime(this.status.currentTime);
1705
- if(currentTimeText !== this.css.jq.currentTime.text()) {
1706
- this.css.jq.currentTime.text(this._convertTime(this.status.currentTime));
1707
- }
1708
- }
1709
- var durationText = '',
1710
- duration = this.status.duration,
1711
- remaining = this.status.remaining;
1712
- if(this.css.jq.duration.length) {
1713
- if(typeof this.status.media.duration === 'string') {
1714
- durationText = this.status.media.duration;
1715
- } else {
1716
- if(typeof this.status.media.duration === 'number') {
1717
- duration = this.status.media.duration;
1718
- remaining = duration - this.status.currentTime;
1719
- }
1720
- if(this.options.remainingDuration) {
1721
- durationText = (remaining > 0 ? '-' : '') + this._convertTime(remaining);
1722
- } else {
1723
- durationText = this._convertTime(duration);
1724
- }
1725
- }
1726
- if(durationText !== this.css.jq.duration.text()) {
1727
- this.css.jq.duration.text(durationText);
1728
- }
1729
- }
1730
- },
1731
- _convertTime: ConvertTime.prototype.time,
1732
- _seeking: function() {
1733
- if(this.css.jq.seekBar.length) {
1734
- this.css.jq.seekBar.addClass("jp-seeking-bg");
1735
- }
1736
- this.addStateClass('seeking');
1737
- },
1738
- _seeked: function() {
1739
- if(this.css.jq.seekBar.length) {
1740
- this.css.jq.seekBar.removeClass("jp-seeking-bg");
1741
- }
1742
- this.removeStateClass('seeking');
1743
- },
1744
- _resetGate: function() {
1745
- this.html.audio.gate = false;
1746
- this.html.video.gate = false;
1747
- this.flash.gate = false;
1748
- },
1749
- _resetActive: function() {
1750
- this.html.active = false;
1751
- this.flash.active = false;
1752
- },
1753
- _escapeHtml: function(s) {
1754
- return s.split('&').join('&amp;').split('<').join('&lt;').split('>').join('&gt;').split('"').join('&quot;');
1755
- },
1756
- _qualifyURL: function(url) {
1757
- var el = document.createElement('div');
1758
- el.innerHTML= '<a href="' + this._escapeHtml(url) + '">x</a>';
1759
- return el.firstChild.href;
1760
- },
1761
- _absoluteMediaUrls: function(media) {
1762
- var self = this;
1763
- $.each(media, function(type, url) {
1764
- if(url && self.format[type]) {
1765
- media[type] = self._qualifyURL(url);
1766
- }
1767
- });
1768
- return media;
1769
- },
1770
- addStateClass: function(state) {
1771
- if(this.ancestorJq.length) {
1772
- this.ancestorJq.addClass(this.options.stateClass[state]);
1773
- }
1774
- },
1775
- removeStateClass: function(state) {
1776
- if(this.ancestorJq.length) {
1777
- this.ancestorJq.removeClass(this.options.stateClass[state]);
1778
- }
1779
- },
1780
- setMedia: function(media) {
1781
-
1782
- /* media[format] = String: URL of format. Must contain all of the supplied option's video or audio formats.
1783
- * media.poster = String: Video poster URL.
1784
- * media.track = Array: Of objects defining the track element: kind, src, srclang, label, def.
1785
- * media.stream = Boolean: * NOT IMPLEMENTED * Designating actual media streams. ie., "false/undefined" for files. Plan to refresh the flash every so often.
1786
- */
1787
-
1788
- var self = this,
1789
- supported = false,
1790
- posterChanged = this.status.media.poster !== media.poster; // Compare before reset. Important for OSX Safari as this.htmlElement.poster.src is absolute, even if original poster URL was relative.
1791
-
1792
- this._resetMedia();
1793
- this._resetGate();
1794
- this._resetActive();
1795
-
1796
- // Clear the Android Fix.
1797
- this.androidFix.setMedia = false;
1798
- this.androidFix.play = false;
1799
- this.androidFix.pause = false;
1800
-
1801
- // Convert all media URLs to absolute URLs.
1802
- media = this._absoluteMediaUrls(media);
1803
-
1804
- $.each(this.formats, function(formatPriority, format) {
1805
- var isVideo = self.format[format].media === 'video';
1806
- $.each(self.solutions, function(solutionPriority, solution) {
1807
- if(self[solution].support[format] && self._validString(media[format])) { // Format supported in solution and url given for format.
1808
- var isHtml = solution === 'html';
1809
-
1810
- if(isVideo) {
1811
- if(isHtml) {
1812
- self.html.video.gate = true;
1813
- self._html_setVideo(media);
1814
- self.html.active = true;
1815
- } else {
1816
- self.flash.gate = true;
1817
- self._flash_setVideo(media);
1818
- self.flash.active = true;
1819
- }
1820
- if(self.css.jq.videoPlay.length) {
1821
- self.css.jq.videoPlay.show();
1822
- }
1823
- self.status.video = true;
1824
- } else {
1825
- if(isHtml) {
1826
- self.html.audio.gate = true;
1827
- self._html_setAudio(media);
1828
- self.html.active = true;
1829
-
1830
- // Setup the Android Fix - Only for HTML audio.
1831
- if($.jPlayer.platform.android) {
1832
- self.androidFix.setMedia = true;
1833
- }
1834
- } else {
1835
- self.flash.gate = true;
1836
- self._flash_setAudio(media);
1837
- self.flash.active = true;
1838
- }
1839
- if(self.css.jq.videoPlay.length) {
1840
- self.css.jq.videoPlay.hide();
1841
- }
1842
- self.status.video = false;
1843
- }
1844
-
1845
- supported = true;
1846
- return false; // Exit $.each
1847
- }
1848
- });
1849
- if(supported) {
1850
- return false; // Exit $.each
1851
- }
1852
- });
1853
-
1854
- if(supported) {
1855
- if(!(this.status.nativeVideoControls && this.html.video.gate)) {
1856
- // Set poster IMG if native video controls are not being used
1857
- // Note: With IE the IMG onload event occurs immediately when cached.
1858
- // Note: Poster hidden by default in _resetMedia()
1859
- if(this._validString(media.poster)) {
1860
- if(posterChanged) { // Since some browsers do not generate img onload event.
1861
- this.htmlElement.poster.src = media.poster;
1862
- } else {
1863
- this.internal.poster.jq.show();
1864
- }
1865
- }
1866
- }
1867
- if(this.css.jq.title.length) {
1868
- if(typeof media.title === 'string') {
1869
- this.css.jq.title.html(media.title);
1870
- if(this.htmlElement.audio) {
1871
- this.htmlElement.audio.setAttribute('title', media.title);
1872
- }
1873
- if(this.htmlElement.video) {
1874
- this.htmlElement.video.setAttribute('title', media.title);
1875
- }
1876
- }
1877
- }
1878
- this.status.srcSet = true;
1879
- this.status.media = $.extend({}, media);
1880
- this._updateButtons(false);
1881
- this._updateInterface();
1882
- this._trigger($.jPlayer.event.setmedia);
1883
- } else { // jPlayer cannot support any formats provided in this browser
1884
- // Send an error event
1885
- this._error( {
1886
- type: $.jPlayer.error.NO_SUPPORT,
1887
- context: "{supplied:'" + this.options.supplied + "'}",
1888
- message: $.jPlayer.errorMsg.NO_SUPPORT,
1889
- hint: $.jPlayer.errorHint.NO_SUPPORT
1890
- });
1891
- }
1892
- },
1893
- _resetMedia: function() {
1894
- this._resetStatus();
1895
- this._updateButtons(false);
1896
- this._updateInterface();
1897
- this._seeked();
1898
- this.internal.poster.jq.hide();
1899
-
1900
- clearTimeout(this.internal.htmlDlyCmdId);
1901
-
1902
- if(this.html.active) {
1903
- this._html_resetMedia();
1904
- } else if(this.flash.active) {
1905
- this._flash_resetMedia();
1906
- }
1907
- },
1908
- clearMedia: function() {
1909
- this._resetMedia();
1910
-
1911
- if(this.html.active) {
1912
- this._html_clearMedia();
1913
- } else if(this.flash.active) {
1914
- this._flash_clearMedia();
1915
- }
1916
-
1917
- this._resetGate();
1918
- this._resetActive();
1919
- },
1920
- load: function() {
1921
- if(this.status.srcSet) {
1922
- if(this.html.active) {
1923
- this._html_load();
1924
- } else if(this.flash.active) {
1925
- this._flash_load();
1926
- }
1927
- } else {
1928
- this._urlNotSetError("load");
1929
- }
1930
- },
1931
- focus: function() {
1932
- if(this.options.keyEnabled) {
1933
- $.jPlayer.focus = this;
1934
- }
1935
- },
1936
- play: function(time) {
1937
- var guiAction = typeof time === "object"; // Flags GUI click events so we know this was not a direct command, but an action taken by the user on the GUI.
1938
- if(guiAction && this.options.useStateClassSkin && !this.status.paused) {
1939
- this.pause(time); // The time would be the click event, but passing it over so info is not lost.
1940
- } else {
1941
- time = (typeof time === "number") ? time : NaN; // Remove jQuery event from click handler
1942
- if(this.status.srcSet) {
1943
- this.focus();
1944
- if(this.html.active) {
1945
- this._html_play(time);
1946
- } else if(this.flash.active) {
1947
- this._flash_play(time);
1948
- }
1949
- } else {
1950
- this._urlNotSetError("play");
1951
- }
1952
- }
1953
- },
1954
- videoPlay: function() { // Handles clicks on the play button over the video poster
1955
- this.play();
1956
- },
1957
- pause: function(time) {
1958
- time = (typeof time === "number") ? time : NaN; // Remove jQuery event from click handler
1959
- if(this.status.srcSet) {
1960
- if(this.html.active) {
1961
- this._html_pause(time);
1962
- } else if(this.flash.active) {
1963
- this._flash_pause(time);
1964
- }
1965
- } else {
1966
- this._urlNotSetError("pause");
1967
- }
1968
- },
1969
- tellOthers: function(command, conditions) {
1970
- var self = this,
1971
- hasConditions = typeof conditions === 'function',
1972
- args = Array.prototype.slice.call(arguments); // Convert arguments to an Array.
1973
-
1974
- if(typeof command !== 'string') { // Ignore, since no command.
1975
- return; // Return undefined to maintain chaining.
1976
- }
1977
- if(hasConditions) {
1978
- args.splice(1, 1); // Remove the conditions from the arguments
1979
- }
1980
-
1981
- $.each(this.instances, function() {
1982
- // Remember that "this" is the instance's "element" in the $.each() loop.
1983
- if(self.element !== this) { // Do not tell my instance.
1984
- if(!hasConditions || conditions.call(this.data("jPlayer"), self)) {
1985
- this.jPlayer.apply(this, args);
1986
- }
1987
- }
1988
- });
1989
- },
1990
- pauseOthers: function(time) {
1991
- this.tellOthers("pause", function() {
1992
- // In the conditions function, the "this" context is the other instance's jPlayer object.
1993
- return this.status.srcSet;
1994
- }, time);
1995
- },
1996
- stop: function() {
1997
- if(this.status.srcSet) {
1998
- if(this.html.active) {
1999
- this._html_pause(0);
2000
- } else if(this.flash.active) {
2001
- this._flash_pause(0);
2002
- }
2003
- } else {
2004
- this._urlNotSetError("stop");
2005
- }
2006
- },
2007
- playHead: function(p) {
2008
- p = this._limitValue(p, 0, 100);
2009
- if(this.status.srcSet) {
2010
- if(this.html.active) {
2011
- this._html_playHead(p);
2012
- } else if(this.flash.active) {
2013
- this._flash_playHead(p);
2014
- }
2015
- } else {
2016
- this._urlNotSetError("playHead");
2017
- }
2018
- },
2019
- _muted: function(muted) {
2020
- this.mutedWorker(muted);
2021
- if(this.options.globalVolume) {
2022
- this.tellOthers("mutedWorker", function() {
2023
- // Check the other instance has global volume enabled.
2024
- return this.options.globalVolume;
2025
- }, muted);
2026
- }
2027
- },
2028
- mutedWorker: function(muted) {
2029
- this.options.muted = muted;
2030
- if(this.html.used) {
2031
- this._html_setProperty('muted', muted);
2032
- }
2033
- if(this.flash.used) {
2034
- this._flash_mute(muted);
2035
- }
2036
-
2037
- // The HTML solution generates this event from the media element itself.
2038
- if(!this.html.video.gate && !this.html.audio.gate) {
2039
- this._updateMute(muted);
2040
- this._updateVolume(this.options.volume);
2041
- this._trigger($.jPlayer.event.volumechange);
2042
- }
2043
- },
2044
- mute: function(mute) { // mute is either: undefined (true), an event object (true) or a boolean (muted).
2045
- var guiAction = typeof mute === "object"; // Flags GUI click events so we know this was not a direct command, but an action taken by the user on the GUI.
2046
- if(guiAction && this.options.useStateClassSkin && this.options.muted) {
2047
- this._muted(false);
2048
- } else {
2049
- mute = mute === undefined ? true : !!mute;
2050
- this._muted(mute);
2051
- }
2052
- },
2053
- unmute: function(unmute) { // unmute is either: undefined (true), an event object (true) or a boolean (!muted).
2054
- unmute = unmute === undefined ? true : !!unmute;
2055
- this._muted(!unmute);
2056
- },
2057
- _updateMute: function(mute) {
2058
- if(mute === undefined) {
2059
- mute = this.options.muted;
2060
- }
2061
- if(mute) {
2062
- this.addStateClass('muted');
2063
- } else {
2064
- this.removeStateClass('muted');
2065
- }
2066
- if(this.css.jq.mute.length && this.css.jq.unmute.length) {
2067
- if(this.status.noVolume) {
2068
- this.css.jq.mute.hide();
2069
- this.css.jq.unmute.hide();
2070
- } else if(mute) {
2071
- this.css.jq.mute.hide();
2072
- this.css.jq.unmute.show();
2073
- } else {
2074
- this.css.jq.mute.show();
2075
- this.css.jq.unmute.hide();
2076
- }
2077
- }
2078
- },
2079
- volume: function(v) {
2080
- this.volumeWorker(v);
2081
- if(this.options.globalVolume) {
2082
- this.tellOthers("volumeWorker", function() {
2083
- // Check the other instance has global volume enabled.
2084
- return this.options.globalVolume;
2085
- }, v);
2086
- }
2087
- },
2088
- volumeWorker: function(v) {
2089
- v = this._limitValue(v, 0, 1);
2090
- this.options.volume = v;
2091
-
2092
- if(this.html.used) {
2093
- this._html_setProperty('volume', v);
2094
- }
2095
- if(this.flash.used) {
2096
- this._flash_volume(v);
2097
- }
2098
-
2099
- // The HTML solution generates this event from the media element itself.
2100
- if(!this.html.video.gate && !this.html.audio.gate) {
2101
- this._updateVolume(v);
2102
- this._trigger($.jPlayer.event.volumechange);
2103
- }
2104
- },
2105
- volumeBar: function(e) { // Handles clicks on the volumeBar
2106
- if(this.css.jq.volumeBar.length) {
2107
- // Using $(e.currentTarget) to enable multiple volume bars
2108
- var $bar = $(e.currentTarget),
2109
- offset = $bar.offset(),
2110
- x = e.pageX - offset.left,
2111
- w = $bar.width(),
2112
- y = $bar.height() - e.pageY + offset.top,
2113
- h = $bar.height();
2114
- if(this.options.verticalVolume) {
2115
- this.volume(y/h);
2116
- } else {
2117
- this.volume(x/w);
2118
- }
2119
- }
2120
- if(this.options.muted) {
2121
- this._muted(false);
2122
- }
2123
- },
2124
- _updateVolume: function(v) {
2125
- if(v === undefined) {
2126
- v = this.options.volume;
2127
- }
2128
- v = this.options.muted ? 0 : v;
2129
-
2130
- if(this.status.noVolume) {
2131
- if(this.css.jq.volumeBar.length) {
2132
- this.css.jq.volumeBar.hide();
2133
- }
2134
- if(this.css.jq.volumeBarValue.length) {
2135
- this.css.jq.volumeBarValue.hide();
2136
- }
2137
- if(this.css.jq.volumeMax.length) {
2138
- this.css.jq.volumeMax.hide();
2139
- }
2140
- } else {
2141
- if(this.css.jq.volumeBar.length) {
2142
- this.css.jq.volumeBar.show();
2143
- }
2144
- if(this.css.jq.volumeBarValue.length) {
2145
- this.css.jq.volumeBarValue.show();
2146
- this.css.jq.volumeBarValue[this.options.verticalVolume ? "height" : "width"]((v*100)+"%");
2147
- }
2148
- if(this.css.jq.volumeMax.length) {
2149
- this.css.jq.volumeMax.show();
2150
- }
2151
- }
2152
- },
2153
- volumeMax: function() { // Handles clicks on the volume max
2154
- this.volume(1);
2155
- if(this.options.muted) {
2156
- this._muted(false);
2157
- }
2158
- },
2159
- _cssSelectorAncestor: function(ancestor) {
2160
- var self = this;
2161
- this.options.cssSelectorAncestor = ancestor;
2162
- this._removeUiClass();
2163
- this.ancestorJq = ancestor ? $(ancestor) : []; // Would use $() instead of [], but it is only 1.4+
2164
- if(ancestor && this.ancestorJq.length !== 1) { // So empty strings do not generate the warning.
2165
- this._warning( {
2166
- type: $.jPlayer.warning.CSS_SELECTOR_COUNT,
2167
- context: ancestor,
2168
- message: $.jPlayer.warningMsg.CSS_SELECTOR_COUNT + this.ancestorJq.length + " found for cssSelectorAncestor.",
2169
- hint: $.jPlayer.warningHint.CSS_SELECTOR_COUNT
2170
- });
2171
- }
2172
- this._addUiClass();
2173
- $.each(this.options.cssSelector, function(fn, cssSel) {
2174
- self._cssSelector(fn, cssSel);
2175
- });
2176
-
2177
- // Set the GUI to the current state.
2178
- this._updateInterface();
2179
- this._updateButtons();
2180
- this._updateAutohide();
2181
- this._updateVolume();
2182
- this._updateMute();
2183
- },
2184
- _cssSelector: function(fn, cssSel) {
2185
- var self = this;
2186
- if(typeof cssSel === 'string') {
2187
- if($.jPlayer.prototype.options.cssSelector[fn]) {
2188
- if(this.css.jq[fn] && this.css.jq[fn].length) {
2189
- this.css.jq[fn].unbind(".jPlayer");
2190
- }
2191
- this.options.cssSelector[fn] = cssSel;
2192
- this.css.cs[fn] = this.options.cssSelectorAncestor + " " + cssSel;
2193
-
2194
- if(cssSel) { // Checks for empty string
2195
- this.css.jq[fn] = $(this.css.cs[fn]);
2196
- } else {
2197
- this.css.jq[fn] = []; // To comply with the css.jq[fn].length check before its use. As of jQuery 1.4 could have used $() for an empty set.
2198
- }
2199
-
2200
- if(this.css.jq[fn].length && this[fn]) {
2201
- var handler = function(e) {
2202
- e.preventDefault();
2203
- self[fn](e);
2204
- if(self.options.autoBlur) {
2205
- $(this).blur();
2206
- }
2207
- };
2208
- this.css.jq[fn].bind("click.jPlayer", handler); // Using jPlayer namespace
2209
- }
2210
-
2211
- if(cssSel && this.css.jq[fn].length !== 1) { // So empty strings do not generate the warning. ie., they just remove the old one.
2212
- this._warning( {
2213
- type: $.jPlayer.warning.CSS_SELECTOR_COUNT,
2214
- context: this.css.cs[fn],
2215
- message: $.jPlayer.warningMsg.CSS_SELECTOR_COUNT + this.css.jq[fn].length + " found for " + fn + " method.",
2216
- hint: $.jPlayer.warningHint.CSS_SELECTOR_COUNT
2217
- });
2218
- }
2219
- } else {
2220
- this._warning( {
2221
- type: $.jPlayer.warning.CSS_SELECTOR_METHOD,
2222
- context: fn,
2223
- message: $.jPlayer.warningMsg.CSS_SELECTOR_METHOD,
2224
- hint: $.jPlayer.warningHint.CSS_SELECTOR_METHOD
2225
- });
2226
- }
2227
- } else {
2228
- this._warning( {
2229
- type: $.jPlayer.warning.CSS_SELECTOR_STRING,
2230
- context: cssSel,
2231
- message: $.jPlayer.warningMsg.CSS_SELECTOR_STRING,
2232
- hint: $.jPlayer.warningHint.CSS_SELECTOR_STRING
2233
- });
2234
- }
2235
- },
2236
- duration: function(e) {
2237
- if(this.options.toggleDuration) {
2238
- if(this.options.captureDuration) {
2239
- e.stopPropagation();
2240
- }
2241
- this._setOption("remainingDuration", !this.options.remainingDuration);
2242
- }
2243
- },
2244
- seekBar: function(e) { // Handles clicks on the seekBar
2245
- if(this.css.jq.seekBar.length) {
2246
- // Using $(e.currentTarget) to enable multiple seek bars
2247
- var $bar = $(e.currentTarget),
2248
- offset = $bar.offset(),
2249
- x = e.pageX - offset.left,
2250
- w = $bar.width(),
2251
- p = 100 * x / w;
2252
- this.playHead(p);
2253
- }
2254
- },
2255
- playbackRate: function(pbr) {
2256
- this._setOption("playbackRate", pbr);
2257
- },
2258
- playbackRateBar: function(e) { // Handles clicks on the playbackRateBar
2259
- if(this.css.jq.playbackRateBar.length) {
2260
- // Using $(e.currentTarget) to enable multiple playbackRate bars
2261
- var $bar = $(e.currentTarget),
2262
- offset = $bar.offset(),
2263
- x = e.pageX - offset.left,
2264
- w = $bar.width(),
2265
- y = $bar.height() - e.pageY + offset.top,
2266
- h = $bar.height(),
2267
- ratio, pbr;
2268
- if(this.options.verticalPlaybackRate) {
2269
- ratio = y/h;
2270
- } else {
2271
- ratio = x/w;
2272
- }
2273
- pbr = ratio * (this.options.maxPlaybackRate - this.options.minPlaybackRate) + this.options.minPlaybackRate;
2274
- this.playbackRate(pbr);
2275
- }
2276
- },
2277
- _updatePlaybackRate: function() {
2278
- var pbr = this.options.playbackRate,
2279
- ratio = (pbr - this.options.minPlaybackRate) / (this.options.maxPlaybackRate - this.options.minPlaybackRate);
2280
- if(this.status.playbackRateEnabled) {
2281
- if(this.css.jq.playbackRateBar.length) {
2282
- this.css.jq.playbackRateBar.show();
2283
- }
2284
- if(this.css.jq.playbackRateBarValue.length) {
2285
- this.css.jq.playbackRateBarValue.show();
2286
- this.css.jq.playbackRateBarValue[this.options.verticalPlaybackRate ? "height" : "width"]((ratio*100)+"%");
2287
- }
2288
- } else {
2289
- if(this.css.jq.playbackRateBar.length) {
2290
- this.css.jq.playbackRateBar.hide();
2291
- }
2292
- if(this.css.jq.playbackRateBarValue.length) {
2293
- this.css.jq.playbackRateBarValue.hide();
2294
- }
2295
- }
2296
- },
2297
- repeat: function(event) { // Handle clicks on the repeat button
2298
- var guiAction = typeof event === "object"; // Flags GUI click events so we know this was not a direct command, but an action taken by the user on the GUI.
2299
- if(guiAction && this.options.useStateClassSkin && this.options.loop) {
2300
- this._loop(false);
2301
- } else {
2302
- this._loop(true);
2303
- }
2304
- },
2305
- repeatOff: function() { // Handle clicks on the repeatOff button
2306
- this._loop(false);
2307
- },
2308
- _loop: function(loop) {
2309
- if(this.options.loop !== loop) {
2310
- this.options.loop = loop;
2311
- this._updateButtons();
2312
- this._trigger($.jPlayer.event.repeat);
2313
- }
2314
- },
2315
-
2316
- // Options code adapted from ui.widget.js (1.8.7). Made changes so the key can use dot notation. To match previous getData solution in jPlayer 1.
2317
- option: function(key, value) {
2318
- var options = key;
2319
-
2320
- // Enables use: options(). Returns a copy of options object
2321
- if ( arguments.length === 0 ) {
2322
- return $.extend( true, {}, this.options );
2323
- }
2324
-
2325
- if(typeof key === "string") {
2326
- var keys = key.split(".");
2327
-
2328
- // Enables use: options("someOption") Returns a copy of the option. Supports dot notation.
2329
- if(value === undefined) {
2330
-
2331
- var opt = $.extend(true, {}, this.options);
2332
- for(var i = 0; i < keys.length; i++) {
2333
- if(opt[keys[i]] !== undefined) {
2334
- opt = opt[keys[i]];
2335
- } else {
2336
- this._warning( {
2337
- type: $.jPlayer.warning.OPTION_KEY,
2338
- context: key,
2339
- message: $.jPlayer.warningMsg.OPTION_KEY,
2340
- hint: $.jPlayer.warningHint.OPTION_KEY
2341
- });
2342
- return undefined;
2343
- }
2344
- }
2345
- return opt;
2346
- }
2347
-
2348
- // Enables use: options("someOptionObject", someObject}). Creates: {someOptionObject:someObject}
2349
- // Enables use: options("someOption", someValue). Creates: {someOption:someValue}
2350
- // Enables use: options("someOptionObject.someOption", someValue). Creates: {someOptionObject:{someOption:someValue}}
2351
-
2352
- options = {};
2353
- var opts = options;
2354
-
2355
- for(var j = 0; j < keys.length; j++) {
2356
- if(j < keys.length - 1) {
2357
- opts[keys[j]] = {};
2358
- opts = opts[keys[j]];
2359
- } else {
2360
- opts[keys[j]] = value;
2361
- }
2362
- }
2363
- }
2364
-
2365
- // Otherwise enables use: options(optionObject). Uses original object (the key)
2366
-
2367
- this._setOptions(options);
2368
-
2369
- return this;
2370
- },
2371
- _setOptions: function(options) {
2372
- var self = this;
2373
- $.each(options, function(key, value) { // This supports the 2 level depth that the options of jPlayer has. Would review if we ever need more depth.
2374
- self._setOption(key, value);
2375
- });
2376
-
2377
- return this;
2378
- },
2379
- _setOption: function(key, value) {
2380
- var self = this;
2381
-
2382
- // The ability to set options is limited at this time.
2383
-
2384
- switch(key) {
2385
- case "volume" :
2386
- this.volume(value);
2387
- break;
2388
- case "muted" :
2389
- this._muted(value);
2390
- break;
2391
- case "globalVolume" :
2392
- this.options[key] = value;
2393
- break;
2394
- case "cssSelectorAncestor" :
2395
- this._cssSelectorAncestor(value); // Set and refresh all associations for the new ancestor.
2396
- break;
2397
- case "cssSelector" :
2398
- $.each(value, function(fn, cssSel) {
2399
- self._cssSelector(fn, cssSel); // NB: The option is set inside this function, after further validity checks.
2400
- });
2401
- break;
2402
- case "playbackRate" :
2403
- this.options[key] = value = this._limitValue(value, this.options.minPlaybackRate, this.options.maxPlaybackRate);
2404
- if(this.html.used) {
2405
- this._html_setProperty('playbackRate', value);
2406
- }
2407
- this._updatePlaybackRate();
2408
- break;
2409
- case "defaultPlaybackRate" :
2410
- this.options[key] = value = this._limitValue(value, this.options.minPlaybackRate, this.options.maxPlaybackRate);
2411
- if(this.html.used) {
2412
- this._html_setProperty('defaultPlaybackRate', value);
2413
- }
2414
- this._updatePlaybackRate();
2415
- break;
2416
- case "minPlaybackRate" :
2417
- this.options[key] = value = this._limitValue(value, 0.1, this.options.maxPlaybackRate - 0.1);
2418
- this._updatePlaybackRate();
2419
- break;
2420
- case "maxPlaybackRate" :
2421
- this.options[key] = value = this._limitValue(value, this.options.minPlaybackRate + 0.1, 16);
2422
- this._updatePlaybackRate();
2423
- break;
2424
- case "fullScreen" :
2425
- if(this.options[key] !== value) { // if changed
2426
- var wkv = $.jPlayer.nativeFeatures.fullscreen.used.webkitVideo;
2427
- if(!wkv || wkv && !this.status.waitForPlay) {
2428
- if(!wkv) { // No sensible way to unset option on these devices.
2429
- this.options[key] = value;
2430
- }
2431
- if(value) {
2432
- this._requestFullscreen();
2433
- } else {
2434
- this._exitFullscreen();
2435
- }
2436
- if(!wkv) {
2437
- this._setOption("fullWindow", value);
2438
- }
2439
- }
2440
- }
2441
- break;
2442
- case "fullWindow" :
2443
- if(this.options[key] !== value) { // if changed
2444
- this._removeUiClass();
2445
- this.options[key] = value;
2446
- this._refreshSize();
2447
- }
2448
- break;
2449
- case "size" :
2450
- if(!this.options.fullWindow && this.options[key].cssClass !== value.cssClass) {
2451
- this._removeUiClass();
2452
- }
2453
- this.options[key] = $.extend({}, this.options[key], value); // store a merged copy of it, incase not all properties changed.
2454
- this._refreshSize();
2455
- break;
2456
- case "sizeFull" :
2457
- if(this.options.fullWindow && this.options[key].cssClass !== value.cssClass) {
2458
- this._removeUiClass();
2459
- }
2460
- this.options[key] = $.extend({}, this.options[key], value); // store a merged copy of it, incase not all properties changed.
2461
- this._refreshSize();
2462
- break;
2463
- case "autohide" :
2464
- this.options[key] = $.extend({}, this.options[key], value); // store a merged copy of it, incase not all properties changed.
2465
- this._updateAutohide();
2466
- break;
2467
- case "loop" :
2468
- this._loop(value);
2469
- break;
2470
- case "remainingDuration" :
2471
- this.options[key] = value;
2472
- this._updateInterface();
2473
- break;
2474
- case "toggleDuration" :
2475
- this.options[key] = value;
2476
- break;
2477
- case "nativeVideoControls" :
2478
- this.options[key] = $.extend({}, this.options[key], value); // store a merged copy of it, incase not all properties changed.
2479
- this.status.nativeVideoControls = this._uaBlocklist(this.options.nativeVideoControls);
2480
- this._restrictNativeVideoControls();
2481
- this._updateNativeVideoControls();
2482
- break;
2483
- case "noFullWindow" :
2484
- this.options[key] = $.extend({}, this.options[key], value); // store a merged copy of it, incase not all properties changed.
2485
- this.status.nativeVideoControls = this._uaBlocklist(this.options.nativeVideoControls); // Need to check again as noFullWindow can depend on this flag and the restrict() can override it.
2486
- this.status.noFullWindow = this._uaBlocklist(this.options.noFullWindow);
2487
- this._restrictNativeVideoControls();
2488
- this._updateButtons();
2489
- break;
2490
- case "noVolume" :
2491
- this.options[key] = $.extend({}, this.options[key], value); // store a merged copy of it, incase not all properties changed.
2492
- this.status.noVolume = this._uaBlocklist(this.options.noVolume);
2493
- this._updateVolume();
2494
- this._updateMute();
2495
- break;
2496
- case "emulateHtml" :
2497
- if(this.options[key] !== value) { // To avoid multiple event handlers being created, if true already.
2498
- this.options[key] = value;
2499
- if(value) {
2500
- this._emulateHtmlBridge();
2501
- } else {
2502
- this._destroyHtmlBridge();
2503
- }
2504
- }
2505
- break;
2506
- case "timeFormat" :
2507
- this.options[key] = $.extend({}, this.options[key], value); // store a merged copy of it, incase not all properties changed.
2508
- break;
2509
- case "keyEnabled" :
2510
- this.options[key] = value;
2511
- if(!value && this === $.jPlayer.focus) {
2512
- $.jPlayer.focus = null;
2513
- }
2514
- break;
2515
- case "keyBindings" :
2516
- this.options[key] = $.extend(true, {}, this.options[key], value); // store a merged DEEP copy of it, incase not all properties changed.
2517
- break;
2518
- case "audioFullScreen" :
2519
- this.options[key] = value;
2520
- break;
2521
- case "autoBlur" :
2522
- this.options[key] = value;
2523
- break;
2524
- }
2525
-
2526
- return this;
2527
- },
2528
- // End of: (Options code adapted from ui.widget.js)
2529
-
2530
- _refreshSize: function() {
2531
- this._setSize(); // update status and jPlayer element size
2532
- this._addUiClass(); // update the ui class
2533
- this._updateSize(); // update internal sizes
2534
- this._updateButtons();
2535
- this._updateAutohide();
2536
- this._trigger($.jPlayer.event.resize);
2537
- },
2538
- _setSize: function() {
2539
- // Determine the current size from the options
2540
- if(this.options.fullWindow) {
2541
- this.status.width = this.options.sizeFull.width;
2542
- this.status.height = this.options.sizeFull.height;
2543
- this.status.cssClass = this.options.sizeFull.cssClass;
2544
- } else {
2545
- this.status.width = this.options.size.width;
2546
- this.status.height = this.options.size.height;
2547
- this.status.cssClass = this.options.size.cssClass;
2548
- }
2549
-
2550
- // Set the size of the jPlayer area.
2551
- this.element.css({'width': this.status.width, 'height': this.status.height});
2552
- },
2553
- _addUiClass: function() {
2554
- if(this.ancestorJq.length) {
2555
- this.ancestorJq.addClass(this.status.cssClass);
2556
- }
2557
- },
2558
- _removeUiClass: function() {
2559
- if(this.ancestorJq.length) {
2560
- this.ancestorJq.removeClass(this.status.cssClass);
2561
- }
2562
- },
2563
- _updateSize: function() {
2564
- // The poster uses show/hide so can simply resize it.
2565
- this.internal.poster.jq.css({'width': this.status.width, 'height': this.status.height});
2566
-
2567
- // Video html or flash resized if necessary at this time, or if native video controls being used.
2568
- if(!this.status.waitForPlay && this.html.active && this.status.video || this.html.video.available && this.html.used && this.status.nativeVideoControls) {
2569
- this.internal.video.jq.css({'width': this.status.width, 'height': this.status.height});
2570
- }
2571
- else if(!this.status.waitForPlay && this.flash.active && this.status.video) {
2572
- this.internal.flash.jq.css({'width': this.status.width, 'height': this.status.height});
2573
- }
2574
- },
2575
- _updateAutohide: function() {
2576
- var self = this,
2577
- event = "mousemove.jPlayer",
2578
- namespace = ".jPlayerAutohide",
2579
- eventType = event + namespace,
2580
- handler = function() {
2581
- self.css.jq.gui.fadeIn(self.options.autohide.fadeIn, function() {
2582
- clearTimeout(self.internal.autohideId);
2583
- self.internal.autohideId = setTimeout( function() {
2584
- self.css.jq.gui.fadeOut(self.options.autohide.fadeOut);
2585
- }, self.options.autohide.hold);
2586
- });
2587
- };
2588
-
2589
- if(this.css.jq.gui.length) {
2590
-
2591
- // End animations first so that its callback is executed now.
2592
- // Otherwise an in progress fadeIn animation still has the callback to fadeOut again.
2593
- this.css.jq.gui.stop(true, true);
2594
-
2595
- // Removes the fadeOut operation from the fadeIn callback.
2596
- clearTimeout(this.internal.autohideId);
2597
-
2598
- this.element.unbind(namespace);
2599
- this.css.jq.gui.unbind(namespace);
2600
-
2601
- if(!this.status.nativeVideoControls) {
2602
- if(this.options.fullWindow && this.options.autohide.full || !this.options.fullWindow && this.options.autohide.restored) {
2603
- this.element.bind(eventType, handler);
2604
- this.css.jq.gui.bind(eventType, handler);
2605
- this.css.jq.gui.hide();
2606
- } else {
2607
- this.css.jq.gui.show();
2608
- }
2609
- } else {
2610
- this.css.jq.gui.hide();
2611
- }
2612
- }
2613
- },
2614
- fullScreen: function(event) {
2615
- var guiAction = typeof event === "object"; // Flags GUI click events so we know this was not a direct command, but an action taken by the user on the GUI.
2616
- if(guiAction && this.options.useStateClassSkin && this.options.fullScreen) {
2617
- this._setOption("fullScreen", false);
2618
- } else {
2619
- this._setOption("fullScreen", true);
2620
- }
2621
- },
2622
- restoreScreen: function() {
2623
- this._setOption("fullScreen", false);
2624
- },
2625
- _fullscreenAddEventListeners: function() {
2626
- var self = this,
2627
- fs = $.jPlayer.nativeFeatures.fullscreen;
2628
-
2629
- if(fs.api.fullscreenEnabled) {
2630
- if(fs.event.fullscreenchange) {
2631
- // Create the event handler function and store it for removal.
2632
- if(typeof this.internal.fullscreenchangeHandler !== 'function') {
2633
- this.internal.fullscreenchangeHandler = function() {
2634
- self._fullscreenchange();
2635
- };
2636
- }
2637
- document.addEventListener(fs.event.fullscreenchange, this.internal.fullscreenchangeHandler, false);
2638
- }
2639
- // No point creating handler for fullscreenerror.
2640
- // Either logic avoids fullscreen occurring (w3c/moz), or their is no event on the browser (webkit).
2641
- }
2642
- },
2643
- _fullscreenRemoveEventListeners: function() {
2644
- var fs = $.jPlayer.nativeFeatures.fullscreen;
2645
- if(this.internal.fullscreenchangeHandler) {
2646
- document.removeEventListener(fs.event.fullscreenchange, this.internal.fullscreenchangeHandler, false);
2647
- }
2648
- },
2649
- _fullscreenchange: function() {
2650
- // If nothing is fullscreen, then we cannot be in fullscreen mode.
2651
- if(this.options.fullScreen && !$.jPlayer.nativeFeatures.fullscreen.api.fullscreenElement()) {
2652
- this._setOption("fullScreen", false);
2653
- }
2654
- },
2655
- _requestFullscreen: function() {
2656
- // Either the container or the jPlayer div
2657
- var e = this.ancestorJq.length ? this.ancestorJq[0] : this.element[0],
2658
- fs = $.jPlayer.nativeFeatures.fullscreen;
2659
-
2660
- // This method needs the video element. For iOS and Android.
2661
- if(fs.used.webkitVideo) {
2662
- e = this.htmlElement.video;
2663
- }
2664
-
2665
- if(fs.api.fullscreenEnabled) {
2666
- fs.api.requestFullscreen(e);
2667
- }
2668
- },
2669
- _exitFullscreen: function() {
2670
-
2671
- var fs = $.jPlayer.nativeFeatures.fullscreen,
2672
- e;
2673
-
2674
- // This method needs the video element. For iOS and Android.
2675
- if(fs.used.webkitVideo) {
2676
- e = this.htmlElement.video;
2677
- }
2678
-
2679
- if(fs.api.fullscreenEnabled) {
2680
- fs.api.exitFullscreen(e);
2681
- }
2682
- },
2683
- _html_initMedia: function(media) {
2684
- // Remove any existing track elements
2685
- var $media = $(this.htmlElement.media).empty();
2686
-
2687
- // Create any track elements given with the media, as an Array of track Objects.
2688
- $.each(media.track || [], function(i,v) {
2689
- var track = document.createElement('track');
2690
- track.setAttribute("kind", v.kind ? v.kind : "");
2691
- track.setAttribute("src", v.src ? v.src : "");
2692
- track.setAttribute("srclang", v.srclang ? v.srclang : "");
2693
- track.setAttribute("label", v.label ? v.label : "");
2694
- if(v.def) {
2695
- track.setAttribute("default", v.def);
2696
- }
2697
- $media.append(track);
2698
- });
2699
-
2700
- this.htmlElement.media.src = this.status.src;
2701
-
2702
- if(this.options.preload !== 'none') {
2703
- this._html_load(); // See function for comments
2704
- }
2705
- this._trigger($.jPlayer.event.timeupdate); // The flash generates this event for its solution.
2706
- },
2707
- _html_setFormat: function(media) {
2708
- var self = this;
2709
- // Always finds a format due to checks in setMedia()
2710
- $.each(this.formats, function(priority, format) {
2711
- if(self.html.support[format] && media[format]) {
2712
- self.status.src = media[format];
2713
- self.status.format[format] = true;
2714
- self.status.formatType = format;
2715
- return false;
2716
- }
2717
- });
2718
- },
2719
- _html_setAudio: function(media) {
2720
- this._html_setFormat(media);
2721
- this.htmlElement.media = this.htmlElement.audio;
2722
- this._html_initMedia(media);
2723
- },
2724
- _html_setVideo: function(media) {
2725
- this._html_setFormat(media);
2726
- if(this.status.nativeVideoControls) {
2727
- this.htmlElement.video.poster = this._validString(media.poster) ? media.poster : "";
2728
- }
2729
- this.htmlElement.media = this.htmlElement.video;
2730
- this._html_initMedia(media);
2731
- },
2732
- _html_resetMedia: function() {
2733
- if(this.htmlElement.media) {
2734
- if(this.htmlElement.media.id === this.internal.video.id && !this.status.nativeVideoControls) {
2735
- this.internal.video.jq.css({'width':'0px', 'height':'0px'});
2736
- }
2737
- this.htmlElement.media.pause();
2738
- }
2739
- },
2740
- _html_clearMedia: function() {
2741
- if(this.htmlElement.media) {
2742
- this.htmlElement.media.src = "about:blank";
2743
- // The following load() is only required for Firefox 3.6 (PowerMacs).
2744
- // Recent HTMl5 browsers only require the src change. Due to changes in W3C spec and load() effect.
2745
- this.htmlElement.media.load(); // Stops an old, "in progress" download from continuing the download. Triggers the loadstart, error and emptied events, due to the empty src. Also an abort event if a download was in progress.
2746
- }
2747
- },
2748
- _html_load: function() {
2749
- // This function remains to allow the early HTML5 browsers to work, such as Firefox 3.6
2750
- // A change in the W3C spec for the media.load() command means that this is no longer necessary.
2751
- // This command should be removed and actually causes minor undesirable effects on some browsers. Such as loading the whole file and not only the metadata.
2752
- if(this.status.waitForLoad) {
2753
- this.status.waitForLoad = false;
2754
- this.htmlElement.media.load();
2755
- }
2756
- clearTimeout(this.internal.htmlDlyCmdId);
2757
- },
2758
- _html_play: function(time) {
2759
- var self = this,
2760
- media = this.htmlElement.media;
2761
-
2762
- this.androidFix.pause = false; // Cancel the pause fix.
2763
-
2764
- this._html_load(); // Loads if required and clears any delayed commands.
2765
-
2766
- // Setup the Android Fix.
2767
- if(this.androidFix.setMedia) {
2768
- this.androidFix.play = true;
2769
- this.androidFix.time = time;
2770
-
2771
- } else if(!isNaN(time)) {
2772
-
2773
- // Attempt to play it, since iOS has been ignoring commands
2774
- if(this.internal.cmdsIgnored) {
2775
- media.play();
2776
- }
2777
-
2778
- try {
2779
- // !media.seekable is for old HTML5 browsers, like Firefox 3.6.
2780
- // Checking seekable.length is important for iOS6 to work with setMedia().play(time)
2781
- if(!media.seekable || typeof media.seekable === "object" && media.seekable.length > 0) {
2782
- media.currentTime = time;
2783
- media.play();
2784
- } else {
2785
- throw 1;
2786
- }
2787
- } catch(err) {
2788
- this.internal.htmlDlyCmdId = setTimeout(function() {
2789
- self.play(time);
2790
- }, 250);
2791
- return; // Cancel execution and wait for the delayed command.
2792
- }
2793
- } else {
2794
- media.play();
2795
- }
2796
- this._html_checkWaitForPlay();
2797
- },
2798
- _html_pause: function(time) {
2799
- var self = this,
2800
- media = this.htmlElement.media;
2801
-
2802
- this.androidFix.play = false; // Cancel the play fix.
2803
-
2804
- if(time > 0) { // We do not want the stop() command, which does pause(0), causing a load operation.
2805
- this._html_load(); // Loads if required and clears any delayed commands.
2806
- } else {
2807
- clearTimeout(this.internal.htmlDlyCmdId);
2808
- }
2809
-
2810
- // Order of these commands is important for Safari (Win) and IE9. Pause then change currentTime.
2811
- media.pause();
2812
-
2813
- // Setup the Android Fix.
2814
- if(this.androidFix.setMedia) {
2815
- this.androidFix.pause = true;
2816
- this.androidFix.time = time;
2817
-
2818
- } else if(!isNaN(time)) {
2819
- try {
2820
- if(!media.seekable || typeof media.seekable === "object" && media.seekable.length > 0) {
2821
- media.currentTime = time;
2822
- } else {
2823
- throw 1;
2824
- }
2825
- } catch(err) {
2826
- this.internal.htmlDlyCmdId = setTimeout(function() {
2827
- self.pause(time);
2828
- }, 250);
2829
- return; // Cancel execution and wait for the delayed command.
2830
- }
2831
- }
2832
- if(time > 0) { // Avoids a setMedia() followed by stop() or pause(0) hiding the video play button.
2833
- this._html_checkWaitForPlay();
2834
- }
2835
- },
2836
- _html_playHead: function(percent) {
2837
- var self = this,
2838
- media = this.htmlElement.media;
2839
-
2840
- this._html_load(); // Loads if required and clears any delayed commands.
2841
-
2842
- // This playHead() method needs a refactor to apply the android fix.
2843
-
2844
- try {
2845
- if(typeof media.seekable === "object" && media.seekable.length > 0) {
2846
- media.currentTime = percent * media.seekable.end(media.seekable.length-1) / 100;
2847
- } else if(media.duration > 0 && !isNaN(media.duration)) {
2848
- media.currentTime = percent * media.duration / 100;
2849
- } else {
2850
- throw "e";
2851
- }
2852
- } catch(err) {
2853
- this.internal.htmlDlyCmdId = setTimeout(function() {
2854
- self.playHead(percent);
2855
- }, 250);
2856
- return; // Cancel execution and wait for the delayed command.
2857
- }
2858
- if(!this.status.waitForLoad) {
2859
- this._html_checkWaitForPlay();
2860
- }
2861
- },
2862
- _html_checkWaitForPlay: function() {
2863
- if(this.status.waitForPlay) {
2864
- this.status.waitForPlay = false;
2865
- if(this.css.jq.videoPlay.length) {
2866
- this.css.jq.videoPlay.hide();
2867
- }
2868
- if(this.status.video) {
2869
- this.internal.poster.jq.hide();
2870
- this.internal.video.jq.css({'width': this.status.width, 'height': this.status.height});
2871
- }
2872
- }
2873
- },
2874
- _html_setProperty: function(property, value) {
2875
- if(this.html.audio.available) {
2876
- this.htmlElement.audio[property] = value;
2877
- }
2878
- if(this.html.video.available) {
2879
- this.htmlElement.video[property] = value;
2880
- }
2881
- },
2882
- _flash_setAudio: function(media) {
2883
- var self = this;
2884
- try {
2885
- // Always finds a format due to checks in setMedia()
2886
- $.each(this.formats, function(priority, format) {
2887
- if(self.flash.support[format] && media[format]) {
2888
- switch (format) {
2889
- case "m4a" :
2890
- case "fla" :
2891
- self._getMovie().fl_setAudio_m4a(media[format]);
2892
- break;
2893
- case "mp3" :
2894
- self._getMovie().fl_setAudio_mp3(media[format]);
2895
- break;
2896
- case "rtmpa":
2897
- self._getMovie().fl_setAudio_rtmp(media[format]);
2898
- break;
2899
- }
2900
- self.status.src = media[format];
2901
- self.status.format[format] = true;
2902
- self.status.formatType = format;
2903
- return false;
2904
- }
2905
- });
2906
-
2907
- if(this.options.preload === 'auto') {
2908
- this._flash_load();
2909
- this.status.waitForLoad = false;
2910
- }
2911
- } catch(err) { this._flashError(err); }
2912
- },
2913
- _flash_setVideo: function(media) {
2914
- var self = this;
2915
- try {
2916
- // Always finds a format due to checks in setMedia()
2917
- $.each(this.formats, function(priority, format) {
2918
- if(self.flash.support[format] && media[format]) {
2919
- switch (format) {
2920
- case "m4v" :
2921
- case "flv" :
2922
- self._getMovie().fl_setVideo_m4v(media[format]);
2923
- break;
2924
- case "rtmpv":
2925
- self._getMovie().fl_setVideo_rtmp(media[format]);
2926
- break;
2927
- }
2928
- self.status.src = media[format];
2929
- self.status.format[format] = true;
2930
- self.status.formatType = format;
2931
- return false;
2932
- }
2933
- });
2934
-
2935
- if(this.options.preload === 'auto') {
2936
- this._flash_load();
2937
- this.status.waitForLoad = false;
2938
- }
2939
- } catch(err) { this._flashError(err); }
2940
- },
2941
- _flash_resetMedia: function() {
2942
- this.internal.flash.jq.css({'width':'0px', 'height':'0px'}); // Must do via CSS as setting attr() to zero causes a jQuery error in IE.
2943
- this._flash_pause(NaN);
2944
- },
2945
- _flash_clearMedia: function() {
2946
- try {
2947
- this._getMovie().fl_clearMedia();
2948
- } catch(err) { this._flashError(err); }
2949
- },
2950
- _flash_load: function() {
2951
- try {
2952
- this._getMovie().fl_load();
2953
- } catch(err) { this._flashError(err); }
2954
- this.status.waitForLoad = false;
2955
- },
2956
- _flash_play: function(time) {
2957
- try {
2958
- this._getMovie().fl_play(time);
2959
- } catch(err) { this._flashError(err); }
2960
- this.status.waitForLoad = false;
2961
- this._flash_checkWaitForPlay();
2962
- },
2963
- _flash_pause: function(time) {
2964
- try {
2965
- this._getMovie().fl_pause(time);
2966
- } catch(err) { this._flashError(err); }
2967
- if(time > 0) { // Avoids a setMedia() followed by stop() or pause(0) hiding the video play button.
2968
- this.status.waitForLoad = false;
2969
- this._flash_checkWaitForPlay();
2970
- }
2971
- },
2972
- _flash_playHead: function(p) {
2973
- try {
2974
- this._getMovie().fl_play_head(p);
2975
- } catch(err) { this._flashError(err); }
2976
- if(!this.status.waitForLoad) {
2977
- this._flash_checkWaitForPlay();
2978
- }
2979
- },
2980
- _flash_checkWaitForPlay: function() {
2981
- if(this.status.waitForPlay) {
2982
- this.status.waitForPlay = false;
2983
- if(this.css.jq.videoPlay.length) {
2984
- this.css.jq.videoPlay.hide();
2985
- }
2986
- if(this.status.video) {
2987
- this.internal.poster.jq.hide();
2988
- this.internal.flash.jq.css({'width': this.status.width, 'height': this.status.height});
2989
- }
2990
- }
2991
- },
2992
- _flash_volume: function(v) {
2993
- try {
2994
- this._getMovie().fl_volume(v);
2995
- } catch(err) { this._flashError(err); }
2996
- },
2997
- _flash_mute: function(m) {
2998
- try {
2999
- this._getMovie().fl_mute(m);
3000
- } catch(err) { this._flashError(err); }
3001
- },
3002
- _getMovie: function() {
3003
- return document[this.internal.flash.id];
3004
- },
3005
- _getFlashPluginVersion: function() {
3006
-
3007
- // _getFlashPluginVersion() code influenced by:
3008
- // - FlashReplace 1.01: http://code.google.com/p/flashreplace/
3009
- // - SWFObject 2.2: http://code.google.com/p/swfobject/
3010
-
3011
- var version = 0,
3012
- flash;
3013
- if(window.ActiveXObject) {
3014
- try {
3015
- flash = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
3016
- if (flash) { // flash will return null when ActiveX is disabled
3017
- var v = flash.GetVariable("$version");
3018
- if(v) {
3019
- v = v.split(" ")[1].split(",");
3020
- version = parseInt(v[0], 10) + "." + parseInt(v[1], 10);
3021
- }
3022
- }
3023
- } catch(e) {}
3024
- }
3025
- else if(navigator.plugins && navigator.mimeTypes.length > 0) {
3026
- flash = navigator.plugins["Shockwave Flash"];
3027
- if(flash) {
3028
- version = navigator.plugins["Shockwave Flash"].description.replace(/.*\s(\d+\.\d+).*/, "$1");
3029
- }
3030
- }
3031
- return version * 1; // Converts to a number
3032
- },
3033
- _checkForFlash: function (version) {
3034
- var flashOk = false;
3035
- if(this._getFlashPluginVersion() >= version) {
3036
- flashOk = true;
3037
- }
3038
- return flashOk;
3039
- },
3040
- _validString: function(url) {
3041
- return (url && typeof url === "string"); // Empty strings return false
3042
- },
3043
- _limitValue: function(value, min, max) {
3044
- return (value < min) ? min : ((value > max) ? max : value);
3045
- },
3046
- _urlNotSetError: function(context) {
3047
- this._error( {
3048
- type: $.jPlayer.error.URL_NOT_SET,
3049
- context: context,
3050
- message: $.jPlayer.errorMsg.URL_NOT_SET,
3051
- hint: $.jPlayer.errorHint.URL_NOT_SET
3052
- });
3053
- },
3054
- _flashError: function(error) {
3055
- var errorType;
3056
- if(!this.internal.ready) {
3057
- errorType = "FLASH";
3058
- } else {
3059
- errorType = "FLASH_DISABLED";
3060
- }
3061
- this._error( {
3062
- type: $.jPlayer.error[errorType],
3063
- context: this.internal.flash.swf,
3064
- message: $.jPlayer.errorMsg[errorType] + error.message,
3065
- hint: $.jPlayer.errorHint[errorType]
3066
- });
3067
- // Allow the audio player to recover if display:none and then shown again, or with position:fixed on Firefox.
3068
- // This really only affects audio in a media player, as an audio player could easily move the jPlayer element away from such issues.
3069
- this.internal.flash.jq.css({'width':'1px', 'height':'1px'});
3070
- },
3071
- _error: function(error) {
3072
- this._trigger($.jPlayer.event.error, error);
3073
- if(this.options.errorAlerts) {
3074
- this._alert("Error!" + (error.message ? "\n" + error.message : "") + (error.hint ? "\n" + error.hint : "") + "\nContext: " + error.context);
3075
- }
3076
- },
3077
- _warning: function(warning) {
3078
- this._trigger($.jPlayer.event.warning, undefined, warning);
3079
- if(this.options.warningAlerts) {
3080
- this._alert("Warning!" + (warning.message ? "\n" + warning.message : "") + (warning.hint ? "\n" + warning.hint : "") + "\nContext: " + warning.context);
3081
- }
3082
- },
3083
- _alert: function(message) {
3084
- var msg = "jPlayer " + this.version.script + " : id='" + this.internal.self.id +"' : " + message;
3085
- if(!this.options.consoleAlerts) {
3086
- alert(msg);
3087
- } else if(window.console && window.console.log) {
3088
- window.console.log(msg);
3089
- }
3090
- },
3091
- _emulateHtmlBridge: function() {
3092
- var self = this;
3093
-
3094
- // Emulate methods on jPlayer's DOM element.
3095
- $.each( $.jPlayer.emulateMethods.split(/\s+/g), function(i, name) {
3096
- self.internal.domNode[name] = function(arg) {
3097
- self[name](arg);
3098
- };
3099
-
3100
- });
3101
-
3102
- // Bubble jPlayer events to its DOM element.
3103
- $.each($.jPlayer.event, function(eventName,eventType) {
3104
- var nativeEvent = true;
3105
- $.each( $.jPlayer.reservedEvent.split(/\s+/g), function(i, name) {
3106
- if(name === eventName) {
3107
- nativeEvent = false;
3108
- return false;
3109
- }
3110
- });
3111
- if(nativeEvent) {
3112
- self.element.bind(eventType + ".jPlayer.jPlayerHtml", function() { // With .jPlayer & .jPlayerHtml namespaces.
3113
- self._emulateHtmlUpdate();
3114
- var domEvent = document.createEvent("Event");
3115
- domEvent.initEvent(eventName, false, true);
3116
- self.internal.domNode.dispatchEvent(domEvent);
3117
- });
3118
- }
3119
- // The error event would require a special case
3120
- });
3121
-
3122
- // IE9 has a readyState property on all elements. The document should have it, but all (except media) elements inherit it in IE9. This conflicts with Popcorn, which polls the readyState.
3123
- },
3124
- _emulateHtmlUpdate: function() {
3125
- var self = this;
3126
-
3127
- $.each( $.jPlayer.emulateStatus.split(/\s+/g), function(i, name) {
3128
- self.internal.domNode[name] = self.status[name];
3129
- });
3130
- $.each( $.jPlayer.emulateOptions.split(/\s+/g), function(i, name) {
3131
- self.internal.domNode[name] = self.options[name];
3132
- });
3133
- },
3134
- _destroyHtmlBridge: function() {
3135
- var self = this;
3136
-
3137
- // Bridge event handlers are also removed by destroy() through .jPlayer namespace.
3138
- this.element.unbind(".jPlayerHtml"); // Remove all event handlers created by the jPlayer bridge. So you can change the emulateHtml option.
3139
-
3140
- // Remove the methods and properties
3141
- var emulated = $.jPlayer.emulateMethods + " " + $.jPlayer.emulateStatus + " " + $.jPlayer.emulateOptions;
3142
- $.each( emulated.split(/\s+/g), function(i, name) {
3143
- delete self.internal.domNode[name];
3144
- });
3145
- }
3146
- };
3147
-
3148
- $.jPlayer.error = {
3149
- FLASH: "e_flash",
3150
- FLASH_DISABLED: "e_flash_disabled",
3151
- NO_SOLUTION: "e_no_solution",
3152
- NO_SUPPORT: "e_no_support",
3153
- URL: "e_url",
3154
- URL_NOT_SET: "e_url_not_set",
3155
- VERSION: "e_version"
3156
- };
3157
-
3158
- $.jPlayer.errorMsg = {
3159
- FLASH: "jPlayer's Flash fallback is not configured correctly, or a command was issued before the jPlayer Ready event. Details: ", // Used in: _flashError()
3160
- FLASH_DISABLED: "jPlayer's Flash fallback has been disabled by the browser due to the CSS rules you have used. Details: ", // Used in: _flashError()
3161
- NO_SOLUTION: "No solution can be found by jPlayer in this browser. Neither HTML nor Flash can be used.", // Used in: _init()
3162
- NO_SUPPORT: "It is not possible to play any media format provided in setMedia() on this browser using your current options.", // Used in: setMedia()
3163
- URL: "Media URL could not be loaded.", // Used in: jPlayerFlashEvent() and _addHtmlEventListeners()
3164
- URL_NOT_SET: "Attempt to issue media playback commands, while no media url is set.", // Used in: load(), play(), pause(), stop() and playHead()
3165
- VERSION: "jPlayer " + $.jPlayer.prototype.version.script + " needs Jplayer.swf version " + $.jPlayer.prototype.version.needFlash + " but found " // Used in: jPlayerReady()
3166
- };
3167
-
3168
- $.jPlayer.errorHint = {
3169
- FLASH: "Check your swfPath option and that Jplayer.swf is there.",
3170
- FLASH_DISABLED: "Check that you have not display:none; the jPlayer entity or any ancestor.",
3171
- NO_SOLUTION: "Review the jPlayer options: support and supplied.",
3172
- NO_SUPPORT: "Video or audio formats defined in the supplied option are missing.",
3173
- URL: "Check media URL is valid.",
3174
- URL_NOT_SET: "Use setMedia() to set the media URL.",
3175
- VERSION: "Update jPlayer files."
3176
- };
3177
-
3178
- $.jPlayer.warning = {
3179
- CSS_SELECTOR_COUNT: "e_css_selector_count",
3180
- CSS_SELECTOR_METHOD: "e_css_selector_method",
3181
- CSS_SELECTOR_STRING: "e_css_selector_string",
3182
- OPTION_KEY: "e_option_key"
3183
- };
3184
-
3185
- $.jPlayer.warningMsg = {
3186
- CSS_SELECTOR_COUNT: "The number of css selectors found did not equal one: ",
3187
- CSS_SELECTOR_METHOD: "The methodName given in jPlayer('cssSelector') is not a valid jPlayer method.",
3188
- CSS_SELECTOR_STRING: "The methodCssSelector given in jPlayer('cssSelector') is not a String or is empty.",
3189
- OPTION_KEY: "The option requested in jPlayer('option') is undefined."
3190
- };
3191
-
3192
- $.jPlayer.warningHint = {
3193
- CSS_SELECTOR_COUNT: "Check your css selector and the ancestor.",
3194
- CSS_SELECTOR_METHOD: "Check your method name.",
3195
- CSS_SELECTOR_STRING: "Check your css selector is a string.",
3196
- OPTION_KEY: "Check your option name."
3197
- };
3198
- }));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/jquery.jplayer.min.2.7.1.js DELETED
@@ -1,2 +0,0 @@
1
- !function(t,e){"function"==typeof define&&define.amd?define(["jquery"],e):e(t.jQuery?t.jQuery:t.Zepto)}(this,function(t,e){t.fn.jPlayer=function(s){var i="jPlayer",a="string"==typeof s,n=Array.prototype.slice.call(arguments,1),o=this;return s=!a&&n.length?t.extend.apply(null,[!0,s].concat(n)):s,a&&"_"===s.charAt(0)?o:(this.each(a?function(){var a=t(this).data(i),r=a&&t.isFunction(a[s])?a[s].apply(a,n):a;return r!==a&&r!==e?(o=r,!1):void 0}:function(){var e=t(this).data(i);e?e.option(s||{}):t(this).data(i,new t.jPlayer(s,this))}),o)},t.jPlayer=function(e,s){if(arguments.length){this.element=t(s),this.options=t.extend(!0,{},this.options,e);var i=this;this.element.bind("remove.jPlayer",function(){i.destroy()}),this._init()}},"function"!=typeof t.fn.stop&&(t.fn.stop=function(){}),t.jPlayer.emulateMethods="load play pause",t.jPlayer.emulateStatus="src readyState networkState currentTime duration paused ended playbackRate",t.jPlayer.emulateOptions="muted volume",t.jPlayer.reservedEvent="ready flashreset resize repeat error warning",t.jPlayer.event={},t.each(["ready","setmedia","flashreset","resize","repeat","click","error","warning","loadstart","progress","suspend","abort","emptied","stalled","play","pause","loadedmetadata","loadeddata","waiting","playing","canplay","canplaythrough","seeking","seeked","timeupdate","ended","ratechange","durationchange","volumechange"],function(){t.jPlayer.event[this]="jPlayer_"+this}),t.jPlayer.htmlEvent=["loadstart","abort","emptied","stalled","loadedmetadata","canplay","canplaythrough"],t.jPlayer.pause=function(){t.each(t.jPlayer.prototype.instances,function(t,e){e.data("jPlayer").status.srcSet&&e.jPlayer("pause")})},t.jPlayer.timeFormat={showHour:!1,showMin:!0,showSec:!0,padHour:!1,padMin:!0,padSec:!0,sepHour:":",sepMin:":",sepSec:""};var s=function(){this.init()};s.prototype={init:function(){this.options={timeFormat:t.jPlayer.timeFormat}},time:function(t){t=t&&"number"==typeof t?t:0;var e=new Date(1e3*t),s=e.getUTCHours(),i=this.options.timeFormat.showHour?e.getUTCMinutes():e.getUTCMinutes()+60*s,a=this.options.timeFormat.showMin?e.getUTCSeconds():e.getUTCSeconds()+60*i,n=this.options.timeFormat.padHour&&10>s?"0"+s:s,o=this.options.timeFormat.padMin&&10>i?"0"+i:i,r=this.options.timeFormat.padSec&&10>a?"0"+a:a,l="";return l+=this.options.timeFormat.showHour?n+this.options.timeFormat.sepHour:"",l+=this.options.timeFormat.showMin?o+this.options.timeFormat.sepMin:"",l+=this.options.timeFormat.showSec?r+this.options.timeFormat.sepSec:""}};var i=new s;t.jPlayer.convertTime=function(t){return i.time(t)},t.jPlayer.uaBrowser=function(t){var e=t.toLowerCase(),s=/(webkit)[ \/]([\w.]+)/,i=/(opera)(?:.*version)?[ \/]([\w.]+)/,a=/(msie) ([\w.]+)/,n=/(mozilla)(?:.*? rv:([\w.]+))?/,o=s.exec(e)||i.exec(e)||a.exec(e)||e.indexOf("compatible")<0&&n.exec(e)||[];return{browser:o[1]||"",version:o[2]||"0"}},t.jPlayer.uaPlatform=function(t){var e=t.toLowerCase(),s=/(ipad|iphone|ipod|android|blackberry|playbook|windows ce|webos)/,i=/(ipad|playbook)/,a=/(android)/,n=/(mobile)/,o=s.exec(e)||[],r=i.exec(e)||!n.exec(e)&&a.exec(e)||[];return o[1]&&(o[1]=o[1].replace(/\s/g,"_")),{platform:o[1]||"",tablet:r[1]||""}},t.jPlayer.browser={},t.jPlayer.platform={};var a=t.jPlayer.uaBrowser(navigator.userAgent);a.browser&&(t.jPlayer.browser[a.browser]=!0,t.jPlayer.browser.version=a.version);var n=t.jPlayer.uaPlatform(navigator.userAgent);n.platform&&(t.jPlayer.platform[n.platform]=!0,t.jPlayer.platform.mobile=!n.tablet,t.jPlayer.platform.tablet=!!n.tablet),t.jPlayer.getDocMode=function(){var e;return t.jPlayer.browser.msie&&(document.documentMode?e=document.documentMode:(e=5,document.compatMode&&"CSS1Compat"===document.compatMode&&(e=7))),e},t.jPlayer.browser.documentMode=t.jPlayer.getDocMode(),t.jPlayer.nativeFeatures={init:function(){var t,e,s,i=document,a=i.createElement("video"),n={w3c:["fullscreenEnabled","fullscreenElement","requestFullscreen","exitFullscreen","fullscreenchange","fullscreenerror"],moz:["mozFullScreenEnabled","mozFullScreenElement","mozRequestFullScreen","mozCancelFullScreen","mozfullscreenchange","mozfullscreenerror"],webkit:["","webkitCurrentFullScreenElement","webkitRequestFullScreen","webkitCancelFullScreen","webkitfullscreenchange",""],webkitVideo:["webkitSupportsFullscreen","webkitDisplayingFullscreen","webkitEnterFullscreen","webkitExitFullscreen","",""]},o=["w3c","moz","webkit","webkitVideo"];for(this.fullscreen=t={support:{w3c:!!i[n.w3c[0]],moz:!!i[n.moz[0]],webkit:"function"==typeof i[n.webkit[3]],webkitVideo:"function"==typeof a[n.webkitVideo[2]]},used:{}},e=0,s=o.length;s>e;e++){var r=o[e];if(t.support[r]){t.spec=r,t.used[r]=!0;break}}if(t.spec){var l=n[t.spec];t.api={fullscreenEnabled:!0,fullscreenElement:function(t){return t=t?t:i,t[l[1]]},requestFullscreen:function(t){return t[l[2]]()},exitFullscreen:function(t){return t=t?t:i,t[l[3]]()}},t.event={fullscreenchange:l[4],fullscreenerror:l[5]}}else t.api={fullscreenEnabled:!1,fullscreenElement:function(){return null},requestFullscreen:function(){},exitFullscreen:function(){}},t.event={}}},t.jPlayer.nativeFeatures.init(),t.jPlayer.focus=null,t.jPlayer.keyIgnoreElementNames="A INPUT TEXTAREA SELECT BUTTON";var o=function(e){var s,i=t.jPlayer.focus,a=document.activeElement;i&&("undefined"!=typeof a?null!==a&&"BODY"!==a.nodeName.toUpperCase()&&(s=!0):t.each(t.jPlayer.keyIgnoreElementNames.split(/\s+/g),function(t,i){return e.target.nodeName.toUpperCase()===i.toUpperCase()?(s=!0,!1):void 0}),s||t.each(i.options.keyBindings,function(s,a){return a&&e.which===a.key&&t.isFunction(a.fn)?(e.preventDefault(),a.fn(i),!1):void 0}))};t.jPlayer.keys=function(e){var s="keydown.jPlayer";t(document.documentElement).unbind(s),e&&t(document.documentElement).bind(s,o)},t.jPlayer.keys(!0),t.jPlayer.prototype={count:0,version:{script:"2.7.1",needFlash:"2.7.0",flash:"unknown"},options:{swfPath:"js",solution:"html, flash",supplied:"mp3",preload:"metadata",volume:.8,muted:!1,remainingDuration:!1,toggleDuration:!1,captureDuration:!0,playbackRate:1,defaultPlaybackRate:1,minPlaybackRate:.5,maxPlaybackRate:4,wmode:"opaque",backgroundColor:"#000000",cssSelectorAncestor:"#jp_container_1",cssSelector:{videoPlay:".jp-video-play",play:".jp-play",pause:".jp-pause",stop:".jp-stop",seekBar:".jp-seek-bar",playBar:".jp-play-bar",mute:".jp-mute",unmute:".jp-unmute",volumeBar:".jp-volume-bar",volumeBarValue:".jp-volume-bar-value",volumeMax:".jp-volume-max",playbackRateBar:".jp-playback-rate-bar",playbackRateBarValue:".jp-playback-rate-bar-value",currentTime:".jp-current-time",duration:".jp-duration",title:".jp-title",fullScreen:".jp-full-screen",restoreScreen:".jp-restore-screen",repeat:".jp-repeat",repeatOff:".jp-repeat-off",gui:".jp-gui",noSolution:".jp-no-solution"},stateClass:{playing:"jp-state-playing",seeking:"jp-state-seeking",muted:"jp-state-muted",looped:"jp-state-looped",fullScreen:"jp-state-full-screen"},useStateClassSkin:!1,autoBlur:!0,smoothPlayBar:!1,fullScreen:!1,fullWindow:!1,autohide:{restored:!1,full:!0,fadeIn:200,fadeOut:600,hold:1e3},loop:!1,repeat:function(e){e.jPlayer.options.loop?t(this).unbind(".jPlayerRepeat").bind(t.jPlayer.event.ended+".jPlayer.jPlayerRepeat",function(){t(this).jPlayer("play")}):t(this).unbind(".jPlayerRepeat")},nativeVideoControls:{},noFullWindow:{msie:/msie [0-6]\./,ipad:/ipad.*?os [0-4]\./,iphone:/iphone/,ipod:/ipod/,android_pad:/android [0-3]\.(?!.*?mobile)/,android_phone:/android.*?mobile/,blackberry:/blackberry/,windows_ce:/windows ce/,iemobile:/iemobile/,webos:/webos/},noVolume:{ipad:/ipad/,iphone:/iphone/,ipod:/ipod/,android_pad:/android(?!.*?mobile)/,android_phone:/android.*?mobile/,blackberry:/blackberry/,windows_ce:/windows ce/,iemobile:/iemobile/,webos:/webos/,playbook:/playbook/},timeFormat:{},keyEnabled:!1,audioFullScreen:!1,keyBindings:{play:{key:32,fn:function(t){t.status.paused?t.play():t.pause()}},fullScreen:{key:13,fn:function(t){(t.status.video||t.options.audioFullScreen)&&t._setOption("fullScreen",!t.options.fullScreen)}},muted:{key:8,fn:function(t){t._muted(!t.options.muted)}},volumeUp:{key:38,fn:function(t){t.volume(t.options.volume+.1)}},volumeDown:{key:40,fn:function(t){t.volume(t.options.volume-.1)}}},verticalVolume:!1,verticalPlaybackRate:!1,globalVolume:!1,idPrefix:"jp",noConflict:"jQuery",emulateHtml:!1,consoleAlerts:!0,errorAlerts:!1,warningAlerts:!1},optionsAudio:{size:{width:"0px",height:"0px",cssClass:""},sizeFull:{width:"0px",height:"0px",cssClass:""}},optionsVideo:{size:{width:"480px",height:"270px",cssClass:"jp-video-270p"},sizeFull:{width:"100%",height:"100%",cssClass:"jp-video-full"}},instances:{},status:{src:"",media:{},paused:!0,format:{},formatType:"",waitForPlay:!0,waitForLoad:!0,srcSet:!1,video:!1,seekPercent:0,currentPercentRelative:0,currentPercentAbsolute:0,currentTime:0,duration:0,remaining:0,videoWidth:0,videoHeight:0,readyState:0,networkState:0,playbackRate:1,ended:0},internal:{ready:!1},solution:{html:!0,flash:!0},format:{mp3:{codec:"audio/mpeg",flashCanPlay:!0,media:"audio"},m4a:{codec:'audio/mp4; codecs="mp4a.40.2"',flashCanPlay:!0,media:"audio"},m3u8a:{codec:'application/vnd.apple.mpegurl; codecs="mp4a.40.2"',flashCanPlay:!1,media:"audio"},m3ua:{codec:"audio/mpegurl",flashCanPlay:!1,media:"audio"},oga:{codec:'audio/ogg; codecs="vorbis, opus"',flashCanPlay:!1,media:"audio"},flac:{codec:"audio/x-flac",flashCanPlay:!1,media:"audio"},wav:{codec:'audio/wav; codecs="1"',flashCanPlay:!1,media:"audio"},webma:{codec:'audio/webm; codecs="vorbis"',flashCanPlay:!1,media:"audio"},fla:{codec:"audio/x-flv",flashCanPlay:!0,media:"audio"},rtmpa:{codec:'audio/rtmp; codecs="rtmp"',flashCanPlay:!0,media:"audio"},m4v:{codec:'video/mp4; codecs="avc1.42E01E, mp4a.40.2"',flashCanPlay:!0,media:"video"},m3u8v:{codec:'application/vnd.apple.mpegurl; codecs="avc1.42E01E, mp4a.40.2"',flashCanPlay:!1,media:"video"},m3uv:{codec:"audio/mpegurl",flashCanPlay:!1,media:"video"},ogv:{codec:'video/ogg; codecs="theora, vorbis"',flashCanPlay:!1,media:"video"},webmv:{codec:'video/webm; codecs="vorbis, vp8"',flashCanPlay:!1,media:"video"},flv:{codec:"video/x-flv",flashCanPlay:!0,media:"video"},rtmpv:{codec:'video/rtmp; codecs="rtmp"',flashCanPlay:!0,media:"video"}},_init:function(){var s=this;if(this.element.empty(),this.status=t.extend({},this.status),this.internal=t.extend({},this.internal),this.options.timeFormat=t.extend({},t.jPlayer.timeFormat,this.options.timeFormat),this.internal.cmdsIgnored=t.jPlayer.platform.ipad||t.jPlayer.platform.iphone||t.jPlayer.platform.ipod,this.internal.domNode=this.element.get(0),this.options.keyEnabled&&!t.jPlayer.focus&&(t.jPlayer.focus=this),this.androidFix={setMedia:!1,play:!1,pause:!1,time:0/0},t.jPlayer.platform.android&&(this.options.preload="auto"!==this.options.preload?"metadata":"auto"),this.formats=[],this.solutions=[],this.require={},this.htmlElement={},this.html={},this.html.audio={},this.html.video={},this.flash={},this.css={},this.css.cs={},this.css.jq={},this.ancestorJq=[],this.options.volume=this._limitValue(this.options.volume,0,1),t.each(this.options.supplied.toLowerCase().split(","),function(e,i){var a=i.replace(/^\s+|\s+$/g,"");if(s.format[a]){var n=!1;t.each(s.formats,function(t,e){return a===e?(n=!0,!1):void 0}),n||s.formats.push(a)}}),t.each(this.options.solution.toLowerCase().split(","),function(e,i){var a=i.replace(/^\s+|\s+$/g,"");if(s.solution[a]){var n=!1;t.each(s.solutions,function(t,e){return a===e?(n=!0,!1):void 0}),n||s.solutions.push(a)}}),this.internal.instance="jp_"+this.count,this.instances[this.internal.instance]=this.element,this.element.attr("id")||this.element.attr("id",this.options.idPrefix+"_jplayer_"+this.count),this.internal.self=t.extend({},{id:this.element.attr("id"),jq:this.element}),this.internal.audio=t.extend({},{id:this.options.idPrefix+"_audio_"+this.count,jq:e}),this.internal.video=t.extend({},{id:this.options.idPrefix+"_video_"+this.count,jq:e}),this.internal.flash=t.extend({},{id:this.options.idPrefix+"_flash_"+this.count,jq:e,swf:this.options.swfPath+(".swf"!==this.options.swfPath.toLowerCase().slice(-4)?(this.options.swfPath&&"/"!==this.options.swfPath.slice(-1)?"/":"")+"Jplayer.swf":"")}),this.internal.poster=t.extend({},{id:this.options.idPrefix+"_poster_"+this.count,jq:e}),t.each(t.jPlayer.event,function(t,i){s.options[t]!==e&&(s.element.bind(i+".jPlayer",s.options[t]),s.options[t]=e)}),this.require.audio=!1,this.require.video=!1,t.each(this.formats,function(t,e){s.require[s.format[e].media]=!0}),this.options=this.require.video?t.extend(!0,{},this.optionsVideo,this.options):t.extend(!0,{},this.optionsAudio,this.options),this._setSize(),this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls),this.status.noFullWindow=this._uaBlocklist(this.options.noFullWindow),this.status.noVolume=this._uaBlocklist(this.options.noVolume),t.jPlayer.nativeFeatures.fullscreen.api.fullscreenEnabled&&this._fullscreenAddEventListeners(),this._restrictNativeVideoControls(),this.htmlElement.poster=document.createElement("img"),this.htmlElement.poster.id=this.internal.poster.id,this.htmlElement.poster.onload=function(){(!s.status.video||s.status.waitForPlay)&&s.internal.poster.jq.show()},this.element.append(this.htmlElement.poster),this.internal.poster.jq=t("#"+this.internal.poster.id),this.internal.poster.jq.css({width:this.status.width,height:this.status.height}),this.internal.poster.jq.hide(),this.internal.poster.jq.bind("click.jPlayer",function(){s._trigger(t.jPlayer.event.click)}),this.html.audio.available=!1,this.require.audio&&(this.htmlElement.audio=document.createElement("audio"),this.htmlElement.audio.id=this.internal.audio.id,this.html.audio.available=!!this.htmlElement.audio.canPlayType&&this._testCanPlayType(this.htmlElement.audio)),this.html.video.available=!1,this.require.video&&(this.htmlElement.video=document.createElement("video"),this.htmlElement.video.id=this.internal.video.id,this.html.video.available=!!this.htmlElement.video.canPlayType&&this._testCanPlayType(this.htmlElement.video)),this.flash.available=this._checkForFlash(10.1),this.html.canPlay={},this.flash.canPlay={},t.each(this.formats,function(t,e){s.html.canPlay[e]=s.html[s.format[e].media].available&&""!==s.htmlElement[s.format[e].media].canPlayType(s.format[e].codec),s.flash.canPlay[e]=s.format[e].flashCanPlay&&s.flash.available}),this.html.desired=!1,this.flash.desired=!1,t.each(this.solutions,function(e,i){if(0===e)s[i].desired=!0;else{var a=!1,n=!1;t.each(s.formats,function(t,e){s[s.solutions[0]].canPlay[e]&&("video"===s.format[e].media?n=!0:a=!0)}),s[i].desired=s.require.audio&&!a||s.require.video&&!n}}),this.html.support={},this.flash.support={},t.each(this.formats,function(t,e){s.html.support[e]=s.html.canPlay[e]&&s.html.desired,s.flash.support[e]=s.flash.canPlay[e]&&s.flash.desired}),this.html.used=!1,this.flash.used=!1,t.each(this.solutions,function(e,i){t.each(s.formats,function(t,e){return s[i].support[e]?(s[i].used=!0,!1):void 0})}),this._resetActive(),this._resetGate(),this._cssSelectorAncestor(this.options.cssSelectorAncestor),this.html.used||this.flash.used?this.css.jq.noSolution.length&&this.css.jq.noSolution.hide():(this._error({type:t.jPlayer.error.NO_SOLUTION,context:"{solution:'"+this.options.solution+"', supplied:'"+this.options.supplied+"'}",message:t.jPlayer.errorMsg.NO_SOLUTION,hint:t.jPlayer.errorHint.NO_SOLUTION}),this.css.jq.noSolution.length&&this.css.jq.noSolution.show()),this.flash.used){var i,a="jQuery="+encodeURI(this.options.noConflict)+"&id="+encodeURI(this.internal.self.id)+"&vol="+this.options.volume+"&muted="+this.options.muted;if(t.jPlayer.browser.msie&&(Number(t.jPlayer.browser.version)<9||t.jPlayer.browser.documentMode<9)){var n='<object id="'+this.internal.flash.id+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="0" height="0" tabindex="-1"></object>',o=['<param name="movie" value="'+this.internal.flash.swf+'" />','<param name="FlashVars" value="'+a+'" />','<param name="allowScriptAccess" value="always" />','<param name="bgcolor" value="'+this.options.backgroundColor+'" />','<param name="wmode" value="'+this.options.wmode+'" />'];i=document.createElement(n);for(var r=0;r<o.length;r++)i.appendChild(document.createElement(o[r]))}else{var l=function(t,e,s){var i=document.createElement("param");i.setAttribute("name",e),i.setAttribute("value",s),t.appendChild(i)};i=document.createElement("object"),i.setAttribute("id",this.internal.flash.id),i.setAttribute("name",this.internal.flash.id),i.setAttribute("data",this.internal.flash.swf),i.setAttribute("type","application/x-shockwave-flash"),i.setAttribute("width","1"),i.setAttribute("height","1"),i.setAttribute("tabindex","-1"),l(i,"flashvars",a),l(i,"allowscriptaccess","always"),l(i,"bgcolor",this.options.backgroundColor),l(i,"wmode",this.options.wmode)}this.element.append(i),this.internal.flash.jq=t(i)}this.status.playbackRateEnabled=this.html.used&&!this.flash.used?this._testPlaybackRate("audio"):!1,this._updatePlaybackRate(),this.html.used&&(this.html.audio.available&&(this._addHtmlEventListeners(this.htmlElement.audio,this.html.audio),this.element.append(this.htmlElement.audio),this.internal.audio.jq=t("#"+this.internal.audio.id)),this.html.video.available&&(this._addHtmlEventListeners(this.htmlElement.video,this.html.video),this.element.append(this.htmlElement.video),this.internal.video.jq=t("#"+this.internal.video.id),this.internal.video.jq.css(this.status.nativeVideoControls?{width:this.status.width,height:this.status.height}:{width:"0px",height:"0px"}),this.internal.video.jq.bind("click.jPlayer",function(){s._trigger(t.jPlayer.event.click)}))),this.options.emulateHtml&&this._emulateHtmlBridge(),this.html.used&&!this.flash.used&&setTimeout(function(){s.internal.ready=!0,s.version.flash="n/a",s._trigger(t.jPlayer.event.repeat),s._trigger(t.jPlayer.event.ready)},100),this._updateNativeVideoControls(),this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),t.jPlayer.prototype.count++},destroy:function(){this.clearMedia(),this._removeUiClass(),this.css.jq.currentTime.length&&this.css.jq.currentTime.text(""),this.css.jq.duration.length&&this.css.jq.duration.text(""),t.each(this.css.jq,function(t,e){e.length&&e.unbind(".jPlayer")}),this.internal.poster.jq.unbind(".jPlayer"),this.internal.video.jq&&this.internal.video.jq.unbind(".jPlayer"),this._fullscreenRemoveEventListeners(),this===t.jPlayer.focus&&(t.jPlayer.focus=null),this.options.emulateHtml&&this._destroyHtmlBridge(),this.element.removeData("jPlayer"),this.element.unbind(".jPlayer"),this.element.empty(),delete this.instances[this.internal.instance]},enable:function(){},disable:function(){},_testCanPlayType:function(t){try{return t.canPlayType(this.format.mp3.codec),!0}catch(e){return!1}},_testPlaybackRate:function(t){var e,s=.5;t="string"==typeof t?t:"audio",e=document.createElement(t);try{return"playbackRate"in e?(e.playbackRate=s,e.playbackRate===s):!1}catch(i){return!1}},_uaBlocklist:function(e){var s=navigator.userAgent.toLowerCase(),i=!1;return t.each(e,function(t,e){return e&&e.test(s)?(i=!0,!1):void 0}),i},_restrictNativeVideoControls:function(){this.require.audio&&this.status.nativeVideoControls&&(this.status.nativeVideoControls=!1,this.status.noFullWindow=!0)},_updateNativeVideoControls:function(){this.html.video.available&&this.html.used&&(this.htmlElement.video.controls=this.status.nativeVideoControls,this._updateAutohide(),this.status.nativeVideoControls&&this.require.video?(this.internal.poster.jq.hide(),this.internal.video.jq.css({width:this.status.width,height:this.status.height})):this.status.waitForPlay&&this.status.video&&(this.internal.poster.jq.show(),this.internal.video.jq.css({width:"0px",height:"0px"})))},_addHtmlEventListeners:function(e,s){var i=this;e.preload=this.options.preload,e.muted=this.options.muted,e.volume=this.options.volume,this.status.playbackRateEnabled&&(e.defaultPlaybackRate=this.options.defaultPlaybackRate,e.playbackRate=this.options.playbackRate),e.addEventListener("progress",function(){s.gate&&(i.internal.cmdsIgnored&&this.readyState>0&&(i.internal.cmdsIgnored=!1),i._getHtmlStatus(e),i._updateInterface(),i._trigger(t.jPlayer.event.progress))},!1),e.addEventListener("loadeddata",function(){s.gate&&(i.androidFix.setMedia=!1,i.androidFix.play&&(i.androidFix.play=!1,i.play(i.androidFix.time)),i.androidFix.pause&&(i.androidFix.pause=!1,i.pause(i.androidFix.time)),i._trigger(t.jPlayer.event.loadeddata))},!1),e.addEventListener("timeupdate",function(){s.gate&&(i._getHtmlStatus(e),i._updateInterface(),i._trigger(t.jPlayer.event.timeupdate))},!1),e.addEventListener("durationchange",function(){s.gate&&(i._getHtmlStatus(e),i._updateInterface(),i._trigger(t.jPlayer.event.durationchange))},!1),e.addEventListener("play",function(){s.gate&&(i._updateButtons(!0),i._html_checkWaitForPlay(),i._trigger(t.jPlayer.event.play))},!1),e.addEventListener("playing",function(){s.gate&&(i._updateButtons(!0),i._seeked(),i._trigger(t.jPlayer.event.playing))},!1),e.addEventListener("pause",function(){s.gate&&(i._updateButtons(!1),i._trigger(t.jPlayer.event.pause))},!1),e.addEventListener("waiting",function(){s.gate&&(i._seeking(),i._trigger(t.jPlayer.event.waiting))},!1),e.addEventListener("seeking",function(){s.gate&&(i._seeking(),i._trigger(t.jPlayer.event.seeking))},!1),e.addEventListener("seeked",function(){s.gate&&(i._seeked(),i._trigger(t.jPlayer.event.seeked))},!1),e.addEventListener("volumechange",function(){s.gate&&(i.options.volume=e.volume,i.options.muted=e.muted,i._updateMute(),i._updateVolume(),i._trigger(t.jPlayer.event.volumechange))},!1),e.addEventListener("ratechange",function(){s.gate&&(i.options.defaultPlaybackRate=e.defaultPlaybackRate,i.options.playbackRate=e.playbackRate,i._updatePlaybackRate(),i._trigger(t.jPlayer.event.ratechange))},!1),e.addEventListener("suspend",function(){s.gate&&(i._seeked(),i._trigger(t.jPlayer.event.suspend))},!1),e.addEventListener("ended",function(){s.gate&&(t.jPlayer.browser.webkit||(i.htmlElement.media.currentTime=0),i.htmlElement.media.pause(),i._updateButtons(!1),i._getHtmlStatus(e,!0),i._updateInterface(),i._trigger(t.jPlayer.event.ended))},!1),e.addEventListener("error",function(){s.gate&&(i._updateButtons(!1),i._seeked(),i.status.srcSet&&(clearTimeout(i.internal.htmlDlyCmdId),i.status.waitForLoad=!0,i.status.waitForPlay=!0,i.status.video&&!i.status.nativeVideoControls&&i.internal.video.jq.css({width:"0px",height:"0px"}),i._validString(i.status.media.poster)&&!i.status.nativeVideoControls&&i.internal.poster.jq.show(),i.css.jq.videoPlay.length&&i.css.jq.videoPlay.show(),i._error({type:t.jPlayer.error.URL,context:i.status.src,message:t.jPlayer.errorMsg.URL,hint:t.jPlayer.errorHint.URL})))},!1),t.each(t.jPlayer.htmlEvent,function(a,n){e.addEventListener(this,function(){s.gate&&i._trigger(t.jPlayer.event[n])},!1)})},_getHtmlStatus:function(t,e){var s=0,i=0,a=0,n=0;isFinite(t.duration)&&(this.status.duration=t.duration),s=t.currentTime,i=this.status.duration>0?100*s/this.status.duration:0,"object"==typeof t.seekable&&t.seekable.length>0?(a=this.status.duration>0?100*t.seekable.end(t.seekable.length-1)/this.status.duration:100,n=this.status.duration>0?100*t.currentTime/t.seekable.end(t.seekable.length-1):0):(a=100,n=i),e&&(s=0,n=0,i=0),this.status.seekPercent=a,this.status.currentPercentRelative=n,this.status.currentPercentAbsolute=i,this.status.currentTime=s,this.status.remaining=this.status.duration-this.status.currentTime,this.status.videoWidth=t.videoWidth,this.status.videoHeight=t.videoHeight,this.status.readyState=t.readyState,this.status.networkState=t.networkState,this.status.playbackRate=t.playbackRate,this.status.ended=t.ended},_resetStatus:function(){this.status=t.extend({},this.status,t.jPlayer.prototype.status)},_trigger:function(e,s,i){var a=t.Event(e);a.jPlayer={},a.jPlayer.version=t.extend({},this.version),a.jPlayer.options=t.extend(!0,{},this.options),a.jPlayer.status=t.extend(!0,{},this.status),a.jPlayer.html=t.extend(!0,{},this.html),a.jPlayer.flash=t.extend(!0,{},this.flash),s&&(a.jPlayer.error=t.extend({},s)),i&&(a.jPlayer.warning=t.extend({},i)),this.element.trigger(a)},jPlayerFlashEvent:function(e,s){if(e===t.jPlayer.event.ready)if(this.internal.ready){if(this.flash.gate){if(this.status.srcSet){var i=this.status.currentTime,a=this.status.paused;this.setMedia(this.status.media),this.volumeWorker(this.options.volume),i>0&&(a?this.pause(i):this.play(i))}this._trigger(t.jPlayer.event.flashreset)}}else this.internal.ready=!0,this.internal.flash.jq.css({width:"0px",height:"0px"}),this.version.flash=s.version,this.version.needFlash!==this.version.flash&&this._error({type:t.jPlayer.error.VERSION,context:this.version.flash,message:t.jPlayer.errorMsg.VERSION+this.version.flash,hint:t.jPlayer.errorHint.VERSION}),this._trigger(t.jPlayer.event.repeat),this._trigger(e);if(this.flash.gate)switch(e){case t.jPlayer.event.progress:this._getFlashStatus(s),this._updateInterface(),this._trigger(e);break;case t.jPlayer.event.timeupdate:this._getFlashStatus(s),this._updateInterface(),this._trigger(e);break;case t.jPlayer.event.play:this._seeked(),this._updateButtons(!0),this._trigger(e);break;case t.jPlayer.event.pause:this._updateButtons(!1),this._trigger(e);break;case t.jPlayer.event.ended:this._updateButtons(!1),this._trigger(e);break;case t.jPlayer.event.click:this._trigger(e);break;case t.jPlayer.event.error:this.status.waitForLoad=!0,this.status.waitForPlay=!0,this.status.video&&this.internal.flash.jq.css({width:"0px",height:"0px"}),this._validString(this.status.media.poster)&&this.internal.poster.jq.show(),this.css.jq.videoPlay.length&&this.status.video&&this.css.jq.videoPlay.show(),this.status.video?this._flash_setVideo(this.status.media):this._flash_setAudio(this.status.media),this._updateButtons(!1),this._error({type:t.jPlayer.error.URL,context:s.src,message:t.jPlayer.errorMsg.URL,hint:t.jPlayer.errorHint.URL});break;case t.jPlayer.event.seeking:this._seeking(),this._trigger(e);break;case t.jPlayer.event.seeked:this._seeked(),this._trigger(e);break;case t.jPlayer.event.ready:break;default:this._trigger(e)}return!1},_getFlashStatus:function(t){this.status.seekPercent=t.seekPercent,this.status.currentPercentRelative=t.currentPercentRelative,this.status.currentPercentAbsolute=t.currentPercentAbsolute,this.status.currentTime=t.currentTime,this.status.duration=t.duration,this.status.remaining=t.duration-t.currentTime,this.status.videoWidth=t.videoWidth,this.status.videoHeight=t.videoHeight,this.status.readyState=4,this.status.networkState=0,this.status.playbackRate=1,this.status.ended=!1},_updateButtons:function(t){t===e?t=!this.status.paused:this.status.paused=!t,t?this.addStateClass("playing"):this.removeStateClass("playing"),!this.status.noFullWindow&&this.options.fullWindow?this.addStateClass("fullScreen"):this.removeStateClass("fullScreen"),this.options.loop?this.addStateClass("looped"):this.removeStateClass("looped"),this.css.jq.play.length&&this.css.jq.pause.length&&(t?(this.css.jq.play.hide(),this.css.jq.pause.show()):(this.css.jq.play.show(),this.css.jq.pause.hide())),this.css.jq.restoreScreen.length&&this.css.jq.fullScreen.length&&(this.status.noFullWindow?(this.css.jq.fullScreen.hide(),this.css.jq.restoreScreen.hide()):this.options.fullWindow?(this.css.jq.fullScreen.hide(),this.css.jq.restoreScreen.show()):(this.css.jq.fullScreen.show(),this.css.jq.restoreScreen.hide())),this.css.jq.repeat.length&&this.css.jq.repeatOff.length&&(this.options.loop?(this.css.jq.repeat.hide(),this.css.jq.repeatOff.show()):(this.css.jq.repeat.show(),this.css.jq.repeatOff.hide()))},_updateInterface:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.width(this.status.seekPercent+"%"),this.css.jq.playBar.length&&(this.options.smoothPlayBar?this.css.jq.playBar.stop().animate({width:this.status.currentPercentAbsolute+"%"},250,"linear"):this.css.jq.playBar.width(this.status.currentPercentRelative+"%"));var t="";this.css.jq.currentTime.length&&(t=this._convertTime(this.status.currentTime),t!==this.css.jq.currentTime.text()&&this.css.jq.currentTime.text(this._convertTime(this.status.currentTime)));var e="",s=this.status.duration,i=this.status.remaining;this.css.jq.duration.length&&("string"==typeof this.status.media.duration?e=this.status.media.duration:("number"==typeof this.status.media.duration&&(s=this.status.media.duration,i=s-this.status.currentTime),e=this.options.remainingDuration?(i>0?"-":"")+this._convertTime(i):this._convertTime(s)),e!==this.css.jq.duration.text()&&this.css.jq.duration.text(e))},_convertTime:s.prototype.time,_seeking:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.addClass("jp-seeking-bg"),this.addStateClass("seeking")},_seeked:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.removeClass("jp-seeking-bg"),this.removeStateClass("seeking")},_resetGate:function(){this.html.audio.gate=!1,this.html.video.gate=!1,this.flash.gate=!1},_resetActive:function(){this.html.active=!1,this.flash.active=!1},_escapeHtml:function(t){return t.split("&").join("&amp;").split("<").join("&lt;").split(">").join("&gt;").split('"').join("&quot;")},_qualifyURL:function(t){var e=document.createElement("div");return e.innerHTML='<a href="'+this._escapeHtml(t)+'">x</a>',e.firstChild.href},_absoluteMediaUrls:function(e){var s=this;return t.each(e,function(t,i){i&&s.format[t]&&(e[t]=s._qualifyURL(i))}),e},addStateClass:function(t){this.ancestorJq.length&&this.ancestorJq.addClass(this.options.stateClass[t])},removeStateClass:function(t){this.ancestorJq.length&&this.ancestorJq.removeClass(this.options.stateClass[t])},setMedia:function(e){var s=this,i=!1,a=this.status.media.poster!==e.poster;this._resetMedia(),this._resetGate(),this._resetActive(),this.androidFix.setMedia=!1,this.androidFix.play=!1,this.androidFix.pause=!1,e=this._absoluteMediaUrls(e),t.each(this.formats,function(a,n){var o="video"===s.format[n].media;return t.each(s.solutions,function(a,r){if(s[r].support[n]&&s._validString(e[n])){var l="html"===r;return o?(l?(s.html.video.gate=!0,s._html_setVideo(e),s.html.active=!0):(s.flash.gate=!0,s._flash_setVideo(e),s.flash.active=!0),s.css.jq.videoPlay.length&&s.css.jq.videoPlay.show(),s.status.video=!0):(l?(s.html.audio.gate=!0,s._html_setAudio(e),s.html.active=!0,t.jPlayer.platform.android&&(s.androidFix.setMedia=!0)):(s.flash.gate=!0,s._flash_setAudio(e),s.flash.active=!0),s.css.jq.videoPlay.length&&s.css.jq.videoPlay.hide(),s.status.video=!1),i=!0,!1}}),i?!1:void 0}),i?(this.status.nativeVideoControls&&this.html.video.gate||this._validString(e.poster)&&(a?this.htmlElement.poster.src=e.poster:this.internal.poster.jq.show()),this.css.jq.title.length&&"string"==typeof e.title&&(this.css.jq.title.html(e.title),this.htmlElement.audio&&this.htmlElement.audio.setAttribute("title",e.title),this.htmlElement.video&&this.htmlElement.video.setAttribute("title",e.title)),this.status.srcSet=!0,this.status.media=t.extend({},e),this._updateButtons(!1),this._updateInterface(),this._trigger(t.jPlayer.event.setmedia)):this._error({type:t.jPlayer.error.NO_SUPPORT,context:"{supplied:'"+this.options.supplied+"'}",message:t.jPlayer.errorMsg.NO_SUPPORT,hint:t.jPlayer.errorHint.NO_SUPPORT})},_resetMedia:function(){this._resetStatus(),this._updateButtons(!1),this._updateInterface(),this._seeked(),this.internal.poster.jq.hide(),clearTimeout(this.internal.htmlDlyCmdId),this.html.active?this._html_resetMedia():this.flash.active&&this._flash_resetMedia()},clearMedia:function(){this._resetMedia(),this.html.active?this._html_clearMedia():this.flash.active&&this._flash_clearMedia(),this._resetGate(),this._resetActive()},load:function(){this.status.srcSet?this.html.active?this._html_load():this.flash.active&&this._flash_load():this._urlNotSetError("load")},focus:function(){this.options.keyEnabled&&(t.jPlayer.focus=this)},play:function(t){var e="object"==typeof t;e&&this.options.useStateClassSkin&&!this.status.paused?this.pause(t):(t="number"==typeof t?t:0/0,this.status.srcSet?(this.focus(),this.html.active?this._html_play(t):this.flash.active&&this._flash_play(t)):this._urlNotSetError("play"))},videoPlay:function(){this.play()
2
- },pause:function(t){t="number"==typeof t?t:0/0,this.status.srcSet?this.html.active?this._html_pause(t):this.flash.active&&this._flash_pause(t):this._urlNotSetError("pause")},tellOthers:function(e,s){var i=this,a="function"==typeof s,n=Array.prototype.slice.call(arguments);"string"==typeof e&&(a&&n.splice(1,1),t.each(this.instances,function(){i.element!==this&&(!a||s.call(this.data("jPlayer"),i))&&this.jPlayer.apply(this,n)}))},pauseOthers:function(t){this.tellOthers("pause",function(){return this.status.srcSet},t)},stop:function(){this.status.srcSet?this.html.active?this._html_pause(0):this.flash.active&&this._flash_pause(0):this._urlNotSetError("stop")},playHead:function(t){t=this._limitValue(t,0,100),this.status.srcSet?this.html.active?this._html_playHead(t):this.flash.active&&this._flash_playHead(t):this._urlNotSetError("playHead")},_muted:function(t){this.mutedWorker(t),this.options.globalVolume&&this.tellOthers("mutedWorker",function(){return this.options.globalVolume},t)},mutedWorker:function(e){this.options.muted=e,this.html.used&&this._html_setProperty("muted",e),this.flash.used&&this._flash_mute(e),this.html.video.gate||this.html.audio.gate||(this._updateMute(e),this._updateVolume(this.options.volume),this._trigger(t.jPlayer.event.volumechange))},mute:function(t){var s="object"==typeof t;s&&this.options.useStateClassSkin&&this.options.muted?this._muted(!1):(t=t===e?!0:!!t,this._muted(t))},unmute:function(t){t=t===e?!0:!!t,this._muted(!t)},_updateMute:function(t){t===e&&(t=this.options.muted),t?this.addStateClass("muted"):this.removeStateClass("muted"),this.css.jq.mute.length&&this.css.jq.unmute.length&&(this.status.noVolume?(this.css.jq.mute.hide(),this.css.jq.unmute.hide()):t?(this.css.jq.mute.hide(),this.css.jq.unmute.show()):(this.css.jq.mute.show(),this.css.jq.unmute.hide()))},volume:function(t){this.volumeWorker(t),this.options.globalVolume&&this.tellOthers("volumeWorker",function(){return this.options.globalVolume},t)},volumeWorker:function(e){e=this._limitValue(e,0,1),this.options.volume=e,this.html.used&&this._html_setProperty("volume",e),this.flash.used&&this._flash_volume(e),this.html.video.gate||this.html.audio.gate||(this._updateVolume(e),this._trigger(t.jPlayer.event.volumechange))},volumeBar:function(e){if(this.css.jq.volumeBar.length){var s=t(e.currentTarget),i=s.offset(),a=e.pageX-i.left,n=s.width(),o=s.height()-e.pageY+i.top,r=s.height();this.volume(this.options.verticalVolume?o/r:a/n)}this.options.muted&&this._muted(!1)},_updateVolume:function(t){t===e&&(t=this.options.volume),t=this.options.muted?0:t,this.status.noVolume?(this.css.jq.volumeBar.length&&this.css.jq.volumeBar.hide(),this.css.jq.volumeBarValue.length&&this.css.jq.volumeBarValue.hide(),this.css.jq.volumeMax.length&&this.css.jq.volumeMax.hide()):(this.css.jq.volumeBar.length&&this.css.jq.volumeBar.show(),this.css.jq.volumeBarValue.length&&(this.css.jq.volumeBarValue.show(),this.css.jq.volumeBarValue[this.options.verticalVolume?"height":"width"](100*t+"%")),this.css.jq.volumeMax.length&&this.css.jq.volumeMax.show())},volumeMax:function(){this.volume(1),this.options.muted&&this._muted(!1)},_cssSelectorAncestor:function(e){var s=this;this.options.cssSelectorAncestor=e,this._removeUiClass(),this.ancestorJq=e?t(e):[],e&&1!==this.ancestorJq.length&&this._warning({type:t.jPlayer.warning.CSS_SELECTOR_COUNT,context:e,message:t.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.ancestorJq.length+" found for cssSelectorAncestor.",hint:t.jPlayer.warningHint.CSS_SELECTOR_COUNT}),this._addUiClass(),t.each(this.options.cssSelector,function(t,e){s._cssSelector(t,e)}),this._updateInterface(),this._updateButtons(),this._updateAutohide(),this._updateVolume(),this._updateMute()},_cssSelector:function(e,s){var i=this;if("string"==typeof s)if(t.jPlayer.prototype.options.cssSelector[e]){if(this.css.jq[e]&&this.css.jq[e].length&&this.css.jq[e].unbind(".jPlayer"),this.options.cssSelector[e]=s,this.css.cs[e]=this.options.cssSelectorAncestor+" "+s,this.css.jq[e]=s?t(this.css.cs[e]):[],this.css.jq[e].length&&this[e]){var a=function(s){s.preventDefault(),i[e](s),i.options.autoBlur&&t(this).blur()};this.css.jq[e].bind("click.jPlayer",a)}s&&1!==this.css.jq[e].length&&this._warning({type:t.jPlayer.warning.CSS_SELECTOR_COUNT,context:this.css.cs[e],message:t.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.css.jq[e].length+" found for "+e+" method.",hint:t.jPlayer.warningHint.CSS_SELECTOR_COUNT})}else this._warning({type:t.jPlayer.warning.CSS_SELECTOR_METHOD,context:e,message:t.jPlayer.warningMsg.CSS_SELECTOR_METHOD,hint:t.jPlayer.warningHint.CSS_SELECTOR_METHOD});else this._warning({type:t.jPlayer.warning.CSS_SELECTOR_STRING,context:s,message:t.jPlayer.warningMsg.CSS_SELECTOR_STRING,hint:t.jPlayer.warningHint.CSS_SELECTOR_STRING})},duration:function(t){this.options.toggleDuration&&(this.options.captureDuration&&t.stopPropagation(),this._setOption("remainingDuration",!this.options.remainingDuration))},seekBar:function(e){if(this.css.jq.seekBar.length){var s=t(e.currentTarget),i=s.offset(),a=e.pageX-i.left,n=s.width(),o=100*a/n;this.playHead(o)}},playbackRate:function(t){this._setOption("playbackRate",t)},playbackRateBar:function(e){if(this.css.jq.playbackRateBar.length){var s,i,a=t(e.currentTarget),n=a.offset(),o=e.pageX-n.left,r=a.width(),l=a.height()-e.pageY+n.top,h=a.height();s=this.options.verticalPlaybackRate?l/h:o/r,i=s*(this.options.maxPlaybackRate-this.options.minPlaybackRate)+this.options.minPlaybackRate,this.playbackRate(i)}},_updatePlaybackRate:function(){var t=this.options.playbackRate,e=(t-this.options.minPlaybackRate)/(this.options.maxPlaybackRate-this.options.minPlaybackRate);this.status.playbackRateEnabled?(this.css.jq.playbackRateBar.length&&this.css.jq.playbackRateBar.show(),this.css.jq.playbackRateBarValue.length&&(this.css.jq.playbackRateBarValue.show(),this.css.jq.playbackRateBarValue[this.options.verticalPlaybackRate?"height":"width"](100*e+"%"))):(this.css.jq.playbackRateBar.length&&this.css.jq.playbackRateBar.hide(),this.css.jq.playbackRateBarValue.length&&this.css.jq.playbackRateBarValue.hide())},repeat:function(t){var e="object"==typeof t;this._loop(e&&this.options.useStateClassSkin&&this.options.loop?!1:!0)},repeatOff:function(){this._loop(!1)},_loop:function(e){this.options.loop!==e&&(this.options.loop=e,this._updateButtons(),this._trigger(t.jPlayer.event.repeat))},option:function(s,i){var a=s;if(0===arguments.length)return t.extend(!0,{},this.options);if("string"==typeof s){var n=s.split(".");if(i===e){for(var o=t.extend(!0,{},this.options),r=0;r<n.length;r++){if(o[n[r]]===e)return this._warning({type:t.jPlayer.warning.OPTION_KEY,context:s,message:t.jPlayer.warningMsg.OPTION_KEY,hint:t.jPlayer.warningHint.OPTION_KEY}),e;o=o[n[r]]}return o}a={};for(var l=a,h=0;h<n.length;h++)h<n.length-1?(l[n[h]]={},l=l[n[h]]):l[n[h]]=i}return this._setOptions(a),this},_setOptions:function(e){var s=this;return t.each(e,function(t,e){s._setOption(t,e)}),this},_setOption:function(e,s){var i=this;switch(e){case"volume":this.volume(s);break;case"muted":this._muted(s);break;case"globalVolume":this.options[e]=s;break;case"cssSelectorAncestor":this._cssSelectorAncestor(s);break;case"cssSelector":t.each(s,function(t,e){i._cssSelector(t,e)});break;case"playbackRate":this.options[e]=s=this._limitValue(s,this.options.minPlaybackRate,this.options.maxPlaybackRate),this.html.used&&this._html_setProperty("playbackRate",s),this._updatePlaybackRate();break;case"defaultPlaybackRate":this.options[e]=s=this._limitValue(s,this.options.minPlaybackRate,this.options.maxPlaybackRate),this.html.used&&this._html_setProperty("defaultPlaybackRate",s),this._updatePlaybackRate();break;case"minPlaybackRate":this.options[e]=s=this._limitValue(s,.1,this.options.maxPlaybackRate-.1),this._updatePlaybackRate();break;case"maxPlaybackRate":this.options[e]=s=this._limitValue(s,this.options.minPlaybackRate+.1,16),this._updatePlaybackRate();break;case"fullScreen":if(this.options[e]!==s){var a=t.jPlayer.nativeFeatures.fullscreen.used.webkitVideo;(!a||a&&!this.status.waitForPlay)&&(a||(this.options[e]=s),s?this._requestFullscreen():this._exitFullscreen(),a||this._setOption("fullWindow",s))}break;case"fullWindow":this.options[e]!==s&&(this._removeUiClass(),this.options[e]=s,this._refreshSize());break;case"size":this.options.fullWindow||this.options[e].cssClass===s.cssClass||this._removeUiClass(),this.options[e]=t.extend({},this.options[e],s),this._refreshSize();break;case"sizeFull":this.options.fullWindow&&this.options[e].cssClass!==s.cssClass&&this._removeUiClass(),this.options[e]=t.extend({},this.options[e],s),this._refreshSize();break;case"autohide":this.options[e]=t.extend({},this.options[e],s),this._updateAutohide();break;case"loop":this._loop(s);break;case"remainingDuration":this.options[e]=s,this._updateInterface();break;case"toggleDuration":this.options[e]=s;break;case"nativeVideoControls":this.options[e]=t.extend({},this.options[e],s),this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls),this._restrictNativeVideoControls(),this._updateNativeVideoControls();break;case"noFullWindow":this.options[e]=t.extend({},this.options[e],s),this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls),this.status.noFullWindow=this._uaBlocklist(this.options.noFullWindow),this._restrictNativeVideoControls(),this._updateButtons();break;case"noVolume":this.options[e]=t.extend({},this.options[e],s),this.status.noVolume=this._uaBlocklist(this.options.noVolume),this._updateVolume(),this._updateMute();break;case"emulateHtml":this.options[e]!==s&&(this.options[e]=s,s?this._emulateHtmlBridge():this._destroyHtmlBridge());break;case"timeFormat":this.options[e]=t.extend({},this.options[e],s);break;case"keyEnabled":this.options[e]=s,s||this!==t.jPlayer.focus||(t.jPlayer.focus=null);break;case"keyBindings":this.options[e]=t.extend(!0,{},this.options[e],s);break;case"audioFullScreen":this.options[e]=s;break;case"autoBlur":this.options[e]=s}return this},_refreshSize:function(){this._setSize(),this._addUiClass(),this._updateSize(),this._updateButtons(),this._updateAutohide(),this._trigger(t.jPlayer.event.resize)},_setSize:function(){this.options.fullWindow?(this.status.width=this.options.sizeFull.width,this.status.height=this.options.sizeFull.height,this.status.cssClass=this.options.sizeFull.cssClass):(this.status.width=this.options.size.width,this.status.height=this.options.size.height,this.status.cssClass=this.options.size.cssClass),this.element.css({width:this.status.width,height:this.status.height})},_addUiClass:function(){this.ancestorJq.length&&this.ancestorJq.addClass(this.status.cssClass)},_removeUiClass:function(){this.ancestorJq.length&&this.ancestorJq.removeClass(this.status.cssClass)},_updateSize:function(){this.internal.poster.jq.css({width:this.status.width,height:this.status.height}),!this.status.waitForPlay&&this.html.active&&this.status.video||this.html.video.available&&this.html.used&&this.status.nativeVideoControls?this.internal.video.jq.css({width:this.status.width,height:this.status.height}):!this.status.waitForPlay&&this.flash.active&&this.status.video&&this.internal.flash.jq.css({width:this.status.width,height:this.status.height})},_updateAutohide:function(){var t=this,e="mousemove.jPlayer",s=".jPlayerAutohide",i=e+s,a=function(){t.css.jq.gui.fadeIn(t.options.autohide.fadeIn,function(){clearTimeout(t.internal.autohideId),t.internal.autohideId=setTimeout(function(){t.css.jq.gui.fadeOut(t.options.autohide.fadeOut)},t.options.autohide.hold)})};this.css.jq.gui.length&&(this.css.jq.gui.stop(!0,!0),clearTimeout(this.internal.autohideId),this.element.unbind(s),this.css.jq.gui.unbind(s),this.status.nativeVideoControls?this.css.jq.gui.hide():this.options.fullWindow&&this.options.autohide.full||!this.options.fullWindow&&this.options.autohide.restored?(this.element.bind(i,a),this.css.jq.gui.bind(i,a),this.css.jq.gui.hide()):this.css.jq.gui.show())},fullScreen:function(t){var e="object"==typeof t;e&&this.options.useStateClassSkin&&this.options.fullScreen?this._setOption("fullScreen",!1):this._setOption("fullScreen",!0)},restoreScreen:function(){this._setOption("fullScreen",!1)},_fullscreenAddEventListeners:function(){var e=this,s=t.jPlayer.nativeFeatures.fullscreen;s.api.fullscreenEnabled&&s.event.fullscreenchange&&("function"!=typeof this.internal.fullscreenchangeHandler&&(this.internal.fullscreenchangeHandler=function(){e._fullscreenchange()}),document.addEventListener(s.event.fullscreenchange,this.internal.fullscreenchangeHandler,!1))},_fullscreenRemoveEventListeners:function(){var e=t.jPlayer.nativeFeatures.fullscreen;this.internal.fullscreenchangeHandler&&document.removeEventListener(e.event.fullscreenchange,this.internal.fullscreenchangeHandler,!1)},_fullscreenchange:function(){this.options.fullScreen&&!t.jPlayer.nativeFeatures.fullscreen.api.fullscreenElement()&&this._setOption("fullScreen",!1)},_requestFullscreen:function(){var e=this.ancestorJq.length?this.ancestorJq[0]:this.element[0],s=t.jPlayer.nativeFeatures.fullscreen;s.used.webkitVideo&&(e=this.htmlElement.video),s.api.fullscreenEnabled&&s.api.requestFullscreen(e)},_exitFullscreen:function(){var e,s=t.jPlayer.nativeFeatures.fullscreen;s.used.webkitVideo&&(e=this.htmlElement.video),s.api.fullscreenEnabled&&s.api.exitFullscreen(e)},_html_initMedia:function(e){var s=t(this.htmlElement.media).empty();t.each(e.track||[],function(t,e){var i=document.createElement("track");i.setAttribute("kind",e.kind?e.kind:""),i.setAttribute("src",e.src?e.src:""),i.setAttribute("srclang",e.srclang?e.srclang:""),i.setAttribute("label",e.label?e.label:""),e.def&&i.setAttribute("default",e.def),s.append(i)}),this.htmlElement.media.src=this.status.src,"none"!==this.options.preload&&this._html_load(),this._trigger(t.jPlayer.event.timeupdate)},_html_setFormat:function(e){var s=this;t.each(this.formats,function(t,i){return s.html.support[i]&&e[i]?(s.status.src=e[i],s.status.format[i]=!0,s.status.formatType=i,!1):void 0})},_html_setAudio:function(t){this._html_setFormat(t),this.htmlElement.media=this.htmlElement.audio,this._html_initMedia(t)},_html_setVideo:function(t){this._html_setFormat(t),this.status.nativeVideoControls&&(this.htmlElement.video.poster=this._validString(t.poster)?t.poster:""),this.htmlElement.media=this.htmlElement.video,this._html_initMedia(t)},_html_resetMedia:function(){this.htmlElement.media&&(this.htmlElement.media.id!==this.internal.video.id||this.status.nativeVideoControls||this.internal.video.jq.css({width:"0px",height:"0px"}),this.htmlElement.media.pause())},_html_clearMedia:function(){this.htmlElement.media&&(this.htmlElement.media.src="about:blank",this.htmlElement.media.load())},_html_load:function(){this.status.waitForLoad&&(this.status.waitForLoad=!1,this.htmlElement.media.load()),clearTimeout(this.internal.htmlDlyCmdId)},_html_play:function(t){var e=this,s=this.htmlElement.media;if(this.androidFix.pause=!1,this._html_load(),this.androidFix.setMedia)this.androidFix.play=!0,this.androidFix.time=t;else if(isNaN(t))s.play();else{this.internal.cmdsIgnored&&s.play();try{if(s.seekable&&!("object"==typeof s.seekable&&s.seekable.length>0))throw 1;s.currentTime=t,s.play()}catch(i){return void(this.internal.htmlDlyCmdId=setTimeout(function(){e.play(t)},250))}}this._html_checkWaitForPlay()},_html_pause:function(t){var e=this,s=this.htmlElement.media;if(this.androidFix.play=!1,t>0?this._html_load():clearTimeout(this.internal.htmlDlyCmdId),s.pause(),this.androidFix.setMedia)this.androidFix.pause=!0,this.androidFix.time=t;else if(!isNaN(t))try{if(s.seekable&&!("object"==typeof s.seekable&&s.seekable.length>0))throw 1;s.currentTime=t}catch(i){return void(this.internal.htmlDlyCmdId=setTimeout(function(){e.pause(t)},250))}t>0&&this._html_checkWaitForPlay()},_html_playHead:function(t){var e=this,s=this.htmlElement.media;this._html_load();try{if("object"==typeof s.seekable&&s.seekable.length>0)s.currentTime=t*s.seekable.end(s.seekable.length-1)/100;else{if(!(s.duration>0)||isNaN(s.duration))throw"e";s.currentTime=t*s.duration/100}}catch(i){return void(this.internal.htmlDlyCmdId=setTimeout(function(){e.playHead(t)},250))}this.status.waitForLoad||this._html_checkWaitForPlay()},_html_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1,this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),this.status.video&&(this.internal.poster.jq.hide(),this.internal.video.jq.css({width:this.status.width,height:this.status.height})))},_html_setProperty:function(t,e){this.html.audio.available&&(this.htmlElement.audio[t]=e),this.html.video.available&&(this.htmlElement.video[t]=e)},_flash_setAudio:function(e){var s=this;try{t.each(this.formats,function(t,i){if(s.flash.support[i]&&e[i]){switch(i){case"m4a":case"fla":s._getMovie().fl_setAudio_m4a(e[i]);break;case"mp3":s._getMovie().fl_setAudio_mp3(e[i]);break;case"rtmpa":s._getMovie().fl_setAudio_rtmp(e[i])}return s.status.src=e[i],s.status.format[i]=!0,s.status.formatType=i,!1}}),"auto"===this.options.preload&&(this._flash_load(),this.status.waitForLoad=!1)}catch(i){this._flashError(i)}},_flash_setVideo:function(e){var s=this;try{t.each(this.formats,function(t,i){if(s.flash.support[i]&&e[i]){switch(i){case"m4v":case"flv":s._getMovie().fl_setVideo_m4v(e[i]);break;case"rtmpv":s._getMovie().fl_setVideo_rtmp(e[i])}return s.status.src=e[i],s.status.format[i]=!0,s.status.formatType=i,!1}}),"auto"===this.options.preload&&(this._flash_load(),this.status.waitForLoad=!1)}catch(i){this._flashError(i)}},_flash_resetMedia:function(){this.internal.flash.jq.css({width:"0px",height:"0px"}),this._flash_pause(0/0)},_flash_clearMedia:function(){try{this._getMovie().fl_clearMedia()}catch(t){this._flashError(t)}},_flash_load:function(){try{this._getMovie().fl_load()}catch(t){this._flashError(t)}this.status.waitForLoad=!1},_flash_play:function(t){try{this._getMovie().fl_play(t)}catch(e){this._flashError(e)}this.status.waitForLoad=!1,this._flash_checkWaitForPlay()},_flash_pause:function(t){try{this._getMovie().fl_pause(t)}catch(e){this._flashError(e)}t>0&&(this.status.waitForLoad=!1,this._flash_checkWaitForPlay())},_flash_playHead:function(t){try{this._getMovie().fl_play_head(t)}catch(e){this._flashError(e)}this.status.waitForLoad||this._flash_checkWaitForPlay()},_flash_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1,this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),this.status.video&&(this.internal.poster.jq.hide(),this.internal.flash.jq.css({width:this.status.width,height:this.status.height})))},_flash_volume:function(t){try{this._getMovie().fl_volume(t)}catch(e){this._flashError(e)}},_flash_mute:function(t){try{this._getMovie().fl_mute(t)}catch(e){this._flashError(e)}},_getMovie:function(){return document[this.internal.flash.id]},_getFlashPluginVersion:function(){var t,e=0;if(window.ActiveXObject)try{if(t=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")){var s=t.GetVariable("$version");s&&(s=s.split(" ")[1].split(","),e=parseInt(s[0],10)+"."+parseInt(s[1],10))}}catch(i){}else navigator.plugins&&navigator.mimeTypes.length>0&&(t=navigator.plugins["Shockwave Flash"],t&&(e=navigator.plugins["Shockwave Flash"].description.replace(/.*\s(\d+\.\d+).*/,"$1")));return 1*e},_checkForFlash:function(t){var e=!1;return this._getFlashPluginVersion()>=t&&(e=!0),e},_validString:function(t){return t&&"string"==typeof t},_limitValue:function(t,e,s){return e>t?e:t>s?s:t},_urlNotSetError:function(e){this._error({type:t.jPlayer.error.URL_NOT_SET,context:e,message:t.jPlayer.errorMsg.URL_NOT_SET,hint:t.jPlayer.errorHint.URL_NOT_SET})},_flashError:function(e){var s;s=this.internal.ready?"FLASH_DISABLED":"FLASH",this._error({type:t.jPlayer.error[s],context:this.internal.flash.swf,message:t.jPlayer.errorMsg[s]+e.message,hint:t.jPlayer.errorHint[s]}),this.internal.flash.jq.css({width:"1px",height:"1px"})},_error:function(e){this._trigger(t.jPlayer.event.error,e),this.options.errorAlerts&&this._alert("Error!"+(e.message?"\n"+e.message:"")+(e.hint?"\n"+e.hint:"")+"\nContext: "+e.context)},_warning:function(s){this._trigger(t.jPlayer.event.warning,e,s),this.options.warningAlerts&&this._alert("Warning!"+(s.message?"\n"+s.message:"")+(s.hint?"\n"+s.hint:"")+"\nContext: "+s.context)},_alert:function(t){var e="jPlayer "+this.version.script+" : id='"+this.internal.self.id+"' : "+t;this.options.consoleAlerts?window.console&&window.console.log&&window.console.log(e):alert(e)},_emulateHtmlBridge:function(){var e=this;t.each(t.jPlayer.emulateMethods.split(/\s+/g),function(t,s){e.internal.domNode[s]=function(t){e[s](t)}}),t.each(t.jPlayer.event,function(s,i){var a=!0;t.each(t.jPlayer.reservedEvent.split(/\s+/g),function(t,e){return e===s?(a=!1,!1):void 0}),a&&e.element.bind(i+".jPlayer.jPlayerHtml",function(){e._emulateHtmlUpdate();var t=document.createEvent("Event");t.initEvent(s,!1,!0),e.internal.domNode.dispatchEvent(t)})})},_emulateHtmlUpdate:function(){var e=this;t.each(t.jPlayer.emulateStatus.split(/\s+/g),function(t,s){e.internal.domNode[s]=e.status[s]}),t.each(t.jPlayer.emulateOptions.split(/\s+/g),function(t,s){e.internal.domNode[s]=e.options[s]})},_destroyHtmlBridge:function(){var e=this;this.element.unbind(".jPlayerHtml");var s=t.jPlayer.emulateMethods+" "+t.jPlayer.emulateStatus+" "+t.jPlayer.emulateOptions;t.each(s.split(/\s+/g),function(t,s){delete e.internal.domNode[s]})}},t.jPlayer.error={FLASH:"e_flash",FLASH_DISABLED:"e_flash_disabled",NO_SOLUTION:"e_no_solution",NO_SUPPORT:"e_no_support",URL:"e_url",URL_NOT_SET:"e_url_not_set",VERSION:"e_version"},t.jPlayer.errorMsg={FLASH:"jPlayer's Flash fallback is not configured correctly, or a command was issued before the jPlayer Ready event. Details: ",FLASH_DISABLED:"jPlayer's Flash fallback has been disabled by the browser due to the CSS rules you have used. Details: ",NO_SOLUTION:"No solution can be found by jPlayer in this browser. Neither HTML nor Flash can be used.",NO_SUPPORT:"It is not possible to play any media format provided in setMedia() on this browser using your current options.",URL:"Media URL could not be loaded.",URL_NOT_SET:"Attempt to issue media playback commands, while no media url is set.",VERSION:"jPlayer "+t.jPlayer.prototype.version.script+" needs Jplayer.swf version "+t.jPlayer.prototype.version.needFlash+" but found "},t.jPlayer.errorHint={FLASH:"Check your swfPath option and that Jplayer.swf is there.",FLASH_DISABLED:"Check that you have not display:none; the jPlayer entity or any ancestor.",NO_SOLUTION:"Review the jPlayer options: support and supplied.",NO_SUPPORT:"Video or audio formats defined in the supplied option are missing.",URL:"Check media URL is valid.",URL_NOT_SET:"Use setMedia() to set the media URL.",VERSION:"Update jPlayer files."},t.jPlayer.warning={CSS_SELECTOR_COUNT:"e_css_selector_count",CSS_SELECTOR_METHOD:"e_css_selector_method",CSS_SELECTOR_STRING:"e_css_selector_string",OPTION_KEY:"e_option_key"},t.jPlayer.warningMsg={CSS_SELECTOR_COUNT:"The number of css selectors found did not equal one: ",CSS_SELECTOR_METHOD:"The methodName given in jPlayer('cssSelector') is not a valid jPlayer method.",CSS_SELECTOR_STRING:"The methodCssSelector given in jPlayer('cssSelector') is not a String or is empty.",OPTION_KEY:"The option requested in jPlayer('option') is undefined."},t.jPlayer.warningHint={CSS_SELECTOR_COUNT:"Check your css selector and the ancestor.",CSS_SELECTOR_METHOD:"Check your method name.",CSS_SELECTOR_STRING:"Check your css selector is a string.",OPTION_KEY:"Check your option name."}});
 
 
js/jquery.jplayer.min2-5-0.js ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * jPlayer Plugin for jQuery JavaScript Library
3
+ * http://www.jplayer.org
4
+ *
5
+ * Copyright (c) 2009 - 2013 Happyworm Ltd
6
+ * Licensed under the MIT license.
7
+ * http://opensource.org/licenses/MIT
8
+ *
9
+ * Author: Mark J Panaghiston
10
+ * Version: 2.5.0
11
+ * Date: 7th November 2013
12
+ */
13
+
14
+ (function(b,f){"function"===typeof define&&define.amd?define(["jquery"],f):b.jQuery?f(b.jQuery):f(b.Zepto)})(this,function(b,f){b.fn.jPlayer=function(a){var c="string"===typeof a,d=Array.prototype.slice.call(arguments,1),e=this;a=!c&&d.length?b.extend.apply(null,[!0,a].concat(d)):a;if(c&&"_"===a.charAt(0))return e;c?this.each(function(){var c=b(this).data("jPlayer"),h=c&&b.isFunction(c[a])?c[a].apply(c,d):c;if(h!==c&&h!==f)return e=h,!1}):this.each(function(){var c=b(this).data("jPlayer");c?c.option(a||
15
+ {}):b(this).data("jPlayer",new b.jPlayer(a,this))});return e};b.jPlayer=function(a,c){if(arguments.length){this.element=b(c);this.options=b.extend(!0,{},this.options,a);var d=this;this.element.bind("remove.jPlayer",function(){d.destroy()});this._init()}};"function"!==typeof b.fn.stop&&(b.fn.stop=function(){});b.jPlayer.emulateMethods="load play pause";b.jPlayer.emulateStatus="src readyState networkState currentTime duration paused ended playbackRate";b.jPlayer.emulateOptions="muted volume";b.jPlayer.reservedEvent=
16
+ "ready flashreset resize repeat error warning";b.jPlayer.event={};b.each("ready flashreset resize repeat click error warning loadstart progress suspend abort emptied stalled play pause loadedmetadata loadeddata waiting playing canplay canplaythrough seeking seeked timeupdate ended ratechange durationchange volumechange".split(" "),function(){b.jPlayer.event[this]="jPlayer_"+this});b.jPlayer.htmlEvent="loadstart abort emptied stalled loadedmetadata loadeddata canplay canplaythrough".split(" ");b.jPlayer.pause=
17
+ function(){b.each(b.jPlayer.prototype.instances,function(a,c){c.data("jPlayer").status.srcSet&&c.jPlayer("pause")})};b.jPlayer.timeFormat={showHour:!1,showMin:!0,showSec:!0,padHour:!1,padMin:!0,padSec:!0,sepHour:":",sepMin:":",sepSec:""};var m=function(){this.init()};m.prototype={init:function(){this.options={timeFormat:b.jPlayer.timeFormat}},time:function(a){var c=new Date(1E3*(a&&"number"===typeof a?a:0)),b=c.getUTCHours();a=this.options.timeFormat.showHour?c.getUTCMinutes():c.getUTCMinutes()+60*
18
+ b;c=this.options.timeFormat.showMin?c.getUTCSeconds():c.getUTCSeconds()+60*a;b=this.options.timeFormat.padHour&&10>b?"0"+b:b;a=this.options.timeFormat.padMin&&10>a?"0"+a:a;c=this.options.timeFormat.padSec&&10>c?"0"+c:c;b=""+(this.options.timeFormat.showHour?b+this.options.timeFormat.sepHour:"");b+=this.options.timeFormat.showMin?a+this.options.timeFormat.sepMin:"";return b+=this.options.timeFormat.showSec?c+this.options.timeFormat.sepSec:""}};var n=new m;b.jPlayer.convertTime=function(a){return n.time(a)};
19
+ b.jPlayer.uaBrowser=function(a){a=a.toLowerCase();var c=/(opera)(?:.*version)?[ \/]([\w.]+)/,b=/(msie) ([\w.]+)/,e=/(mozilla)(?:.*? rv:([\w.]+))?/;a=/(webkit)[ \/]([\w.]+)/.exec(a)||c.exec(a)||b.exec(a)||0>a.indexOf("compatible")&&e.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}};b.jPlayer.uaPlatform=function(a){var c=a.toLowerCase(),b=/(android)/,e=/(mobile)/;a=/(ipad|iphone|ipod|android|blackberry|playbook|windows ce|webos)/.exec(c)||[];c=/(ipad|playbook)/.exec(c)||!e.exec(c)&&b.exec(c)||
20
+ [];a[1]&&(a[1]=a[1].replace(/\s/g,"_"));return{platform:a[1]||"",tablet:c[1]||""}};b.jPlayer.browser={};b.jPlayer.platform={};var k=b.jPlayer.uaBrowser(navigator.userAgent);k.browser&&(b.jPlayer.browser[k.browser]=!0,b.jPlayer.browser.version=k.version);k=b.jPlayer.uaPlatform(navigator.userAgent);k.platform&&(b.jPlayer.platform[k.platform]=!0,b.jPlayer.platform.mobile=!k.tablet,b.jPlayer.platform.tablet=!!k.tablet);b.jPlayer.getDocMode=function(){var a;b.jPlayer.browser.msie&&(document.documentMode?
21
+ a=document.documentMode:(a=5,document.compatMode&&"CSS1Compat"===document.compatMode&&(a=7)));return a};b.jPlayer.browser.documentMode=b.jPlayer.getDocMode();b.jPlayer.nativeFeatures={init:function(){var a=document,c=a.createElement("video"),b={w3c:"fullscreenEnabled fullscreenElement requestFullscreen exitFullscreen fullscreenchange fullscreenerror".split(" "),moz:"mozFullScreenEnabled mozFullScreenElement mozRequestFullScreen mozCancelFullScreen mozfullscreenchange mozfullscreenerror".split(" "),
22
+ webkit:" webkitCurrentFullScreenElement webkitRequestFullScreen webkitCancelFullScreen webkitfullscreenchange ".split(" "),webkitVideo:"webkitSupportsFullscreen webkitDisplayingFullscreen webkitEnterFullscreen webkitExitFullscreen ".split(" ")},e=["w3c","moz","webkit","webkitVideo"],g,h;this.fullscreen=c={support:{w3c:!!a[b.w3c[0]],moz:!!a[b.moz[0]],webkit:"function"===typeof a[b.webkit[3]],webkitVideo:"function"===typeof c[b.webkitVideo[2]]},used:{}};g=0;for(h=e.length;g<h;g++){var f=e[g];if(c.support[f]){c.spec=
23
+ f;c.used[f]=!0;break}}if(c.spec){var l=b[c.spec];c.api={fullscreenEnabled:!0,fullscreenElement:function(c){c=c?c:a;return c[l[1]]},requestFullscreen:function(a){return a[l[2]]()},exitFullscreen:function(c){c=c?c:a;return c[l[3]]()}};c.event={fullscreenchange:l[4],fullscreenerror:l[5]}}else c.api={fullscreenEnabled:!1,fullscreenElement:function(){return null},requestFullscreen:function(){},exitFullscreen:function(){}},c.event={}}};b.jPlayer.nativeFeatures.init();b.jPlayer.focus=null;b.jPlayer.keyIgnoreElementNames=
24
+ "INPUT TEXTAREA";var p=function(a){var c=b.jPlayer.focus,d;c&&(b.each(b.jPlayer.keyIgnoreElementNames.split(/\s+/g),function(c,b){if(a.target.nodeName.toUpperCase()===b.toUpperCase())return d=!0,!1}),d||b.each(c.options.keyBindings,function(d,g){if(g&&a.which===g.key&&b.isFunction(g.fn))return a.preventDefault(),g.fn(c),!1}))};b.jPlayer.keys=function(a){b(document.documentElement).unbind("keydown.jPlayer");a&&b(document.documentElement).bind("keydown.jPlayer",p)};b.jPlayer.keys(!0);b.jPlayer.prototype=
25
+ {count:0,version:{script:"2.5.0",needFlash:"2.5.0",flash:"unknown"},options:{swfPath:"js",solution:"html, flash",supplied:"mp3",preload:"metadata",volume:0.8,muted:!1,playbackRate:1,defaultPlaybackRate:1,minPlaybackRate:0.5,maxPlaybackRate:4,wmode:"opaque",backgroundColor:"#000000",cssSelectorAncestor:"#jp_container_1",cssSelector:{videoPlay:".jp-video-play",play:".jp-play",pause:".jp-pause",stop:".jp-stop",seekBar:".jp-seek-bar",playBar:".jp-play-bar",mute:".jp-mute",unmute:".jp-unmute",volumeBar:".jp-volume-bar",
26
+ volumeBarValue:".jp-volume-bar-value",volumeMax:".jp-volume-max",playbackRateBar:".jp-playback-rate-bar",playbackRateBarValue:".jp-playback-rate-bar-value",currentTime:".jp-current-time",duration:".jp-duration",fullScreen:".jp-full-screen",restoreScreen:".jp-restore-screen",repeat:".jp-repeat",repeatOff:".jp-repeat-off",gui:".jp-gui",noSolution:".jp-no-solution"},smoothPlayBar:!1,fullScreen:!1,fullWindow:!1,autohide:{restored:!1,full:!0,fadeIn:200,fadeOut:600,hold:1E3},loop:!1,repeat:function(a){a.jPlayer.options.loop?
27
+ b(this).unbind(".jPlayerRepeat").bind(b.jPlayer.event.ended+".jPlayer.jPlayerRepeat",function(){b(this).jPlayer("play")}):b(this).unbind(".jPlayerRepeat")},nativeVideoControls:{},noFullWindow:{msie:/msie [0-6]\./,ipad:/ipad.*?os [0-4]\./,iphone:/iphone/,ipod:/ipod/,android_pad:/android [0-3]\.(?!.*?mobile)/,android_phone:/android.*?mobile/,blackberry:/blackberry/,windows_ce:/windows ce/,iemobile:/iemobile/,webos:/webos/},noVolume:{ipad:/ipad/,iphone:/iphone/,ipod:/ipod/,android_pad:/android(?!.*?mobile)/,
28
+ android_phone:/android.*?mobile/,blackberry:/blackberry/,windows_ce:/windows ce/,iemobile:/iemobile/,webos:/webos/,playbook:/playbook/},timeFormat:{},keyEnabled:!1,audioFullScreen:!1,keyBindings:{play:{key:32,fn:function(a){a.status.paused?a.play():a.pause()}},fullScreen:{key:13,fn:function(a){(a.status.video||a.options.audioFullScreen)&&a._setOption("fullScreen",!a.options.fullScreen)}},muted:{key:8,fn:function(a){a._muted(!a.options.muted)}},volumeUp:{key:38,fn:function(a){a.volume(a.options.volume+
29
+ 0.1)}},volumeDown:{key:40,fn:function(a){a.volume(a.options.volume-0.1)}}},verticalVolume:!1,verticalPlaybackRate:!1,globalVolume:!1,idPrefix:"jp",noConflict:"jQuery",emulateHtml:!1,consoleAlerts:!0,errorAlerts:!1,warningAlerts:!1},optionsAudio:{size:{width:"0px",height:"0px",cssClass:""},sizeFull:{width:"0px",height:"0px",cssClass:""}},optionsVideo:{size:{width:"480px",height:"270px",cssClass:"jp-video-270p"},sizeFull:{width:"100%",height:"100%",cssClass:"jp-video-full"}},instances:{},status:{src:"",
30
+ media:{},paused:!0,format:{},formatType:"",waitForPlay:!0,waitForLoad:!0,srcSet:!1,video:!1,seekPercent:0,currentPercentRelative:0,currentPercentAbsolute:0,currentTime:0,duration:0,videoWidth:0,videoHeight:0,readyState:0,networkState:0,playbackRate:1,ended:0},internal:{ready:!1},solution:{html:!0,flash:!0},format:{mp3:{codec:'audio/mpeg; codecs="mp3"',flashCanPlay:!0,media:"audio"},m4a:{codec:'audio/mp4; codecs="mp4a.40.2"',flashCanPlay:!0,media:"audio"},m3u8a:{codec:'application/vnd.apple.mpegurl; codecs="mp4a.40.2"',
31
+ flashCanPlay:!1,media:"audio"},m3ua:{codec:"audio/mpegurl",flashCanPlay:!1,media:"audio"},oga:{codec:'audio/ogg; codecs="vorbis, opus"',flashCanPlay:!1,media:"audio"},flac:{codec:"audio/x-flac",flashCanPlay:!1,media:"audio"},wav:{codec:'audio/wav; codecs="1"',flashCanPlay:!1,media:"audio"},webma:{codec:'audio/webm; codecs="vorbis"',flashCanPlay:!1,media:"audio"},fla:{codec:"audio/x-flv",flashCanPlay:!0,media:"audio"},rtmpa:{codec:'audio/rtmp; codecs="rtmp"',flashCanPlay:!0,media:"audio"},m4v:{codec:'video/mp4; codecs="avc1.42E01E, mp4a.40.2"',
32
+ flashCanPlay:!0,media:"video"},m3u8v:{codec:'application/vnd.apple.mpegurl; codecs="avc1.42E01E, mp4a.40.2"',flashCanPlay:!1,media:"video"},m3uv:{codec:"audio/mpegurl",flashCanPlay:!1,media:"video"},ogv:{codec:'video/ogg; codecs="theora, vorbis"',flashCanPlay:!1,media:"video"},webmv:{codec:'video/webm; codecs="vorbis, vp8"',flashCanPlay:!1,media:"video"},flv:{codec:"video/x-flv",flashCanPlay:!0,media:"video"},rtmpv:{codec:'video/rtmp; codecs="rtmp"',flashCanPlay:!0,media:"video"}},_init:function(){var a=
33
+ this;this.element.empty();this.status=b.extend({},this.status);this.internal=b.extend({},this.internal);this.options.timeFormat=b.extend({},b.jPlayer.timeFormat,this.options.timeFormat);this.internal.cmdsIgnored=b.jPlayer.platform.ipad||b.jPlayer.platform.iphone||b.jPlayer.platform.ipod;this.internal.domNode=this.element.get(0);this.options.keyEnabled&&!b.jPlayer.focus&&(b.jPlayer.focus=this);this.formats=[];this.solutions=[];this.require={};this.htmlElement={};this.html={};this.html.audio={};this.html.video=
34
+ {};this.flash={};this.css={};this.css.cs={};this.css.jq={};this.ancestorJq=[];this.options.volume=this._limitValue(this.options.volume,0,1);b.each(this.options.supplied.toLowerCase().split(","),function(c,d){var e=d.replace(/^\s+|\s+$/g,"");if(a.format[e]){var f=!1;b.each(a.formats,function(a,c){if(e===c)return f=!0,!1});f||a.formats.push(e)}});b.each(this.options.solution.toLowerCase().split(","),function(c,d){var e=d.replace(/^\s+|\s+$/g,"");if(a.solution[e]){var f=!1;b.each(a.solutions,function(a,
35
+ c){if(e===c)return f=!0,!1});f||a.solutions.push(e)}});this.internal.instance="jp_"+this.count;this.instances[this.internal.instance]=this.element;this.element.attr("id")||this.element.attr("id",this.options.idPrefix+"_jplayer_"+this.count);this.internal.self=b.extend({},{id:this.element.attr("id"),jq:this.element});this.internal.audio=b.extend({},{id:this.options.idPrefix+"_audio_"+this.count,jq:f});this.internal.video=b.extend({},{id:this.options.idPrefix+"_video_"+this.count,jq:f});this.internal.flash=
36
+ b.extend({},{id:this.options.idPrefix+"_flash_"+this.count,jq:f,swf:this.options.swfPath+(".swf"!==this.options.swfPath.toLowerCase().slice(-4)?(this.options.swfPath&&"/"!==this.options.swfPath.slice(-1)?"/":"")+"Jplayer.swf":"")});this.internal.poster=b.extend({},{id:this.options.idPrefix+"_poster_"+this.count,jq:f});b.each(b.jPlayer.event,function(c,b){a.options[c]!==f&&(a.element.bind(b+".jPlayer",a.options[c]),a.options[c]=f)});this.require.audio=!1;this.require.video=!1;b.each(this.formats,function(c,
37
+ b){a.require[a.format[b].media]=!0});this.options=this.require.video?b.extend(!0,{},this.optionsVideo,this.options):b.extend(!0,{},this.optionsAudio,this.options);this._setSize();this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls);this.status.noFullWindow=this._uaBlocklist(this.options.noFullWindow);this.status.noVolume=this._uaBlocklist(this.options.noVolume);b.jPlayer.nativeFeatures.fullscreen.api.fullscreenEnabled&&this._fullscreenAddEventListeners();this._restrictNativeVideoControls();
38
+ this.htmlElement.poster=document.createElement("img");this.htmlElement.poster.id=this.internal.poster.id;this.htmlElement.poster.onload=function(){a.status.video&&!a.status.waitForPlay||a.internal.poster.jq.show()};this.element.append(this.htmlElement.poster);this.internal.poster.jq=b("#"+this.internal.poster.id);this.internal.poster.jq.css({width:this.status.width,height:this.status.height});this.internal.poster.jq.hide();this.internal.poster.jq.bind("click.jPlayer",function(){a._trigger(b.jPlayer.event.click)});
39
+ this.html.audio.available=!1;this.require.audio&&(this.htmlElement.audio=document.createElement("audio"),this.htmlElement.audio.id=this.internal.audio.id,this.html.audio.available=!!this.htmlElement.audio.canPlayType&&this._testCanPlayType(this.htmlElement.audio));this.html.video.available=!1;this.require.video&&(this.htmlElement.video=document.createElement("video"),this.htmlElement.video.id=this.internal.video.id,this.html.video.available=!!this.htmlElement.video.canPlayType&&this._testCanPlayType(this.htmlElement.video));
40
+ this.flash.available=this._checkForFlash(10.1);this.html.canPlay={};this.flash.canPlay={};b.each(this.formats,function(c,b){a.html.canPlay[b]=a.html[a.format[b].media].available&&""!==a.htmlElement[a.format[b].media].canPlayType(a.format[b].codec);a.flash.canPlay[b]=a.format[b].flashCanPlay&&a.flash.available});this.html.desired=!1;this.flash.desired=!1;b.each(this.solutions,function(c,d){if(0===c)a[d].desired=!0;else{var e=!1,f=!1;b.each(a.formats,function(c,b){a[a.solutions[0]].canPlay[b]&&("video"===
41
+ a.format[b].media?f=!0:e=!0)});a[d].desired=a.require.audio&&!e||a.require.video&&!f}});this.html.support={};this.flash.support={};b.each(this.formats,function(c,b){a.html.support[b]=a.html.canPlay[b]&&a.html.desired;a.flash.support[b]=a.flash.canPlay[b]&&a.flash.desired});this.html.used=!1;this.flash.used=!1;b.each(this.solutions,function(c,d){b.each(a.formats,function(c,b){if(a[d].support[b])return a[d].used=!0,!1})});this._resetActive();this._resetGate();this._cssSelectorAncestor(this.options.cssSelectorAncestor);
42
+ this.html.used||this.flash.used?this.css.jq.noSolution.length&&this.css.jq.noSolution.hide():(this._error({type:b.jPlayer.error.NO_SOLUTION,context:"{solution:'"+this.options.solution+"', supplied:'"+this.options.supplied+"'}",message:b.jPlayer.errorMsg.NO_SOLUTION,hint:b.jPlayer.errorHint.NO_SOLUTION}),this.css.jq.noSolution.length&&this.css.jq.noSolution.show());if(this.flash.used){var c,d="jQuery="+encodeURI(this.options.noConflict)+"&id="+encodeURI(this.internal.self.id)+"&vol="+this.options.volume+
43
+ "&muted="+this.options.muted;if(b.jPlayer.browser.msie&&(9>Number(b.jPlayer.browser.version)||9>b.jPlayer.browser.documentMode)){d=['<param name="movie" value="'+this.internal.flash.swf+'" />','<param name="FlashVars" value="'+d+'" />','<param name="allowScriptAccess" value="always" />','<param name="bgcolor" value="'+this.options.backgroundColor+'" />','<param name="wmode" value="'+this.options.wmode+'" />'];c=document.createElement('<object id="'+this.internal.flash.id+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="0" height="0" tabindex="-1"></object>');
44
+ for(var e=0;e<d.length;e++)c.appendChild(document.createElement(d[e]))}else e=function(a,c,b){var d=document.createElement("param");d.setAttribute("name",c);d.setAttribute("value",b);a.appendChild(d)},c=document.createElement("object"),c.setAttribute("id",this.internal.flash.id),c.setAttribute("name",this.internal.flash.id),c.setAttribute("data",this.internal.flash.swf),c.setAttribute("type","application/x-shockwave-flash"),c.setAttribute("width","1"),c.setAttribute("height","1"),c.setAttribute("tabindex",
45
+ "-1"),e(c,"flashvars",d),e(c,"allowscriptaccess","always"),e(c,"bgcolor",this.options.backgroundColor),e(c,"wmode",this.options.wmode);this.element.append(c);this.internal.flash.jq=b(c)}this.status.playbackRateEnabled=this.html.used&&!this.flash.used?this._testPlaybackRate("audio"):!1;this._updatePlaybackRate();this.html.used&&(this.html.audio.available&&(this._addHtmlEventListeners(this.htmlElement.audio,this.html.audio),this.element.append(this.htmlElement.audio),this.internal.audio.jq=b("#"+this.internal.audio.id)),
46
+ this.html.video.available&&(this._addHtmlEventListeners(this.htmlElement.video,this.html.video),this.element.append(this.htmlElement.video),this.internal.video.jq=b("#"+this.internal.video.id),this.status.nativeVideoControls?this.internal.video.jq.css({width:this.status.width,height:this.status.height}):this.internal.video.jq.css({width:"0px",height:"0px"}),this.internal.video.jq.bind("click.jPlayer",function(){a._trigger(b.jPlayer.event.click)})));this.options.emulateHtml&&this._emulateHtmlBridge();
47
+ this.html.used&&!this.flash.used&&setTimeout(function(){a.internal.ready=!0;a.version.flash="n/a";a._trigger(b.jPlayer.event.repeat);a._trigger(b.jPlayer.event.ready)},100);this._updateNativeVideoControls();this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide();b.jPlayer.prototype.count++},destroy:function(){this.clearMedia();this._removeUiClass();this.css.jq.currentTime.length&&this.css.jq.currentTime.text("");this.css.jq.duration.length&&this.css.jq.duration.text("");b.each(this.css.jq,function(a,
48
+ c){c.length&&c.unbind(".jPlayer")});this.internal.poster.jq.unbind(".jPlayer");this.internal.video.jq&&this.internal.video.jq.unbind(".jPlayer");this._fullscreenRemoveEventListeners();this===b.jPlayer.focus&&(b.jPlayer.focus=null);this.options.emulateHtml&&this._destroyHtmlBridge();this.element.removeData("jPlayer");this.element.unbind(".jPlayer");this.element.empty();delete this.instances[this.internal.instance]},enable:function(){},disable:function(){},_testCanPlayType:function(a){try{return a.canPlayType(this.format.mp3.codec),
49
+ !0}catch(c){return!1}},_testPlaybackRate:function(a){a=document.createElement("string"===typeof a?a:"audio");try{return"playbackRate"in a?(a.playbackRate=0.5,0.5===a.playbackRate):!1}catch(c){return!1}},_uaBlocklist:function(a){var c=navigator.userAgent.toLowerCase(),d=!1;b.each(a,function(a,b){if(b&&b.test(c))return d=!0,!1});return d},_restrictNativeVideoControls:function(){this.require.audio&&this.status.nativeVideoControls&&(this.status.nativeVideoControls=!1,this.status.noFullWindow=!0)},_updateNativeVideoControls:function(){this.html.video.available&&
50
+ this.html.used&&(this.htmlElement.video.controls=this.status.nativeVideoControls,this._updateAutohide(),this.status.nativeVideoControls&&this.require.video?(this.internal.poster.jq.hide(),this.internal.video.jq.css({width:this.status.width,height:this.status.height})):this.status.waitForPlay&&this.status.video&&(this.internal.poster.jq.show(),this.internal.video.jq.css({width:"0px",height:"0px"})))},_addHtmlEventListeners:function(a,c){var d=this;a.preload=this.options.preload;a.muted=this.options.muted;
51
+ a.volume=this.options.volume;this.status.playbackRateEnabled&&(a.defaultPlaybackRate=this.options.defaultPlaybackRate,a.playbackRate=this.options.playbackRate);a.addEventListener("progress",function(){c.gate&&(d.internal.cmdsIgnored&&0<this.readyState&&(d.internal.cmdsIgnored=!1),d._getHtmlStatus(a),d._updateInterface(),d._trigger(b.jPlayer.event.progress))},!1);a.addEventListener("timeupdate",function(){c.gate&&(d._getHtmlStatus(a),d._updateInterface(),d._trigger(b.jPlayer.event.timeupdate))},!1);
52
+ a.addEventListener("durationchange",function(){c.gate&&(d._getHtmlStatus(a),d._updateInterface(),d._trigger(b.jPlayer.event.durationchange))},!1);a.addEventListener("play",function(){c.gate&&(d._updateButtons(!0),d._html_checkWaitForPlay(),d._trigger(b.jPlayer.event.play))},!1);a.addEventListener("playing",function(){c.gate&&(d._updateButtons(!0),d._seeked(),d._trigger(b.jPlayer.event.playing))},!1);a.addEventListener("pause",function(){c.gate&&(d._updateButtons(!1),d._trigger(b.jPlayer.event.pause))},
53
+ !1);a.addEventListener("waiting",function(){c.gate&&(d._seeking(),d._trigger(b.jPlayer.event.waiting))},!1);a.addEventListener("seeking",function(){c.gate&&(d._seeking(),d._trigger(b.jPlayer.event.seeking))},!1);a.addEventListener("seeked",function(){c.gate&&(d._seeked(),d._trigger(b.jPlayer.event.seeked))},!1);a.addEventListener("volumechange",function(){c.gate&&(d.options.volume=a.volume,d.options.muted=a.muted,d._updateMute(),d._updateVolume(),d._trigger(b.jPlayer.event.volumechange))},!1);a.addEventListener("ratechange",
54
+ function(){c.gate&&(d.options.defaultPlaybackRate=a.defaultPlaybackRate,d.options.playbackRate=a.playbackRate,d._updatePlaybackRate(),d._trigger(b.jPlayer.event.ratechange))},!1);a.addEventListener("suspend",function(){c.gate&&(d._seeked(),d._trigger(b.jPlayer.event.suspend))},!1);a.addEventListener("ended",function(){c.gate&&(b.jPlayer.browser.webkit||(d.htmlElement.media.currentTime=0),d.htmlElement.media.pause(),d._updateButtons(!1),d._getHtmlStatus(a,!0),d._updateInterface(),d._trigger(b.jPlayer.event.ended))},
55
+ !1);a.addEventListener("error",function(){c.gate&&(d._updateButtons(!1),d._seeked(),d.status.srcSet&&(clearTimeout(d.internal.htmlDlyCmdId),d.status.waitForLoad=!0,d.status.waitForPlay=!0,d.status.video&&!d.status.nativeVideoControls&&d.internal.video.jq.css({width:"0px",height:"0px"}),d._validString(d.status.media.poster)&&!d.status.nativeVideoControls&&d.internal.poster.jq.show(),d.css.jq.videoPlay.length&&d.css.jq.videoPlay.show(),d._error({type:b.jPlayer.error.URL,context:d.status.src,message:b.jPlayer.errorMsg.URL,
56
+ hint:b.jPlayer.errorHint.URL})))},!1);b.each(b.jPlayer.htmlEvent,function(e,g){a.addEventListener(this,function(){c.gate&&d._trigger(b.jPlayer.event[g])},!1)})},_getHtmlStatus:function(a,c){var b=0,e=0,g=0,f=0;isFinite(a.duration)&&(this.status.duration=a.duration);b=a.currentTime;e=0<this.status.duration?100*b/this.status.duration:0;"object"===typeof a.seekable&&0<a.seekable.length?(g=0<this.status.duration?100*a.seekable.end(a.seekable.length-1)/this.status.duration:100,f=0<this.status.duration?
57
+ 100*a.currentTime/a.seekable.end(a.seekable.length-1):0):(g=100,f=e);c&&(e=f=b=0);this.status.seekPercent=g;this.status.currentPercentRelative=f;this.status.currentPercentAbsolute=e;this.status.currentTime=b;this.status.videoWidth=a.videoWidth;this.status.videoHeight=a.videoHeight;this.status.readyState=a.readyState;this.status.networkState=a.networkState;this.status.playbackRate=a.playbackRate;this.status.ended=a.ended},_resetStatus:function(){this.status=b.extend({},this.status,b.jPlayer.prototype.status)},
58
+ _trigger:function(a,c,d){a=b.Event(a);a.jPlayer={};a.jPlayer.version=b.extend({},this.version);a.jPlayer.options=b.extend(!0,{},this.options);a.jPlayer.status=b.extend(!0,{},this.status);a.jPlayer.html=b.extend(!0,{},this.html);a.jPlayer.flash=b.extend(!0,{},this.flash);c&&(a.jPlayer.error=b.extend({},c));d&&(a.jPlayer.warning=b.extend({},d));this.element.trigger(a)},jPlayerFlashEvent:function(a,c){if(a===b.jPlayer.event.ready)if(!this.internal.ready)this.internal.ready=!0,this.internal.flash.jq.css({width:"0px",
59
+ height:"0px"}),this.version.flash=c.version,this.version.needFlash!==this.version.flash&&this._error({type:b.jPlayer.error.VERSION,context:this.version.flash,message:b.jPlayer.errorMsg.VERSION+this.version.flash,hint:b.jPlayer.errorHint.VERSION}),this._trigger(b.jPlayer.event.repeat),this._trigger(a);else if(this.flash.gate){if(this.status.srcSet){var d=this.status.currentTime,e=this.status.paused;this.setMedia(this.status.media);this.volumeWorker(this.options.volume);0<d&&(e?this.pause(d):this.play(d))}this._trigger(b.jPlayer.event.flashreset)}if(this.flash.gate)switch(a){case b.jPlayer.event.progress:this._getFlashStatus(c);
60
+ this._updateInterface();this._trigger(a);break;case b.jPlayer.event.timeupdate:this._getFlashStatus(c);this._updateInterface();this._trigger(a);break;case b.jPlayer.event.play:this._seeked();this._updateButtons(!0);this._trigger(a);break;case b.jPlayer.event.pause:this._updateButtons(!1);this._trigger(a);break;case b.jPlayer.event.ended:this._updateButtons(!1);this._trigger(a);break;case b.jPlayer.event.click:this._trigger(a);break;case b.jPlayer.event.error:this.status.waitForLoad=!0;this.status.waitForPlay=
61
+ !0;this.status.video&&this.internal.flash.jq.css({width:"0px",height:"0px"});this._validString(this.status.media.poster)&&this.internal.poster.jq.show();this.css.jq.videoPlay.length&&this.status.video&&this.css.jq.videoPlay.show();this.status.video?this._flash_setVideo(this.status.media):this._flash_setAudio(this.status.media);this._updateButtons(!1);this._error({type:b.jPlayer.error.URL,context:c.src,message:b.jPlayer.errorMsg.URL,hint:b.jPlayer.errorHint.URL});break;case b.jPlayer.event.seeking:this._seeking();
62
+ this._trigger(a);break;case b.jPlayer.event.seeked:this._seeked();this._trigger(a);break;case b.jPlayer.event.ready:break;default:this._trigger(a)}return!1},_getFlashStatus:function(a){this.status.seekPercent=a.seekPercent;this.status.currentPercentRelative=a.currentPercentRelative;this.status.currentPercentAbsolute=a.currentPercentAbsolute;this.status.currentTime=a.currentTime;this.status.duration=a.duration;this.status.videoWidth=a.videoWidth;this.status.videoHeight=a.videoHeight;this.status.readyState=
63
+ 4;this.status.networkState=0;this.status.playbackRate=1;this.status.ended=!1},_updateButtons:function(a){a===f?a=!this.status.paused:this.status.paused=!a;this.css.jq.play.length&&this.css.jq.pause.length&&(a?(this.css.jq.play.hide(),this.css.jq.pause.show()):(this.css.jq.play.show(),this.css.jq.pause.hide()));this.css.jq.restoreScreen.length&&this.css.jq.fullScreen.length&&(this.status.noFullWindow?(this.css.jq.fullScreen.hide(),this.css.jq.restoreScreen.hide()):this.options.fullWindow?(this.css.jq.fullScreen.hide(),
64
+ this.css.jq.restoreScreen.show()):(this.css.jq.fullScreen.show(),this.css.jq.restoreScreen.hide()));this.css.jq.repeat.length&&this.css.jq.repeatOff.length&&(this.options.loop?(this.css.jq.repeat.hide(),this.css.jq.repeatOff.show()):(this.css.jq.repeat.show(),this.css.jq.repeatOff.hide()))},_updateInterface:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.width(this.status.seekPercent+"%");this.css.jq.playBar.length&&(this.options.smoothPlayBar?this.css.jq.playBar.stop().animate({width:this.status.currentPercentAbsolute+
65
+ "%"},250,"linear"):this.css.jq.playBar.width(this.status.currentPercentRelative+"%"));this.css.jq.currentTime.length&&this.css.jq.currentTime.text(this._convertTime(this.status.currentTime));this.css.jq.duration.length&&this.css.jq.duration.text(this._convertTime(this.status.duration))},_convertTime:m.prototype.time,_seeking:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.addClass("jp-seeking-bg")},_seeked:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.removeClass("jp-seeking-bg")},
66
+ _resetGate:function(){this.html.audio.gate=!1;this.html.video.gate=!1;this.flash.gate=!1},_resetActive:function(){this.html.active=!1;this.flash.active=!1},_escapeHtml:function(a){return a.split("&").join("&amp;").split("<").join("&lt;").split(">").join("&gt;").split('"').join("&quot;")},_qualifyURL:function(a){var c=document.createElement("div");c.innerHTML='<a href="'+this._escapeHtml(a)+'">x</a>';return c.firstChild.href},_absoluteMediaUrls:function(a){var c=this;b.each(a,function(b,e){c.format[b]&&
67
+ (a[b]=c._qualifyURL(e))});return a},setMedia:function(a){var c=this,d=!1,e=this.status.media.poster!==a.poster;this._resetMedia();this._resetGate();this._resetActive();a=this._absoluteMediaUrls(a);b.each(this.formats,function(e,f){var k="video"===c.format[f].media;b.each(c.solutions,function(b,e){if(c[e].support[f]&&c._validString(a[f])){var g="html"===e;k?(g?(c.html.video.gate=!0,c._html_setVideo(a),c.html.active=!0):(c.flash.gate=!0,c._flash_setVideo(a),c.flash.active=!0),c.css.jq.videoPlay.length&&
68
+ c.css.jq.videoPlay.show(),c.status.video=!0):(g?(c.html.audio.gate=!0,c._html_setAudio(a),c.html.active=!0):(c.flash.gate=!0,c._flash_setAudio(a),c.flash.active=!0),c.css.jq.videoPlay.length&&c.css.jq.videoPlay.hide(),c.status.video=!1);d=!0;return!1}});if(d)return!1});d?(this.status.nativeVideoControls&&this.html.video.gate||!this._validString(a.poster)||(e?this.htmlElement.poster.src=a.poster:this.internal.poster.jq.show()),this.status.srcSet=!0,this.status.media=b.extend({},a),this._updateButtons(!1),
69
+ this._updateInterface()):this._error({type:b.jPlayer.error.NO_SUPPORT,context:"{supplied:'"+this.options.supplied+"'}",message:b.jPlayer.errorMsg.NO_SUPPORT,hint:b.jPlayer.errorHint.NO_SUPPORT})},_resetMedia:function(){this._resetStatus();this._updateButtons(!1);this._updateInterface();this._seeked();this.internal.poster.jq.hide();clearTimeout(this.internal.htmlDlyCmdId);this.html.active?this._html_resetMedia():this.flash.active&&this._flash_resetMedia()},clearMedia:function(){this._resetMedia();
70
+ this.html.active?this._html_clearMedia():this.flash.active&&this._flash_clearMedia();this._resetGate();this._resetActive()},load:function(){this.status.srcSet?this.html.active?this._html_load():this.flash.active&&this._flash_load():this._urlNotSetError("load")},focus:function(){this.options.keyEnabled&&(b.jPlayer.focus=this)},play:function(a){a="number"===typeof a?a:NaN;this.status.srcSet?(this.focus(),this.html.active?this._html_play(a):this.flash.active&&this._flash_play(a)):this._urlNotSetError("play")},
71
+ videoPlay:function(){this.play()},pause:function(a){a="number"===typeof a?a:NaN;this.status.srcSet?this.html.active?this._html_pause(a):this.flash.active&&this._flash_pause(a):this._urlNotSetError("pause")},tellOthers:function(a,c){var d=this,e="function"===typeof c,g=Array.prototype.slice.call(arguments);"string"===typeof a&&(e&&g.splice(1,1),b.each(this.instances,function(){d.element!==this&&(e&&!c.call(this.data("jPlayer"),d)||this.jPlayer.apply(this,g))}))},pauseOthers:function(a){this.tellOthers("pause",
72
+ function(){return this.status.srcSet},a)},stop:function(){this.status.srcSet?this.html.active?this._html_pause(0):this.flash.active&&this._flash_pause(0):this._urlNotSetError("stop")},playHead:function(a){a=this._limitValue(a,0,100);this.status.srcSet?this.html.active?this._html_playHead(a):this.flash.active&&this._flash_playHead(a):this._urlNotSetError("playHead")},_muted:function(a){this.mutedWorker(a);this.options.globalVolume&&this.tellOthers("mutedWorker",function(){return this.options.globalVolume},
73
+ a)},mutedWorker:function(a){this.options.muted=a;this.html.used&&this._html_setProperty("muted",a);this.flash.used&&this._flash_mute(a);this.html.video.gate||this.html.audio.gate||(this._updateMute(a),this._updateVolume(this.options.volume),this._trigger(b.jPlayer.event.volumechange))},mute:function(a){a=a===f?!0:!!a;this._muted(a)},unmute:function(a){a=a===f?!0:!!a;this._muted(!a)},_updateMute:function(a){a===f&&(a=this.options.muted);this.css.jq.mute.length&&this.css.jq.unmute.length&&(this.status.noVolume?
74
+ (this.css.jq.mute.hide(),this.css.jq.unmute.hide()):a?(this.css.jq.mute.hide(),this.css.jq.unmute.show()):(this.css.jq.mute.show(),this.css.jq.unmute.hide()))},volume:function(a){this.volumeWorker(a);this.options.globalVolume&&this.tellOthers("volumeWorker",function(){return this.options.globalVolume},a)},volumeWorker:function(a){a=this._limitValue(a,0,1);this.options.volume=a;this.html.used&&this._html_setProperty("volume",a);this.flash.used&&this._flash_volume(a);this.html.video.gate||this.html.audio.gate||
75
+ (this._updateVolume(a),this._trigger(b.jPlayer.event.volumechange))},volumeBar:function(a){if(this.css.jq.volumeBar.length){var c=b(a.currentTarget),d=c.offset(),e=a.pageX-d.left,g=c.width();a=c.height()-a.pageY+d.top;c=c.height();this.options.verticalVolume?this.volume(a/c):this.volume(e/g)}this.options.muted&&this._muted(!1)},volumeBarValue:function(){},_updateVolume:function(a){a===f&&(a=this.options.volume);a=this.options.muted?0:a;this.status.noVolume?(this.css.jq.volumeBar.length&&this.css.jq.volumeBar.hide(),
76
+ this.css.jq.volumeBarValue.length&&this.css.jq.volumeBarValue.hide(),this.css.jq.volumeMax.length&&this.css.jq.volumeMax.hide()):(this.css.jq.volumeBar.length&&this.css.jq.volumeBar.show(),this.css.jq.volumeBarValue.length&&(this.css.jq.volumeBarValue.show(),this.css.jq.volumeBarValue[this.options.verticalVolume?"height":"width"](100*a+"%")),this.css.jq.volumeMax.length&&this.css.jq.volumeMax.show())},volumeMax:function(){this.volume(1);this.options.muted&&this._muted(!1)},_cssSelectorAncestor:function(a){var c=
77
+ this;this.options.cssSelectorAncestor=a;this._removeUiClass();this.ancestorJq=a?b(a):[];a&&1!==this.ancestorJq.length&&this._warning({type:b.jPlayer.warning.CSS_SELECTOR_COUNT,context:a,message:b.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.ancestorJq.length+" found for cssSelectorAncestor.",hint:b.jPlayer.warningHint.CSS_SELECTOR_COUNT});this._addUiClass();b.each(this.options.cssSelector,function(a,b){c._cssSelector(a,b)});this._updateInterface();this._updateButtons();this._updateAutohide();this._updateVolume();
78
+ this._updateMute()},_cssSelector:function(a,c){var d=this;"string"===typeof c?b.jPlayer.prototype.options.cssSelector[a]?(this.css.jq[a]&&this.css.jq[a].length&&this.css.jq[a].unbind(".jPlayer"),this.options.cssSelector[a]=c,this.css.cs[a]=this.options.cssSelectorAncestor+" "+c,this.css.jq[a]=c?b(this.css.cs[a]):[],this.css.jq[a].length&&this.css.jq[a].bind("click.jPlayer",function(c){c.preventDefault();d[a](c);b(this).blur()}),c&&1!==this.css.jq[a].length&&this._warning({type:b.jPlayer.warning.CSS_SELECTOR_COUNT,
79
+ context:this.css.cs[a],message:b.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.css.jq[a].length+" found for "+a+" method.",hint:b.jPlayer.warningHint.CSS_SELECTOR_COUNT})):this._warning({type:b.jPlayer.warning.CSS_SELECTOR_METHOD,context:a,message:b.jPlayer.warningMsg.CSS_SELECTOR_METHOD,hint:b.jPlayer.warningHint.CSS_SELECTOR_METHOD}):this._warning({type:b.jPlayer.warning.CSS_SELECTOR_STRING,context:c,message:b.jPlayer.warningMsg.CSS_SELECTOR_STRING,hint:b.jPlayer.warningHint.CSS_SELECTOR_STRING})},
80
+ seekBar:function(a){if(this.css.jq.seekBar.length){var c=b(a.currentTarget),d=c.offset();a=a.pageX-d.left;c=c.width();this.playHead(100*a/c)}},playBar:function(){},playbackRate:function(a){this._setOption("playbackRate",a)},playbackRateBar:function(a){if(this.css.jq.playbackRateBar.length){var c=b(a.currentTarget),d=c.offset(),e=a.pageX-d.left,g=c.width();a=c.height()-a.pageY+d.top;c=c.height();this.playbackRate((this.options.verticalPlaybackRate?a/c:e/g)*(this.options.maxPlaybackRate-this.options.minPlaybackRate)+
81
+ this.options.minPlaybackRate)}},playbackRateBarValue:function(){},_updatePlaybackRate:function(){var a=(this.options.playbackRate-this.options.minPlaybackRate)/(this.options.maxPlaybackRate-this.options.minPlaybackRate);this.status.playbackRateEnabled?(this.css.jq.playbackRateBar.length&&this.css.jq.playbackRateBar.show(),this.css.jq.playbackRateBarValue.length&&(this.css.jq.playbackRateBarValue.show(),this.css.jq.playbackRateBarValue[this.options.verticalPlaybackRate?"height":"width"](100*a+"%"))):
82
+ (this.css.jq.playbackRateBar.length&&this.css.jq.playbackRateBar.hide(),this.css.jq.playbackRateBarValue.length&&this.css.jq.playbackRateBarValue.hide())},repeat:function(){this._loop(!0)},repeatOff:function(){this._loop(!1)},_loop:function(a){this.options.loop!==a&&(this.options.loop=a,this._updateButtons(),this._trigger(b.jPlayer.event.repeat))},currentTime:function(){},duration:function(){},gui:function(){},noSolution:function(){},option:function(a,c){var d=a;if(0===arguments.length)return b.extend(!0,
83
+ {},this.options);if("string"===typeof a){var e=a.split(".");if(c===f){for(var d=b.extend(!0,{},this.options),g=0;g<e.length;g++)if(d[e[g]]!==f)d=d[e[g]];else return this._warning({type:b.jPlayer.warning.OPTION_KEY,context:a,message:b.jPlayer.warningMsg.OPTION_KEY,hint:b.jPlayer.warningHint.OPTION_KEY}),f;return d}for(var g=d={},h=0;h<e.length;h++)h<e.length-1?(g[e[h]]={},g=g[e[h]]):g[e[h]]=c}this._setOptions(d);return this},_setOptions:function(a){var c=this;b.each(a,function(a,b){c._setOption(a,
84
+ b)});return this},_setOption:function(a,c){var d=this;switch(a){case "volume":this.volume(c);break;case "muted":this._muted(c);break;case "globalVolume":this.options[a]=c;break;case "cssSelectorAncestor":this._cssSelectorAncestor(c);break;case "cssSelector":b.each(c,function(a,c){d._cssSelector(a,c)});break;case "playbackRate":this.options[a]=c=this._limitValue(c,this.options.minPlaybackRate,this.options.maxPlaybackRate);this.html.used&&this._html_setProperty("playbackRate",c);this._updatePlaybackRate();
85
+ break;case "defaultPlaybackRate":this.options[a]=c=this._limitValue(c,this.options.minPlaybackRate,this.options.maxPlaybackRate);this.html.used&&this._html_setProperty("defaultPlaybackRate",c);this._updatePlaybackRate();break;case "minPlaybackRate":this.options[a]=c=this._limitValue(c,0.1,this.options.maxPlaybackRate-0.1);this._updatePlaybackRate();break;case "maxPlaybackRate":this.options[a]=c=this._limitValue(c,this.options.minPlaybackRate+0.1,16);this._updatePlaybackRate();break;case "fullScreen":if(this.options[a]!==
86
+ c){var e=b.jPlayer.nativeFeatures.fullscreen.used.webkitVideo;if(!e||e&&!this.status.waitForPlay)e||(this.options[a]=c),c?this._requestFullscreen():this._exitFullscreen(),e||this._setOption("fullWindow",c)}break;case "fullWindow":this.options[a]!==c&&(this._removeUiClass(),this.options[a]=c,this._refreshSize());break;case "size":this.options.fullWindow||this.options[a].cssClass===c.cssClass||this._removeUiClass();this.options[a]=b.extend({},this.options[a],c);this._refreshSize();break;case "sizeFull":this.options.fullWindow&&
87
+ this.options[a].cssClass!==c.cssClass&&this._removeUiClass();this.options[a]=b.extend({},this.options[a],c);this._refreshSize();break;case "autohide":this.options[a]=b.extend({},this.options[a],c);this._updateAutohide();break;case "loop":this._loop(c);break;case "nativeVideoControls":this.options[a]=b.extend({},this.options[a],c);this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls);this._restrictNativeVideoControls();this._updateNativeVideoControls();break;case "noFullWindow":this.options[a]=
88
+ b.extend({},this.options[a],c);this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls);this.status.noFullWindow=this._uaBlocklist(this.options.noFullWindow);this._restrictNativeVideoControls();this._updateButtons();break;case "noVolume":this.options[a]=b.extend({},this.options[a],c);this.status.noVolume=this._uaBlocklist(this.options.noVolume);this._updateVolume();this._updateMute();break;case "emulateHtml":this.options[a]!==c&&((this.options[a]=c)?this._emulateHtmlBridge():
89
+ this._destroyHtmlBridge());break;case "timeFormat":this.options[a]=b.extend({},this.options[a],c);break;case "keyEnabled":this.options[a]=c;c||this!==b.jPlayer.focus||(b.jPlayer.focus=null);break;case "keyBindings":this.options[a]=b.extend(!0,{},this.options[a],c);break;case "audioFullScreen":this.options[a]=c}return this},_refreshSize:function(){this._setSize();this._addUiClass();this._updateSize();this._updateButtons();this._updateAutohide();this._trigger(b.jPlayer.event.resize)},_setSize:function(){this.options.fullWindow?
90
+ (this.status.width=this.options.sizeFull.width,this.status.height=this.options.sizeFull.height,this.status.cssClass=this.options.sizeFull.cssClass):(this.status.width=this.options.size.width,this.status.height=this.options.size.height,this.status.cssClass=this.options.size.cssClass);this.element.css({width:this.status.width,height:this.status.height})},_addUiClass:function(){this.ancestorJq.length&&this.ancestorJq.addClass(this.status.cssClass)},_removeUiClass:function(){this.ancestorJq.length&&this.ancestorJq.removeClass(this.status.cssClass)},
91
+ _updateSize:function(){this.internal.poster.jq.css({width:this.status.width,height:this.status.height});!this.status.waitForPlay&&this.html.active&&this.status.video||this.html.video.available&&this.html.used&&this.status.nativeVideoControls?this.internal.video.jq.css({width:this.status.width,height:this.status.height}):!this.status.waitForPlay&&this.flash.active&&this.status.video&&this.internal.flash.jq.css({width:this.status.width,height:this.status.height})},_updateAutohide:function(){var a=this,
92
+ c=function(){a.css.jq.gui.fadeIn(a.options.autohide.fadeIn,function(){clearTimeout(a.internal.autohideId);a.internal.autohideId=setTimeout(function(){a.css.jq.gui.fadeOut(a.options.autohide.fadeOut)},a.options.autohide.hold)})};this.css.jq.gui.length&&(this.css.jq.gui.stop(!0,!0),clearTimeout(this.internal.autohideId),this.element.unbind(".jPlayerAutohide"),this.css.jq.gui.unbind(".jPlayerAutohide"),this.status.nativeVideoControls?this.css.jq.gui.hide():this.options.fullWindow&&this.options.autohide.full||
93
+ !this.options.fullWindow&&this.options.autohide.restored?(this.element.bind("mousemove.jPlayer.jPlayerAutohide",c),this.css.jq.gui.bind("mousemove.jPlayer.jPlayerAutohide",c),this.css.jq.gui.hide()):this.css.jq.gui.show())},fullScreen:function(){this._setOption("fullScreen",!0)},restoreScreen:function(){this._setOption("fullScreen",!1)},_fullscreenAddEventListeners:function(){var a=this,c=b.jPlayer.nativeFeatures.fullscreen;c.api.fullscreenEnabled&&c.event.fullscreenchange&&("function"!==typeof this.internal.fullscreenchangeHandler&&
94
+ (this.internal.fullscreenchangeHandler=function(){a._fullscreenchange()}),document.addEventListener(c.event.fullscreenchange,this.internal.fullscreenchangeHandler,!1))},_fullscreenRemoveEventListeners:function(){var a=b.jPlayer.nativeFeatures.fullscreen;this.internal.fullscreenchangeHandler&&document.addEventListener(a.event.fullscreenchange,this.internal.fullscreenchangeHandler,!1)},_fullscreenchange:function(){this.options.fullScreen&&!b.jPlayer.nativeFeatures.fullscreen.api.fullscreenElement()&&
95
+ this._setOption("fullScreen",!1)},_requestFullscreen:function(){var a=this.ancestorJq.length?this.ancestorJq[0]:this.element[0],c=b.jPlayer.nativeFeatures.fullscreen;c.used.webkitVideo&&(a=this.htmlElement.video);c.api.fullscreenEnabled&&c.api.requestFullscreen(a)},_exitFullscreen:function(){var a=b.jPlayer.nativeFeatures.fullscreen,c;a.used.webkitVideo&&(c=this.htmlElement.video);a.api.fullscreenEnabled&&a.api.exitFullscreen(c)},_html_initMedia:function(a){var c=b(this.htmlElement.media).empty();
96
+ b.each(a.track||[],function(a,b){var g=document.createElement("track");g.setAttribute("kind",b.kind?b.kind:"");g.setAttribute("src",b.src?b.src:"");g.setAttribute("srclang",b.srclang?b.srclang:"");g.setAttribute("label",b.label?b.label:"");b.def&&g.setAttribute("default",b.def);c.append(g)});this.htmlElement.media.src=this.status.src;"none"!==this.options.preload&&this._html_load();this._trigger(b.jPlayer.event.timeupdate)},_html_setFormat:function(a){var c=this;b.each(this.formats,function(b,e){if(c.html.support[e]&&
97
+ a[e])return c.status.src=a[e],c.status.format[e]=!0,c.status.formatType=e,!1})},_html_setAudio:function(a){this._html_setFormat(a);this.htmlElement.media=this.htmlElement.audio;this._html_initMedia(a)},_html_setVideo:function(a){this._html_setFormat(a);this.status.nativeVideoControls&&(this.htmlElement.video.poster=this._validString(a.poster)?a.poster:"");this.htmlElement.media=this.htmlElement.video;this._html_initMedia(a)},_html_resetMedia:function(){this.htmlElement.media&&(this.htmlElement.media.id!==
98
+ this.internal.video.id||this.status.nativeVideoControls||this.internal.video.jq.css({width:"0px",height:"0px"}),this.htmlElement.media.pause())},_html_clearMedia:function(){this.htmlElement.media&&(this.htmlElement.media.src="about:blank",this.htmlElement.media.load())},_html_load:function(){this.status.waitForLoad&&(this.status.waitForLoad=!1,this.htmlElement.media.load());clearTimeout(this.internal.htmlDlyCmdId)},_html_play:function(a){var b=this,d=this.htmlElement.media;this._html_load();if(isNaN(a))d.play();
99
+ else{this.internal.cmdsIgnored&&d.play();try{if(!d.seekable||"object"===typeof d.seekable&&0<d.seekable.length)d.currentTime=a,d.play();else throw 1;}catch(e){this.internal.htmlDlyCmdId=setTimeout(function(){b.play(a)},250);return}}this._html_checkWaitForPlay()},_html_pause:function(a){var b=this,d=this.htmlElement.media;0<a?this._html_load():clearTimeout(this.internal.htmlDlyCmdId);d.pause();if(!isNaN(a))try{if(!d.seekable||"object"===typeof d.seekable&&0<d.seekable.length)d.currentTime=a;else throw 1;
100
+ }catch(e){this.internal.htmlDlyCmdId=setTimeout(function(){b.pause(a)},250);return}0<a&&this._html_checkWaitForPlay()},_html_playHead:function(a){var b=this,d=this.htmlElement.media;this._html_load();try{if("object"===typeof d.seekable&&0<d.seekable.length)d.currentTime=a*d.seekable.end(d.seekable.length-1)/100;else if(0<d.duration&&!isNaN(d.duration))d.currentTime=a*d.duration/100;else throw"e";}catch(e){this.internal.htmlDlyCmdId=setTimeout(function(){b.playHead(a)},250);return}this.status.waitForLoad||
101
+ this._html_checkWaitForPlay()},_html_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1,this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),this.status.video&&(this.internal.poster.jq.hide(),this.internal.video.jq.css({width:this.status.width,height:this.status.height})))},_html_setProperty:function(a,b){this.html.audio.available&&(this.htmlElement.audio[a]=b);this.html.video.available&&(this.htmlElement.video[a]=b)},_flash_setAudio:function(a){var c=this;try{b.each(this.formats,
102
+ function(b,d){if(c.flash.support[d]&&a[d]){switch(d){case "m4a":case "fla":c._getMovie().fl_setAudio_m4a(a[d]);break;case "mp3":c._getMovie().fl_setAudio_mp3(a[d]);break;case "rtmpa":c._getMovie().fl_setAudio_rtmp(a[d])}c.status.src=a[d];c.status.format[d]=!0;c.status.formatType=d;return!1}}),"auto"===this.options.preload&&(this._flash_load(),this.status.waitForLoad=!1)}catch(d){this._flashError(d)}},_flash_setVideo:function(a){var c=this;try{b.each(this.formats,function(b,d){if(c.flash.support[d]&&
103
+ a[d]){switch(d){case "m4v":case "flv":c._getMovie().fl_setVideo_m4v(a[d]);break;case "rtmpv":c._getMovie().fl_setVideo_rtmp(a[d])}c.status.src=a[d];c.status.format[d]=!0;c.status.formatType=d;return!1}}),"auto"===this.options.preload&&(this._flash_load(),this.status.waitForLoad=!1)}catch(d){this._flashError(d)}},_flash_resetMedia:function(){this.internal.flash.jq.css({width:"0px",height:"0px"});this._flash_pause(NaN)},_flash_clearMedia:function(){try{this._getMovie().fl_clearMedia()}catch(a){this._flashError(a)}},
104
+ _flash_load:function(){try{this._getMovie().fl_load()}catch(a){this._flashError(a)}this.status.waitForLoad=!1},_flash_play:function(a){try{this._getMovie().fl_play(a)}catch(b){this._flashError(b)}this.status.waitForLoad=!1;this._flash_checkWaitForPlay()},_flash_pause:function(a){try{this._getMovie().fl_pause(a)}catch(b){this._flashError(b)}0<a&&(this.status.waitForLoad=!1,this._flash_checkWaitForPlay())},_flash_playHead:function(a){try{this._getMovie().fl_play_head(a)}catch(b){this._flashError(b)}this.status.waitForLoad||
105
+ this._flash_checkWaitForPlay()},_flash_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1,this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),this.status.video&&(this.internal.poster.jq.hide(),this.internal.flash.jq.css({width:this.status.width,height:this.status.height})))},_flash_volume:function(a){try{this._getMovie().fl_volume(a)}catch(b){this._flashError(b)}},_flash_mute:function(a){try{this._getMovie().fl_mute(a)}catch(b){this._flashError(b)}},_getMovie:function(){return document[this.internal.flash.id]},
106
+ _getFlashPluginVersion:function(){var a=0,b;if(window.ActiveXObject)try{if(b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")){var d=b.GetVariable("$version");d&&(d=d.split(" ")[1].split(","),a=parseInt(d[0],10)+"."+parseInt(d[1],10))}}catch(e){}else navigator.plugins&&0<navigator.mimeTypes.length&&(b=navigator.plugins["Shockwave Flash"])&&(a=navigator.plugins["Shockwave Flash"].description.replace(/.*\s(\d+\.\d+).*/,"$1"));return 1*a},_checkForFlash:function(a){var b=!1;this._getFlashPluginVersion()>=
107
+ a&&(b=!0);return b},_validString:function(a){return a&&"string"===typeof a},_limitValue:function(a,b,d){return a<b?b:a>d?d:a},_urlNotSetError:function(a){this._error({type:b.jPlayer.error.URL_NOT_SET,context:a,message:b.jPlayer.errorMsg.URL_NOT_SET,hint:b.jPlayer.errorHint.URL_NOT_SET})},_flashError:function(a){var c;c=this.internal.ready?"FLASH_DISABLED":"FLASH";this._error({type:b.jPlayer.error[c],context:this.internal.flash.swf,message:b.jPlayer.errorMsg[c]+a.message,hint:b.jPlayer.errorHint[c]});
108
+ this.internal.flash.jq.css({width:"1px",height:"1px"})},_error:function(a){this._trigger(b.jPlayer.event.error,a);this.options.errorAlerts&&this._alert("Error!"+(a.message?"\n"+a.message:"")+(a.hint?"\n"+a.hint:"")+"\nContext: "+a.context)},_warning:function(a){this._trigger(b.jPlayer.event.warning,f,a);this.options.warningAlerts&&this._alert("Warning!"+(a.message?"\n"+a.message:"")+(a.hint?"\n"+a.hint:"")+"\nContext: "+a.context)},_alert:function(a){a="jPlayer "+this.version.script+" : id='"+this.internal.self.id+
109
+ "' : "+a;this.options.consoleAlerts?console&&console.log&&console.log(a):alert(a)},_emulateHtmlBridge:function(){var a=this;b.each(b.jPlayer.emulateMethods.split(/\s+/g),function(b,d){a.internal.domNode[d]=function(b){a[d](b)}});b.each(b.jPlayer.event,function(c,d){var e=!0;b.each(b.jPlayer.reservedEvent.split(/\s+/g),function(a,b){if(b===c)return e=!1});e&&a.element.bind(d+".jPlayer.jPlayerHtml",function(){a._emulateHtmlUpdate();var b=document.createEvent("Event");b.initEvent(c,!1,!0);a.internal.domNode.dispatchEvent(b)})})},
110
+ _emulateHtmlUpdate:function(){var a=this;b.each(b.jPlayer.emulateStatus.split(/\s+/g),function(b,d){a.internal.domNode[d]=a.status[d]});b.each(b.jPlayer.emulateOptions.split(/\s+/g),function(b,d){a.internal.domNode[d]=a.options[d]})},_destroyHtmlBridge:function(){var a=this;this.element.unbind(".jPlayerHtml");b.each((b.jPlayer.emulateMethods+" "+b.jPlayer.emulateStatus+" "+b.jPlayer.emulateOptions).split(/\s+/g),function(b,d){delete a.internal.domNode[d]})}};b.jPlayer.error={FLASH:"e_flash",FLASH_DISABLED:"e_flash_disabled",
111
+ NO_SOLUTION:"e_no_solution",NO_SUPPORT:"e_no_support",URL:"e_url",URL_NOT_SET:"e_url_not_set",VERSION:"e_version"};b.jPlayer.errorMsg={FLASH:"jPlayer's Flash fallback is not configured correctly, or a command was issued before the jPlayer Ready event. Details: ",FLASH_DISABLED:"jPlayer's Flash fallback has been disabled by the browser due to the CSS rules you have used. Details: ",NO_SOLUTION:"No solution can be found by jPlayer in this browser. Neither HTML nor Flash can be used.",NO_SUPPORT:"It is not possible to play any media format provided in setMedia() on this browser using your current options.",
112
+ URL:"Media URL could not be loaded.",URL_NOT_SET:"Attempt to issue media playback commands, while no media url is set.",VERSION:"jPlayer "+b.jPlayer.prototype.version.script+" needs Jplayer.swf version "+b.jPlayer.prototype.version.needFlash+" but found "};b.jPlayer.errorHint={FLASH:"Check your swfPath option and that Jplayer.swf is there.",FLASH_DISABLED:"Check that you have not display:none; the jPlayer entity or any ancestor.",NO_SOLUTION:"Review the jPlayer options: support and supplied.",NO_SUPPORT:"Video or audio formats defined in the supplied option are missing.",
113
+ URL:"Check media URL is valid.",URL_NOT_SET:"Use setMedia() to set the media URL.",VERSION:"Update jPlayer files."};b.jPlayer.warning={CSS_SELECTOR_COUNT:"e_css_selector_count",CSS_SELECTOR_METHOD:"e_css_selector_method",CSS_SELECTOR_STRING:"e_css_selector_string",OPTION_KEY:"e_option_key"};b.jPlayer.warningMsg={CSS_SELECTOR_COUNT:"The number of css selectors found did not equal one: ",CSS_SELECTOR_METHOD:"The methodName given in jPlayer('cssSelector') is not a valid jPlayer method.",CSS_SELECTOR_STRING:"The methodCssSelector given in jPlayer('cssSelector') is not a String or is empty.",
114
+ OPTION_KEY:"The option requested in jPlayer('option') is undefined."};b.jPlayer.warningHint={CSS_SELECTOR_COUNT:"Check your css selector and the ancestor.",CSS_SELECTOR_METHOD:"Check your method name.",CSS_SELECTOR_STRING:"Check your css selector is a string.",OPTION_KEY:"Check your option name."}});
js/jquery.js CHANGED
@@ -1,167 +1,167 @@
1
- /*!
2
- * jQuery JavaScript Library v1.4.4
3
- * http://jquery.com/
4
- *
5
- * Copyright 2010, John Resig
6
- * Dual licensed under the MIT or GPL Version 2 licenses.
7
- * http://jquery.org/license
8
- *
9
- * Includes Sizzle.js
10
- * http://sizzlejs.com/
11
- * Copyright 2010, The Dojo Foundation
12
- * Released under the MIT, BSD, and GPL Licenses.
13
- *
14
- * Date: Thu Nov 11 19:04:53 2010 -0500
15
- */
16
- (function(E,B){function ka(a,b,d){if(d===B&&a.nodeType===1){d=a.getAttribute("data-"+b);if(typeof d==="string"){try{d=d==="true"?true:d==="false"?false:d==="null"?null:!c.isNaN(d)?parseFloat(d):Ja.test(d)?c.parseJSON(d):d}catch(e){}c.data(a,b,d)}else d=B}return d}function U(){return false}function ca(){return true}function la(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function Ka(a){var b,d,e,f,h,l,k,o,x,r,A,C=[];f=[];h=c.data(this,this.nodeType?"events":"__events__");if(typeof h==="function")h=
17
- h.events;if(!(a.liveFired===this||!h||!h.live||a.button&&a.type==="click")){if(a.namespace)A=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)");a.liveFired=this;var J=h.live.slice(0);for(k=0;k<J.length;k++){h=J[k];h.origType.replace(X,"")===a.type?f.push(h.selector):J.splice(k--,1)}f=c(a.target).closest(f,a.currentTarget);o=0;for(x=f.length;o<x;o++){r=f[o];for(k=0;k<J.length;k++){h=J[k];if(r.selector===h.selector&&(!A||A.test(h.namespace))){l=r.elem;e=null;if(h.preType==="mouseenter"||
18
- h.preType==="mouseleave"){a.type=h.preType;e=c(a.relatedTarget).closest(h.selector)[0]}if(!e||e!==l)C.push({elem:l,handleObj:h,level:r.level})}}}o=0;for(x=C.length;o<x;o++){f=C[o];if(d&&f.level>d)break;a.currentTarget=f.elem;a.data=f.handleObj.data;a.handleObj=f.handleObj;A=f.handleObj.origHandler.apply(f.elem,arguments);if(A===false||a.isPropagationStopped()){d=f.level;if(A===false)b=false;if(a.isImmediatePropagationStopped())break}}return b}}function Y(a,b){return(a&&a!=="*"?a+".":"")+b.replace(La,
19
- "`").replace(Ma,"&")}function ma(a,b,d){if(c.isFunction(b))return c.grep(a,function(f,h){return!!b.call(f,h,f)===d});else if(b.nodeType)return c.grep(a,function(f){return f===b===d});else if(typeof b==="string"){var e=c.grep(a,function(f){return f.nodeType===1});if(Na.test(b))return c.filter(b,e,!d);else b=c.filter(b,e)}return c.grep(a,function(f){return c.inArray(f,b)>=0===d})}function na(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var e=c.data(a[d++]),f=c.data(this,
20
- e);if(e=e&&e.events){delete f.handle;f.events={};for(var h in e)for(var l in e[h])c.event.add(this,h,e[h][l],e[h][l].data)}}})}function Oa(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function oa(a,b,d){var e=b==="width"?a.offsetWidth:a.offsetHeight;if(d==="border")return e;c.each(b==="width"?Pa:Qa,function(){d||(e-=parseFloat(c.css(a,"padding"+this))||0);if(d==="margin")e+=parseFloat(c.css(a,
21
- "margin"+this))||0;else e-=parseFloat(c.css(a,"border"+this+"Width"))||0});return e}function da(a,b,d,e){if(c.isArray(b)&&b.length)c.each(b,function(f,h){d||Ra.test(a)?e(a,h):da(a+"["+(typeof h==="object"||c.isArray(h)?f:"")+"]",h,d,e)});else if(!d&&b!=null&&typeof b==="object")c.isEmptyObject(b)?e(a,""):c.each(b,function(f,h){da(a+"["+f+"]",h,d,e)});else e(a,b)}function S(a,b){var d={};c.each(pa.concat.apply([],pa.slice(0,b)),function(){d[this]=a});return d}function qa(a){if(!ea[a]){var b=c("<"+
22
- a+">").appendTo("body"),d=b.css("display");b.remove();if(d==="none"||d==="")d="block";ea[a]=d}return ea[a]}function fa(a){return c.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var t=E.document,c=function(){function a(){if(!b.isReady){try{t.documentElement.doScroll("left")}catch(j){setTimeout(a,1);return}b.ready()}}var b=function(j,s){return new b.fn.init(j,s)},d=E.jQuery,e=E.$,f,h=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,l=/\S/,k=/^\s+/,o=/\s+$/,x=/\W/,r=/\d/,A=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,
23
- C=/^[\],:{}\s]*$/,J=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,w=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,I=/(?:^|:|,)(?:\s*\[)+/g,L=/(webkit)[ \/]([\w.]+)/,g=/(opera)(?:.*version)?[ \/]([\w.]+)/,i=/(msie) ([\w.]+)/,n=/(mozilla)(?:.*? rv:([\w.]+))?/,m=navigator.userAgent,p=false,q=[],u,y=Object.prototype.toString,F=Object.prototype.hasOwnProperty,M=Array.prototype.push,N=Array.prototype.slice,O=String.prototype.trim,D=Array.prototype.indexOf,R={};b.fn=b.prototype={init:function(j,
24
- s){var v,z,H;if(!j)return this;if(j.nodeType){this.context=this[0]=j;this.length=1;return this}if(j==="body"&&!s&&t.body){this.context=t;this[0]=t.body;this.selector="body";this.length=1;return this}if(typeof j==="string")if((v=h.exec(j))&&(v[1]||!s))if(v[1]){H=s?s.ownerDocument||s:t;if(z=A.exec(j))if(b.isPlainObject(s)){j=[t.createElement(z[1])];b.fn.attr.call(j,s,true)}else j=[H.createElement(z[1])];else{z=b.buildFragment([v[1]],[H]);j=(z.cacheable?z.fragment.cloneNode(true):z.fragment).childNodes}return b.merge(this,
25
- j)}else{if((z=t.getElementById(v[2]))&&z.parentNode){if(z.id!==v[2])return f.find(j);this.length=1;this[0]=z}this.context=t;this.selector=j;return this}else if(!s&&!x.test(j)){this.selector=j;this.context=t;j=t.getElementsByTagName(j);return b.merge(this,j)}else return!s||s.jquery?(s||f).find(j):b(s).find(j);else if(b.isFunction(j))return f.ready(j);if(j.selector!==B){this.selector=j.selector;this.context=j.context}return b.makeArray(j,this)},selector:"",jquery:"1.4.4",length:0,size:function(){return this.length},
26
- toArray:function(){return N.call(this,0)},get:function(j){return j==null?this.toArray():j<0?this.slice(j)[0]:this[j]},pushStack:function(j,s,v){var z=b();b.isArray(j)?M.apply(z,j):b.merge(z,j);z.prevObject=this;z.context=this.context;if(s==="find")z.selector=this.selector+(this.selector?" ":"")+v;else if(s)z.selector=this.selector+"."+s+"("+v+")";return z},each:function(j,s){return b.each(this,j,s)},ready:function(j){b.bindReady();if(b.isReady)j.call(t,b);else q&&q.push(j);return this},eq:function(j){return j===
27
- -1?this.slice(j):this.slice(j,+j+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(N.apply(this,arguments),"slice",N.call(arguments).join(","))},map:function(j){return this.pushStack(b.map(this,function(s,v){return j.call(s,v,s)}))},end:function(){return this.prevObject||b(null)},push:M,sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var j,s,v,z,H,G=arguments[0]||{},K=1,Q=arguments.length,ga=false;
28
- if(typeof G==="boolean"){ga=G;G=arguments[1]||{};K=2}if(typeof G!=="object"&&!b.isFunction(G))G={};if(Q===K){G=this;--K}for(;K<Q;K++)if((j=arguments[K])!=null)for(s in j){v=G[s];z=j[s];if(G!==z)if(ga&&z&&(b.isPlainObject(z)||(H=b.isArray(z)))){if(H){H=false;v=v&&b.isArray(v)?v:[]}else v=v&&b.isPlainObject(v)?v:{};G[s]=b.extend(ga,v,z)}else if(z!==B)G[s]=z}return G};b.extend({noConflict:function(j){E.$=e;if(j)E.jQuery=d;return b},isReady:false,readyWait:1,ready:function(j){j===true&&b.readyWait--;
29
- if(!b.readyWait||j!==true&&!b.isReady){if(!t.body)return setTimeout(b.ready,1);b.isReady=true;if(!(j!==true&&--b.readyWait>0))if(q){var s=0,v=q;for(q=null;j=v[s++];)j.call(t,b);b.fn.trigger&&b(t).trigger("ready").unbind("ready")}}},bindReady:function(){if(!p){p=true;if(t.readyState==="complete")return setTimeout(b.ready,1);if(t.addEventListener){t.addEventListener("DOMContentLoaded",u,false);E.addEventListener("load",b.ready,false)}else if(t.attachEvent){t.attachEvent("onreadystatechange",u);E.attachEvent("onload",
30
- b.ready);var j=false;try{j=E.frameElement==null}catch(s){}t.documentElement.doScroll&&j&&a()}}},isFunction:function(j){return b.type(j)==="function"},isArray:Array.isArray||function(j){return b.type(j)==="array"},isWindow:function(j){return j&&typeof j==="object"&&"setInterval"in j},isNaN:function(j){return j==null||!r.test(j)||isNaN(j)},type:function(j){return j==null?String(j):R[y.call(j)]||"object"},isPlainObject:function(j){if(!j||b.type(j)!=="object"||j.nodeType||b.isWindow(j))return false;if(j.constructor&&
31
- !F.call(j,"constructor")&&!F.call(j.constructor.prototype,"isPrototypeOf"))return false;for(var s in j);return s===B||F.call(j,s)},isEmptyObject:function(j){for(var s in j)return false;return true},error:function(j){throw j;},parseJSON:function(j){if(typeof j!=="string"||!j)return null;j=b.trim(j);if(C.test(j.replace(J,"@").replace(w,"]").replace(I,"")))return E.JSON&&E.JSON.parse?E.JSON.parse(j):(new Function("return "+j))();else b.error("Invalid JSON: "+j)},noop:function(){},globalEval:function(j){if(j&&
32
- l.test(j)){var s=t.getElementsByTagName("head")[0]||t.documentElement,v=t.createElement("script");v.type="text/javascript";if(b.support.scriptEval)v.appendChild(t.createTextNode(j));else v.text=j;s.insertBefore(v,s.firstChild);s.removeChild(v)}},nodeName:function(j,s){return j.nodeName&&j.nodeName.toUpperCase()===s.toUpperCase()},each:function(j,s,v){var z,H=0,G=j.length,K=G===B||b.isFunction(j);if(v)if(K)for(z in j){if(s.apply(j[z],v)===false)break}else for(;H<G;){if(s.apply(j[H++],v)===false)break}else if(K)for(z in j){if(s.call(j[z],
33
- z,j[z])===false)break}else for(v=j[0];H<G&&s.call(v,H,v)!==false;v=j[++H]);return j},trim:O?function(j){return j==null?"":O.call(j)}:function(j){return j==null?"":j.toString().replace(k,"").replace(o,"")},makeArray:function(j,s){var v=s||[];if(j!=null){var z=b.type(j);j.length==null||z==="string"||z==="function"||z==="regexp"||b.isWindow(j)?M.call(v,j):b.merge(v,j)}return v},inArray:function(j,s){if(s.indexOf)return s.indexOf(j);for(var v=0,z=s.length;v<z;v++)if(s[v]===j)return v;return-1},merge:function(j,
34
- s){var v=j.length,z=0;if(typeof s.length==="number")for(var H=s.length;z<H;z++)j[v++]=s[z];else for(;s[z]!==B;)j[v++]=s[z++];j.length=v;return j},grep:function(j,s,v){var z=[],H;v=!!v;for(var G=0,K=j.length;G<K;G++){H=!!s(j[G],G);v!==H&&z.push(j[G])}return z},map:function(j,s,v){for(var z=[],H,G=0,K=j.length;G<K;G++){H=s(j[G],G,v);if(H!=null)z[z.length]=H}return z.concat.apply([],z)},guid:1,proxy:function(j,s,v){if(arguments.length===2)if(typeof s==="string"){v=j;j=v[s];s=B}else if(s&&!b.isFunction(s)){v=
35
- s;s=B}if(!s&&j)s=function(){return j.apply(v||this,arguments)};if(j)s.guid=j.guid=j.guid||s.guid||b.guid++;return s},access:function(j,s,v,z,H,G){var K=j.length;if(typeof s==="object"){for(var Q in s)b.access(j,Q,s[Q],z,H,v);return j}if(v!==B){z=!G&&z&&b.isFunction(v);for(Q=0;Q<K;Q++)H(j[Q],s,z?v.call(j[Q],Q,H(j[Q],s)):v,G);return j}return K?H(j[0],s):B},now:function(){return(new Date).getTime()},uaMatch:function(j){j=j.toLowerCase();j=L.exec(j)||g.exec(j)||i.exec(j)||j.indexOf("compatible")<0&&n.exec(j)||
36
- [];return{browser:j[1]||"",version:j[2]||"0"}},browser:{}});b.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(j,s){R["[object "+s+"]"]=s.toLowerCase()});m=b.uaMatch(m);if(m.browser){b.browser[m.browser]=true;b.browser.version=m.version}if(b.browser.webkit)b.browser.safari=true;if(D)b.inArray=function(j,s){return D.call(s,j)};if(!/\s/.test("\u00a0")){k=/^[\s\xA0]+/;o=/[\s\xA0]+$/}f=b(t);if(t.addEventListener)u=function(){t.removeEventListener("DOMContentLoaded",u,
37
- false);b.ready()};else if(t.attachEvent)u=function(){if(t.readyState==="complete"){t.detachEvent("onreadystatechange",u);b.ready()}};return E.jQuery=E.$=b}();(function(){c.support={};var a=t.documentElement,b=t.createElement("script"),d=t.createElement("div"),e="script"+c.now();d.style.display="none";d.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var f=d.getElementsByTagName("*"),h=d.getElementsByTagName("a")[0],l=t.createElement("select"),
38
- k=l.appendChild(t.createElement("option"));if(!(!f||!f.length||!h)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(h.getAttribute("style")),hrefNormalized:h.getAttribute("href")==="/a",opacity:/^0.55$/.test(h.style.opacity),cssFloat:!!h.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:k.selected,deleteExpando:true,optDisabled:false,checkClone:false,
39
- scriptEval:false,noCloneEvent:true,boxModel:null,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableHiddenOffsets:true};l.disabled=true;c.support.optDisabled=!k.disabled;b.type="text/javascript";try{b.appendChild(t.createTextNode("window."+e+"=1;"))}catch(o){}a.insertBefore(b,a.firstChild);if(E[e]){c.support.scriptEval=true;delete E[e]}try{delete b.test}catch(x){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function r(){c.support.noCloneEvent=
40
- false;d.detachEvent("onclick",r)});d.cloneNode(true).fireEvent("onclick")}d=t.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=t.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var r=t.createElement("div");r.style.width=r.style.paddingLeft="1px";t.body.appendChild(r);c.boxModel=c.support.boxModel=r.offsetWidth===2;if("zoom"in r.style){r.style.display="inline";r.style.zoom=
41
- 1;c.support.inlineBlockNeedsLayout=r.offsetWidth===2;r.style.display="";r.innerHTML="<div style='width:4px;'></div>";c.support.shrinkWrapBlocks=r.offsetWidth!==2}r.innerHTML="<table><tr><td style='padding:0;display:none'></td><td>t</td></tr></table>";var A=r.getElementsByTagName("td");c.support.reliableHiddenOffsets=A[0].offsetHeight===0;A[0].style.display="";A[1].style.display="none";c.support.reliableHiddenOffsets=c.support.reliableHiddenOffsets&&A[0].offsetHeight===0;r.innerHTML="";t.body.removeChild(r).style.display=
42
- "none"});a=function(r){var A=t.createElement("div");r="on"+r;var C=r in A;if(!C){A.setAttribute(r,"return;");C=typeof A[r]==="function"}return C};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=f=h=null}})();var ra={},Ja=/^(?:\{.*\}|\[.*\])$/;c.extend({cache:{},uuid:0,expando:"jQuery"+c.now(),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},data:function(a,b,d){if(c.acceptData(a)){a=a==E?ra:a;var e=a.nodeType,f=e?a[c.expando]:null,h=
43
- c.cache;if(!(e&&!f&&typeof b==="string"&&d===B)){if(e)f||(a[c.expando]=f=++c.uuid);else h=a;if(typeof b==="object")if(e)h[f]=c.extend(h[f],b);else c.extend(h,b);else if(e&&!h[f])h[f]={};a=e?h[f]:h;if(d!==B)a[b]=d;return typeof b==="string"?a[b]:a}}},removeData:function(a,b){if(c.acceptData(a)){a=a==E?ra:a;var d=a.nodeType,e=d?a[c.expando]:a,f=c.cache,h=d?f[e]:e;if(b){if(h){delete h[b];d&&c.isEmptyObject(h)&&c.removeData(a)}}else if(d&&c.support.deleteExpando)delete a[c.expando];else if(a.removeAttribute)a.removeAttribute(c.expando);
44
- else if(d)delete f[e];else for(var l in a)delete a[l]}},acceptData:function(a){if(a.nodeName){var b=c.noData[a.nodeName.toLowerCase()];if(b)return!(b===true||a.getAttribute("classid")!==b)}return true}});c.fn.extend({data:function(a,b){var d=null;if(typeof a==="undefined"){if(this.length){var e=this[0].attributes,f;d=c.data(this[0]);for(var h=0,l=e.length;h<l;h++){f=e[h].name;if(f.indexOf("data-")===0){f=f.substr(5);ka(this[0],f,d[f])}}}return d}else if(typeof a==="object")return this.each(function(){c.data(this,
45
- a)});var k=a.split(".");k[1]=k[1]?"."+k[1]:"";if(b===B){d=this.triggerHandler("getData"+k[1]+"!",[k[0]]);if(d===B&&this.length){d=c.data(this[0],a);d=ka(this[0],a,d)}return d===B&&k[1]?this.data(k[0]):d}else return this.each(function(){var o=c(this),x=[k[0],b];o.triggerHandler("setData"+k[1]+"!",x);c.data(this,a,b);o.triggerHandler("changeData"+k[1]+"!",x)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var e=
46
- c.data(a,b);if(!d)return e||[];if(!e||c.isArray(d))e=c.data(a,b,c.makeArray(d));else e.push(d);return e}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),e=d.shift();if(e==="inprogress")e=d.shift();if(e){b==="fx"&&d.unshift("inprogress");e.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===B)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,
47
- a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var sa=/[\n\t]/g,ha=/\s+/,Sa=/\r/g,Ta=/^(?:href|src|style)$/,Ua=/^(?:button|input)$/i,Va=/^(?:button|input|object|select|textarea)$/i,Wa=/^a(?:rea)?$/i,ta=/^(?:radio|checkbox)$/i;c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",
48
- colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};c.fn.extend({attr:function(a,b){return c.access(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(x){var r=c(this);r.addClass(a.call(this,x,r.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ha),d=0,e=this.length;d<e;d++){var f=this[d];if(f.nodeType===
49
- 1)if(f.className){for(var h=" "+f.className+" ",l=f.className,k=0,o=b.length;k<o;k++)if(h.indexOf(" "+b[k]+" ")<0)l+=" "+b[k];f.className=c.trim(l)}else f.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(o){var x=c(this);x.removeClass(a.call(this,o,x.attr("class")))});if(a&&typeof a==="string"||a===B)for(var b=(a||"").split(ha),d=0,e=this.length;d<e;d++){var f=this[d];if(f.nodeType===1&&f.className)if(a){for(var h=(" "+f.className+" ").replace(sa," "),
50
- l=0,k=b.length;l<k;l++)h=h.replace(" "+b[l]+" "," ");f.className=c.trim(h)}else f.className=""}return this},toggleClass:function(a,b){var d=typeof a,e=typeof b==="boolean";if(c.isFunction(a))return this.each(function(f){var h=c(this);h.toggleClass(a.call(this,f,h.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var f,h=0,l=c(this),k=b,o=a.split(ha);f=o[h++];){k=e?k:!l.hasClass(f);l[k?"addClass":"removeClass"](f)}else if(d==="undefined"||d==="boolean"){this.className&&c.data(this,
51
- "__className__",this.className);this.className=this.className||a===false?"":c.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,d=this.length;b<d;b++)if((" "+this[b].className+" ").replace(sa," ").indexOf(a)>-1)return true;return false},val:function(a){if(!arguments.length){var b=this[0];if(b){if(c.nodeName(b,"option")){var d=b.attributes.value;return!d||d.specified?b.value:b.text}if(c.nodeName(b,"select")){var e=b.selectedIndex;d=[];var f=b.options;b=b.type==="select-one";
52
- if(e<0)return null;var h=b?e:0;for(e=b?e+1:f.length;h<e;h++){var l=f[h];if(l.selected&&(c.support.optDisabled?!l.disabled:l.getAttribute("disabled")===null)&&(!l.parentNode.disabled||!c.nodeName(l.parentNode,"optgroup"))){a=c(l).val();if(b)return a;d.push(a)}}return d}if(ta.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Sa,"")}return B}var k=c.isFunction(a);return this.each(function(o){var x=c(this),r=a;if(this.nodeType===1){if(k)r=
53
- a.call(this,o,x.val());if(r==null)r="";else if(typeof r==="number")r+="";else if(c.isArray(r))r=c.map(r,function(C){return C==null?"":C+""});if(c.isArray(r)&&ta.test(this.type))this.checked=c.inArray(x.val(),r)>=0;else if(c.nodeName(this,"select")){var A=c.makeArray(r);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),A)>=0});if(!A.length)this.selectedIndex=-1}else this.value=r}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},
54
- attr:function(a,b,d,e){if(!a||a.nodeType===3||a.nodeType===8)return B;if(e&&b in c.attrFn)return c(a)[b](d);e=a.nodeType!==1||!c.isXMLDoc(a);var f=d!==B;b=e&&c.props[b]||b;var h=Ta.test(b);if((b in a||a[b]!==B)&&e&&!h){if(f){b==="type"&&Ua.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed");if(d===null)a.nodeType===1&&a.removeAttribute(b);else a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&
55
- b.specified?b.value:Va.test(a.nodeName)||Wa.test(a.nodeName)&&a.href?0:B;return a[b]}if(!c.support.style&&e&&b==="style"){if(f)a.style.cssText=""+d;return a.style.cssText}f&&a.setAttribute(b,""+d);if(!a.attributes[b]&&a.hasAttribute&&!a.hasAttribute(b))return B;a=!c.support.hrefNormalized&&e&&h?a.getAttribute(b,2):a.getAttribute(b);return a===null?B:a}});var X=/\.(.*)$/,ia=/^(?:textarea|input|select)$/i,La=/\./g,Ma=/ /g,Xa=/[^\w\s.|`]/g,Ya=function(a){return a.replace(Xa,"\\$&")},ua={focusin:0,focusout:0};
56
- c.event={add:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){if(c.isWindow(a)&&a!==E&&!a.frameElement)a=E;if(d===false)d=U;else if(!d)return;var f,h;if(d.handler){f=d;d=f.handler}if(!d.guid)d.guid=c.guid++;if(h=c.data(a)){var l=a.nodeType?"events":"__events__",k=h[l],o=h.handle;if(typeof k==="function"){o=k.handle;k=k.events}else if(!k){a.nodeType||(h[l]=h=function(){});h.events=k={}}if(!o)h.handle=o=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(o.elem,
57
- arguments):B};o.elem=a;b=b.split(" ");for(var x=0,r;l=b[x++];){h=f?c.extend({},f):{handler:d,data:e};if(l.indexOf(".")>-1){r=l.split(".");l=r.shift();h.namespace=r.slice(0).sort().join(".")}else{r=[];h.namespace=""}h.type=l;if(!h.guid)h.guid=d.guid;var A=k[l],C=c.event.special[l]||{};if(!A){A=k[l]=[];if(!C.setup||C.setup.call(a,e,r,o)===false)if(a.addEventListener)a.addEventListener(l,o,false);else a.attachEvent&&a.attachEvent("on"+l,o)}if(C.add){C.add.call(a,h);if(!h.handler.guid)h.handler.guid=
58
- d.guid}A.push(h);c.event.global[l]=true}a=null}}},global:{},remove:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){if(d===false)d=U;var f,h,l=0,k,o,x,r,A,C,J=a.nodeType?"events":"__events__",w=c.data(a),I=w&&w[J];if(w&&I){if(typeof I==="function"){w=I;I=I.events}if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(f in I)c.event.remove(a,f+b)}else{for(b=b.split(" ");f=b[l++];){r=f;k=f.indexOf(".")<0;o=[];if(!k){o=f.split(".");f=o.shift();x=RegExp("(^|\\.)"+
59
- c.map(o.slice(0).sort(),Ya).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(A=I[f])if(d){r=c.event.special[f]||{};for(h=e||0;h<A.length;h++){C=A[h];if(d.guid===C.guid){if(k||x.test(C.namespace)){e==null&&A.splice(h--,1);r.remove&&r.remove.call(a,C)}if(e!=null)break}}if(A.length===0||e!=null&&A.length===1){if(!r.teardown||r.teardown.call(a,o)===false)c.removeEvent(a,f,w.handle);delete I[f]}}else for(h=0;h<A.length;h++){C=A[h];if(k||x.test(C.namespace)){c.event.remove(a,r,C.handler,h);A.splice(h--,1)}}}if(c.isEmptyObject(I)){if(b=
60
- w.handle)b.elem=null;delete w.events;delete w.handle;if(typeof w==="function")c.removeData(a,J);else c.isEmptyObject(w)&&c.removeData(a)}}}}},trigger:function(a,b,d,e){var f=a.type||a;if(!e){a=typeof a==="object"?a[c.expando]?a:c.extend(c.Event(f),a):c.Event(f);if(f.indexOf("!")>=0){a.type=f=f.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[f]&&c.each(c.cache,function(){this.events&&this.events[f]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===
61
- 8)return B;a.result=B;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(e=d.nodeType?c.data(d,"handle"):(c.data(d,"__events__")||{}).handle)&&e.apply(d,b);e=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+f]&&d["on"+f].apply(d,b)===false){a.result=false;a.preventDefault()}}catch(h){}if(!a.isPropagationStopped()&&e)c.event.trigger(a,b,e,true);else if(!a.isDefaultPrevented()){var l;e=a.target;var k=f.replace(X,""),o=c.nodeName(e,"a")&&k===
62
- "click",x=c.event.special[k]||{};if((!x._default||x._default.call(d,a)===false)&&!o&&!(e&&e.nodeName&&c.noData[e.nodeName.toLowerCase()])){try{if(e[k]){if(l=e["on"+k])e["on"+k]=null;c.event.triggered=true;e[k]()}}catch(r){}if(l)e["on"+k]=l;c.event.triggered=false}}},handle:function(a){var b,d,e,f;d=[];var h=c.makeArray(arguments);a=h[0]=c.event.fix(a||E.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b){e=a.type.split(".");a.type=e.shift();d=e.slice(0).sort();e=RegExp("(^|\\.)"+
63
- d.join("\\.(?:.*\\.)?")+"(\\.|$)")}a.namespace=a.namespace||d.join(".");f=c.data(this,this.nodeType?"events":"__events__");if(typeof f==="function")f=f.events;d=(f||{})[a.type];if(f&&d){d=d.slice(0);f=0;for(var l=d.length;f<l;f++){var k=d[f];if(b||e.test(k.namespace)){a.handler=k.handler;a.data=k.data;a.handleObj=k;k=k.handler.apply(this,h);if(k!==B){a.result=k;if(k===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
64
- fix:function(a){if(a[c.expando])return a;var b=a;a=c.Event(b);for(var d=this.props.length,e;d;){e=this.props[--d];a[e]=b[e]}if(!a.target)a.target=a.srcElement||t;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){b=t.documentElement;d=t.body;a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop||
65
- d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0)}if(a.which==null&&(a.charCode!=null||a.keyCode!=null))a.which=a.charCode!=null?a.charCode:a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==B)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a){c.event.add(this,Y(a.origType,a.selector),c.extend({},a,{handler:Ka,guid:a.handler.guid}))},remove:function(a){c.event.remove(this,
66
- Y(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,d){if(c.isWindow(this))this.onbeforeunload=d},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};c.removeEvent=t.removeEventListener?function(a,b,d){a.removeEventListener&&a.removeEventListener(b,d,false)}:function(a,b,d){a.detachEvent&&a.detachEvent("on"+b,d)};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=a;this.timeStamp=
67
- c.now();this[c.expando]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=ca;var a=this.originalEvent;if(a)if(a.preventDefault)a.preventDefault();else a.returnValue=false},stopPropagation:function(){this.isPropagationStopped=ca;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=ca;this.stopPropagation()},isDefaultPrevented:U,isPropagationStopped:U,isImmediatePropagationStopped:U};
68
- var va=function(a){var b=a.relatedTarget;try{for(;b&&b!==this;)b=b.parentNode;if(b!==this){a.type=a.data;c.event.handle.apply(this,arguments)}}catch(d){}},wa=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(d){c.event.add(this,b,d&&d.selector?wa:va,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?wa:va)}}});if(!c.support.submitBubbles)c.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!==
69
- "form"){c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="submit"||d==="image")&&c(b).closest("form").length){a.liveFired=B;return la("submit",this,arguments)}});c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="text"||d==="password")&&c(b).closest("form").length&&a.keyCode===13){a.liveFired=B;return la("submit",this,arguments)}})}else return false},teardown:function(){c.event.remove(this,".specialSubmit")}};if(!c.support.changeBubbles){var V,
70
- xa=function(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(e){return e.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},Z=function(a,b){var d=a.target,e,f;if(!(!ia.test(d.nodeName)||d.readOnly)){e=c.data(d,"_change_data");f=xa(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",f);if(!(e===B||f===e))if(e!=null||f){a.type="change";a.liveFired=
71
- B;return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:Z,beforedeactivate:Z,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return Z.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return Z.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",xa(a))}},setup:function(){if(this.type===
72
- "file")return false;for(var a in V)c.event.add(this,a+".specialChange",V[a]);return ia.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return ia.test(this.nodeName)}};V=c.event.special.change.filters;V.focus=V.beforeactivate}t.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(e){e=c.event.fix(e);e.type=b;return c.event.trigger(e,null,e.target)}c.event.special[b]={setup:function(){ua[b]++===0&&t.addEventListener(a,d,true)},teardown:function(){--ua[b]===
73
- 0&&t.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,e,f){if(typeof d==="object"){for(var h in d)this[b](h,e,d[h],f);return this}if(c.isFunction(e)||e===false){f=e;e=B}var l=b==="one"?c.proxy(f,function(o){c(this).unbind(o,l);return f.apply(this,arguments)}):f;if(d==="unload"&&b!=="one")this.one(d,e,f);else{h=0;for(var k=this.length;h<k;h++)c.event.add(this[h],d,l,e)}return this}});c.fn.extend({unbind:function(a,b){if(typeof a==="object"&&!a.preventDefault)for(var d in a)this.unbind(d,
74
- a[d]);else{d=0;for(var e=this.length;d<e;d++)c.event.remove(this[d],a,b)}return this},delegate:function(a,b,d,e){return this.live(b,d,e,a)},undelegate:function(a,b,d){return arguments.length===0?this.unbind("live"):this.die(b,null,d,a)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){var d=c.Event(a);d.preventDefault();d.stopPropagation();c.event.trigger(d,b,this[0]);return d.result}},toggle:function(a){for(var b=arguments,d=
75
- 1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(e){var f=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,f+1);e.preventDefault();return b[f].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var ya={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(d,e,f,h){var l,k=0,o,x,r=h||this.selector;h=h?this:c(this.context);if(typeof d===
76
- "object"&&!d.preventDefault){for(l in d)h[b](l,e,d[l],r);return this}if(c.isFunction(e)){f=e;e=B}for(d=(d||"").split(" ");(l=d[k++])!=null;){o=X.exec(l);x="";if(o){x=o[0];l=l.replace(X,"")}if(l==="hover")d.push("mouseenter"+x,"mouseleave"+x);else{o=l;if(l==="focus"||l==="blur"){d.push(ya[l]+x);l+=x}else l=(ya[l]||l)+x;if(b==="live"){x=0;for(var A=h.length;x<A;x++)c.event.add(h[x],"live."+Y(l,r),{data:e,selector:r,handler:f,origType:l,origHandler:f,preType:o})}else h.unbind("live."+Y(l,r),f)}}return this}});
77
- c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){c.fn[b]=function(d,e){if(e==null){e=d;d=null}return arguments.length>0?this.bind(b,d,e):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});E.attachEvent&&!E.addEventListener&&c(E).bind("unload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});
78
- (function(){function a(g,i,n,m,p,q){p=0;for(var u=m.length;p<u;p++){var y=m[p];if(y){var F=false;for(y=y[g];y;){if(y.sizcache===n){F=m[y.sizset];break}if(y.nodeType===1&&!q){y.sizcache=n;y.sizset=p}if(y.nodeName.toLowerCase()===i){F=y;break}y=y[g]}m[p]=F}}}function b(g,i,n,m,p,q){p=0;for(var u=m.length;p<u;p++){var y=m[p];if(y){var F=false;for(y=y[g];y;){if(y.sizcache===n){F=m[y.sizset];break}if(y.nodeType===1){if(!q){y.sizcache=n;y.sizset=p}if(typeof i!=="string"){if(y===i){F=true;break}}else if(k.filter(i,
79
- [y]).length>0){F=y;break}}y=y[g]}m[p]=F}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,f=Object.prototype.toString,h=false,l=true;[0,0].sort(function(){l=false;return 0});var k=function(g,i,n,m){n=n||[];var p=i=i||t;if(i.nodeType!==1&&i.nodeType!==9)return[];if(!g||typeof g!=="string")return n;var q,u,y,F,M,N=true,O=k.isXML(i),D=[],R=g;do{d.exec("");if(q=d.exec(R)){R=q[3];D.push(q[1]);if(q[2]){F=q[3];
80
- break}}}while(q);if(D.length>1&&x.exec(g))if(D.length===2&&o.relative[D[0]])u=L(D[0]+D[1],i);else for(u=o.relative[D[0]]?[i]:k(D.shift(),i);D.length;){g=D.shift();if(o.relative[g])g+=D.shift();u=L(g,u)}else{if(!m&&D.length>1&&i.nodeType===9&&!O&&o.match.ID.test(D[0])&&!o.match.ID.test(D[D.length-1])){q=k.find(D.shift(),i,O);i=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]}if(i){q=m?{expr:D.pop(),set:C(m)}:k.find(D.pop(),D.length===1&&(D[0]==="~"||D[0]==="+")&&i.parentNode?i.parentNode:i,O);u=q.expr?k.filter(q.expr,
81
- q.set):q.set;if(D.length>0)y=C(u);else N=false;for(;D.length;){q=M=D.pop();if(o.relative[M])q=D.pop();else M="";if(q==null)q=i;o.relative[M](y,q,O)}}else y=[]}y||(y=u);y||k.error(M||g);if(f.call(y)==="[object Array]")if(N)if(i&&i.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&k.contains(i,y[g])))n.push(u[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodeType===1&&n.push(u[g]);else n.push.apply(n,y);else C(y,n);if(F){k(F,p,n,m);k.uniqueSort(n)}return n};k.uniqueSort=function(g){if(w){h=
82
- l;g.sort(w);if(h)for(var i=1;i<g.length;i++)g[i]===g[i-1]&&g.splice(i--,1)}return g};k.matches=function(g,i){return k(g,null,null,i)};k.matchesSelector=function(g,i){return k(i,null,null,[g]).length>0};k.find=function(g,i,n){var m;if(!g)return[];for(var p=0,q=o.order.length;p<q;p++){var u,y=o.order[p];if(u=o.leftMatch[y].exec(g)){var F=u[1];u.splice(1,1);if(F.substr(F.length-1)!=="\\"){u[1]=(u[1]||"").replace(/\\/g,"");m=o.find[y](u,i,n);if(m!=null){g=g.replace(o.match[y],"");break}}}}m||(m=i.getElementsByTagName("*"));
83
- return{set:m,expr:g}};k.filter=function(g,i,n,m){for(var p,q,u=g,y=[],F=i,M=i&&i[0]&&k.isXML(i[0]);g&&i.length;){for(var N in o.filter)if((p=o.leftMatch[N].exec(g))!=null&&p[2]){var O,D,R=o.filter[N];D=p[1];q=false;p.splice(1,1);if(D.substr(D.length-1)!=="\\"){if(F===y)y=[];if(o.preFilter[N])if(p=o.preFilter[N](p,F,n,y,m,M)){if(p===true)continue}else q=O=true;if(p)for(var j=0;(D=F[j])!=null;j++)if(D){O=R(D,p,j,F);var s=m^!!O;if(n&&O!=null)if(s)q=true;else F[j]=false;else if(s){y.push(D);q=true}}if(O!==
84
- B){n||(F=y);g=g.replace(o.match[N],"");if(!q)return[];break}}}if(g===u)if(q==null)k.error(g);else break;u=g}return F};k.error=function(g){throw"Syntax error, unrecognized expression: "+g;};var o=k.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+\-]*)\))?/,
85
- POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(g){return g.getAttribute("href")}},relative:{"+":function(g,i){var n=typeof i==="string",m=n&&!/\W/.test(i);n=n&&!m;if(m)i=i.toLowerCase();m=0;for(var p=g.length,q;m<p;m++)if(q=g[m]){for(;(q=q.previousSibling)&&q.nodeType!==1;);g[m]=n||q&&q.nodeName.toLowerCase()===
86
- i?q||false:q===i}n&&k.filter(i,g,true)},">":function(g,i){var n,m=typeof i==="string",p=0,q=g.length;if(m&&!/\W/.test(i))for(i=i.toLowerCase();p<q;p++){if(n=g[p]){n=n.parentNode;g[p]=n.nodeName.toLowerCase()===i?n:false}}else{for(;p<q;p++)if(n=g[p])g[p]=m?n.parentNode:n.parentNode===i;m&&k.filter(i,g,true)}},"":function(g,i,n){var m,p=e++,q=b;if(typeof i==="string"&&!/\W/.test(i)){m=i=i.toLowerCase();q=a}q("parentNode",i,p,g,m,n)},"~":function(g,i,n){var m,p=e++,q=b;if(typeof i==="string"&&!/\W/.test(i)){m=
87
- i=i.toLowerCase();q=a}q("previousSibling",i,p,g,m,n)}},find:{ID:function(g,i,n){if(typeof i.getElementById!=="undefined"&&!n)return(g=i.getElementById(g[1]))&&g.parentNode?[g]:[]},NAME:function(g,i){if(typeof i.getElementsByName!=="undefined"){for(var n=[],m=i.getElementsByName(g[1]),p=0,q=m.length;p<q;p++)m[p].getAttribute("name")===g[1]&&n.push(m[p]);return n.length===0?null:n}},TAG:function(g,i){return i.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,i,n,m,p,q){g=" "+g[1].replace(/\\/g,
88
- "")+" ";if(q)return g;q=0;for(var u;(u=i[q])!=null;q++)if(u)if(p^(u.className&&(" "+u.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=0))n||m.push(u);else if(n)i[q]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()},CHILD:function(g){if(g[1]==="nth"){var i=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=i[1]+(i[2]||1)-0;g[3]=i[3]-0}g[0]=e++;return g},ATTR:function(g,i,n,
89
- m,p,q){i=g[1].replace(/\\/g,"");if(!q&&o.attrMap[i])g[1]=o.attrMap[i];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,i,n,m,p){if(g[1]==="not")if((d.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=k(g[3],null,null,i);else{g=k.filter(g[3],i,n,true^p);n||m.push.apply(m,g);return false}else if(o.match.POS.test(g[0])||o.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===
90
- true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,i,n){return!!k(n[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===
91
- g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}},setFilters:{first:function(g,i){return i===0},last:function(g,i,n,m){return i===m.length-1},even:function(g,i){return i%2===0},odd:function(g,i){return i%2===1},lt:function(g,i,n){return i<n[3]-0},gt:function(g,i,n){return i>n[3]-0},nth:function(g,i,n){return n[3]-
92
- 0===i},eq:function(g,i,n){return n[3]-0===i}},filter:{PSEUDO:function(g,i,n,m){var p=i[1],q=o.filters[p];if(q)return q(g,n,i,m);else if(p==="contains")return(g.textContent||g.innerText||k.getText([g])||"").indexOf(i[3])>=0;else if(p==="not"){i=i[3];n=0;for(m=i.length;n<m;n++)if(i[n]===g)return false;return true}else k.error("Syntax error, unrecognized expression: "+p)},CHILD:function(g,i){var n=i[1],m=g;switch(n){case "only":case "first":for(;m=m.previousSibling;)if(m.nodeType===1)return false;if(n===
93
- "first")return true;m=g;case "last":for(;m=m.nextSibling;)if(m.nodeType===1)return false;return true;case "nth":n=i[2];var p=i[3];if(n===1&&p===0)return true;var q=i[0],u=g.parentNode;if(u&&(u.sizcache!==q||!g.nodeIndex)){var y=0;for(m=u.firstChild;m;m=m.nextSibling)if(m.nodeType===1)m.nodeIndex=++y;u.sizcache=q}m=g.nodeIndex-p;return n===0?m===0:m%n===0&&m/n>=0}},ID:function(g,i){return g.nodeType===1&&g.getAttribute("id")===i},TAG:function(g,i){return i==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===
94
- i},CLASS:function(g,i){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(i)>-1},ATTR:function(g,i){var n=i[1];n=o.attrHandle[n]?o.attrHandle[n](g):g[n]!=null?g[n]:g.getAttribute(n);var m=n+"",p=i[2],q=i[4];return n==null?p==="!=":p==="="?m===q:p==="*="?m.indexOf(q)>=0:p==="~="?(" "+m+" ").indexOf(q)>=0:!q?m&&n!==false:p==="!="?m!==q:p==="^="?m.indexOf(q)===0:p==="$="?m.substr(m.length-q.length)===q:p==="|="?m===q||m.substr(0,q.length+1)===q+"-":false},POS:function(g,i,n,m){var p=o.setFilters[i[2]];
95
- if(p)return p(g,n,i,m)}}},x=o.match.POS,r=function(g,i){return"\\"+(i-0+1)},A;for(A in o.match){o.match[A]=RegExp(o.match[A].source+/(?![^\[]*\])(?![^\(]*\))/.source);o.leftMatch[A]=RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[A].source.replace(/\\(\d+)/g,r))}var C=function(g,i){g=Array.prototype.slice.call(g,0);if(i){i.push.apply(i,g);return i}return g};try{Array.prototype.slice.call(t.documentElement.childNodes,0)}catch(J){C=function(g,i){var n=0,m=i||[];if(f.call(g)==="[object Array]")Array.prototype.push.apply(m,
96
- g);else if(typeof g.length==="number")for(var p=g.length;n<p;n++)m.push(g[n]);else for(;g[n];n++)m.push(g[n]);return m}}var w,I;if(t.documentElement.compareDocumentPosition)w=function(g,i){if(g===i){h=true;return 0}if(!g.compareDocumentPosition||!i.compareDocumentPosition)return g.compareDocumentPosition?-1:1;return g.compareDocumentPosition(i)&4?-1:1};else{w=function(g,i){var n,m,p=[],q=[];n=g.parentNode;m=i.parentNode;var u=n;if(g===i){h=true;return 0}else if(n===m)return I(g,i);else if(n){if(!m)return 1}else return-1;
97
- for(;u;){p.unshift(u);u=u.parentNode}for(u=m;u;){q.unshift(u);u=u.parentNode}n=p.length;m=q.length;for(u=0;u<n&&u<m;u++)if(p[u]!==q[u])return I(p[u],q[u]);return u===n?I(g,q[u],-1):I(p[u],i,1)};I=function(g,i,n){if(g===i)return n;for(g=g.nextSibling;g;){if(g===i)return-1;g=g.nextSibling}return 1}}k.getText=function(g){for(var i="",n,m=0;g[m];m++){n=g[m];if(n.nodeType===3||n.nodeType===4)i+=n.nodeValue;else if(n.nodeType!==8)i+=k.getText(n.childNodes)}return i};(function(){var g=t.createElement("div"),
98
- i="script"+(new Date).getTime(),n=t.documentElement;g.innerHTML="<a name='"+i+"'/>";n.insertBefore(g,n.firstChild);if(t.getElementById(i)){o.find.ID=function(m,p,q){if(typeof p.getElementById!=="undefined"&&!q)return(p=p.getElementById(m[1]))?p.id===m[1]||typeof p.getAttributeNode!=="undefined"&&p.getAttributeNode("id").nodeValue===m[1]?[p]:B:[]};o.filter.ID=function(m,p){var q=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&q&&q.nodeValue===p}}n.removeChild(g);
99
- n=g=null})();(function(){var g=t.createElement("div");g.appendChild(t.createComment(""));if(g.getElementsByTagName("*").length>0)o.find.TAG=function(i,n){var m=n.getElementsByTagName(i[1]);if(i[1]==="*"){for(var p=[],q=0;m[q];q++)m[q].nodeType===1&&p.push(m[q]);m=p}return m};g.innerHTML="<a href='#'></a>";if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")o.attrHandle.href=function(i){return i.getAttribute("href",2)};g=null})();t.querySelectorAll&&
100
- function(){var g=k,i=t.createElement("div");i.innerHTML="<p class='TEST'></p>";if(!(i.querySelectorAll&&i.querySelectorAll(".TEST").length===0)){k=function(m,p,q,u){p=p||t;m=m.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!u&&!k.isXML(p))if(p.nodeType===9)try{return C(p.querySelectorAll(m),q)}catch(y){}else if(p.nodeType===1&&p.nodeName.toLowerCase()!=="object"){var F=p.getAttribute("id"),M=F||"__sizzle__";F||p.setAttribute("id",M);try{return C(p.querySelectorAll("#"+M+" "+m),q)}catch(N){}finally{F||
101
- p.removeAttribute("id")}}return g(m,p,q,u)};for(var n in g)k[n]=g[n];i=null}}();(function(){var g=t.documentElement,i=g.matchesSelector||g.mozMatchesSelector||g.webkitMatchesSelector||g.msMatchesSelector,n=false;try{i.call(t.documentElement,"[test!='']:sizzle")}catch(m){n=true}if(i)k.matchesSelector=function(p,q){q=q.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isXML(p))try{if(n||!o.match.PSEUDO.test(q)&&!/!=/.test(q))return i.call(p,q)}catch(u){}return k(q,null,null,[p]).length>0}})();(function(){var g=
102
- t.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){o.order.splice(1,0,"CLASS");o.find.CLASS=function(i,n,m){if(typeof n.getElementsByClassName!=="undefined"&&!m)return n.getElementsByClassName(i[1])};g=null}}})();k.contains=t.documentElement.contains?function(g,i){return g!==i&&(g.contains?g.contains(i):true)}:t.documentElement.compareDocumentPosition?
103
- function(g,i){return!!(g.compareDocumentPosition(i)&16)}:function(){return false};k.isXML=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false};var L=function(g,i){for(var n,m=[],p="",q=i.nodeType?[i]:i;n=o.match.PSEUDO.exec(g);){p+=n[0];g=g.replace(o.match.PSEUDO,"")}g=o.relative[g]?g+"*":g;n=0;for(var u=q.length;n<u;n++)k(g,q[n],m);return k.filter(p,m)};c.find=k;c.expr=k.selectors;c.expr[":"]=c.expr.filters;c.unique=k.uniqueSort;c.text=k.getText;c.isXMLDoc=k.isXML;
104
- c.contains=k.contains})();var Za=/Until$/,$a=/^(?:parents|prevUntil|prevAll)/,ab=/,/,Na=/^.[^:#\[\.,]*$/,bb=Array.prototype.slice,cb=c.expr.match.POS;c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,e=0,f=this.length;e<f;e++){d=b.length;c.find(a,this[e],b);if(e>0)for(var h=d;h<b.length;h++)for(var l=0;l<d;l++)if(b[l]===b[h]){b.splice(h--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,e=b.length;d<e;d++)if(c.contains(this,b[d]))return true})},
105
- not:function(a){return this.pushStack(ma(this,a,false),"not",a)},filter:function(a){return this.pushStack(ma(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){var d=[],e,f,h=this[0];if(c.isArray(a)){var l,k={},o=1;if(h&&a.length){e=0;for(f=a.length;e<f;e++){l=a[e];k[l]||(k[l]=c.expr.match.POS.test(l)?c(l,b||this.context):l)}for(;h&&h.ownerDocument&&h!==b;){for(l in k){e=k[l];if(e.jquery?e.index(h)>-1:c(h).is(e))d.push({selector:l,elem:h,level:o})}h=
106
- h.parentNode;o++}}return d}l=cb.test(a)?c(a,b||this.context):null;e=0;for(f=this.length;e<f;e++)for(h=this[e];h;)if(l?l.index(h)>-1:c.find.matchesSelector(h,a)){d.push(h);break}else{h=h.parentNode;if(!h||!h.ownerDocument||h===b)break}d=d.length>1?c.unique(d):d;return this.pushStack(d,"closest",a)},index:function(a){if(!a||typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var d=typeof a==="string"?c(a,b||this.context):
107
- c.makeArray(a),e=c.merge(this.get(),d);return this.pushStack(!d[0]||!d[0].parentNode||d[0].parentNode.nodeType===11||!e[0]||!e[0].parentNode||e[0].parentNode.nodeType===11?e:c.unique(e))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,
108
- 2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,
109
- b){c.fn[a]=function(d,e){var f=c.map(this,b,d);Za.test(a)||(e=d);if(e&&typeof e==="string")f=c.filter(e,f);f=this.length>1?c.unique(f):f;if((this.length>1||ab.test(e))&&$a.test(a))f=f.reverse();return this.pushStack(f,a,bb.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return b.length===1?c.find.matchesSelector(b[0],a)?[b[0]]:[]:c.find.matches(a,b)},dir:function(a,b,d){var e=[];for(a=a[b];a&&a.nodeType!==9&&(d===B||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&&
110
- e.push(a);a=a[b]}return e},nth:function(a,b,d){b=b||1;for(var e=0;a;a=a[d])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var za=/ jQuery\d+="(?:\d+|null)"/g,$=/^\s+/,Aa=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Ba=/<([\w:]+)/,db=/<tbody/i,eb=/<|&#?\w+;/,Ca=/<(?:script|object|embed|option|style)/i,Da=/checked\s*(?:[^=]|=\s*.checked.)/i,fb=/\=([^="'>\s]+\/)>/g,P={option:[1,
111
- "<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};P.optgroup=P.option;P.tbody=P.tfoot=P.colgroup=P.caption=P.thead;P.th=P.td;if(!c.support.htmlSerialize)P._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=
112
- c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==B)return this.empty().append((this[0]&&this[0].ownerDocument||t).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},
113
- wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},
114
- prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,
115
- this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,e;(e=this[d])!=null;d++)if(!a||c.filter(a,[e]).length){if(!b&&e.nodeType===1){c.cleanData(e.getElementsByTagName("*"));c.cleanData([e])}e.parentNode&&e.parentNode.removeChild(e)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);
116
- return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,e=this.ownerDocument;if(!d){d=e.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(za,"").replace(fb,'="$1">').replace($,"")],e)[0]}else return this.cloneNode(true)});if(a===true){na(this,b);na(this.find("*"),b.find("*"))}return b},html:function(a){if(a===B)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(za,""):null;
117
- else if(typeof a==="string"&&!Ca.test(a)&&(c.support.leadingWhitespace||!$.test(a))&&!P[(Ba.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Aa,"<$1></$2>");try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){c.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(e){this.empty().append(a)}}else c.isFunction(a)?this.each(function(f){var h=c(this);h.html(a.call(this,f,h.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=
118
- c(this),e=d.html();d.replaceWith(a.call(this,b,e))});if(typeof a!=="string")a=c(a).detach();return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){var e,f,h,l=a[0],k=[];if(!c.support.checkClone&&arguments.length===3&&typeof l==="string"&&Da.test(l))return this.each(function(){c(this).domManip(a,
119
- b,d,true)});if(c.isFunction(l))return this.each(function(x){var r=c(this);a[0]=l.call(this,x,b?r.html():B);r.domManip(a,b,d)});if(this[0]){e=l&&l.parentNode;e=c.support.parentNode&&e&&e.nodeType===11&&e.childNodes.length===this.length?{fragment:e}:c.buildFragment(a,this,k);h=e.fragment;if(f=h.childNodes.length===1?h=h.firstChild:h.firstChild){b=b&&c.nodeName(f,"tr");f=0;for(var o=this.length;f<o;f++)d.call(b?c.nodeName(this[f],"table")?this[f].getElementsByTagName("tbody")[0]||this[f].appendChild(this[f].ownerDocument.createElement("tbody")):
120
- this[f]:this[f],f>0||e.cacheable||this.length>1?h.cloneNode(true):h)}k.length&&c.each(k,Oa)}return this}});c.buildFragment=function(a,b,d){var e,f,h;b=b&&b[0]?b[0].ownerDocument||b[0]:t;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===t&&!Ca.test(a[0])&&(c.support.checkClone||!Da.test(a[0]))){f=true;if(h=c.fragments[a[0]])if(h!==1)e=h}if(!e){e=b.createDocumentFragment();c.clean(a,b,e,d)}if(f)c.fragments[a[0]]=h?e:1;return{fragment:e,cacheable:f}};c.fragments={};c.each({appendTo:"append",
121
- prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var e=[];d=c(d);var f=this.length===1&&this[0].parentNode;if(f&&f.nodeType===11&&f.childNodes.length===1&&d.length===1){d[b](this[0]);return this}else{f=0;for(var h=d.length;f<h;f++){var l=(f>0?this.clone(true):this).get();c(d[f])[b](l);e=e.concat(l)}return this.pushStack(e,a,d.selector)}}});c.extend({clean:function(a,b,d,e){b=b||t;if(typeof b.createElement==="undefined")b=b.ownerDocument||
122
- b[0]&&b[0].ownerDocument||t;for(var f=[],h=0,l;(l=a[h])!=null;h++){if(typeof l==="number")l+="";if(l){if(typeof l==="string"&&!eb.test(l))l=b.createTextNode(l);else if(typeof l==="string"){l=l.replace(Aa,"<$1></$2>");var k=(Ba.exec(l)||["",""])[1].toLowerCase(),o=P[k]||P._default,x=o[0],r=b.createElement("div");for(r.innerHTML=o[1]+l+o[2];x--;)r=r.lastChild;if(!c.support.tbody){x=db.test(l);k=k==="table"&&!x?r.firstChild&&r.firstChild.childNodes:o[1]==="<table>"&&!x?r.childNodes:[];for(o=k.length-
123
- 1;o>=0;--o)c.nodeName(k[o],"tbody")&&!k[o].childNodes.length&&k[o].parentNode.removeChild(k[o])}!c.support.leadingWhitespace&&$.test(l)&&r.insertBefore(b.createTextNode($.exec(l)[0]),r.firstChild);l=r.childNodes}if(l.nodeType)f.push(l);else f=c.merge(f,l)}}if(d)for(h=0;f[h];h++)if(e&&c.nodeName(f[h],"script")&&(!f[h].type||f[h].type.toLowerCase()==="text/javascript"))e.push(f[h].parentNode?f[h].parentNode.removeChild(f[h]):f[h]);else{f[h].nodeType===1&&f.splice.apply(f,[h+1,0].concat(c.makeArray(f[h].getElementsByTagName("script"))));
124
- d.appendChild(f[h])}return f},cleanData:function(a){for(var b,d,e=c.cache,f=c.event.special,h=c.support.deleteExpando,l=0,k;(k=a[l])!=null;l++)if(!(k.nodeName&&c.noData[k.nodeName.toLowerCase()]))if(d=k[c.expando]){if((b=e[d])&&b.events)for(var o in b.events)f[o]?c.event.remove(k,o):c.removeEvent(k,o,b.handle);if(h)delete k[c.expando];else k.removeAttribute&&k.removeAttribute(c.expando);delete e[d]}}});var Ea=/alpha\([^)]*\)/i,gb=/opacity=([^)]*)/,hb=/-([a-z])/ig,ib=/([A-Z])/g,Fa=/^-?\d+(?:px)?$/i,
125
- jb=/^-?\d/,kb={position:"absolute",visibility:"hidden",display:"block"},Pa=["Left","Right"],Qa=["Top","Bottom"],W,Ga,aa,lb=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){if(arguments.length===2&&b===B)return this;return c.access(this,a,b,true,function(d,e,f){return f!==B?c.style(d,e,f):c.css(d,e)})};c.extend({cssHooks:{opacity:{get:function(a,b){if(b){var d=W(a,"opacity","opacity");return d===""?"1":d}else return a.style.opacity}}},cssNumber:{zIndex:true,fontWeight:true,opacity:true,
126
- zoom:true,lineHeight:true},cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,d,e){if(!(!a||a.nodeType===3||a.nodeType===8||!a.style)){var f,h=c.camelCase(b),l=a.style,k=c.cssHooks[h];b=c.cssProps[h]||h;if(d!==B){if(!(typeof d==="number"&&isNaN(d)||d==null)){if(typeof d==="number"&&!c.cssNumber[h])d+="px";if(!k||!("set"in k)||(d=k.set(a,d))!==B)try{l[b]=d}catch(o){}}}else{if(k&&"get"in k&&(f=k.get(a,false,e))!==B)return f;return l[b]}}},css:function(a,b,d){var e,f=c.camelCase(b),
127
- h=c.cssHooks[f];b=c.cssProps[f]||f;if(h&&"get"in h&&(e=h.get(a,true,d))!==B)return e;else if(W)return W(a,b,f)},swap:function(a,b,d){var e={},f;for(f in b){e[f]=a.style[f];a.style[f]=b[f]}d.call(a);for(f in b)a.style[f]=e[f]},camelCase:function(a){return a.replace(hb,lb)}});c.curCSS=c.css;c.each(["height","width"],function(a,b){c.cssHooks[b]={get:function(d,e,f){var h;if(e){if(d.offsetWidth!==0)h=oa(d,b,f);else c.swap(d,kb,function(){h=oa(d,b,f)});if(h<=0){h=W(d,b,b);if(h==="0px"&&aa)h=aa(d,b,b);
128
- if(h!=null)return h===""||h==="auto"?"0px":h}if(h<0||h==null){h=d.style[b];return h===""||h==="auto"?"0px":h}return typeof h==="string"?h:h+"px"}},set:function(d,e){if(Fa.test(e)){e=parseFloat(e);if(e>=0)return e+"px"}else return e}}});if(!c.support.opacity)c.cssHooks.opacity={get:function(a,b){return gb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var d=a.style;d.zoom=1;var e=c.isNaN(b)?"":"alpha(opacity="+b*100+")",f=
129
- d.filter||"";d.filter=Ea.test(f)?f.replace(Ea,e):d.filter+" "+e}};if(t.defaultView&&t.defaultView.getComputedStyle)Ga=function(a,b,d){var e;d=d.replace(ib,"-$1").toLowerCase();if(!(b=a.ownerDocument.defaultView))return B;if(b=b.getComputedStyle(a,null)){e=b.getPropertyValue(d);if(e===""&&!c.contains(a.ownerDocument.documentElement,a))e=c.style(a,d)}return e};if(t.documentElement.currentStyle)aa=function(a,b){var d,e,f=a.currentStyle&&a.currentStyle[b],h=a.style;if(!Fa.test(f)&&jb.test(f)){d=h.left;
130
- e=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;h.left=b==="fontSize"?"1em":f||0;f=h.pixelLeft+"px";h.left=d;a.runtimeStyle.left=e}return f===""?"auto":f};W=Ga||aa;if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetHeight;return a.offsetWidth===0&&b===0||!c.support.reliableHiddenOffsets&&(a.style.display||c.css(a,"display"))==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var mb=c.now(),nb=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,
131
- ob=/^(?:select|textarea)/i,pb=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,qb=/^(?:GET|HEAD)$/,Ra=/\[\]$/,T=/\=\?(&|$)/,ja=/\?/,rb=/([?&])_=[^&]*/,sb=/^(\w+:)?\/\/([^\/?#]+)/,tb=/%20/g,ub=/#.*$/,Ha=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!=="string"&&Ha)return Ha.apply(this,arguments);else if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var f=a.slice(e,a.length);a=a.slice(0,e)}e="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b===
132
- "object"){b=c.param(b,c.ajaxSettings.traditional);e="POST"}var h=this;c.ajax({url:a,type:e,dataType:"html",data:b,complete:function(l,k){if(k==="success"||k==="notmodified")h.html(f?c("<div>").append(l.responseText.replace(nb,"")).find(f):l.responseText);d&&h.each(d,[l.responseText,k,l])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&
133
- !this.disabled&&(this.checked||ob.test(this.nodeName)||pb.test(this.type))}).map(function(a,b){var d=c(this).val();return d==null?null:c.isArray(d)?c.map(d,function(e){return{name:b.name,value:e}}):{name:b.name,value:d}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,e){if(c.isFunction(b)){e=e||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:e})},
134
- getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,e){if(c.isFunction(b)){e=e||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:e})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return new E.XMLHttpRequest},accepts:{xml:"application/xml, text/xml",html:"text/html",
135
- script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},ajax:function(a){var b=c.extend(true,{},c.ajaxSettings,a),d,e,f,h=b.type.toUpperCase(),l=qb.test(h);b.url=b.url.replace(ub,"");b.context=a&&a.context!=null?a.context:b;if(b.data&&b.processData&&typeof b.data!=="string")b.data=c.param(b.data,b.traditional);if(b.dataType==="jsonp"){if(h==="GET")T.test(b.url)||(b.url+=(ja.test(b.url)?"&":"?")+(b.jsonp||"callback")+"=?");else if(!b.data||
136
- !T.test(b.data))b.data=(b.data?b.data+"&":"")+(b.jsonp||"callback")+"=?";b.dataType="json"}if(b.dataType==="json"&&(b.data&&T.test(b.data)||T.test(b.url))){d=b.jsonpCallback||"jsonp"+mb++;if(b.data)b.data=(b.data+"").replace(T,"="+d+"$1");b.url=b.url.replace(T,"="+d+"$1");b.dataType="script";var k=E[d];E[d]=function(m){if(c.isFunction(k))k(m);else{E[d]=B;try{delete E[d]}catch(p){}}f=m;c.handleSuccess(b,w,e,f);c.handleComplete(b,w,e,f);r&&r.removeChild(A)}}if(b.dataType==="script"&&b.cache===null)b.cache=
137
- false;if(b.cache===false&&l){var o=c.now(),x=b.url.replace(rb,"$1_="+o);b.url=x+(x===b.url?(ja.test(b.url)?"&":"?")+"_="+o:"")}if(b.data&&l)b.url+=(ja.test(b.url)?"&":"?")+b.data;b.global&&c.active++===0&&c.event.trigger("ajaxStart");o=(o=sb.exec(b.url))&&(o[1]&&o[1].toLowerCase()!==location.protocol||o[2].toLowerCase()!==location.host);if(b.dataType==="script"&&h==="GET"&&o){var r=t.getElementsByTagName("head")[0]||t.documentElement,A=t.createElement("script");if(b.scriptCharset)A.charset=b.scriptCharset;
138
- A.src=b.url;if(!d){var C=false;A.onload=A.onreadystatechange=function(){if(!C&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){C=true;c.handleSuccess(b,w,e,f);c.handleComplete(b,w,e,f);A.onload=A.onreadystatechange=null;r&&A.parentNode&&r.removeChild(A)}}}r.insertBefore(A,r.firstChild);return B}var J=false,w=b.xhr();if(w){b.username?w.open(h,b.url,b.async,b.username,b.password):w.open(h,b.url,b.async);try{if(b.data!=null&&!l||a&&a.contentType)w.setRequestHeader("Content-Type",
139
- b.contentType);if(b.ifModified){c.lastModified[b.url]&&w.setRequestHeader("If-Modified-Since",c.lastModified[b.url]);c.etag[b.url]&&w.setRequestHeader("If-None-Match",c.etag[b.url])}o||w.setRequestHeader("X-Requested-With","XMLHttpRequest");w.setRequestHeader("Accept",b.dataType&&b.accepts[b.dataType]?b.accepts[b.dataType]+", */*; q=0.01":b.accepts._default)}catch(I){}if(b.beforeSend&&b.beforeSend.call(b.context,w,b)===false){b.global&&c.active--===1&&c.event.trigger("ajaxStop");w.abort();return false}b.global&&
140
- c.triggerGlobal(b,"ajaxSend",[w,b]);var L=w.onreadystatechange=function(m){if(!w||w.readyState===0||m==="abort"){J||c.handleComplete(b,w,e,f);J=true;if(w)w.onreadystatechange=c.noop}else if(!J&&w&&(w.readyState===4||m==="timeout")){J=true;w.onreadystatechange=c.noop;e=m==="timeout"?"timeout":!c.httpSuccess(w)?"error":b.ifModified&&c.httpNotModified(w,b.url)?"notmodified":"success";var p;if(e==="success")try{f=c.httpData(w,b.dataType,b)}catch(q){e="parsererror";p=q}if(e==="success"||e==="notmodified")d||
141
- c.handleSuccess(b,w,e,f);else c.handleError(b,w,e,p);d||c.handleComplete(b,w,e,f);m==="timeout"&&w.abort();if(b.async)w=null}};try{var g=w.abort;w.abort=function(){w&&Function.prototype.call.call(g,w);L("abort")}}catch(i){}b.async&&b.timeout>0&&setTimeout(function(){w&&!J&&L("timeout")},b.timeout);try{w.send(l||b.data==null?null:b.data)}catch(n){c.handleError(b,w,null,n);c.handleComplete(b,w,e,f)}b.async||L();return w}},param:function(a,b){var d=[],e=function(h,l){l=c.isFunction(l)?l():l;d[d.length]=
142
- encodeURIComponent(h)+"="+encodeURIComponent(l)};if(b===B)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery)c.each(a,function(){e(this.name,this.value)});else for(var f in a)da(f,a[f],b,e);return d.join("&").replace(tb,"+")}});c.extend({active:0,lastModified:{},etag:{},handleError:function(a,b,d,e){a.error&&a.error.call(a.context,b,d,e);a.global&&c.triggerGlobal(a,"ajaxError",[b,a,e])},handleSuccess:function(a,b,d,e){a.success&&a.success.call(a.context,e,d,b);a.global&&c.triggerGlobal(a,"ajaxSuccess",
143
- [b,a])},handleComplete:function(a,b,d){a.complete&&a.complete.call(a.context,b,d);a.global&&c.triggerGlobal(a,"ajaxComplete",[b,a]);a.global&&c.active--===1&&c.event.trigger("ajaxStop")},triggerGlobal:function(a,b,d){(a.context&&a.context.url==null?c(a.context):c.event).trigger(b,d)},httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),
144
- e=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(e)c.etag[b]=e;return a.status===304},httpData:function(a,b,d){var e=a.getResponseHeader("content-type")||"",f=b==="xml"||!b&&e.indexOf("xml")>=0;a=f?a.responseXML:a.responseText;f&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b==="json"||!b&&e.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&e.indexOf("javascript")>=0)c.globalEval(a);return a}});
145
- if(E.ActiveXObject)c.ajaxSettings.xhr=function(){if(E.location.protocol!=="file:")try{return new E.XMLHttpRequest}catch(a){}try{return new E.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}};c.support.ajax=!!c.ajaxSettings.xhr();var ea={},vb=/^(?:toggle|show|hide)$/,wb=/^([+\-]=)?([\d+.\-]+)(.*)$/,ba,pa=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b,d){if(a||a===0)return this.animate(S("show",
146
- 3),a,b,d);else{d=0;for(var e=this.length;d<e;d++){a=this[d];b=a.style.display;if(!c.data(a,"olddisplay")&&b==="none")b=a.style.display="";b===""&&c.css(a,"display")==="none"&&c.data(a,"olddisplay",qa(a.nodeName))}for(d=0;d<e;d++){a=this[d];b=a.style.display;if(b===""||b==="none")a.style.display=c.data(a,"olddisplay")||""}return this}},hide:function(a,b,d){if(a||a===0)return this.animate(S("hide",3),a,b,d);else{a=0;for(b=this.length;a<b;a++){d=c.css(this[a],"display");d!=="none"&&c.data(this[a],"olddisplay",
147
- d)}for(a=0;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b,d){var e=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||e?this.each(function(){var f=e?a:c(this).is(":hidden");c(this)[f?"show":"hide"]()}):this.animate(S("toggle",3),a,b,d);return this},fadeTo:function(a,b,d,e){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d,e)},animate:function(a,b,d,e){var f=c.speed(b,
148
- d,e);if(c.isEmptyObject(a))return this.each(f.complete);return this[f.queue===false?"each":"queue"](function(){var h=c.extend({},f),l,k=this.nodeType===1,o=k&&c(this).is(":hidden"),x=this;for(l in a){var r=c.camelCase(l);if(l!==r){a[r]=a[l];delete a[l];l=r}if(a[l]==="hide"&&o||a[l]==="show"&&!o)return h.complete.call(this);if(k&&(l==="height"||l==="width")){h.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(c.css(this,"display")==="inline"&&c.css(this,"float")==="none")if(c.support.inlineBlockNeedsLayout)if(qa(this.nodeName)===
149
- "inline")this.style.display="inline-block";else{this.style.display="inline";this.style.zoom=1}else this.style.display="inline-block"}if(c.isArray(a[l])){(h.specialEasing=h.specialEasing||{})[l]=a[l][1];a[l]=a[l][0]}}if(h.overflow!=null)this.style.overflow="hidden";h.curAnim=c.extend({},a);c.each(a,function(A,C){var J=new c.fx(x,h,A);if(vb.test(C))J[C==="toggle"?o?"show":"hide":C](a);else{var w=wb.exec(C),I=J.cur()||0;if(w){var L=parseFloat(w[2]),g=w[3]||"px";if(g!=="px"){c.style(x,A,(L||1)+g);I=(L||
150
- 1)/J.cur()*I;c.style(x,A,I+g)}if(w[1])L=(w[1]==="-="?-1:1)*L+I;J.custom(I,L,g)}else J.custom(I,C,"")}});return true})},stop:function(a,b){var d=c.timers;a&&this.queue([]);this.each(function(){for(var e=d.length-1;e>=0;e--)if(d[e].elem===this){b&&d[e](true);d.splice(e,1)}});b||this.dequeue();return this}});c.each({slideDown:S("show",1),slideUp:S("hide",1),slideToggle:S("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){c.fn[a]=function(d,e,f){return this.animate(b,
151
- d,e,f)}});c.extend({speed:function(a,b,d){var e=a&&typeof a==="object"?c.extend({},a):{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};e.duration=c.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in c.fx.speeds?c.fx.speeds[e.duration]:c.fx.speeds._default;e.old=e.complete;e.complete=function(){e.queue!==false&&c(this).dequeue();c.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,d,e){return d+e*a},swing:function(a,b,d,e){return(-Math.cos(a*
152
- Math.PI)/2+0.5)*e+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a=parseFloat(c.css(this.elem,this.prop));return a&&a>-1E4?a:0},custom:function(a,b,d){function e(l){return f.step(l)}
153
- var f=this,h=c.fx;this.startTime=c.now();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;e.elem=this.elem;if(e()&&c.timers.push(e)&&!ba)ba=setInterval(h.tick,h.interval)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;
154
- this.custom(this.cur(),0)},step:function(a){var b=c.now(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var e in this.options.curAnim)if(this.options.curAnim[e]!==true)d=false;if(d){if(this.options.overflow!=null&&!c.support.shrinkWrapBlocks){var f=this.elem,h=this.options;c.each(["","X","Y"],function(k,o){f.style["overflow"+o]=h.overflow[k]})}this.options.hide&&c(this.elem).hide();if(this.options.hide||
155
- this.options.show)for(var l in this.options.curAnim)c.style(this.elem,l,this.options.orig[l]);this.options.complete.call(this.elem)}return false}else{a=b-this.startTime;this.state=a/this.options.duration;b=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||b](this.state,a,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a=
156
- c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||c.fx.stop()},interval:13,stop:function(){clearInterval(ba);ba=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit;else a.elem[a.prop]=a.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===
157
- b.elem}).length};var xb=/^t(?:able|d|h)$/i,Ia=/^(?:body|html)$/i;c.fn.offset="getBoundingClientRect"in t.documentElement?function(a){var b=this[0],d;if(a)return this.each(function(l){c.offset.setOffset(this,a,l)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);try{d=b.getBoundingClientRect()}catch(e){}var f=b.ownerDocument,h=f.documentElement;if(!d||!c.contains(h,b))return d||{top:0,left:0};b=f.body;f=fa(f);return{top:d.top+(f.pageYOffset||c.support.boxModel&&
158
- h.scrollTop||b.scrollTop)-(h.clientTop||b.clientTop||0),left:d.left+(f.pageXOffset||c.support.boxModel&&h.scrollLeft||b.scrollLeft)-(h.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(a)return this.each(function(x){c.offset.setOffset(this,a,x)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d,e=b.offsetParent,f=b.ownerDocument,h=f.documentElement,l=f.body;d=(f=f.defaultView)?f.getComputedStyle(b,null):b.currentStyle;
159
- for(var k=b.offsetTop,o=b.offsetLeft;(b=b.parentNode)&&b!==l&&b!==h;){if(c.offset.supportsFixedPosition&&d.position==="fixed")break;d=f?f.getComputedStyle(b,null):b.currentStyle;k-=b.scrollTop;o-=b.scrollLeft;if(b===e){k+=b.offsetTop;o+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&xb.test(b.nodeName))){k+=parseFloat(d.borderTopWidth)||0;o+=parseFloat(d.borderLeftWidth)||0}e=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&d.overflow!=="visible"){k+=
160
- parseFloat(d.borderTopWidth)||0;o+=parseFloat(d.borderLeftWidth)||0}d=d}if(d.position==="relative"||d.position==="static"){k+=l.offsetTop;o+=l.offsetLeft}if(c.offset.supportsFixedPosition&&d.position==="fixed"){k+=Math.max(h.scrollTop,l.scrollTop);o+=Math.max(h.scrollLeft,l.scrollLeft)}return{top:k,left:o}};c.offset={initialize:function(){var a=t.body,b=t.createElement("div"),d,e,f,h=parseFloat(c.css(a,"marginTop"))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",
161
- height:"1px",visibility:"hidden"});b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";a.insertBefore(b,a.firstChild);d=b.firstChild;e=d.firstChild;f=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=e.offsetTop!==5;this.doesAddBorderForTableAndCells=
162
- f.offsetTop===5;e.style.position="fixed";e.style.top="20px";this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15;e.style.position=e.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==h;a.removeChild(b);c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.css(a,
163
- "marginTop"))||0;d+=parseFloat(c.css(a,"marginLeft"))||0}return{top:b,left:d}},setOffset:function(a,b,d){var e=c.css(a,"position");if(e==="static")a.style.position="relative";var f=c(a),h=f.offset(),l=c.css(a,"top"),k=c.css(a,"left"),o=e==="absolute"&&c.inArray("auto",[l,k])>-1;e={};var x={};if(o)x=f.position();l=o?x.top:parseInt(l,10)||0;k=o?x.left:parseInt(k,10)||0;if(c.isFunction(b))b=b.call(a,d,h);if(b.top!=null)e.top=b.top-h.top+l;if(b.left!=null)e.left=b.left-h.left+k;"using"in b?b.using.call(a,
164
- e):f.css(e)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),e=Ia.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.css(a,"marginTop"))||0;d.left-=parseFloat(c.css(a,"marginLeft"))||0;e.top+=parseFloat(c.css(b[0],"borderTopWidth"))||0;e.left+=parseFloat(c.css(b[0],"borderLeftWidth"))||0;return{top:d.top-e.top,left:d.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||t.body;a&&!Ia.test(a.nodeName)&&
165
- c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(e){var f=this[0],h;if(!f)return null;if(e!==B)return this.each(function(){if(h=fa(this))h.scrollTo(!a?e:c(h).scrollLeft(),a?e:c(h).scrollTop());else this[d]=e});else return(h=fa(f))?"pageXOffset"in h?h[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&h.document.documentElement[d]||h.document.body[d]:f[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();
166
- c.fn["inner"+b]=function(){return this[0]?parseFloat(c.css(this[0],d,"padding")):null};c.fn["outer"+b]=function(e){return this[0]?parseFloat(c.css(this[0],d,e?"margin":"border")):null};c.fn[d]=function(e){var f=this[0];if(!f)return e==null?null:this;if(c.isFunction(e))return this.each(function(l){var k=c(this);k[d](e.call(this,l,k[d]()))});if(c.isWindow(f))return f.document.compatMode==="CSS1Compat"&&f.document.documentElement["client"+b]||f.document.body["client"+b];else if(f.nodeType===9)return Math.max(f.documentElement["client"+
167
- b],f.body["scroll"+b],f.documentElement["scroll"+b],f.body["offset"+b],f.documentElement["offset"+b]);else if(e===B){f=c.css(f,d);var h=parseFloat(f);return c.isNaN(h)?f:h}else return this.css(d,typeof e==="string"?e:e+"px")}})})(window);
1
+ /*!
2
+ * jQuery JavaScript Library v1.4.4
3
+ * http://jquery.com/
4
+ *
5
+ * Copyright 2010, John Resig
6
+ * Dual licensed under the MIT or GPL Version 2 licenses.
7
+ * http://jquery.org/license
8
+ *
9
+ * Includes Sizzle.js
10
+ * http://sizzlejs.com/
11
+ * Copyright 2010, The Dojo Foundation
12
+ * Released under the MIT, BSD, and GPL Licenses.
13
+ *
14
+ * Date: Thu Nov 11 19:04:53 2010 -0500
15
+ */
16
+ (function(E,B){function ka(a,b,d){if(d===B&&a.nodeType===1){d=a.getAttribute("data-"+b);if(typeof d==="string"){try{d=d==="true"?true:d==="false"?false:d==="null"?null:!c.isNaN(d)?parseFloat(d):Ja.test(d)?c.parseJSON(d):d}catch(e){}c.data(a,b,d)}else d=B}return d}function U(){return false}function ca(){return true}function la(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function Ka(a){var b,d,e,f,h,l,k,o,x,r,A,C=[];f=[];h=c.data(this,this.nodeType?"events":"__events__");if(typeof h==="function")h=
17
+ h.events;if(!(a.liveFired===this||!h||!h.live||a.button&&a.type==="click")){if(a.namespace)A=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)");a.liveFired=this;var J=h.live.slice(0);for(k=0;k<J.length;k++){h=J[k];h.origType.replace(X,"")===a.type?f.push(h.selector):J.splice(k--,1)}f=c(a.target).closest(f,a.currentTarget);o=0;for(x=f.length;o<x;o++){r=f[o];for(k=0;k<J.length;k++){h=J[k];if(r.selector===h.selector&&(!A||A.test(h.namespace))){l=r.elem;e=null;if(h.preType==="mouseenter"||
18
+ h.preType==="mouseleave"){a.type=h.preType;e=c(a.relatedTarget).closest(h.selector)[0]}if(!e||e!==l)C.push({elem:l,handleObj:h,level:r.level})}}}o=0;for(x=C.length;o<x;o++){f=C[o];if(d&&f.level>d)break;a.currentTarget=f.elem;a.data=f.handleObj.data;a.handleObj=f.handleObj;A=f.handleObj.origHandler.apply(f.elem,arguments);if(A===false||a.isPropagationStopped()){d=f.level;if(A===false)b=false;if(a.isImmediatePropagationStopped())break}}return b}}function Y(a,b){return(a&&a!=="*"?a+".":"")+b.replace(La,
19
+ "`").replace(Ma,"&")}function ma(a,b,d){if(c.isFunction(b))return c.grep(a,function(f,h){return!!b.call(f,h,f)===d});else if(b.nodeType)return c.grep(a,function(f){return f===b===d});else if(typeof b==="string"){var e=c.grep(a,function(f){return f.nodeType===1});if(Na.test(b))return c.filter(b,e,!d);else b=c.filter(b,e)}return c.grep(a,function(f){return c.inArray(f,b)>=0===d})}function na(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var e=c.data(a[d++]),f=c.data(this,
20
+ e);if(e=e&&e.events){delete f.handle;f.events={};for(var h in e)for(var l in e[h])c.event.add(this,h,e[h][l],e[h][l].data)}}})}function Oa(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function oa(a,b,d){var e=b==="width"?a.offsetWidth:a.offsetHeight;if(d==="border")return e;c.each(b==="width"?Pa:Qa,function(){d||(e-=parseFloat(c.css(a,"padding"+this))||0);if(d==="margin")e+=parseFloat(c.css(a,
21
+ "margin"+this))||0;else e-=parseFloat(c.css(a,"border"+this+"Width"))||0});return e}function da(a,b,d,e){if(c.isArray(b)&&b.length)c.each(b,function(f,h){d||Ra.test(a)?e(a,h):da(a+"["+(typeof h==="object"||c.isArray(h)?f:"")+"]",h,d,e)});else if(!d&&b!=null&&typeof b==="object")c.isEmptyObject(b)?e(a,""):c.each(b,function(f,h){da(a+"["+f+"]",h,d,e)});else e(a,b)}function S(a,b){var d={};c.each(pa.concat.apply([],pa.slice(0,b)),function(){d[this]=a});return d}function qa(a){if(!ea[a]){var b=c("<"+
22
+ a+">").appendTo("body"),d=b.css("display");b.remove();if(d==="none"||d==="")d="block";ea[a]=d}return ea[a]}function fa(a){return c.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var t=E.document,c=function(){function a(){if(!b.isReady){try{t.documentElement.doScroll("left")}catch(j){setTimeout(a,1);return}b.ready()}}var b=function(j,s){return new b.fn.init(j,s)},d=E.jQuery,e=E.$,f,h=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,l=/\S/,k=/^\s+/,o=/\s+$/,x=/\W/,r=/\d/,A=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,
23
+ C=/^[\],:{}\s]*$/,J=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,w=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,I=/(?:^|:|,)(?:\s*\[)+/g,L=/(webkit)[ \/]([\w.]+)/,g=/(opera)(?:.*version)?[ \/]([\w.]+)/,i=/(msie) ([\w.]+)/,n=/(mozilla)(?:.*? rv:([\w.]+))?/,m=navigator.userAgent,p=false,q=[],u,y=Object.prototype.toString,F=Object.prototype.hasOwnProperty,M=Array.prototype.push,N=Array.prototype.slice,O=String.prototype.trim,D=Array.prototype.indexOf,R={};b.fn=b.prototype={init:function(j,
24
+ s){var v,z,H;if(!j)return this;if(j.nodeType){this.context=this[0]=j;this.length=1;return this}if(j==="body"&&!s&&t.body){this.context=t;this[0]=t.body;this.selector="body";this.length=1;return this}if(typeof j==="string")if((v=h.exec(j))&&(v[1]||!s))if(v[1]){H=s?s.ownerDocument||s:t;if(z=A.exec(j))if(b.isPlainObject(s)){j=[t.createElement(z[1])];b.fn.attr.call(j,s,true)}else j=[H.createElement(z[1])];else{z=b.buildFragment([v[1]],[H]);j=(z.cacheable?z.fragment.cloneNode(true):z.fragment).childNodes}return b.merge(this,
25
+ j)}else{if((z=t.getElementById(v[2]))&&z.parentNode){if(z.id!==v[2])return f.find(j);this.length=1;this[0]=z}this.context=t;this.selector=j;return this}else if(!s&&!x.test(j)){this.selector=j;this.context=t;j=t.getElementsByTagName(j);return b.merge(this,j)}else return!s||s.jquery?(s||f).find(j):b(s).find(j);else if(b.isFunction(j))return f.ready(j);if(j.selector!==B){this.selector=j.selector;this.context=j.context}return b.makeArray(j,this)},selector:"",jquery:"1.4.4",length:0,size:function(){return this.length},
26
+ toArray:function(){return N.call(this,0)},get:function(j){return j==null?this.toArray():j<0?this.slice(j)[0]:this[j]},pushStack:function(j,s,v){var z=b();b.isArray(j)?M.apply(z,j):b.merge(z,j);z.prevObject=this;z.context=this.context;if(s==="find")z.selector=this.selector+(this.selector?" ":"")+v;else if(s)z.selector=this.selector+"."+s+"("+v+")";return z},each:function(j,s){return b.each(this,j,s)},ready:function(j){b.bindReady();if(b.isReady)j.call(t,b);else q&&q.push(j);return this},eq:function(j){return j===
27
+ -1?this.slice(j):this.slice(j,+j+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(N.apply(this,arguments),"slice",N.call(arguments).join(","))},map:function(j){return this.pushStack(b.map(this,function(s,v){return j.call(s,v,s)}))},end:function(){return this.prevObject||b(null)},push:M,sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var j,s,v,z,H,G=arguments[0]||{},K=1,Q=arguments.length,ga=false;
28
+ if(typeof G==="boolean"){ga=G;G=arguments[1]||{};K=2}if(typeof G!=="object"&&!b.isFunction(G))G={};if(Q===K){G=this;--K}for(;K<Q;K++)if((j=arguments[K])!=null)for(s in j){v=G[s];z=j[s];if(G!==z)if(ga&&z&&(b.isPlainObject(z)||(H=b.isArray(z)))){if(H){H=false;v=v&&b.isArray(v)?v:[]}else v=v&&b.isPlainObject(v)?v:{};G[s]=b.extend(ga,v,z)}else if(z!==B)G[s]=z}return G};b.extend({noConflict:function(j){E.$=e;if(j)E.jQuery=d;return b},isReady:false,readyWait:1,ready:function(j){j===true&&b.readyWait--;
29
+ if(!b.readyWait||j!==true&&!b.isReady){if(!t.body)return setTimeout(b.ready,1);b.isReady=true;if(!(j!==true&&--b.readyWait>0))if(q){var s=0,v=q;for(q=null;j=v[s++];)j.call(t,b);b.fn.trigger&&b(t).trigger("ready").unbind("ready")}}},bindReady:function(){if(!p){p=true;if(t.readyState==="complete")return setTimeout(b.ready,1);if(t.addEventListener){t.addEventListener("DOMContentLoaded",u,false);E.addEventListener("load",b.ready,false)}else if(t.attachEvent){t.attachEvent("onreadystatechange",u);E.attachEvent("onload",
30
+ b.ready);var j=false;try{j=E.frameElement==null}catch(s){}t.documentElement.doScroll&&j&&a()}}},isFunction:function(j){return b.type(j)==="function"},isArray:Array.isArray||function(j){return b.type(j)==="array"},isWindow:function(j){return j&&typeof j==="object"&&"setInterval"in j},isNaN:function(j){return j==null||!r.test(j)||isNaN(j)},type:function(j){return j==null?String(j):R[y.call(j)]||"object"},isPlainObject:function(j){if(!j||b.type(j)!=="object"||j.nodeType||b.isWindow(j))return false;if(j.constructor&&
31
+ !F.call(j,"constructor")&&!F.call(j.constructor.prototype,"isPrototypeOf"))return false;for(var s in j);return s===B||F.call(j,s)},isEmptyObject:function(j){for(var s in j)return false;return true},error:function(j){throw j;},parseJSON:function(j){if(typeof j!=="string"||!j)return null;j=b.trim(j);if(C.test(j.replace(J,"@").replace(w,"]").replace(I,"")))return E.JSON&&E.JSON.parse?E.JSON.parse(j):(new Function("return "+j))();else b.error("Invalid JSON: "+j)},noop:function(){},globalEval:function(j){if(j&&
32
+ l.test(j)){var s=t.getElementsByTagName("head")[0]||t.documentElement,v=t.createElement("script");v.type="text/javascript";if(b.support.scriptEval)v.appendChild(t.createTextNode(j));else v.text=j;s.insertBefore(v,s.firstChild);s.removeChild(v)}},nodeName:function(j,s){return j.nodeName&&j.nodeName.toUpperCase()===s.toUpperCase()},each:function(j,s,v){var z,H=0,G=j.length,K=G===B||b.isFunction(j);if(v)if(K)for(z in j){if(s.apply(j[z],v)===false)break}else for(;H<G;){if(s.apply(j[H++],v)===false)break}else if(K)for(z in j){if(s.call(j[z],
33
+ z,j[z])===false)break}else for(v=j[0];H<G&&s.call(v,H,v)!==false;v=j[++H]);return j},trim:O?function(j){return j==null?"":O.call(j)}:function(j){return j==null?"":j.toString().replace(k,"").replace(o,"")},makeArray:function(j,s){var v=s||[];if(j!=null){var z=b.type(j);j.length==null||z==="string"||z==="function"||z==="regexp"||b.isWindow(j)?M.call(v,j):b.merge(v,j)}return v},inArray:function(j,s){if(s.indexOf)return s.indexOf(j);for(var v=0,z=s.length;v<z;v++)if(s[v]===j)return v;return-1},merge:function(j,
34
+ s){var v=j.length,z=0;if(typeof s.length==="number")for(var H=s.length;z<H;z++)j[v++]=s[z];else for(;s[z]!==B;)j[v++]=s[z++];j.length=v;return j},grep:function(j,s,v){var z=[],H;v=!!v;for(var G=0,K=j.length;G<K;G++){H=!!s(j[G],G);v!==H&&z.push(j[G])}return z},map:function(j,s,v){for(var z=[],H,G=0,K=j.length;G<K;G++){H=s(j[G],G,v);if(H!=null)z[z.length]=H}return z.concat.apply([],z)},guid:1,proxy:function(j,s,v){if(arguments.length===2)if(typeof s==="string"){v=j;j=v[s];s=B}else if(s&&!b.isFunction(s)){v=
35
+ s;s=B}if(!s&&j)s=function(){return j.apply(v||this,arguments)};if(j)s.guid=j.guid=j.guid||s.guid||b.guid++;return s},access:function(j,s,v,z,H,G){var K=j.length;if(typeof s==="object"){for(var Q in s)b.access(j,Q,s[Q],z,H,v);return j}if(v!==B){z=!G&&z&&b.isFunction(v);for(Q=0;Q<K;Q++)H(j[Q],s,z?v.call(j[Q],Q,H(j[Q],s)):v,G);return j}return K?H(j[0],s):B},now:function(){return(new Date).getTime()},uaMatch:function(j){j=j.toLowerCase();j=L.exec(j)||g.exec(j)||i.exec(j)||j.indexOf("compatible")<0&&n.exec(j)||
36
+ [];return{browser:j[1]||"",version:j[2]||"0"}},browser:{}});b.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(j,s){R["[object "+s+"]"]=s.toLowerCase()});m=b.uaMatch(m);if(m.browser){b.browser[m.browser]=true;b.browser.version=m.version}if(b.browser.webkit)b.browser.safari=true;if(D)b.inArray=function(j,s){return D.call(s,j)};if(!/\s/.test("\u00a0")){k=/^[\s\xA0]+/;o=/[\s\xA0]+$/}f=b(t);if(t.addEventListener)u=function(){t.removeEventListener("DOMContentLoaded",u,
37
+ false);b.ready()};else if(t.attachEvent)u=function(){if(t.readyState==="complete"){t.detachEvent("onreadystatechange",u);b.ready()}};return E.jQuery=E.$=b}();(function(){c.support={};var a=t.documentElement,b=t.createElement("script"),d=t.createElement("div"),e="script"+c.now();d.style.display="none";d.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var f=d.getElementsByTagName("*"),h=d.getElementsByTagName("a")[0],l=t.createElement("select"),
38
+ k=l.appendChild(t.createElement("option"));if(!(!f||!f.length||!h)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(h.getAttribute("style")),hrefNormalized:h.getAttribute("href")==="/a",opacity:/^0.55$/.test(h.style.opacity),cssFloat:!!h.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:k.selected,deleteExpando:true,optDisabled:false,checkClone:false,
39
+ scriptEval:false,noCloneEvent:true,boxModel:null,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableHiddenOffsets:true};l.disabled=true;c.support.optDisabled=!k.disabled;b.type="text/javascript";try{b.appendChild(t.createTextNode("window."+e+"=1;"))}catch(o){}a.insertBefore(b,a.firstChild);if(E[e]){c.support.scriptEval=true;delete E[e]}try{delete b.test}catch(x){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function r(){c.support.noCloneEvent=
40
+ false;d.detachEvent("onclick",r)});d.cloneNode(true).fireEvent("onclick")}d=t.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=t.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var r=t.createElement("div");r.style.width=r.style.paddingLeft="1px";t.body.appendChild(r);c.boxModel=c.support.boxModel=r.offsetWidth===2;if("zoom"in r.style){r.style.display="inline";r.style.zoom=
41
+ 1;c.support.inlineBlockNeedsLayout=r.offsetWidth===2;r.style.display="";r.innerHTML="<div style='width:4px;'></div>";c.support.shrinkWrapBlocks=r.offsetWidth!==2}r.innerHTML="<table><tr><td style='padding:0;display:none'></td><td>t</td></tr></table>";var A=r.getElementsByTagName("td");c.support.reliableHiddenOffsets=A[0].offsetHeight===0;A[0].style.display="";A[1].style.display="none";c.support.reliableHiddenOffsets=c.support.reliableHiddenOffsets&&A[0].offsetHeight===0;r.innerHTML="";t.body.removeChild(r).style.display=
42
+ "none"});a=function(r){var A=t.createElement("div");r="on"+r;var C=r in A;if(!C){A.setAttribute(r,"return;");C=typeof A[r]==="function"}return C};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=f=h=null}})();var ra={},Ja=/^(?:\{.*\}|\[.*\])$/;c.extend({cache:{},uuid:0,expando:"jQuery"+c.now(),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},data:function(a,b,d){if(c.acceptData(a)){a=a==E?ra:a;var e=a.nodeType,f=e?a[c.expando]:null,h=
43
+ c.cache;if(!(e&&!f&&typeof b==="string"&&d===B)){if(e)f||(a[c.expando]=f=++c.uuid);else h=a;if(typeof b==="object")if(e)h[f]=c.extend(h[f],b);else c.extend(h,b);else if(e&&!h[f])h[f]={};a=e?h[f]:h;if(d!==B)a[b]=d;return typeof b==="string"?a[b]:a}}},removeData:function(a,b){if(c.acceptData(a)){a=a==E?ra:a;var d=a.nodeType,e=d?a[c.expando]:a,f=c.cache,h=d?f[e]:e;if(b){if(h){delete h[b];d&&c.isEmptyObject(h)&&c.removeData(a)}}else if(d&&c.support.deleteExpando)delete a[c.expando];else if(a.removeAttribute)a.removeAttribute(c.expando);
44
+ else if(d)delete f[e];else for(var l in a)delete a[l]}},acceptData:function(a){if(a.nodeName){var b=c.noData[a.nodeName.toLowerCase()];if(b)return!(b===true||a.getAttribute("classid")!==b)}return true}});c.fn.extend({data:function(a,b){var d=null;if(typeof a==="undefined"){if(this.length){var e=this[0].attributes,f;d=c.data(this[0]);for(var h=0,l=e.length;h<l;h++){f=e[h].name;if(f.indexOf("data-")===0){f=f.substr(5);ka(this[0],f,d[f])}}}return d}else if(typeof a==="object")return this.each(function(){c.data(this,
45
+ a)});var k=a.split(".");k[1]=k[1]?"."+k[1]:"";if(b===B){d=this.triggerHandler("getData"+k[1]+"!",[k[0]]);if(d===B&&this.length){d=c.data(this[0],a);d=ka(this[0],a,d)}return d===B&&k[1]?this.data(k[0]):d}else return this.each(function(){var o=c(this),x=[k[0],b];o.triggerHandler("setData"+k[1]+"!",x);c.data(this,a,b);o.triggerHandler("changeData"+k[1]+"!",x)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var e=
46
+ c.data(a,b);if(!d)return e||[];if(!e||c.isArray(d))e=c.data(a,b,c.makeArray(d));else e.push(d);return e}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),e=d.shift();if(e==="inprogress")e=d.shift();if(e){b==="fx"&&d.unshift("inprogress");e.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===B)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,
47
+ a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var sa=/[\n\t]/g,ha=/\s+/,Sa=/\r/g,Ta=/^(?:href|src|style)$/,Ua=/^(?:button|input)$/i,Va=/^(?:button|input|object|select|textarea)$/i,Wa=/^a(?:rea)?$/i,ta=/^(?:radio|checkbox)$/i;c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",
48
+ colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};c.fn.extend({attr:function(a,b){return c.access(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(x){var r=c(this);r.addClass(a.call(this,x,r.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ha),d=0,e=this.length;d<e;d++){var f=this[d];if(f.nodeType===
49
+ 1)if(f.className){for(var h=" "+f.className+" ",l=f.className,k=0,o=b.length;k<o;k++)if(h.indexOf(" "+b[k]+" ")<0)l+=" "+b[k];f.className=c.trim(l)}else f.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(o){var x=c(this);x.removeClass(a.call(this,o,x.attr("class")))});if(a&&typeof a==="string"||a===B)for(var b=(a||"").split(ha),d=0,e=this.length;d<e;d++){var f=this[d];if(f.nodeType===1&&f.className)if(a){for(var h=(" "+f.className+" ").replace(sa," "),
50
+ l=0,k=b.length;l<k;l++)h=h.replace(" "+b[l]+" "," ");f.className=c.trim(h)}else f.className=""}return this},toggleClass:function(a,b){var d=typeof a,e=typeof b==="boolean";if(c.isFunction(a))return this.each(function(f){var h=c(this);h.toggleClass(a.call(this,f,h.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var f,h=0,l=c(this),k=b,o=a.split(ha);f=o[h++];){k=e?k:!l.hasClass(f);l[k?"addClass":"removeClass"](f)}else if(d==="undefined"||d==="boolean"){this.className&&c.data(this,
51
+ "__className__",this.className);this.className=this.className||a===false?"":c.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,d=this.length;b<d;b++)if((" "+this[b].className+" ").replace(sa," ").indexOf(a)>-1)return true;return false},val:function(a){if(!arguments.length){var b=this[0];if(b){if(c.nodeName(b,"option")){var d=b.attributes.value;return!d||d.specified?b.value:b.text}if(c.nodeName(b,"select")){var e=b.selectedIndex;d=[];var f=b.options;b=b.type==="select-one";
52
+ if(e<0)return null;var h=b?e:0;for(e=b?e+1:f.length;h<e;h++){var l=f[h];if(l.selected&&(c.support.optDisabled?!l.disabled:l.getAttribute("disabled")===null)&&(!l.parentNode.disabled||!c.nodeName(l.parentNode,"optgroup"))){a=c(l).val();if(b)return a;d.push(a)}}return d}if(ta.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Sa,"")}return B}var k=c.isFunction(a);return this.each(function(o){var x=c(this),r=a;if(this.nodeType===1){if(k)r=
53
+ a.call(this,o,x.val());if(r==null)r="";else if(typeof r==="number")r+="";else if(c.isArray(r))r=c.map(r,function(C){return C==null?"":C+""});if(c.isArray(r)&&ta.test(this.type))this.checked=c.inArray(x.val(),r)>=0;else if(c.nodeName(this,"select")){var A=c.makeArray(r);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),A)>=0});if(!A.length)this.selectedIndex=-1}else this.value=r}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},
54
+ attr:function(a,b,d,e){if(!a||a.nodeType===3||a.nodeType===8)return B;if(e&&b in c.attrFn)return c(a)[b](d);e=a.nodeType!==1||!c.isXMLDoc(a);var f=d!==B;b=e&&c.props[b]||b;var h=Ta.test(b);if((b in a||a[b]!==B)&&e&&!h){if(f){b==="type"&&Ua.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed");if(d===null)a.nodeType===1&&a.removeAttribute(b);else a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&
55
+ b.specified?b.value:Va.test(a.nodeName)||Wa.test(a.nodeName)&&a.href?0:B;return a[b]}if(!c.support.style&&e&&b==="style"){if(f)a.style.cssText=""+d;return a.style.cssText}f&&a.setAttribute(b,""+d);if(!a.attributes[b]&&a.hasAttribute&&!a.hasAttribute(b))return B;a=!c.support.hrefNormalized&&e&&h?a.getAttribute(b,2):a.getAttribute(b);return a===null?B:a}});var X=/\.(.*)$/,ia=/^(?:textarea|input|select)$/i,La=/\./g,Ma=/ /g,Xa=/[^\w\s.|`]/g,Ya=function(a){return a.replace(Xa,"\\$&")},ua={focusin:0,focusout:0};
56
+ c.event={add:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){if(c.isWindow(a)&&a!==E&&!a.frameElement)a=E;if(d===false)d=U;else if(!d)return;var f,h;if(d.handler){f=d;d=f.handler}if(!d.guid)d.guid=c.guid++;if(h=c.data(a)){var l=a.nodeType?"events":"__events__",k=h[l],o=h.handle;if(typeof k==="function"){o=k.handle;k=k.events}else if(!k){a.nodeType||(h[l]=h=function(){});h.events=k={}}if(!o)h.handle=o=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(o.elem,
57
+ arguments):B};o.elem=a;b=b.split(" ");for(var x=0,r;l=b[x++];){h=f?c.extend({},f):{handler:d,data:e};if(l.indexOf(".")>-1){r=l.split(".");l=r.shift();h.namespace=r.slice(0).sort().join(".")}else{r=[];h.namespace=""}h.type=l;if(!h.guid)h.guid=d.guid;var A=k[l],C=c.event.special[l]||{};if(!A){A=k[l]=[];if(!C.setup||C.setup.call(a,e,r,o)===false)if(a.addEventListener)a.addEventListener(l,o,false);else a.attachEvent&&a.attachEvent("on"+l,o)}if(C.add){C.add.call(a,h);if(!h.handler.guid)h.handler.guid=
58
+ d.guid}A.push(h);c.event.global[l]=true}a=null}}},global:{},remove:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){if(d===false)d=U;var f,h,l=0,k,o,x,r,A,C,J=a.nodeType?"events":"__events__",w=c.data(a),I=w&&w[J];if(w&&I){if(typeof I==="function"){w=I;I=I.events}if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(f in I)c.event.remove(a,f+b)}else{for(b=b.split(" ");f=b[l++];){r=f;k=f.indexOf(".")<0;o=[];if(!k){o=f.split(".");f=o.shift();x=RegExp("(^|\\.)"+
59
+ c.map(o.slice(0).sort(),Ya).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(A=I[f])if(d){r=c.event.special[f]||{};for(h=e||0;h<A.length;h++){C=A[h];if(d.guid===C.guid){if(k||x.test(C.namespace)){e==null&&A.splice(h--,1);r.remove&&r.remove.call(a,C)}if(e!=null)break}}if(A.length===0||e!=null&&A.length===1){if(!r.teardown||r.teardown.call(a,o)===false)c.removeEvent(a,f,w.handle);delete I[f]}}else for(h=0;h<A.length;h++){C=A[h];if(k||x.test(C.namespace)){c.event.remove(a,r,C.handler,h);A.splice(h--,1)}}}if(c.isEmptyObject(I)){if(b=
60
+ w.handle)b.elem=null;delete w.events;delete w.handle;if(typeof w==="function")c.removeData(a,J);else c.isEmptyObject(w)&&c.removeData(a)}}}}},trigger:function(a,b,d,e){var f=a.type||a;if(!e){a=typeof a==="object"?a[c.expando]?a:c.extend(c.Event(f),a):c.Event(f);if(f.indexOf("!")>=0){a.type=f=f.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[f]&&c.each(c.cache,function(){this.events&&this.events[f]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===
61
+ 8)return B;a.result=B;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(e=d.nodeType?c.data(d,"handle"):(c.data(d,"__events__")||{}).handle)&&e.apply(d,b);e=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+f]&&d["on"+f].apply(d,b)===false){a.result=false;a.preventDefault()}}catch(h){}if(!a.isPropagationStopped()&&e)c.event.trigger(a,b,e,true);else if(!a.isDefaultPrevented()){var l;e=a.target;var k=f.replace(X,""),o=c.nodeName(e,"a")&&k===
62
+ "click",x=c.event.special[k]||{};if((!x._default||x._default.call(d,a)===false)&&!o&&!(e&&e.nodeName&&c.noData[e.nodeName.toLowerCase()])){try{if(e[k]){if(l=e["on"+k])e["on"+k]=null;c.event.triggered=true;e[k]()}}catch(r){}if(l)e["on"+k]=l;c.event.triggered=false}}},handle:function(a){var b,d,e,f;d=[];var h=c.makeArray(arguments);a=h[0]=c.event.fix(a||E.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b){e=a.type.split(".");a.type=e.shift();d=e.slice(0).sort();e=RegExp("(^|\\.)"+
63
+ d.join("\\.(?:.*\\.)?")+"(\\.|$)")}a.namespace=a.namespace||d.join(".");f=c.data(this,this.nodeType?"events":"__events__");if(typeof f==="function")f=f.events;d=(f||{})[a.type];if(f&&d){d=d.slice(0);f=0;for(var l=d.length;f<l;f++){var k=d[f];if(b||e.test(k.namespace)){a.handler=k.handler;a.data=k.data;a.handleObj=k;k=k.handler.apply(this,h);if(k!==B){a.result=k;if(k===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
64
+ fix:function(a){if(a[c.expando])return a;var b=a;a=c.Event(b);for(var d=this.props.length,e;d;){e=this.props[--d];a[e]=b[e]}if(!a.target)a.target=a.srcElement||t;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){b=t.documentElement;d=t.body;a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop||
65
+ d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0)}if(a.which==null&&(a.charCode!=null||a.keyCode!=null))a.which=a.charCode!=null?a.charCode:a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==B)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a){c.event.add(this,Y(a.origType,a.selector),c.extend({},a,{handler:Ka,guid:a.handler.guid}))},remove:function(a){c.event.remove(this,
66
+ Y(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,d){if(c.isWindow(this))this.onbeforeunload=d},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};c.removeEvent=t.removeEventListener?function(a,b,d){a.removeEventListener&&a.removeEventListener(b,d,false)}:function(a,b,d){a.detachEvent&&a.detachEvent("on"+b,d)};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=a;this.timeStamp=
67
+ c.now();this[c.expando]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=ca;var a=this.originalEvent;if(a)if(a.preventDefault)a.preventDefault();else a.returnValue=false},stopPropagation:function(){this.isPropagationStopped=ca;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=ca;this.stopPropagation()},isDefaultPrevented:U,isPropagationStopped:U,isImmediatePropagationStopped:U};
68
+ var va=function(a){var b=a.relatedTarget;try{for(;b&&b!==this;)b=b.parentNode;if(b!==this){a.type=a.data;c.event.handle.apply(this,arguments)}}catch(d){}},wa=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(d){c.event.add(this,b,d&&d.selector?wa:va,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?wa:va)}}});if(!c.support.submitBubbles)c.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!==
69
+ "form"){c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="submit"||d==="image")&&c(b).closest("form").length){a.liveFired=B;return la("submit",this,arguments)}});c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="text"||d==="password")&&c(b).closest("form").length&&a.keyCode===13){a.liveFired=B;return la("submit",this,arguments)}})}else return false},teardown:function(){c.event.remove(this,".specialSubmit")}};if(!c.support.changeBubbles){var V,
70
+ xa=function(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(e){return e.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},Z=function(a,b){var d=a.target,e,f;if(!(!ia.test(d.nodeName)||d.readOnly)){e=c.data(d,"_change_data");f=xa(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",f);if(!(e===B||f===e))if(e!=null||f){a.type="change";a.liveFired=
71
+ B;return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:Z,beforedeactivate:Z,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return Z.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return Z.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",xa(a))}},setup:function(){if(this.type===
72
+ "file")return false;for(var a in V)c.event.add(this,a+".specialChange",V[a]);return ia.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return ia.test(this.nodeName)}};V=c.event.special.change.filters;V.focus=V.beforeactivate}t.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(e){e=c.event.fix(e);e.type=b;return c.event.trigger(e,null,e.target)}c.event.special[b]={setup:function(){ua[b]++===0&&t.addEventListener(a,d,true)},teardown:function(){--ua[b]===
73
+ 0&&t.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,e,f){if(typeof d==="object"){for(var h in d)this[b](h,e,d[h],f);return this}if(c.isFunction(e)||e===false){f=e;e=B}var l=b==="one"?c.proxy(f,function(o){c(this).unbind(o,l);return f.apply(this,arguments)}):f;if(d==="unload"&&b!=="one")this.one(d,e,f);else{h=0;for(var k=this.length;h<k;h++)c.event.add(this[h],d,l,e)}return this}});c.fn.extend({unbind:function(a,b){if(typeof a==="object"&&!a.preventDefault)for(var d in a)this.unbind(d,
74
+ a[d]);else{d=0;for(var e=this.length;d<e;d++)c.event.remove(this[d],a,b)}return this},delegate:function(a,b,d,e){return this.live(b,d,e,a)},undelegate:function(a,b,d){return arguments.length===0?this.unbind("live"):this.die(b,null,d,a)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){var d=c.Event(a);d.preventDefault();d.stopPropagation();c.event.trigger(d,b,this[0]);return d.result}},toggle:function(a){for(var b=arguments,d=
75
+ 1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(e){var f=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,f+1);e.preventDefault();return b[f].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var ya={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(d,e,f,h){var l,k=0,o,x,r=h||this.selector;h=h?this:c(this.context);if(typeof d===
76
+ "object"&&!d.preventDefault){for(l in d)h[b](l,e,d[l],r);return this}if(c.isFunction(e)){f=e;e=B}for(d=(d||"").split(" ");(l=d[k++])!=null;){o=X.exec(l);x="";if(o){x=o[0];l=l.replace(X,"")}if(l==="hover")d.push("mouseenter"+x,"mouseleave"+x);else{o=l;if(l==="focus"||l==="blur"){d.push(ya[l]+x);l+=x}else l=(ya[l]||l)+x;if(b==="live"){x=0;for(var A=h.length;x<A;x++)c.event.add(h[x],"live."+Y(l,r),{data:e,selector:r,handler:f,origType:l,origHandler:f,preType:o})}else h.unbind("live."+Y(l,r),f)}}return this}});
77
+ c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){c.fn[b]=function(d,e){if(e==null){e=d;d=null}return arguments.length>0?this.bind(b,d,e):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});E.attachEvent&&!E.addEventListener&&c(E).bind("unload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});
78
+ (function(){function a(g,i,n,m,p,q){p=0;for(var u=m.length;p<u;p++){var y=m[p];if(y){var F=false;for(y=y[g];y;){if(y.sizcache===n){F=m[y.sizset];break}if(y.nodeType===1&&!q){y.sizcache=n;y.sizset=p}if(y.nodeName.toLowerCase()===i){F=y;break}y=y[g]}m[p]=F}}}function b(g,i,n,m,p,q){p=0;for(var u=m.length;p<u;p++){var y=m[p];if(y){var F=false;for(y=y[g];y;){if(y.sizcache===n){F=m[y.sizset];break}if(y.nodeType===1){if(!q){y.sizcache=n;y.sizset=p}if(typeof i!=="string"){if(y===i){F=true;break}}else if(k.filter(i,
79
+ [y]).length>0){F=y;break}}y=y[g]}m[p]=F}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,f=Object.prototype.toString,h=false,l=true;[0,0].sort(function(){l=false;return 0});var k=function(g,i,n,m){n=n||[];var p=i=i||t;if(i.nodeType!==1&&i.nodeType!==9)return[];if(!g||typeof g!=="string")return n;var q,u,y,F,M,N=true,O=k.isXML(i),D=[],R=g;do{d.exec("");if(q=d.exec(R)){R=q[3];D.push(q[1]);if(q[2]){F=q[3];
80
+ break}}}while(q);if(D.length>1&&x.exec(g))if(D.length===2&&o.relative[D[0]])u=L(D[0]+D[1],i);else for(u=o.relative[D[0]]?[i]:k(D.shift(),i);D.length;){g=D.shift();if(o.relative[g])g+=D.shift();u=L(g,u)}else{if(!m&&D.length>1&&i.nodeType===9&&!O&&o.match.ID.test(D[0])&&!o.match.ID.test(D[D.length-1])){q=k.find(D.shift(),i,O);i=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]}if(i){q=m?{expr:D.pop(),set:C(m)}:k.find(D.pop(),D.length===1&&(D[0]==="~"||D[0]==="+")&&i.parentNode?i.parentNode:i,O);u=q.expr?k.filter(q.expr,
81
+ q.set):q.set;if(D.length>0)y=C(u);else N=false;for(;D.length;){q=M=D.pop();if(o.relative[M])q=D.pop();else M="";if(q==null)q=i;o.relative[M](y,q,O)}}else y=[]}y||(y=u);y||k.error(M||g);if(f.call(y)==="[object Array]")if(N)if(i&&i.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&k.contains(i,y[g])))n.push(u[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodeType===1&&n.push(u[g]);else n.push.apply(n,y);else C(y,n);if(F){k(F,p,n,m);k.uniqueSort(n)}return n};k.uniqueSort=function(g){if(w){h=
82
+ l;g.sort(w);if(h)for(var i=1;i<g.length;i++)g[i]===g[i-1]&&g.splice(i--,1)}return g};k.matches=function(g,i){return k(g,null,null,i)};k.matchesSelector=function(g,i){return k(i,null,null,[g]).length>0};k.find=function(g,i,n){var m;if(!g)return[];for(var p=0,q=o.order.length;p<q;p++){var u,y=o.order[p];if(u=o.leftMatch[y].exec(g)){var F=u[1];u.splice(1,1);if(F.substr(F.length-1)!=="\\"){u[1]=(u[1]||"").replace(/\\/g,"");m=o.find[y](u,i,n);if(m!=null){g=g.replace(o.match[y],"");break}}}}m||(m=i.getElementsByTagName("*"));
83
+ return{set:m,expr:g}};k.filter=function(g,i,n,m){for(var p,q,u=g,y=[],F=i,M=i&&i[0]&&k.isXML(i[0]);g&&i.length;){for(var N in o.filter)if((p=o.leftMatch[N].exec(g))!=null&&p[2]){var O,D,R=o.filter[N];D=p[1];q=false;p.splice(1,1);if(D.substr(D.length-1)!=="\\"){if(F===y)y=[];if(o.preFilter[N])if(p=o.preFilter[N](p,F,n,y,m,M)){if(p===true)continue}else q=O=true;if(p)for(var j=0;(D=F[j])!=null;j++)if(D){O=R(D,p,j,F);var s=m^!!O;if(n&&O!=null)if(s)q=true;else F[j]=false;else if(s){y.push(D);q=true}}if(O!==
84
+ B){n||(F=y);g=g.replace(o.match[N],"");if(!q)return[];break}}}if(g===u)if(q==null)k.error(g);else break;u=g}return F};k.error=function(g){throw"Syntax error, unrecognized expression: "+g;};var o=k.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+\-]*)\))?/,
85
+ POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(g){return g.getAttribute("href")}},relative:{"+":function(g,i){var n=typeof i==="string",m=n&&!/\W/.test(i);n=n&&!m;if(m)i=i.toLowerCase();m=0;for(var p=g.length,q;m<p;m++)if(q=g[m]){for(;(q=q.previousSibling)&&q.nodeType!==1;);g[m]=n||q&&q.nodeName.toLowerCase()===
86
+ i?q||false:q===i}n&&k.filter(i,g,true)},">":function(g,i){var n,m=typeof i==="string",p=0,q=g.length;if(m&&!/\W/.test(i))for(i=i.toLowerCase();p<q;p++){if(n=g[p]){n=n.parentNode;g[p]=n.nodeName.toLowerCase()===i?n:false}}else{for(;p<q;p++)if(n=g[p])g[p]=m?n.parentNode:n.parentNode===i;m&&k.filter(i,g,true)}},"":function(g,i,n){var m,p=e++,q=b;if(typeof i==="string"&&!/\W/.test(i)){m=i=i.toLowerCase();q=a}q("parentNode",i,p,g,m,n)},"~":function(g,i,n){var m,p=e++,q=b;if(typeof i==="string"&&!/\W/.test(i)){m=
87
+ i=i.toLowerCase();q=a}q("previousSibling",i,p,g,m,n)}},find:{ID:function(g,i,n){if(typeof i.getElementById!=="undefined"&&!n)return(g=i.getElementById(g[1]))&&g.parentNode?[g]:[]},NAME:function(g,i){if(typeof i.getElementsByName!=="undefined"){for(var n=[],m=i.getElementsByName(g[1]),p=0,q=m.length;p<q;p++)m[p].getAttribute("name")===g[1]&&n.push(m[p]);return n.length===0?null:n}},TAG:function(g,i){return i.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,i,n,m,p,q){g=" "+g[1].replace(/\\/g,
88
+ "")+" ";if(q)return g;q=0;for(var u;(u=i[q])!=null;q++)if(u)if(p^(u.className&&(" "+u.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=0))n||m.push(u);else if(n)i[q]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()},CHILD:function(g){if(g[1]==="nth"){var i=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=i[1]+(i[2]||1)-0;g[3]=i[3]-0}g[0]=e++;return g},ATTR:function(g,i,n,
89
+ m,p,q){i=g[1].replace(/\\/g,"");if(!q&&o.attrMap[i])g[1]=o.attrMap[i];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,i,n,m,p){if(g[1]==="not")if((d.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=k(g[3],null,null,i);else{g=k.filter(g[3],i,n,true^p);n||m.push.apply(m,g);return false}else if(o.match.POS.test(g[0])||o.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===
90
+ true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,i,n){return!!k(n[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===
91
+ g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}},setFilters:{first:function(g,i){return i===0},last:function(g,i,n,m){return i===m.length-1},even:function(g,i){return i%2===0},odd:function(g,i){return i%2===1},lt:function(g,i,n){return i<n[3]-0},gt:function(g,i,n){return i>n[3]-0},nth:function(g,i,n){return n[3]-
92
+ 0===i},eq:function(g,i,n){return n[3]-0===i}},filter:{PSEUDO:function(g,i,n,m){var p=i[1],q=o.filters[p];if(q)return q(g,n,i,m);else if(p==="contains")return(g.textContent||g.innerText||k.getText([g])||"").indexOf(i[3])>=0;else if(p==="not"){i=i[3];n=0;for(m=i.length;n<m;n++)if(i[n]===g)return false;return true}else k.error("Syntax error, unrecognized expression: "+p)},CHILD:function(g,i){var n=i[1],m=g;switch(n){case "only":case "first":for(;m=m.previousSibling;)if(m.nodeType===1)return false;if(n===
93
+ "first")return true;m=g;case "last":for(;m=m.nextSibling;)if(m.nodeType===1)return false;return true;case "nth":n=i[2];var p=i[3];if(n===1&&p===0)return true;var q=i[0],u=g.parentNode;if(u&&(u.sizcache!==q||!g.nodeIndex)){var y=0;for(m=u.firstChild;m;m=m.nextSibling)if(m.nodeType===1)m.nodeIndex=++y;u.sizcache=q}m=g.nodeIndex-p;return n===0?m===0:m%n===0&&m/n>=0}},ID:function(g,i){return g.nodeType===1&&g.getAttribute("id")===i},TAG:function(g,i){return i==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===
94
+ i},CLASS:function(g,i){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(i)>-1},ATTR:function(g,i){var n=i[1];n=o.attrHandle[n]?o.attrHandle[n](g):g[n]!=null?g[n]:g.getAttribute(n);var m=n+"",p=i[2],q=i[4];return n==null?p==="!=":p==="="?m===q:p==="*="?m.indexOf(q)>=0:p==="~="?(" "+m+" ").indexOf(q)>=0:!q?m&&n!==false:p==="!="?m!==q:p==="^="?m.indexOf(q)===0:p==="$="?m.substr(m.length-q.length)===q:p==="|="?m===q||m.substr(0,q.length+1)===q+"-":false},POS:function(g,i,n,m){var p=o.setFilters[i[2]];
95
+ if(p)return p(g,n,i,m)}}},x=o.match.POS,r=function(g,i){return"\\"+(i-0+1)},A;for(A in o.match){o.match[A]=RegExp(o.match[A].source+/(?![^\[]*\])(?![^\(]*\))/.source);o.leftMatch[A]=RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[A].source.replace(/\\(\d+)/g,r))}var C=function(g,i){g=Array.prototype.slice.call(g,0);if(i){i.push.apply(i,g);return i}return g};try{Array.prototype.slice.call(t.documentElement.childNodes,0)}catch(J){C=function(g,i){var n=0,m=i||[];if(f.call(g)==="[object Array]")Array.prototype.push.apply(m,
96
+ g);else if(typeof g.length==="number")for(var p=g.length;n<p;n++)m.push(g[n]);else for(;g[n];n++)m.push(g[n]);return m}}var w,I;if(t.documentElement.compareDocumentPosition)w=function(g,i){if(g===i){h=true;return 0}if(!g.compareDocumentPosition||!i.compareDocumentPosition)return g.compareDocumentPosition?-1:1;return g.compareDocumentPosition(i)&4?-1:1};else{w=function(g,i){var n,m,p=[],q=[];n=g.parentNode;m=i.parentNode;var u=n;if(g===i){h=true;return 0}else if(n===m)return I(g,i);else if(n){if(!m)return 1}else return-1;
97
+ for(;u;){p.unshift(u);u=u.parentNode}for(u=m;u;){q.unshift(u);u=u.parentNode}n=p.length;m=q.length;for(u=0;u<n&&u<m;u++)if(p[u]!==q[u])return I(p[u],q[u]);return u===n?I(g,q[u],-1):I(p[u],i,1)};I=function(g,i,n){if(g===i)return n;for(g=g.nextSibling;g;){if(g===i)return-1;g=g.nextSibling}return 1}}k.getText=function(g){for(var i="",n,m=0;g[m];m++){n=g[m];if(n.nodeType===3||n.nodeType===4)i+=n.nodeValue;else if(n.nodeType!==8)i+=k.getText(n.childNodes)}return i};(function(){var g=t.createElement("div"),
98
+ i="script"+(new Date).getTime(),n=t.documentElement;g.innerHTML="<a name='"+i+"'/>";n.insertBefore(g,n.firstChild);if(t.getElementById(i)){o.find.ID=function(m,p,q){if(typeof p.getElementById!=="undefined"&&!q)return(p=p.getElementById(m[1]))?p.id===m[1]||typeof p.getAttributeNode!=="undefined"&&p.getAttributeNode("id").nodeValue===m[1]?[p]:B:[]};o.filter.ID=function(m,p){var q=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&q&&q.nodeValue===p}}n.removeChild(g);
99
+ n=g=null})();(function(){var g=t.createElement("div");g.appendChild(t.createComment(""));if(g.getElementsByTagName("*").length>0)o.find.TAG=function(i,n){var m=n.getElementsByTagName(i[1]);if(i[1]==="*"){for(var p=[],q=0;m[q];q++)m[q].nodeType===1&&p.push(m[q]);m=p}return m};g.innerHTML="<a href='#'></a>";if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")o.attrHandle.href=function(i){return i.getAttribute("href",2)};g=null})();t.querySelectorAll&&
100
+ function(){var g=k,i=t.createElement("div");i.innerHTML="<p class='TEST'></p>";if(!(i.querySelectorAll&&i.querySelectorAll(".TEST").length===0)){k=function(m,p,q,u){p=p||t;m=m.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!u&&!k.isXML(p))if(p.nodeType===9)try{return C(p.querySelectorAll(m),q)}catch(y){}else if(p.nodeType===1&&p.nodeName.toLowerCase()!=="object"){var F=p.getAttribute("id"),M=F||"__sizzle__";F||p.setAttribute("id",M);try{return C(p.querySelectorAll("#"+M+" "+m),q)}catch(N){}finally{F||
101
+ p.removeAttribute("id")}}return g(m,p,q,u)};for(var n in g)k[n]=g[n];i=null}}();(function(){var g=t.documentElement,i=g.matchesSelector||g.mozMatchesSelector||g.webkitMatchesSelector||g.msMatchesSelector,n=false;try{i.call(t.documentElement,"[test!='']:sizzle")}catch(m){n=true}if(i)k.matchesSelector=function(p,q){q=q.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isXML(p))try{if(n||!o.match.PSEUDO.test(q)&&!/!=/.test(q))return i.call(p,q)}catch(u){}return k(q,null,null,[p]).length>0}})();(function(){var g=
102
+ t.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){o.order.splice(1,0,"CLASS");o.find.CLASS=function(i,n,m){if(typeof n.getElementsByClassName!=="undefined"&&!m)return n.getElementsByClassName(i[1])};g=null}}})();k.contains=t.documentElement.contains?function(g,i){return g!==i&&(g.contains?g.contains(i):true)}:t.documentElement.compareDocumentPosition?
103
+ function(g,i){return!!(g.compareDocumentPosition(i)&16)}:function(){return false};k.isXML=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false};var L=function(g,i){for(var n,m=[],p="",q=i.nodeType?[i]:i;n=o.match.PSEUDO.exec(g);){p+=n[0];g=g.replace(o.match.PSEUDO,"")}g=o.relative[g]?g+"*":g;n=0;for(var u=q.length;n<u;n++)k(g,q[n],m);return k.filter(p,m)};c.find=k;c.expr=k.selectors;c.expr[":"]=c.expr.filters;c.unique=k.uniqueSort;c.text=k.getText;c.isXMLDoc=k.isXML;
104
+ c.contains=k.contains})();var Za=/Until$/,$a=/^(?:parents|prevUntil|prevAll)/,ab=/,/,Na=/^.[^:#\[\.,]*$/,bb=Array.prototype.slice,cb=c.expr.match.POS;c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,e=0,f=this.length;e<f;e++){d=b.length;c.find(a,this[e],b);if(e>0)for(var h=d;h<b.length;h++)for(var l=0;l<d;l++)if(b[l]===b[h]){b.splice(h--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,e=b.length;d<e;d++)if(c.contains(this,b[d]))return true})},
105
+ not:function(a){return this.pushStack(ma(this,a,false),"not",a)},filter:function(a){return this.pushStack(ma(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){var d=[],e,f,h=this[0];if(c.isArray(a)){var l,k={},o=1;if(h&&a.length){e=0;for(f=a.length;e<f;e++){l=a[e];k[l]||(k[l]=c.expr.match.POS.test(l)?c(l,b||this.context):l)}for(;h&&h.ownerDocument&&h!==b;){for(l in k){e=k[l];if(e.jquery?e.index(h)>-1:c(h).is(e))d.push({selector:l,elem:h,level:o})}h=
106
+ h.parentNode;o++}}return d}l=cb.test(a)?c(a,b||this.context):null;e=0;for(f=this.length;e<f;e++)for(h=this[e];h;)if(l?l.index(h)>-1:c.find.matchesSelector(h,a)){d.push(h);break}else{h=h.parentNode;if(!h||!h.ownerDocument||h===b)break}d=d.length>1?c.unique(d):d;return this.pushStack(d,"closest",a)},index:function(a){if(!a||typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var d=typeof a==="string"?c(a,b||this.context):
107
+ c.makeArray(a),e=c.merge(this.get(),d);return this.pushStack(!d[0]||!d[0].parentNode||d[0].parentNode.nodeType===11||!e[0]||!e[0].parentNode||e[0].parentNode.nodeType===11?e:c.unique(e))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,
108
+ 2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,
109
+ b){c.fn[a]=function(d,e){var f=c.map(this,b,d);Za.test(a)||(e=d);if(e&&typeof e==="string")f=c.filter(e,f);f=this.length>1?c.unique(f):f;if((this.length>1||ab.test(e))&&$a.test(a))f=f.reverse();return this.pushStack(f,a,bb.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return b.length===1?c.find.matchesSelector(b[0],a)?[b[0]]:[]:c.find.matches(a,b)},dir:function(a,b,d){var e=[];for(a=a[b];a&&a.nodeType!==9&&(d===B||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&&
110
+ e.push(a);a=a[b]}return e},nth:function(a,b,d){b=b||1;for(var e=0;a;a=a[d])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var za=/ jQuery\d+="(?:\d+|null)"/g,$=/^\s+/,Aa=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Ba=/<([\w:]+)/,db=/<tbody/i,eb=/<|&#?\w+;/,Ca=/<(?:script|object|embed|option|style)/i,Da=/checked\s*(?:[^=]|=\s*.checked.)/i,fb=/\=([^="'>\s]+\/)>/g,P={option:[1,
111
+ "<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};P.optgroup=P.option;P.tbody=P.tfoot=P.colgroup=P.caption=P.thead;P.th=P.td;if(!c.support.htmlSerialize)P._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=
112
+ c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==B)return this.empty().append((this[0]&&this[0].ownerDocument||t).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},
113
+ wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},
114
+ prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,
115
+ this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,e;(e=this[d])!=null;d++)if(!a||c.filter(a,[e]).length){if(!b&&e.nodeType===1){c.cleanData(e.getElementsByTagName("*"));c.cleanData([e])}e.parentNode&&e.parentNode.removeChild(e)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);
116
+ return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,e=this.ownerDocument;if(!d){d=e.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(za,"").replace(fb,'="$1">').replace($,"")],e)[0]}else return this.cloneNode(true)});if(a===true){na(this,b);na(this.find("*"),b.find("*"))}return b},html:function(a){if(a===B)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(za,""):null;
117
+ else if(typeof a==="string"&&!Ca.test(a)&&(c.support.leadingWhitespace||!$.test(a))&&!P[(Ba.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Aa,"<$1></$2>");try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){c.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(e){this.empty().append(a)}}else c.isFunction(a)?this.each(function(f){var h=c(this);h.html(a.call(this,f,h.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=
118
+ c(this),e=d.html();d.replaceWith(a.call(this,b,e))});if(typeof a!=="string")a=c(a).detach();return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){var e,f,h,l=a[0],k=[];if(!c.support.checkClone&&arguments.length===3&&typeof l==="string"&&Da.test(l))return this.each(function(){c(this).domManip(a,
119
+ b,d,true)});if(c.isFunction(l))return this.each(function(x){var r=c(this);a[0]=l.call(this,x,b?r.html():B);r.domManip(a,b,d)});if(this[0]){e=l&&l.parentNode;e=c.support.parentNode&&e&&e.nodeType===11&&e.childNodes.length===this.length?{fragment:e}:c.buildFragment(a,this,k);h=e.fragment;if(f=h.childNodes.length===1?h=h.firstChild:h.firstChild){b=b&&c.nodeName(f,"tr");f=0;for(var o=this.length;f<o;f++)d.call(b?c.nodeName(this[f],"table")?this[f].getElementsByTagName("tbody")[0]||this[f].appendChild(this[f].ownerDocument.createElement("tbody")):
120
+ this[f]:this[f],f>0||e.cacheable||this.length>1?h.cloneNode(true):h)}k.length&&c.each(k,Oa)}return this}});c.buildFragment=function(a,b,d){var e,f,h;b=b&&b[0]?b[0].ownerDocument||b[0]:t;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===t&&!Ca.test(a[0])&&(c.support.checkClone||!Da.test(a[0]))){f=true;if(h=c.fragments[a[0]])if(h!==1)e=h}if(!e){e=b.createDocumentFragment();c.clean(a,b,e,d)}if(f)c.fragments[a[0]]=h?e:1;return{fragment:e,cacheable:f}};c.fragments={};c.each({appendTo:"append",
121
+ prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var e=[];d=c(d);var f=this.length===1&&this[0].parentNode;if(f&&f.nodeType===11&&f.childNodes.length===1&&d.length===1){d[b](this[0]);return this}else{f=0;for(var h=d.length;f<h;f++){var l=(f>0?this.clone(true):this).get();c(d[f])[b](l);e=e.concat(l)}return this.pushStack(e,a,d.selector)}}});c.extend({clean:function(a,b,d,e){b=b||t;if(typeof b.createElement==="undefined")b=b.ownerDocument||
122
+ b[0]&&b[0].ownerDocument||t;for(var f=[],h=0,l;(l=a[h])!=null;h++){if(typeof l==="number")l+="";if(l){if(typeof l==="string"&&!eb.test(l))l=b.createTextNode(l);else if(typeof l==="string"){l=l.replace(Aa,"<$1></$2>");var k=(Ba.exec(l)||["",""])[1].toLowerCase(),o=P[k]||P._default,x=o[0],r=b.createElement("div");for(r.innerHTML=o[1]+l+o[2];x--;)r=r.lastChild;if(!c.support.tbody){x=db.test(l);k=k==="table"&&!x?r.firstChild&&r.firstChild.childNodes:o[1]==="<table>"&&!x?r.childNodes:[];for(o=k.length-
123
+ 1;o>=0;--o)c.nodeName(k[o],"tbody")&&!k[o].childNodes.length&&k[o].parentNode.removeChild(k[o])}!c.support.leadingWhitespace&&$.test(l)&&r.insertBefore(b.createTextNode($.exec(l)[0]),r.firstChild);l=r.childNodes}if(l.nodeType)f.push(l);else f=c.merge(f,l)}}if(d)for(h=0;f[h];h++)if(e&&c.nodeName(f[h],"script")&&(!f[h].type||f[h].type.toLowerCase()==="text/javascript"))e.push(f[h].parentNode?f[h].parentNode.removeChild(f[h]):f[h]);else{f[h].nodeType===1&&f.splice.apply(f,[h+1,0].concat(c.makeArray(f[h].getElementsByTagName("script"))));
124
+ d.appendChild(f[h])}return f},cleanData:function(a){for(var b,d,e=c.cache,f=c.event.special,h=c.support.deleteExpando,l=0,k;(k=a[l])!=null;l++)if(!(k.nodeName&&c.noData[k.nodeName.toLowerCase()]))if(d=k[c.expando]){if((b=e[d])&&b.events)for(var o in b.events)f[o]?c.event.remove(k,o):c.removeEvent(k,o,b.handle);if(h)delete k[c.expando];else k.removeAttribute&&k.removeAttribute(c.expando);delete e[d]}}});var Ea=/alpha\([^)]*\)/i,gb=/opacity=([^)]*)/,hb=/-([a-z])/ig,ib=/([A-Z])/g,Fa=/^-?\d+(?:px)?$/i,
125
+ jb=/^-?\d/,kb={position:"absolute",visibility:"hidden",display:"block"},Pa=["Left","Right"],Qa=["Top","Bottom"],W,Ga,aa,lb=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){if(arguments.length===2&&b===B)return this;return c.access(this,a,b,true,function(d,e,f){return f!==B?c.style(d,e,f):c.css(d,e)})};c.extend({cssHooks:{opacity:{get:function(a,b){if(b){var d=W(a,"opacity","opacity");return d===""?"1":d}else return a.style.opacity}}},cssNumber:{zIndex:true,fontWeight:true,opacity:true,
126
+ zoom:true,lineHeight:true},cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,d,e){if(!(!a||a.nodeType===3||a.nodeType===8||!a.style)){var f,h=c.camelCase(b),l=a.style,k=c.cssHooks[h];b=c.cssProps[h]||h;if(d!==B){if(!(typeof d==="number"&&isNaN(d)||d==null)){if(typeof d==="number"&&!c.cssNumber[h])d+="px";if(!k||!("set"in k)||(d=k.set(a,d))!==B)try{l[b]=d}catch(o){}}}else{if(k&&"get"in k&&(f=k.get(a,false,e))!==B)return f;return l[b]}}},css:function(a,b,d){var e,f=c.camelCase(b),
127
+ h=c.cssHooks[f];b=c.cssProps[f]||f;if(h&&"get"in h&&(e=h.get(a,true,d))!==B)return e;else if(W)return W(a,b,f)},swap:function(a,b,d){var e={},f;for(f in b){e[f]=a.style[f];a.style[f]=b[f]}d.call(a);for(f in b)a.style[f]=e[f]},camelCase:function(a){return a.replace(hb,lb)}});c.curCSS=c.css;c.each(["height","width"],function(a,b){c.cssHooks[b]={get:function(d,e,f){var h;if(e){if(d.offsetWidth!==0)h=oa(d,b,f);else c.swap(d,kb,function(){h=oa(d,b,f)});if(h<=0){h=W(d,b,b);if(h==="0px"&&aa)h=aa(d,b,b);
128
+ if(h!=null)return h===""||h==="auto"?"0px":h}if(h<0||h==null){h=d.style[b];return h===""||h==="auto"?"0px":h}return typeof h==="string"?h:h+"px"}},set:function(d,e){if(Fa.test(e)){e=parseFloat(e);if(e>=0)return e+"px"}else return e}}});if(!c.support.opacity)c.cssHooks.opacity={get:function(a,b){return gb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var d=a.style;d.zoom=1;var e=c.isNaN(b)?"":"alpha(opacity="+b*100+")",f=
129
+ d.filter||"";d.filter=Ea.test(f)?f.replace(Ea,e):d.filter+" "+e}};if(t.defaultView&&t.defaultView.getComputedStyle)Ga=function(a,b,d){var e;d=d.replace(ib,"-$1").toLowerCase();if(!(b=a.ownerDocument.defaultView))return B;if(b=b.getComputedStyle(a,null)){e=b.getPropertyValue(d);if(e===""&&!c.contains(a.ownerDocument.documentElement,a))e=c.style(a,d)}return e};if(t.documentElement.currentStyle)aa=function(a,b){var d,e,f=a.currentStyle&&a.currentStyle[b],h=a.style;if(!Fa.test(f)&&jb.test(f)){d=h.left;
130
+ e=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;h.left=b==="fontSize"?"1em":f||0;f=h.pixelLeft+"px";h.left=d;a.runtimeStyle.left=e}return f===""?"auto":f};W=Ga||aa;if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetHeight;return a.offsetWidth===0&&b===0||!c.support.reliableHiddenOffsets&&(a.style.display||c.css(a,"display"))==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var mb=c.now(),nb=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,
131
+ ob=/^(?:select|textarea)/i,pb=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,qb=/^(?:GET|HEAD)$/,Ra=/\[\]$/,T=/\=\?(&|$)/,ja=/\?/,rb=/([?&])_=[^&]*/,sb=/^(\w+:)?\/\/([^\/?#]+)/,tb=/%20/g,ub=/#.*$/,Ha=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!=="string"&&Ha)return Ha.apply(this,arguments);else if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var f=a.slice(e,a.length);a=a.slice(0,e)}e="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b===
132
+ "object"){b=c.param(b,c.ajaxSettings.traditional);e="POST"}var h=this;c.ajax({url:a,type:e,dataType:"html",data:b,complete:function(l,k){if(k==="success"||k==="notmodified")h.html(f?c("<div>").append(l.responseText.replace(nb,"")).find(f):l.responseText);d&&h.each(d,[l.responseText,k,l])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&
133
+ !this.disabled&&(this.checked||ob.test(this.nodeName)||pb.test(this.type))}).map(function(a,b){var d=c(this).val();return d==null?null:c.isArray(d)?c.map(d,function(e){return{name:b.name,value:e}}):{name:b.name,value:d}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,e){if(c.isFunction(b)){e=e||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:e})},
134
+ getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,e){if(c.isFunction(b)){e=e||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:e})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return new E.XMLHttpRequest},accepts:{xml:"application/xml, text/xml",html:"text/html",
135
+ script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},ajax:function(a){var b=c.extend(true,{},c.ajaxSettings,a),d,e,f,h=b.type.toUpperCase(),l=qb.test(h);b.url=b.url.replace(ub,"");b.context=a&&a.context!=null?a.context:b;if(b.data&&b.processData&&typeof b.data!=="string")b.data=c.param(b.data,b.traditional);if(b.dataType==="jsonp"){if(h==="GET")T.test(b.url)||(b.url+=(ja.test(b.url)?"&":"?")+(b.jsonp||"callback")+"=?");else if(!b.data||
136
+ !T.test(b.data))b.data=(b.data?b.data+"&":"")+(b.jsonp||"callback")+"=?";b.dataType="json"}if(b.dataType==="json"&&(b.data&&T.test(b.data)||T.test(b.url))){d=b.jsonpCallback||"jsonp"+mb++;if(b.data)b.data=(b.data+"").replace(T,"="+d+"$1");b.url=b.url.replace(T,"="+d+"$1");b.dataType="script";var k=E[d];E[d]=function(m){if(c.isFunction(k))k(m);else{E[d]=B;try{delete E[d]}catch(p){}}f=m;c.handleSuccess(b,w,e,f);c.handleComplete(b,w,e,f);r&&r.removeChild(A)}}if(b.dataType==="script"&&b.cache===null)b.cache=
137
+ false;if(b.cache===false&&l){var o=c.now(),x=b.url.replace(rb,"$1_="+o);b.url=x+(x===b.url?(ja.test(b.url)?"&":"?")+"_="+o:"")}if(b.data&&l)b.url+=(ja.test(b.url)?"&":"?")+b.data;b.global&&c.active++===0&&c.event.trigger("ajaxStart");o=(o=sb.exec(b.url))&&(o[1]&&o[1].toLowerCase()!==location.protocol||o[2].toLowerCase()!==location.host);if(b.dataType==="script"&&h==="GET"&&o){var r=t.getElementsByTagName("head")[0]||t.documentElement,A=t.createElement("script");if(b.scriptCharset)A.charset=b.scriptCharset;
138
+ A.src=b.url;if(!d){var C=false;A.onload=A.onreadystatechange=function(){if(!C&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){C=true;c.handleSuccess(b,w,e,f);c.handleComplete(b,w,e,f);A.onload=A.onreadystatechange=null;r&&A.parentNode&&r.removeChild(A)}}}r.insertBefore(A,r.firstChild);return B}var J=false,w=b.xhr();if(w){b.username?w.open(h,b.url,b.async,b.username,b.password):w.open(h,b.url,b.async);try{if(b.data!=null&&!l||a&&a.contentType)w.setRequestHeader("Content-Type",
139
+ b.contentType);if(b.ifModified){c.lastModified[b.url]&&w.setRequestHeader("If-Modified-Since",c.lastModified[b.url]);c.etag[b.url]&&w.setRequestHeader("If-None-Match",c.etag[b.url])}o||w.setRequestHeader("X-Requested-With","XMLHttpRequest");w.setRequestHeader("Accept",b.dataType&&b.accepts[b.dataType]?b.accepts[b.dataType]+", */*; q=0.01":b.accepts._default)}catch(I){}if(b.beforeSend&&b.beforeSend.call(b.context,w,b)===false){b.global&&c.active--===1&&c.event.trigger("ajaxStop");w.abort();return false}b.global&&
140
+ c.triggerGlobal(b,"ajaxSend",[w,b]);var L=w.onreadystatechange=function(m){if(!w||w.readyState===0||m==="abort"){J||c.handleComplete(b,w,e,f);J=true;if(w)w.onreadystatechange=c.noop}else if(!J&&w&&(w.readyState===4||m==="timeout")){J=true;w.onreadystatechange=c.noop;e=m==="timeout"?"timeout":!c.httpSuccess(w)?"error":b.ifModified&&c.httpNotModified(w,b.url)?"notmodified":"success";var p;if(e==="success")try{f=c.httpData(w,b.dataType,b)}catch(q){e="parsererror";p=q}if(e==="success"||e==="notmodified")d||
141
+ c.handleSuccess(b,w,e,f);else c.handleError(b,w,e,p);d||c.handleComplete(b,w,e,f);m==="timeout"&&w.abort();if(b.async)w=null}};try{var g=w.abort;w.abort=function(){w&&Function.prototype.call.call(g,w);L("abort")}}catch(i){}b.async&&b.timeout>0&&setTimeout(function(){w&&!J&&L("timeout")},b.timeout);try{w.send(l||b.data==null?null:b.data)}catch(n){c.handleError(b,w,null,n);c.handleComplete(b,w,e,f)}b.async||L();return w}},param:function(a,b){var d=[],e=function(h,l){l=c.isFunction(l)?l():l;d[d.length]=
142
+ encodeURIComponent(h)+"="+encodeURIComponent(l)};if(b===B)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery)c.each(a,function(){e(this.name,this.value)});else for(var f in a)da(f,a[f],b,e);return d.join("&").replace(tb,"+")}});c.extend({active:0,lastModified:{},etag:{},handleError:function(a,b,d,e){a.error&&a.error.call(a.context,b,d,e);a.global&&c.triggerGlobal(a,"ajaxError",[b,a,e])},handleSuccess:function(a,b,d,e){a.success&&a.success.call(a.context,e,d,b);a.global&&c.triggerGlobal(a,"ajaxSuccess",
143
+ [b,a])},handleComplete:function(a,b,d){a.complete&&a.complete.call(a.context,b,d);a.global&&c.triggerGlobal(a,"ajaxComplete",[b,a]);a.global&&c.active--===1&&c.event.trigger("ajaxStop")},triggerGlobal:function(a,b,d){(a.context&&a.context.url==null?c(a.context):c.event).trigger(b,d)},httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),
144
+ e=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(e)c.etag[b]=e;return a.status===304},httpData:function(a,b,d){var e=a.getResponseHeader("content-type")||"",f=b==="xml"||!b&&e.indexOf("xml")>=0;a=f?a.responseXML:a.responseText;f&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b==="json"||!b&&e.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&e.indexOf("javascript")>=0)c.globalEval(a);return a}});
145
+ if(E.ActiveXObject)c.ajaxSettings.xhr=function(){if(E.location.protocol!=="file:")try{return new E.XMLHttpRequest}catch(a){}try{return new E.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}};c.support.ajax=!!c.ajaxSettings.xhr();var ea={},vb=/^(?:toggle|show|hide)$/,wb=/^([+\-]=)?([\d+.\-]+)(.*)$/,ba,pa=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b,d){if(a||a===0)return this.animate(S("show",
146
+ 3),a,b,d);else{d=0;for(var e=this.length;d<e;d++){a=this[d];b=a.style.display;if(!c.data(a,"olddisplay")&&b==="none")b=a.style.display="";b===""&&c.css(a,"display")==="none"&&c.data(a,"olddisplay",qa(a.nodeName))}for(d=0;d<e;d++){a=this[d];b=a.style.display;if(b===""||b==="none")a.style.display=c.data(a,"olddisplay")||""}return this}},hide:function(a,b,d){if(a||a===0)return this.animate(S("hide",3),a,b,d);else{a=0;for(b=this.length;a<b;a++){d=c.css(this[a],"display");d!=="none"&&c.data(this[a],"olddisplay",
147
+ d)}for(a=0;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b,d){var e=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||e?this.each(function(){var f=e?a:c(this).is(":hidden");c(this)[f?"show":"hide"]()}):this.animate(S("toggle",3),a,b,d);return this},fadeTo:function(a,b,d,e){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d,e)},animate:function(a,b,d,e){var f=c.speed(b,
148
+ d,e);if(c.isEmptyObject(a))return this.each(f.complete);return this[f.queue===false?"each":"queue"](function(){var h=c.extend({},f),l,k=this.nodeType===1,o=k&&c(this).is(":hidden"),x=this;for(l in a){var r=c.camelCase(l);if(l!==r){a[r]=a[l];delete a[l];l=r}if(a[l]==="hide"&&o||a[l]==="show"&&!o)return h.complete.call(this);if(k&&(l==="height"||l==="width")){h.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(c.css(this,"display")==="inline"&&c.css(this,"float")==="none")if(c.support.inlineBlockNeedsLayout)if(qa(this.nodeName)===
149
+ "inline")this.style.display="inline-block";else{this.style.display="inline";this.style.zoom=1}else this.style.display="inline-block"}if(c.isArray(a[l])){(h.specialEasing=h.specialEasing||{})[l]=a[l][1];a[l]=a[l][0]}}if(h.overflow!=null)this.style.overflow="hidden";h.curAnim=c.extend({},a);c.each(a,function(A,C){var J=new c.fx(x,h,A);if(vb.test(C))J[C==="toggle"?o?"show":"hide":C](a);else{var w=wb.exec(C),I=J.cur()||0;if(w){var L=parseFloat(w[2]),g=w[3]||"px";if(g!=="px"){c.style(x,A,(L||1)+g);I=(L||
150
+ 1)/J.cur()*I;c.style(x,A,I+g)}if(w[1])L=(w[1]==="-="?-1:1)*L+I;J.custom(I,L,g)}else J.custom(I,C,"")}});return true})},stop:function(a,b){var d=c.timers;a&&this.queue([]);this.each(function(){for(var e=d.length-1;e>=0;e--)if(d[e].elem===this){b&&d[e](true);d.splice(e,1)}});b||this.dequeue();return this}});c.each({slideDown:S("show",1),slideUp:S("hide",1),slideToggle:S("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){c.fn[a]=function(d,e,f){return this.animate(b,
151
+ d,e,f)}});c.extend({speed:function(a,b,d){var e=a&&typeof a==="object"?c.extend({},a):{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};e.duration=c.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in c.fx.speeds?c.fx.speeds[e.duration]:c.fx.speeds._default;e.old=e.complete;e.complete=function(){e.queue!==false&&c(this).dequeue();c.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,d,e){return d+e*a},swing:function(a,b,d,e){return(-Math.cos(a*
152
+ Math.PI)/2+0.5)*e+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a=parseFloat(c.css(this.elem,this.prop));return a&&a>-1E4?a:0},custom:function(a,b,d){function e(l){return f.step(l)}
153
+ var f=this,h=c.fx;this.startTime=c.now();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;e.elem=this.elem;if(e()&&c.timers.push(e)&&!ba)ba=setInterval(h.tick,h.interval)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;
154
+ this.custom(this.cur(),0)},step:function(a){var b=c.now(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var e in this.options.curAnim)if(this.options.curAnim[e]!==true)d=false;if(d){if(this.options.overflow!=null&&!c.support.shrinkWrapBlocks){var f=this.elem,h=this.options;c.each(["","X","Y"],function(k,o){f.style["overflow"+o]=h.overflow[k]})}this.options.hide&&c(this.elem).hide();if(this.options.hide||
155
+ this.options.show)for(var l in this.options.curAnim)c.style(this.elem,l,this.options.orig[l]);this.options.complete.call(this.elem)}return false}else{a=b-this.startTime;this.state=a/this.options.duration;b=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||b](this.state,a,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a=
156
+ c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||c.fx.stop()},interval:13,stop:function(){clearInterval(ba);ba=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit;else a.elem[a.prop]=a.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===
157
+ b.elem}).length};var xb=/^t(?:able|d|h)$/i,Ia=/^(?:body|html)$/i;c.fn.offset="getBoundingClientRect"in t.documentElement?function(a){var b=this[0],d;if(a)return this.each(function(l){c.offset.setOffset(this,a,l)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);try{d=b.getBoundingClientRect()}catch(e){}var f=b.ownerDocument,h=f.documentElement;if(!d||!c.contains(h,b))return d||{top:0,left:0};b=f.body;f=fa(f);return{top:d.top+(f.pageYOffset||c.support.boxModel&&
158
+ h.scrollTop||b.scrollTop)-(h.clientTop||b.clientTop||0),left:d.left+(f.pageXOffset||c.support.boxModel&&h.scrollLeft||b.scrollLeft)-(h.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(a)return this.each(function(x){c.offset.setOffset(this,a,x)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d,e=b.offsetParent,f=b.ownerDocument,h=f.documentElement,l=f.body;d=(f=f.defaultView)?f.getComputedStyle(b,null):b.currentStyle;
159
+ for(var k=b.offsetTop,o=b.offsetLeft;(b=b.parentNode)&&b!==l&&b!==h;){if(c.offset.supportsFixedPosition&&d.position==="fixed")break;d=f?f.getComputedStyle(b,null):b.currentStyle;k-=b.scrollTop;o-=b.scrollLeft;if(b===e){k+=b.offsetTop;o+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&xb.test(b.nodeName))){k+=parseFloat(d.borderTopWidth)||0;o+=parseFloat(d.borderLeftWidth)||0}e=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&d.overflow!=="visible"){k+=
160
+ parseFloat(d.borderTopWidth)||0;o+=parseFloat(d.borderLeftWidth)||0}d=d}if(d.position==="relative"||d.position==="static"){k+=l.offsetTop;o+=l.offsetLeft}if(c.offset.supportsFixedPosition&&d.position==="fixed"){k+=Math.max(h.scrollTop,l.scrollTop);o+=Math.max(h.scrollLeft,l.scrollLeft)}return{top:k,left:o}};c.offset={initialize:function(){var a=t.body,b=t.createElement("div"),d,e,f,h=parseFloat(c.css(a,"marginTop"))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",
161
+ height:"1px",visibility:"hidden"});b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";a.insertBefore(b,a.firstChild);d=b.firstChild;e=d.firstChild;f=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=e.offsetTop!==5;this.doesAddBorderForTableAndCells=
162
+ f.offsetTop===5;e.style.position="fixed";e.style.top="20px";this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15;e.style.position=e.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==h;a.removeChild(b);c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.css(a,
163
+ "marginTop"))||0;d+=parseFloat(c.css(a,"marginLeft"))||0}return{top:b,left:d}},setOffset:function(a,b,d){var e=c.css(a,"position");if(e==="static")a.style.position="relative";var f=c(a),h=f.offset(),l=c.css(a,"top"),k=c.css(a,"left"),o=e==="absolute"&&c.inArray("auto",[l,k])>-1;e={};var x={};if(o)x=f.position();l=o?x.top:parseInt(l,10)||0;k=o?x.left:parseInt(k,10)||0;if(c.isFunction(b))b=b.call(a,d,h);if(b.top!=null)e.top=b.top-h.top+l;if(b.left!=null)e.left=b.left-h.left+k;"using"in b?b.using.call(a,
164
+ e):f.css(e)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),e=Ia.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.css(a,"marginTop"))||0;d.left-=parseFloat(c.css(a,"marginLeft"))||0;e.top+=parseFloat(c.css(b[0],"borderTopWidth"))||0;e.left+=parseFloat(c.css(b[0],"borderLeftWidth"))||0;return{top:d.top-e.top,left:d.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||t.body;a&&!Ia.test(a.nodeName)&&
165
+ c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(e){var f=this[0],h;if(!f)return null;if(e!==B)return this.each(function(){if(h=fa(this))h.scrollTo(!a?e:c(h).scrollLeft(),a?e:c(h).scrollTop());else this[d]=e});else return(h=fa(f))?"pageXOffset"in h?h[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&h.document.documentElement[d]||h.document.body[d]:f[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();
166
+ c.fn["inner"+b]=function(){return this[0]?parseFloat(c.css(this[0],d,"padding")):null};c.fn["outer"+b]=function(e){return this[0]?parseFloat(c.css(this[0],d,e?"margin":"border")):null};c.fn[d]=function(e){var f=this[0];if(!f)return e==null?null:this;if(c.isFunction(e))return this.each(function(l){var k=c(this);k[d](e.call(this,l,k[d]()))});if(c.isWindow(f))return f.document.compatMode==="CSS1Compat"&&f.document.documentElement["client"+b]||f.document.body["client"+b];else if(f.nodeType===9)return Math.max(f.documentElement["client"+
167
+ b],f.body["scroll"+b],f.documentElement["scroll"+b],f.body["offset"+b],f.documentElement["offset"+b]);else if(e===B){f=c.css(f,d);var h=parseFloat(f);return c.isNaN(h)?f:h}else return this.css(d,typeof e==="string"?e:e+"px")}})})(window);
js/jquery.ui.touch-punch.min.js CHANGED
@@ -1,11 +1,11 @@
1
- /*
2
- * jQuery UI Touch Punch 0.2.2
3
- *
4
- * Copyright 2011, Dave Furfero
5
- * Dual licensed under the MIT or GPL Version 2 licenses.
6
- *
7
- * Depends:
8
- * jquery.ui.widget.js
9
- * jquery.ui.mouse.js
10
- */
11
  (function(b){b.support.touch="ontouchend" in document;if(!b.support.touch){return;}var c=b.ui.mouse.prototype,e=c._mouseInit,a;function d(g,h){if(g.originalEvent.touches.length>1){return;}g.preventDefault();var i=g.originalEvent.changedTouches[0],f=document.createEvent("MouseEvents");f.initMouseEvent(h,true,true,window,1,i.screenX,i.screenY,i.clientX,i.clientY,false,false,false,false,0,null);g.target.dispatchEvent(f);}c._touchStart=function(g){var f=this;if(a||!f._mouseCapture(g.originalEvent.changedTouches[0])){return;}a=true;f._touchMoved=false;d(g,"mouseover");d(g,"mousemove");d(g,"mousedown");};c._touchMove=function(f){if(!a){return;}this._touchMoved=true;d(f,"mousemove");};c._touchEnd=function(f){if(!a){return;}d(f,"mouseup");d(f,"mouseout");if(!this._touchMoved){d(f,"click");}a=false;};c._mouseInit=function(){var f=this;f.element.bind("touchstart",b.proxy(f,"_touchStart")).bind("touchmove",b.proxy(f,"_touchMove")).bind("touchend",b.proxy(f,"_touchEnd"));e.call(f);};})(jQuery);
1
+ /*
2
+ * jQuery UI Touch Punch 0.2.2
3
+ *
4
+ * Copyright 2011, Dave Furfero
5
+ * Dual licensed under the MIT or GPL Version 2 licenses.
6
+ *
7
+ * Depends:
8
+ * jquery.ui.widget.js
9
+ * jquery.ui.mouse.js
10
+ */
11
  (function(b){b.support.touch="ontouchend" in document;if(!b.support.touch){return;}var c=b.ui.mouse.prototype,e=c._mouseInit,a;function d(g,h){if(g.originalEvent.touches.length>1){return;}g.preventDefault();var i=g.originalEvent.changedTouches[0],f=document.createEvent("MouseEvents");f.initMouseEvent(h,true,true,window,1,i.screenX,i.screenY,i.clientX,i.clientY,false,false,false,false,0,null);g.target.dispatchEvent(f);}c._touchStart=function(g){var f=this;if(a||!f._mouseCapture(g.originalEvent.changedTouches[0])){return;}a=true;f._touchMoved=false;d(g,"mouseover");d(g,"mousemove");d(g,"mousedown");};c._touchMove=function(f){if(!a){return;}this._touchMoved=true;d(f,"mousemove");};c._touchEnd=function(f){if(!a){return;}d(f,"mouseup");d(f,"mouseout");if(!this._touchMoved){d(f,"click");}a=false;};c._mouseInit=function(){var f=this;f.element.bind("touchstart",b.proxy(f,"_touchStart")).bind("touchmove",b.proxy(f,"_touchMove")).bind("touchend",b.proxy(f,"_touchEnd"));e.call(f);};})(jQuery);
js/mp3-jplayer-1.8.10.js DELETED
@@ -1,807 +0,0 @@
1
- /*
2
- MP3-jPlayer 1.8.10
3
- www.sjward.org
4
- */
5
-
6
- var MP3_JPLAYER = {
7
-
8
- tID: '',
9
- state: '',
10
- pl_info: [],
11
- load_pc: 0,
12
- played_t: 0,
13
- dl_dialogs: [],
14
- timeoutIDs: [],
15
- intervalIDs: [],
16
- jperrorIDs: [],
17
- dl_domain: '',
18
- jp_audio: {},
19
- jp_seekable: 0,
20
- sliding: false,
21
- launched_ID: null,
22
- jpID: '#mp3_jplayer_1_8',
23
- plugin_path: '',
24
- lastformats: '',
25
- was_playing: false,
26
-
27
- vars: {
28
- play_f: false,
29
- stylesheet_url: '',
30
- dload_text: 'DOWNLOAD MP3',
31
- pp_width: 280,
32
- pp_maxheight: 350,
33
- pp_bodycolour: '#fff',
34
- pp_bodyimg: '',
35
- pp_fixedcss: false,
36
- pp_windowheight: 600,
37
- pp_playerheight: 100+142,
38
- force_dload: false,
39
- message_interval: '<h2>Download MP3</h2><p style="margin-top:34px !important;">Your download should start in a second!</p>',
40
- message_ok: '',
41
- message_indark: '<h2>Download MP3</h2><p>Your download should start in a second!</p>',
42
- message_promtlink: '<h2>Download MP3</h2><p>Link to the file:</p><h3><a target="_blank" href="#1">#2</a></h3><p>Depending on your browser settings, you may need to right click the link to save it.</p>',
43
- message_fail: '<h2>Download Failed</h2><p>Sorry, something went wrong!</p>',
44
- message_timeout: '<h2>Download<br />Unavailable</h2><p>please try again later!</p>',
45
- dl_remote_path: ''
46
- },
47
-
48
- eID: {
49
- play: '#playpause_mp3j_',
50
- playW: '#playpause_wrap_mp3j_',
51
- stp: '#stop_mp3j_',
52
- prev: '#Prev_mp3j_',
53
- next: '#Next_mp3j_',
54
- vol: '#vol_mp3j_',
55
- loader: '#load_mp3j_',
56
- pos: '#posbar_mp3j_',
57
- poscol: '#poscol_mp3j_',
58
- title: '#T_mp3j_',
59
- caption: '#C_mp3j_',
60
- pT: '#P-Time-MI_',
61
- tT: '#T-Time-MI_',
62
- dload: '#download_mp3j_',
63
- plwrap: '#L_mp3j_',
64
- ul: '#UL_mp3j_',
65
- a: 'mp3j_A_', //No hash!
66
- indiM: '#statusMI_',
67
- toglist: '#playlist-toggle_',
68
- lPP: '#lpp_mp3j_',
69
- pplink: '#mp3j_popout_',
70
- img: '#MI_image_'
71
- },
72
-
73
- init: function () {
74
- var plpath, that = this;
75
-
76
- plpath = this.plugin_path.split('/');
77
- this.dl_domain = plpath[2].replace(/^www./i, "");
78
-
79
- this.unwrap();
80
- this.write_controls();
81
- this.add_jpconstruct_div();
82
-
83
- jQuery(this.jpID).jPlayer({
84
- ready: function () {
85
- that.startup();
86
- },
87
- swfPath: that.plugin_path + '/js/Jplayer271.swf',
88
- volume: 1,
89
- supplied: "mp3",
90
- wmode: "window",
91
- solution:"html, flash",
92
- preload: "none"
93
- });
94
- jQuery(this.jpID).bind(jQuery.jPlayer.event.ended, function(event) {
95
- that.E_complete(that.tID);
96
- });
97
- jQuery(this.jpID).bind(jQuery.jPlayer.event.timeupdate, function(event) {
98
- var lp = that.get_loaded(event);
99
- var ppA = event.jPlayer.status.currentPercentAbsolute;
100
- var pt = event.jPlayer.status.currentTime;
101
- var tt = event.jPlayer.status.duration;
102
- that.E_update(that.tID, lp, ppA, pt, tt);
103
- });
104
- jQuery(this.jpID).bind(jQuery.jPlayer.event.ready, function(event) {
105
- if(event.jPlayer.html.used && event.jPlayer.html.audio.available) {
106
- that.jp_audio = jQuery(that.jpID).data("jPlayer").htmlElement.audio;
107
- } else {
108
- that.jp_audio = 'flash';
109
- }
110
- });
111
- jQuery(this.jpID).bind(jQuery.jPlayer.event.progress, function(event) {
112
- var lp = that.get_loaded(event);
113
- var pt = event.jPlayer.status.currentTime;
114
- var tt = event.jPlayer.status.duration;
115
- that.E_loading( that.tID, lp, tt, pt );
116
- });
117
- },
118
-
119
-
120
- ////
121
- ////
122
- check_show_jperrors: function ( event ) {
123
- if ( this.tID !== '' && this.jperrorIDs[ this.tID ] !== true ) {
124
- if ( event.jPlayer.error.type === 'e_no_solution' || event.jPlayer.error.type === 'e_no_support' ) {
125
- this.show_nosolution( this.tID );
126
- this.jperrorIDs[ this.tID ] = true;
127
- }
128
- }
129
- },
130
-
131
- show_nosolution: function ( j ) {
132
- jQuery('#mp3j_nosolution_' + j).empty().append(this.vars.message_nosolution).fadeIn(200);
133
- },
134
-
135
- add_jpconstruct_div: function () {
136
- var html = '<div id="mp3_jplayer_items" style="position:relative; overflow:hidden; margin:0; padding:0; border:0; width:0px; height:0px;"><div id="mp3_jplayer_1_8" style="left:-999em;"></div></div>';
137
- jQuery('body').prepend( html );
138
- },
139
-
140
- ////
141
- ////
142
-
143
-
144
-
145
- get_loaded: function (event) {
146
- var lp;
147
- if ( typeof this.jp_audio.buffered === "object" ) {
148
- if( this.jp_audio.buffered.length > 0 && this.jp_audio.duration > 0 ) {
149
- lp = 100 * this.jp_audio.buffered.end(this.jp_audio.buffered.length-1) / this.jp_audio.duration;
150
- } else {
151
- lp = 0;
152
- }
153
- } else {
154
- lp = event.jPlayer.status.seekPercent;
155
- }
156
- this.jp_seekable = event.jPlayer.status.seekPercent; //use this for slider calcs for both html/flash solution
157
- this.load_pc = lp;
158
- return lp;
159
- },
160
-
161
- Tformat: function ( sec ) {
162
- var t = sec,
163
- s = Math.floor((t)%60),
164
- m = Math.floor((t/60)%60),
165
- h = Math.floor(t/3600);
166
- return ((h > 0) ? h+':' : '') + ((m > 9) ? m : '0'+m) + ':' + ((s > 9) ? s : '0'+s);
167
- },
168
-
169
- E_loading: function ( j, lp, tt, pt ) {
170
- if (j !== '') {
171
- jQuery(this.eID.loader + j).css( "width", lp + '%' );
172
- if (this.pl_info[j].type === 'MI') {
173
- if (tt > 0 && this.played_t > 0) {
174
- jQuery(this.eID.tT + j).text(this.Tformat(tt));
175
- }
176
- }
177
- if ( this.jp_audio !== 'flash' && lp < 100 ) {
178
- if ( pt === this.played_t && this.state === 'playing' && pt > 0 && !this.sliding ) {
179
- if (this.pl_info[j].type === 'MI') {
180
- jQuery(this.eID.indiM + j).empty().append('<span class="mp3-finding"></span><span class="mp3-tint"></span>Buffering');
181
- }
182
- if (this.pl_info[j].type === 'single' ) {
183
- jQuery(this.eID.indiM + j).empty().append('<span class="Smp3-finding"></span><span class="mp3-gtint"></span> ' + this.Tformat(pt));
184
- }
185
- }
186
- this.played_t = pt;
187
- }
188
- }
189
- },
190
-
191
- E_update: function (j, lp, ppA, pt, tt) {
192
- if (j !== '') {
193
- jQuery(this.eID.loader + j).css( "width", lp + '%' );
194
- jQuery(this.eID.poscol + j).css( "width", ppA + '%' );
195
- if ( jQuery(this.eID.pos + j + ' div.ui-widget-header').length > 0 ) {
196
- jQuery(this.eID.pos + j).slider('option', 'value', 10*ppA);
197
- }
198
- if (pt > 0) {
199
- jQuery(this.eID.pos + j).css( 'visibility', 'visible' );
200
- }
201
- if (this.pl_info[j].type === 'MI') {
202
- jQuery(this.eID.pT + j).text(this.Tformat(pt));
203
- }
204
- if ('playing' === this.state) {
205
- if ('MI' === this.pl_info[j].type) {
206
- if (tt > 0 && this.played_t === pt && lp < 100 && !this.sliding ) {
207
- jQuery(this.eID.indiM + j).empty().append('<span class="mp3-finding"></span><span class="mp3-tint"></span>Buffering');
208
- jQuery(this.eID.tT + j).text(this.Tformat(tt));
209
- } else if (pt > 0) {
210
- jQuery(this.eID.indiM + j).empty().append('Playing');
211
- jQuery(this.eID.tT + j).text(this.Tformat(tt));
212
- }
213
- }
214
- if ('single' === this.pl_info[j].type){
215
- if (pt > 0 ) {
216
- if (this.played_t === pt && lp < 100 && !this.sliding ) {
217
- jQuery(this.eID.indiM + j).empty().append('<span class="Smp3-finding"></span><span class="mp3-gtint"></span> ' + this.Tformat(pt));
218
- } else {
219
- jQuery(this.eID.indiM + j).empty().append('<span class="mp3-tint tintmarg"></span> ' + this.Tformat(pt));
220
- }
221
- }
222
- }
223
- }
224
- this.played_t = pt;
225
- }
226
- },
227
-
228
- E_complete: function (j) {
229
- var p = this.pl_info[j];
230
- if ('MI' === p.type) {
231
- if (p.loop || p.tr+1 < p.list.length) {
232
- this.E_change_track(j, 'next');
233
- } else {
234
- this.E_dblstop(j);
235
- this.startup();
236
- }
237
- }
238
- if ('single' === p.type) {
239
- if (p.loop) {
240
- this.E_change_track(j, 'next');
241
- } else {
242
- this.E_stop(j);
243
- this.startup();
244
- }
245
- }
246
- },
247
-
248
- write_controls: function () {
249
- var j;
250
- for (j = 0; j < this.pl_info.length; j += 1) {
251
- this.setup_a_player(j);
252
- }
253
- },
254
-
255
- startup: function () {
256
- var j;
257
- for (j = 0; j < this.pl_info.length; j += 1) {
258
- //if (this.pl_info[j].autoplay) {
259
- if ( this.pl_info[j].autoplay && (this.pl_info[j].type === 'single' || this.pl_info[j].type === 'MI') ) {
260
- this.pl_info[j].autoplay = false;
261
- this.E_change_track(j, this.pl_info[j].tr);
262
- return;
263
- }
264
- }
265
- },
266
-
267
- setup_a_player: function (j) {
268
- var i, li, sel, that = this, p = this.pl_info[j];
269
-
270
- //PLAYLISTERS and SINGLES
271
- if ('MI' === p.type || 'single' === p.type) {
272
-
273
- jQuery(this.eID.vol + j).slider({
274
- value : p.vol,
275
- max: 100,
276
- range: 'min',
277
- animate: false,
278
- slide: function (event, ui) {
279
- p.vol = ui.value;
280
- if (j === that.tID) {
281
- jQuery(that.jpID).jPlayer("volume", ui.value/100);
282
- }
283
- }
284
- });
285
-
286
- jQuery(this.eID.pos + j).mouseup(function (e) { //for posbar
287
- that.sliding = false;
288
- });
289
-
290
- sel = ('MI' === p.type) ? this.eID.play : this.eID.playW;
291
- jQuery(sel + j).click(function () { //play-pause click
292
- that.E_change_track(j, p.tr);
293
- jQuery(this).blur();
294
- });
295
- jQuery(sel + j).dblclick(function () { //play-pause dbl click
296
- if (that.state !== "playing") {
297
- that.E_change_track(j, p.tr);
298
- }
299
- jQuery(this).blur();
300
- });
301
-
302
- this.titles(j, p.tr);
303
- }
304
-
305
- //PLAYLISTERS
306
- if ('MI' === p.type) {
307
- jQuery(this.eID.pT + j).text('00:00');
308
- jQuery(this.eID.indiM + j).text('Ready');
309
- jQuery(this.eID.stp + j).click(function () {
310
- that.E_stop(j);
311
- });
312
- jQuery(this.eID.stp + j).dblclick(function () {
313
- that.E_dblstop(j);
314
- });
315
-
316
- jQuery(this.eID.plwrap + j).hide();
317
- if (p.list.length > 1) {
318
- jQuery(this.eID.next + j).click(function () {
319
- that.E_change_track(j, 'next');
320
- });
321
- jQuery(this.eID.prev + j).click(function () {
322
- that.E_change_track(j, 'prev');
323
- });
324
- jQuery(this.eID.ul + j).empty();
325
- for (i = 0; i < p.list.length; i += 1) {
326
- li = '<li>';
327
- li += '<a href="#" id="' + this.eID.a + j + '_' + i + '">' + p.list[i].name + '</a></li>';
328
- jQuery(this.eID.ul + j).append(li);
329
- this.add_ul_click(j, i);
330
- }
331
- jQuery('#' + this.eID.a + j + '_' + p.tr).addClass('mp3j_A_current');
332
- jQuery(this.eID.toglist + j).click(function () {
333
- that.togglelist(j);
334
- });
335
- if (p.lstate === true) {
336
- jQuery(this.eID.plwrap + j).show();
337
- }
338
- }
339
-
340
- this.writedownload(j, p.tr);
341
- if ( this.vars.force_dload === true ) {
342
- this.dl_closeinfo_click(j);
343
- }
344
-
345
- jQuery(this.eID.lPP + j).click(function () {
346
- return that.E_launchPP(j);
347
- });
348
- }
349
-
350
- //POPOUT LINKS
351
- if ('popout' === p.type) {
352
- jQuery(this.eID.pplink + j).click(function () {
353
- return that.E_launchPP(j);
354
- });
355
- }
356
- },
357
-
358
- add_ul_click: function (j, i) { //playlist item click
359
- var that = this;
360
- jQuery('#' + this.eID.a + j + "_" + i).click(function (e) {
361
- that.E_change_track(j, i);
362
- e.preventDefault();
363
- });
364
- },
365
-
366
- unwrap: function () {
367
- var i, j, arr;
368
- if (this.vars.play_f === true && typeof this.lists !== "undefined" && this.lists.length > 0) {
369
- for (i = 0; i < this.lists.length; i += 1) {
370
- arr = this.lists[i];
371
- for (j = 0; j < arr.length; j += 1) {
372
- arr[j].mp3 = this.f_undo.f_con(arr[j].mp3);
373
- }
374
- }
375
- }
376
- },
377
-
378
- f_undo: {
379
- keyStr : "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
380
- f_con : function (input) {
381
- var output = "", i = 0, chr1, chr2, chr3, enc1, enc2, enc3, enc4;
382
- input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
383
- while (i < input.length) {
384
- enc1 = this.keyStr.indexOf(input.charAt(i++)); enc2 = this.keyStr.indexOf(input.charAt(i++));
385
- enc3 = this.keyStr.indexOf(input.charAt(i++)); enc4 = this.keyStr.indexOf(input.charAt(i++));
386
- chr1 = (enc1 << 2) | (enc2 >> 4); chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); chr3 = ((enc3 & 3) << 6) | enc4;
387
- output = output + String.fromCharCode(chr1);
388
- if (enc3 !== 64) { output = output + String.fromCharCode(chr2); }
389
- if (enc4 !== 64) { output = output + String.fromCharCode(chr3); }
390
- }
391
- output = this.utf8_f_con(output);
392
- return output;
393
- },
394
- utf8_f_con : function (utftext) {
395
- var string = "", i = 0, c, c1, c2, c3;
396
- while (i < utftext.length) {
397
- c = utftext.charCodeAt(i);
398
- if (c < 128) {
399
- string += String.fromCharCode(c); i++;
400
- } else if ((c > 191) && (c < 224)) {
401
- c2 = utftext.charCodeAt(i + 1); string += String.fromCharCode(((c & 31) << 6) | (c2 & 63)); i += 2;
402
- } else {
403
- c2 = utftext.charCodeAt(i + 1); c3 = utftext.charCodeAt(i + 2); string += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63)); i += 3;
404
- }
405
- }
406
- return string;
407
- }
408
- },
409
-
410
-
411
- E_stop: function (j) {
412
- if (j === this.tID && j !== '') {
413
- this.clearit();
414
- if ( jQuery(this.eID.pos + j + ' div.ui-widget-header').length > 0 ) {
415
- jQuery(this.eID.pos + j).slider('destroy');
416
- }
417
- jQuery(this.eID.loader + j).css( "width", '0%' );
418
- this.button(j, 'play');
419
- if (this.pl_info[j].type === 'MI') {
420
- jQuery(this.eID.poscol + j).css( "width", '0%' );
421
- jQuery(this.eID.tT + j).empty();
422
- jQuery(this.eID.indiM + j).text('Stopped');
423
- jQuery(this.eID.pT + j).text(this.Tformat(0));
424
- } else {
425
- jQuery(this.eID.indiM + j).empty();
426
- }
427
- this.load_pc = 0;
428
- this.played_t = 0;
429
- }
430
- },
431
-
432
- E_dblstop: function (j) {
433
- this.listclass(j, this.pl_info[j].tr, 0);
434
- if ( this.pl_info[j].tr !== 0 ) {
435
- this.titles(j, 0);
436
- }
437
- this.writedownload(j, 0);
438
- this.E_stop(j);
439
- jQuery(this.eID.indiM + j).text('Ready');
440
- this.pl_info[j].tr = 0;
441
- },
442
-
443
- E_change_track: function (j, change) {
444
- var track, txt, p = this.pl_info[j];
445
- if (j === this.tID && change === p.tr) {
446
- if ('playing' === this.state) {
447
- if (this.load_pc === 0) {
448
- this.E_stop(j);
449
- } else {
450
- this.pauseit();
451
- this.button(j, 'play');
452
- if ('MI' === p.type) {
453
- jQuery(this.eID.indiM + j).text('Paused');
454
- }
455
- }
456
- return;
457
- } else if ('paused' === this.state || 'set' === this.state) {
458
- this.playit();
459
- this.button(j, 'pause');
460
- return;
461
- }
462
- }
463
- this.E_stop(this.tID);
464
- if ('prev' === change) {
465
- track = (p.tr-1 < 0) ? p.list.length-1 : p.tr-1;
466
- } else if ('next' === change) {
467
- track = (p.tr+1 < p.list.length) ? p.tr+1 : 0;
468
- } else {
469
- track = change;
470
- }
471
- jQuery(this.jpID).jPlayer("volume", 1 ); //Vol scaling fix
472
- this.setit(p.list[track].mp3);
473
- this.playit();
474
- jQuery(this.jpID).jPlayer("volume", p.vol/100 ); //Reset to correct vol
475
- txt = ('MI' === p.type) ? '<span class="mp3-finding"></span><span class="mp3-tint"></span>Connecting' : '<span class="Smp3-finding"></span><span class="mp3-gtint"></span>';
476
- jQuery(this.eID.indiM + j).empty().append(txt);
477
- this.button(j, 'pause');
478
- this.makeslider(j);
479
- if ('MI' === p.type) {
480
- this.listclass(j, p.tr, track);
481
- if ( p.tr !== track ) {
482
- this.titles(j, track);
483
- }
484
- if (p.download) {
485
- this.writedownload(j, track);
486
- jQuery(this.eID.dload + j).hide().addClass('whilelinks').fadeIn(400);
487
- }
488
- }
489
- p.tr = track;
490
- this.tID = j;
491
- },
492
-
493
- E_launchPP: function (j) {
494
- var li_height = 28;
495
- if ( this.pl_info[j].height !== false ) {
496
- this.vars.pp_playerheight = 100 + this.pl_info[j].height;
497
- }
498
- this.vars.pp_windowheight = ( this.pl_info[j].list.length > 1 ) ? this.vars.pp_playerheight + ( this.pl_info[j].list.length * li_height) : this.vars.pp_playerheight;
499
- if ( this.vars.pp_windowheight > this.vars.pp_maxheight ) {
500
- this.vars.pp_windowheight = this.vars.pp_maxheight;
501
- }
502
- this.launched_ID = j;
503
- this.was_playing = ( this.state === "playing" ) ? true : false;
504
-
505
- this.E_stop(this.tID);
506
- this.setit(this.plugin_path + '/mp3/silence.mp3');
507
- this.playit(); //make chrome let go of last track (incase it didn't finish loading)
508
- this.clearit();
509
-
510
- var newwindow = window.open(this.plugin_path + '/popout.php', 'mp3jpopout', 'height=300, width=600, location=1, status=1, scrollbars=1, resizable=1, left=25, top=25');
511
- if ( this.pl_info[j].lstate === true ) {
512
- newwindow.resizeTo( this.vars.pp_width, this.vars.pp_windowheight );
513
- } else {
514
- newwindow.resizeTo( this.vars.pp_width, this.vars.pp_playerheight );
515
- }
516
- if (window.focus) {
517
- newwindow.focus();
518
- }
519
- return false;
520
- },
521
-
522
- setit: function (file) {
523
- this.state = 'set';
524
- jQuery(this.jpID).jPlayer("setMedia", {mp3: file});
525
- },
526
- playit: function () {
527
- this.state = 'playing';
528
- jQuery(this.jpID).jPlayer("play");
529
- },
530
- pauseit: function () {
531
- this.state = 'paused';
532
- jQuery(this.jpID).jPlayer("pause");
533
- },
534
- clearit: function () {
535
- this.state = '';
536
- jQuery(this.jpID).jPlayer("clearMedia");
537
- },
538
-
539
- button: function (j, type) {
540
- if (j === '') { return; }
541
- if ('pause' === type) {
542
- if (this.pl_info[j].play_txt === '#USE_G#') {
543
- jQuery(this.eID.play + j).removeClass('buttons_mp3j').addClass('buttons_mp3jpause');
544
- } else {
545
- jQuery(this.eID.play + j).text(this.pl_info[j].pause_txt);
546
- }
547
- }
548
- if ('play' === type) {
549
- if (this.pl_info[j].play_txt === '#USE_G#') {
550
- jQuery(this.eID.play + j).removeClass('buttons_mp3jpause').addClass('buttons_mp3j');
551
- } else {
552
- jQuery(this.eID.play + j).text(this.pl_info[j].play_txt);
553
- }
554
- }
555
- },
556
-
557
- listclass: function ( j, rem, add ) {
558
- jQuery('#'+ this.eID.a + j +'_'+ rem).removeClass('mp3j_A_current');
559
- jQuery('#'+ this.eID.a + j +'_'+ add).addClass('mp3j_A_current');
560
- },
561
-
562
- titles: function ( j, track ) {
563
- var p = this.pl_info[j], Olink = '', Clink = '';
564
- if (p.type === "MI") {
565
- jQuery(this.eID.title + j).empty().append(p.list[track].name).append('<br /><span>' + p.list[track].artist + '</span>');
566
- if (p.list[track].image !== '') {
567
- if (p.list[track].imgurl !== '') {
568
- Olink = '<a href="' + p.list[track].imgurl + '">';
569
- Clink = '</a>';
570
- }
571
- jQuery(this.eID.img + j).empty().hide().append(Olink + '<img src="' + p.list[track].image + '" />' + Clink).fadeIn(300);
572
- }
573
- }
574
- },
575
-
576
- writedownload: function ( j, track ) {
577
- var p = this.pl_info[j];
578
- if (p.download) {
579
- jQuery(this.eID.dload + j).empty().removeClass('whilelinks').append('<a id="mp3j_dlanchor_' + j + '" href="' + p.list[track].mp3 + '" target="_blank">' + this.vars.dload_text + '</a>');
580
- if ( this.vars.force_dload === true ) {
581
- this.dl_button_click( j );
582
- }
583
- }
584
- },
585
-
586
- togglelist: function ( j ) {
587
- if (this.pl_info[j].lstate === true) {
588
- jQuery(this.eID.plwrap + j).fadeOut(300);
589
- jQuery(this.eID.toglist + j).text('SHOW');
590
- this.pl_info[j].lstate = false;
591
- } else if (this.pl_info[j].lstate === false) {
592
- jQuery(this.eID.plwrap + j).fadeIn("slow");
593
- jQuery(this.eID.toglist + j).text('HIDE');
594
- this.pl_info[j].lstate = true;
595
- }
596
- },
597
-
598
- makeslider: function (j) {
599
- var phmove, cssmove, that = this;
600
- jQuery(this.eID.pos + j).css( 'visibility', 'hidden' );
601
- jQuery(this.eID.pos + j).slider({
602
- max: 1000,
603
- range: 'min',
604
- animate: false,
605
- slide: function (event, ui) {
606
- if ((ui.value/10) < that.load_pc) {
607
- cssmove = ui.value/10;
608
- phmove = ui.value*(10.0/that.jp_seekable);
609
- } else {
610
- cssmove = 0.99*that.load_pc;
611
- phmove = (9.9*that.load_pc)*(10.0/that.jp_seekable);
612
- }
613
- jQuery(that.eID.poscol + j).css('width', cssmove + '%');
614
- jQuery(that.jpID).jPlayer("playHead", phmove );
615
- if (that.state === 'paused') {
616
- that.button(j, 'pause');
617
- that.playit();
618
- }
619
- that.state = 'playing';
620
- that.sliding = true;
621
- }
622
- });
623
- }
624
-
625
- };
626
-
627
- // Force browser download
628
- MP3_JPLAYER.dl_button_click = function ( j ) {
629
- var that = this, p = this.pl_info[j];
630
- jQuery('#mp3j_dlanchor_' + j).click(function (e) {
631
- that.dl_runinfo( p.list[p.tr].mp3, j, e );
632
- e.preventDefault();
633
- });
634
- };
635
-
636
- MP3_JPLAYER.dl_closeinfo_click = function ( j ) {
637
- var that = this;
638
- jQuery('#mp3j_finfo_close_' + j).click(function () {
639
- that.dl_dialogue( j, '', 'close');
640
- that.clear_timers( j );
641
- });
642
- };
643
-
644
- MP3_JPLAYER.dl_runinfo = function ( get, j, e ) {
645
- var can_write,
646
- dlpath,
647
- message,
648
- that = this,
649
- dlframe = false,
650
- p = this.pl_info[j],
651
- is_local = this.is_local_dload( get );
652
-
653
- var enc_get;
654
-
655
- if ( !this.intervalIDs[ j ] && !this.timeoutIDs[ j ] ) { //if timers not already running for this player
656
- can_write = this.write_cookie('mp3Download' + j, 'waiting', '');
657
- if ( is_local ) {
658
- if ( can_write !== false ) {
659
- this.dl_dialogue( j, this.vars.message_interval, 'check');
660
- } else {
661
- this.dl_dialogue( j, this.vars.message_indark, 'indark');
662
- }
663
- this.intervalIDs[ j ] = setInterval( function(){ that.dl_interval_check( j, can_write ); }, 500);
664
- this.timeoutIDs[ j ] = setTimeout( function(){ that.dl_timeout( j, can_write ); }, 7000);
665
- dlframe = true;
666
- } else {
667
- if ( this.vars.dl_remote_path === '' ) {
668
- message = this.vars.message_promtlink.replace('#1', get);
669
- message = message.replace('#2', p.list[p.tr].name);
670
- this.dl_dialogue( j, message, 'indark');
671
- } else {
672
- message = this.vars.message_indark.replace('#1', get);
673
- message = message.replace('#2', p.list[p.tr].name);
674
- this.dl_dialogue( j, message, 'indark');
675
- dlframe = true;
676
- }
677
- }
678
- this.dl_dialogs[ j ] = 'false';
679
- if ( dlframe ) {
680
- dlpath = this.get_dloader_path( get );
681
- enc_get = encodeURIComponent( get );
682
- //jQuery('#mp3j_dlf_' + j).empty().append('<iframe id="mp3j_dlframe_' + j + '" name="mp3j_dlframe_' + j + '" class="mp3j-dlframe" src="' + dlpath + '?mp3=loc' + get + '&pID=' + j + '" style="display:none;"></iframe>');
683
- jQuery('#mp3j_dlf_' + j).empty().append('<iframe id="mp3j_dlframe_' + j + '" name="mp3j_dlframe_' + j + '" class="mp3j-dlframe" src="' + dlpath + '?mp3=loc' + enc_get + '&pID=' + j + '" style="display:none;"></iframe>');
684
- }
685
- }
686
- };
687
-
688
- MP3_JPLAYER.dl_interval_check = function ( j, can_write ) {
689
- if ( can_write !== false && this.read_cookie('mp3Download' + j) === 'true' ) { //got cookie back, all should be good
690
- this.dl_dialogue( j, this.vars.message_ok, 'hide');
691
- //jQuery('#debug').append('<br />check: cookie '+j+' true');
692
- this.clear_timers( j );
693
- } else if ( this.dl_dialogs[ j ] !== 'false' ) { //got a message back
694
- this.dl_dialogue( j, this.dl_dialogs[ j ], 'add');
695
- //jQuery('#debug').append('<br />check: dialog'+j+' true');
696
- this.clear_timers( j );
697
- } //else {
698
- //jQuery('#debug').append('<br />check: neither '+j+'...# ');
699
- //}
700
- };
701
-
702
- MP3_JPLAYER.dl_timeout = function ( j, can_write ) {
703
- this.clear_timers( j );
704
- if ( can_write !== false ) {
705
- this.dl_dialogue( j, this.vars.message_timeout, 'add');
706
- }
707
- //jQuery('#debug').append('<br />no responses ('+j+' timed out) ');
708
- };
709
-
710
- MP3_JPLAYER.clear_timers = function ( j ) {
711
- if ( this.intervalIDs[ j ] !== null && this.timeoutIDs[ j ] !== null ) {
712
- clearInterval( this.intervalIDs[j] );
713
- clearTimeout( this.timeoutIDs[j] );
714
- this.intervalIDs[ j ] = null;
715
- this.timeoutIDs[j] = null;
716
- }
717
- jQuery('#mp3j_dlf_' + j).empty(); //ditch iframe
718
- this.write_cookie('mp3Download' + j, '', -1); //clear any cookie
719
- //jQuery('#debug').append('<br />cookie/frame '+j+' cleared');
720
- };
721
-
722
- MP3_JPLAYER.dl_dialogue = function ( j, text, state ) {
723
- if ( 'check' === state ) {
724
- jQuery('#mp3j_finfo_gif_' + j).show();
725
- jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
726
- jQuery('#mp3j_finfo_' + j).show();
727
- } else if ( 'add' === state ) {
728
- jQuery('#mp3j_finfo_gif_' + j).hide();
729
- jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
730
- } else if ( 'indark' === state ) {
731
- jQuery('#mp3j_finfo_gif_' + j).hide();
732
- jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
733
- jQuery('#mp3j_finfo_' + j).fadeIn(100);
734
- } else if ( 'close' === state ) {
735
- jQuery('#mp3j_finfo_gif_' + j).hide();
736
- jQuery('#mp3j_finfo_' + j).hide();
737
- } else {
738
- jQuery('#mp3j_finfo_gif_' + j).hide();
739
- if ( text !== '' ) {
740
- jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
741
- }
742
- jQuery('#mp3j_finfo_' + j).fadeOut(1000);
743
- }
744
- };
745
-
746
- MP3_JPLAYER.read_cookie = function ( name ) {
747
- var i, cookie, allCookies = document.cookie.split('; ');
748
- if ( allCookies.length > 0 ) {
749
- for ( i = 0; i < allCookies.length; i += 1 ) {
750
- cookie = allCookies[i].split( '=' );
751
- if ( cookie[0] === name ) {
752
- return cookie[1];
753
- }
754
- }
755
- }
756
- return false;
757
- };
758
-
759
- MP3_JPLAYER.write_cookie = function ( name, value, days ) {
760
- var date, expires = "";
761
- if ( days ) {
762
- date = new Date();
763
- date.setTime( date.getTime() + (days*24*60*60*1000) );
764
- expires = "; expires=" + date.toGMTString();
765
- }
766
- document.cookie = name + "=" + value + expires + "; path=/";
767
- return this.read_cookie( name );
768
- };
769
-
770
- MP3_JPLAYER.get_dloader_path = function ( loc ) {
771
- var k, path = "", file = "", chunks;
772
- chunks = loc.split('/');
773
- file = chunks[chunks.length-1];
774
- //jQuery('#debug').append('<br />');
775
- //for ( k = 0; k < chunks.length; k += 1 ) {
776
- // jQuery('#debug').append('<br />[' + k + '] ' + chunks[k]);
777
- //}
778
- //jQuery('#debug').append('<br />file:' + file);
779
- if ( loc.charAt(0) === '/' ) {
780
- path = this.plugin_path + '/download.php';
781
- } else {
782
- path = chunks[2].replace(/^www./i, "");
783
- if ( path === this.dl_domain ) {
784
- path = this.plugin_path + '/download.php';
785
- } else {
786
- path = chunks[0] + '//' + chunks[2] + this.vars.dl_remote_path;
787
- }
788
- }
789
- //jQuery('#debug').append('<br />path:' + path);
790
- return path;
791
- };
792
-
793
- MP3_JPLAYER.is_local_dload = function ( loc ) {
794
- var domain = "", file = "", chunks, is_local = false;
795
- chunks = loc.split('/');
796
- file = chunks[chunks.length-1];
797
- if ( loc.charAt(0) === '/' ) {
798
- is_local = true;
799
- } else {
800
- domain = chunks[2].replace(/^www./i, "");
801
- if ( domain === this.dl_domain ) {
802
- is_local = true;
803
- }
804
- }
805
- return is_local;
806
- };
807
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/mp3-jplayer-1.8.7.js ADDED
@@ -0,0 +1,777 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ MP3-jPlayer 1.8.7
3
+ www.sjward.org
4
+ */
5
+
6
+ var MP3_JPLAYER = {
7
+
8
+ tID: '',
9
+ state: '',
10
+ pl_info: [],
11
+ load_pc: 0,
12
+ played_t: 0,
13
+ dl_dialogs: [],
14
+ timeoutIDs: [],
15
+ intervalIDs: [],
16
+ dl_domain: '',
17
+ jp_audio: {},
18
+ jp_seekable: 0,
19
+ sliding: false,
20
+ launched_ID: null,
21
+ jpID: '#mp3_jplayer_1_8',
22
+ plugin_path: '',
23
+
24
+ vars: {
25
+ play_f: false,
26
+ stylesheet_url: '',
27
+ dload_text: 'DOWNLOAD MP3',
28
+ pp_width: 280,
29
+ pp_maxheight: 350,
30
+ pp_bodycolour: '#fff',
31
+ pp_bodyimg: '',
32
+ pp_fixedcss: false,
33
+ pp_windowheight: 600,
34
+ pp_playerheight: 100+142,
35
+ force_dload: false,
36
+ message_interval: '<h2>Download MP3</h2><p style="margin-top:34px !important;">Your download should start in a second!</p>',
37
+ message_ok: '',
38
+ message_indark: '<h2>Download MP3</h2><p>Your download should start in a second!</p>',
39
+ message_promtlink: '<h2>Download MP3</h2><p>Link to the file:</p><h3><a target="_blank" href="#1">#2</a></h3><p>Depending on your browser settings, you may need to right click the link to save it.</p>',
40
+ message_fail: '<h2>Download Failed</h2><p>Sorry, something went wrong!</p>',
41
+ message_timeout: '<h2>Download<br />Unavailable</h2><p>please try again later!</p>',
42
+ dl_remote_path: ''
43
+ },
44
+
45
+ eID: {
46
+ play: '#playpause_mp3j_',
47
+ playW: '#playpause_wrap_mp3j_',
48
+ stp: '#stop_mp3j_',
49
+ prev: '#Prev_mp3j_',
50
+ next: '#Next_mp3j_',
51
+ vol: '#vol_mp3j_',
52
+ loader: '#load_mp3j_',
53
+ pos: '#posbar_mp3j_',
54
+ poscol: '#poscol_mp3j_',
55
+ title: '#T_mp3j_',
56
+ caption: '#C_mp3j_',
57
+ pT: '#P-Time-MI_',
58
+ tT: '#T-Time-MI_',
59
+ dload: '#download_mp3j_',
60
+ plwrap: '#L_mp3j_',
61
+ ul: '#UL_mp3j_',
62
+ a: 'mp3j_A_', //No hash!
63
+ indiM: '#statusMI_',
64
+ toglist: '#playlist-toggle_',
65
+ lPP: '#lpp_mp3j_',
66
+ pplink: '#mp3j_popout_',
67
+ img: '#MI_image_'
68
+ },
69
+
70
+ init: function () {
71
+ var plpath, that = this;
72
+
73
+ plpath = this.plugin_path.split('/');
74
+ this.dl_domain = plpath[2].replace(/^www./i, "");
75
+
76
+ this.unwrap();
77
+ this.write_controls();
78
+ jQuery(this.jpID).jPlayer({
79
+ ready: function () {
80
+ that.startup();
81
+ },
82
+ //swfPath: that.plugin_path + '/js',
83
+ swfPath: that.plugin_path + '/js/Jplayer2-5-0.swf',
84
+ volume: 1,
85
+ supplied: "mp3",
86
+ wmode: "window",
87
+ solution:"html, flash",
88
+ preload: "none"
89
+ });
90
+ jQuery(this.jpID).bind(jQuery.jPlayer.event.ended, function(event) {
91
+ that.E_complete(that.tID);
92
+ });
93
+ jQuery(this.jpID).bind(jQuery.jPlayer.event.timeupdate, function(event) {
94
+ var lp = that.get_loaded(event);
95
+ var ppA = event.jPlayer.status.currentPercentAbsolute;
96
+ var pt = event.jPlayer.status.currentTime;
97
+ var tt = event.jPlayer.status.duration;
98
+ that.E_update(that.tID, lp, ppA, pt, tt);
99
+ });
100
+ jQuery(this.jpID).bind(jQuery.jPlayer.event.ready, function(event) {
101
+ if(event.jPlayer.html.used && event.jPlayer.html.audio.available) {
102
+ that.jp_audio = jQuery(that.jpID).data("jPlayer").htmlElement.audio;
103
+ } else {
104
+ that.jp_audio = 'flash';
105
+ }
106
+ });
107
+ jQuery(this.jpID).bind(jQuery.jPlayer.event.progress, function(event) {
108
+ var lp = that.get_loaded(event);
109
+ var pt = event.jPlayer.status.currentTime;
110
+ var tt = event.jPlayer.status.duration;
111
+ that.E_loading( that.tID, lp, tt, pt );
112
+ });
113
+ },
114
+
115
+ get_loaded: function (event) {
116
+ var lp;
117
+ if ( typeof this.jp_audio.buffered === "object" ) {
118
+ if( this.jp_audio.buffered.length > 0 && this.jp_audio.duration > 0 ) {
119
+ lp = 100 * this.jp_audio.buffered.end(this.jp_audio.buffered.length-1) / this.jp_audio.duration;
120
+ } else {
121
+ lp = 0;
122
+ }
123
+ } else {
124
+ lp = event.jPlayer.status.seekPercent;
125
+ }
126
+ this.jp_seekable = event.jPlayer.status.seekPercent; //use this for slider calcs for both html/flash solution
127
+ this.load_pc = lp;
128
+ return lp;
129
+ },
130
+
131
+ Tformat: function ( sec ) {
132
+ var t = sec,
133
+ s = Math.floor((t)%60),
134
+ m = Math.floor((t/60)%60),
135
+ h = Math.floor(t/3600);
136
+ return ((h > 0) ? h+':' : '') + ((m > 9) ? m : '0'+m) + ':' + ((s > 9) ? s : '0'+s);
137
+ },
138
+
139
+ E_loading: function ( j, lp, tt, pt ) {
140
+ if (j !== '') {
141
+ jQuery(this.eID.loader + j).css( "width", lp + '%' );
142
+ if (this.pl_info[j].type === 'MI') {
143
+ if (tt > 0 && this.played_t > 0) {
144
+ jQuery(this.eID.tT + j).text(this.Tformat(tt));
145
+ }
146
+ }
147
+ if ( this.jp_audio !== 'flash' && lp < 100 ) {
148
+ if ( pt === this.played_t && this.state === 'playing' && pt > 0 && !this.sliding ) {
149
+ if (this.pl_info[j].type === 'MI') {
150
+ jQuery(this.eID.indiM + j).empty().append('<span class="mp3-finding"></span><span class="mp3-tint"></span>Buffering');
151
+ }
152
+ if (this.pl_info[j].type === 'single' ) {
153
+ jQuery(this.eID.indiM + j).empty().append('<span class="Smp3-finding"></span><span class="mp3-gtint"></span> ' + this.Tformat(pt));
154
+ }
155
+ }
156
+ this.played_t = pt;
157
+ }
158
+ }
159
+ },
160
+
161
+ E_update: function (j, lp, ppA, pt, tt) {
162
+ if (j !== '') {
163
+ jQuery(this.eID.loader + j).css( "width", lp + '%' );
164
+ jQuery(this.eID.poscol + j).css( "width", ppA + '%' );
165
+ if ( jQuery(this.eID.pos + j + ' div.ui-widget-header').length > 0 ) {
166
+ jQuery(this.eID.pos + j).slider('option', 'value', 10*ppA);
167
+ }
168
+ if (pt > 0) {
169
+ jQuery(this.eID.pos + j).css( 'visibility', 'visible' );
170
+ }
171
+ if (this.pl_info[j].type === 'MI') {
172
+ jQuery(this.eID.pT + j).text(this.Tformat(pt));
173
+ }
174
+ if ('playing' === this.state) {
175
+ if ('MI' === this.pl_info[j].type) {
176
+ if (tt > 0 && this.played_t === pt && lp < 100 && !this.sliding ) {
177
+ jQuery(this.eID.indiM + j).empty().append('<span class="mp3-finding"></span><span class="mp3-tint"></span>Buffering');
178
+ jQuery(this.eID.tT + j).text(this.Tformat(tt));
179
+ } else if (pt > 0) {
180
+ jQuery(this.eID.indiM + j).empty().append('Playing');
181
+ jQuery(this.eID.tT + j).text(this.Tformat(tt));
182
+ }
183
+ }
184
+ if ('single' === this.pl_info[j].type){
185
+ if (pt > 0 ) {
186
+ if (this.played_t === pt && lp < 100 && !this.sliding ) {
187
+ jQuery(this.eID.indiM + j).empty().append('<span class="Smp3-finding"></span><span class="mp3-gtint"></span> ' + this.Tformat(pt));
188
+ } else {
189
+ jQuery(this.eID.indiM + j).empty().append('<span class="mp3-tint tintmarg"></span> ' + this.Tformat(pt));
190
+ }
191
+ }
192
+ }
193
+ }
194
+ this.played_t = pt;
195
+ }
196
+ },
197
+
198
+ E_complete: function (j) {
199
+ var p = this.pl_info[j];
200
+ if ('MI' === p.type) {
201
+ if (p.loop || p.tr+1 < p.list.length) {
202
+ this.E_change_track(j, 'next');
203
+ } else {
204
+ this.E_dblstop(j);
205
+ this.startup();
206
+ }
207
+ }
208
+ if ('single' === p.type) {
209
+ if (p.loop) {
210
+ this.E_change_track(j, 'next');
211
+ } else {
212
+ this.E_stop(j);
213
+ this.startup();
214
+ }
215
+ }
216
+ },
217
+
218
+ write_controls: function () {
219
+ var j;
220
+ for (j = 0; j < this.pl_info.length; j += 1) {
221
+ this.setup_a_player(j);
222
+ }
223
+ },
224
+
225
+ startup: function () {
226
+ var j;
227
+ for (j = 0; j < this.pl_info.length; j += 1) {
228
+ //if (this.pl_info[j].autoplay) {
229
+ if ( this.pl_info[j].autoplay && (this.pl_info[j].type === 'single' || this.pl_info[j].type === 'MI') ) {
230
+ this.pl_info[j].autoplay = false;
231
+ this.E_change_track(j, this.pl_info[j].tr);
232
+ return;
233
+ }
234
+ }
235
+ },
236
+
237
+ setup_a_player: function (j) {
238
+ var i, li, sel, that = this, p = this.pl_info[j];
239
+
240
+ //PLAYLISTERS and SINGLES
241
+ if ('MI' === p.type || 'single' === p.type) {
242
+
243
+ jQuery(this.eID.vol + j).slider({
244
+ value : p.vol,
245
+ max: 100,
246
+ range: 'min',
247
+ animate: false,
248
+ slide: function (event, ui) {
249
+ p.vol = ui.value;
250
+ if (j === that.tID) {
251
+ jQuery(that.jpID).jPlayer("volume", ui.value/100);
252
+ }
253
+ }
254
+ });
255
+
256
+ jQuery(this.eID.pos + j).mouseup(function (e) { //for posbar
257
+ that.sliding = false;
258
+ });
259
+
260
+ sel = ('MI' === p.type) ? this.eID.play : this.eID.playW;
261
+ jQuery(sel + j).click(function () { //play-pause click
262
+ that.E_change_track(j, p.tr);
263
+ jQuery(this).blur();
264
+ });
265
+ jQuery(sel + j).dblclick(function () { //play-pause dbl click
266
+ if (that.state !== "playing") {
267
+ that.E_change_track(j, p.tr);
268
+ }
269
+ jQuery(this).blur();
270
+ });
271
+
272
+ this.titles(j, p.tr);
273
+ }
274
+
275
+ //PLAYLISTERS
276
+ if ('MI' === p.type) {
277
+ jQuery(this.eID.pT + j).text('00:00');
278
+ jQuery(this.eID.indiM + j).text('Ready');
279
+ jQuery(this.eID.stp + j).click(function () {
280
+ that.E_stop(j);
281
+ });
282
+ jQuery(this.eID.stp + j).dblclick(function () {
283
+ that.E_dblstop(j);
284
+ });
285
+
286
+ jQuery(this.eID.plwrap + j).hide();
287
+ if (p.list.length > 1) {
288
+ jQuery(this.eID.next + j).click(function () {
289
+ that.E_change_track(j, 'next');
290
+ });
291
+ jQuery(this.eID.prev + j).click(function () {
292
+ that.E_change_track(j, 'prev');
293
+ });
294
+ jQuery(this.eID.ul + j).empty();
295
+ for (i = 0; i < p.list.length; i += 1) {
296
+ li = '<li>';
297
+ li += '<a href="#" id="' + this.eID.a + j + '_' + i + '">' + p.list[i].name + '</a></li>';
298
+ jQuery(this.eID.ul + j).append(li);
299
+ this.add_ul_click(j, i);
300
+ }
301
+ jQuery('#' + this.eID.a + j + '_' + p.tr).addClass('mp3j_A_current');
302
+ jQuery(this.eID.toglist + j).click(function () {
303
+ that.togglelist(j);
304
+ });
305
+ if (p.lstate === true) {
306
+ jQuery(this.eID.plwrap + j).show();
307
+ }
308
+ }
309
+
310
+ this.writedownload(j, p.tr);
311
+ if ( this.vars.force_dload === true ) {
312
+ this.dl_closeinfo_click(j);
313
+ }
314
+
315
+ jQuery(this.eID.lPP + j).click(function () {
316
+ return that.E_launchPP(j);
317
+ });
318
+ }
319
+
320
+ //POPOUT LINKS
321
+ if ('popout' === p.type) {
322
+ jQuery(this.eID.pplink + j).click(function () {
323
+ return that.E_launchPP(j);
324
+ });
325
+ }
326
+ },
327
+
328
+ add_ul_click: function (j, i) { //playlist item click
329
+ var that = this;
330
+ jQuery('#' + this.eID.a + j + "_" + i).click(function (e) {
331
+ that.E_change_track(j, i);
332
+ e.preventDefault();
333
+ });
334
+ },
335
+
336
+ unwrap: function () {
337
+ var i, j, arr;
338
+ if (this.vars.play_f === true && typeof this.lists !== "undefined" && this.lists.length > 0) {
339
+ for (i = 0; i < this.lists.length; i += 1) {
340
+ arr = this.lists[i];
341
+ for (j = 0; j < arr.length; j += 1) {
342
+ arr[j].mp3 = this.f_undo.f_con(arr[j].mp3);
343
+ }
344
+ }
345
+ }
346
+ },
347
+
348
+ f_undo: {
349
+ keyStr : "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
350
+ f_con : function (input) {
351
+ var output = "", i = 0, chr1, chr2, chr3, enc1, enc2, enc3, enc4;
352
+ input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
353
+ while (i < input.length) {
354
+ enc1 = this.keyStr.indexOf(input.charAt(i++)); enc2 = this.keyStr.indexOf(input.charAt(i++));
355
+ enc3 = this.keyStr.indexOf(input.charAt(i++)); enc4 = this.keyStr.indexOf(input.charAt(i++));
356
+ chr1 = (enc1 << 2) | (enc2 >> 4); chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); chr3 = ((enc3 & 3) << 6) | enc4;
357
+ output = output + String.fromCharCode(chr1);
358
+ if (enc3 !== 64) { output = output + String.fromCharCode(chr2); }
359
+ if (enc4 !== 64) { output = output + String.fromCharCode(chr3); }
360
+ }
361
+ output = this.utf8_f_con(output);
362
+ return output;
363
+ },
364
+ utf8_f_con : function (utftext) {
365
+ var string = "", i = 0, c, c1, c2, c3;
366
+ while (i < utftext.length) {
367
+ c = utftext.charCodeAt(i);
368
+ if (c < 128) {
369
+ string += String.fromCharCode(c); i++;
370
+ } else if ((c > 191) && (c < 224)) {
371
+ c2 = utftext.charCodeAt(i + 1); string += String.fromCharCode(((c & 31) << 6) | (c2 & 63)); i += 2;
372
+ } else {
373
+ c2 = utftext.charCodeAt(i + 1); c3 = utftext.charCodeAt(i + 2); string += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63)); i += 3;
374
+ }
375
+ }
376
+ return string;
377
+ }
378
+ },
379
+
380
+
381
+ E_stop: function (j) {
382
+ if (j === this.tID && j !== '') {
383
+ this.clearit();
384
+ if ( jQuery(this.eID.pos + j + ' div.ui-widget-header').length > 0 ) {
385
+ jQuery(this.eID.pos + j).slider('destroy');
386
+ }
387
+ jQuery(this.eID.loader + j).css( "width", '0%' );
388
+ this.button(j, 'play');
389
+ if (this.pl_info[j].type === 'MI') {
390
+ jQuery(this.eID.poscol + j).css( "width", '0%' );
391
+ jQuery(this.eID.tT + j).empty();
392
+ jQuery(this.eID.indiM + j).text('Stopped');
393
+ jQuery(this.eID.pT + j).text(this.Tformat(0));
394
+ } else {
395
+ jQuery(this.eID.indiM + j).empty();
396
+ }
397
+ this.load_pc = 0;
398
+ this.played_t = 0;
399
+ }
400
+ },
401
+
402
+ E_dblstop: function (j) {
403
+ this.listclass(j, this.pl_info[j].tr, 0);
404
+ if ( this.pl_info[j].tr !== 0 ) {
405
+ this.titles(j, 0);
406
+ }
407
+ this.writedownload(j, 0);
408
+ this.E_stop(j);
409
+ jQuery(this.eID.indiM + j).text('Ready');
410
+ this.pl_info[j].tr = 0;
411
+ },
412
+
413
+ E_change_track: function (j, change) {
414
+ var track, txt, p = this.pl_info[j];
415
+ if (j === this.tID && change === p.tr) {
416
+ if ('playing' === this.state) {
417
+ if (this.load_pc === 0) {
418
+ this.E_stop(j);
419
+ } else {
420
+ this.pauseit();
421
+ this.button(j, 'play');
422
+ if ('MI' === p.type) {
423
+ jQuery(this.eID.indiM + j).text('Paused');
424
+ }
425
+ }
426
+ return;
427
+ } else if ('paused' === this.state || 'set' === this.state) {
428
+ this.playit();
429
+ this.button(j, 'pause');
430
+ return;
431
+ }
432
+ }
433
+ this.E_stop(this.tID);
434
+ if ('prev' === change) {
435
+ track = (p.tr-1 < 0) ? p.list.length-1 : p.tr-1;
436
+ } else if ('next' === change) {
437
+ track = (p.tr+1 < p.list.length) ? p.tr+1 : 0;
438
+ } else {
439
+ track = change;
440
+ }
441
+ jQuery(this.jpID).jPlayer("volume", 1 ); //Vol scaling fix
442
+ this.setit(p.list[track].mp3);
443
+ this.playit();
444
+ jQuery(this.jpID).jPlayer("volume", p.vol/100 ); //Reset to correct vol
445
+ txt = ('MI' === p.type) ? '<span class="mp3-finding"></span><span class="mp3-tint"></span>Connecting' : '<span class="Smp3-finding"></span><span class="mp3-gtint"></span>';
446
+ jQuery(this.eID.indiM + j).empty().append(txt);
447
+ this.button(j, 'pause');
448
+ this.makeslider(j);
449
+ if ('MI' === p.type) {
450
+ this.listclass(j, p.tr, track);
451
+ if ( p.tr !== track ) {
452
+ this.titles(j, track);
453
+ }
454
+ if (p.download) {
455
+ this.writedownload(j, track);
456
+ jQuery(this.eID.dload + j).hide().addClass('whilelinks').fadeIn(400);
457
+ }
458
+ }
459
+ p.tr = track;
460
+ this.tID = j;
461
+ },
462
+
463
+ E_launchPP: function (j) {
464
+ var li_height = 28;
465
+ if ( this.pl_info[j].height !== false ) {
466
+ this.vars.pp_playerheight = 100 + this.pl_info[j].height;
467
+ }
468
+ this.vars.pp_windowheight = ( this.pl_info[j].list.length > 1 ) ? this.vars.pp_playerheight + ( this.pl_info[j].list.length * li_height) : this.vars.pp_playerheight;
469
+ if ( this.vars.pp_windowheight > this.vars.pp_maxheight ) {
470
+ this.vars.pp_windowheight = this.vars.pp_maxheight;
471
+ }
472
+ this.launched_ID = j;
473
+ this.was_playing = ( this.state === "playing" ) ? true : false;
474
+
475
+ this.E_stop(this.tID);
476
+ this.setit(this.plugin_path + '/mp3/silence.mp3');
477
+ this.playit(); //make chrome let go of last track (incase it didn't finish loading)
478
+ this.clearit();
479
+
480
+ var newwindow = window.open(this.plugin_path + '/popout.php', 'mp3jpopout', 'height=300, width=600, location=1, status=1, scrollbars=1, resizable=1, left=25, top=25');
481
+ if ( this.pl_info[j].lstate === true ) {
482
+ newwindow.resizeTo( this.vars.pp_width, this.vars.pp_windowheight );
483
+ } else {
484
+ newwindow.resizeTo( this.vars.pp_width, this.vars.pp_playerheight );
485
+ }
486
+ if (window.focus) {
487
+ newwindow.focus();
488
+ }
489
+ return false;
490
+ },
491
+
492
+ setit: function (file) {
493
+ this.state = 'set';
494
+ jQuery(this.jpID).jPlayer("setMedia", {mp3: file});
495
+ },
496
+ playit: function () {
497
+ this.state = 'playing';
498
+ jQuery(this.jpID).jPlayer("play");
499
+ },
500
+ pauseit: function () {
501
+ this.state = 'paused';
502
+ jQuery(this.jpID).jPlayer("pause");
503
+ },
504
+ clearit: function () {
505
+ this.state = '';
506
+ jQuery(this.jpID).jPlayer("clearMedia");
507
+ },
508
+
509
+ button: function (j, type) {
510
+ if (j === '') { return; }
511
+ if ('pause' === type) {
512
+ if (this.pl_info[j].play_txt === '#USE_G#') {
513
+ jQuery(this.eID.play + j).removeClass('buttons_mp3j').addClass('buttons_mp3jpause');
514
+ } else {
515
+ jQuery(this.eID.play + j).text(this.pl_info[j].pause_txt);
516
+ }
517
+ }
518
+ if ('play' === type) {
519
+ if (this.pl_info[j].play_txt === '#USE_G#') {
520
+ jQuery(this.eID.play + j).removeClass('buttons_mp3jpause').addClass('buttons_mp3j');
521
+ } else {
522
+ jQuery(this.eID.play + j).text(this.pl_info[j].play_txt);
523
+ }
524
+ }
525
+ },
526
+
527
+ listclass: function ( j, rem, add ) {
528
+ jQuery('#'+ this.eID.a + j +'_'+ rem).removeClass('mp3j_A_current');
529
+ jQuery('#'+ this.eID.a + j +'_'+ add).addClass('mp3j_A_current');
530
+ },
531
+
532
+ titles: function ( j, track ) {
533
+ var p = this.pl_info[j], Olink = '', Clink = '';
534
+ if (p.type === "MI") {
535
+ jQuery(this.eID.title + j).empty().append(p.list[track].name).append('<br /><span>' + p.list[track].artist + '</span>');
536
+ if (p.list[track].image !== '') {
537
+ if (p.list[track].imgurl !== '') {
538
+ Olink = '<a href="' + p.list[track].imgurl + '">';
539
+ Clink = '</a>';
540
+ }
541
+ jQuery(this.eID.img + j).empty().hide().append(Olink + '<img src="' + p.list[track].image + '" />' + Clink).fadeIn(300);
542
+ }
543
+ }
544
+ },
545
+
546
+ writedownload: function ( j, track ) {
547
+ var p = this.pl_info[j];
548
+ if (p.download) {
549
+ jQuery(this.eID.dload + j).empty().removeClass('whilelinks').append('<a id="mp3j_dlanchor_' + j + '" href="' + p.list[track].mp3 + '" target="_blank">' + this.vars.dload_text + '</a>');
550
+ if ( this.vars.force_dload === true ) {
551
+ this.dl_button_click( j );
552
+ }
553
+ }
554
+ },
555
+
556
+ togglelist: function ( j ) {
557
+ if (this.pl_info[j].lstate === true) {
558
+ jQuery(this.eID.plwrap + j).fadeOut(300);
559
+ jQuery(this.eID.toglist + j).text('SHOW');
560
+ this.pl_info[j].lstate = false;
561
+ } else if (this.pl_info[j].lstate === false) {
562
+ jQuery(this.eID.plwrap + j).fadeIn("slow");
563
+ jQuery(this.eID.toglist + j).text('HIDE');
564
+ this.pl_info[j].lstate = true;
565
+ }
566
+ },
567
+
568
+ makeslider: function (j) {
569
+ var phmove, cssmove, that = this;
570
+ jQuery(this.eID.pos + j).css( 'visibility', 'hidden' );
571
+ jQuery(this.eID.pos + j).slider({
572
+ max: 1000,
573
+ range: 'min',
574
+ animate: false,
575
+ slide: function (event, ui) {
576
+ if ((ui.value/10) < that.load_pc) {
577
+ cssmove = ui.value/10;
578
+ phmove = ui.value*(10.0/that.jp_seekable);
579
+ } else {
580
+ cssmove = 0.99*that.load_pc;
581
+ phmove = (9.9*that.load_pc)*(10.0/that.jp_seekable);
582
+ }
583
+ jQuery(that.eID.poscol + j).css('width', cssmove + '%');
584
+ jQuery(that.jpID).jPlayer("playHead", phmove );
585
+ if (that.state === 'paused') {
586
+ that.button(j, 'pause');
587
+ that.playit();
588
+ }
589
+ that.state = 'playing';
590
+ that.sliding = true;
591
+ }
592
+ });
593
+ }
594
+
595
+ };
596
+
597
+ // Force browser download
598
+ MP3_JPLAYER.dl_button_click = function ( j ) {
599
+ var that = this, p = this.pl_info[j];
600
+ jQuery('#mp3j_dlanchor_' + j).click(function (e) {
601
+ that.dl_runinfo( p.list[p.tr].mp3, j, e );
602
+ e.preventDefault();
603
+ });
604
+ };
605
+
606
+ MP3_JPLAYER.dl_closeinfo_click = function ( j ) {
607
+ var that = this;
608
+ jQuery('#mp3j_finfo_close_' + j).click(function () {
609
+ that.dl_dialogue( j, '', 'close');
610
+ that.clear_timers( j );
611
+ });
612
+ };
613
+
614
+ MP3_JPLAYER.dl_runinfo = function ( get, j, e ) {
615
+ var can_write,
616
+ dlpath,
617
+ message,
618
+ that = this,
619
+ dlframe = false,
620
+ p = this.pl_info[j],
621
+ is_local = this.is_local_dload( get );
622
+
623
+ var enc_get;
624
+
625
+ if ( !this.intervalIDs[ j ] && !this.timeoutIDs[ j ] ) { //if timers not already running for this player
626
+ can_write = this.write_cookie('mp3Download' + j, 'waiting', '');
627
+ if ( is_local ) {
628
+ if ( can_write !== false ) {
629
+ this.dl_dialogue( j, this.vars.message_interval, 'check');
630
+ } else {
631
+ this.dl_dialogue( j, this.vars.message_indark, 'indark');
632
+ }
633
+ this.intervalIDs[ j ] = setInterval( function(){ that.dl_interval_check( j, can_write ); }, 500);
634
+ this.timeoutIDs[ j ] = setTimeout( function(){ that.dl_timeout( j, can_write ); }, 7000);
635
+ dlframe = true;
636
+ } else {
637
+ if ( this.vars.dl_remote_path === '' ) {
638
+ message = this.vars.message_promtlink.replace('#1', get);
639
+ message = message.replace('#2', p.list[p.tr].name);
640
+ this.dl_dialogue( j, message, 'indark');
641
+ } else {
642
+ message = this.vars.message_indark.replace('#1', get);
643
+ message = message.replace('#2', p.list[p.tr].name);
644
+ this.dl_dialogue( j, message, 'indark');
645
+ dlframe = true;
646
+ }
647
+ }
648
+ this.dl_dialogs[ j ] = 'false';
649
+ if ( dlframe ) {
650
+ dlpath = this.get_dloader_path( get );
651
+ enc_get = encodeURIComponent( get );
652
+ //jQuery('#mp3j_dlf_' + j).empty().append('<iframe id="mp3j_dlframe_' + j + '" name="mp3j_dlframe_' + j + '" class="mp3j-dlframe" src="' + dlpath + '?mp3=loc' + get + '&pID=' + j + '" style="display:none;"></iframe>');
653
+ jQuery('#mp3j_dlf_' + j).empty().append('<iframe id="mp3j_dlframe_' + j + '" name="mp3j_dlframe_' + j + '" class="mp3j-dlframe" src="' + dlpath + '?mp3=loc' + enc_get + '&pID=' + j + '" style="display:none;"></iframe>');
654
+ }
655
+ }
656
+ };
657
+
658
+ MP3_JPLAYER.dl_interval_check = function ( j, can_write ) {
659
+ if ( can_write !== false && this.read_cookie('mp3Download' + j) === 'true' ) { //got cookie back, all should be good
660
+ this.dl_dialogue( j, this.vars.message_ok, 'hide');
661
+ //jQuery('#debug').append('<br />check: cookie '+j+' true');
662
+ this.clear_timers( j );
663
+ } else if ( this.dl_dialogs[ j ] !== 'false' ) { //got a message back
664
+ this.dl_dialogue( j, this.dl_dialogs[ j ], 'add');
665
+ //jQuery('#debug').append('<br />check: dialog'+j+' true');
666
+ this.clear_timers( j );
667
+ } //else {
668
+ //jQuery('#debug').append('<br />check: neither '+j+'...# ');
669
+ //}
670
+ };
671
+
672
+ MP3_JPLAYER.dl_timeout = function ( j, can_write ) {
673
+ this.clear_timers( j );
674
+ if ( can_write !== false ) {
675
+ this.dl_dialogue( j, this.vars.message_timeout, 'add');
676
+ }
677
+ //jQuery('#debug').append('<br />no responses ('+j+' timed out) ');
678
+ };
679
+
680
+ MP3_JPLAYER.clear_timers = function ( j ) {
681
+ if ( this.intervalIDs[ j ] !== null && this.timeoutIDs[ j ] !== null ) {
682
+ clearInterval( this.intervalIDs[j] );
683
+ clearTimeout( this.timeoutIDs[j] );
684
+ this.intervalIDs[ j ] = null;
685
+ this.timeoutIDs[j] = null;
686
+ }
687
+ jQuery('#mp3j_dlf_' + j).empty(); //ditch iframe
688
+ this.write_cookie('mp3Download' + j, '', -1); //clear any cookie
689
+ //jQuery('#debug').append('<br />cookie/frame '+j+' cleared');
690
+ };
691
+
692
+ MP3_JPLAYER.dl_dialogue = function ( j, text, state ) {
693
+ if ( 'check' === state ) {
694
+ jQuery('#mp3j_finfo_gif_' + j).show();
695
+ jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
696
+ jQuery('#mp3j_finfo_' + j).show();
697
+ } else if ( 'add' === state ) {
698
+ jQuery('#mp3j_finfo_gif_' + j).hide();
699
+ jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
700
+ } else if ( 'indark' === state ) {
701
+ jQuery('#mp3j_finfo_gif_' + j).hide();
702
+ jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
703
+ jQuery('#mp3j_finfo_' + j).fadeIn(100);
704
+ } else if ( 'close' === state ) {
705
+ jQuery('#mp3j_finfo_gif_' + j).hide();
706
+ jQuery('#mp3j_finfo_' + j).hide();
707
+ } else {
708
+ jQuery('#mp3j_finfo_gif_' + j).hide();
709
+ if ( text !== '' ) {
710
+ jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
711
+ }
712
+ jQuery('#mp3j_finfo_' + j).fadeOut(1000);
713
+ }
714
+ };
715
+
716
+ MP3_JPLAYER.read_cookie = function ( name ) {
717
+ var i, cookie, allCookies = document.cookie.split('; ');
718
+ if ( allCookies.length > 0 ) {
719
+ for ( i = 0; i < allCookies.length; i += 1 ) {
720
+ cookie = allCookies[i].split( '=' );
721
+ if ( cookie[0] === name ) {
722
+ return cookie[1];
723
+ }
724
+ }
725
+ }
726
+ return false;
727
+ };
728
+
729
+ MP3_JPLAYER.write_cookie = function ( name, value, days ) {
730
+ var date, expires = "";
731
+ if ( days ) {
732
+ date = new Date();
733
+ date.setTime( date.getTime() + (days*24*60*60*1000) );
734
+ expires = "; expires=" + date.toGMTString();
735
+ }
736
+ document.cookie = name + "=" + value + expires + "; path=/";
737
+ return this.read_cookie( name );
738
+ };
739
+
740
+ MP3_JPLAYER.get_dloader_path = function ( loc ) {
741
+ var k, path = "", file = "", chunks;
742
+ chunks = loc.split('/');
743
+ file = chunks[chunks.length-1];
744
+ //jQuery('#debug').append('<br />');
745
+ //for ( k = 0; k < chunks.length; k += 1 ) {
746
+ // jQuery('#debug').append('<br />[' + k + '] ' + chunks[k]);
747
+ //}
748
+ //jQuery('#debug').append('<br />file:' + file);
749
+ if ( loc.charAt(0) === '/' ) {
750
+ path = this.plugin_path + '/download.php';
751
+ } else {
752
+ path = chunks[2].replace(/^www./i, "");
753
+ if ( path === this.dl_domain ) {
754
+ path = this.plugin_path + '/download.php';
755
+ } else {
756
+ path = chunks[0] + '//' + chunks[2] + this.vars.dl_remote_path;
757
+ }
758
+ }
759
+ //jQuery('#debug').append('<br />path:' + path);
760
+ return path;
761
+ };
762
+
763
+ MP3_JPLAYER.is_local_dload = function ( loc ) {
764
+ var domain = "", file = "", chunks, is_local = false;
765
+ chunks = loc.split('/');
766
+ file = chunks[chunks.length-1];
767
+ if ( loc.charAt(0) === '/' ) {
768
+ is_local = true;
769
+ } else {
770
+ domain = chunks[2].replace(/^www./i, "");
771
+ if ( domain === this.dl_domain ) {
772
+ is_local = true;
773
+ }
774
+ }
775
+ return is_local;
776
+ };
777
+
js/mp3-jplayer-1.8.9.js DELETED
@@ -1,807 +0,0 @@
1
- /*
2
- MP3-jPlayer 1.8.9
3
- www.sjward.org
4
- */
5
-
6
- var MP3_JPLAYER = {
7
-
8
- tID: '',
9
- state: '',
10
- pl_info: [],
11
- load_pc: 0,
12
- played_t: 0,
13
- dl_dialogs: [],
14
- timeoutIDs: [],
15
- intervalIDs: [],
16
- jperrorIDs: [],
17
- dl_domain: '',
18
- jp_audio: {},
19
- jp_seekable: 0,
20
- sliding: false,
21
- launched_ID: null,
22
- jpID: '#mp3_jplayer_1_8',
23
- plugin_path: '',
24
- lastformats: '',
25
- was_playing: false,
26
-
27
- vars: {
28
- play_f: false,
29
- stylesheet_url: '',
30
- dload_text: 'DOWNLOAD MP3',
31
- pp_width: 280,
32
- pp_maxheight: 350,
33
- pp_bodycolour: '#fff',
34
- pp_bodyimg: '',
35
- pp_fixedcss: false,
36
- pp_windowheight: 600,
37
- pp_playerheight: 100+142,
38
- force_dload: false,
39
- message_interval: '<h2>Download MP3</h2><p style="margin-top:34px !important;">Your download should start in a second!</p>',
40
- message_ok: '',
41
- message_indark: '<h2>Download MP3</h2><p>Your download should start in a second!</p>',
42
- message_promtlink: '<h2>Download MP3</h2><p>Link to the file:</p><h3><a target="_blank" href="#1">#2</a></h3><p>Depending on your browser settings, you may need to right click the link to save it.</p>',
43
- message_fail: '<h2>Download Failed</h2><p>Sorry, something went wrong!</p>',
44
- message_timeout: '<h2>Download<br />Unavailable</h2><p>please try again later!</p>',
45
- dl_remote_path: ''
46
- },
47
-
48
- eID: {
49
- play: '#playpause_mp3j_',
50
- playW: '#playpause_wrap_mp3j_',
51
- stp: '#stop_mp3j_',
52
- prev: '#Prev_mp3j_',
53
- next: '#Next_mp3j_',
54
- vol: '#vol_mp3j_',
55
- loader: '#load_mp3j_',
56
- pos: '#posbar_mp3j_',
57
- poscol: '#poscol_mp3j_',
58
- title: '#T_mp3j_',
59
- caption: '#C_mp3j_',
60
- pT: '#P-Time-MI_',
61
- tT: '#T-Time-MI_',
62
- dload: '#download_mp3j_',
63
- plwrap: '#L_mp3j_',
64
- ul: '#UL_mp3j_',
65
- a: 'mp3j_A_', //No hash!
66
- indiM: '#statusMI_',
67
- toglist: '#playlist-toggle_',
68
- lPP: '#lpp_mp3j_',
69
- pplink: '#mp3j_popout_',
70
- img: '#MI_image_'
71
- },
72
-
73
- init: function () {
74
- var plpath, that = this;
75
-
76
- plpath = this.plugin_path.split('/');
77
- this.dl_domain = plpath[2].replace(/^www./i, "");
78
-
79
- this.unwrap();
80
- this.write_controls();
81
- this.add_jpconstruct_div();
82
-
83
- jQuery(this.jpID).jPlayer({
84
- ready: function () {
85
- that.startup();
86
- },
87
- swfPath: that.plugin_path + '/js/Jplayer271.swf',
88
- volume: 1,
89
- supplied: "mp3",
90
- wmode: "window",
91
- solution:"html, flash",
92
- preload: "none"
93
- });
94
- jQuery(this.jpID).bind(jQuery.jPlayer.event.ended, function(event) {
95
- that.E_complete(that.tID);
96
- });
97
- jQuery(this.jpID).bind(jQuery.jPlayer.event.timeupdate, function(event) {
98
- var lp = that.get_loaded(event);
99
- var ppA = event.jPlayer.status.currentPercentAbsolute;
100
- var pt = event.jPlayer.status.currentTime;
101
- var tt = event.jPlayer.status.duration;
102
- that.E_update(that.tID, lp, ppA, pt, tt);
103
- });
104
- jQuery(this.jpID).bind(jQuery.jPlayer.event.ready, function(event) {
105
- if(event.jPlayer.html.used && event.jPlayer.html.audio.available) {
106
- that.jp_audio = jQuery(that.jpID).data("jPlayer").htmlElement.audio;
107
- } else {
108
- that.jp_audio = 'flash';
109
- }
110
- });
111
- jQuery(this.jpID).bind(jQuery.jPlayer.event.progress, function(event) {
112
- var lp = that.get_loaded(event);
113
- var pt = event.jPlayer.status.currentTime;
114
- var tt = event.jPlayer.status.duration;
115
- that.E_loading( that.tID, lp, tt, pt );
116
- });
117
- },
118
-
119
-
120
- ////
121
- ////
122
- check_show_jperrors: function ( event ) {
123
- if ( this.tID !== '' && this.jperrorIDs[ this.tID ] !== true ) {
124
- if ( event.jPlayer.error.type === 'e_no_solution' || event.jPlayer.error.type === 'e_no_support' ) {
125
- this.show_nosolution( this.tID );
126
- this.jperrorIDs[ this.tID ] = true;
127
- }
128
- }
129
- },
130
-
131
- show_nosolution: function ( j ) {
132
- jQuery('#mp3j_nosolution_' + j).empty().append(this.vars.message_nosolution).fadeIn(200);
133
- },
134
-
135
- add_jpconstruct_div: function () {
136
- var html = '<div id="mp3_jplayer_items" style="position:relative; overflow:hidden; margin:0; padding:0; border:0; width:0px; height:0px;"><div id="mp3_jplayer_1_8" style="left:-999em;"></div></div>';
137
- jQuery('body').prepend( html );
138
- },
139
-
140
- ////
141
- ////
142
-
143
-
144
-
145
- get_loaded: function (event) {
146
- var lp;
147
- if ( typeof this.jp_audio.buffered === "object" ) {
148
- if( this.jp_audio.buffered.length > 0 && this.jp_audio.duration > 0 ) {
149
- lp = 100 * this.jp_audio.buffered.end(this.jp_audio.buffered.length-1) / this.jp_audio.duration;
150
- } else {
151
- lp = 0;
152
- }
153
- } else {
154
- lp = event.jPlayer.status.seekPercent;
155
- }
156
- this.jp_seekable = event.jPlayer.status.seekPercent; //use this for slider calcs for both html/flash solution
157
- this.load_pc = lp;
158
- return lp;
159
- },
160
-
161
- Tformat: function ( sec ) {
162
- var t = sec,
163
- s = Math.floor((t)%60),
164
- m = Math.floor((t/60)%60),
165
- h = Math.floor(t/3600);
166
- return ((h > 0) ? h+':' : '') + ((m > 9) ? m : '0'+m) + ':' + ((s > 9) ? s : '0'+s);
167
- },
168
-
169
- E_loading: function ( j, lp, tt, pt ) {
170
- if (j !== '') {
171
- jQuery(this.eID.loader + j).css( "width", lp + '%' );
172
- if (this.pl_info[j].type === 'MI') {
173
- if (tt > 0 && this.played_t > 0) {
174
- jQuery(this.eID.tT + j).text(this.Tformat(tt));
175
- }
176
- }
177
- if ( this.jp_audio !== 'flash' && lp < 100 ) {
178
- if ( pt === this.played_t && this.state === 'playing' && pt > 0 && !this.sliding ) {
179
- if (this.pl_info[j].type === 'MI') {
180
- jQuery(this.eID.indiM + j).empty().append('<span class="mp3-finding"></span><span class="mp3-tint"></span>Buffering');
181
- }
182
- if (this.pl_info[j].type === 'single' ) {
183
- jQuery(this.eID.indiM + j).empty().append('<span class="Smp3-finding"></span><span class="mp3-gtint"></span> ' + this.Tformat(pt));
184
- }
185
- }
186
- this.played_t = pt;
187
- }
188
- }
189
- },
190
-
191
- E_update: function (j, lp, ppA, pt, tt) {
192
- if (j !== '') {
193
- jQuery(this.eID.loader + j).css( "width", lp + '%' );
194
- jQuery(this.eID.poscol + j).css( "width", ppA + '%' );
195
- if ( jQuery(this.eID.pos + j + ' div.ui-widget-header').length > 0 ) {
196
- jQuery(this.eID.pos + j).slider('option', 'value', 10*ppA);
197
- }
198
- if (pt > 0) {
199
- jQuery(this.eID.pos + j).css( 'visibility', 'visible' );
200
- }
201
- if (this.pl_info[j].type === 'MI') {
202
- jQuery(this.eID.pT + j).text(this.Tformat(pt));
203
- }
204
- if ('playing' === this.state) {
205
- if ('MI' === this.pl_info[j].type) {
206
- if (tt > 0 && this.played_t === pt && lp < 100 && !this.sliding ) {
207
- jQuery(this.eID.indiM + j).empty().append('<span class="mp3-finding"></span><span class="mp3-tint"></span>Buffering');
208
- jQuery(this.eID.tT + j).text(this.Tformat(tt));
209
- } else if (pt > 0) {
210
- jQuery(this.eID.indiM + j).empty().append('Playing');
211
- jQuery(this.eID.tT + j).text(this.Tformat(tt));
212
- }
213
- }
214
- if ('single' === this.pl_info[j].type){
215
- if (pt > 0 ) {
216
- if (this.played_t === pt && lp < 100 && !this.sliding ) {
217
- jQuery(this.eID.indiM + j).empty().append('<span class="Smp3-finding"></span><span class="mp3-gtint"></span> ' + this.Tformat(pt));
218
- } else {
219
- jQuery(this.eID.indiM + j).empty().append('<span class="mp3-tint tintmarg"></span> ' + this.Tformat(pt));
220
- }
221
- }
222
- }
223
- }
224
- this.played_t = pt;
225
- }
226
- },
227
-
228
- E_complete: function (j) {
229
- var p = this.pl_info[j];
230
- if ('MI' === p.type) {
231
- if (p.loop || p.tr+1 < p.list.length) {
232
- this.E_change_track(j, 'next');
233
- } else {
234
- this.E_dblstop(j);
235
- this.startup();
236
- }
237
- }
238
- if ('single' === p.type) {
239
- if (p.loop) {
240
- this.E_change_track(j, 'next');
241
- } else {
242
- this.E_stop(j);
243
- this.startup();
244
- }
245
- }
246
- },
247
-
248
- write_controls: function () {
249
- var j;
250
- for (j = 0; j < this.pl_info.length; j += 1) {
251
- this.setup_a_player(j);
252
- }
253
- },
254
-
255
- startup: function () {
256
- var j;
257
- for (j = 0; j < this.pl_info.length; j += 1) {
258
- //if (this.pl_info[j].autoplay) {
259
- if ( this.pl_info[j].autoplay && (this.pl_info[j].type === 'single' || this.pl_info[j].type === 'MI') ) {
260
- this.pl_info[j].autoplay = false;
261
- this.E_change_track(j, this.pl_info[j].tr);
262
- return;
263
- }
264
- }
265
- },
266
-
267
- setup_a_player: function (j) {
268
- var i, li, sel, that = this, p = this.pl_info[j];
269
-
270
- //PLAYLISTERS and SINGLES
271
- if ('MI' === p.type || 'single' === p.type) {
272
-
273
- jQuery(this.eID.vol + j).slider({
274
- value : p.vol,
275
- max: 100,
276
- range: 'min',
277
- animate: false,
278
- slide: function (event, ui) {
279
- p.vol = ui.value;
280
- if (j === that.tID) {
281
- jQuery(that.jpID).jPlayer("volume", ui.value/100);
282
- }
283
- }
284
- });
285
-
286
- jQuery(this.eID.pos + j).mouseup(function (e) { //for posbar
287
- that.sliding = false;
288
- });
289
-
290
- sel = ('MI' === p.type) ? this.eID.play : this.eID.playW;
291
- jQuery(sel + j).click(function () { //play-pause click
292
- that.E_change_track(j, p.tr);
293
- jQuery(this).blur();
294
- });
295
- jQuery(sel + j).dblclick(function () { //play-pause dbl click
296
- if (that.state !== "playing") {
297
- that.E_change_track(j, p.tr);
298
- }
299
- jQuery(this).blur();
300
- });
301
-
302
- this.titles(j, p.tr);
303
- }
304
-
305
- //PLAYLISTERS
306
- if ('MI' === p.type) {
307
- jQuery(this.eID.pT + j).text('00:00');
308
- jQuery(this.eID.indiM + j).text('Ready');
309
- jQuery(this.eID.stp + j).click(function () {
310
- that.E_stop(j);
311
- });
312
- jQuery(this.eID.stp + j).dblclick(function () {
313
- that.E_dblstop(j);
314
- });
315
-
316
- jQuery(this.eID.plwrap + j).hide();
317
- if (p.list.length > 1) {
318
- jQuery(this.eID.next + j).click(function () {
319
- that.E_change_track(j, 'next');
320
- });
321
- jQuery(this.eID.prev + j).click(function () {
322
- that.E_change_track(j, 'prev');
323
- });
324
- jQuery(this.eID.ul + j).empty();
325
- for (i = 0; i < p.list.length; i += 1) {
326
- li = '<li>';
327
- li += '<a href="#" id="' + this.eID.a + j + '_' + i + '">' + p.list[i].name + '</a></li>';
328
- jQuery(this.eID.ul + j).append(li);
329
- this.add_ul_click(j, i);
330
- }
331
- jQuery('#' + this.eID.a + j + '_' + p.tr).addClass('mp3j_A_current');
332
- jQuery(this.eID.toglist + j).click(function () {
333
- that.togglelist(j);
334
- });
335
- if (p.lstate === true) {
336
- jQuery(this.eID.plwrap + j).show();
337
- }
338
- }
339
-
340
- this.writedownload(j, p.tr);
341
- if ( this.vars.force_dload === true ) {
342
- this.dl_closeinfo_click(j);
343
- }
344
-
345
- jQuery(this.eID.lPP + j).click(function () {
346
- return that.E_launchPP(j);
347
- });
348
- }
349
-
350
- //POPOUT LINKS
351
- if ('popout' === p.type) {
352
- jQuery(this.eID.pplink + j).click(function () {
353
- return that.E_launchPP(j);
354
- });
355
- }
356
- },
357
-
358
- add_ul_click: function (j, i) { //playlist item click
359
- var that = this;
360
- jQuery('#' + this.eID.a + j + "_" + i).click(function (e) {
361
- that.E_change_track(j, i);
362
- e.preventDefault();
363
- });
364
- },
365
-
366
- unwrap: function () {
367
- var i, j, arr;
368
- if (this.vars.play_f === true && typeof this.lists !== "undefined" && this.lists.length > 0) {
369
- for (i = 0; i < this.lists.length; i += 1) {
370
- arr = this.lists[i];
371
- for (j = 0; j < arr.length; j += 1) {
372
- arr[j].mp3 = this.f_undo.f_con(arr[j].mp3);
373
- }
374
- }
375
- }
376
- },
377
-
378
- f_undo: {
379
- keyStr : "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
380
- f_con : function (input) {
381
- var output = "", i = 0, chr1, chr2, chr3, enc1, enc2, enc3, enc4;
382
- input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
383
- while (i < input.length) {
384
- enc1 = this.keyStr.indexOf(input.charAt(i++)); enc2 = this.keyStr.indexOf(input.charAt(i++));
385
- enc3 = this.keyStr.indexOf(input.charAt(i++)); enc4 = this.keyStr.indexOf(input.charAt(i++));
386
- chr1 = (enc1 << 2) | (enc2 >> 4); chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); chr3 = ((enc3 & 3) << 6) | enc4;
387
- output = output + String.fromCharCode(chr1);
388
- if (enc3 !== 64) { output = output + String.fromCharCode(chr2); }
389
- if (enc4 !== 64) { output = output + String.fromCharCode(chr3); }
390
- }
391
- output = this.utf8_f_con(output);
392
- return output;
393
- },
394
- utf8_f_con : function (utftext) {
395
- var string = "", i = 0, c, c1, c2, c3;
396
- while (i < utftext.length) {
397
- c = utftext.charCodeAt(i);
398
- if (c < 128) {
399
- string += String.fromCharCode(c); i++;
400
- } else if ((c > 191) && (c < 224)) {
401
- c2 = utftext.charCodeAt(i + 1); string += String.fromCharCode(((c & 31) << 6) | (c2 & 63)); i += 2;
402
- } else {
403
- c2 = utftext.charCodeAt(i + 1); c3 = utftext.charCodeAt(i + 2); string += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63)); i += 3;
404
- }
405
- }
406
- return string;
407
- }
408
- },
409
-
410
-
411
- E_stop: function (j) {
412
- if (j === this.tID && j !== '') {
413
- this.clearit();
414
- if ( jQuery(this.eID.pos + j + ' div.ui-widget-header').length > 0 ) {
415
- jQuery(this.eID.pos + j).slider('destroy');
416
- }
417
- jQuery(this.eID.loader + j).css( "width", '0%' );
418
- this.button(j, 'play');
419
- if (this.pl_info[j].type === 'MI') {
420
- jQuery(this.eID.poscol + j).css( "width", '0%' );
421
- jQuery(this.eID.tT + j).empty();
422
- jQuery(this.eID.indiM + j).text('Stopped');
423
- jQuery(this.eID.pT + j).text(this.Tformat(0));
424
- } else {
425
- jQuery(this.eID.indiM + j).empty();
426
- }
427
- this.load_pc = 0;
428
- this.played_t = 0;
429
- }
430
- },
431
-
432
- E_dblstop: function (j) {
433
- this.listclass(j, this.pl_info[j].tr, 0);
434
- if ( this.pl_info[j].tr !== 0 ) {
435
- this.titles(j, 0);
436
- }
437
- this.writedownload(j, 0);
438
- this.E_stop(j);
439
- jQuery(this.eID.indiM + j).text('Ready');
440
- this.pl_info[j].tr = 0;
441
- },
442
-
443
- E_change_track: function (j, change) {
444
- var track, txt, p = this.pl_info[j];
445
- if (j === this.tID && change === p.tr) {
446
- if ('playing' === this.state) {
447
- if (this.load_pc === 0) {
448
- this.E_stop(j);
449
- } else {
450
- this.pauseit();
451
- this.button(j, 'play');
452
- if ('MI' === p.type) {
453
- jQuery(this.eID.indiM + j).text('Paused');
454
- }
455
- }
456
- return;
457
- } else if ('paused' === this.state || 'set' === this.state) {
458
- this.playit();
459
- this.button(j, 'pause');
460
- return;
461
- }
462
- }
463
- this.E_stop(this.tID);
464
- if ('prev' === change) {
465
- track = (p.tr-1 < 0) ? p.list.length-1 : p.tr-1;
466
- } else if ('next' === change) {
467
- track = (p.tr+1 < p.list.length) ? p.tr+1 : 0;
468
- } else {
469
- track = change;
470
- }
471
- jQuery(this.jpID).jPlayer("volume", 1 ); //Vol scaling fix
472
- this.setit(p.list[track].mp3);
473
- this.playit();
474
- jQuery(this.jpID).jPlayer("volume", p.vol/100 ); //Reset to correct vol
475
- txt = ('MI' === p.type) ? '<span class="mp3-finding"></span><span class="mp3-tint"></span>Connecting' : '<span class="Smp3-finding"></span><span class="mp3-gtint"></span>';
476
- jQuery(this.eID.indiM + j).empty().append(txt);
477
- this.button(j, 'pause');
478
- this.makeslider(j);
479
- if ('MI' === p.type) {
480
- this.listclass(j, p.tr, track);
481
- if ( p.tr !== track ) {
482
- this.titles(j, track);
483
- }
484
- if (p.download) {
485
- this.writedownload(j, track);
486
- jQuery(this.eID.dload + j).hide().addClass('whilelinks').fadeIn(400);
487
- }
488
- }
489
- p.tr = track;
490
- this.tID = j;
491
- },
492
-
493
- E_launchPP: function (j) {
494
- var li_height = 28;
495
- if ( this.pl_info[j].height !== false ) {
496
- this.vars.pp_playerheight = 100 + this.pl_info[j].height;
497
- }
498
- this.vars.pp_windowheight = ( this.pl_info[j].list.length > 1 ) ? this.vars.pp_playerheight + ( this.pl_info[j].list.length * li_height) : this.vars.pp_playerheight;
499
- if ( this.vars.pp_windowheight > this.vars.pp_maxheight ) {
500
- this.vars.pp_windowheight = this.vars.pp_maxheight;
501
- }
502
- this.launched_ID = j;
503
- this.was_playing = ( this.state === "playing" ) ? true : false;
504
-
505
- this.E_stop(this.tID);
506
- this.setit(this.plugin_path + '/mp3/silence.mp3');
507
- this.playit(); //make chrome let go of last track (incase it didn't finish loading)
508
- this.clearit();
509
-
510
- var newwindow = window.open(this.plugin_path + '/popout.php', 'mp3jpopout', 'height=300, width=600, location=1, status=1, scrollbars=1, resizable=1, left=25, top=25');
511
- if ( this.pl_info[j].lstate === true ) {
512
- newwindow.resizeTo( this.vars.pp_width, this.vars.pp_windowheight );
513
- } else {
514
- newwindow.resizeTo( this.vars.pp_width, this.vars.pp_playerheight );
515
- }
516
- if (window.focus) {
517
- newwindow.focus();
518
- }
519
- return false;
520
- },
521
-
522
- setit: function (file) {
523
- this.state = 'set';
524
- jQuery(this.jpID).jPlayer("setMedia", {mp3: file});
525
- },
526
- playit: function () {
527
- this.state = 'playing';
528
- jQuery(this.jpID).jPlayer("play");
529
- },
530
- pauseit: function () {
531
- this.state = 'paused';
532
- jQuery(this.jpID).jPlayer("pause");
533
- },
534
- clearit: function () {
535
- this.state = '';
536
- jQuery(this.jpID).jPlayer("clearMedia");
537
- },
538
-
539
- button: function (j, type) {
540
- if (j === '') { return; }
541
- if ('pause' === type) {
542
- if (this.pl_info[j].play_txt === '#USE_G#') {
543
- jQuery(this.eID.play + j).removeClass('buttons_mp3j').addClass('buttons_mp3jpause');
544
- } else {
545
- jQuery(this.eID.play + j).text(this.pl_info[j].pause_txt);
546
- }
547
- }
548
- if ('play' === type) {
549
- if (this.pl_info[j].play_txt === '#USE_G#') {
550
- jQuery(this.eID.play + j).removeClass('buttons_mp3jpause').addClass('buttons_mp3j');
551
- } else {
552
- jQuery(this.eID.play + j).text(this.pl_info[j].play_txt);
553
- }
554
- }
555
- },
556
-
557
- listclass: function ( j, rem, add ) {
558
- jQuery('#'+ this.eID.a + j +'_'+ rem).removeClass('mp3j_A_current');
559
- jQuery('#'+ this.eID.a + j +'_'+ add).addClass('mp3j_A_current');
560
- },
561
-
562
- titles: function ( j, track ) {
563
- var p = this.pl_info[j], Olink = '', Clink = '';
564
- if (p.type === "MI") {
565
- jQuery(this.eID.title + j).empty().append(p.list[track].name).append('<br /><span>' + p.list[track].artist + '</span>');
566
- if (p.list[track].image !== '') {
567
- if (p.list[track].imgurl !== '') {
568
- Olink = '<a href="' + p.list[track].imgurl + '">';
569
- Clink = '</a>';
570
- }
571
- jQuery(this.eID.img + j).empty().hide().append(Olink + '<img src="' + p.list[track].image + '" />' + Clink).fadeIn(300);
572
- }
573
- }
574
- },
575
-
576
- writedownload: function ( j, track ) {
577
- var p = this.pl_info[j];
578
- if (p.download) {
579
- jQuery(this.eID.dload + j).empty().removeClass('whilelinks').append('<a id="mp3j_dlanchor_' + j + '" href="' + p.list[track].mp3 + '" target="_blank">' + this.vars.dload_text + '</a>');
580
- if ( this.vars.force_dload === true ) {
581
- this.dl_button_click( j );
582
- }
583
- }
584
- },
585
-
586
- togglelist: function ( j ) {
587
- if (this.pl_info[j].lstate === true) {
588
- jQuery(this.eID.plwrap + j).fadeOut(300);
589
- jQuery(this.eID.toglist + j).text('SHOW');
590
- this.pl_info[j].lstate = false;
591
- } else if (this.pl_info[j].lstate === false) {
592
- jQuery(this.eID.plwrap + j).fadeIn("slow");
593
- jQuery(this.eID.toglist + j).text('HIDE');
594
- this.pl_info[j].lstate = true;
595
- }
596
- },
597
-
598
- makeslider: function (j) {
599
- var phmove, cssmove, that = this;
600
- jQuery(this.eID.pos + j).css( 'visibility', 'hidden' );
601
- jQuery(this.eID.pos + j).slider({
602
- max: 1000,
603
- range: 'min',
604
- animate: false,
605
- slide: function (event, ui) {
606
- if ((ui.value/10) < that.load_pc) {
607
- cssmove = ui.value/10;
608
- phmove = ui.value*(10.0/that.jp_seekable);
609
- } else {
610
- cssmove = 0.99*that.load_pc;
611
- phmove = (9.9*that.load_pc)*(10.0/that.jp_seekable);
612
- }
613
- jQuery(that.eID.poscol + j).css('width', cssmove + '%');
614
- jQuery(that.jpID).jPlayer("playHead", phmove );
615
- if (that.state === 'paused') {
616
- that.button(j, 'pause');
617
- that.playit();
618
- }
619
- that.state = 'playing';
620
- that.sliding = true;
621
- }
622
- });
623
- }
624
-
625
- };
626
-
627
- // Force browser download
628
- MP3_JPLAYER.dl_button_click = function ( j ) {
629
- var that = this, p = this.pl_info[j];
630
- jQuery('#mp3j_dlanchor_' + j).click(function (e) {
631
- that.dl_runinfo( p.list[p.tr].mp3, j, e );
632
- e.preventDefault();
633
- });
634
- };
635
-
636
- MP3_JPLAYER.dl_closeinfo_click = function ( j ) {
637
- var that = this;
638
- jQuery('#mp3j_finfo_close_' + j).click(function () {
639
- that.dl_dialogue( j, '', 'close');
640
- that.clear_timers( j );
641
- });
642
- };
643
-
644
- MP3_JPLAYER.dl_runinfo = function ( get, j, e ) {
645
- var can_write,
646
- dlpath,
647
- message,
648
- that = this,
649
- dlframe = false,
650
- p = this.pl_info[j],
651
- is_local = this.is_local_dload( get );
652
-
653
- var enc_get;
654
-
655
- if ( !this.intervalIDs[ j ] && !this.timeoutIDs[ j ] ) { //if timers not already running for this player
656
- can_write = this.write_cookie('mp3Download' + j, 'waiting', '');
657
- if ( is_local ) {
658
- if ( can_write !== false ) {
659
- this.dl_dialogue( j, this.vars.message_interval, 'check');
660
- } else {
661
- this.dl_dialogue( j, this.vars.message_indark, 'indark');
662
- }
663
- this.intervalIDs[ j ] = setInterval( function(){ that.dl_interval_check( j, can_write ); }, 500);
664
- this.timeoutIDs[ j ] = setTimeout( function(){ that.dl_timeout( j, can_write ); }, 7000);
665
- dlframe = true;
666
- } else {
667
- if ( this.vars.dl_remote_path === '' ) {
668
- message = this.vars.message_promtlink.replace('#1', get);
669
- message = message.replace('#2', p.list[p.tr].name);
670
- this.dl_dialogue( j, message, 'indark');
671
- } else {
672
- message = this.vars.message_indark.replace('#1', get);
673
- message = message.replace('#2', p.list[p.tr].name);
674
- this.dl_dialogue( j, message, 'indark');
675
- dlframe = true;
676
- }
677
- }
678
- this.dl_dialogs[ j ] = 'false';
679
- if ( dlframe ) {
680
- dlpath = this.get_dloader_path( get );
681
- enc_get = encodeURIComponent( get );
682
- //jQuery('#mp3j_dlf_' + j).empty().append('<iframe id="mp3j_dlframe_' + j + '" name="mp3j_dlframe_' + j + '" class="mp3j-dlframe" src="' + dlpath + '?mp3=loc' + get + '&pID=' + j + '" style="display:none;"></iframe>');
683
- jQuery('#mp3j_dlf_' + j).empty().append('<iframe id="mp3j_dlframe_' + j + '" name="mp3j_dlframe_' + j + '" class="mp3j-dlframe" src="' + dlpath + '?mp3=loc' + enc_get + '&pID=' + j + '" style="display:none;"></iframe>');
684
- }
685
- }
686
- };
687
-
688
- MP3_JPLAYER.dl_interval_check = function ( j, can_write ) {
689
- if ( can_write !== false && this.read_cookie('mp3Download' + j) === 'true' ) { //got cookie back, all should be good
690
- this.dl_dialogue( j, this.vars.message_ok, 'hide');
691
- //jQuery('#debug').append('<br />check: cookie '+j+' true');
692
- this.clear_timers( j );
693
- } else if ( this.dl_dialogs[ j ] !== 'false' ) { //got a message back
694
- this.dl_dialogue( j, this.dl_dialogs[ j ], 'add');
695
- //jQuery('#debug').append('<br />check: dialog'+j+' true');
696
- this.clear_timers( j );
697
- } //else {
698
- //jQuery('#debug').append('<br />check: neither '+j+'...# ');
699
- //}
700
- };
701
-
702
- MP3_JPLAYER.dl_timeout = function ( j, can_write ) {
703
- this.clear_timers( j );
704
- if ( can_write !== false ) {
705
- this.dl_dialogue( j, this.vars.message_timeout, 'add');
706
- }
707
- //jQuery('#debug').append('<br />no responses ('+j+' timed out) ');
708
- };
709
-
710
- MP3_JPLAYER.clear_timers = function ( j ) {
711
- if ( this.intervalIDs[ j ] !== null && this.timeoutIDs[ j ] !== null ) {
712
- clearInterval( this.intervalIDs[j] );
713
- clearTimeout( this.timeoutIDs[j] );
714
- this.intervalIDs[ j ] = null;
715
- this.timeoutIDs[j] = null;
716
- }
717
- jQuery('#mp3j_dlf_' + j).empty(); //ditch iframe
718
- this.write_cookie('mp3Download' + j, '', -1); //clear any cookie
719
- //jQuery('#debug').append('<br />cookie/frame '+j+' cleared');
720
- };
721
-
722
- MP3_JPLAYER.dl_dialogue = function ( j, text, state ) {
723
- if ( 'check' === state ) {
724
- jQuery('#mp3j_finfo_gif_' + j).show();
725
- jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
726
- jQuery('#mp3j_finfo_' + j).show();
727
- } else if ( 'add' === state ) {
728
- jQuery('#mp3j_finfo_gif_' + j).hide();
729
- jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
730
- } else if ( 'indark' === state ) {
731
- jQuery('#mp3j_finfo_gif_' + j).hide();
732
- jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
733
- jQuery('#mp3j_finfo_' + j).fadeIn(100);
734
- } else if ( 'close' === state ) {
735
- jQuery('#mp3j_finfo_gif_' + j).hide();
736
- jQuery('#mp3j_finfo_' + j).hide();
737
- } else {
738
- jQuery('#mp3j_finfo_gif_' + j).hide();
739
- if ( text !== '' ) {
740
- jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
741
- }
742
- jQuery('#mp3j_finfo_' + j).fadeOut(1000);
743
- }
744
- };
745
-
746
- MP3_JPLAYER.read_cookie = function ( name ) {
747
- var i, cookie, allCookies = document.cookie.split('; ');
748
- if ( allCookies.length > 0 ) {
749
- for ( i = 0; i < allCookies.length; i += 1 ) {
750
- cookie = allCookies[i].split( '=' );
751
- if ( cookie[0] === name ) {
752
- return cookie[1];
753
- }
754
- }
755
- }
756
- return false;
757
- };
758
-
759
- MP3_JPLAYER.write_cookie = function ( name, value, days ) {
760
- var date, expires = "";
761
- if ( days ) {
762
- date = new Date();
763
- date.setTime( date.getTime() + (days*24*60*60*1000) );
764
- expires = "; expires=" + date.toGMTString();
765
- }
766
- document.cookie = name + "=" + value + expires + "; path=/";
767
- return this.read_cookie( name );
768
- };
769
-
770
- MP3_JPLAYER.get_dloader_path = function ( loc ) {
771
- var k, path = "", file = "", chunks;
772
- chunks = loc.split('/');
773
- file = chunks[chunks.length-1];
774
- //jQuery('#debug').append('<br />');
775
- //for ( k = 0; k < chunks.length; k += 1 ) {
776
- // jQuery('#debug').append('<br />[' + k + '] ' + chunks[k]);
777
- //}
778
- //jQuery('#debug').append('<br />file:' + file);
779
- if ( loc.charAt(0) === '/' ) {
780
- path = this.plugin_path + '/download.php';
781
- } else {
782
- path = chunks[2].replace(/^www./i, "");
783
- if ( path === this.dl_domain ) {
784
- path = this.plugin_path + '/download.php';
785
- } else {
786
- path = chunks[0] + '//' + chunks[2] + this.vars.dl_remote_path;
787
- }
788
- }
789
- //jQuery('#debug').append('<br />path:' + path);
790
- return path;
791
- };
792
-
793
- MP3_JPLAYER.is_local_dload = function ( loc ) {
794
- var domain = "", file = "", chunks, is_local = false;
795
- chunks = loc.split('/');
796
- file = chunks[chunks.length-1];
797
- if ( loc.charAt(0) === '/' ) {
798
- is_local = true;
799
- } else {
800
- domain = chunks[2].replace(/^www./i, "");
801
- if ( domain === this.dl_domain ) {
802
- is_local = true;
803
- }
804
- }
805
- return is_local;
806
- };
807
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/mp3j-admin-1.8.js ADDED
@@ -0,0 +1,254 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* MP3-jPlayer 1.8 - admin js */
2
+
3
+ var MP3J_ADMIN = {
4
+ toggle_states: [
5
+ { tog_0: false },
6
+ { tog_1: false },
7
+ { fox_library: false },
8
+ { fox_folder: false },
9
+ { fox_op1: false },
10
+ { fox_op5: false },
11
+ { fox_op2: false },
12
+ { fox_op3: false },
13
+ { fox_op4: false },
14
+ { tog_9: false }
15
+ ],
16
+ toggleit: function ( id, label ) {
17
+ if (this.toggle_states[id]) {
18
+ jQuery("#" + id + "-list").fadeOut(100);
19
+ jQuery("#" + id + "-toggle").empty().append(label).blur();
20
+ this.toggle_states[id] = false;
21
+ } else {
22
+ jQuery("#" + id + "-list").fadeIn(200);
23
+ jQuery("#" + id + "-toggle").empty().append('Hide '+label).blur();
24
+ this.toggle_states[id] = true;
25
+ }
26
+ },
27
+ showhideit: function ( id, label ) {
28
+ if (this.toggle_states[id]) {
29
+ jQuery("#" + id + "-list").fadeOut(100);
30
+ jQuery("#" + id + "-toggle").empty().append('Show '+label).blur();
31
+ this.toggle_states[id] = false;
32
+ } else {
33
+ jQuery("#" + id + "-list").fadeIn(200);
34
+ jQuery("#" + id + "-toggle").empty().append('Hide '+label).blur();
35
+ this.toggle_states[id] = true;
36
+ }
37
+ }
38
+ }
39
+
40
+
41
+ /* Form select event on player style dropdown */
42
+ var player_select=document.getElementById("player-select");
43
+ player_select.onchange=function(){
44
+ var chosen=this.options[this.selectedIndex];
45
+ if (chosen.value=="styleF" || chosen.value=="styleG" || chosen.value=="styleH"){
46
+ $S('mp3fcss').color="#d6d6d6";
47
+ $S('mp3fcss').backgroundColor="#fcfcfc";
48
+ $S('mp3fcss').borderColor="#f0f0f0";
49
+ $S('player-csssheet').color="#d6d6d6";
50
+ }
51
+ if (chosen.value=="styleI"){
52
+ $S('mp3fcss').color="#000";
53
+ $S('mp3fcss').backgroundColor="#fff";
54
+ $S('mp3fcss').borderColor="#dfdfdf";
55
+ $S('player-csssheet').color="#444";
56
+ }
57
+ };
58
+
59
+
60
+ /* Admin/Picker interaction */
61
+ var curcol="";
62
+ var initcolour = "#6d9dde";
63
+ var red = 0; // between 0 and 1
64
+ var green = 0;
65
+ var blue = 0;
66
+ var hue = 0; // between 0 and 360
67
+ var saturation = 0; // between 0 and 1
68
+ var value = 0;
69
+
70
+ function putfcolour(fID,blID) {
71
+ $woof(fID).value='#'+curcol;
72
+ $S(blID).background='#'+curcol;
73
+ }
74
+ function udfcol(fID, blID) {
75
+ $S(blID).background=$woof(fID).value;
76
+ }
77
+ function sendfcolour(fID) {
78
+ hval=$woof(fID).value;
79
+ initpicker(hval);
80
+ }
81
+ function initpicker(hval){
82
+ HextoRGB(hval);
83
+ RGBtoHSV();
84
+ sendHSV={H:hue, S:saturation*100, V:value*100};
85
+ HSVupdate(sendHSV);
86
+ $S('SVslide').left = Math.round(saturation*100*1.62)-1 + "px";
87
+ $S('SVslide').top = 161-Math.round((value*100*1.62)) + "px";
88
+ $S('Hslide').top = 159-Math.round((165/360)*hue) + "px";
89
+ $S('SV').backgroundColor='#'+color.HSV_HEX({H:hue, S:100, V:100});
90
+ }
91
+ function HextoRGB(hexString) {
92
+ if(hexString === null || typeof(hexString) != "string") {
93
+ SetRGB(0,0,0);
94
+ return;
95
+ }
96
+ if (hexString.substr(0, 1) == '#')
97
+ hexString = hexString.substr(1);
98
+ if(hexString.length != 6) {
99
+ SetRGB(0,0,0);
100
+ return;
101
+ }
102
+ var r = parseInt(hexString.substr(0, 2), 16);
103
+ var g = parseInt(hexString.substr(2, 2), 16);
104
+ var b = parseInt(hexString.substr(4, 2), 16);
105
+ if (isNaN(r) || isNaN(g) || isNaN(b)) {
106
+ SetRGB(0,0,0);
107
+ return;
108
+ }
109
+ SetRGB(r,g,b);
110
+ }
111
+ function SetRGB(r, g, b){
112
+ red = r/255.0;
113
+ green = g/255.0;
114
+ blue = b/255.0;
115
+ }
116
+ function RGBtoHSV(){
117
+ var max = Math.max(Math.max(red, green), blue);
118
+ var min = Math.min(Math.min(red, green), blue);
119
+ value = max;
120
+ saturation = 0;
121
+ if(max !== 0)
122
+ saturation = 1 - min/max;
123
+ hue = 0;
124
+ if(min == max)
125
+ return;
126
+
127
+ var delta = (max - min);
128
+ if (red == max)
129
+ hue = (green - blue) / delta;
130
+ else if (green == max)
131
+ hue = 2 + ((blue - red) / delta);
132
+ else
133
+ hue = 4 + ((red - green) / delta);
134
+ hue = hue * 60;
135
+ if(hue < 0)
136
+ hue += 360;
137
+ }
138
+
139
+ /* Colour picker (modified DHTML Color Square by ColorJack) */
140
+ function $woof(v,o) { return((typeof(o)=='object'?o:document).getElementById(v)); }
141
+ function $S(o) { o=$woof(o); if(o) return(o.style); }
142
+ function abPos(o) { var o=(typeof(o)=='object'?o:$woof(o)), z={X:0,Y:0}; while(o!==null) { z.X+=o.offsetLeft; z.Y+=o.offsetTop; o=o.offsetParent; } return(z); }
143
+ function agent(v) { return(Math.max(navigator.userAgent.toLowerCase().indexOf(v),0)); }
144
+ function toggle(v) { $S(v).display=($S(v).display=='none'?'block':'none'); }
145
+ function within(v,a,z) { return((v>=a && v<=z)?true:false); }
146
+ function XY(e,v) { var o=agent('msie')?{'X':event.clientX+document.documentElement.scrollLeft,'Y':event.clientY+document.documentElement.scrollTop}:{'X':e.pageX,'Y':e.pageY}; return(v?o[v]:o); }
147
+ function zero(v) { v=parseInt(v); return(!isNaN(v)?v:0); }
148
+
149
+ var maxValue={'H':360,'S':100,'V':100}, HSV={H:360, S:100, V:100};
150
+ var slideHSV={H:360, S:100, V:100}, zINDEX=15, stop=1;
151
+ function HSVslide(d,o,e) {
152
+ function tXY(e) { tY=XY(e).Y-ab.Y; tX=XY(e).X-ab.X; }
153
+ function mkHSV(a,b,c) { return(Math.min(a,Math.max(0,Math.ceil((parseInt(c)/b)*a)))); }
154
+ function ckHSV(a,b) { if(within(a,0,b)) return(a); else if(a>b) return(b); else if(a<0) return('-'+oo); }
155
+ function drag(e) {
156
+ if(!stop) {
157
+ if(d!='drag') tXY(e);
158
+ if(d=='SVslide') {
159
+ ds.left=ckHSV(tX-oo,162)+'px';
160
+ ds.top=ckHSV(tY-oo,162)+'px';
161
+ slideHSV.S=mkHSV(100,162,ds.left);
162
+ slideHSV.V=100-mkHSV(100,162,ds.top);
163
+ HSVupdate();
164
+ }
165
+ else if(d=='Hslide') {
166
+ var ck=ckHSV(tY-oo,163), r=['H','S','V'], z={};
167
+ ds.top=(ck-5)+'px';
168
+ slideHSV.H=mkHSV(360,163,ck);
169
+ for(var i in r) {
170
+ i=r[i];
171
+ z[i]=(i=='H')?maxValue[i]-mkHSV(maxValue[i],163,ck):HSV[i];
172
+ }
173
+ HSVupdate(z);
174
+ $S('SV').backgroundColor='#'+color.HSV_HEX({H:HSV.H, S:100, V:100});
175
+ }
176
+ }}
177
+ if(stop) {
178
+ stop='';
179
+ var ds=$S(d!='drag'?d:o);
180
+ var ab=abPos($woof(o)), tX, tY, oo=(d=='Hslide')?2:4;
181
+ ab.X+=10; ab.Y+=22;
182
+ if(d=='SVslide') slideHSV.H=HSV.H;
183
+ document.onmousemove=drag;
184
+ document.onmouseup=function(){
185
+ stop=1;
186
+ document.onmousemove='';
187
+ document.onmouseup='';
188
+ };
189
+ drag(e);
190
+ }
191
+ }
192
+ function HSVupdate(v) {
193
+ v=color.HSV_HEX(HSV=v?v:slideHSV);
194
+ $woof('plugHEX').innerHTML='#'+v;
195
+ $S('plugCUR').background='#'+v;
196
+ curcol=v;
197
+ return(v);
198
+ }
199
+ function loadSV() {
200
+ var z='';
201
+ for(var i=165; i>=0; i--) {
202
+ z+="<div style=\"BACKGROUND: #"+color.HSV_HEX({H:Math.round((360/165)*i), S:100, V:100})+";\"><br /><\/div>";
203
+ }
204
+ }
205
+
206
+ /* Colour library */
207
+ color={};
208
+ color.cords=function(W) {
209
+ var W2=W/2, rad=(hsv.H/360)*(Math.PI*2), hyp=(hsv.S+(100-hsv.V))/100*(W2/2);
210
+ $S('mCur').left=Math.round(Math.abs(Math.round(Math.sin(rad)*hyp)+W2+3))+'px';
211
+ $S('mCur').top=Math.round(Math.abs(Math.round(Math.cos(rad)*hyp)-W2-21))+'px';
212
+ };
213
+ color.HEX=function(o) { o=Math.round(Math.min(Math.max(0,o),255));
214
+ return("0123456789ABCDEF".charAt((o-o%16)/16)+"0123456789ABCDEF".charAt(o%16));
215
+ };
216
+ color.RGB_HEX=function(o) { var fu=color.HEX; return(fu(o.R)+fu(o.G)+fu(o.B)); };
217
+ color.HSV_RGB=function(o) {
218
+
219
+ var R, G, A, B, C, S=o.S/100, V=o.V/100, H=o.H/360;
220
+ if(S>0) { if(H>=1) H=0;
221
+ H=6*H; F=H-Math.floor(H);
222
+ A=Math.round(255*V*(1-S));
223
+ B=Math.round(255*V*(1-(S*F)));
224
+ C=Math.round(255*V*(1-(S*(1-F))));
225
+ V=Math.round(255*V);
226
+
227
+ switch(Math.floor(H)) {
228
+ case 0: R=V; G=C; B=A; break;
229
+ case 1: R=B; G=V; B=A; break;
230
+ case 2: R=A; G=V; B=C; break;
231
+ case 3: R=A; G=B; B=V; break;
232
+ case 4: R=C; G=A; B=V; break;
233
+ case 5: R=V; G=A; B=B; break;
234
+ }
235
+ return({'R':R?R:0, 'G':G?G:0, 'B':B?B:0, 'A':1});
236
+ }
237
+ else return({'R':(V=Math.round(V*255)), 'G':V, 'B':V, 'A':1});
238
+ };
239
+ color.HSV_HEX=function(o) { return(color.RGB_HEX(color.HSV_RGB(o))); };
240
+
241
+ /* Startup */
242
+ jQuery("#tog_0-list").css( "display" , "none" );
243
+ jQuery("#tog_1-list").css( "display" , "none" );
244
+ jQuery("#fox_library-list").css( "display" , "none" );
245
+ jQuery("#fox_folder-list").css( "display" , "none" );
246
+ jQuery("#fox_op1-list").css( "display" , "none" );
247
+ jQuery("#fox_op5-list").css( "display" , "none" );
248
+ jQuery("#fox_op2-list").css( "display" , "none" );
249
+ jQuery("#fox_op3-list").css( "display" , "none" );
250
+ jQuery("#fox_op4-list").css( "display" , "none" );
251
+
252
+ $S('plugin').display='block';
253
+ loadSV();
254
+ initpicker(initcolour);
js/ui.core.js CHANGED
@@ -1,17 +1,17 @@
1
- /*!
2
- * jQuery UI 1.8.10
3
- *
4
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
5
- * Dual licensed under the MIT or GPL Version 2 licenses.
6
- * http://jquery.org/license
7
- *
8
- * http://docs.jquery.com/UI
9
- */
10
- (function(c,j){function k(a){return!c(a).parents().andSelf().filter(function(){return c.curCSS(this,"visibility")==="hidden"||c.expr.filters.hidden(this)}).length}c.ui=c.ui||{};if(!c.ui.version){c.extend(c.ui,{version:"1.8.10",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,
11
- NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});c.fn.extend({_focus:c.fn.focus,focus:function(a,b){return typeof a==="number"?this.each(function(){var d=this;setTimeout(function(){c(d).focus();b&&b.call(d)},a)}):this._focus.apply(this,arguments)},scrollParent:function(){var a;a=c.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(c.curCSS(this,
12
- "position",1))&&/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!a.length?c(document):a},zIndex:function(a){if(a!==j)return this.css("zIndex",a);if(this.length){a=c(this[0]);for(var b;a.length&&a[0]!==document;){b=a.css("position");
13
- if(b==="absolute"||b==="relative"||b==="fixed"){b=parseInt(a.css("zIndex"),10);if(!isNaN(b)&&b!==0)return b}a=a.parent()}}return 0},disableSelection:function(){return this.bind((c.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});c.each(["Width","Height"],function(a,b){function d(f,g,l,m){c.each(e,function(){g-=parseFloat(c.curCSS(f,"padding"+this,true))||0;if(l)g-=parseFloat(c.curCSS(f,
14
- "border"+this+"Width",true))||0;if(m)g-=parseFloat(c.curCSS(f,"margin"+this,true))||0});return g}var e=b==="Width"?["Left","Right"]:["Top","Bottom"],h=b.toLowerCase(),i={innerWidth:c.fn.innerWidth,innerHeight:c.fn.innerHeight,outerWidth:c.fn.outerWidth,outerHeight:c.fn.outerHeight};c.fn["inner"+b]=function(f){if(f===j)return i["inner"+b].call(this);return this.each(function(){c(this).css(h,d(this,f)+"px")})};c.fn["outer"+b]=function(f,g){if(typeof f!=="number")return i["outer"+b].call(this,f);return this.each(function(){c(this).css(h,
15
- d(this,f,true,g)+"px")})}});c.extend(c.expr[":"],{data:function(a,b,d){return!!c.data(a,d[3])},focusable:function(a){var b=a.nodeName.toLowerCase(),d=c.attr(a,"tabindex");if("area"===b){b=a.parentNode;d=b.name;if(!a.href||!d||b.nodeName.toLowerCase()!=="map")return false;a=c("img[usemap=#"+d+"]")[0];return!!a&&k(a)}return(/input|select|textarea|button|object/.test(b)?!a.disabled:"a"==b?a.href||!isNaN(d):!isNaN(d))&&k(a)},tabbable:function(a){var b=c.attr(a,"tabindex");return(isNaN(b)||b>=0)&&c(a).is(":focusable")}});
16
- c(function(){var a=document.body,b=a.appendChild(b=document.createElement("div"));c.extend(b.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});c.support.minHeight=b.offsetHeight===100;c.support.selectstart="onselectstart"in b;a.removeChild(b).style.display="none"});c.extend(c.ui,{plugin:{add:function(a,b,d){a=c.ui[a].prototype;for(var e in d){a.plugins[e]=a.plugins[e]||[];a.plugins[e].push([b,d[e]])}},call:function(a,b,d){if((b=a.plugins[b])&&a.element[0].parentNode)for(var e=0;e<b.length;e++)a.options[b[e][0]]&&
17
- b[e][1].apply(a.element,d)}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&16:a!==b&&a.contains(b)},hasScroll:function(a,b){if(c(a).css("overflow")==="hidden")return false;b=b&&b==="left"?"scrollLeft":"scrollTop";var d=false;if(a[b]>0)return true;a[b]=1;d=a[b]>0;a[b]=0;return d},isOverAxis:function(a,b,d){return a>b&&a<b+d},isOver:function(a,b,d,e,h,i){return c.ui.isOverAxis(a,d,h)&&c.ui.isOverAxis(b,e,i)}})}})(jQuery);
1
+ /*!
2
+ * jQuery UI 1.8.10
3
+ *
4
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
5
+ * Dual licensed under the MIT or GPL Version 2 licenses.
6
+ * http://jquery.org/license
7
+ *
8
+ * http://docs.jquery.com/UI
9
+ */
10
+ (function(c,j){function k(a){return!c(a).parents().andSelf().filter(function(){return c.curCSS(this,"visibility")==="hidden"||c.expr.filters.hidden(this)}).length}c.ui=c.ui||{};if(!c.ui.version){c.extend(c.ui,{version:"1.8.10",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,
11
+ NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});c.fn.extend({_focus:c.fn.focus,focus:function(a,b){return typeof a==="number"?this.each(function(){var d=this;setTimeout(function(){c(d).focus();b&&b.call(d)},a)}):this._focus.apply(this,arguments)},scrollParent:function(){var a;a=c.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(c.curCSS(this,
12
+ "position",1))&&/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!a.length?c(document):a},zIndex:function(a){if(a!==j)return this.css("zIndex",a);if(this.length){a=c(this[0]);for(var b;a.length&&a[0]!==document;){b=a.css("position");
13
+ if(b==="absolute"||b==="relative"||b==="fixed"){b=parseInt(a.css("zIndex"),10);if(!isNaN(b)&&b!==0)return b}a=a.parent()}}return 0},disableSelection:function(){return this.bind((c.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});c.each(["Width","Height"],function(a,b){function d(f,g,l,m){c.each(e,function(){g-=parseFloat(c.curCSS(f,"padding"+this,true))||0;if(l)g-=parseFloat(c.curCSS(f,
14
+ "border"+this+"Width",true))||0;if(m)g-=parseFloat(c.curCSS(f,"margin"+this,true))||0});return g}var e=b==="Width"?["Left","Right"]:["Top","Bottom"],h=b.toLowerCase(),i={innerWidth:c.fn.innerWidth,innerHeight:c.fn.innerHeight,outerWidth:c.fn.outerWidth,outerHeight:c.fn.outerHeight};c.fn["inner"+b]=function(f){if(f===j)return i["inner"+b].call(this);return this.each(function(){c(this).css(h,d(this,f)+"px")})};c.fn["outer"+b]=function(f,g){if(typeof f!=="number")return i["outer"+b].call(this,f);return this.each(function(){c(this).css(h,
15
+ d(this,f,true,g)+"px")})}});c.extend(c.expr[":"],{data:function(a,b,d){return!!c.data(a,d[3])},focusable:function(a){var b=a.nodeName.toLowerCase(),d=c.attr(a,"tabindex");if("area"===b){b=a.parentNode;d=b.name;if(!a.href||!d||b.nodeName.toLowerCase()!=="map")return false;a=c("img[usemap=#"+d+"]")[0];return!!a&&k(a)}return(/input|select|textarea|button|object/.test(b)?!a.disabled:"a"==b?a.href||!isNaN(d):!isNaN(d))&&k(a)},tabbable:function(a){var b=c.attr(a,"tabindex");return(isNaN(b)||b>=0)&&c(a).is(":focusable")}});
16
+ c(function(){var a=document.body,b=a.appendChild(b=document.createElement("div"));c.extend(b.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});c.support.minHeight=b.offsetHeight===100;c.support.selectstart="onselectstart"in b;a.removeChild(b).style.display="none"});c.extend(c.ui,{plugin:{add:function(a,b,d){a=c.ui[a].prototype;for(var e in d){a.plugins[e]=a.plugins[e]||[];a.plugins[e].push([b,d[e]])}},call:function(a,b,d){if((b=a.plugins[b])&&a.element[0].parentNode)for(var e=0;e<b.length;e++)a.options[b[e][0]]&&
17
+ b[e][1].apply(a.element,d)}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&16:a!==b&&a.contains(b)},hasScroll:function(a,b){if(c(a).css("overflow")==="hidden")return false;b=b&&b==="left"?"scrollLeft":"scrollTop";var d=false;if(a[b]>0)return true;a[b]=1;d=a[b]>0;a[b]=0;return d},isOverAxis:function(a,b,d){return a>b&&a<b+d},isOver:function(a,b,d,e,h,i){return c.ui.isOverAxis(a,d,h)&&c.ui.isOverAxis(b,e,i)}})}})(jQuery);
js/ui.mouse.js CHANGED
@@ -1,17 +1,17 @@
1
- /*!
2
- * jQuery UI Mouse 1.8.10
3
- *
4
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
5
- * Dual licensed under the MIT or GPL Version 2 licenses.
6
- * http://jquery.org/license
7
- *
8
- * http://docs.jquery.com/UI/Mouse
9
- *
10
- * Depends:
11
- * jquery.ui.widget.js
12
- */
13
- (function(c){c.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var a=this;this.element.bind("mousedown."+this.widgetName,function(b){return a._mouseDown(b)}).bind("click."+this.widgetName,function(b){if(true===c.data(b.target,a.widgetName+".preventClickEvent")){c.removeData(b.target,a.widgetName+".preventClickEvent");b.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(a){a.originalEvent=
14
- a.originalEvent||{};if(!a.originalEvent.mouseHandled){this._mouseStarted&&this._mouseUp(a);this._mouseDownEvent=a;var b=this,e=a.which==1,f=typeof this.options.cancel=="string"?c(a.target).parents().add(a.target).filter(this.options.cancel).length:false;if(!e||f||!this._mouseCapture(a))return true;this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)this._mouseDelayTimer=setTimeout(function(){b.mouseDelayMet=true},this.options.delay);if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a)){this._mouseStarted=
15
- this._mouseStart(a)!==false;if(!this._mouseStarted){a.preventDefault();return true}}this._mouseMoveDelegate=function(d){return b._mouseMove(d)};this._mouseUpDelegate=function(d){return b._mouseUp(d)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);a.preventDefault();return a.originalEvent.mouseHandled=true}},_mouseMove:function(a){if(c.browser.msie&&!(document.documentMode>=9)&&!a.button)return this._mouseUp(a);if(this._mouseStarted){this._mouseDrag(a);
16
- return a.preventDefault()}if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a))(this._mouseStarted=this._mouseStart(this._mouseDownEvent,a)!==false)?this._mouseDrag(a):this._mouseUp(a);return!this._mouseStarted},_mouseUp:function(a){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;a.target==this._mouseDownEvent.target&&c.data(a.target,this.widgetName+".preventClickEvent",
17
- true);this._mouseStop(a)}return false},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})})(jQuery);
1
+ /*!
2
+ * jQuery UI Mouse 1.8.10
3
+ *
4
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
5
+ * Dual licensed under the MIT or GPL Version 2 licenses.
6
+ * http://jquery.org/license
7
+ *
8
+ * http://docs.jquery.com/UI/Mouse
9
+ *
10
+ * Depends:
11
+ * jquery.ui.widget.js
12
+ */
13
+ (function(c){c.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var a=this;this.element.bind("mousedown."+this.widgetName,function(b){return a._mouseDown(b)}).bind("click."+this.widgetName,function(b){if(true===c.data(b.target,a.widgetName+".preventClickEvent")){c.removeData(b.target,a.widgetName+".preventClickEvent");b.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(a){a.originalEvent=
14
+ a.originalEvent||{};if(!a.originalEvent.mouseHandled){this._mouseStarted&&this._mouseUp(a);this._mouseDownEvent=a;var b=this,e=a.which==1,f=typeof this.options.cancel=="string"?c(a.target).parents().add(a.target).filter(this.options.cancel).length:false;if(!e||f||!this._mouseCapture(a))return true;this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)this._mouseDelayTimer=setTimeout(function(){b.mouseDelayMet=true},this.options.delay);if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a)){this._mouseStarted=
15
+ this._mouseStart(a)!==false;if(!this._mouseStarted){a.preventDefault();return true}}this._mouseMoveDelegate=function(d){return b._mouseMove(d)};this._mouseUpDelegate=function(d){return b._mouseUp(d)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);a.preventDefault();return a.originalEvent.mouseHandled=true}},_mouseMove:function(a){if(c.browser.msie&&!(document.documentMode>=9)&&!a.button)return this._mouseUp(a);if(this._mouseStarted){this._mouseDrag(a);
16
+ return a.preventDefault()}if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a))(this._mouseStarted=this._mouseStart(this._mouseDownEvent,a)!==false)?this._mouseDrag(a):this._mouseUp(a);return!this._mouseStarted},_mouseUp:function(a){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;a.target==this._mouseDownEvent.target&&c.data(a.target,this.widgetName+".preventClickEvent",
17
+ true);this._mouseStop(a)}return false},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})})(jQuery);
js/ui.slider.js CHANGED
@@ -1,33 +1,33 @@
1
- /*
2
- * jQuery UI Slider 1.8.10
3
- *
4
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
5
- * Dual licensed under the MIT or GPL Version 2 licenses.
6
- * http://jquery.org/license
7
- *
8
- * http://docs.jquery.com/UI/Slider
9
- *
10
- * Depends:
11
- * jquery.ui.core.js
12
- * jquery.ui.mouse.js
13
- * jquery.ui.widget.js
14
- */
15
- (function(d){d.widget("ui.slider",d.ui.mouse,{widgetEventPrefix:"slide",options:{animate:false,distance:0,max:100,min:0,orientation:"horizontal",range:false,step:1,value:0,values:null},_create:function(){var b=this,a=this.options;this._mouseSliding=this._keySliding=false;this._animateOff=true;this._handleIndex=null;this._detectOrientation();this._mouseInit();this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all");a.disabled&&this.element.addClass("ui-slider-disabled ui-disabled");
16
- this.range=d([]);if(a.range){if(a.range===true){this.range=d("<div></div>");if(!a.values)a.values=[this._valueMin(),this._valueMin()];if(a.values.length&&a.values.length!==2)a.values=[a.values[0],a.values[0]]}else this.range=d("<div></div>");this.range.appendTo(this.element).addClass("ui-slider-range");if(a.range==="min"||a.range==="max")this.range.addClass("ui-slider-range-"+a.range);this.range.addClass("ui-widget-header")}d(".ui-slider-handle",this.element).length===0&&d("<a href='#'></a>").appendTo(this.element).addClass("ui-slider-handle");
17
- if(a.values&&a.values.length)for(;d(".ui-slider-handle",this.element).length<a.values.length;)d("<a href='#'></a>").appendTo(this.element).addClass("ui-slider-handle");this.handles=d(".ui-slider-handle",this.element).addClass("ui-state-default ui-corner-all");this.handle=this.handles.eq(0);this.handles.add(this.range).filter("a").click(function(c){c.preventDefault()}).hover(function(){a.disabled||d(this).addClass("ui-state-hover")},function(){d(this).removeClass("ui-state-hover")}).focus(function(){if(a.disabled)d(this).blur();
18
- else{d(".ui-slider .ui-state-focus").removeClass("ui-state-focus");d(this).addClass("ui-state-focus")}}).blur(function(){d(this).removeClass("ui-state-focus")});this.handles.each(function(c){d(this).data("index.ui-slider-handle",c)});this.handles.keydown(function(c){var e=true,f=d(this).data("index.ui-slider-handle"),h,g,i;if(!b.options.disabled){switch(c.keyCode){case d.ui.keyCode.HOME:case d.ui.keyCode.END:case d.ui.keyCode.PAGE_UP:case d.ui.keyCode.PAGE_DOWN:case d.ui.keyCode.UP:case d.ui.keyCode.RIGHT:case d.ui.keyCode.DOWN:case d.ui.keyCode.LEFT:e=
19
- false;if(!b._keySliding){b._keySliding=true;d(this).addClass("ui-state-active");h=b._start(c,f);if(h===false)return}break}i=b.options.step;h=b.options.values&&b.options.values.length?(g=b.values(f)):(g=b.value());switch(c.keyCode){case d.ui.keyCode.HOME:g=b._valueMin();break;case d.ui.keyCode.END:g=b._valueMax();break;case d.ui.keyCode.PAGE_UP:g=b._trimAlignValue(h+(b._valueMax()-b._valueMin())/5);break;case d.ui.keyCode.PAGE_DOWN:g=b._trimAlignValue(h-(b._valueMax()-b._valueMin())/5);break;case d.ui.keyCode.UP:case d.ui.keyCode.RIGHT:if(h===
20
- b._valueMax())return;g=b._trimAlignValue(h+i);break;case d.ui.keyCode.DOWN:case d.ui.keyCode.LEFT:if(h===b._valueMin())return;g=b._trimAlignValue(h-i);break}b._slide(c,f,g);return e}}).keyup(function(c){var e=d(this).data("index.ui-slider-handle");if(b._keySliding){b._keySliding=false;b._stop(c,e);b._change(c,e);d(this).removeClass("ui-state-active")}});this._refreshValue();this._animateOff=false},destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider");
21
- this._mouseDestroy();return this},_mouseCapture:function(b){var a=this.options,c,e,f,h,g;if(a.disabled)return false;this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();c=this._normValueFromMouse({x:b.pageX,y:b.pageY});e=this._valueMax()-this._valueMin()+1;h=this;this.handles.each(function(i){var j=Math.abs(c-h.values(i));if(e>j){e=j;f=d(this);g=i}});if(a.range===true&&this.values(1)===a.min){g+=1;f=d(this.handles[g])}if(this._start(b,
22
- g)===false)return false;this._mouseSliding=true;h._handleIndex=g;f.addClass("ui-state-active").focus();a=f.offset();this._clickOffset=!d(b.target).parents().andSelf().is(".ui-slider-handle")?{left:0,top:0}:{left:b.pageX-a.left-f.width()/2,top:b.pageY-a.top-f.height()/2-(parseInt(f.css("borderTopWidth"),10)||0)-(parseInt(f.css("borderBottomWidth"),10)||0)+(parseInt(f.css("marginTop"),10)||0)};this.handles.hasClass("ui-state-hover")||this._slide(b,g,c);return this._animateOff=true},_mouseStart:function(){return true},
23
- _mouseDrag:function(b){var a=this._normValueFromMouse({x:b.pageX,y:b.pageY});this._slide(b,this._handleIndex,a);return false},_mouseStop:function(b){this.handles.removeClass("ui-state-active");this._mouseSliding=false;this._stop(b,this._handleIndex);this._change(b,this._handleIndex);this._clickOffset=this._handleIndex=null;return this._animateOff=false},_detectOrientation:function(){this.orientation=this.options.orientation==="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(b){var a;
24
- if(this.orientation==="horizontal"){a=this.elementSize.width;b=b.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{a=this.elementSize.height;b=b.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}a=b/a;if(a>1)a=1;if(a<0)a=0;if(this.orientation==="vertical")a=1-a;b=this._valueMax()-this._valueMin();return this._trimAlignValue(this._valueMin()+a*b)},_start:function(b,a){var c={handle:this.handles[a],value:this.value()};if(this.options.values&&this.options.values.length){c.value=
25
- this.values(a);c.values=this.values()}return this._trigger("start",b,c)},_slide:function(b,a,c){var e;if(this.options.values&&this.options.values.length){e=this.values(a?0:1);if(this.options.values.length===2&&this.options.range===true&&(a===0&&c>e||a===1&&c<e))c=e;if(c!==this.values(a)){e=this.values();e[a]=c;b=this._trigger("slide",b,{handle:this.handles[a],value:c,values:e});this.values(a?0:1);b!==false&&this.values(a,c,true)}}else if(c!==this.value()){b=this._trigger("slide",b,{handle:this.handles[a],
26
- value:c});b!==false&&this.value(c)}},_stop:function(b,a){var c={handle:this.handles[a],value:this.value()};if(this.options.values&&this.options.values.length){c.value=this.values(a);c.values=this.values()}this._trigger("stop",b,c)},_change:function(b,a){if(!this._keySliding&&!this._mouseSliding){var c={handle:this.handles[a],value:this.value()};if(this.options.values&&this.options.values.length){c.value=this.values(a);c.values=this.values()}this._trigger("change",b,c)}},value:function(b){if(arguments.length){this.options.value=
27
- this._trimAlignValue(b);this._refreshValue();this._change(null,0)}return this._value()},values:function(b,a){var c,e,f;if(arguments.length>1){this.options.values[b]=this._trimAlignValue(a);this._refreshValue();this._change(null,b)}if(arguments.length)if(d.isArray(arguments[0])){c=this.options.values;e=arguments[0];for(f=0;f<c.length;f+=1){c[f]=this._trimAlignValue(e[f]);this._change(null,f)}this._refreshValue()}else return this.options.values&&this.options.values.length?this._values(b):this.value();
28
- else return this._values()},_setOption:function(b,a){var c,e=0;if(d.isArray(this.options.values))e=this.options.values.length;d.Widget.prototype._setOption.apply(this,arguments);switch(b){case "disabled":if(a){this.handles.filter(".ui-state-focus").blur();this.handles.removeClass("ui-state-hover");this.handles.attr("disabled","disabled");this.element.addClass("ui-disabled")}else{this.handles.removeAttr("disabled");this.element.removeClass("ui-disabled")}break;case "orientation":this._detectOrientation();
29
- this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation);this._refreshValue();break;case "value":this._animateOff=true;this._refreshValue();this._change(null,0);this._animateOff=false;break;case "values":this._animateOff=true;this._refreshValue();for(c=0;c<e;c+=1)this._change(null,c);this._animateOff=false;break}},_value:function(){var b=this.options.value;return b=this._trimAlignValue(b)},_values:function(b){var a,c;if(arguments.length){a=this.options.values[b];
30
- return a=this._trimAlignValue(a)}else{a=this.options.values.slice();for(c=0;c<a.length;c+=1)a[c]=this._trimAlignValue(a[c]);return a}},_trimAlignValue:function(b){if(b<=this._valueMin())return this._valueMin();if(b>=this._valueMax())return this._valueMax();var a=this.options.step>0?this.options.step:1,c=(b-this._valueMin())%a;alignValue=b-c;if(Math.abs(c)*2>=a)alignValue+=c>0?a:-a;return parseFloat(alignValue.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},
31
- _refreshValue:function(){var b=this.options.range,a=this.options,c=this,e=!this._animateOff?a.animate:false,f,h={},g,i,j,l;if(this.options.values&&this.options.values.length)this.handles.each(function(k){f=(c.values(k)-c._valueMin())/(c._valueMax()-c._valueMin())*100;h[c.orientation==="horizontal"?"left":"bottom"]=f+"%";d(this).stop(1,1)[e?"animate":"css"](h,a.animate);if(c.options.range===true)if(c.orientation==="horizontal"){if(k===0)c.range.stop(1,1)[e?"animate":"css"]({left:f+"%"},a.animate);
32
- if(k===1)c.range[e?"animate":"css"]({width:f-g+"%"},{queue:false,duration:a.animate})}else{if(k===0)c.range.stop(1,1)[e?"animate":"css"]({bottom:f+"%"},a.animate);if(k===1)c.range[e?"animate":"css"]({height:f-g+"%"},{queue:false,duration:a.animate})}g=f});else{i=this.value();j=this._valueMin();l=this._valueMax();f=l!==j?(i-j)/(l-j)*100:0;h[c.orientation==="horizontal"?"left":"bottom"]=f+"%";this.handle.stop(1,1)[e?"animate":"css"](h,a.animate);if(b==="min"&&this.orientation==="horizontal")this.range.stop(1,
33
- 1)[e?"animate":"css"]({width:f+"%"},a.animate);if(b==="max"&&this.orientation==="horizontal")this.range[e?"animate":"css"]({width:100-f+"%"},{queue:false,duration:a.animate});if(b==="min"&&this.orientation==="vertical")this.range.stop(1,1)[e?"animate":"css"]({height:f+"%"},a.animate);if(b==="max"&&this.orientation==="vertical")this.range[e?"animate":"css"]({height:100-f+"%"},{queue:false,duration:a.animate})}}});d.extend(d.ui.slider,{version:"1.8.10"})})(jQuery);
1
+ /*
2
+ * jQuery UI Slider 1.8.10
3
+ *
4
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
5
+ * Dual licensed under the MIT or GPL Version 2 licenses.
6
+ * http://jquery.org/license
7
+ *
8
+ * http://docs.jquery.com/UI/Slider
9
+ *
10
+ * Depends:
11
+ * jquery.ui.core.js
12
+ * jquery.ui.mouse.js
13
+ * jquery.ui.widget.js
14
+ */
15
+ (function(d){d.widget("ui.slider",d.ui.mouse,{widgetEventPrefix:"slide",options:{animate:false,distance:0,max:100,min:0,orientation:"horizontal",range:false,step:1,value:0,values:null},_create:function(){var b=this,a=this.options;this._mouseSliding=this._keySliding=false;this._animateOff=true;this._handleIndex=null;this._detectOrientation();this._mouseInit();this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all");a.disabled&&this.element.addClass("ui-slider-disabled ui-disabled");
16
+ this.range=d([]);if(a.range){if(a.range===true){this.range=d("<div></div>");if(!a.values)a.values=[this._valueMin(),this._valueMin()];if(a.values.length&&a.values.length!==2)a.values=[a.values[0],a.values[0]]}else this.range=d("<div></div>");this.range.appendTo(this.element).addClass("ui-slider-range");if(a.range==="min"||a.range==="max")this.range.addClass("ui-slider-range-"+a.range);this.range.addClass("ui-widget-header")}d(".ui-slider-handle",this.element).length===0&&d("<a href='#'></a>").appendTo(this.element).addClass("ui-slider-handle");
17
+ if(a.values&&a.values.length)for(;d(".ui-slider-handle",this.element).length<a.values.length;)d("<a href='#'></a>").appendTo(this.element).addClass("ui-slider-handle");this.handles=d(".ui-slider-handle",this.element).addClass("ui-state-default ui-corner-all");this.handle=this.handles.eq(0);this.handles.add(this.range).filter("a").click(function(c){c.preventDefault()}).hover(function(){a.disabled||d(this).addClass("ui-state-hover")},function(){d(this).removeClass("ui-state-hover")}).focus(function(){if(a.disabled)d(this).blur();
18
+ else{d(".ui-slider .ui-state-focus").removeClass("ui-state-focus");d(this).addClass("ui-state-focus")}}).blur(function(){d(this).removeClass("ui-state-focus")});this.handles.each(function(c){d(this).data("index.ui-slider-handle",c)});this.handles.keydown(function(c){var e=true,f=d(this).data("index.ui-slider-handle"),h,g,i;if(!b.options.disabled){switch(c.keyCode){case d.ui.keyCode.HOME:case d.ui.keyCode.END:case d.ui.keyCode.PAGE_UP:case d.ui.keyCode.PAGE_DOWN:case d.ui.keyCode.UP:case d.ui.keyCode.RIGHT:case d.ui.keyCode.DOWN:case d.ui.keyCode.LEFT:e=
19
+ false;if(!b._keySliding){b._keySliding=true;d(this).addClass("ui-state-active");h=b._start(c,f);if(h===false)return}break}i=b.options.step;h=b.options.values&&b.options.values.length?(g=b.values(f)):(g=b.value());switch(c.keyCode){case d.ui.keyCode.HOME:g=b._valueMin();break;case d.ui.keyCode.END:g=b._valueMax();break;case d.ui.keyCode.PAGE_UP:g=b._trimAlignValue(h+(b._valueMax()-b._valueMin())/5);break;case d.ui.keyCode.PAGE_DOWN:g=b._trimAlignValue(h-(b._valueMax()-b._valueMin())/5);break;case d.ui.keyCode.UP:case d.ui.keyCode.RIGHT:if(h===
20
+ b._valueMax())return;g=b._trimAlignValue(h+i);break;case d.ui.keyCode.DOWN:case d.ui.keyCode.LEFT:if(h===b._valueMin())return;g=b._trimAlignValue(h-i);break}b._slide(c,f,g);return e}}).keyup(function(c){var e=d(this).data("index.ui-slider-handle");if(b._keySliding){b._keySliding=false;b._stop(c,e);b._change(c,e);d(this).removeClass("ui-state-active")}});this._refreshValue();this._animateOff=false},destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider");
21
+ this._mouseDestroy();return this},_mouseCapture:function(b){var a=this.options,c,e,f,h,g;if(a.disabled)return false;this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();c=this._normValueFromMouse({x:b.pageX,y:b.pageY});e=this._valueMax()-this._valueMin()+1;h=this;this.handles.each(function(i){var j=Math.abs(c-h.values(i));if(e>j){e=j;f=d(this);g=i}});if(a.range===true&&this.values(1)===a.min){g+=1;f=d(this.handles[g])}if(this._start(b,
22
+ g)===false)return false;this._mouseSliding=true;h._handleIndex=g;f.addClass("ui-state-active").focus();a=f.offset();this._clickOffset=!d(b.target).parents().andSelf().is(".ui-slider-handle")?{left:0,top:0}:{left:b.pageX-a.left-f.width()/2,top:b.pageY-a.top-f.height()/2-(parseInt(f.css("borderTopWidth"),10)||0)-(parseInt(f.css("borderBottomWidth"),10)||0)+(parseInt(f.css("marginTop"),10)||0)};this.handles.hasClass("ui-state-hover")||this._slide(b,g,c);return this._animateOff=true},_mouseStart:function(){return true},
23
+ _mouseDrag:function(b){var a=this._normValueFromMouse({x:b.pageX,y:b.pageY});this._slide(b,this._handleIndex,a);return false},_mouseStop:function(b){this.handles.removeClass("ui-state-active");this._mouseSliding=false;this._stop(b,this._handleIndex);this._change(b,this._handleIndex);this._clickOffset=this._handleIndex=null;return this._animateOff=false},_detectOrientation:function(){this.orientation=this.options.orientation==="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(b){var a;
24
+ if(this.orientation==="horizontal"){a=this.elementSize.width;b=b.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{a=this.elementSize.height;b=b.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}a=b/a;if(a>1)a=1;if(a<0)a=0;if(this.orientation==="vertical")a=1-a;b=this._valueMax()-this._valueMin();return this._trimAlignValue(this._valueMin()+a*b)},_start:function(b,a){var c={handle:this.handles[a],value:this.value()};if(this.options.values&&this.options.values.length){c.value=
25
+ this.values(a);c.values=this.values()}return this._trigger("start",b,c)},_slide:function(b,a,c){var e;if(this.options.values&&this.options.values.length){e=this.values(a?0:1);if(this.options.values.length===2&&this.options.range===true&&(a===0&&c>e||a===1&&c<e))c=e;if(c!==this.values(a)){e=this.values();e[a]=c;b=this._trigger("slide",b,{handle:this.handles[a],value:c,values:e});this.values(a?0:1);b!==false&&this.values(a,c,true)}}else if(c!==this.value()){b=this._trigger("slide",b,{handle:this.handles[a],
26
+ value:c});b!==false&&this.value(c)}},_stop:function(b,a){var c={handle:this.handles[a],value:this.value()};if(this.options.values&&this.options.values.length){c.value=this.values(a);c.values=this.values()}this._trigger("stop",b,c)},_change:function(b,a){if(!this._keySliding&&!this._mouseSliding){var c={handle:this.handles[a],value:this.value()};if(this.options.values&&this.options.values.length){c.value=this.values(a);c.values=this.values()}this._trigger("change",b,c)}},value:function(b){if(arguments.length){this.options.value=
27
+ this._trimAlignValue(b);this._refreshValue();this._change(null,0)}return this._value()},values:function(b,a){var c,e,f;if(arguments.length>1){this.options.values[b]=this._trimAlignValue(a);this._refreshValue();this._change(null,b)}if(arguments.length)if(d.isArray(arguments[0])){c=this.options.values;e=arguments[0];for(f=0;f<c.length;f+=1){c[f]=this._trimAlignValue(e[f]);this._change(null,f)}this._refreshValue()}else return this.options.values&&this.options.values.length?this._values(b):this.value();
28
+ else return this._values()},_setOption:function(b,a){var c,e=0;if(d.isArray(this.options.values))e=this.options.values.length;d.Widget.prototype._setOption.apply(this,arguments);switch(b){case "disabled":if(a){this.handles.filter(".ui-state-focus").blur();this.handles.removeClass("ui-state-hover");this.handles.attr("disabled","disabled");this.element.addClass("ui-disabled")}else{this.handles.removeAttr("disabled");this.element.removeClass("ui-disabled")}break;case "orientation":this._detectOrientation();
29
+ this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation);this._refreshValue();break;case "value":this._animateOff=true;this._refreshValue();this._change(null,0);this._animateOff=false;break;case "values":this._animateOff=true;this._refreshValue();for(c=0;c<e;c+=1)this._change(null,c);this._animateOff=false;break}},_value:function(){var b=this.options.value;return b=this._trimAlignValue(b)},_values:function(b){var a,c;if(arguments.length){a=this.options.values[b];
30
+ return a=this._trimAlignValue(a)}else{a=this.options.values.slice();for(c=0;c<a.length;c+=1)a[c]=this._trimAlignValue(a[c]);return a}},_trimAlignValue:function(b){if(b<=this._valueMin())return this._valueMin();if(b>=this._valueMax())return this._valueMax();var a=this.options.step>0?this.options.step:1,c=(b-this._valueMin())%a;alignValue=b-c;if(Math.abs(c)*2>=a)alignValue+=c>0?a:-a;return parseFloat(alignValue.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},
31
+ _refreshValue:function(){var b=this.options.range,a=this.options,c=this,e=!this._animateOff?a.animate:false,f,h={},g,i,j,l;if(this.options.values&&this.options.values.length)this.handles.each(function(k){f=(c.values(k)-c._valueMin())/(c._valueMax()-c._valueMin())*100;h[c.orientation==="horizontal"?"left":"bottom"]=f+"%";d(this).stop(1,1)[e?"animate":"css"](h,a.animate);if(c.options.range===true)if(c.orientation==="horizontal"){if(k===0)c.range.stop(1,1)[e?"animate":"css"]({left:f+"%"},a.animate);
32
+ if(k===1)c.range[e?"animate":"css"]({width:f-g+"%"},{queue:false,duration:a.animate})}else{if(k===0)c.range.stop(1,1)[e?"animate":"css"]({bottom:f+"%"},a.animate);if(k===1)c.range[e?"animate":"css"]({height:f-g+"%"},{queue:false,duration:a.animate})}g=f});else{i=this.value();j=this._valueMin();l=this._valueMax();f=l!==j?(i-j)/(l-j)*100:0;h[c.orientation==="horizontal"?"left":"bottom"]=f+"%";this.handle.stop(1,1)[e?"animate":"css"](h,a.animate);if(b==="min"&&this.orientation==="horizontal")this.range.stop(1,
33
+ 1)[e?"animate":"css"]({width:f+"%"},a.animate);if(b==="max"&&this.orientation==="horizontal")this.range[e?"animate":"css"]({width:100-f+"%"},{queue:false,duration:a.animate});if(b==="min"&&this.orientation==="vertical")this.range.stop(1,1)[e?"animate":"css"]({height:f+"%"},a.animate);if(b==="max"&&this.orientation==="vertical")this.range[e?"animate":"css"]({height:100-f+"%"},{queue:false,duration:a.animate})}}});d.extend(d.ui.slider,{version:"1.8.10"})})(jQuery);
js/ui.widget.js CHANGED
@@ -1,15 +1,15 @@
1
- /*!
2
- * jQuery UI Widget 1.8.10
3
- *
4
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
5
- * Dual licensed under the MIT or GPL Version 2 licenses.
6
- * http://jquery.org/license
7
- *
8
- * http://docs.jquery.com/UI/Widget
9
- */
10
- (function(b,j){if(b.cleanData){var k=b.cleanData;b.cleanData=function(a){for(var c=0,d;(d=a[c])!=null;c++)b(d).triggerHandler("remove");k(a)}}else{var l=b.fn.remove;b.fn.remove=function(a,c){return this.each(function(){if(!c)if(!a||b.filter(a,[this]).length)b("*",this).add([this]).each(function(){b(this).triggerHandler("remove")});return l.call(b(this),a,c)})}}b.widget=function(a,c,d){var e=a.split(".")[0],f;a=a.split(".")[1];f=e+"-"+a;if(!d){d=c;c=b.Widget}b.expr[":"][f]=function(h){return!!b.data(h,
11
- a)};b[e]=b[e]||{};b[e][a]=function(h,g){arguments.length&&this._createWidget(h,g)};c=new c;c.options=b.extend(true,{},c.options);b[e][a].prototype=b.extend(true,c,{namespace:e,widgetName:a,widgetEventPrefix:b[e][a].prototype.widgetEventPrefix||a,widgetBaseClass:f},d);b.widget.bridge(a,b[e][a])};b.widget.bridge=function(a,c){b.fn[a]=function(d){var e=typeof d==="string",f=Array.prototype.slice.call(arguments,1),h=this;d=!e&&f.length?b.extend.apply(null,[true,d].concat(f)):d;if(e&&d.charAt(0)==="_")return h;
12
- e?this.each(function(){var g=b.data(this,a),i=g&&b.isFunction(g[d])?g[d].apply(g,f):g;if(i!==g&&i!==j){h=i;return false}}):this.each(function(){var g=b.data(this,a);g?g.option(d||{})._init():b.data(this,a,new c(d,this))});return h}};b.Widget=function(a,c){arguments.length&&this._createWidget(a,c)};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(a,c){b.data(c,this.widgetName,this);this.element=b(c);this.options=b.extend(true,{},this.options,
13
- this._getCreateOptions(),a);var d=this;this.element.bind("remove."+this.widgetName,function(){d.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},
14
- widget:function(){return this.element},option:function(a,c){var d=a;if(arguments.length===0)return b.extend({},this.options);if(typeof a==="string"){if(c===j)return this.options[a];d={};d[a]=c}this._setOptions(d);return this},_setOptions:function(a){var c=this;b.each(a,function(d,e){c._setOption(d,e)});return this},_setOption:function(a,c){this.options[a]=c;if(a==="disabled")this.widget()[c?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",c);return this},
15
- enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(a,c,d){var e=this.options[a];c=b.Event(c);c.type=(a===this.widgetEventPrefix?a:this.widgetEventPrefix+a).toLowerCase();d=d||{};if(c.originalEvent){a=b.event.props.length;for(var f;a;){f=b.event.props[--a];c[f]=c.originalEvent[f]}}this.element.trigger(c,d);return!(b.isFunction(e)&&e.call(this.element[0],c,d)===false||c.isDefaultPrevented())}}})(jQuery);
1
+ /*!
2
+ * jQuery UI Widget 1.8.10
3
+ *
4
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
5
+ * Dual licensed under the MIT or GPL Version 2 licenses.
6
+ * http://jquery.org/license
7
+ *
8
+ * http://docs.jquery.com/UI/Widget
9
+ */
10
+ (function(b,j){if(b.cleanData){var k=b.cleanData;b.cleanData=function(a){for(var c=0,d;(d=a[c])!=null;c++)b(d).triggerHandler("remove");k(a)}}else{var l=b.fn.remove;b.fn.remove=function(a,c){return this.each(function(){if(!c)if(!a||b.filter(a,[this]).length)b("*",this).add([this]).each(function(){b(this).triggerHandler("remove")});return l.call(b(this),a,c)})}}b.widget=function(a,c,d){var e=a.split(".")[0],f;a=a.split(".")[1];f=e+"-"+a;if(!d){d=c;c=b.Widget}b.expr[":"][f]=function(h){return!!b.data(h,
11
+ a)};b[e]=b[e]||{};b[e][a]=function(h,g){arguments.length&&this._createWidget(h,g)};c=new c;c.options=b.extend(true,{},c.options);b[e][a].prototype=b.extend(true,c,{namespace:e,widgetName:a,widgetEventPrefix:b[e][a].prototype.widgetEventPrefix||a,widgetBaseClass:f},d);b.widget.bridge(a,b[e][a])};b.widget.bridge=function(a,c){b.fn[a]=function(d){var e=typeof d==="string",f=Array.prototype.slice.call(arguments,1),h=this;d=!e&&f.length?b.extend.apply(null,[true,d].concat(f)):d;if(e&&d.charAt(0)==="_")return h;
12
+ e?this.each(function(){var g=b.data(this,a),i=g&&b.isFunction(g[d])?g[d].apply(g,f):g;if(i!==g&&i!==j){h=i;return false}}):this.each(function(){var g=b.data(this,a);g?g.option(d||{})._init():b.data(this,a,new c(d,this))});return h}};b.Widget=function(a,c){arguments.length&&this._createWidget(a,c)};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(a,c){b.data(c,this.widgetName,this);this.element=b(c);this.options=b.extend(true,{},this.options,
13
+ this._getCreateOptions(),a);var d=this;this.element.bind("remove."+this.widgetName,function(){d.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},
14
+ widget:function(){return this.element},option:function(a,c){var d=a;if(arguments.length===0)return b.extend({},this.options);if(typeof a==="string"){if(c===j)return this.options[a];d={};d[a]=c}this._setOptions(d);return this},_setOptions:function(a){var c=this;b.each(a,function(d,e){c._setOption(d,e)});return this},_setOption:function(a,c){this.options[a]=c;if(a==="disabled")this.widget()[c?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",c);return this},
15
+ enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(a,c,d){var e=this.options[a];c=b.Event(c);c.type=(a===this.widgetEventPrefix?a:this.widgetEventPrefix+a).toLowerCase();d=d||{};if(c.originalEvent){a=b.event.props.length;for(var f;a;){f=b.event.props[--a];c[f]=c.originalEvent[f]}}this.element.trigger(c,d);return!(b.isFunction(e)&&e.call(this.element[0],c,d)===false||c.isDefaultPrevented())}}})(jQuery);
linebreaktest.txt ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ linebreak testing
3
+ linebreak testing
4
+ linebreak testing
5
+ linebreak testing
6
+ linebreak testing
7
+ linebreak testing
8
+ linebreak testing
9
+ linebreak testing
10
+ linebreak testing
11
+ linebreak testing
mp3j_admin.php CHANGED
@@ -1,688 +1,715 @@
1
- <?php
2
- function mp3j_print_admin_page() {
3
-
4
- global $mp3_fox;
5
- $O = $mp3_fox->getAdminOptions();
6
- $colours_array = array();
7
-
8
- $openTab = '0';
9
-
10
- if ( isset( $_POST['update_mp3foxSettings'] ) )
11
- {
12
-
13
- //prep/sanitize number values
14
- if (isset($_POST['mp3foxVol'])) {
15
- $O['initial_vol'] = preg_replace("/[^0-9]/", "", $_POST['mp3foxVol']);
16
- if ($O['initial_vol'] < 0 || $O['initial_vol']=="") { $O['initial_vol'] = "0"; }
17
- if ($O['initial_vol'] > 100) { $O['initial_vol'] = "100"; }
18
- }
19
- if (isset($_POST['mp3foxPopoutMaxHeight'])) {
20
- $O['popout_max_height'] = preg_replace("/[^0-9]/", "", $_POST['mp3foxPopoutMaxHeight']);
21
- if ( $O['popout_max_height'] == "" ) { $O['popout_max_height'] = "750"; }
22
- if ( $O['popout_max_height'] < 200 ) { $O['popout_max_height'] = "200"; }
23
- if ( $O['popout_max_height'] > 1200 ) { $O['popout_max_height'] = "1200"; }
24
- }
25
- if (isset($_POST['mp3foxPopoutWidth'])) {
26
- $O['popout_width'] = preg_replace("/[^0-9]/", "", $_POST['mp3foxPopoutWidth']);
27
- if ( $O['popout_width'] == "" ) { $O['popout_width'] = "400"; }
28
- if ( $O['popout_width'] < 250 ) { $O['popout_width'] = "250"; }
29
- if ( $O['popout_width'] > 1600 ) { $O['popout_width'] = "1600"; }
30
- }
31
- if (isset($_POST['mp3foxMaxListHeight'])) {
32
- $O['max_list_height'] = preg_replace("/[^0-9]/", "", $_POST['mp3foxMaxListHeight']);
33
- if ( $O['max_list_height'] < 0 ) { $O['max_list_height'] = ""; }
34
- }
35
-
36
- //prep/sanitize paths
37
- if (isset($_POST['mp3foxfolder'])) {
38
- $O['mp3_dir'] = $mp3_fox->prep_path( $_POST['mp3foxfolder'] );
39
- }
40
- if (isset($_POST['mp3foxCustomStylesheet'])) {
41
- $O['custom_stylesheet'] = $mp3_fox->prep_path( $_POST['mp3foxCustomStylesheet'] );
42
- }
43
- if (isset($_POST['mp3foxPopoutBGimage'])) {
44
- $O['popout_background_image'] = $mp3_fox->prep_path( $_POST['mp3foxPopoutBGimage'] );
45
- }
46
-
47
- $O['dloader_remote_path'] = ( isset($_POST['dloader_remote_path']) ) ? $mp3_fox->prep_value( $_POST['dloader_remote_path'] ) : "";
48
- $O['loggedout_dload_link'] = ( $_POST['loggedout_dload_link'] == "" ) ? "" : $mp3_fox->prep_value( $_POST['loggedout_dload_link'] ); //allow it to be empty
49
-
50
- //prep/sanitize options and checkboxes
51
- if (isset($_POST['mp3foxTheme'])) {
52
- $O['player_theme'] = $mp3_fox->prep_value( $_POST['mp3foxTheme'] );
53
- }
54
- if (isset($_POST['mp3foxFloat'])) {
55
- $O['player_float'] = $mp3_fox->prep_value( $_POST['mp3foxFloat'] );
56
- }
57
- if (isset($_POST['librarySortcol'])) {
58
- $O['library_sortcol'] = $mp3_fox->prep_value( $_POST['librarySortcol'] );
59
- }
60
- if (isset($_POST['libraryDirection'])) {
61
- $O['library_direction'] = $mp3_fox->prep_value( $_POST['libraryDirection'] );
62
- }
63
- if (isset($_POST['file_separator'])) {
64
- $O['f_separator'] = $mp3_fox->prep_value( $_POST['file_separator'] );
65
- }
66
- if (isset($_POST['caption_separator'])) {
67
- $O['c_separator'] = $mp3_fox->prep_value( $_POST['caption_separator'] );
68
- }
69
- if (isset($_POST['mp3foxDownloadMp3'])) {
70
- $O['show_downloadmp3'] = $mp3_fox->prep_value( $_POST['mp3foxDownloadMp3'] );
71
- }
72
-
73
- $O['disable_template_tag'] = ( isset($_POST['disableTemplateTag']) ) ? "true" : "false";
74
- $O['echo_debug'] = ( isset($_POST['mp3foxEchoDebug']) ) ? "true" : "false";
75
- $O['add_track_numbering'] = ( isset($_POST['mp3foxAddTrackNumbers']) ) ? "true" : "false";
76
- $O['enable_popout'] = ( isset($_POST['mp3foxEnablePopout']) ) ? "true" : "false";
77
- $O['playlist_repeat'] = ( isset($_POST['mp3foxPlaylistRepeat']) ) ? "true" : "false";
78
- $O['use_fixed_css'] = ( isset($_POST['mp3foxUseFixedCSS']) ) ? "true" : "false";
79
- $O['encode_files'] = ( isset($_POST['mp3foxEncodeFiles']) ) ? "true" : "false";
80
- $O['run_shcode_in_excerpt'] = ( isset($_POST['runShcodeInExcerpt']) ) ? "true" : "false";
81
- $O['volslider_on_singles'] = ( isset($_POST['volslider_onsingles']) ) ? "true" : "false";
82
- $O['volslider_on_mp3j'] = ( isset($_POST['volslider_onmp3j']) ) ? "true" : "false";
83
- $O['touch_punch_js'] = ( isset($_POST['touch_punch_js']) ) ? "true" : "false";
84
- $O['force_browser_dload'] = ( isset($_POST['force_browser_dload']) ) ? "true" : "false";
85
- $O['make_player_from_link'] = ( isset($_POST['make_player_from_link']) ) ? "true" : "false";
86
- $O['auto_play'] = ( isset($_POST['mp3foxAutoplay']) ) ? "true" : "false";
87
- $O['allow_remoteMp3'] = ( isset($_POST['mp3foxAllowRemote']) ) ? "true" : "false";
88
- $O['player_onblog'] = ( isset($_POST['mp3foxOnBlog']) ) ? "true" : "false";
89
- $O['playlist_show'] = ( isset($_POST['mp3foxShowPlaylist']) ) ? "true" : "false";
90
- $O['remember_settings'] = ( isset($_POST['mp3foxRemember']) ) ? "true" : "false";
91
- $O['hide_mp3extension'] = ( isset($_POST['mp3foxHideExtension']) ) ? "true" : "false";
92
-
93
- //prep/sanitize other values
94
- if (isset($_POST['mp3foxPlayerWidth'])) {
95
- $O['player_width'] = $mp3_fox->prep_value( $_POST['mp3foxPlayerWidth'] );
96
- }
97
- if (isset($_POST['disableJSlibs'])) {
98
- $O['disable_jquery_libs'] = ( preg_match("/^yes$/i", $_POST['disableJSlibs']) ) ? "yes" : "";
99
- }
100
-
101
- $O['paddings_top'] = ( $_POST['mp3foxPaddings_top'] == "" ) ? "0px" : $mp3_fox->prep_value( $_POST['mp3foxPaddings_top'] );
102
- $O['paddings_bottom'] = ( $_POST['mp3foxPaddings_bottom'] == "" ) ? "0px" : $mp3_fox->prep_value( $_POST['mp3foxPaddings_bottom'] );
103
- $O['paddings_inner'] = ( $_POST['mp3foxPaddings_inner'] == "" ) ? "0px" : $mp3_fox->prep_value( $_POST['mp3foxPaddings_inner'] );
104
-
105
- if ( isset($_POST['mp3foxPopoutBackground']) ) {
106
- $O['popout_background'] = $mp3_fox->prep_value( $_POST['mp3foxPopoutBackground'] );
107
- }
108
- if ( isset($_POST['mp3foxPluginVersion']) ) {
109
- $O['db_plugin_version'] = $mp3_fox->prep_value( $_POST['mp3foxPluginVersion'] );
110
- }
111
- if ( isset($_POST['MtogBox1']) ) {
112
- $O['admin_toggle_1'] = $mp3_fox->prep_value( $_POST['MtogBox1'] );
113
- }
114
-
115
- //prep/sanitize text
116
- $O['dload_text'] = ( $_POST['dload_text'] == "" ) ? "DOWNLOAD MP3" : $mp3_fox->prep_text( $_POST['dload_text'] );
117
- $O['loggedout_dload_text'] = ( $_POST['loggedout_dload_text'] == "" ) ? "" : $mp3_fox->prep_text( $_POST['loggedout_dload_text'] );
118
-
119
- if ( isset($_POST['mp3foxPopoutButtonText']) ) {
120
- $O['popout_button_title'] = $mp3_fox->prep_text( $_POST['mp3foxPopoutButtonText'] );
121
- }
122
- if ( isset($_POST['make_player_from_link_shcode']) ) {
123
- $O['make_player_from_link_shcode'] = $mp3_fox->prep_text( $_POST['make_player_from_link_shcode'] );
124
- }
125
-
126
- // Colours array//
127
- if (isset($_POST['mp3foxScreenColour'])) { $colours_array['screen_colour'] = $mp3_fox->prep_value( $_POST['mp3foxScreenColour'] ); }
128
- if (isset($_POST['mp3foxScreenOpac'])) { $colours_array['screen_opacity'] = $mp3_fox->prep_value( $_POST['mp3foxScreenOpac'] ); }
129
- if (isset($_POST['mp3foxLoadbarColour'])) { $colours_array['loadbar_colour'] = $mp3_fox->prep_value( $_POST['mp3foxLoadbarColour'] ); }
130
- if (isset($_POST['mp3foxLoadbarOpac'])) { $colours_array['loadbar_opacity'] = $mp3_fox->prep_value( $_POST['mp3foxLoadbarOpac'] ); }
131
- if (isset($_POST['mp3foxPosbarColour'])) { $colours_array['posbar_colour'] = $mp3_fox->prep_value( $_POST['mp3foxPosbarColour'] ); }
132
- if (isset($_POST['mp3foxPosbarTint'])) { $colours_array['posbar_tint'] = $mp3_fox->prep_value( $_POST['mp3foxPosbarTint'] ); }
133
- if (isset($_POST['mp3foxPosbarOpac'])) { $colours_array['posbar_opacity'] = $mp3_fox->prep_value( $_POST['mp3foxPosbarOpac'] ); }
134
- if (isset($_POST['mp3foxScreenTextColour'])) { $colours_array['screen_text_colour'] = $mp3_fox->prep_value( $_POST['mp3foxScreenTextColour'] ); }
135
- if (isset($_POST['mp3foxPlaylistColour'])) { $colours_array['playlist_colour'] = $mp3_fox->prep_value( $_POST['mp3foxPlaylistColour'] ); }
136
- if (isset($_POST['mp3foxPlaylistTint'])) { $colours_array['playlist_tint'] = $mp3_fox->prep_value( $_POST['mp3foxPlaylistTint'] ); }
137
- if (isset($_POST['mp3foxPlaylistOpac'])) { $colours_array['playlist_opacity'] = $mp3_fox->prep_value( $_POST['mp3foxPlaylistOpac'] ); }
138
- if (isset($_POST['mp3foxListTextColour'])) { $colours_array['list_text_colour'] = $mp3_fox->prep_value( $_POST['mp3foxListTextColour'] ); }
139
- if (isset($_POST['mp3foxListCurrentColour'])) { $colours_array['list_current_colour'] = $mp3_fox->prep_value( $_POST['mp3foxListCurrentColour'] ); }
140
- if (isset($_POST['mp3foxListHoverColour'])) { $colours_array['list_hover_colour'] = $mp3_fox->prep_value( $_POST['mp3foxListHoverColour'] ); }
141
- if (isset($_POST['mp3foxListBGaHover'])) { $colours_array['listBGa_hover'] = $mp3_fox->prep_value( $_POST['mp3foxListBGaHover'] ); }
142
- if (isset($_POST['mp3foxListBGaCurrent'])) { $colours_array['listBGa_current'] = $mp3_fox->prep_value( $_POST['mp3foxListBGaCurrent'] ); }
143
- if (isset($_POST['mp3foxVolGrad'])) { $colours_array['volume_grad'] = $mp3_fox->prep_value( $_POST['mp3foxVolGrad'] ); }
144
- if (isset($_POST['mp3foxListDivider'])) { $colours_array['list_divider'] = $mp3_fox->prep_value( $_POST['mp3foxListDivider'] ); }
145
- if (isset($_POST['mp3foxIndicator'])) { $colours_array['indicator'] = $mp3_fox->prep_value( $_POST['mp3foxIndicator'] ); }
146
- $O['colour_settings'] = $colours_array;
147
-
148
- update_option($mp3_fox->adminOptionsName, $O);
149
- $mp3_fox->theSettings = $O;
150
- ?>
151
-
152
- <!-- Settings saved message -->
153
- <div class="updated"><p><strong><?php _e("Settings Updated.", $mp3_fox->textdomain );?></strong></p></div>
154
-
155
- <?php
156
- }
157
- // Pick up current colours
158
- $current_colours = $O['colour_settings'];
159
- ?>
160
-
161
- <div class="wrap">
162
-
163
- <h2>&nbsp;</h2>
164
- <h1>MP3-jPlayer
165
- <span class="description" style="font-size:10px;"> &nbsp; Version <?php echo $mp3_fox->version_of_plugin; ?></span>
166
- <?php
167
- if ( $O['disable_jquery_libs'] == "yes" )
168
- {
169
- echo '&nbsp;<span style="font-size: 11px; font-weight:700; color:#f66;">(jQuery and UI scripts are turned off)</span>';
170
- }
171
- ?>
172
- </h1>
173
- <p>&nbsp;</p>
174
-
175
- <form method="post" action="<?php echo $_SERVER["REQUEST_URI"]; ?>">
176
-
177
-
178
-
179
-
180
- <div class="mp3j-tabbuttons-wrap">
181
- <div class="mp3j-tabbutton" id="mp3j_tabbutton_0">BASICS</div>
182
- <div class="mp3j-tabbutton" id="mp3j_tabbutton_1">STYLE</div>
183
- <div class="mp3j-tabbutton" id="mp3j_tabbutton_2">FILES</div>
184
- <div class="mp3j-tabbutton" id="mp3j_tabbutton_3">PLAYERS</div>
185
- <div class="mp3j-tabbutton" id="mp3j_tabbutton_4">POPOUT</div>
186
- <div class="mp3j-tabbutton" id="mp3j_tabbutton_5">TEMPLATE</div>
187
- <br class="clearB" />
188
- </div>
189
- <div class="mp3j-tabs-wrap">
190
-
191
-
192
- <!-- BASICS TAB .......................... -->
193
- <div class="mp3j-tab" id="mp3j_tab_0">
194
- <div class="tab-header"><span class="description">&nbsp;</span></div>
195
-
196
- <p>Initial volume &nbsp; <input type="text" style="text-align:center;" size="2" name="mp3foxVol" value="<?php echo $O['initial_vol']; ?>" /> &nbsp; <span class="description">(0 - 100)</span></p>
197
- <br />
198
- <p><input type="checkbox" name="mp3foxAutoplay" value="true" <?php if ($O['auto_play'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Autoplay</p>
199
- <p><input type="checkbox" name="mp3foxPlaylistRepeat" value="true" <?php if ($O['playlist_repeat'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Loop</p>
200
- <p><input type="checkbox" name="mp3foxAddTrackNumbers" value="true" <?php if ($O['add_track_numbering'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Number the tracks</p>
201
-
202
- <br />
203
- <p><input type="checkbox" name="make_player_from_link" value="true" <?php if ($O['make_player_from_link'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> />
204
- &nbsp; Turn mp3 links into players</p>
205
- <p style="margin-left:45px;"><span class="description">(Use the 'Add media' button on the edit screen to add links, or you can manually add/write links into the page. Links will be turned into players using the shortcode specified under 'Template Options' below.)</span></p>
206
-
207
-
208
- <br />
209
- <p><input type="checkbox" name="mp3foxOnBlog" value="true" <?php if ($O['player_onblog'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Show players in posts on index, archive, and search pages &nbsp;<span class="description">(doesn't affect widgets)</span></p>
210
- <p><input type="checkbox" name="runShcodeInExcerpt" value="true" <?php if ($O['run_shcode_in_excerpt'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Allow shortcodes in post excerpts &nbsp;<span class="description">(this works for manually written post excerpts only)</span></p>
211
- <br />
212
-
213
- </div><!-- CLOSE BASICS TAB -->
214
-
215
-
216
- <!-- FILES TAB .......................... -->
217
- <div class="mp3j-tab" id="mp3j_tab_2">
218
-
219
- <div class="tab-header"><span class="description">&nbsp;</span></div>
220
-
221
- <!-- MP3s -->
222
- <h3>Media Library</h3>
223
- <?php
224
- // create library file list //
225
- $library = $mp3_fox->grab_library_info();
226
- $L_count = ( $library ) ? $library['count'] : "0";
227
- echo "<p class=\"description\" style=\"margin:0 0 2px 35px;\">Library contains <strong>" . $L_count . "</strong> mp3";
228
- if ( $library['count'] != 1 ) { echo "'s&nbsp;"; }
229
- else { echo "&nbsp;"; }
230
-
231
- if ( $L_count > 0 ) {
232
- //echo "<a href=\"javascript:mp3jp_listtoggle('fox_library','files');\" id=\"fox_library-toggle\">Show files</a> | <a href=\"media-new.php\">Upload new</a>";
233
- echo "<a href=\"javascript:MP3J_ADMIN.showhideit('fox_library','files');\" id=\"fox_library-toggle\">Show files</a> | <a href=\"media-new.php\">Upload new</a>";
234
- echo "</p>";
235
- echo "<div id=\"fox_library-list\">\n";
236
- $liblist = '<p style="margin-left:0px;">';
237
- $br = '<br />';
238
- $tagclose = '</p>';
239
- $n = 1;
240
- foreach ( $library['filenames'] as $i => $file ) {
241
- //$liblist .= "<a href=\"media.php?attachment_id=" . $library['postIDs'][$i] . "&amp;action=edit\" style=\"font-size:11px;\">[Edit]</a>&nbsp;&nbsp;<span style=\"color:#aaa;font-size:11px;\">" . $n++ . "&nbsp;</span> " . $file . "&nbsp;&nbsp;<span style=\"color:#aaa;font-size:11px;\">\"" . $library['titles'][$i] . "\"&nbsp;&nbsp;" . $library['excerpts'][$i] . "</span>" . $br;
242
- switch( $O['library_sortcol'] ) {
243
- case "title":
244
- $liblist .= "<a href=\"media.php?attachment_id=" . $library['postIDs'][$i] . "&amp;action=edit\" style=\"font-size:11px;\">[Edit]</a>&nbsp;&nbsp;<span style=\"color:#aaa;font-size:11px;\">" . $n++ . "&nbsp;&nbsp;\"" . $library['titles'][$i] . "\"&nbsp;&nbsp;" . $library['excerpts'][$i] . "</span>&nbsp;&nbsp;" . $file . $br;
245
- break;
246
- case "caption":
247
- $liblist .= "<a href=\"media.php?attachment_id=" . $library['postIDs'][$i] . "&amp;action=edit\" style=\"font-size:11px;\">[Edit]</a>&nbsp;&nbsp;<span style=\"color:#aaa;font-size:11px;\">" . $n++ . "&nbsp;&nbsp;" . $library['excerpts'][$i] . "&nbsp;&nbsp;\"" . $library['titles'][$i] . "\"</span>&nbsp;&nbsp;" . $file . $br;
248
- break;
249
- default:
250
- $liblist .= "<a href=\"media.php?attachment_id=" . $library['postIDs'][$i] . "&amp;action=edit\" style=\"font-size:11px;\">[Edit]</a>&nbsp;&nbsp;<span style=\"color:#aaa;font-size:11px;\">" . $n++ . "</span>&nbsp;&nbsp;" . $file . "&nbsp;&nbsp;<span style=\"color:#aaa;font-size:11px;\">\"" . $library['titles'][$i] . "\"&nbsp;&nbsp;" . $library['excerpts'][$i] . "</span>" . $br;
251
- }
252
- }
253
- $liblist .= $tagclose;
254
- echo $liblist;
255
- echo '</div>';
256
- }
257
- else { echo "<a href=\"media-new.php\">Upload new</a></p>"; }
258
- ?>
259
-
260
- <p class="description" style="margin:0 0 0 33px;">You just need to write filenames in playlists to play from the library.</p>
261
- <p style="margin:12px 0 12px 34px;">Order playlists by:&nbsp;
262
- <select name="librarySortcol" style="width:110px; font-size:11px;">
263
- <option value="file" <?php if ( 'file' == $O['library_sortcol'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Filename</option>
264
- <option value="date" <?php if ( 'date' == $O['library_sortcol'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Date Uploaded</option>
265
- <option value="caption" <?php if ( 'caption' == $O['library_sortcol'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Caption, Title</option>
266
- <option value="title" <?php if ( 'title' == $O['library_sortcol'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Title</option>
267
- </select>
268
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Direction:&nbsp;
269
- <select name="libraryDirection" style="width:60px; font-size:11px;">
270
- <option value="ASC" <?php if ( 'ASC' == $O['library_direction'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>ASC</option>
271
- <option value="DESC" <?php if ( 'DESC' == $O['library_direction'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>DESC</option>
272
- </select>
273
- </p><br />
274
-
275
- <!-- Folder -->
276
- <h3>Folder or URI</h3>
277
- <p class="description" style="margin:0 0 0 35px;">Set a default folder or uri for playing mp3's in the box below, eg. <code>/music</code> or <code>www.anothersite.com/music</code><br />You just need to write filenames in playlists to play from here.</p>
278
- <p style="margin:10px 0px 5px 35px;">Default path: &nbsp; <input type="text" style="width:385px;" name="mp3foxfolder" value="<?php echo $O['mp3_dir']; ?>" /></p>
279
-
280
- <?php
281
- // create file-list if directory is local
282
- $n = 1;
283
- $folderuris = $mp3_fox->grab_local_folder_mp3s( $O['mp3_dir'] );
284
- if ( is_array($folderuris) ){
285
- foreach ( $folderuris as $i => $uri ) {
286
- $files[$i] = strrchr( $uri, "/" );
287
- $files[$i] = str_replace( "/", "", $files[$i] );
288
- }
289
- $c = (!empty($files)) ? count($files) : 0;
290
- echo "<p class=\"description\" style=\"margin: 0px 0px 14px 117px;\">This folder contains <strong>" . $c . "</strong> mp3";
291
- if ( $c != 1 ) { echo "'s&nbsp;"; }
292
- else { echo "&nbsp;"; }
293
- if ( $c > 0 ) {
294
- //echo "<a href=\"javascript:mp3jp_listtoggle('fox_folder','files');\" id=\"fox_folder-toggle\">Show files</a></p>";
295
- echo "<a href=\"javascript:MP3J_ADMIN.showhideit('fox_folder','files');\" id=\"fox_folder-toggle\">Show files</a></p>";
296
- //echo "<div id=\"fox_folder-list\" style=\"display:none;\">\n<p style=\"margin-left:0px;\">";
297
- echo "<div id=\"fox_folder-list\">\n<p style=\"margin-left:0px;\">";
298
-
299
- //natcasesort($files);
300
-
301
- foreach ( $files as $i => $val ) {
302
- echo "<span style=\"color:#aaa;font-size:11px;\">" . $n++ . "</span>&nbsp;&nbsp;" . $val . "<br />";
303
- }
304
- echo "</p>\n</div>\n";
305
- }
306
- else { echo "</p>"; }
307
- }
308
- elseif ( $folderuris == true )
309
- echo "<p class=\"description\" style=\"margin: 0px 0px 14px 117px;\">Unable to read or locate the folder <code>" . $O['mp3_dir'] . "</code> check the path and folder permissions</p>";
310
- else
311
- echo "<p class=\"description\" style=\"margin: 0px 0px 14px 117px;\">No info is available on remote folders but you can play from here if you know the filenames</p>";
312
- ?>
313
-
314
- <br />
315
-
316
- <p><input type="checkbox" name="mp3foxHideExtension" value="true" <?php if ($O['hide_mp3extension'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Hide '.mp3' extension if a filename is displayed<br /><span class="description" style="margin-left:28px;">(filenames are displayed when there's no available titles)</span></p>
317
- <p><input type="checkbox" name="mp3foxEncodeFiles" value="true" <?php if ($O['encode_files'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Encode URI's and filenames<br /><span class="description" style="margin-left:28px;">(provides some obfuscation of your urls in the page source)</span></p>
318
- <p><input type="checkbox" name="mp3foxAllowRemote" value="true" <?php if ($O['allow_remoteMp3'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Allow playing of off-site mp3's<br /><span class="description" style="margin-left:28px;">(unchecking this option doesn't affect mp3's playing from a remote default folder if one is set above)</span></p>
319
-
320
-
321
- </div><!-- CLOSE FILES TAB -->
322
-
323
-
324
- <!-- PLAYERS TAB .......................... -->
325
- <div class="mp3j-tab" id="mp3j_tab_3">
326
-
327
- <div class="tab-header"><span class="description">Single player options</span></div>
328
- <p><input type="checkbox" name="volslider_onsingles" value="true" <?php if ($O['volslider_on_singles'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Volume sliders on [mp3<strong>t</strong>] players</p>
329
- <p><input type="checkbox" name="volslider_onmp3j" value="true" <?php if ($O['volslider_on_mp3j'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Volume sliders on [mp3<strong>j</strong>] players</p>
330
- <br /><br />
331
-
332
- <div class="tab-header"><span class="description">Playlist player options</span></div>
333
- <p>Width: &nbsp; <input type="text" style="width:75px;" name="mp3foxPlayerWidth" value="<?php echo $O['player_width']; ?>" /> &nbsp; <span class="description">pixels (px) or percent (%)</span></p>
334
- <p>Align: &nbsp;&nbsp;
335
- <select name="mp3foxFloat" style="width:94px; font-size:11px; line-height:16px;">
336
- <option value="none" <?php if ( 'none' == $O['player_float'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Left</option>
337
- <option value="rel-C" <?php if ( 'rel-C' == $O['player_float'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Centre</option>
338
- <option value="rel-R" <?php if ( 'rel-R' == $O['player_float'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Right</option>
339
- <option value="left" <?php if ( 'left' == $O['player_float'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Float left</option>
340
- <option value="right" <?php if ( 'right' == $O['player_float'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Float right</option>
341
- </select></p>
342
- <br /><br />
343
-
344
- <!-- <p><input type="checkbox" name="mp3foxDownloadMp3" value="true" <?php //if ($O['show_downloadmp3'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Display a 'Download mp3' link</p> -->
345
- <h3 style="margin-left:0;"><strong>Downloads</strong></h3>
346
- <p style="margin-bottom:10px;">Show download link:
347
- <select name="mp3foxDownloadMp3" style="width:120px; font-size:11px; line-height:16px;">
348
- <option value="true" <?php if ( 'true' == $O['show_downloadmp3'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Yes</option>
349
- <option value="false" <?php if ( 'false' == $O['show_downloadmp3'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>No</option>
350
- <option value="loggedin" <?php if ( 'loggedin' == $O['show_downloadmp3'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>To logged in users</option>
351
- </select>
352
- &nbsp;&nbsp;
353
- </p>
354
-
355
- <p class="description" style="margin:0 0 5px 30px;">When setting a player for logged in downloads, use the following options to add text/link for logged out visitors:</p>
356
- <p style="margin-left:30px;">Visitor text: &nbsp; <input type="text" style="width:145px;" name="loggedout_dload_text" value="<?php echo $O['loggedout_dload_text']; ?>" /> &nbsp;<span class="description">(leave blank for no text/link)</span></p>
357
- <p style="margin-left:30px;">Visitor link: &nbsp; <input type="text" style="width:350px;" name="loggedout_dload_link" value="<?php echo $O['loggedout_dload_link']; ?>" /> &nbsp;<span class="description">(optional url for visitor text)</span></p>
358
-
359
- <br />
360
- <!--<span class="description">(can be set per-player via shortcodes)</span>-->
361
-
362
- <p>Download link text: <input type="text" style="width:140px;" name="dload_text" value="<?php echo $O['dload_text']; ?>" /></p>
363
-
364
- <p style="margin-top:15px;"><input type="checkbox" name="force_browser_dload" value="true" <?php if ($O['force_browser_dload'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp;
365
- Try to force browsers to save downloads <span class="description">(no mobile support yet)</span>
366
- <!--&nbsp; Local files
367
- <input type="radio" name="force_browser_dload_remote" value="false" <?php //if ($O['force_browser_dload_remote'] == "false") { echo 'checked="checked"'; } ?> />
368
- &nbsp; | &nbsp;
369
- <input type="radio" name="force_browser_dload_remote" value="true" <?php //if ($O['force_browser_dload_remote'] == "true") { echo 'checked="checked"'; } ?>/>
370
- All files -->
371
- </p>
372
-
373
- <p style="margin:10px 0 0 30px;"><span class="description">If you play from other domains and want to force the download, then use
374
- the field<br />below to specify a path to a downloader file. <a href="<?php echo $mp3_fox->PluginFolder; ?>/remote/help.txt">See help on setting this up</a>.</span></p>
375
-
376
- <p style="margin:5px 0 0 30px;">Path to remote downloader files: <input type="text" style="width:240px;" name="dloader_remote_path" value="<?php echo $O['dloader_remote_path']; ?>" /></p>
377
-
378
- <!--<p style="margin:5px 0 0 25px;"><span class="description">(if you select 'All files' then you'll need to place a downloader file on any remote servers you want to force downloads from.
379
- There's a file included in the plugin for use on servers running php, see <a href="<?php //echo $mp3_fox->PluginFolder; ?>/remote/help.txt">remote setup help</a> for instructions)</span></p>-->
380
-
381
-
382
- <br /><br />
383
- <h3 style="margin-left:0;"><strong>Margins</strong></h3>
384
- <p>Above players: &nbsp; <input type="text" size="5" style="text-align:center;" name="mp3foxPaddings_top" value="<?php echo $O['paddings_top']; ?>" /> <span class="description">&nbsp; pixels (px) or percent (%)</span><br />
385
- Inner margin: (floated players) &nbsp; <input type="text" size="5" style="text-align:center;" name="mp3foxPaddings_inner" value="<?php echo $O['paddings_inner']; ?>" /> <span class="description">&nbsp; pixels (px) or percent (%)</span><br />
386
- Below players: &nbsp; <input type="text" size="5" style="text-align:center;" name="mp3foxPaddings_bottom" value="<?php echo $O['paddings_bottom']; ?>" /> <span class="description">&nbsp; pixels (px) or percent (%)</span></p>
387
-
388
-
389
- <br /><br />
390
- <h3 style="margin-left:0;"><strong>Playlists</strong></h3>
391
- <p>Max playlist height: &nbsp; <input type="text" size="6" style="text-align:center;" name="mp3foxMaxListHeight" value="<?php echo $O['max_list_height']; ?>" /> px &nbsp; <span class="description">(a scroll bar will show for longer playlists, leave it blank for no limit)</span></p>
392
- <p><input type="checkbox" name="mp3foxShowPlaylist" value="true" <?php if ($O['playlist_show'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Start with playlists showing</p>
393
-
394
- <div style="margin: 10px 0px 10px 0px; padding:6px; background:#f9f9f9; border:1px solid #eee;">
395
- <p>Playlist Separators <span class="description">- CAUTION: You'll need to manually update any existing playlists if you change the separators!</p>
396
- <p style="margin-left:20px;">Files: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
397
- <select name="file_separator" style="width:120px; font-size:11px; line-height:16px;">
398
- <option value="," <?php if ( ',' == $O['f_separator'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>, (comma)</option>
399
- <option value=";" <?php if ( ';' == $O['f_separator'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>; (semicolon)</option>
400
- <option value="###" <?php if ( '###' == $O['f_separator'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>### (3 hashes)</option>
401
- </select>
402
- &nbsp;&nbsp;<span class="description">eg.</span> <code>tracks="fileA.mp3 <?php echo $O['f_separator']; ?> Title@fileB.mp3 <?php echo $O['f_separator']; ?> fileC.mp3"</code></p>
403
-
404
- <p style="margin-left:20px;">Captions: &nbsp;&nbsp;
405
- <select name="caption_separator" style="width:120px; font-size:11px; line-height:16px;">
406
- <option value="," <?php if ( ',' == $O['c_separator'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>, (comma)</option>
407
- <option value=";" <?php if ( ';' == $O['c_separator'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>; (semicolon)</option>
408
- <option value="###" <?php if ( '###' == $O['c_separator'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>### (3 hashes)</option>
409
- </select>
410
- &nbsp;&nbsp;<span class="description">eg.</span> <code>captions="Caption A <?php echo $O['c_separator']; ?> Caption B <?php echo $O['c_separator']; ?> Caption C"</code></p>
411
- </div>
412
-
413
- </div><!-- CLOSE PLAYERS TAB -->
414
-
415
-
416
- <!-- POPOUT TAB .......................... -->
417
- <div class="mp3j-tab" id="mp3j_tab_4">
418
- <div class="tab-header"><span class="description">&nbsp;</span></div>
419
-
420
- <p><input type="checkbox" name="mp3foxEnablePopout" value="true" <?php if ($O['enable_popout'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Enable the pop-out player</p>
421
- <p>Window width: &nbsp; <input type="text" size="4" style="text-align:center;" name="mp3foxPopoutWidth" value="<?php echo $O['popout_width']; ?>" /> px <span class="description">&nbsp; (250 - 1600)</span></p>
422
- <p>Window max height: &nbsp; <input type="text" size="4" style="text-align:center;" name="mp3foxPopoutMaxHeight" value="<?php echo $O['popout_max_height']; ?>" /> px <span class="description">&nbsp; (200 - 1200) &nbsp; a scroll bar will show for longer playlists</span></p>
423
- <p>Launch button text: &nbsp; <input type="text" style="width:200px;" name="mp3foxPopoutButtonText" value="<?php echo $O['popout_button_title']; ?>" /></p>
424
-
425
- </div><!-- CLOSE POPOUT TAB -->
426
-
427
-
428
- <!-- TEMPLATE TAB .......................... -->
429
- <div class="mp3j-tab" id="mp3j_tab_5">
430
- <div class="tab-header"><span class="description">&nbsp;</span></div>
431
-
432
- <?php $greyout_text = ( $O['disable_jquery_libs'] == "yes" ) ? ' style="color:#d6d6d6;"' : ''; ?>
433
-
434
- <p style="margin:10px 0 10px 0px;">Shortcode for 'Turn mp3 links into players' option:</p>
435
-
436
- <p style="margin:0px 0 20px 25px;"><textarea class="widefat" style="width:580px; height:100px;" name="make_player_from_link_shcode"><?php
437
- $deslashed = str_replace('\"', '"', $O['make_player_from_link_shcode'] );
438
- echo $deslashed;
439
- ?></textarea><br /><span class="description">Can also include text/html. Placeholders:</span> <code>{TEXT}</code> <span class="description">- Link text,</span> <code>{URL}</code> <span class="description">- Link url.</span></p>
440
-
441
-
442
- <p<?php echo $greyout_text; ?>><input type="checkbox" name="touch_punch_js" value="true" <?php if ($O['touch_punch_js'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp;Include additional js for touch screen support<br />&nbsp; &nbsp; &nbsp; &nbsp;<span class="description"<?php echo $greyout_text; ?>>(adds jquery.ui.touch-punch.js script)</span></p>
443
- <p><input type="checkbox" name="mp3foxUseFixedCSS" value="true" <?php if ($O['use_fixed_css'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp;Bypass colour settings<br />&nbsp; &nbsp; &nbsp; &nbsp;<span class="description">(colours can still be set in css)</span></p>
444
- <p><input type="checkbox" name="disableTemplateTag" value="true" <?php if ($O['disable_template_tag'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp;Bypass player template-tags in theme files<br />&nbsp; &nbsp; &nbsp; &nbsp;<span class="description">(ignores mp3j_addscripts() and mp3j_put() template functions)</span></p>
445
-
446
-
447
-
448
- <p><input type="checkbox" name="mp3foxEchoDebug" value="true" <?php if ($O['echo_debug'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp;Turn on debug<br />&nbsp; &nbsp; &nbsp; &nbsp;<span class="description">(info appears in the source view near the bottom)</span></p>
449
- <?php $bgc = ( $O['disable_jquery_libs'] == "yes" ) ? "#fdd" : "#f9f9f9"; ?>
450
- <div style="margin: 20px 0px 10px 0px; padding:6px; background:<?php echo $bgc; ?>; border:1px solid #eee;">
451
- <p style="margin:0 0 5px 18px;">Disable jQuery and jQuery-UI javascript libraries? &nbsp; <input type="text" style="width:60px;" name="disableJSlibs" value="<?php echo $O['disable_jquery_libs']; ?>" /></p>
452
- <p style="margin: 0 0 8px 18px;"><span class="description"><strong>CAUTION!!</strong> This option will bypass the request <strong>from this plugin only</strong> for both jQuery <strong>and</strong> jQuery-UI scripts,
453
- you <strong>MUST</strong> be providing these scripts from an alternative source.
454
- <br />Type <code>yes</code> in the box and save settings to bypass jQuery and jQuery-UI.</span></p>
455
- </div>
456
-
457
- </div><!-- CLOSE TEMPLATE TAB -->
458
-
459
-
460
- <!-- COLOURS TAB .......................... -->
461
- <div class="mp3j-tab" id="mp3j_tab_1">
462
- <div class="tab-header"><span class="description">&nbsp;</span></div>
463
-
464
- <?php
465
- $greyout_field = ( $O['player_theme'] != "styleI" ) ? "background:#fcfcfc; color:#d6d6d6; border-color:#f0f0f0;" : "background:#fff; color:#000; border-color:#dfdfdf;";
466
- $greyout_text = ( $O['player_theme'] != "styleI" ) ? "color:#d6d6d6;" : "color:#444;";
467
- ?>
468
- <!-- COLOUR / STYLE -->
469
- <div style="height:35px"><p style="width:55px; margin:0 0 0 0px; line-height:32px;">Players:</p></div>
470
- <p style="margin:-35px 0px 0px 55px; line-height:32px;"><select name="mp3foxTheme" id="player-select" style="width:94px; font-size:11px; line-height:19px;">
471
- <option value="styleF" <?php if ( 'styleF' == $O['player_theme'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Silver</option>
472
- <option value="styleG" <?php if ( 'styleG' == $O['player_theme'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Dark</option>
473
- <option value="styleH" <?php if ( 'styleH' == $O['player_theme'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Text</option>
474
- <option value="styleI" <?php if ( 'styleI' == $O['player_theme'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Custom</option>
475
- </select>&nbsp;
476
- <span id="player-csssheet" style=" <?php echo $greyout_text; ?>"> &nbsp;uri:</span><input type="text" id="mp3fcss" style="width:480px; <?php echo $greyout_field; ?>" name="mp3foxCustomStylesheet" value="<?php echo $O['custom_stylesheet']; ?>" /></p>
477
-
478
- <br /><br />
479
- <div style="position:relative; width:579px; height:20px; padding-top:2px; border-top:1px solid #eee; border-bottom:1px solid #eee; background:#f9f9f9;">
480
- <div style="float:left; width:90px; margin-left:9px;"><p class="description" style="margin:0px;"><strong>AREA</strong></p></div>
481
- <div style="float:left; width:390px;"><p class="description" style="margin:0px;">&nbsp;Opacity&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;Colour</p></div>
482
- </div>
483
-
484
- <div style="position:relative; width:579px; padding-top:6px;">
485
- <div style="float:left; width:90px; margin-left:9px; border:0px solid #aaa;"><p style="margin:0px;line-height:32px;">Screen:<br />Loading bar:<br />Position bar:<br />Playlist:</p></div>
486
- <div style="float:left; width:390px; border:0px solid #aaa;">
487
- <p style="margin:0px;line-height:32px;">
488
- <input type="text" size="4" name="mp3foxScreenOpac" value="<?php echo $current_colours['screen_opacity']; ?>" />
489
- &nbsp;&nbsp;<input type="text" id="opA" onkeyup="udfcol('opA','blA');" size="10" name="mp3foxScreenColour" value="<?php echo $current_colours['screen_colour']; ?>" />
490
- <span class="addcol" onclick="putfcolour('opA','blA');">&nbsp;+&nbsp;</span>
491
- <span class="bl" onclick="sendfcolour('opA');" id="blA" style="background:<?php echo $current_colours['screen_colour']; ?>;">&nbsp;&nbsp;</span>
492
- <br />
493
- <input type="text" size="4" name="mp3foxLoadbarOpac" value="<?php echo $current_colours['loadbar_opacity']; ?>" />
494
- &nbsp;&nbsp;<input type="text" id="opB" onkeyup="udfcol('opB','blB');" size="10" name="mp3foxLoadbarColour" value="<?php echo $current_colours['loadbar_colour']; ?>" />
495
- <span class="addcol" onclick="putfcolour('opB','blB');">&nbsp;+&nbsp;</span>
496
- <span class="bl" onclick="sendfcolour('opB');" id="blB" style="background:<?php echo $current_colours['loadbar_colour']; ?>;">&nbsp;&nbsp;</span>
497
- <br />
498
- <input type="text" size="4" name="mp3foxPosbarOpac" value="<?php echo $current_colours['posbar_opacity']; ?>" />
499
- &nbsp;&nbsp;<input type="text" id="opC" onkeyup="udfcol('opC','blC');" size="10" name="mp3foxPosbarColour" value="<?php echo $current_colours['posbar_colour']; ?>" />
500
- <span class="addcol" onclick="putfcolour('opC','blC');">&nbsp;+&nbsp;</span>
501
- <span class="bl" onclick="sendfcolour('opC');" id="blC" style="background:<?php echo $current_colours['posbar_colour']; ?>;">&nbsp;&nbsp;</span>
502
- &nbsp; &nbsp;<select name="mp3foxPosbarTint" style="width:115px; font-size:11px;">
503
- <option value="" <?php if ( '' == $current_colours['posbar_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>(default)</option>
504
- <option value="soften" <?php if ( 'soften' == $current_colours['posbar_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Light grad</option>
505
- <option value="softenT" <?php if ( 'softenT' == $current_colours['posbar_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Tip</option>
506
- <option value="darken" <?php if ( 'darken' == $current_colours['posbar_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Dark grad</option>
507
- <option value="none" <?php if ( 'none' == $current_colours['posbar_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>None</option>
508
- </select>
509
- <br />
510
- <input type="text" size="4" name="mp3foxPlaylistOpac" value="<?php echo $current_colours['playlist_opacity']; ?>" />
511
- &nbsp;&nbsp;<input type="text" id="opD" onkeyup="udfcol('opD','blD');" size="10" name="mp3foxPlaylistColour" value="<?php echo $current_colours['playlist_colour']; ?>" />
512
- <span class="addcol" onclick="putfcolour('opD','blD');">&nbsp;+&nbsp;</span>
513
- <span class="bl" onclick="sendfcolour('opD');" id="blD" style="background:<?php echo $current_colours['playlist_colour']; ?>;">&nbsp;&nbsp;</span>
514
- &nbsp; &nbsp;<select name="mp3foxPlaylistTint" style="width:115px; font-size:11px;">
515
- <option value="" <?php if ( '' == $current_colours['playlist_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>(default)</option>
516
- <option value="lighten2" <?php if ( 'lighten2' == $current_colours['playlist_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Light grad</option>
517
- <option value="lighten1" <?php if ( 'lighten1' == $current_colours['playlist_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Soft grad</option>
518
- <option value="darken1" <?php if ( 'darken1' == $current_colours['playlist_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Dark grad</option>
519
- <option value="darken2" <?php if ( 'darken2' == $current_colours['playlist_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Darker grad</option>
520
- <option value="none" <?php if ( 'none' == $current_colours['playlist_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>None</option>
521
- </select>
522
- </p>
523
- </div>
524
- <br clear="all" />
525
- </div>
526
-
527
- <div id="pickerwrap">
528
- <div id="plugHEX"></div>
529
- <div id="plugCUR"></div>
530
- <div id="plugin" onmousedown="HSVslide('drag','plugin',event); return false;"><div id="SV" onmousedown="HSVslide('SVslide','plugin',event)"><div id="SVslide" style="top:-4px; left:-4px;"><br /></div></div><div id="H" onmousedown="HSVslide('Hslide','plugin',event)"><div id="Hslide" style="top:-7px; left:-8px;"><br /></div><div id="Hmodel"></div></div></div>
531
- </div>
532
-
533
- <div style="position:relative;width:175px; height:150px; margin:-200px 0px 28px 405px; padding:50px 0px 0px 0px; border:0px solid #666;">
534
- <p style="margin:0px 0px 8px 0px; text-align:right;">Indicator:&nbsp;
535
- <select name="mp3foxIndicator" style="width:80px; font-size:11px;">
536
- <option value="" <?php if ( '' == $current_colours['indicator'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>(default)</option>
537
- <option value="tint" <?php if ( 'tint' == $current_colours['indicator'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Greyscale</option>
538
- <option value="colour" <?php if ( 'colour' == $current_colours['indicator'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Colour</option>
539
- </select></p>
540
- <p style="margin:0px 0px 8px 0px; text-align:right;">Volume bar:&nbsp;
541
- <select name="mp3foxVolGrad" style="width:80px; font-size:11px;">
542
- <option value="" <?php if ( '' == $current_colours['volume_grad'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>(default)</option>
543
- <option value="light" <?php if ( 'light' == $current_colours['volume_grad'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Light</option>
544
- <option value="dark" <?php if ( 'dark' == $current_colours['volume_grad'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Dark</option>
545
- </select></p>
546
- <p style="margin:0px 0px 0px 0px; text-align:right;">Dividers:&nbsp;
547
- <select name="mp3foxListDivider" style="width:80px; font-size:11px;">
548
- <option value="" <?php if ( '' == $current_colours['list_divider'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>(default)</option>
549
- <option value="light" <?php if ( 'light' == $current_colours['list_divider'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Light</option>
550
- <option value="med" <?php if ( 'med' == $current_colours['list_divider'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Medium</option>
551
- <option value="dark" <?php if ( 'dark' == $current_colours['list_divider'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Dark</option>
552
- <option value="none" <?php if ( 'none' == $current_colours['list_divider'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>None</option>
553
- </select></p>
554
- </div>
555
-
556
- <div style="position:relative; width:579px; height:20px; padding-top:2px; border-top:1px solid #eee; border-bottom:1px solid #eee; background:#f9f9f9;">
557
- <div style="float:left; width:90px; margin-left:9px;"><p class="description" style="margin:0px;"><strong>TEXT</strong></p></div>
558
- <div style="float:left; width:430px;"><p class="description" style="margin:0px;">Colour</p></div>
559
- <br clear="all" />
560
- </div>
561
-
562
- <div style="position:relative; width:579px; padding-top:6px;">
563
- <div style="float:left; width:65px; margin-left:9px; border:0px solid #aaa;"><p style="margin:0px;line-height:32px;">Screen:<br />Playlist:<br />Selected:<br />Hover:</p></div>
564
- <div style="float:left; width:460px; border:0px solid #aaa;">
565
- <p style="margin:0px;line-height:32px;">
566
- <input type="text" id="opE" onkeyup="udfcol('opE','blE');" size="10" name="mp3foxScreenTextColour" value="<?php echo $current_colours['screen_text_colour']; ?>" />
567
- <span class="addcol" onclick="putfcolour('opE','blE');">&nbsp;+&nbsp;</span>
568
- <span class="bl" onclick="sendfcolour('opE');" id="blE" style="background:<?php echo $current_colours['screen_text_colour']; ?>;">&nbsp;&nbsp;</span>
569
- <br />
570
- <input type="text" id="opF" onkeyup="udfcol('opF','blF');" size="10" name="mp3foxListTextColour" value="<?php echo $current_colours['list_text_colour']; ?>" />
571
- <span class="addcol" onclick="putfcolour('opF','blF');">&nbsp;+&nbsp;</span>
572
- <span class="bl" onclick="sendfcolour('opF');" id="blF" style="background:<?php echo $current_colours['list_text_colour']; ?>;">&nbsp;&nbsp;</span>
573
- <br />
574
- <input type="text" id="opG" onkeyup="udfcol('opG','blG');" size="10" name="mp3foxListCurrentColour" value="<?php echo $current_colours['list_current_colour']; ?>" />
575
- <span class="addcol" onclick="putfcolour('opG','blG');">&nbsp;+&nbsp;</span>
576
- <span class="bl" onclick="sendfcolour('opG');" id="blG" style="background:<?php echo $current_colours['list_current_colour']; ?>;">&nbsp;&nbsp;</span>
577
- &nbsp; &nbsp; Background: <input type="text" id="opH" onkeyup="udfcol('opH','blH');" size="10" name="mp3foxListBGaCurrent" value="<?php echo $current_colours['listBGa_current']; ?>" />
578
- <span class="addcol" onclick="putfcolour('opH','blH');">&nbsp;+&nbsp;</span>
579
- <span class="bl" onclick="sendfcolour('opH');" id="blH" style="background:<?php echo $current_colours['listBGa_current']; ?>;">&nbsp;&nbsp;</span>
580
- <br />
581
- <input type="text" id="opI" onkeyup="udfcol('opI','blI');" size="10" name="mp3foxListHoverColour" value="<?php echo $current_colours['list_hover_colour']; ?>" />
582
- <span class="addcol" onclick="putfcolour('opI','blI');">&nbsp;+&nbsp;</span>
583
- <span class="bl" onclick="sendfcolour('opI');" id="blI" style="background:<?php echo $current_colours['list_hover_colour']; ?>;">&nbsp;&nbsp;</span>
584
- &nbsp; &nbsp; Background: <input type="text" id="opJ" onkeyup="udfcol('opJ','blJ');" size="10" name="mp3foxListBGaHover" value="<?php echo $current_colours['listBGa_hover']; ?>" />
585
- <span class="addcol" onclick="putfcolour('opJ','blJ');">&nbsp;+&nbsp;</span>
586
- <span class="bl" onclick="sendfcolour('opJ');" id="blJ" style="background:<?php echo $current_colours['listBGa_hover']; ?>;">&nbsp;&nbsp;</span>
587
- </p>
588
- </div>
589
- <br clear="all" />
590
- </div>
591
-
592
- <div style="position:relative; width:579px; height:20px; margin-top:30px; padding-top:2px; border-top:1px solid #eee; border-bottom:1px solid #eee; background:#f9f9f9;">
593
- <div style="float:left; width:90px; margin-left:9px;"><p class="description" style="margin:0px;"><strong>POP-OUT</strong></p></div>
594
- <div style="float:left; width:430px;"><p class="description" style="margin:0px;">Background</p></div>
595
- <br clear="all" />
596
- </div>
597
-
598
- <div style="width:579px; padding-top:6px;">
599
- <div style="float:left; width:65px; margin-left:9px; border:0px solid #aaa;"><p style="margin:0px;line-height:32px;">Colour:<br />Image:</p></div>
600
- <div style="float:left; width:460px; border:0px solid #aaa;">
601
- <p style="margin:0px;line-height:32px;">
602
- <input type="text" id="opK" onkeyup="udfcol('opK','blK');" size="10" name="mp3foxPopoutBackground" value="<?php echo $O['popout_background']; ?>" />
603
- <span class="addcol" onclick="putfcolour('opK','blK');">&nbsp;+&nbsp;</span>
604
- <span class="bl" onclick="sendfcolour('opK');" id="blK" style="background:<?php echo $O['popout_background']; ?>;">&nbsp;&nbsp;</span></p>
605
- <p style="margin:4px 0px 0px 0px;line-height:32px;">
606
- <input type="text" style="width:503px;" name="mp3foxPopoutBGimage" value="<?php echo $O['popout_background_image']; ?>" /></p>
607
- </div>
608
- <br clear="all" />
609
- </div>
610
- <p class="description" style="margin-top: 30px; margin-bottom: 0px;">&nbsp;&nbsp;(Opacity values from 0 to 100, leave any fields blank to use the default setting)</p>
611
-
612
-
613
-
614
- </div><!-- CLOSE COLOURS TAB -->
615
-
616
-
617
- </div>
618
-
619
-
620
-
621
-
622
-
623
-
624
- <br /><br />
625
- <p style="margin-top: 4px;"><input type="submit" name="update_mp3foxSettings" class="button-primary" value="<?php _e('Update Settings', $mp3_fox->textdomain ) ?>" /> &nbsp; Remember settings if plugin is deactivated &nbsp;<input type="checkbox" name="mp3foxRemember" value="true" <?php if ($O['remember_settings'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /></p>
626
- <input id="fox_styling" type="hidden" name="MtogBox1" value="<?php echo $O['admin_toggle_1']; // Colour settings toggle state ?>" />
627
- <input type="hidden" name="mp3foxPluginVersion" value="<?php echo $mp3_fox->version_of_plugin; ?>" />
628
-
629
- </form>
630
- <br />
631
-
632
- <div style="margin: 15px 120px 25px 0px; border-top: 1px solid #999; height: 30px;"><p class="description" style="margin: 0px 120px px 0px;"><a href="http://sjward.org/jplayer-for-wordpress">Plugin home page</a></p></div>
633
- </div>
634
-
635
-
636
-
637
- <!-- Tabs JS -->
638
- <script type="text/javascript">
639
- var MP3jP = {
640
-
641
- openTab: <?php echo $openTab; ?>,
642
-
643
- add_tab_listener: function ( j ) {
644
- var that = this;
645
- jQuery('#mp3j_tabbutton_' + j).click( function (e) {
646
- that.changeTab( j );
647
- });
648
- },
649
-
650
- changeTab: function ( j ) {
651
- if ( j !== this.openTab ) {
652
- jQuery('#mp3j_tab_' + this.openTab).hide();
653
- jQuery('#mp3j_tabbutton_' + this.openTab).removeClass('active-tab');
654
- jQuery('#mp3j_tab_' + j).show();
655
- jQuery('#mp3j_tabbutton_' + j).addClass('active-tab');
656
- this.openTab = j;
657
- }
658
- },
659
-
660
- init: function () {
661
- var that = this;
662
- jQuery( '.mp3j-tabbutton').each( function ( j ) {
663
- that.add_tab_listener( j );
664
- if ( j !== that.openTab ) {
665
- jQuery('#mp3j_tab_' + j ).hide();
666
- }
667
- });
668
- jQuery('#mp3j_tabbutton_' + this.openTab ).addClass('active-tab');
669
- }
670
- };
671
- </script>
672
-
673
- <!-- On load -->
674
- <script>
675
- jQuery(document).ready( function () {
676
- MP3jP.init();
677
- });
678
- </script>
679
-
680
-
681
-
682
-
683
-
684
-
685
-
686
- <?php
687
- }
1
+ <?php
2
+ function mp3j_print_admin_page() {
3
+
4
+ global $mp3_fox;
5
+ $theOptions = $mp3_fox->getAdminOptions();
6
+ $colours_array = array();
7
+
8
+ if (isset($_POST['update_mp3foxSettings']))
9
+ {
10
+ if (isset($_POST['mp3foxVol'])) {
11
+ $theOptions['initial_vol'] = preg_replace("/[^0-9]/", "", $_POST['mp3foxVol']);
12
+ if ($theOptions['initial_vol'] < 0 || $theOptions['initial_vol']=="") { $theOptions['initial_vol'] = "0"; }
13
+ if ($theOptions['initial_vol'] > 100) { $theOptions['initial_vol'] = "100"; }
14
+ }
15
+ if (isset($_POST['mp3foxPopoutMaxHeight'])) {
16
+ $theOptions['popout_max_height'] = preg_replace("/[^0-9]/", "", $_POST['mp3foxPopoutMaxHeight']);
17
+ if ( $theOptions['popout_max_height'] == "" ) { $theOptions['popout_max_height'] = "750"; }
18
+ if ( $theOptions['popout_max_height'] < 200 ) { $theOptions['popout_max_height'] = "200"; }
19
+ if ( $theOptions['popout_max_height'] > 1200 ) { $theOptions['popout_max_height'] = "1200"; }
20
+ }
21
+ if (isset($_POST['mp3foxPopoutWidth'])) {
22
+ $theOptions['popout_width'] = preg_replace("/[^0-9]/", "", $_POST['mp3foxPopoutWidth']);
23
+ if ( $theOptions['popout_width'] == "" ) { $theOptions['popout_width'] = "400"; }
24
+ if ( $theOptions['popout_width'] < 250 ) { $theOptions['popout_width'] = "250"; }
25
+ if ( $theOptions['popout_width'] > 1600 ) { $theOptions['popout_width'] = "1600"; }
26
+ }
27
+ if (isset($_POST['mp3foxMaxListHeight'])) {
28
+ $theOptions['max_list_height'] = preg_replace("/[^0-9]/", "", $_POST['mp3foxMaxListHeight']);
29
+ if ( $theOptions['max_list_height'] < 0 ) { $theOptions['max_list_height'] = ""; }
30
+ }
31
+
32
+ if (isset($_POST['mp3foxfolder'])) { $theOptions['mp3_dir'] = $mp3_fox->prep_path( $_POST['mp3foxfolder'] ); }
33
+ if (isset($_POST['mp3foxCustomStylesheet'])) { $theOptions['custom_stylesheet'] = $mp3_fox->prep_path( $_POST['mp3foxCustomStylesheet'] ); }
34
+ if (isset($_POST['mp3foxTheme'])) { $theOptions['player_theme'] = $_POST['mp3foxTheme']; }
35
+ if (isset($_POST['mp3foxFloat'])) { $theOptions['player_float'] = $_POST['mp3foxFloat']; }
36
+ if (isset($_POST['mp3foxPlayerWidth'])) { $theOptions['player_width'] = $_POST['mp3foxPlayerWidth']; }
37
+ if (isset($_POST['mp3foxPopoutBackground'])) { $theOptions['popout_background'] = $_POST['mp3foxPopoutBackground']; }
38
+ if (isset($_POST['mp3foxPopoutBGimage'])) { $theOptions['popout_background_image'] = $_POST['mp3foxPopoutBGimage']; }
39
+ if (isset($_POST['mp3foxPluginVersion'])) { $theOptions['db_plugin_version'] = $_POST['mp3foxPluginVersion']; }
40
+ if (isset($_POST['mp3foxPopoutButtonText'])) { $theOptions['popout_button_title'] = $_POST['mp3foxPopoutButtonText']; }
41
+ if (isset($_POST['librarySortcol'])) { $theOptions['library_sortcol'] = $_POST['librarySortcol']; }
42
+ if (isset($_POST['libraryDirection'])) { $theOptions['library_direction'] = $_POST['libraryDirection']; }
43
+ if (isset($_POST['disableJSlibs'])) { $theOptions['disable_jquery_libs'] = ( preg_match("/^yes$/i", $_POST['disableJSlibs']) ) ? "yes" : ""; }
44
+ if (isset($_POST['MtogBox1'])) { $theOptions['admin_toggle_1'] = $_POST['MtogBox1']; }
45
+ if (isset($_POST['file_separator'])) { $theOptions['f_separator'] = $_POST['file_separator']; }
46
+ if (isset($_POST['caption_separator'])) { $theOptions['c_separator'] = $_POST['caption_separator']; }
47
+
48
+
49
+ $theOptions['paddings_top'] = ( $_POST['mp3foxPaddings_top'] == "" ) ? "0px" : $_POST['mp3foxPaddings_top'];
50
+ $theOptions['paddings_bottom'] = ( $_POST['mp3foxPaddings_bottom'] == "" ) ? "0px" : $_POST['mp3foxPaddings_bottom'];
51
+ $theOptions['paddings_inner'] = ( $_POST['mp3foxPaddings_inner'] == "" ) ? "0px" : $_POST['mp3foxPaddings_inner'];
52
+ $theOptions['auto_play'] = (isset($_POST['mp3foxAutoplay'])) ? $_POST['mp3foxAutoplay'] : "false";
53
+ $theOptions['allow_remoteMp3'] = (isset($_POST['mp3foxAllowRemote'])) ? $_POST['mp3foxAllowRemote'] : "false";
54
+ //$theOptions['playlist_AtoZ'] = (isset($_POST['mp3foxAtoZ'])) ? $_POST['mp3foxAtoZ'] : "false";
55
+ $theOptions['player_onblog'] = (isset($_POST['mp3foxOnBlog'])) ? $_POST['mp3foxOnBlog'] : "false";
56
+ //$theOptions['playlist_UseLibrary'] = (isset($_POST['mp3foxUseLibrary'])) ? $_POST['mp3foxUseLibrary'] : "false";
57
+ $theOptions['playlist_show'] = (isset($_POST['mp3foxShowPlaylist'])) ? $_POST['mp3foxShowPlaylist'] : "false";
58
+ $theOptions['remember_settings'] = (isset($_POST['mp3foxRemember'])) ? $_POST['mp3foxRemember'] : "false";
59
+ $theOptions['hide_mp3extension'] = (isset($_POST['mp3foxHideExtension'])) ? $_POST['mp3foxHideExtension'] : "false";
60
+
61
+
62
+ //$theOptions['show_downloadmp3'] = (isset($_POST['mp3foxDownloadMp3'])) ? $_POST['mp3foxDownloadMp3'] : "false";
63
+ if (isset($_POST['mp3foxDownloadMp3'])) { $theOptions['show_downloadmp3'] = $_POST['mp3foxDownloadMp3']; }
64
+ $theOptions['dload_text'] = ( $_POST['dload_text'] == "" ) ? "DOWNLOAD MP3" : $_POST['dload_text'];
65
+
66
+ //$theOptions['loggedout_dload_text'] = ( $_POST['loggedout_dload_text'] == "" ) ? "LOG IN TO DOWNLOAD!" : $_POST['loggedout_dload_text'];
67
+ $theOptions['loggedout_dload_text'] = ( $_POST['loggedout_dload_text'] == "" ) ? "" : $_POST['loggedout_dload_text'];
68
+ $theOptions['loggedout_dload_link'] = ( $_POST['loggedout_dload_link'] == "" ) ? "" : $_POST['loggedout_dload_link']; //allow it to be empty
69
+
70
+ $theOptions['disable_template_tag'] = (isset($_POST['disableTemplateTag'])) ? $_POST['disableTemplateTag'] : "false";
71
+ $theOptions['echo_debug'] = (isset($_POST['mp3foxEchoDebug'])) ? $_POST['mp3foxEchoDebug'] : "false";
72
+ $theOptions['add_track_numbering'] = (isset($_POST['mp3foxAddTrackNumbers'])) ? $_POST['mp3foxAddTrackNumbers'] : "false";
73
+ $theOptions['enable_popout'] = (isset($_POST['mp3foxEnablePopout'])) ? $_POST['mp3foxEnablePopout'] : "false";
74
+ $theOptions['playlist_repeat'] = (isset($_POST['mp3foxPlaylistRepeat'])) ? $_POST['mp3foxPlaylistRepeat'] : "false";
75
+ $theOptions['use_fixed_css'] = (isset($_POST['mp3foxUseFixedCSS'])) ? $_POST['mp3foxUseFixedCSS'] : "false";
76
+ $theOptions['encode_files'] = (isset($_POST['mp3foxEncodeFiles'])) ? $_POST['mp3foxEncodeFiles'] : "false";
77
+ $theOptions['animate_sliders'] = (isset($_POST['mp3foxAnimSliders'])) ? $_POST['mp3foxAnimSliders'] : "false";
78
+ $theOptions['run_shcode_in_excerpt'] = (isset($_POST['runShcodeInExcerpt'])) ? $_POST['runShcodeInExcerpt'] : "false";
79
+ $theOptions['volslider_on_singles'] = (isset($_POST['volslider_onsingles'])) ? $_POST['volslider_onsingles'] : "false";
80
+ $theOptions['volslider_on_mp3j'] = (isset($_POST['volslider_onmp3j'])) ? $_POST['volslider_onmp3j'] : "false";
81
+ $theOptions['touch_punch_js'] = (isset($_POST['touch_punch_js'])) ? $_POST['touch_punch_js'] : "false";
82
+
83
+ $theOptions['force_browser_dload'] = (isset($_POST['force_browser_dload'])) ? $_POST['force_browser_dload'] : "false";
84
+ $theOptions['make_player_from_link'] = (isset($_POST['make_player_from_link'])) ? $_POST['make_player_from_link'] : "false";
85
+ if (isset($_POST['make_player_from_link_shcode'])) { $theOptions['make_player_from_link_shcode'] = $_POST['make_player_from_link_shcode']; }
86
+
87
+ //if (isset($_POST['force_browser_dload_remote'])) { $theOptions['force_browser_dload_remote'] = $_POST['force_browser_dload_remote']; }
88
+
89
+ $theOptions['dloader_remote_path'] = (isset($_POST['dloader_remote_path'])) ? $_POST['dloader_remote_path'] : "";
90
+
91
+ // Colours array//
92
+ if (isset($_POST['mp3foxScreenColour'])) { $colours_array['screen_colour'] = $_POST['mp3foxScreenColour']; }
93
+ if (isset($_POST['mp3foxScreenOpac'])) { $colours_array['screen_opacity'] = $_POST['mp3foxScreenOpac']; }
94
+ if (isset($_POST['mp3foxLoadbarColour'])) { $colours_array['loadbar_colour'] = $_POST['mp3foxLoadbarColour']; }
95
+ if (isset($_POST['mp3foxLoadbarOpac'])) { $colours_array['loadbar_opacity'] = $_POST['mp3foxLoadbarOpac']; }
96
+ if (isset($_POST['mp3foxPosbarColour'])) { $colours_array['posbar_colour'] = $_POST['mp3foxPosbarColour']; }
97
+ if (isset($_POST['mp3foxPosbarTint'])) { $colours_array['posbar_tint'] = $_POST['mp3foxPosbarTint']; }
98
+ if (isset($_POST['mp3foxPosbarOpac'])) { $colours_array['posbar_opacity'] = $_POST['mp3foxPosbarOpac']; }
99
+ if (isset($_POST['mp3foxScreenTextColour'])) { $colours_array['screen_text_colour'] = $_POST['mp3foxScreenTextColour']; }
100
+ if (isset($_POST['mp3foxPlaylistColour'])) { $colours_array['playlist_colour'] = $_POST['mp3foxPlaylistColour']; }
101
+ if (isset($_POST['mp3foxPlaylistTint'])) { $colours_array['playlist_tint'] = $_POST['mp3foxPlaylistTint']; }
102
+ if (isset($_POST['mp3foxPlaylistOpac'])) { $colours_array['playlist_opacity'] = $_POST['mp3foxPlaylistOpac']; }
103
+ if (isset($_POST['mp3foxListTextColour'])) { $colours_array['list_text_colour'] = $_POST['mp3foxListTextColour']; }
104
+ if (isset($_POST['mp3foxListCurrentColour'])) { $colours_array['list_current_colour'] = $_POST['mp3foxListCurrentColour']; }
105
+ if (isset($_POST['mp3foxListHoverColour'])) { $colours_array['list_hover_colour'] = $_POST['mp3foxListHoverColour']; }
106
+ if (isset($_POST['mp3foxListBGaHover'])) { $colours_array['listBGa_hover'] = $_POST['mp3foxListBGaHover']; }
107
+ if (isset($_POST['mp3foxListBGaCurrent'])) { $colours_array['listBGa_current'] = $_POST['mp3foxListBGaCurrent']; }
108
+ if (isset($_POST['mp3foxVolGrad'])) { $colours_array['volume_grad'] = $_POST['mp3foxVolGrad']; }
109
+ if (isset($_POST['mp3foxListDivider'])) { $colours_array['list_divider'] = $_POST['mp3foxListDivider']; }
110
+ if (isset($_POST['mp3foxIndicator'])) { $colours_array['indicator'] = $_POST['mp3foxIndicator']; }
111
+ $theOptions['colour_settings'] = $colours_array;
112
+
113
+ update_option($mp3_fox->adminOptionsName, $theOptions);
114
+ $mp3_fox->theSettings = $theOptions;
115
+ ?>
116
+ <!-- Settings saved message -->
117
+ <div class="updated"><p><strong><?php _e("Settings Updated.", $mp3_fox->textdomain );?></strong></p></div>
118
+
119
+ <?php
120
+ }
121
+ // Pick up current colours
122
+ $current_colours = $theOptions['colour_settings'];
123
+ ?>
124
+
125
+ <div class="wrap">
126
+ <h2>&nbsp;</h2>
127
+ <h1>MP3<span style="font-size:16px;"> - </span>jPlayer<span class="description" style="font-size:10px;">&nbsp; <?php echo $mp3_fox->version_of_plugin; ?></span> &nbsp;&nbsp;
128
+ <?php if ( $theOptions['disable_jquery_libs'] == "yes" ) { ?><span style="font-size: 11px; font-weight:700; color:#f66;">(jQuery and UI scripts are turned off)</span><?php } ?></h1>
129
+
130
+ <h5 style="margin: 0 0 30px 0; padding:0; font-size:10px;">
131
+ <a href="javascript:MP3J_ADMIN.toggleit('tog_0','HELP');" id="tog_0-toggle" class="fox_buttonlink">HELP</a>&nbsp;<a href="widgets.php" class="fox_buttonlink">WIDGETS</a>
132
+ </h5>
133
+
134
+ <div id="tog_0-list" style="border-bottom:1px solid #ccc; margin-bottom:25px;">
135
+
136
+ <p>Add players using <code>[mp3j]</code> <code>[mp3t]</code> <code>[mp3-jplayer]</code> <code>[mp3-popout]</code> shortcodes, links to mp3s, <a href="widgets.php">widgets</a>, and <a href="<?php echo $mp3_fox->PluginFolder; ?>/template-tag-help.htm">Template Tags</a>.</p>
137
+
138
+ <br />
139
+ <h3 style="margin-left:0;">Shortcode Parameters</h3>
140
+ <div class="Ahelp1">
141
+
142
+ <h4><code>[mp3-jplayer]</code> <span class="description">Playlist player</span></h4>
143
+
144
+ <h5>Parameters:</h5>
145
+ <p><code>tracks</code> <span class="description">filenames/URIs/FEEDs (<code>,</code> separated)</span><br />
146
+ <code>captions</code> <span class="description">caption text (<code>;</code> separated)</span><br />
147
+ <code>vol</code> <span class="description">0 - 100</span><br />
148
+ <code>autoplay</code> <span class="description">y/n</span><br />
149
+ <code>loop</code> <span class="description">y/n</span><br />
150
+ <code>dload</code> <span class="description">y / n / loggedin (show download link)</span><br />
151
+ <code>list</code> <span class="description">y/n (show playlist)</span><br />
152
+ <code>pick</code> <span class="description">a number (picks random selection)</span><br />
153
+ <code>shuffle</code> <span class="description">y/n (shuffle track order)</span><br />
154
+ <code>title</code> <span class="description">text above player</span><br />
155
+ <code>pos</code> <span class="description">rel-L, rel-C, rel-R, left, right</span><br />
156
+ <code>width</code> <span class="description">in px or %</span><br />
157
+ <code>height</code> <span class="description">in px (player height excluding list)</span><br />
158
+ <code>pn</code> <span class="description">y/n (show prev/next buttons)</span><br />
159
+ <code>stop</code> <span class="description">y/n (show stop button)</span><br />
160
+ <code>id</code> <span class="description">a page id (to read the custom fields from)</span><br />
161
+ <code>images</code> <span class="description">comma separated list of track image urls</span><br />
162
+ <!--<code>imglinks</code> <span class="description">comma separated list of arbitrary links</span><br />-->
163
+ <code>fsort</code> <span class="description">asc/desc (folder feed direction)</span><br />
164
+ <code>style</code> <span class="description">modify player style</span> <strong><a href="<?php echo $mp3_fox->PluginFolder; ?>/style-param-help.htm">Help</a></strong></p>
165
+
166
+ </div>
167
+
168
+ <div class="Ahelp1">
169
+ <h4><code>[mp3j]</code> &amp; <code>[mp3t]</code> <span class="description">Single-track players</span></h4>
170
+
171
+ <h5>Parameters:</h5>
172
+ <p><code>track</code> <span class="description">filename or URI</span><br />
173
+ <code>caption</code> <span class="description">caption text (right of title)</span><br />
174
+ <code>vol</code> <span class="description">0 - 100</span><br />
175
+ <code>volslider</code> <span class="description">y/n</span><br />
176
+ <code>autoplay</code> <span class="description">y/n</span><br />
177
+ <code>loop</code> <span class="description">y/n</span><br />
178
+ <code>title</code> <span class="description">text (replaces both title and caption)</span><br />
179
+ <code>bold</code> <span class="description">y/n</span><br />
180
+ <code>flip</code> <span class="description">y/n (play/pause)</span><br />
181
+ <code>ind</code> <span class="description">y/n (hide indicator and time)</span><br />
182
+ <code>flow</code> <span class="description">y/n (don't line break)</span><br />
183
+ <code>style</code> <span class="description">modify player style</span> <strong><a href="<?php echo $mp3_fox->PluginFolder; ?>/style-param-help.htm">Help</a></strong></p>
184
+
185
+ <h5>Also for <code>[mp3t]</code></h5>
186
+ <p><code>play</code> play button text<br /><code>stop</code> pause button text</p>
187
+
188
+ </div>
189
+
190
+ <div class="Ahelp1">
191
+ <h4><code>[mp3-popout]</code> <span class="description">Link to pop-out player</span></h4>
192
+
193
+ <h5>Parameters:</h5>
194
+ <p><code>tracks</code> <span class="description">files/URIs/FEEDs (<code>,</code> separated)</span><br />
195
+ <code>captions</code> <span class="description">caption text (<code>;</code> separated)</span><br />
196
+ <code>vol</code> <span class="description">0 - 100</span><br />
197
+ <code>autoplay</code> <span class="description">y / n</span><br />
198
+ <code>loop</code> <span class="description">y / n</span><br />
199
+ <code>dload</code> <span class="description">y / n / loggedin (show download link)</span><br />
200
+ <code>list</code> <span class="description">y/n (show popout playlist)</span><br />
201
+ <code>pick</code> <span class="description">number (pick random selection)</span><br />
202
+ <code>shuffle</code> <span class="description">y/n (shuffle track order)</span><br />
203
+ <code>title</code> <span class="description">title for the popout window</span><br />
204
+ <code>pos</code> <span class="description">rel-L, rel-C, rel-R, left, right (link position)</span><br />
205
+ <code>text</code> <span class="description">text for the link</span><br />
206
+ <code>height</code> <span class="description">px (popout player height excluding it's list)</span><br />
207
+ <code>id</code> <span class="description">a page id (to read the custom fields from)</span><br />
208
+ <code>tag</code> <span class="description">html tag for text (eg. <code>h2</code>, Default is <code>p</code>)</span><br />
209
+ <code>image</code> <span class="description">image for the popout link</span><br />
210
+ <code>images</code> <span class="description">comma separated list of track image urls</span><br />
211
+ <!--<code>imglinks</code> <span class="description">comma separated list of arbitrary links</span><br />-->
212
+ <code>fsort</code> <span class="description">asc/desc (folder feed direction)</span><br />
213
+ <code>style</code> <span class="description">modify player style</span> <strong><a href="<?php echo $mp3_fox->PluginFolder; ?>/style-param-help.htm">Help</a></strong></p>
214
+ </div>
215
+
216
+ <!-- Not in this release
217
+ <div class="Ahelp1">
218
+ <h5><code>[mp3-link]</code> Play from a playlist player</h5>
219
+ <p><code>player</code> number of the player to operate<br /><code>track</code> the track number<br /><code>text</code> link text, defaults to <code>Play</code><br /><code>bold</code> y/n</p>
220
+ </div>
221
+ -->
222
+
223
+ <br class="clearB" /><br />
224
+
225
+ <p><strong>Eg</strong>. <span class="description">Play a url:</span> <code>[mp3j track="http://somedomain.com/myfile.mp3"]</code><br />
226
+ <strong>Eg</strong>. <span class="description">Play a file from default folder (set below) or library:</span> <code>[mp3j track="myfile.mp3"]</code><br />
227
+ <strong>Eg</strong>. <span class="description">Make a playlist player:</span> <code>[mp3-jplayer tracks="fileA.mp3, http://somedomain.com/fileB.mp3, fileC.mp3"]</code><br />
228
+ <strong>Eg</strong>. <span class="description">Add titles:</span> <code>[mp3-jplayer tracks="My Title@fileA.mp3, My Title@fileB.mp3, My Title@fileC.mp3"]</code><br />
229
+ <strong>Eg</strong>. <span class="description">Add captions:</span> <code>[mp3-jplayer tracks="fileA.mp3, fileB.mp3" captions="Caption A; Caption B"]</code></p>
230
+ <p><a href="http://sjward.org/jplayer-for-wordpress" target="_blank">More shortcode examples</a></p>
231
+ <br />
232
+
233
+ <p><strong>Use these commands with [mp3-jplayer] in the <code>tracks</code> parameter to playlist entire folders or the library:</strong></p>
234
+ <p><code>FEED:LIB</code> playlists all mp3s in the library.<br />
235
+ <code>FEED:DF</code> playlists your default folder.<br />
236
+ <code>FEED:/my/music</code> playlists a folder or subfolder (relative to root of domain, not the WP install)</p>
237
+ <p><strong>Eg</strong>. Play 5 random tracks from the library: <code>[mp3-jplayer tracks="FEED:LIB" pick="5"]</code><br />
238
+ <strong>Eg</strong>. Play everything in the folder called 'tunes': <code>[mp3-jplayer tracks="FEED:/tunes"]</code></p>
239
+
240
+ <p>The <code>tracks</code> parameter can contain a mix of FEEDs and filenames/urls, eg. <code>[mp3-jplayer tracks="myfileA.mp3, FEED:/tunes, Title@myfileB.mp3, FEED:DF"]</code>.
241
+ When just a filename is used the file must be in either your media library or in the default folder (set on this page). You can also specify a file in a sub
242
+ directory in the default folder eg. <code>tracks=&quot;subfolder/file.mp3&quot;</code>.</p>
243
+
244
+ <br />
245
+
246
+ <h3 style="margin-left:0;">Custom Fields</h3>
247
+ <p>You can write playlists into the custom fields that are on page and post edit screens (check your 'screen options' at top-right
248
+ if they're not visible). They can be picked up with any of the shortcodes (from any page/post, or with the template tag, or by the widgets). See below for how
249
+ to set them up and some example uses:</p>
250
+
251
+ <p class="description">1. Enter <code>mp3</code> into the left hand box (the 'key' box).<br />2. Write the filename, URI, or 'FEED' (see above) into the right hand box (the 'value' box) and hit 'add custom field'</p>
252
+ <p>Add each track or 'FEED' in a new field pair.</p>
253
+ <p>To add titles and captions in the custom fields use the following format:</p>
254
+ <p class="description">1. Add a dot, then the caption in the left hand box, eg: <code>mp3.My Caption</code>
255
+ <br />2. Add the title, then an '@' before the filename in the right box, eg: <code>My Title@filename</code></p>
256
+ <p>The keys (left boxes) can be numbered, eg:<code>1 mp3</code> will be first on the playlist.</p>
257
+
258
+ <p><strong>Eg</strong>. If a custom field key / value pair is set as <code>mp3</code> / <code>FEED:LIB</code>, then the library is available to any shortcodes, so:<br />
259
+
260
+ <code>[mp3j]</code> or <code>[mp3t]</code> <span class="description">plays the next track from the library in a single player</span> <br />
261
+ <code>[mp3j track="3"]</code> or <code>[mp3t track="3"]</code> <span class="description">plays track 3 from the library in a single player</span> <br />
262
+ <code>[mp3-jplayer]</code> <span class="description">playlists all the custom fields in a playlist player</span><br /></p>
263
+
264
+ <br />
265
+
266
+
267
+ <h3 style="margin-left:0;">Widgets</h3>
268
+ <p class="description">
269
+ MP3j-sh - <span class="description">Adds players by writing shortcodes.</span><br />
270
+ MP3j-ui - <span class="description">Adds a playlist player by using tick boxes and modes. Note that some features such as manually written captions, and additional style (css classes) cannot be set with this widget, use the mp3j-sh widget instead.</span>
271
+ </p>
272
+ <br />
273
+ <h3 style="margin-left:0;">Template Tags</h3>
274
+ <p class="description">For use in theme files, See <a href="<?php echo $mp3_fox->PluginFolder; ?>/template-tag-help.htm">Template Tag Help</a> for more details.</p>
275
+ <p style="line-height:22px;"><code style="font-size:13px;">mp3j_addscripts( $style )</code><br /><code style="font-size:13px;">mp3j_put( $shortcodes )</code><br /><code style="font-size:13px;">mp3j_grab_library( $format )</code><br/><code style="font-size:13px;">mp3j_debug()</code></p>
276
+
277
+ <br />
278
+
279
+ <h3 style="margin-left:0;">Testing</h3>
280
+ <p><strong>Make sure you're using default plugin settings for these tests.</strong></p>
281
+ <p>You can test the plugin with a valid mp3 by copy/pasting the following shortcode into a page or post:<br />
282
+ <code>[mp3-jplayer tracks="http://sjward.org/seven.mp3"]</code></p>
283
+
284
+ <p>To test link replacement copy/paste one of these links, if you're not sure which one then paste them both (one of them should work):</p>
285
+ <p>If you use the visual (default) editor: <code><a href="http://sjward.org/seven.mp3">Test link</a></code><br />
286
+ If you use the text editor: <code>&lt;a href="http://sjward.org/seven.mp3"&gt;Test link&lt;/a&gt;</code></p>
287
+
288
+ <p><br />Links to info:<br /><a href="http://sjward.org/jplayer-for-wordpress">Demo page</a><br /><a href="<?php echo $mp3_fox->PluginFolder; ?>/style-param-help.htm">Style Parameter Help</a><br /><a href="<?php echo $mp3_fox->PluginFolder; ?>/remote/help.txt">Forcing Remote Downloads</a><br /><a href="<?php echo $mp3_fox->PluginFolder; ?>/template-tag-help.htm">Template Tag Help</a></p>
289
+ <br /><br />
290
+
291
+ </div>
292
+
293
+ <form method="post" action="<?php echo $_SERVER["REQUEST_URI"]; ?>">
294
+ <p class="jtext">Initial volume &nbsp; <input type="text" style="text-align:center;" size="2" name="mp3foxVol" value="<?php echo $theOptions['initial_vol']; ?>" /> &nbsp; <span class="description">(0 - 100)</span></p>
295
+ <p class="jtick"><input type="checkbox" name="mp3foxAutoplay" value="true" <?php if ($theOptions['auto_play'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Autoplay</p>
296
+ <p class="jtick"><input type="checkbox" name="mp3foxPlaylistRepeat" value="true" <?php if ($theOptions['playlist_repeat'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Loop</p>
297
+ <p class="jtick"><input type="checkbox" name="mp3foxAddTrackNumbers" value="true" <?php if ($theOptions['add_track_numbering'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Number the tracks</p>
298
+ <!--<p class="jtick"><input type="checkbox" name="mp3foxAnimSliders" value="true" <?php //if ($theOptions['animate_sliders'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Animate sliders</p>-->
299
+
300
+ <br />
301
+ <p class="jtick"><input type="checkbox" name="make_player_from_link" value="true" <?php if ($theOptions['make_player_from_link'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> />
302
+ &nbsp; Turn mp3 links into players</p>
303
+ <p style="margin-left:45px;"><span class="description">(Use the 'Add media' button on the edit screen to add links, or you can manually add/write links into the page. Links will be turned into players using the shortcode specified under 'Template Options' below.)</span></p>
304
+
305
+
306
+ <br />
307
+ <p class="jtick"><input type="checkbox" name="mp3foxOnBlog" value="true" <?php if ($theOptions['player_onblog'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Show players in posts on index, archive, and search pages &nbsp;<span class="description">(doesn't affect widgets)</span></p>
308
+ <p class="jtick"><input type="checkbox" name="runShcodeInExcerpt" value="true" <?php if ($theOptions['run_shcode_in_excerpt'] == "true") { _e('checked="checked"', $mp3_fox->textdomain ); }?> /> &nbsp; Run shortcodes in post excerpts &nbsp;<span class="description">(this works for manually written post excerpts only)</span></p>
309
+ <br />
310
+
311
+ <?php
312
+ $greyout_field = ( $theOptions['player_theme'] != "styleI" ) ? "background:#fcfcfc; color:#d6d6d6; border-color:#f0f0f0;" : "background:#fff; color:#000; border-color:#dfdfdf;";
313
+ $greyout_text = ( $theOptions['player_theme'] != "styleI" ) ? "color:#d6d6d6;" : "color:#444;";
314
+ ?>
315
+ <!-- COLOUR / STYLE -->
316
+ <div style="height:35px"><p style="width:55px; margin:0 0 0 20px; line-height:32px;">Players:</p></div>
317
+ <p style="margin:-35px 0px 0px 75px; line-height:32px;"><select name="mp3foxTheme" id="player-select" style="width:94px; font-size:11px; line-height:19px;">
318
+ <option value="styleF" <?php if ( 'styleF' == $theOptions['player_theme'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Silver</option>
319
+ <option value="styleG" <?php if ( 'styleG' == $theOptions['player_theme'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Dark</option>
320
+ <option value="styleH" <?php if ( 'styleH' == $theOptions['player_theme'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Text</option>
321
+ <option value="styleI" <?php if ( 'styleI' == $theOptions['player_theme'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Custom</option>
322
+ </select>&nbsp;
323
+ <span id="player-csssheet" style=" <?php echo $greyout_text; ?>"> &nbsp;uri:</span><input type="text" id="mp3fcss" style="width:480px; <?php echo $greyout_field; ?>" name="mp3foxCustomStylesheet" value="<?php echo $theOptions['custom_stylesheet']; ?>" /></p>
324
+
325
+ <?php
326
+ //$showbox = ( $theOptions['admin_toggle_1'] == "true" ) ? "" : " display:none;";
327
+ //$hide = ( $theOptions['admin_toggle_1'] == "true" ) ? "Hide " : "";
328
+ ?>
329
+
330
+ <p style="margin:4px 0px 15px 20px;"><a href="javascript:MP3J_ADMIN.toggleit('tog_1','Colour Settings');" id="tog_1-toggle" class="fox_buttonlink bl2">Colour Settings</a></p>
331
+
332
+ <div id="tog_1-list" style="position:relative; margin:0px 0px 15px 20px; width:579px;">
333
+
334
+ <div style="position:relative; width:579px; height:20px; padding-top:2px; border-top:1px solid #eee; border-bottom:1px solid #eee; background:#f9f9f9;">
335
+ <div style="float:left; width:90px; margin-left:9px;"><p class="description" style="margin:0px;"><strong>AREA</strong></p></div>
336
+ <div style="float:left; width:390px;"><p class="description" style="margin:0px;">&nbsp;Opacity&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;Colour</p></div>
337
+ </div>
338
+
339
+ <div style="position:relative; width:579px; padding-top:6px;">
340
+ <div style="float:left; width:90px; margin-left:9px; border:0px solid #aaa;"><p style="margin:0px;line-height:32px;">Screen:<br />Loading bar:<br />Position bar:<br />Playlist:</p></div>
341
+ <div style="float:left; width:390px; border:0px solid #aaa;">
342
+ <p style="margin:0px;line-height:32px;">
343
+ <input type="text" size="4" name="mp3foxScreenOpac" value="<?php echo $current_colours['screen_opacity']; ?>" />
344
+ &nbsp;&nbsp;<input type="text" id="opA" onkeyup="udfcol('opA','blA');" size="10" name="mp3foxScreenColour" value="<?php echo $current_colours['screen_colour']; ?>" />
345
+ <span class="addcol" onclick="putfcolour('opA','blA');">&nbsp;+&nbsp;</span>
346
+ <span class="bl" onclick="sendfcolour('opA');" id="blA" style="background:<?php echo $current_colours['screen_colour']; ?>;">&nbsp;&nbsp;</span>
347
+ <br />
348
+ <input type="text" size="4" name="mp3foxLoadbarOpac" value="<?php echo $current_colours['loadbar_opacity']; ?>" />
349
+ &nbsp;&nbsp;<input type="text" id="opB" onkeyup="udfcol('opB','blB');" size="10" name="mp3foxLoadbarColour" value="<?php echo $current_colours['loadbar_colour']; ?>" />
350
+ <span class="addcol" onclick="putfcolour('opB','blB');">&nbsp;+&nbsp;</span>
351
+ <span class="bl" onclick="sendfcolour('opB');" id="blB" style="background:<?php echo $current_colours['loadbar_colour']; ?>;">&nbsp;&nbsp;</span>
352
+ <br />
353
+ <input type="text" size="4" name="mp3foxPosbarOpac" value="<?php echo $current_colours['posbar_opacity']; ?>" />
354
+ &nbsp;&nbsp;<input type="text" id="opC" onkeyup="udfcol('opC','blC');" size="10" name="mp3foxPosbarColour" value="<?php echo $current_colours['posbar_colour']; ?>" />
355
+ <span class="addcol" onclick="putfcolour('opC','blC');">&nbsp;+&nbsp;</span>
356
+ <span class="bl" onclick="sendfcolour('opC');" id="blC" style="background:<?php echo $current_colours['posbar_colour']; ?>;">&nbsp;&nbsp;</span>
357
+ &nbsp; &nbsp;<select name="mp3foxPosbarTint" style="width:115px; font-size:11px;">
358
+ <option value="" <?php if ( '' == $current_colours['posbar_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>(default)</option>
359
+ <option value="soften" <?php if ( 'soften' == $current_colours['posbar_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Light grad</option>
360
+ <option value="softenT" <?php if ( 'softenT' == $current_colours['posbar_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Tip</option>
361
+ <option value="darken" <?php if ( 'darken' == $current_colours['posbar_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Dark grad</option>
362
+ <option value="none" <?php if ( 'none' == $current_colours['posbar_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>None</option>
363
+ </select>
364
+ <br />
365
+ <input type="text" size="4" name="mp3foxPlaylistOpac" value="<?php echo $current_colours['playlist_opacity']; ?>" />
366
+ &nbsp;&nbsp;<input type="text" id="opD" onkeyup="udfcol('opD','blD');" size="10" name="mp3foxPlaylistColour" value="<?php echo $current_colours['playlist_colour']; ?>" />
367
+ <span class="addcol" onclick="putfcolour('opD','blD');">&nbsp;+&nbsp;</span>
368
+ <span class="bl" onclick="sendfcolour('opD');" id="blD" style="background:<?php echo $current_colours['playlist_colour']; ?>;">&nbsp;&nbsp;</span>
369
+ &nbsp; &nbsp;<select name="mp3foxPlaylistTint" style="width:115px; font-size:11px;">
370
+ <option value="" <?php if ( '' == $current_colours['playlist_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>(default)</option>
371
+ <option value="lighten2" <?php if ( 'lighten2' == $current_colours['playlist_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Light grad</option>
372
+ <option value="lighten1" <?php if ( 'lighten1' == $current_colours['playlist_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Soft grad</option>
373
+ <option value="darken1" <?php if ( 'darken1' == $current_colours['playlist_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Dark grad</option>
374
+ <option value="darken2" <?php if ( 'darken2' == $current_colours['playlist_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Darker grad</option>
375
+ <option value="none" <?php if ( 'none' == $current_colours['playlist_tint'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>None</option>
376
+ </select>
377
+ </p>
378
+ </div>
379
+ <br clear="all" />
380
+ </div>
381
+
382
+ <div id="pickerwrap">
383
+ <div id="plugHEX"></div>
384
+ <div id="plugCUR"></div>
385
+ <div id="plugin" onmousedown="HSVslide('drag','plugin',event); return false;"><div id="SV" onmousedown="HSVslide('SVslide','plugin',event)"><div id="SVslide" style="top:-4px; left:-4px;"><br /></div></div><div id="H" onmousedown="HSVslide('Hslide','plugin',event)"><div id="Hslide" style="top:-7px; left:-8px;"><br /></div><div id="Hmodel"></div></div></div>
386
+ </div>
387
+
388
+ <div style="position:relative;width:175px; height:150px; margin:-200px 0px 28px 405px; padding:50px 0px 0px 0px; border:0px solid #666;">
389
+ <p style="margin:0px 0px 8px 0px; text-align:right;">Indicator:&nbsp;
390
+ <select name="mp3foxIndicator" style="width:80px; font-size:11px;">
391
+ <option value="" <?php if ( '' == $current_colours['indicator'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>(default)</option>
392
+ <option value="tint" <?php if ( 'tint' == $current_colours['indicator'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Greyscale</option>
393
+ <option value="colour" <?php if ( 'colour' == $current_colours['indicator'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Colour</option>
394
+ </select></p>
395
+ <p style="margin:0px 0px 8px 0px; text-align:right;">Volume bar:&nbsp;
396
+ <select name="mp3foxVolGrad" style="width:80px; font-size:11px;">
397
+ <option value="" <?php if ( '' == $current_colours['volume_grad'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>(default)</option>
398
+ <option value="light" <?php if ( 'light' == $current_colours['volume_grad'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Light</option>
399
+ <option value="dark" <?php if ( 'dark' == $current_colours['volume_grad'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Dark</option>
400
+ </select></p>
401
+ <p style="margin:0px 0px 0px 0px; text-align:right;">Dividers:&nbsp;
402
+ <select name="mp3foxListDivider" style="width:80px; font-size:11px;">
403
+ <option value="" <?php if ( '' == $current_colours['list_divider'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>(default)</option>
404
+ <option value="light" <?php if ( 'light' == $current_colours['list_divider'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Light</option>
405
+ <option value="med" <?php if ( 'med' == $current_colours['list_divider'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Medium</option>
406
+ <option value="dark" <?php if ( 'dark' == $current_colours['list_divider'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>Dark</option>
407
+ <option value="none" <?php if ( 'none' == $current_colours['list_divider'] ) { _e('selected="selected"', $mp3_fox->textdomain ); } ?>>None</option>
408
+ </select></p>
409
+ </div>
410
+
411
+ <div style="position:relative; width:579px; height:20px; padding-top:2px; border-top:1px solid #eee; border-bottom:1px solid #eee; background:#f9f9f9;">
412
+ <div style="float:left; width:90px; margin-left:9px;"><p class="description" style="margin:0px;"><strong>TEXT</strong></p></div>
413
+ <div style="float:left; width:430px;"><p class="description" style="margin:0px;">Colour</p></div>
414
+ <br clear="all" />
415
+ </div>
416
+
417
+ <div style="position:relative; width:579px; padding-top:6px;">
418
+ <div style="float:left; width:65px; margin-left:9px; border:0px solid #aaa;"><p style="margin:0px;line-height:32px;">Screen:<br />Playlist:<br />Selected:<br />Hover:</p></div>
419
+ <div style="float:left; width:460px; border:0px solid #aaa;">
420
+ <p style="margin:0px;line-height:32px;">
421
+ <input type="text" id="opE" onkeyup="udfcol('opE','blE');" size="10" name="mp3foxScreenTextColour" value="<?php echo $current_colours['screen_text_colour']; ?>" />
422
+ <span class="addcol" onclick="putfcolour('opE','blE');">&nbsp;+&nbsp;</span>
423
+ <span class="bl" onclick="sendfcolour('opE');" id="blE" style="background:<?php echo $current_colours['screen_text_colour']; ?>;">&nbsp;&nbsp;</span>
424
+ <br />
425
+ <input type="text" id="opF" onkeyup="udfcol('opF','blF');" size="10" name="mp3foxListTextColour" value="<?php echo $current_colours['list_text_colour']; ?>" />
426
+ <span class="addcol" onclick="putfcolour('opF','blF');">&nbsp;+&nbsp;</span>
427
+ <span class="bl" onclick="sendfcolour('opF');" id="blF" style="background:<?php echo $current_colours['list_text_colour']; ?>;">&nbsp;&nbsp;</span>
428
+ <br />
429
+ <input type="text" id="opG" onkeyup="udfcol('opG','blG');" size="10" name="mp3foxListCurrentColour" value="<?php echo $current_colours['list_current_colour']; ?>" />
430
+ <span class="addcol" onclick="putfcolour('opG','blG');">&nbsp;+&nbsp;</span>
431
+ <span class="bl" onclick="sendfcolour('opG');" id="blG" style="background:<?php echo $current_colours['list_current_colour']; ?>;">&nbsp;&nbsp;</span>
432
+ &nbsp; &nbsp; Background: <input type="text" id="opH" onkeyup="udfcol('opH','blH');" size="10" name="mp3foxListBGaCurrent" value="<?php echo $current_colours['listBGa_current']; ?>" />
433
+ <span class="addcol" onclick="putfcolour('opH','blH');">&nbsp;+&nbsp;</span>
434
+ <span class="bl" onclick="sendfcolour('opH');" id="blH" style="background:<?php echo $current_colours['listBGa_current']; ?>;">&nbsp;&nbsp;</span>
435
+ <br />
436
+ <input type="text" id="opI" onkeyup="udfcol('opI','blI');" size="10" name="mp3foxListHoverColour" value="<?php echo $current_colours['list_hover_colour']; ?>" />
437
+ <span class="addcol" onclick="putfcolour('opI','blI');">&nbsp;+&nbsp;</span>
438
+ <span class="bl" onclick="sendfcolour('opI');" id="blI" style="background:<?php echo $current_colours['list_hover_colour']; ?>;">&nbsp;&nbsp;</span>
439
+ &nbsp; &nbsp; Background: <input type="text" id="opJ" onkeyup="udfcol('opJ','blJ');" size="10" name="mp3foxListBGaHover" value="<?php echo $current_colours['listBGa_hover']; ?>" />
440
+ <span class="addcol" onclick="putfcolour('opJ','blJ');">&nbsp;+&nbsp;</span>
441
+ <span class="bl" onclick="sendfcolour('opJ');" id="blJ" style="background:<?php echo $current_colours['listBGa_hover']; ?>;">&nbsp;&nbsp;</span>
442
+ </p>
443
+ </div>
444
+ <br clear="all" />
445
+ </div>
446
+
447
+ <div style="position:relative; width:579px; height:20px; margin-top:30px; padding-top:2px; border-top:1px solid #eee; border-bottom:1px solid #eee; background:#f9f9f9;">
448
+ <div style="float:left; width:90px; margin-left:9px;"><p class="description" style="margin:0px;"><strong>POP-OUT</strong></p></div>
449
+ <div style="float:left; width:430px;"><p class="description" style="margin:0px;">Background</p></div>
450
+ <br clear="all" />
451
+ </div>
452
+
453
+ <div style="width:579px; padding-top:6px;">
454
+ <div style="float:left; width:65px; margin-left:9px; border:0px solid #aaa;"><p style="margin:0px;line-height:32px;">Colour:<br />Image:</p></div>
455
+ <div style="float:left; width:460px; border:0px solid #aaa;">
456
+ <p style="margin:0px;line-height:32px;">
457
+ <input type="text" id="opK" onkeyup="udfcol('opK','blK');" size="10" name="mp3foxPopoutBackground" value="<?php echo $theOptions['popout_background']; ?>" />
458
+ <span class="addcol" onclick="putfcolour('opK','blK');">&nbsp;+&nbsp;</span>
459
+ <span class="bl" onclick="sendfcolour('opK');" id="blK" style="background:<?php echo $theOptions['popout_background']; ?>;">&nbsp;&nbsp;</span></p>
460
+ <p style="margin:4px 0px 0px 0px;line-height:32px;">
461
+ <input type="text" style="width:503px;" name="mp3foxPopoutBGimage" value="<?php echo $theOptions['popout_background_image']; ?>" /></p>
462
+ </div>
463
+ <br clear="all" />
464
+ </div>
465
+ <p class="description" style="margin-top: 30px; margin-bottom: 0px;">&nbsp;&nbsp;(Opacity values from 0 to 100, leave any fields blank to use the default setting)</p>
466
+ </d