Revision 00c6728b
Added by Erik Kristensen about 20 years ago
usr/local/www/themes/_orange-flow/all.css | ||
---|---|---|
1 |
/* Element CSS Definitions */ |
|
2 |
html, body, td, th, input, select { |
|
3 |
font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; |
|
4 |
font-size: 0.9em; |
|
5 |
} |
|
6 |
|
|
7 |
body { |
|
8 |
background-color: #333333; |
|
9 |
margin: 5px auto; |
|
10 |
} |
|
11 |
|
|
12 |
form { |
|
13 |
margin: 0px; |
|
14 |
} |
|
15 |
a { |
|
16 |
text-decoration: none; |
|
17 |
} |
|
18 |
form input { |
|
19 |
font-size: 1.1em; |
|
20 |
} |
|
21 |
|
|
22 |
iframe { |
|
23 |
z-index: 1; |
|
24 |
border: 1px dashed #990000; |
|
25 |
} |
|
26 |
.iframe { |
|
27 |
background-color: #FFFFFF; |
|
28 |
} |
|
29 |
|
|
30 |
/* ID Based CSS Definitions */ |
|
31 |
#wrapper { |
|
32 |
width: 815px; |
|
33 |
margin: 5px auto; |
|
34 |
} |
|
35 |
|
|
36 |
#header { |
|
37 |
background: url('images/header.gif') no-repeat; |
|
38 |
background-position: 4px; |
|
39 |
height: 102px; |
|
40 |
width: 808px; |
|
41 |
margin-bottom: 5px; |
|
42 |
z-index: 2; |
|
43 |
} |
|
44 |
#header-left { |
|
45 |
position: relative; |
|
46 |
/* background: url('images/logo.gif') no-repeat; */ |
|
47 |
background-position: center; |
|
48 |
height: 65px; |
|
49 |
width: 145px; |
|
50 |
left: 10px; |
|
51 |
float: left; |
|
52 |
} |
|
53 |
#header-right { |
|
54 |
position: relative; |
|
55 |
/* background: url('images/header.gif') no-repeat; */ |
|
56 |
height: 70px; |
|
57 |
color: #fff; |
|
58 |
left: 0px; |
|
59 |
margin-left: 165px; |
|
60 |
} |
|
61 |
#header-right .alert { |
|
62 |
position: relative; |
|
63 |
/* background: url('images/alert.gif') no-repeat; */ |
|
64 |
background-position: 4px 2px; |
|
65 |
color: #fff; |
|
66 |
height: 17px; |
|
67 |
width: 500px; |
|
68 |
padding: 4px; |
|
69 |
padding-left: 27px; |
|
70 |
float: left; |
|
71 |
} |
|
72 |
#header-right .container { |
|
73 |
position: relative; |
|
74 |
} |
|
75 |
#header-right .container .left { |
|
76 |
position: relative; |
|
77 |
float: left; |
|
78 |
font-size: 1.3em; |
|
79 |
font-weight: bold; |
|
80 |
top: 15px; |
|
81 |
left: 4px; |
|
82 |
display: none; |
|
83 |
} |
|
84 |
#header-right .container .right { |
|
85 |
position: relative; |
|
86 |
float: right; |
|
87 |
top: 22px; |
|
88 |
padding-right: 4px; |
|
89 |
z-index: 1; |
|
90 |
} |
|
91 |
|
|
92 |
#header-right .container .right #alerts { |
|
93 |
position: relative; |
|
94 |
background: url('images/alert_bgr.gif') no-repeat; |
|
95 |
height: 39px; |
|
96 |
width: 431px; |
|
97 |
z-index: 1; |
|
98 |
padding-top: 20px; |
|
99 |
padding-left: 5px; |
|
100 |
margin: 0px; |
|
101 |
} |
|
102 |
#header-right .container .right #hostname { |
|
103 |
position: relative; |
|
104 |
height: 39px; |
|
105 |
width: 431px; |
|
106 |
z-index: 1; |
|
107 |
padding-left: 5px; |
|
108 |
margin: 0px; |
|
109 |
top: 25px; |
|
110 |
left: 230px; |
|
111 |
} |
|
112 |
|
|
113 |
|
|
114 |
|
|
115 |
table#marquee { |
|
116 |
position: relative; |
|
117 |
top: -6px; |
|
118 |
left: -5px; |
|
119 |
border: 0; |
|
120 |
padding: 0; |
|
121 |
margin: 0; |
|
122 |
width: 424px; |
|
123 |
background-color: transparent; |
|
124 |
padding: 2px; |
|
125 |
border: 0px; |
|
126 |
} |
|
127 |
span#marquee-container { |
|
128 |
position: absolute; |
|
129 |
visibility: hidden; |
|
130 |
top: -100px; |
|
131 |
left: -10000px; |
|
132 |
} |
|
133 |
div#marquee-text { |
|
134 |
font-size: 1.18em; |
|
135 |
font-weight: bold; |
|
136 |
font: Verdana; |
|
137 |
} |
|
138 |
table#marquee div#container { |
|
139 |
position: relative; |
|
140 |
overflow: hidden; |
|
141 |
width: 418px; |
|
142 |
height: 20px; |
|
143 |
} |
|
144 |
table#marquee div#container div#scroller { |
|
145 |
position: absolute; |
|
146 |
left: 0px; |
|
147 |
top: 0px; |
|
148 |
} |
|
149 |
|
|
150 |
|
|
151 |
|
|
152 |
|
|
153 |
|
|
154 |
#content { |
|
155 |
position: relative; |
|
156 |
top: -15px; |
|
157 |
left: 4px; |
|
158 |
margin-top: 0px; |
|
159 |
margin-left: 5px; |
|
160 |
padding-top: 0px; |
|
161 |
width: 800px; |
|
162 |
background: url('images/horizontal.gif') repeat-y; |
|
163 |
} |
|
164 |
|
|
165 |
#left { |
|
166 |
width: 800px; |
|
167 |
height: 1px; |
|
168 |
} |
|
169 |
#right { |
|
170 |
position: relative; |
|
171 |
top: -10px; |
|
172 |
width: 770px; |
|
173 |
margin-top: 0px; |
|
174 |
margin-left: 5px; |
|
175 |
margin-right: 5px; |
|
176 |
padding-top: 5px; |
|
177 |
padding-left: 10px; |
|
178 |
padding-right: 10px; |
|
179 |
padding-bottom: 20px; |
|
180 |
min-height: 400px; |
|
181 |
} |
|
182 |
|
|
183 |
#footer { |
|
184 |
position: relative; |
|
185 |
background: url('images/footer.gif') no-repeat; |
|
186 |
top: -18px; |
|
187 |
left: 7px; |
|
188 |
width: 800px; |
|
189 |
height: 75px; |
|
190 |
color: #ffffff; |
|
191 |
text-align: center;; |
|
192 |
font-size: 0.9em; |
|
193 |
padding-top: 17px; |
|
194 |
margin-bottom: 20px; |
|
195 |
clear: both; |
|
196 |
} |
|
197 |
#footer p { |
|
198 |
padding: 0px; |
|
199 |
margin: 0px; |
|
200 |
} |
|
201 |
|
|
202 |
/* Style the List */ |
|
203 |
#navigation { |
|
204 |
/* background: url('images/menu.gif') no-repeat; */ |
|
205 |
/* width: 693px; */ |
|
206 |
position: relative; |
|
207 |
top: -24px; |
|
208 |
left: -4px; |
|
209 |
width: 800px; |
|
210 |
padding: 0px; |
|
211 |
height: 28px; |
|
212 |
z-index: 3; |
|
213 |
} |
|
214 |
#navigation ul { |
|
215 |
padding: 0; |
|
216 |
margin: 0; |
|
217 |
list-style: none; |
|
218 |
text-align: center; |
|
219 |
} |
|
220 |
#navigation ul#menu { |
|
221 |
padding-top: 3px; |
|
222 |
padding-left: 5px; |
|
223 |
} |
|
224 |
|
|
225 |
/* Style the List Elements */ |
|
226 |
#navigation ul li { |
|
227 |
float: left; |
|
228 |
position: relative; |
|
229 |
/* width: 7.5em; */ |
|
230 |
width: 8.77em; |
|
231 |
} |
|
232 |
#navigation ul li div { |
|
233 |
font-size: 1em; |
|
234 |
font-weight: bold; |
|
235 |
} |
|
236 |
/* Make the List inside the List Elements */ |
|
237 |
/* initially hidden with absolute position */ |
|
238 |
#navigation ul li ul { |
|
239 |
display: none; |
|
240 |
position: absolute; |
|
241 |
top: 2em; |
|
242 |
left: -2px; |
|
243 |
width: 9em; |
|
244 |
font-weight: normal; |
|
245 |
background: transparent bottom left no-repeat; /* This is key to making the menu maintain visibility when not on a link */ |
|
246 |
background-color: #202020; |
|
247 |
background: url("images/menu_footer.gif") no-repeat; |
|
248 |
background-position: bottom; |
|
249 |
padding: 0em 0 0.4em 0; |
|
250 |
padding-top: 0.3em; |
|
251 |
} |
|
252 |
/* to override top and left in browsers other than IE */ |
|
253 |
/* which will position to the top right of the containing */ |
|
254 |
/* li, rather than bottom left */ |
|
255 |
#navigation ul li > ul { |
|
256 |
top: auto; |
|
257 |
left: auto; |
|
258 |
left: -1px !important; |
|
259 |
} |
|
260 |
/* Show initial drop down upon mouse over, but do not show */ |
|
261 |
/* nested side drop menus within listed elements */ |
|
262 |
#navigation ul li:hover ul { |
|
263 |
display: block; |
|
264 |
cursor: hand; |
|
265 |
} |
|
266 |
#navigation ul li:hover { |
|
267 |
cursor: hand; |
|
268 |
cursor: pointer; |
|
269 |
} |
|
270 |
#navigation ul li:hover div { |
|
271 |
text-decoration: none; |
|
272 |
} |
|
273 |
|
|
274 |
#navigation ul li { |
|
275 |
background-color: transparent; |
|
276 |
color: #FFF; |
|
277 |
} |
|
278 |
#navigation ul li ul li { |
|
279 |
border: 1px solid #505050; |
|
280 |
width: 8.8em; |
|
281 |
height: 1.6em; |
|
282 |
line-height: 1.6em; |
|
283 |
background: url('images/metal_bgr.gif') repeat-x; |
|
284 |
color: #FFF; |
|
285 |
} |
|
286 |
#navigation ul li ul li:hover { |
|
287 |
background: url('images/metal_bgr_red.gif') repeat-x; |
|
288 |
} |
|
289 |
|
|
290 |
#navigation li li a { |
|
291 |
display: block; |
|
292 |
padding-left: 10px; |
|
293 |
padding-right: 10px; |
|
294 |
} |
|
295 |
|
|
296 |
#navigation ul li ul li a.navlnk:hover { |
|
297 |
text-decoration: none; |
|
298 |
} |
|
299 |
#navigation ul li.first { |
|
300 |
border-right: 0px; |
|
301 |
} |
|
302 |
#navigation ul li.middle { |
|
303 |
border-right: 0px; |
|
304 |
} |
|
305 |
#navigation ul li.last { |
|
306 |
|
|
307 |
} |
|
308 |
|
|
309 |
#navigation ul li.dropfirst { |
|
310 |
border-bottom: 0px; |
|
311 |
} |
|
312 |
#navigation ul li.dropmiddle { |
|
313 |
border-bottom: 0px; |
|
314 |
} |
|
315 |
#navigation ul li.droplast { |
|
316 |
} |
|
317 |
|
|
318 |
|
|
319 |
|
|
320 |
|
|
321 |
|
|
322 |
/* Class Based CSS Definitions */ |
|
323 |
.pgtitle { |
|
324 |
font-size: 18px; |
|
325 |
color: #777777; |
|
326 |
font-weight: bold; |
|
327 |
} |
|
328 |
.tfrtitle { |
|
329 |
font-size: 18px; |
|
330 |
color: #ffffff; |
|
331 |
font-weight: bold; |
|
332 |
} |
|
333 |
.vncell { |
|
334 |
background-color: #DDDDDD; |
|
335 |
padding-right: 20px; |
|
336 |
padding-left: 8px; |
|
337 |
border-bottom: 1px solid #999999; |
|
338 |
} |
|
339 |
.formfld { |
|
340 |
|
|
341 |
} |
|
342 |
.formfldalias { |
|
343 |
background-color: #990000; |
|
344 |
color: #FFFFFF; |
|
345 |
} |
|
346 |
.formpre { |
|
347 |
font-family: Courier New, Courier, monospaced; |
|
348 |
font-size: 10px; |
|
349 |
} |
|
350 |
.formbtn { |
|
351 |
font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; |
|
352 |
font-size: 13px; |
|
353 |
font-weight: bold; |
|
354 |
} |
|
355 |
.formbtns { |
|
356 |
font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; |
|
357 |
font-size: 10px; |
|
358 |
font-weight: bold; |
|
359 |
} |
|
360 |
.vvcell { |
|
361 |
background-color: #FFFFC6; |
|
362 |
} |
|
363 |
.errmsg { |
|
364 |
font-weight: bold; |
|
365 |
color: #CC0000; |
|
366 |
} |
|
367 |
.red { |
|
368 |
color: #CC0000; |
|
369 |
} |
|
370 |
.gray { |
|
371 |
color: #A0A0A0; |
|
372 |
} |
|
373 |
.vexpl { |
|
374 |
font-size: 11px; |
|
375 |
} |
|
376 |
.navlnk { |
|
377 |
color: #FFFFFF; |
|
378 |
text-decoration: none; |
|
379 |
font-size: 13px; |
|
380 |
} |
|
381 |
.navlnks { |
|
382 |
color: #FFFFFF; |
|
383 |
text-decoration: none; |
|
384 |
font-size: 11px; |
|
385 |
} |
|
386 |
.tblnk { |
|
387 |
color: #FFFFFF; |
|
388 |
text-decoration: none; |
|
389 |
} |
|
390 |
.vncellreq { |
|
391 |
background-color: #DDDDDD; |
|
392 |
padding-right: 20px; |
|
393 |
padding-left: 8px; |
|
394 |
font-weight: bold; |
|
395 |
border-bottom: 1px solid #999999; |
|
396 |
} |
|
397 |
.vncellt { |
|
398 |
background-color: #DDDDDD; |
|
399 |
padding-right: 20px; |
|
400 |
padding-left: 8px; |
|
401 |
padding-top: 4px; |
|
402 |
padding-bottom: 4px; |
|
403 |
font-weight: bold; |
|
404 |
border-bottom: 1px solid #999999; |
|
405 |
} |
|
406 |
.vtable { |
|
407 |
border-bottom: 1px solid #999999; |
|
408 |
} |
|
409 |
.vnsepcell { |
|
410 |
background-color: #BBBBBB; |
|
411 |
padding-right: 20px; |
|
412 |
padding-left: 8px; |
|
413 |
font-weight: bold; |
|
414 |
border-bottom: 1px solid #999999; |
|
415 |
font-size: 11px; |
|
416 |
} |
|
417 |
.cpline { |
|
418 |
font-size: 11px; |
|
419 |
color: #FFFFFF; |
|
420 |
} |
|
421 |
.hostname { |
|
422 |
font-size: 11px; |
|
423 |
color: #FFFFFF; |
|
424 |
} |
|
425 |
.vnsepcellr { |
|
426 |
background-color: #BBBBBB; |
|
427 |
padding-right: 20px; |
|
428 |
padding-left: 8px; |
|
429 |
font-weight: bold; |
|
430 |
border-right: 1px solid #999999; |
|
431 |
border-bottom: 1px solid #999999; |
|
432 |
font-size: 11px; |
|
433 |
} |
|
434 |
.listr { |
|
435 |
background-color: #FFFFFF; |
|
436 |
border-right: 1px solid #999999; |
|
437 |
border-bottom: 1px solid #999999; |
|
438 |
font-size: 11px; |
|
439 |
padding-right: 6px; |
|
440 |
padding-left: 6px; |
|
441 |
padding-top: 4px; |
|
442 |
padding-bottom: 4px; |
|
443 |
} |
|
444 |
.listrpad { |
|
445 |
border-right: 1px solid #999999; |
|
446 |
border-bottom: 1px solid #999999; |
|
447 |
font-size: 11px; |
|
448 |
padding-right: 16px; |
|
449 |
padding-left: 10px; |
|
450 |
padding-top: 8px; |
|
451 |
padding-bottom: 8px; |
|
452 |
} |
|
453 |
.listn { |
|
454 |
font-size: 11px; |
|
455 |
padding-right: 16px; |
|
456 |
padding-left: 6px; |
|
457 |
padding-top: 4px; |
|
458 |
padding-bottom: 4px; |
|
459 |
} |
|
460 |
.listbg { |
|
461 |
border-right: 1px solid #999999; |
|
462 |
border-bottom: 1px solid #999999; |
|
463 |
font-size: 11px; |
|
464 |
background-color: #990000; |
|
465 |
padding-right: 16px; |
|
466 |
padding-left: 6px; |
|
467 |
padding-top: 4px; |
|
468 |
padding-bottom: 4px; |
|
469 |
} |
|
470 |
.listbggrey { |
|
471 |
border-right: 1px solid #999999; |
|
472 |
border-bottom: 1px solid #999999; |
|
473 |
font-size: 11px; |
|
474 |
background-color: #999999; |
|
475 |
padding-right: 16px; |
|
476 |
padding-left: 6px; |
|
477 |
padding-top: 4px; |
|
478 |
padding-bottom: 4px; |
|
479 |
} |
|
480 |
.listhdr { |
|
481 |
background-color: #BBBBBB; |
|
482 |
padding-right: 16px; |
|
483 |
padding-left: 6px; |
|
484 |
font-weight: bold; |
|
485 |
border-bottom: 1px solid #999999; |
|
486 |
font-size: 11px; |
|
487 |
padding-top: 5px; |
|
488 |
padding-bottom: 5px; |
|
489 |
} |
|
490 |
.listhdr a { |
|
491 |
color: #000000; |
|
492 |
} |
|
493 |
.listhdrr { |
|
494 |
background-color: #BBBBBB; |
|
495 |
padding-right: 16px; |
|
496 |
padding-left: 6px; |
|
497 |
font-weight: bold; |
|
498 |
border-right: 1px solid #999999; |
|
499 |
border-bottom: 1px solid #999999; |
|
500 |
font-size: 11px; |
|
501 |
padding-top: 5px; |
|
502 |
padding-bottom: 5px; |
|
503 |
} |
|
504 |
.listhdrr a { |
|
505 |
color: #000000; |
|
506 |
} |
|
507 |
.listlr { |
|
508 |
background-color: #FFFFFF; |
|
509 |
border-right: 1px solid #999999; |
|
510 |
border-bottom: 1px solid #999999; |
|
511 |
border-left: 1px solid #999999; |
|
512 |
font-size: 11px; |
|
513 |
padding-right: 6px; |
|
514 |
padding-left: 6px; |
|
515 |
padding-top: 4px; |
|
516 |
padding-bottom: 4px; |
|
517 |
} |
|
518 |
.listlrns { |
|
519 |
background-color: #FFFFFF; |
|
520 |
border-right: 1px solid #999999; |
|
521 |
border-bottom: 1px solid #999999; |
|
522 |
border-left: 1px solid #999999; |
|
523 |
font-size: 11px; |
|
524 |
padding-top: 4px; |
|
525 |
padding-bottom: 4px; |
|
526 |
} |
|
527 |
.list { |
|
528 |
font-size: 11px; |
|
529 |
padding-left: 6px; |
|
530 |
padding-top: 2px; |
|
531 |
padding-bottom: 2px; |
|
532 |
} |
|
533 |
.listt { |
|
534 |
font-size: 11px; |
|
535 |
padding-top: 5px; |
|
536 |
} |
|
537 |
.listhdrrns { |
|
538 |
background-color: #BBBBBB; |
|
539 |
padding-left: 6px; |
|
540 |
padding-top: 5px; |
|
541 |
padding-bottom: 5px; |
|
542 |
padding-right: 6px; |
|
543 |
font-weight: bold; |
|
544 |
border-right: 1px solid #999999; |
|
545 |
border-bottom: 1px solid #999999; |
|
546 |
font-size: 11px; |
|
547 |
} |
|
548 |
.listbgns { |
|
549 |
border-right: 1px solid #999999; |
|
550 |
border-bottom: 1px solid #999999; |
|
551 |
font-size: 11px; |
|
552 |
background-color: #D9DEE8; |
|
553 |
padding-left: 6px; |
|
554 |
padding-right: 4px; |
|
555 |
padding-top: 4px; |
|
556 |
padding-bottom: 4px; |
|
557 |
} |
|
558 |
.listtopic { |
|
559 |
border-right: 1px solid #999999; |
|
560 |
font-size: 11px; |
|
561 |
background-color: #990000; |
|
562 |
padding-right: 16px; |
|
563 |
padding-left: 6px; |
|
564 |
color: #FFFFFF; |
|
565 |
font-weight: bold; |
|
566 |
padding-top: 5px; |
|
567 |
padding-bottom: 5px; |
|
568 |
} |
|
569 |
.optsect_t { |
|
570 |
border-right: 1px solid #999999; |
|
571 |
background-color: #990000; |
|
572 |
padding-right: 6px; |
|
573 |
padding-left: 6px; |
|
574 |
padding-top: 2px; |
|
575 |
padding-bottom: 2px; |
|
576 |
} |
|
577 |
.optsect_s { |
|
578 |
font-size: 11px; |
|
579 |
color: #FFFFFF; |
|
580 |
font-weight: bold; |
|
581 |
} |
|
582 |
.tabnavtbl { |
|
583 |
} |
|
584 |
|
|
585 |
|
|
586 |
/* MISC CSS Definitions */ |
|
587 |
ul#tabnav { |
|
588 |
font-size: 11px; |
|
589 |
font-weight: bold; |
|
590 |
list-style-type: none; |
|
591 |
margin: 0; |
|
592 |
padding: 0; |
|
593 |
} |
|
594 |
ul#tabnav li.tabinact1 { |
|
595 |
float: left; |
|
596 |
background-color: #777777; |
|
597 |
color: #FFFFFF; |
|
598 |
padding: 0; |
|
599 |
white-space: nowrap; |
|
600 |
} |
|
601 |
ul#tabnav li.tabinact { |
|
602 |
float: left; |
|
603 |
border-left: 1px solid #999999; |
|
604 |
background-color: #777777; |
|
605 |
color: #FFFFFF; |
|
606 |
padding: 0; |
|
607 |
white-space: nowrap; |
|
608 |
} |
|
609 |
ul#tabnav li.tabinact a { |
|
610 |
float: left; |
|
611 |
display: block; |
|
612 |
text-decoration: none; |
|
613 |
padding: 5px 8px 5px 8px; |
|
614 |
color: #FFFFFF; |
|
615 |
} |
|
616 |
ul#tabnav li.tabinact1 a { |
|
617 |
float: left; |
|
618 |
display: block; |
|
619 |
text-decoration: none; |
|
620 |
padding: 5px 8px 5px 8px; |
|
621 |
color: #FFFFFF; |
|
622 |
} |
|
623 |
ul#tabnav li.tabact { |
|
624 |
float: left; |
|
625 |
background-color: #EEEEEE; |
|
626 |
color: #000000; |
|
627 |
padding: 5px 8px 5px 8px; |
|
628 |
white-space: nowrap; |
|
629 |
} |
|
630 |
.tabcont { |
|
631 |
background-color: #EEEEEE; |
|
632 |
padding-right: 12px; |
|
633 |
padding-left: 12px; |
|
634 |
padding-top: 12px; |
|
635 |
padding-bottom: 12px; |
|
636 |
} |
|
637 |
.tabact { |
|
638 |
float: left; |
|
639 |
background-color: #EEEEEE; |
|
640 |
color: #000000; |
|
641 |
padding: 5px 8px 5px 8px; |
|
642 |
white-space: nowrap; |
|
643 |
} |
|
644 |
.tabinact { |
|
645 |
font-weight: bold; |
|
646 |
float: left; |
|
647 |
border-left: 1px solid #999999; |
|
648 |
background-color: #777777; |
|
649 |
color: #FFFFFF; |
|
650 |
padding: 0; |
|
651 |
white-space: nowrap; |
|
652 |
} |
|
653 |
.menu { |
|
654 |
background-color: #000000; |
|
655 |
white-space: nowrap; |
|
656 |
padding: 0px 5px 0px 5px; |
|
657 |
width: 100%; |
|
658 |
vertical-align: top; |
|
659 |
} |
|
660 |
|
|
661 |
|
|
662 |
|
|
663 |
/* Nifty Corners Crap */ |
|
664 |
.rtop,.artop{display:block} |
|
665 |
.rtop *,.artop *{display:block;height:1px;overflow:hidden;font-size:1px} |
|
666 |
.artop *{border-style: solid;border-width:0 1px} |
|
667 |
.r1,.rl1,.re1,.rel1{margin-left:5px} |
|
668 |
.r1,.rr1,.re1,.rer1{margin-right:5px} |
|
669 |
.r2,.rl2,.re2,.rel2,.ra1,.ral1{margin-left:3px} |
|
670 |
.r2,.rr2,.re2,.rer2,.ra1,.rar1{margin-right:3px} |
|
671 |
.r3,.rl3,.re3,.rel3,.ra2,.ral2,.rs1,.rsl1,.res1,.resl1{margin-left:2px} |
|
672 |
.r3,.rr3,.re3,.rer3,.ra2,.rar2,.rs1,.rsr1,.res1,.resr1{margin-right:2px} |
|
673 |
.r4,.rl4,.rs2,.rsl2,.re4,.rel4,.ra3,.ral3,.ras1,.rasl1,.res2,.resl2{margin-left:1px} |
|
674 |
.r4,.rr4,.rs2,.rsr2,.re4,.rer4,.ra3,.rar3,.ras1,.rasr1,.res2,.resr2{margin-right:1px} |
|
675 |
.rx1,.rxl1{border-left-width:5px} |
|
676 |
.rx1,.rxr1{border-right-width:5px} |
|
677 |
.rx2,.rxl2{border-left-width:3px} |
|
678 |
.rx2,.rxr2{border-right-width:3px} |
|
679 |
.re2,.rel2,.ra1,.ral1,.rx3,.rxl3,.rxs1,.rxsl1{border-left-width:2px} |
|
680 |
.re2,.rer2,.ra1,.rar1,.rx3,.rxr3,.rxs1,.rxsr1{border-right-width:2px} |
|
681 |
.rxl1,.rxl2,.rxl3,.rxl4,.rxsl1,.rxsl2,.ral1,.ral2,.ral3,.ral4,.rasl1,.rasl2{border-right-width:0} |
|
682 |
.rxr1,.rxr2,.rxr3,.rxr4,.rxsr1,.rxsr2,.rar1,.rar2,.rar3,.rar4,.rasr1,.rasr2{border-left-width:0} |
|
683 |
.r4,.rl4,.rr4,.re4,.rel4,.rer4,.ra4,.rar4,.ral4,.rx4,.rxl4,.rxr4{height:2px} |
|
684 |
.rer1,.rel1,.re1,.res1,.resl1,.resr1{border-width:1px 0 0;height:0px !important;height /**/:1px} |
usr/local/www/themes/_orange-flow/bottom-loader.js | ||
---|---|---|
1 |
<!-- |
|
2 |
|
|
3 |
NiftyCheck(); |
|
4 |
Rounded("div#niftyMenu","top bottom","#FFFFFF","#000000","smooth"); |
|
5 |
Rounded("div#mainarea","bl br tr","#FFF","#eeeeee","smooth"); |
|
6 |
Rounded("div#boxarea","bl br tl tr","#FFF","#eeeeee","smooth"); |
|
7 |
Rounded("tr#fend","bl br tl tr","#FFF","#990000","smooth"); |
|
8 |
Rounded("div#topbox","all","#FFF","#990000","smooth"); |
|
9 |
|
|
10 |
//--> |
usr/local/www/themes/_orange-flow/javascript/ie7/ie7-box-model.js | ||
---|---|---|
1 |
/* IE7 version 0.7.3 (alpha) 2004/09/18 */ |
|
2 |
if(window.IE7)IE7.addModule("ie7-box-model",function(){var NUMERIC="\x5cs*:\x5cs*\x5cd[\x5cw%]*",UNIT=/^\d\w*$/,PERCENT=/^\d+%$/,PIXEL=/^\d+(px)?$/;var MATCH=(appVersion<6)?/\b(min|max)-(width|height)\s*:\s*\d/gi:/\b(min|max)-width\s*:\s*\d/gi;var AUTO=(appVersion<5.5)?/^auto|0cm$/:/^auto$/;var ie7_tmp=tmpElement();push(IE7.recalcs,function removeTempElement(){if(ie7_tmp.parentElement)ie7_tmp.parentElement.removeChild(ie7_tmp)});CSSFixes.addFix(MATCH,function(match){return match.slice(0,3)+match.charAt(4).toUpperCase()+match.slice(5)});var viewport=(quirksMode)?document.body:documentElement;function isFixed(element){return element.style.position=="fixed"||element.currentStyle.position=="fixed"};function layoutParent(element){var layoutParent=element.offsetParent;while(layoutParent&&!hasLayout(layoutParent))layoutParent=layoutParent.offsetParent;if(!layoutParent||isFixed(element))layoutParent=viewport;return layoutParent};function fixWidth(HEIGHT){fixWidth=function(element,value){if(!element.runtimeStyle.fixedWidth&&(!isHTML||element.tagName!="HR")){if(!value)value=element.currentStyle.width;element.runtimeStyle.fixedWidth=(UNIT.test(value))?Math.max(0,getFixedWidth(element,value)):value;element.runtimeStyle.width=element.runtimeStyle.fixedWidth;boxSizing(element)}};if(quirksMode)CSSFixes.addRecalc("width\x5cs*:\x5cs*\x5cd\x5cw*[^%]",fixWidth);var getFixedWidth=(quirksMode)?function(element,value){return getPixelWidth(element,value)+getBorderWidth(element)+getPaddingWidth(element)}:function(element,value){return getPixelWidth(element,value)};function getBorderWidth(element){return element.offsetWidth-element.clientWidth};function getPaddingWidth(element){return getPixelWidth(element,element.currentStyle.paddingLeft)+getPixelWidth(element,element.currentStyle.paddingRight)};function getMarginWidth(element){return((element.currentStyle.marginLeft=="auto")?0:getPixelLeft(element,element.currentStyle.marginLeft))+((element.currentStyle.marginRight=="auto")?0:getPixelLeft(element,element.currentStyle.marginRight))};function minWidth(element){minWidth[minWidth.count++]=element;if(element.currentStyle.minHeight=="auto")element.runtimeStyle.minHeight=0;fixWidth(element);boxSizing(element);resizeWidth(element)};minWidth.count=0;CSSFixes.addRecalc("min-width"+NUMERIC,minWidth);eval(String(minWidth).replace(/min/g,"max"));maxWidth.count=0;CSSFixes.addRecalc("max-width"+NUMERIC,maxWidth);function resizeWidth(element){var rect=element.getBoundingClientRect();var width=rect.right-rect.left;if(element.currentStyle.maxWidth&&width>=getFixedWidth(element,element.currentStyle.maxWidth))element.runtimeStyle.width=getFixedWidth(element,element.currentStyle.maxWidth);else if(element.currentStyle.minWidth&&width<=getFixedWidth(element,element.currentStyle.minWidth))element.runtimeStyle.width=getFixedWidth(element,element.currentStyle.minWidth);else element.runtimeStyle.width=element.runtimeStyle.fixedWidth};function fixRight(element){if((element.currentStyle.position=="absolute"||element.currentStyle.position=="fixed")&&element.currentStyle.left!="auto"&&element.currentStyle.right!="auto"&&AUTO.test(element.currentStyle.width)){fixRight[fixRight.count++]=element;boxSizing(element);resizeRight(element)}};fixRight.count=0;CSSFixes.addRecalc("right"+NUMERIC,fixRight);function resizeRight(element){element.runtimeStyle.width="";var parentElement=layoutParent(element);var left=(element.runtimeStyle.screenLeft)?element.getBoundingClientRect().left-2:getPixelLeft(element,element.currentStyle.left);var width=parentElement.clientWidth-getPixelLeft(element,element.currentStyle.right)-left-getMarginWidth(element);if(!quirksMode)width-=getBorderWidth(element)+getPaddingWidth(element);if(width<0)width=0;if(isFixed(element)||HEIGHT||element.offsetWidth<width){element.runtimeStyle.fixedWidth=width;element.runtimeStyle.width=width}};var clientWidth=documentElement.clientWidth;addEventHandler(window,"onresize",function(){var i,wider=(clientWidth<documentElement.clientWidth);clientWidth=documentElement.clientWidth;for(i=0;i<minWidth.count;i++){var element=minWidth[i];var fixedWidth=(element.runtimeStyle.width==element.currentStyle.minWidth);if(wider&&fixedWidth)element.runtimeStyle.width="";if(wider==fixedWidth)resizeWidth(element)}for(i=0;i<maxWidth.count;i++){var element=maxWidth[i];var fixedWidth=(element.runtimeStyle.width==element.currentStyle.maxWidth);if(!wider&&fixedWidth)element.runtimeStyle.width="";if(wider!=fixedWidth)resizeWidth(element)}for(i=0;i<fixRight.count;i++)resizeRight(fixRight[i]);removeTempElement()});function getPixelWidth(element,value){if(PIXEL.test(value))return parseInt(value);if(PERCENT.test(value))return parseInt(parseFloat(value)/100*layoutParent(element).clientWidth);var parentElement=(element.canHaveChildren)?element:element.parentElement;parentElement.appendChild(ie7_tmp);ie7_tmp.style.width=value;return ie7_tmp.offsetWidth};function getPixelLeft(element,value){if(parseInt(value)>0)return getPixelWidth(element,value);if(PIXEL.test(value))return parseInt(value);element.parentElement.appendChild(ie7_tmp);ie7_tmp.style.left=value;return ie7_tmp.offsetLeft}};eval(String(fixWidth).replace(/Width/g,"Height").replace(/width/g,"height").replace(/Left/g,"Top").replace(/left/g,"top").replace(/Right/g,"Bottom").replace(/right/g,"bottom"));fixWidth();fixHeight(true)}); |
usr/local/www/themes/_orange-flow/javascript/ie7/ie7-core.js | ||
---|---|---|
1 |
/* IE7 version 0.7.3 (alpha) 2004/09/18 */ |
|
2 |
if(!window.IE7)new function(){try{window.IE7=this;var DUMMY=this.addModule=new Function;function unHide(){if(document.body)document.body.style.visibility="visible"};this.toString=function(){return "IE7 version 0.7.3 (alpha)"};var alert=(/ie7_debug/.test(location.search))?function(message){window.alert(IE7+"\n\n"+message)}:DUMMY;var appVersion=navigator.appVersion.match(/MSIE (\d\.\d)/)[1];if(/ie7_off/.test(location.search)||appVersion<5||!/^ms_/.test(document.documentElement.uniqueID))return unHide();var quirksMode=Boolean(document.compatMode!="CSS1Compat");var isHTML=(typeof document.mimeType=="unknown")?!/\.xml$/i.test(location.pathname):Boolean(document.mimeType!="XML Document");var LINKS=":link{ie7-link:link}:visited{ie7-link:visited}";var HEADER=LINKS;if(!isHTML)HEADER+="*{margin:0}";var HTMLFixes;var documentElement=document.documentElement;var modules={};this.addModule=function(name,script,autoload){if(!modules)return;if(loaded)eval("script="+String(script));if(autoload){script();script=DUMMY}modules[name]=script};var RELATIVE=/^[\w\.]+[^:]*$/;function makePath(href,path){if(RELATIVE.test(href))href=(path||"")+href;return href};function getPath(href,path){href=makePath(href,path);return href.slice(0,href.lastIndexOf("/")+1)};var path=getPath(document.scripts[document.scripts.length-1].src);var httpRequest=new ActiveXObject("Microsoft.XMLHTTP");function load(href,path){try{href=makePath(href,path);httpRequest.open("GET",href,false);httpRequest.send();return httpRequest.responseText}catch(ignore){alert("Error [1]: could not load file "+href);return ""}};var push=function(array,item){return array.push(item)};var pop=function(array){return array.pop()};if(appVersion<5.5)eval(load("ie7-ie5.js",path));if(document.readyState=="complete"||!isHTML)document.createStyleSheet();else document.write("<style></style>");this.styleSheet=document.styleSheets[document.styleSheets.length-1];this.styleSheet.cssText=LINKS;this.styleSheet.ie7=true;var cssText={};function loadStyleSheet(styleSheet,path){var url=makePath(styleSheet.href,path);if(cssText[url])return "";cssText[url]=(styleSheet.disabled)?"":fixUrls(getCSSText(styleSheet,path),getPath(styleSheet.href,path));return cssText[url]};var getCSSText=function(styleSheet){return styleSheet.cssText};var URL=/(url\(['"]?)([\w\.]+[^:\)]*['"]?\))/gi;function fixUrls(cssText,pathname){return cssText.replace(URL,"$1"+pathname.slice(0,pathname.lastIndexOf("/")+1)+"$2")};this.recalcs=[];this.parse=DUMMY;var complete=false;function _load(){try{complete=true;var MEDIA=/\bscreen\b|\ball\b|^$/i;var styleSheets=document.styleSheets;var inlineStyles=[];var styles=document.getElementsByTagName("style");for(var i=styles.length-1;i>=0;i--){push(inlineStyles,/ie7-link/.test(styles[i].innerHTML)?"":styles[i].innerHTML)}function getCSSText(styleSheet,path){var cssText="";if(MEDIA.test(styleSheet.media)){for(var i=0;i<styleSheet.imports.length;i++){cssText+=arguments.callee(styleSheet.imports[i],getPath(styleSheet.href,path))}cssText+=((styleSheet.href)?loadStyleSheet(styleSheet,path):pop(inlineStyles))}return cssText};IE7.cssText="";for(i=0;i<styleSheets.length;i++)IE7.cssText+=getCSSText(styleSheets[i],"");IE7.cssText=encode(IE7.cssText);for(i in modules)modules[i]();delete modules;if(HTMLFixes)HTMLFixes.apply();CSSFixes.apply();IE7.parse();IE7.styleSheet.cssText=HEADER+decode(IE7.cssText);for(i=0;i<styleSheets.length;i++){if(!styleSheets[i].disabled&&!styleSheets[i].ie7)styleSheets[i].cssText=""}IE7.recalc();alert("loaded successfully")}catch(error){alert("Error [2]: "+error.description)}finally{unHide()}};this.recalc=function(){CSSFixes.recalc();for(var i=0;i<this.recalcs.length;i++)this.recalcs[i]()};var CSSFixes=new function(){var fixes=[];this.addFix=function(){push(fixes,arguments)};var recalcs=[];this.addRecalc=function(pattern,fix){var reg=new RegExp("([^{}]*)\x5c{([^}]*[^\x5cw-])?"+pattern,"gi");var cssText=IE7.cssText;pattern=[];while(match=reg.exec(cssText)){push(pattern,match[1]);if(appVersion<5.5)cssText=cssText.slice(match.lastIndex)}if(pattern.length){pattern=pattern.toString();push(recalcs,arguments)}};this.apply=function(){for(var i=0;i<fixes.length;i++){IE7.cssText=IE7.cssText.replace(fixes[i][0],fixes[i][1])}this.addRecalc("box-sizing\x5cs*:\x5cs*content-box",boxSizing);this.addRecalc("position\x5cs*:\x5cs*absolute",function(element){if(element.offsetParent.currentStyle.position=="relative")boxSizing(element.offsetParent)})};this.recalc=function(){for(var i=0;i<recalcs.length;i++){var elements=cssQuery(recalcs[i][0]);for(var j=0;j<elements.length;j++)recalcs[i][1](elements[j])}};this.addFix(/(float\s*:\s*(left|right))/gi,"display:inline;$1");if(appVersion<6)this.addFix(/display\s*:\s*list-item/gi,"display:block");if(quirksMode){var SIZES="xx-small,x-small,small,medium,large,x-large,xx-large".split(",");for(var i=0;i<SIZES.length;i++)SIZES[SIZES[i]]=SIZES[i-1]||"xx-small";function replace($,$1,$2,$3){return $1+SIZES[$3]};this.addFix(new RegExp("(font(-size)?\x5cs*:\x5cs*)("+SIZES.join("|")+")","gi"),replace)}};var STANDARD_SELECT=/^[^>\+~\s]/;var STREAM=/[\s>\+~:@#\.\(\)]|[^\s>\+~:@#\.\(\)]+/g;var NAMESPACE=/\|/;var IMPLIED_SELECTOR=/([\s>~\,]|[^(]\+|^)([\.:#@])/g;var ASTERISK="$1*$2";var cssCache={};function cssQuery(selector,from){var useCache=!from;var base=(from)?(from.constructor==Array)?from:[from]:[document];var selectors=selector.replace(IMPLIED_SELECTOR,ASTERISK).split(",");var match=[];for(var i=0;i<selectors.length;i++){selector=toStream(selectors[i]);if(selector.slice(0,3).join("")==" *#"){selector=selector.slice(2);from=selectById(base,selector[1])}else from=base;var j=0,token,filter,filterArgs,cacheSelector="";while(j<selector.length){token=selector[j++];filter=selector[j++];cacheSelector+=token+filter;filterArgs="";if(selector[j]=="("){while(selector[j++]!=")")filterArgs+=selector[j];filterArgs=filterArgs.slice(0,-1);cacheSelector+="("+filterArgs+")"}from=(useCache&&cssCache[cacheSelector])?cssCache[cacheSelector]:select(from,token,filter,filterArgs);if(useCache)cssCache[cacheSelector]=from}match=match.concat(from)}return match};function toStream(selector){if(STANDARD_SELECT.test(selector))selector=" "+selector;return selector.match(STREAM)};function select(from,token,filter,filterArgs){var scopeName="";if(NAMESPACE.test(filter)){filter=filter.split("|");scopeName=filter[0];filter=filter[1]}var filtered=[];if(selectors[token])selectors[token](filtered,from,filter,scopeName||filterArgs);return filtered};function selectById(from,id){var filtered=[],i,j;for(i=0;i<from.length;i++){var match=from[i].all.item(id);if(match){if(match.length==null)push(filtered,match);else for(j=0;j<match.length;j++)push(filtered,match[j])}}return filtered};var selectors={" ":function(filtered,from,filter,scopeName){for(var i=0;i<from.length;i++){var subset=(filter=="*"&&from[i].all)?from[i].all:from[i].getElementsByTagName(filter);for(var j=0;j<subset.length;j++){if(isElement(subset[j])&&(!scopeName||subset[j].scopeName==scopeName))push(filtered,subset[j])}}},"#":function(filtered,from,filter){for(var i=0;i<from.length;i++)if(from[i].id==filter)push(filtered,from[i])},".":function(filtered,from,filter){filter=new RegExp("(^|\x5cs)"+filter+"(\x5cs|$)");for(var i=0;i<from.length;i++)if(filter.test(from[i].className))push(filtered,from[i])},":":function(filtered,from,filter,filterArgs){filter=pseudoClasses[filter];if(filter)for(var i=0;i<from.length;i++)if(filter(from[i],filterArgs))push(filtered,from[i])}};var attributeTests="";var pseudoClasses={toString:function(){var toString=[];for(var pseudoClass in this){if(pseudoClass!="link"&&pseudoClass!="visited"){if(this[pseudoClass].length>1)pseudoClass+="\x5c([^)]*\x5c)";push(toString,pseudoClass)}}return toString.join("|")},"link":function(element){return Boolean(element.currentStyle["ie7-link"]=="link")},"visited":function(element){return Boolean(element.currentStyle["ie7-link"]=="visited")}};var dynamicPseudoClasses={toString:pseudoClasses.toString};function compareTagName(element,tagName,scopeName){if(scopeName&&element.scopeName!=scopeName)return false;return(tagName=="*")?isElement(element):(isHTML)?(element.tagName==tagName.toUpperCase()):(element.tagName==tagName)};var strings=[];function getString(string){return QUOTED.test(string)?strings[string.slice(1,-1)]:string};var encode=function(cssText){return cssText.replace(/(\x2f\*[^\*]*\*+([^\x2f][^\*]*\*+)*\x2f)|('[^']*')|("[^"]*")/g,function(match){return(match.charAt(0)=="/")?"":"'"+(push(strings,match.slice(1,-1))-1)+"'"}).replace(/@(namespace|import)[^;\n]+[;\n]|<!\-\-|\-\->/g,"").replace(/\x5c:/g,"|").replace(/^\s+|\s*([\{\}\+\,>~\s;])\s*|\s+$/g,"$1")};function decode(cssText){return cssText.replace(/\|/g,"\x5c:").replace(/'(\d+)'/g,function(match,key){return strings[key]})};var handlers=[];function addEventHandler(element,type,handler){element.attachEvent(type,handler);push(handlers,arguments)};function removeEventHandler(element,type,handler){try{element.detachEvent(type,handler)}catch(ignore){}};window.attachEvent("onbeforeunload",function(){while(handlers.length){var handler=pop(handlers);removeEventHandler(handler[0],handler[1],handler[2])}});var hasLayout=(appVersion<6)?function(element){return element.clientWidth}:function(element){return element.currentStyle.hasLayout};function boxSizing(element){if(!hasLayout(element)){element.contentEditable=false;fixMargins(firstChildElement(element))}};function fixMargins(element){while(element){element.runtimeStyle.marginTop=element.currentStyle.marginTop;element=nextElement(element)}};var QUOTED=/('[^']*')|("[^"]*")/;function quote(value){return(QUOTED.test(value))?value:"'"+value+"'"};function unquote(value){return(QUOTED.test(value))?value.slice(1,-1):value};function tmpElement(tagName){var element=document.createElement(tagName||"object");element.style.cssText="position:absolute;padding:0;display:block;border:none;clip:rect(0 0 0 0);left:-9999";return element};function isElement(node){return Boolean(node&&node.nodeType==1&&node.tagName!="!"&&!node.ie7_anon)};function previousElement(element){while(element&&(element=element.previousSibling)&&!isElement(element))continue;return element};function nextElement(element){while(element&&(element=element.nextSibling)&&!isElement(element))continue;return element};function firstChildElement(element){element=element.firstChild;return(isElement(element))?element:nextElement(element)};var loaded=true;if(document.readyState=="complete")_load();else addEventHandler(document,"onreadystatechange",function(){if(!complete&&document.readyState=="complete")setTimeout(_load,0)})}catch(error){unHide();alert("Error [0]: "+error.description)}finally{}}(); |
usr/local/www/themes/_orange-flow/javascript/ie7/ie7-css-strict.js | ||
---|---|---|
1 |
/* IE7 version 0.7.3 (alpha) 2004/09/18 */ |
|
2 |
if(window.IE7)IE7.addModule("ie7-strict",function(){if(!modules["ie7-css2"])return;var NONE=[],ID=/#/g,CLASS=/[:@\.]/g,TAG=/^\w|[\s>+~]\w/g;IE7.parser.parse=function(cssText){var DYNAMIC=new RegExp("(.*):("+dynamicPseudoClasses+")(.*)");function addRule(selector,cssText){var match=selector.match(DYNAMIC);if(match)new DynamicRule(selector,match[1],match[2],match[3],cssText);else new Rule(selector,cssText)};cssText=cssText.replace(IE7.PseudoElement.ALL,IE7.PseudoElement.ID);var RULE=/([^\{]+)\{(\d+)\}/g,match;while(match=RULE.exec(cssText)){addRule(match[1],match[2]);if(appVersion<5.5)cssText=cssText.slice(match.lastIndex)}IE7.classes.sort(Rule.compare);return IE7.classes.join("\n")};function Rule(selector,cssText){this.cssText=cssText;this.specificity=Rule.score(selector);this.inherit=IE7.Class;this.inherit(selector)};Rule.prototype=new IE7.Class.ancestor;Rule.prototype.toString=function(){return "."+this.name+"{"+this.cssText+"}"};Rule.score=function(selector){return(selector.match(ID)||NONE).length*10000+(selector.match(CLASS)||NONE).length*100+(selector.match(TAG)||NONE).length};Rule.compare=function(rule1,rule2){return rule1.specificity-rule2.specificity};function DynamicRule(selector,attach,dynamicPseudoClass,target,cssText){this.cssText=cssText;this.specificity=Rule.score(selector);this.inherit=IE7.DynamicStyle;this.inherit(selector,attach,dynamicPseudoClass,target)};DynamicRule.prototype=new IE7.DynamicStyle.ancestor;DynamicRule.prototype.toString=Rule.prototype.toString}); |
usr/local/www/themes/_orange-flow/javascript/ie7/ie7-css2.js | ||
---|---|---|
1 |
/* IE7 version 0.7.3 (alpha) 2004/09/18 */ |
|
2 |
if(window.IE7)IE7.addModule("ie7-css2",function(){var CHILD=/>/g,ANCHOR=/(\ba(\.[\w-]+)?)$/i;IE7.classes=[];IE7.parser=new Parser;IE7.Class=Class;IE7.DynamicStyle=DynamicStyle;IE7.PseudoElement=PseudoElement;IE7.parse=function(){with(this.parser)this.cssText=decode(parse(encode(this.cssText)));for(var i=0;i<IE7.classes.length;i++)IE7.classes[i].exec();for(i=0;i<pseudoElements.length;i++)pseudoElements[i].create()};getCSSText=function(styleSheet,path){return load(styleSheet.href,path)};var encoded=[];function Parser(){this.parse=function(cssText){Class.ALL=new RegExp("[^},\x5cs]*([>+~][^:@,\x5cs{]+|:("+pseudoClasses+")|\x5c.[\x5cw-]+\x5c.[\x5cw-.]+|@[@\x5cd]+)","g");Class.COMPLEX=new RegExp("[^\x5cs(]+[+~]|@\x5cd+|:(link|visited|"+pseudoClasses+"|"+dynamicPseudoClasses+")|\x5c.[\x5cw-.]+","g");DynamicStyle.ALL=new RegExp("([^}]*):("+dynamicPseudoClasses+")([^{]*)","g");return cssText.replace(PseudoElement.ALL,PseudoElement.ID).replace(DynamicStyle.ALL,DynamicStyle.ID).replace(Class.ALL,Class.ID)};this.encode=function(cssText){AttributeSelector.ALL=new RegExp("\x5c[([^"+attributeTests+"=\x5c]]+)(["+attributeTests+"]?=?)([^\x5c]]+)?\x5c]","g");return cssText.replace(AttributeSelector.ALL,AttributeSelector.ID).replace(/\{[^\}]*\}/g,function($){return "{"+(push(encoded,$)-1)+"}"}).replace(/::/g,":").replace(/([^\}\s]*\,[^\{]*)(\{\d+\})/g,function(match,left,right){return left.split(",").join(right)+right})};this.decode=function(cssText){return cssText.replace(/\{(\d+)\}/g,function($,$1){return encoded[$1]})}};function _Class(){this.toString=function(){return "."+this.name};this.add=function(element){element.className+=" "+this.name};this.remove=function(element){element.className=element.className.replace(this.MATCH,"")};this.exec=function(){var match=cssQuery(this.selector);for(var i=0;i<match.length;i++)this.add(match[i])}};function Class(selector,cssText){this.id=IE7.classes.length;this.name=Class.PREFIX+this.id;this.selector=selector;this.MATCH=new RegExp("\x5cs"+this.name+"\x5cb","g");push(IE7.classes,this)};Class.ancestor=_Class;Class.prototype=new _Class;Class.PREFIX="ie7_";Class.ID=function(match){return simpleSelector(match)+new Class(match)};function _DynamicStyle(){this.exec=function(){var match=cssQuery(this.attach);for(var i=0;i<match.length;i++){var target=(this.target)?cssQuery(this.target,match[i]):[match[i]];if(target)this.dynamicPseudoClass(match[i],target,this)}}};_DynamicStyle.prototype=new _Class;function DynamicStyle(selector,attach,dynamicPseudoClass,target){this.attach=attach;this.dynamicPseudoClass=dynamicPseudoClasses[dynamicPseudoClass];this.target=target;this.inherit=Class;this.inherit(selector)};DynamicStyle.ancestor=_DynamicStyle;DynamicStyle.prototype=new _DynamicStyle;DynamicStyle.ID=function(match,attach,dynamicPseudoClass,target){if(isHTML&&dynamicPseudoClass!="focus"&&ANCHOR.test(attach)&&!/[+>~]/.test(target))return match;return simpleSelector(match)+new DynamicStyle(match,attach,dynamicPseudoClass,target)};HEADER+=".ie7_anon{vertical-align:top;display:inline}";var HEX=/\x5c([a-fA-F\d]+)/g;function unicode(match,code){return eval("'\x5cu"+"0000".slice(code.length)+code+"'")};var pseudoElements=[];function _PseudoElement(){this.content=null;this.toString=function(){return ""};this.specificity=0;function addTimer(object,content,cssText){var timer=setInterval(function(){try{if(!object.load)return;object.load(object,content,cssText);clearInterval(timer)}catch(ignore){clearInterval(timer)}},10)};this.create=function(){if(this.content==null)return;for(var i=0;i<this.match.length;i++){var target=this.match[i];var pseudoElement=target.runtimeStyle[this.position];if(pseudoElement){var parentElement=target.canHaveChildren?target:target.parentElement;var isURL=/^url\(.*\)$/.test(this.content);var element=document.createElement(isURL?PseudoElement.OBJECT:"!");element.ie7_anon=true;element.runtimeStyle.cssText=pseudoElement.cssText;if(!isURL)element.innerText=pseudoElement.content;if(this.position=="before"){parentElement.insertBefore(element,parentElement.firstChild)}else{parentElement.appendChild(element)}if(isURL)addTimer(element,pseudoElement.content,pseudoElement.cssText);target.runtimeStyle[this.position]=null}}};this.exec=function(){this.match=cssQuery(this.selector);for(var i=0;i<this.match.length;i++){var runtimeStyle=this.match[i].runtimeStyle;if(!runtimeStyle[this.position])runtimeStyle[this.position]={cssText:""};runtimeStyle[this.position].cssText+=";"+this.cssText;if(this.content!=null)runtimeStyle[this.position].content=this.content}}};_PseudoElement.prototype=new _Class;function PseudoElement(selector,position,cssText){this.position=position;this.cssText=encoded[cssText].slice(1,-1);var content=this.cssText.match(PseudoElement.CONTENT);if(content)this.content=getString(content[1]).replace(HEX,unicode);this.inherit=Class;this.inherit(selector);push(pseudoElements,this)};PseudoElement.ancestor=_PseudoElement;PseudoElement.prototype=new _PseudoElement;PseudoElement.ID=function(match,selector,position,cssText){return new PseudoElement(selector,position,cssText)};PseudoElement.ALL=/([^}]*):(before|after)[^{]*\{([^}]*)\}/g;PseudoElement.CONTENT=/content\s*:\s*([^;]*)(;|$)/;PseudoElement.OBJECT="<object class=ie7_anon data='"+makePath("ie7-content.htm",path)+"' width=100% height=0 type=text/x-scriptlet>";selectors[">"]=function(filtered,from,filter,scopeName){for(var i=0;i<from.length;i++){var subset=from[i].children;for(var j=0;j<subset.length;j++)if(compareTagName(subset[j],filter,scopeName))push(filtered,subset[j])}};selectors["+"]=function(filtered,from,filter,scopeName){for(var i=0;i<from.length;i++){var adjacent=nextElement(from[i]);if(adjacent&&compareTagName(adjacent,filter,scopeName))push(filtered,adjacent)}};selectors["@"]=function(filtered,from,filter){filter=attributeSelectors[filter];for(var i=0;i<from.length;i++)if(filter(from[i]))push(filtered,from[i])};pseudoClasses["first-child"]=function(element){return!previousElement(element)};pseudoClasses["lang"]=function(element,filterArgs){filterArgs=new RegExp("^"+filterArgs,"i");while(element&&!element.getAttribute("lang"))element=element.parentNode;return element&&filterArgs.test(element.getAttribute("lang"))};dynamicPseudoClasses.hover=function(element){var instance=arguments;addEventHandler(element,"onmouseover",function(){IE7.Event.hover.register(instance)});addEventHandler(element,"onmouseout",function(){IE7.Event.hover.unregister(instance)})};dynamicPseudoClasses.active=function(element){var instance=arguments;addEventHandler(element,"onmousedown",function(){IE7.Event.active.register(instance)})};dynamicPseudoClasses.focus=function(element){var instance=arguments;addEventHandler(element,"onfocus",function(){IE7.Event.focus.register(instance)});addEventHandler(element,"onblur",function(){IE7.Event.focus.unregister(instance)});if(element==document.activeElement){IE7.Event.focus.register(instance)}};addEventHandler(document,"onmouseup",function(){var ie7Event=IE7.Event.active;var instances=ie7Event.instances,i;for(i in instances)ie7Event.unregister(instances[i]);ie7Event=IE7.Event.hover;instances=ie7Event.instances;for(i in instances)if(!instances[i][0].contains(event.srcElement))ie7Event.unregister(instances[i])});var attributeSelectors=[];var ESCAPE=/([/()[\]?{}|*+])/g;function AttributeSelector(attribute,compare,value){value=getString(value);this.id=attributeSelectors.length;switch(attribute.toLowerCase()){case "id":attribute="element.id.replace(/ms_\x5cd+/g,'')";break;case "class":attribute="element.className.replace(/\x5cb\x5cs*ie7_\x5cd+/g,'')";break;default:attribute="element.getAttribute('"+attribute+"')"}compare=attributeTests[compare];push(attributeSelectors,new Function("element","return "+compare(attribute,value)))};AttributeSelector.ID=function(match,attribute,compare,value){return new AttributeSelector(attribute,compare,value)};AttributeSelector.prototype.toString=function(){return AttributeSelector.PREFIX+this.id};attributeTests={toString:function(){var toString=[];for(var i in this)if(i&&i!="escape")push(toString,i);return toString.join("").replace(/=/g,"")},escape:function(value){return value.replace(ESCAPE,"\x5c$1")},"":function(attribute){return attribute},"=":function(attribute,value){return attribute+"=="+quote(value)},"~=":function(attribute,value){return "/(^|\x5cs)"+attributeTests.escape(value)+"(\x5cs|$)/.test("+attribute+")"},"|=":function(attribute,value){return "/^"+attributeTests.escape(value)+"(-|$)/.test("+attribute+")"}};AttributeSelector.PREFIX="@";function _ie7Event(){this.register=function(instance){var element=instance[0];var target=instance[1];var Class=instance[2];for(var i=0;i<target.length;i++)Class.add(target[i]);this.instances[Class.id+element.uniqueID]=instance};this.unregister=function(instance){var element=instance[0];var target=instance[1];var Class=instance[2];for(var i=0;i<target.length;i++)Class.remove(target[i]);delete this.instances[Class.id+element.uniqueID]}};IE7.Event=function(type){this.type=type;this.instances={};IE7.Event[type]=this};IE7.Event.prototype=new _ie7Event;new IE7.Event("hover");new IE7.Event("active");new IE7.Event("focus");function simpleSelector(selector){return selector.replace(Class.COMPLEX,"").replace(CHILD," ")}},true); |
usr/local/www/themes/_orange-flow/javascript/ie7/ie7-css3.js | ||
---|---|---|
1 |
/* IE7 version 0.7.3 (alpha) 2004/09/18 */ |
|
2 |
if(window.IE7)IE7.addModule("ie7-css3",function(){if(!modules["ie7-css2"])return;selectors["~"]=function(filtered,from,filter,scopeName){for(var i=0;i<from.length;i++){var adjacent=from[i];while(adjacent=nextElement(adjacent)){if(adjacent&&compareTagName(adjacent,filter,scopeName))push(filtered,adjacent)}}};var documentElement=(isHTML)?document.documentElement:firstChildElement(document.body);pseudoClasses["root"]=function(element){return Boolean(element==documentElement||element==document.body)};pseudoClasses["empty"]=function(element){return!firstChildElement(element)&&!element.innerText};pseudoClasses["last-child"]=function(element){return!nextElement(element)};pseudoClasses["only-child"]=function(element){return(element.parentNode&&childElements(element.parentNode).length==1)};pseudoClasses["nth-child"]=function(element,filterArgs,step){return nthChild(element,filterArgs,previousElement)};pseudoClasses["nth-last-child"]=function(element,filterArgs){return nthChild(element,filterArgs,nextElement)};function nthChild(element,filterArgs,traverse){switch(filterArgs){case "n":return true;case "even":filterArgs="2n";break;case "odd":filterArgs="2n+1"}var children=childElements(element.parentNode);function checkIndex(index){index=(traverse==nextElement)?children.length-index:index-1;return children[index]==element};if(!isNaN(filterArgs))return checkIndex(filterArgs);filterArgs=filterArgs.split("n");var multiplier=parseInt(filterArgs[0]);var step=parseInt(filterArgs[1]);if(isNaN(multiplier)||(multiplier==1))return true;if(multiplier==0&&!isNaN(step))return checkIndex(step);if(isNaN(step))step=0;var count=1;while(element=traverse(element))count++;return((count%multiplier)==step)};function childElements(element){var childElements=[],i;for(i=0;i<element.childNodes.length;i++){if(isElement(element.childNodes[i]))push(childElements,element.childNodes[i])}return childElements};attributeTests["^="]=function(attribute,value){return "/^"+attributeTests.escape(value)+"/.test("+attribute+")"};attributeTests["$="]=function(attribute,value){return "/"+attributeTests.escape(value)+"$/.test("+attribute+")"};attributeTests["*="]=function(attribute,value){return "/"+attributeTests.escape(value)+"/.test("+attribute+")"}}); |
usr/local/www/themes/_orange-flow/javascript/ie7/ie7-fixed.js | ||
---|---|---|
1 |
/* IE7 version 0.7.3 (alpha) 2004/09/18 */ |
|
2 |
if(window.IE7)IE7.addModule("ie7-fixed",function(){var PERCENT=/^\d+%$/;CSSFixes.addRecalc("position\x5cs*:\x5cs*fixed",positionFixed);CSSFixes.addRecalc("background[\x5cw\x5cs-]*:[^};]*fixed",backgroundFixed);var body=document.body;var viewport$=(quirksMode)?"body":"documentElement";var viewport=eval(viewport$);function fixBackground(){if(body.currentStyle.backgroundAttachment!="fixed"){if(body.currentStyle.backgroundImage=="none"){body.runtimeStyle.backgroundImage="url("+location.protocol+")"}body.runtimeStyle.backgroundAttachment="fixed"}fixBackground=DUMMY};var ie7_tmp=tmpElement("img");function topFunction(leftFunction){return String(leftFunction).replace(/Left/g,"Top").replace(/left/g,"top").replace(/Width/g,"Height").replace(/X/g,"Y")};function backgroundFixed(element){if(element.currentStyle.backgroundAttachment!="fixed")return;if(!element.contains(body)){fixBackground();backgroundFixed[backgroundFixed.count++]=element;backgroundLeft(element);backgroundTop(element);backgroundPosition(element)}};backgroundFixed.count=0;function backgroundPosition(element){ie7_tmp.src=element.currentStyle.backgroundImage.slice(5,-2);var parentElement=(element.canHaveChildren)?element:element.parentElement;parentElement.appendChild(ie7_tmp);setOffsetLeft(element);setOffsetTop(element);parentElement.removeChild(ie7_tmp)};function backgroundLeft(element){element.style.backgroundPositionX=element.currentStyle.backgroundPositionX;if(!isFixed(element)){var expression="(parseInt(runtimeStyle.offsetLeft)+document."+viewport$+".scrollLeft)||0";element.runtimeStyle.setExpression("backgroundPositionX",expression)}};eval(topFunction(backgroundLeft));function setOffsetLeft(element){var propertyName=isFixed(element)?"backgroundPositionX":"offsetLeft";element.runtimeStyle[propertyName]=getOffsetLeft(element,element.style.backgroundPositionX)-element.getBoundingClientRect().left-element.clientLeft};eval(topFunction(setOffsetLeft));function isFixed(element){if(!element)return false;if(element.style.position=="fixed"||element.currentStyle.position=="fixed")return true;return arguments.callee(element.parentElement)};function getOffsetLeft(element,position){switch(position){case "left":case "top":return 0;case "right":case "bottom":return viewport.clientWidth-ie7_tmp.offsetWidth;case "center":return(viewport.clientWidth-ie7_tmp.offsetWidth)/2;default:if(PERCENT.test(position)){return parseInt((viewport.clientWidth-ie7_tmp.offsetWidth)*parseFloat(position)/100)}ie7_tmp.style.left=position;return ie7_tmp.offsetLeft}};eval(topFunction(getOffsetLeft));function positionFixed(element){if(element.currentStyle.position!="fixed")return;fixBackground();positionFixed[positionFixed.count++]=element;element.style.position="fixed";element.runtimeStyle.position="absolute";foregroundPosition(element)};positionFixed.count=0;function foregroundPosition(element,recalc){positionLeft(element,recalc);positionTop(element,recalc);if(!recalc||element.runtimeStyle.autoTop){if(parseInt(element.currentStyle.bottom)==0)element.runtimeStyle.screenTop++}};function positionLeft(element,recalc){if(!recalc&&PERCENT.test(element.currentStyle.width))element.runtimeStyle.fixWidth=element.currentStyle.width;if(element.runtimeStyle.fixWidth)element.runtimeStyle.width=parseInt(parseFloat(element.runtimeStyle.fixWidth)/100*viewport.clientWidth);if(recalc){if(!element.runtimeStyle.autoLeft)return}else{element.runtimeStyle.autoLeft=element.currentStyle.right!="auto"&&element.currentStyle.left=="auto"}element.runtimeStyle.left="";element.runtimeStyle.screenLeft=getScreenLeft(element);if(element.currentStyle.marginLeft!="auto"){element.parentElement.appendChild(ie7_tmp);ie7_tmp.style.left=element.currentStyle.marginLeft;element.runtimeStyle.screenLeft-=ie7_tmp.offsetLeft;element.parentElement.removeChild(ie7_tmp)}if(isFixed(element.offsetParent))element.runtimeStyle.pixelLeft=element.runtimeStyle.screenLeft;else if(!recalc)element.runtimeStyle.setExpression("pixelLeft","runtimeStyle.screenLeft+document."+viewport$+".scrollLeft")};eval(topFunction(positionLeft).replace(/right/g,"bottom").replace(/width/g,"height"));function getScreenLeft(element){var getScreenLeft=element.offsetLeft,nested=false;var fixed=isFixed(element.offsetParent)&&element.runtimeStyle.autoLeft;while(element=element.offsetParent){if(!fixed&&element.currentStyle.position!="static")nested=true;getScreenLeft+=element.offsetLeft*(nested?-1:1)}return getScreenLeft};eval(topFunction(getScreenLeft));function resize(){for(var i=0;i<backgroundFixed.count;i++)backgroundPosition(backgroundFixed[i]);for(i=0;i<positionFixed.count;i++)foregroundPosition(positionFixed[i],true);timer=0};var timer;addEventHandler(window,"onresize",function(){if(!timer)timer=setTimeout(resize,10)})}); |
usr/local/www/themes/_orange-flow/javascript/ie7/ie7-html4.js | ||
---|---|---|
1 |
/* IE7 version 0.7.3 (alpha) 2004/09/18 */ |
|
2 |
if(window.IE7)IE7.addModule("ie7-html4",function(){if(isHTML)HTMLFixes=new function(){var fixes=[];function fix(element){var fixedElement=document.createElement("<HTML:"+element.outerHTML.slice(1));if(element.outerHTML.slice(-2)!="/>"){var endTag="</"+element.tagName+">",nextSibling;while((nextSibling=element.nextSibling)&&nextSibling.outerHTML!=endTag){element.parentNode.removeChild(nextSibling);fixedElement.appendChild(nextSibling)}if(nextSibling)element.parentNode.removeChild(nextSibling)}element.parentNode.replaceChild(fixedElement,element);return fixedElement};this.add=function(){push(fixes,arguments)};this.apply=function(){try{if(appVersion>5)document.namespaces.add("HTML","http://www.w3.org/1999/xhtml")}catch(ignore){}finally{for(var i=0;i<fixes.length;i++){var elements=cssQuery(fixes[i][0]);for(var j=0;j<elements.length;j++)fixes[i][1](elements[j])}}};this.add("label",function(element){if(!element.htmlFor){var input=cssQuery("input,select,textarea",element)[0];if(input){if(!input.id)input.id=input.uniqueID;element.htmlFor=input.id}}});this.add("abbr",function(element){fix(element);delete cssCache[" abbr"]});this.add("button,input",function(element){if(element.tagName=="BUTTON"){var match=element.outerHTML.match(/ value="([^"]*)"/i);element.runtimeStyle.value=(match)?match[1]:""}if(element.type=="submit"){addEventHandler(element,"onclick",function(){element.runtimeStyle.clicked=true;setTimeout("document.all."+element.uniqueID+".runtimeStyle.clicked=false",1)})}});this.add("form",function(element){var UNSUCCESSFUL=/^(submit|reset|button)$/;addEventHandler(element,"onsubmit",function(){for(var i=0;i<element.length;i++){if(UNSUCCESSFUL.test(element[i].type)&&!element[i].disabled&&!element[i].runtimeStyle.clicked){element[i].disabled=true;setTimeout("document.all."+element[i].uniqueID+".disabled=false",1)}else if(element[i].tagName=="BUTTON"&&element[i].type=="submit"){setTimeout("document.all."+element[i].uniqueID+".value='"+element[i].value+"'",1);element[i].value=element[i].runtimeStyle.value}}})})}},true); |
usr/local/www/themes/_orange-flow/javascript/ie7/ie7-ie5.js | ||
---|---|---|
1 |
/* IE7 version 0.7.3 (alpha) 2004/09/18 */ |
|
2 |
if(isHTML){HEADER+="address,blockquote,body,dd,div,dl,dt,fieldset,form,frame,"+"frameset,h1,h2,h3,h4,h5,h6,iframe,noframes,object,p,applet,center,"+"dir,hr,menu,pre{display:block;height:0cm}li,ol,ul{display:block}"}if(![].push)push=function(array,item){array[array.length]=item;return array.length};if(![].pop)pop=function(array){var item=array[array.length-1];array.length--;return item};if("i".replace(/i/,function(){return""})){var a=String.prototype.replace,b=function(r,w){var m,n="",s=this;while((m=r.exec(s))){n+=s.slice(0,m.index)+w(m[0],m[1],m[2],m[3],m[4]);s=s.slice(m.lastIndex)}return n+s};String.prototype.replace=function(r,w){this.replace=(typeof w=="function")?b:a;return this.replace(r,w)}} |
usr/local/www/themes/_orange-flow/javascript/ie7/ie7-lite-p.js | ||
---|---|---|
1 |
/* IE7 version 0.7.3 (alpha) 2004/09/18 */ |
|
2 |
eval(function(A,r,s,e,n,a,l){s=function(e){return((e<a)?'':s(e/a))+n[l[340]](e%a+161)};while(++r<474)l[r]=(r<378)?'/'+l[r]+'/':'"'+l[r]+'"';while(--r>=0)A=A.replace(new RegExp(s(r),'g'),l[r]);return A}('if(!?.?)? ?(){?{?.?=?;? ??=?.??=? ??;? ??(){if(?.??)?.??.?.??=??};?.?=?(){? ??};? ?=(??.?(??.??))??(??){?.?(?+??+??)}:??;? ?=??.?.?(??)[1];if(??.?(??.??)||?<5||!??.?(?.?.?))? ??();? ?=??(?.??!=??);? ?=(?? ?.??==??)?!??i.?(??.??):??(?.??!=??);? ??=??;? ??=??;if(!?)??+=??;? ??;? ?=?.?;? ?={};?.??=?(??,?,??){if(!?)?;if(??)??(??+??(?));if(??){?();?=??}?[??]=?};? ??=??;? ??(?,?){if(??.?(?))?=(?||??)+?;? ?};? ??(?,?){?=??(?,?);? ?.?(0,?.??(??)+1)};? ?=??(?.??[?.??.?-1].??);? ??=? ??(??);? ?(?,?){?{?=??(?,?);??.??(??,?,?);??.??();? ??.??}?(??){?(??+?);? ??}};? ?=?(??,??){? ??.?(??)};? ??=?(??){? ??.??()};if(?<5.5)??(?(??,?));if(?.??==??||!?)?.??();? ?.??(??);?.?=?.?[?.?.?-1];?.?.?=??;?.?.?=?;? ?={};? ??(?,?){? ??=??(?.?,?);if(?[??])? ??;?[??]=(?.?)???:??(??(?,?),??(?.?,?));? ?[??]};? ??=?(?){? ?.?};? ??=??gi;? ??(?,??){? ?.?(??,??+??.?(0,??.??(??)+1)+??)};?.?=[];?.??=??;? ?=?;? _?(){?{?=?;? ??=??i;? ?=?.?;? ??=[];? ??=?.??(??);?(? i=??.?-1;i>=0;i--){?(??,??.?(??[i].??)???:??[i].??)}? ??(?,?){? ?=??;if(??.?(?.??)){?(? i=0;i<?.??.?;i++){?+=??.??(?.??[i],??(?.?,?))}?+=((?.?)???(?,?):??(??))}? ?};?.?=??;?(i=0;i<?.?;i++)?.?+=??(?[i],??);?.?=??(?.?);?(i in ?)?[i]();?? ?;if(??)??.??();?.??();?.??();?.?.?=??+??(?.?);?(i=0;i<?.?;i++){if(!?[i].?&&!?[i].?)?[i].?=??}?.??();?(??)}?(??){?(??+??.??)}??{??()}};?.??=?(){?.??();?(? i=0;i<?.?.?;i++)?.?[i]()};? ?=? ?(){? ?=[];?.?=?(){?(?,??)};? ?=[];?.?=?(?,??){? ??=? ??(??+?,??);? ?=?.?;?=[];?(?=??.??(?)){?(?,?[1]);if(?<5.5)?=?.?(?.??)}if(?.?){?=?.?();?(?,??)}};?.??=?(){?(? i=0;i<?.?;i++){?.?=?.?.?(?[i][0],?[i][1])}?.?(??,?);?.?(??,?(?){if(?.??.?.?==??)?(?.??)})};?.??=?(){?(? i=0;i<?.?;i++){? ?=??(?[i][0]);?(? j=0;j<?.?;j++)?[i][1](?[j])}};?.?(??gi,??);if(?<6)?.?(??gi,??);if(?){? ?=??.??(??);?(? i=0;i<?.?;i++)?[?[i]]=?[i-1]||??;? ?($,$1,$2,$3){? $1+?[$3]};?.?(? ??(??+?.??(??)+??,??),?)}};? ??=??;? ??=??g;? ??=??;? ??=??g;? ??=??;? ?={};? ??(?,?){? ??=!?;? ??=(?)?(?.??==??)??:[?]:[?];? ?=?.?(??,??).??(??);? ?=[];?(? i=0;i<?.?;i++){?=??(?[i]);if(?.?(0,3).??(??)==??){?=?.?(2);?=??(??,?[1])}? ?=??;? j=0,?,?,?,?=??;?(j<?.?){?=?[j++];?=?[j++];?+=?+?;?=??;if(?[j]==??){?(?[j++]!=??)?+=?[j];?=?.?(0,-1);?+=??+?+??}?=(??&&?[?])??[?]:??(?,?,?,?);if(??)?[?]=?}?=?.??(?)}? ?};? ??(?){if(??.?(?))?=??+?;? ?.?(??)};? ??(?,?,?,?){? ?=??;if(??.?(?)){?=?.??(??);?=?[0];?=?[1]}? ?=[];if(?[?])?[?](?,?,?,?||?);? ?};? ??(?,id){? ?=[],i,j;?(i=0;i<?.?;i++){? ?=?[i].?.??(id);if(?){if(?.?==??)?(?,?);? ?(j=0;j<?.?;j++)?(?,?[j])}}? ?};? ?={??:?(?,?,?,?){?(? i=0;i<?.?;i++){? ??=(?==??&&?[i].?)??[i].?:?[i].??(?);?(? j=0;j<??.?;j++){if(?(??[j])&&(!?||??[j].?==?))?(?,??[j])}}},??:?(?,?,?){?(? i=0;i<?.?;i++)if(?[i].id==?)?(?,?[i])},??:?(?,?,?){?=? ??(??+?+??);?(? i=0;i<?.?;i++)if(?.?(?[i].??))?(?,?[i])},??:?(?,?,?,?){?=??[?];if(?)?(? i=0;i<?.?;i++)if(?(?[i],?))?(?,?[i])}};? ??=??;? ??={?:?(){? ?=[];?(? ? in ?){if(?!=??&&?!=??){if(?[?].?>1)?+=??;?(?,?)}}? ?.??(??)},??:?(?){? ??(?.?[??]==??)},??:?(?){? ??(?.?[??]==??)}};? ??={?:??.?};? ??(?,?,?){if(?&&?.?!=?)? ?;?(?==??)??(?):(?)?(?.?==?.??()):(?.?==?)};? ??=[];? ??(??){? ??.?(??)???[??.?(1,-1)]:??};? ??=?(?){? ?.?(??g,?(?){?(?.??(0)==??)???:??+(?(??,?.?(1,-1))-1)+??}).?(??g,??).?(??g,??).?(??g,??)};? ??(?){? ?.?(??g,??).?(??g,?(?,??){? ??[??]})};? ??=[];? ?(?,?,?){?.??(?,?);?(??,??)};? ??(?,?,?){?{?.??(?,?)}?(??){}};?.??(??,?(){?(??.?){? ?=??(??);??(?[0],?[1],?[2])}});? ??=(?<6)??(?){? ?.?}:?(?){? ?.?.??};? ?(?){if(!??(?)){?.??=?;??(??(?))}};? ??(?){?(?){?.?.??=?.?.??;?=??(?)}};? ??=??;? ??(?){?(??.?(?))??:??+?+??};? ??(?){?(??.?(?))??.?(1,-1):?};? ??(?){? ?=?.??(?||??);?.?.?=??;? ?};? ?(??){? ??(??&&??.??==1&&??.?!=??&&!??.??)};? ??(?){?(?&&(?=?.??)&&!?(?))??;? ?};? ??(?){?(?&&(?=?.?)&&!?(?))??;? ?};? ??(?){?=?.??;?(?(?))??:??(?)};? ??=?;?.??(??,?(){if(?)??=? ?(){? ?=[];? ??(?){? ??=?.??(??+?.??.?(1));if(?.??.?(-2)!=??){? ??=??+?.?+??,?;?((?=?.?)&&?.??!=??){?.??.??(?);??.??(?)}if(?)?.??.??(?)}?.??.??(??,?);? ??};?.?=?(){?(?,??)};?.??=?(){?{if(?>5)?.??.?(??,??)}?(??){}??{?(? i=0;i<?.?;i++){? ?=??(?[i][0]);?(? j=0;j<?.?;j++)?[i][1](?[j])}}};?.?(??,?(?){if(!?.??){? ?=??(??,?)[0];if(?){if(!?.id)?.id=?.?;?.??=?.id}}});?.?(??,?(?){??(?);?? ?[??]});?.?(??,?(?){if(?.?==??){? ?=?.??.?(??i);?.?.?=(?)??[1]:??}if(?.?==??){?(?,??,?(){?.?.??=?;??(??+?.?+??,1)})}});?.?(??,?(?){? ??=??;?(?,??,?(){?(? i=0;i<?.?;i++){if(??.?(?[i].?)&&!?[i].?&&!?[i].?.??){?[i].?=?;??(??+?[i].?+??,1)}? if(?[i].?==??&&?[i].?==??){??(??+?[i].?+??+?[i].?+??,1);?[i].?=?[i].?.?}}})})}},?);?.??(??,?(){? ??=??,??=??,??=??,??=??;? ??=(?<6)???gi:??gi;? ??=(?<5.5)???:??;? ?=??();?(?.?,? ??(){if(?.?)?.?.??(?)});?.?(??,?(?){? ?.?(0,3)+?.??(4).??()+?.?(5)});? ??=(?)??.??:?;? ??(?){? ?.?.?==??||?.?.?==??};? ?(?){? ?=?.??;?(?&&!??(?))?=?.??;if(!?||??(?))?=??;? ?};? ?(??){?=?(?,?){if(!?.?.?&&(!?||?.?!=??)){if(!?)?=?.?.?;?.?.?=(??.?(?))???.?(0,?(?,?)):?;?.?.?=?.?.?;?(?)}};if(?)?.?(??,?);? ?=(?)??(?,?){? ?(?,?)+??(?)+??(?)}:?(?,?){? ?(?,?)};? ??(?){? ?.??-?.?};? ??(?){? ?(?,?.?.??)+?(?,?.?.??)};? ??(?){?((?.?.??==??)?0:?(?,?.?.??))+((?.?.??==??)?0:?(?,?.?.??))};? ?(?){?[?.?++]=?;if(?.?.??==??)?.?.??=0;?(?);?(?);??(?)};?.?=0;?.?(??+??,?);??(??(?).?(??g,??));?.?=0;?.?(??+??,?);? ??(?){? ??=?.??();? ?=??.?-??.?;if(?.?.?&&?>=?(?,?.?.?))?.?.?=?(?,?.?.?);? if(?.?.?&&?<=?(?,?.?.?))?.?.?=?(?,?.?.?);? ?.?.?=?.?.?};? ?(?){if((?.?.?==??||?.?.?==??)&&?.?.?!=??&&?.?.?!=??&&??.?(?.?.?)){?[?.?++]=?;?(?);??(?)}};?.?=0;?.?(??+??,?);? ??(?){?.?.?=??;? ?=?(?);? ?=(?.?.??)??.??().?-2:?(?,?.?.?);? ?=?.?-?(?,?.?.?)-?-??(?);if(!?)?-=??(?)+??(?);if(?<0)?=0;if(??(?)||??||?.??<?){?.?.?=?;?.?.?=?}};? ?=?.?;?(?,??,?(){? i,?=(?<?.?);?=?.?;?(i=0;i<?.?;i++){? ?=?[i];? ?=(?.?.?==?.?.?);if(?&&?)?.?.?=??;if(?==?)??(?)}?(i=0;i<?.?;i++){? ?=?[i];? ?=(?.?.?==?.?.?);if(!?&&?)?.?.?=??;if(?!=?)??(?)}?(i=0;i<?.?;i++)??(?[i]);??()});? ?(?,?){if(??.?(?))? ??(?);if(??.?(?))? ??(??(?)/100*?(?).?);? ?=(?.??)??:?.?;?.??(?);?.?.?=?;? ?.??};? ?(?,?){if(??(?)>0)? ?(?,?);if(??.?(?))? ??(?);?.?.??(?);?.?.?=?;? ?.??}};??(??(?).?(??g,??).?(??g,??).?(??g,??).?(??g,??).?(??g,??).?(??g,??));?();??(?)});??=?;if(?.??==??)_?();? ?(?,??,?(){if(!?&&?.??==??)??(_?,0)})}?(??){??();?(??+??.??)}??{}}();',340,0,/./,String,95,'element`var`function`return`value`from`cssText`width`currentStyle`this`document`match`length`filter`for`runtimeStyle`test`href`replace`IE7`selector`styleSheet`push`filtered`path`tagName`slice`minWidth`x5cs`layoutParent`fixedWidth`scopeName`filterArgs`left`ie7_tmp`clientWidth`appVersion`ie7`fixes`link`styleSheets`while`recalcs`nextSibling`style`parentElement`count`maxWidth`CSSFixes`input`new`handler`toString`else`true`fixRight`documentElement`addRecalc`auto`position`type`false`token`SIZES`pattern`alert`load`complete`fixWidth`right`getPixelWidth`quirksMode`boxSizing`getFixedWidth`isHTML`all`add`elements`isElement`pseudoClass`selectors`cacheSelector`modules`script`catch`addEventHandler`getPixelLeft`wider`window`max`addFix`uniqueID`disabled`cssCache`try`arguments`node`Boolean`x5c`visited`subset`url`error`unHide`setTimeout`loaded`eval`parseInt`resizeWidth`NUMERIC`rect`min`offsetParent`hasLayout`addModule`outerHTML`cssQuery`apply`fixedElement`HTMLFixes`display`QUOTED`handlers`pop`strings`string`item`small`recalc`getCSSText`getPath`styles`DUMMY`pathname`makePath`array`httpRequest`finally`Error`readyState`String`appendChild`PIXEL`offsetWidth`resizeRight`isFixed`getPaddingWidth`getBorderWidth`fixed`absolute`x5cw`body`removeChild`box`submit`clicked`fix`select`ignore`parentNode`nextElement`x2f`pseudoClasses`join`RegExp`split`useCache`base`large`HEADER`inlineStyles`LINKS`location`description`height`PERCENT`removeTempElement`HEIGHT`getMarginWidth`getBoundingClientRect`AUTO`minHeight`marginRight`marginLeft`x5cd`UNIT`viewport`toUpperCase`charAt`MATCH`tmpElement`BUTTON`UNSUCCESSFUL`button`abbr`delete`htmlFor`HTML`endTag`createElement`firstChildElement`continue`block`marginTop`fixMargins`removeEventHandler`attachEvent`key`decode`encode`getElementsByTagName`selectById`NAMESPACE`STREAM`STANDARD_SELECT`toStream`ASTERISK`IMPLIED_SELECTOR`reg`parse`loadStyleSheet`imports`MEDIA`innerHTML`lastIndexOf`URL`fixUrls`scripts`RELATIVE`name`autoload`mimeType`search`message`onreadystatechange`fixHeight`bottom`Bottom`Right`top`Top`Left`Height`Width`offsetLeft`canHaveChildren`parseFloat`onresize`screenLeft`paddingRight`paddingLeft`Math`model`onsubmit`reset`form`onclick`textarea`label`xhtml`org`www`http`namespaces`replaceChild`html4`firstChild`previousSibling`previousElement`ie7_anon`nodeType`clip`none`border`padding`object`unquote`quote`contentEditable`onbeforeunload`detachEvent`import`namespace`getString`compareTagName`dynamicPseudoClasses`attributeTests`className`null`concat`Array`constructor`size`font`medium`list`inline`float`relative`content`sizing`lastIndex`exec`successfully`callee`media`ball`bscreen`write`createStyleSheet`ie5`file`not`could`responseText`send`GET`open`XMLHTTP`Microsoft`ActiveXObject`src`margin`Document`XML`xml`unknown`typeof`CSS1Compat`compatMode`ms_`ie7_off`MSIE`navigator`ie7_debug`alpha`version`visible`visibility`Function`fromCharCode`??`?? (\\d\\.\\d)`??`^??`\\.??$`^[\\w\\.]+[^:]*$`(??\\([\x27"]?)([\\w\\.]+[^:\\)]*[\x27"]?\\))`\\??\\b|\\??\\b|^$`?-?`(??\\s*:\\s*(?|?))`??\\s*:\\s*??-??`^[^>\\+~\\s]`[\\s>\\+~:@#\\.\\(\\)]|[^\\s>\\+~:@#\\.\\(\\)]+`\\|`([\\s>~\\,]|[^(]\\+|^)([\\.:#@])`(\\??\\*[^\\*]*\\*+([^\\??][^\\*]*\\*+)*\\??)|(\x27[^\x27]*\x27)|("[^"]*")`@(??|??)[^;\\n]+[;\\n]|<!\\-\\-|\\-\\->`\\??:`^\\s+|\\s*([\\{\\}\\+\\,>~\\s;])\\s*|\\s+$`\x27(\\d+)\x27`(\x27[^\x27]*\x27)|("[^"]*")` ?="([^"]*)"`^(??|??|??)$`^\\d\\w*$`^\\d+%$`^\\d+(px)?$`\\b(??|?)-(?|??)\\s*:\\s*\\d`\\b(??|?)-?\\s*:\\s*\\d`^?|0cm$`^?$`??`??`?`??`?`??`?`??`? ?? 0.7.3 (??)`\\n\\n`??`??`?? ??`:?{?-?:?}:??{?-?:??}`*{??:0}`?=``/`??.??`??`?? [1]: ?? ?? ? ?? `?-??.js`?`<?></?>`$1`$2`?`?? ??`?? [2]: `([^{}]*)\\??{([^}]*[^\\??-])?`gi`??-??\\?*:\\?*??-??`?\\?*:\\?*??`??`??:??;$1`??:??`xx-??,x-??,??,??,??,x-??,xx-??`,`xx-??`(??(-??)?\\?*:\\?*)(`|`)`$1*$2` *#`(` `*`#`.`(^|\\?)`(\\?|$)`:`?`??`\\??([^)]*\\??)`?-?`\x27`\\??:`??`??`?:??;??:0;??:??;??:??;??:??(0 0 0 0);?:-9999`!`?-??`<??:`/>`</`>`??`??://??.w3.??/1999/??`??`?,??,??`??` ??`??,?`??`??`??`?.?.`.?.??=?`??`??`.?=?`.?=\x27`?-??-??`\\?*:\\?*\\??[\\??%]*`??`HR`?\\?*:\\?*\\??\\??*[^%]`?`??-?`?`?-?`??`?`??`??`??`??`??`??`??`??`?? [0]: '.split('\x60'))); |
|
3 |
/* packed with http://dean.edwards.name/packer/ */ |
usr/local/www/themes/_orange-flow/javascript/ie7/ie7-lite.js | ||
---|---|---|
1 |
/* IE7 version 0.7.3 (alpha) 2004/09/18 */ |
|
2 |
if(!window.IE7)new function(){try{window.IE7=this;var DUMMY=this.addModule=new Function;function unHide(){if(document.body)document.body.style.visibility="visible"};this.toString=function(){return "IE7 version 0.7.3 (alpha)"};var alert=(/ie7_debug/.test(location.search))?function(message){window.alert(IE7+"\n\n"+message)}:DUMMY;var appVersion=navigator.appVersion.match(/MSIE (\d\.\d)/)[1];if(/ie7_off/.test(location.search)||appVersion<5||!/^ms_/.test(document.documentElement.uniqueID))return unHide();var quirksMode=Boolean(document.compatMode!="CSS1Compat");var isHTML=(typeof document.mimeType=="unknown")?!/\.xml$/i.test(location.pathname):Boolean(document.mimeType!="XML Document");var LINKS=":link{ie7-link:link}:visited{ie7-link:visited}";var HEADER=LINKS;if(!isHTML)HEADER+="*{margin:0}";var HTMLFixes;var documentElement=document.documentElement;var modules={};this.addModule=function(name,script,autoload){if(!modules)return;if(loaded)eval("script="+String(script));if(autoload){script();script=DUMMY}modules[name]=script};var RELATIVE=/^[\w\.]+[^:]*$/;function makePath(href,path){if(RELATIVE.test(href))href=(path||"")+href;return href};function getPath(href,path){href=makePath(href,path);return href.slice(0,href.lastIndexOf("/")+1)};var path=getPath(document.scripts[document.scripts.length-1].src);var httpRequest=new ActiveXObject("Microsoft.XMLHTTP");function load(href,path){try{href=makePath(href,path);httpRequest.open("GET",href,false);httpRequest.send();return httpRequest.responseText}catch(ignore){alert("Error [1]: could not load file "+href);return ""}};var push=function(array,item){return array.push(item)};var pop=function(array){return array.pop()};if(appVersion<5.5)eval(load("ie7-ie5.js",path));if(document.readyState=="complete"||!isHTML)document.createStyleSheet();else document.write("<style></style>");this.styleSheet=document.styleSheets[document.styleSheets.length-1];this.styleSheet.cssText=LINKS;this.styleSheet.ie7=true;var cssText={};function loadStyleSheet(styleSheet,path){var url=makePath(styleSheet.href,path);if(cssText[url])return "";cssText[url]=(styleSheet.disabled)?"":fixUrls(getCSSText(styleSheet,path),getPath(styleSheet.href,path));return cssText[url]};var getCSSText=function(styleSheet){return styleSheet.cssText};var URL=/(url\(['"]?)([\w\.]+[^:\)]*['"]?\))/gi;function fixUrls(cssText,pathname){return cssText.replace(URL,"$1"+pathname.slice(0,pathname.lastIndexOf("/")+1)+"$2")};this.recalcs=[];this.parse=DUMMY;var complete=false;function _load(){try{complete=true;var MEDIA=/\bscreen\b|\ball\b|^$/i;var styleSheets=document.styleSheets;var inlineStyles=[];var styles=document.getElementsByTagName("style");for(var i=styles.length-1;i>=0;i--){push(inlineStyles,/ie7-link/.test(styles[i].innerHTML)?"":styles[i].innerHTML)}function getCSSText(styleSheet,path){var cssText="";if(MEDIA.test(styleSheet.media)){for(var i=0;i<styleSheet.imports.length;i++){cssText+=arguments.callee(styleSheet.imports[i],getPath(styleSheet.href,path))}cssText+=((styleSheet.href)?loadStyleSheet(styleSheet,path):pop(inlineStyles))}return cssText};IE7.cssText="";for(i=0;i<styleSheets.length;i++)IE7.cssText+=getCSSText(styleSheets[i],"");IE7.cssText=encode(IE7.cssText);for(i in modules)modules[i]();delete modules;if(HTMLFixes)HTMLFixes.apply();CSSFixes.apply();IE7.parse();IE7.styleSheet.cssText=HEADER+decode(IE7.cssText);for(i=0;i<styleSheets.length;i++){if(!styleSheets[i].disabled&&!styleSheets[i].ie7)styleSheets[i].cssText=""}IE7.recalc();alert("loaded successfully")}catch(error){alert("Error [2]: "+error.description)}finally{unHide()}};this.recalc=function(){CSSFixes.recalc();for(var i=0;i<this.recalcs.length;i++)this.recalcs[i]()};var CSSFixes=new function(){var fixes=[];this.addFix=function(){push(fixes,arguments)};var recalcs=[];this.addRecalc=function(pattern,fix){var reg=new RegExp("([^{}]*)\x5c{([^}]*[^\x5cw-])?"+pattern,"gi");var cssText=IE7.cssText;pattern=[];while(match=reg.exec(cssText)){push(pattern,match[1]);if(appVersion<5.5)cssText=cssText.slice(match.lastIndex)}if(pattern.length){pattern=pattern.toString();push(recalcs,arguments)}};this.apply=function(){for(var i=0;i<fixes.length;i++){IE7.cssText=IE7.cssText.replace(fixes[i][0],fixes[i][1])}this.addRecalc("box-sizing\x5cs*:\x5cs*content-box",boxSizing);this.addRecalc("position\x5cs*:\x5cs*absolute",function(element){if(element.offsetParent.currentStyle.position=="relative")boxSizing(element.offsetParent)})};this.recalc=function(){for(var i=0;i<recalcs.length;i++){var elements=cssQuery(recalcs[i][0]);for(var j=0;j<elements.length;j++)recalcs[i][1](elements[j])}};this.addFix(/(float\s*:\s*(left|right))/gi,"display:inline;$1");if(appVersion<6)this.addFix(/display\s*:\s*list-item/gi,"display:block");if(quirksMode){var SIZES="xx-small,x-small,small,medium,large,x-large,xx-large".split(",");for(var i=0;i<SIZES.length;i++)SIZES[SIZES[i]]=SIZES[i-1]||"xx-small";function replace($,$1,$2,$3){return $1+SIZES[$3]};this.addFix(new RegExp("(font(-size)?\x5cs*:\x5cs*)("+SIZES.join("|")+")","gi"),replace)}};var STANDARD_SELECT=/^[^>\+~\s]/;var STREAM=/[\s>\+~:@#\.\(\)]|[^\s>\+~:@#\.\(\)]+/g;var NAMESPACE=/\|/;var IMPLIED_SELECTOR=/([\s>~\,]|[^(]\+|^)([\.:#@])/g;var ASTERISK="$1*$2";var cssCache={};function cssQuery(selector,from){var useCache=!from;var base=(from)?(from.constructor==Array)?from:[from]:[document];var selectors=selector.replace(IMPLIED_SELECTOR,ASTERISK).split(",");var match=[];for(var i=0;i<selectors.length;i++){selector=toStream(selectors[i]);if(selector.slice(0,3).join("")==" *#"){selector=selector.slice(2);from=selectById(base,selector[1])}else from=base;var j=0,token,filter,filterArgs,cacheSelector="";while(j<selector.length){token=selector[j++];filter=selector[j++];cacheSelector+=token+filter;filterArgs="";if(selector[j]=="("){while(selector[j++]!=")")filterArgs+=selector[j];filterArgs=filterArgs.slice(0,-1);cacheSelector+="("+filterArgs+")"}from=(useCache&&cssCache[cacheSelector])?cssCache[cacheSelector]:select(from,token,filter,filterArgs);if(useCache)cssCache[cacheSelector]=from}match=match.concat(from)}return match};function toStream(selector){if(STANDARD_SELECT.test(selector))selector=" "+selector;return selector.match(STREAM)};function select(from,token,filter,filterArgs){var scopeName="";if(NAMESPACE.test(filter)){filter=filter.split("|");scopeName=filter[0];filter=filter[1]}var filtered=[];if(selectors[token])selectors[token](filtered,from,filter,scopeName||filterArgs);return filtered};function selectById(from,id){var filtered=[],i,j;for(i=0;i<from.length;i++){var match=from[i].all.item(id);if(match){if(match.length==null)push(filtered,match);else for(j=0;j<match.length;j++)push(filtered,match[j])}}return filtered};var selectors={" ":function(filtered,from,filter,scopeName){for(var i=0;i<from.length;i++){var subset=(filter=="*"&&from[i].all)?from[i].all:from[i].getElementsByTagName(filter);for(var j=0;j<subset.length;j++){if(isElement(subset[j])&&(!scopeName||subset[j].scopeName==scopeName))push(filtered,subset[j])}}},"#":function(filtered,from,filter){for(var i=0;i<from.length;i++)if(from[i].id==filter)push(filtered,from[i])},".":function(filtered,from,filter){filter=new RegExp("(^|\x5cs)"+filter+"(\x5cs|$)");for(var i=0;i<from.length;i++)if(filter.test(from[i].className))push(filtered,from[i])},":":function(filtered,from,filter,filterArgs){filter=pseudoClasses[filter];if(filter)for(var i=0;i<from.length;i++)if(filter(from[i],filterArgs))push(filtered,from[i])}};var attributeTests="";var pseudoClasses={toString:function(){var toString=[];for(var pseudoClass in this){if(pseudoClass!="link"&&pseudoClass!="visited"){if(this[pseudoClass].length>1)pseudoClass+="\x5c([^)]*\x5c)";push(toString,pseudoClass)}}return toString.join("|")},"link":function(element){return Boolean(element.currentStyle["ie7-link"]=="link")},"visited":function(element){return Boolean(element.currentStyle["ie7-link"]=="visited")}};var dynamicPseudoClasses={toString:pseudoClasses.toString};function compareTagName(element,tagName,scopeName){if(scopeName&&element.scopeName!=scopeName)return false;return(tagName=="*")?isElement(element):(isHTML)?(element.tagName==tagName.toUpperCase()):(element.tagName==tagName)};var strings=[];function getString(string){return QUOTED.test(string)?strings[string.slice(1,-1)]:string};var encode=function(cssText){return cssText.replace(/(\x2f\*[^\*]*\*+([^\x2f][^\*]*\*+)*\x2f)|('[^']*')|("[^"]*")/g,function(match){return(match.charAt(0)=="/")?"":"'"+(push(strings,match.slice(1,-1))-1)+"'"}).replace(/@(namespace|import)[^;\n]+[;\n]|<!\-\-|\-\->/g,"").replace(/\x5c:/g,"|").replace(/^\s+|\s*([\{\}\+\,>~\s;])\s*|\s+$/g,"$1")};function decode(cssText){return cssText.replace(/\|/g,"\x5c:").replace(/'(\d+)'/g,function(match,key){return strings[key]})};var handlers=[];function addEventHandler(element,type,handler){element.attachEvent(type,handler);push(handlers,arguments)};function removeEventHandler(element,type,handler){try{element.detachEvent(type,handler)}catch(ignore){}};window.attachEvent("onbeforeunload",function(){while(handlers.length){var handler=pop(handlers);removeEventHandler(handler[0],handler[1],handler[2])}});var hasLayout=(appVersion<6)?function(element){return element.clientWidth}:function(element){return element.currentStyle.hasLayout};function boxSizing(element){if(!hasLayout(element)){element.contentEditable=false;fixMargins(firstChildElement(element))}};function fixMargins(element){while(element){element.runtimeStyle.marginTop=element.currentStyle.marginTop;element=nextElement(element)}};var QUOTED=/('[^']*')|("[^"]*")/;function quote(value){return(QUOTED.test(value))?value:"'"+value+"'"};function unquote(value){return(QUOTED.test(value))?value.slice(1,-1):value};function tmpElement(tagName){var element=document.createElement(tagName||"object");element.style.cssText="position:absolute;padding:0;display:block;border:none;clip:rect(0 0 0 0);left:-9999";return element};function isElement(node){return Boolean(node&&node.nodeType==1&&node.tagName!="!"&&!node.ie7_anon)};function previousElement(element){while(element&&(element=element.previousSibling)&&!isElement(element))continue;return element};function nextElement(element){while(element&&(element=element.nextSibling)&&!isElement(element))continue;return element};function firstChildElement(element){element=element.firstChild;return(isElement(element))?element:nextElement(element)};var loaded=false;IE7.addModule("ie7-html4",function(){if(isHTML)HTMLFixes=new function(){var fixes=[];function fix(element){var fixedElement=document.createElement("<HTML:"+element.outerHTML.slice(1));if(element.outerHTML.slice(-2)!="/>"){var endTag="</"+element.tagName+">",nextSibling;while((nextSibling=element.nextSibling)&&nextSibling.outerHTML!=endTag){element.parentNode.removeChild(nextSibling);fixedElement.appendChild(nextSibling)}if(nextSibling)element.parentNode.removeChild(nextSibling)}element.parentNode.replaceChild(fixedElement,element);return fixedElement};this.add=function(){push(fixes,arguments)};this.apply=function(){try{if(appVersion>5)document.namespaces.add("HTML","http://www.w3.org/1999/xhtml")}catch(ignore){}finally{for(var i=0;i<fixes.length;i++){var elements=cssQuery(fixes[i][0]);for(var j=0;j<elements.length;j++)fixes[i][1](elements[j])}}};this.add("label",function(element){if(!element.htmlFor){var input=cssQuery("input,select,textarea",element)[0];if(input){if(!input.id)input.id=input.uniqueID;element.htmlFor=input.id}}});this.add("abbr",function(element){fix(element);delete cssCache[" abbr"]});this.add("button,input",function(element){if(element.tagName=="BUTTON"){var match=element.outerHTML.match(/ value="([^"]*)"/i);element.runtimeStyle.value=(match)?match[1]:""}if(element.type=="submit"){addEventHandler(element,"onclick",function(){element.runtimeStyle.clicked=true;setTimeout("document.all."+element.uniqueID+".runtimeStyle.clicked=false",1)})}});this.add("form",function(element){var UNSUCCESSFUL=/^(submit|reset|button)$/;addEventHandler(element,"onsubmit",function(){for(var i=0;i<element.length;i++){if(UNSUCCESSFUL.test(element[i].type)&&!element[i].disabled&&!element[i].runtimeStyle.clicked){element[i].disabled=true;setTimeout("document.all."+element[i].uniqueID+".disabled=false",1)}else if(element[i].tagName=="BUTTON"&&element[i].type=="submit"){setTimeout("document.all."+element[i].uniqueID+".value='"+element[i].value+"'",1);element[i].value=element[i].runtimeStyle.value}}})})}},true);IE7.addModule("ie7-box-model",function(){var NUMERIC="\x5cs*:\x5cs*\x5cd[\x5cw%]*",UNIT=/^\d\w*$/,PERCENT=/^\d+%$/,PIXEL=/^\d+(px)?$/;var MATCH=(appVersion<6)?/\b(min|max)-(width|height)\s*:\s*\d/gi:/\b(min|max)-width\s*:\s*\d/gi;var AUTO=(appVersion<5.5)?/^auto|0cm$/:/^auto$/;var ie7_tmp=tmpElement();push(IE7.recalcs,function removeTempElement(){if(ie7_tmp.parentElement)ie7_tmp.parentElement.removeChild(ie7_tmp)});CSSFixes.addFix(MATCH,function(match){return match.slice(0,3)+match.charAt(4).toUpperCase()+match.slice(5)});var viewport=(quirksMode)?document.body:documentElement;function isFixed(element){return element.style.position=="fixed"||element.currentStyle.position=="fixed"};function layoutParent(element){var layoutParent=element.offsetParent;while(layoutParent&&!hasLayout(layoutParent))layoutParent=layoutParent.offsetParent;if(!layoutParent||isFixed(element))layoutParent=viewport;return layoutParent};function fixWidth(HEIGHT){fixWidth=function(element,value){if(!element.runtimeStyle.fixedWidth&&(!isHTML||element.tagName!="HR")){if(!value)value=element.currentStyle.width;element.runtimeStyle.fixedWidth=(UNIT.test(value))?Math.max(0,getFixedWidth(element,value)):value;element.runtimeStyle.width=element.runtimeStyle.fixedWidth;boxSizing(element)}};if(quirksMode)CSSFixes.addRecalc("width\x5cs*:\x5cs*\x5cd\x5cw*[^%]",fixWidth);var getFixedWidth=(quirksMode)?function(element,value){return getPixelWidth(element,value)+getBorderWidth(element)+getPaddingWidth(element)}:function(element,value){return getPixelWidth(element,value)};function getBorderWidth(element){return element.offsetWidth-element.clientWidth};function getPaddingWidth(element){return getPixelWidth(element,element.currentStyle.paddingLeft)+getPixelWidth(element,element.currentStyle.paddingRight)};function getMarginWidth(element){return((element.currentStyle.marginLeft=="auto")?0:getPixelLeft(element,element.currentStyle.marginLeft))+((element.currentStyle.marginRight=="auto")?0:getPixelLeft(element,element.currentStyle.marginRight))};function minWidth(element){minWidth[minWidth.count++]=element;if(element.currentStyle.minHeight=="auto")element.runtimeStyle.minHeight=0;fixWidth(element);boxSizing(element);resizeWidth(element)};minWidth.count=0;CSSFixes.addRecalc("min-width"+NUMERIC,minWidth);eval(String(minWidth).replace(/min/g,"max"));maxWidth.count=0;CSSFixes.addRecalc("max-width"+NUMERIC,maxWidth);function resizeWidth(element){var rect=element.getBoundingClientRect();var width=rect.right-rect.left;if(element.currentStyle.maxWidth&&width>=getFixedWidth(element,element.currentStyle.maxWidth))element.runtimeStyle.width=getFixedWidth(element,element.currentStyle.maxWidth);else if(element.currentStyle.minWidth&&width<=getFixedWidth(element,element.currentStyle.minWidth))element.runtimeStyle.width=getFixedWidth(element,element.currentStyle.minWidth);else element.runtimeStyle.width=element.runtimeStyle.fixedWidth};function fixRight(element){if((element.currentStyle.position=="absolute"||element.currentStyle.position=="fixed")&&element.currentStyle.left!="auto"&&element.currentStyle.right!="auto"&&AUTO.test(element.currentStyle.width)){fixRight[fixRight.count++]=element;boxSizing(element);resizeRight(element)}};fixRight.count=0;CSSFixes.addRecalc("right"+NUMERIC,fixRight);function resizeRight(element){element.runtimeStyle.width="";var parentElement=layoutParent(element);var left=(element.runtimeStyle.screenLeft)?element.getBoundingClientRect().left-2:getPixelLeft(element,element.currentStyle.left);var width=parentElement.clientWidth-getPixelLeft(element,element.currentStyle.right)-left-getMarginWidth(element);if(!quirksMode)width-=getBorderWidth(element)+getPaddingWidth(element);if(width<0)width=0;if(isFixed(element)||HEIGHT||element.offsetWidth<width){element.runtimeStyle.fixedWidth=width;element.runtimeStyle.width=width}};var clientWidth=documentElement.clientWidth;addEventHandler(window,"onresize",function(){var i,wider=(clientWidth<documentElement.clientWidth);clientWidth=documentElement.clientWidth;for(i=0;i<minWidth.count;i++){var element=minWidth[i];var fixedWidth=(element.runtimeStyle.width==element.currentStyle.minWidth);if(wider&&fixedWidth)element.runtimeStyle.width="";if(wider==fixedWidth)resizeWidth(element)}for(i=0;i<maxWidth.count;i++){var element=maxWidth[i];var fixedWidth=(element.runtimeStyle.width==element.currentStyle.maxWidth);if(!wider&&fixedWidth)element.runtimeStyle.width="";if(wider!=fixedWidth)resizeWidth(element)}for(i=0;i<fixRight.count;i++)resizeRight(fixRight[i]);removeTempElement()});function getPixelWidth(element,value){if(PIXEL.test(value))return parseInt(value);if(PERCENT.test(value))return parseInt(parseFloat(value)/100*layoutParent(element).clientWidth);var parentElement=(element.canHaveChildren)?element:element.parentElement;parentElement.appendChild(ie7_tmp);ie7_tmp.style.width=value;return ie7_tmp.offsetWidth};function getPixelLeft(element,value){if(parseInt(value)>0)return getPixelWidth(element,value);if(PIXEL.test(value))return parseInt(value);element.parentElement.appendChild(ie7_tmp);ie7_tmp.style.left=value;return ie7_tmp.offsetLeft}};eval(String(fixWidth).replace(/Width/g,"Height").replace(/width/g,"height").replace(/Left/g,"Top").replace(/left/g,"top").replace(/Right/g,"Bottom").replace(/right/g,"bottom"));fixWidth();fixHeight(true)});loaded=true;if(document.readyState=="complete")_load();else addEventHandler(document,"onreadystatechange",function(){if(!complete&&document.readyState=="complete")setTimeout(_load,0)})}catch(error){unHide();alert("Error [0]: "+error.description)}finally{}}(); |
usr/local/www/themes/_orange-flow/javascript/ie7/ie7-png.js | ||
---|---|---|
1 |
/* IE7 version 0.7.3 (alpha) 2004/09/18 */ |
|
2 |
if(window.IE7)IE7.addModule("ie7-png",function(){if(appVersion<5.5)return;var FILTER="progid:DXImageTransform.Microsoft.AlphaImageLoader(src=%1,sizingMethod='scale')";var NULL=(/\bSV1\b/.test(navigator.userAgent))?makePath("blank.gif",path):"javascript:'#define x_width 1\x5cn#define x_height 1\x5cnstatic char x_bits[]={0x00}'";var pngTest=new RegExp((window.IE7_PNG_SUFFIX||"-trans.png")+"$","i");function addFilter(element,src){element.runtimeStyle.filter=FILTER.replace(/%1/,src)};var MATCH=/background(-image)?\s*:([^(};]*)url\(([^\)]+)\)([^;}]*)/gi;CSSFixes.addFix(MATCH,function replace(match,image,prefix,url,suffix){url=getString(url);return pngTest.test(url)?"filter:"+FILTER.replace(/scale/,"crop").replace(/%1/,url)+";zoom:1;background"+(image||"")+":"+(prefix||"")+"none"+(suffix||""):match});if(HTMLFixes){function fixImg(element){if(pngTest.test(element.src)){var width=element.width,height=element.height;addFilter(element,element.src);element.src=NULL;element.width=width;element.height=height}else element.runtimeStyle.filter=""};HTMLFixes.add("img,input",function(element){if(element.tagName=="INPUT"&&element.type!="image")return;fixImg(element);addEventHandler(element,"onpropertychange",function(){if(event.propertyName=="src")fixImg(element)})})}}); |
usr/local/www/themes/_orange-flow/javascript/ie7/ie7-server.css | ||
---|---|---|
1 |
body, td, dd {font: 10pt Verdana, Arial, Helvetica, sans-serif; color: black;} |
|
2 |
body {margin: 8px; background: #333;} |
|
3 |
h1 {margin: 0;} |
|
4 |
h1 a:hover {background-color: transparent;} |
|
5 |
h2 {font-size: 1.75em;} |
|
6 |
h3 {font-size: 1.1em;} |
|
7 |
a:active {color: #ff0000;} |
|
8 |
a:link {color: #0a6cce;} |
|
9 |
a:visited {color: #0a6cce;} |
|
10 |
code, *.code {font-family: monospace; font-size: 100%; font-style: normal; white-space: nowrap; |
|
11 |
padding: 0 1px; background: #f2f3f8; border: #d6d9e9 1px solid;} |
|
12 |
code.box {display: block; padding: 10px; margin: 0.5em 0;} |
|
13 |
ul {list-style-type: square;} |
|
14 |
dd {margin: .2em 0 .5em 1em;} |
|
15 |
dl.library dt {display: list-item; margin-left: 3em; list-style-type: square;} |
|
16 |
dl.library dd {font-style: italic; margin-left: 3em;} |
|
17 |
dt {font-weight: bold;} |
|
18 |
dt.pack {color: brown;} |
|
19 |
a img {border-style: none;} |
|
20 |
hr {height: 1px; color: #000; border-style: solid;} |
|
21 |
hr.short {height: 2px; width: 100px;} |
|
22 |
div.document {background: #eef; padding: 20px 20px 5px 20px; width: 600px; border: 1px solid black;} |
|
23 |
hr {border-bottom-width: 0px;} |
|
24 |
div.header hr {color: #0a6cce; background-color: #0a6cce;} |
|
25 |
div.content {min-height: 100px;} |
|
26 |
div.footer hr {color: #898e79; background-color: #898e79; } |
|
27 |
div.header, div.header a:link, div.header a:visited, h3 a:link, h3 a:visited {text-decoration: none;} |
|
28 |
a:hover {color: #fff; background-color: #0a6cce; text-decoration: none;} |
|
29 |
div.footer a:hover {background-color: transparent; text-decoration: none;} |
|
30 |
div.header .menu {text-align: right;} |
|
31 |
div.footer {font-size: x-small; margin-top: 8px;} |
|
32 |
div.footnote {font-family: "times new roman", times; font-style: italic; margin-top: 10px;} |
|
33 |
#license {margin-top: 5px; font-size: xx-small;} |
|
34 |
table {border-top: 1px solid #000; border-left: 1px solid #000;} |
|
35 |
th {background-color: #fff; text-align: left;} |
|
36 |
th, td {border-right: 1px solid #000; border-bottom: 1px solid #000;} |
|
37 |
th.small {width: 100px;} |
|
38 |
th.medium {width: 200px;} |
|
39 |
th.large {width: 270px;} |
|
40 |
th.x-large {width: 408px;} |
|
41 |
table.fixed {table-layout: fixed;} |
|
42 |
span.comment {color: #666;} |
|
43 |
|
usr/local/www/themes/_orange-flow/javascript/ie7/ie7-standard-p.js | ||
---|---|---|
1 |
/* IE7 version 0.7.3 (alpha) 2004/09/18 */ |
|
2 |
eval(function(A,r,s,e,n,a,l){s=function(e){return((e<a)?'':s(e/a))+n[l[493]](e%a+161)};while(++r<735)l[r]=(r<549)?'/'+l[r]+'/':'"'+l[r]+'"';while(--r>=0)A=A.replace(new RegExp(s(r),'g'),l[r]);return A}('if(!??.?)? ?(){??{??.?=?;? ??=?.??=? ??;? ??(){if(?.?)?.?.?.??=??};?.?=?(){? ??};? ??=(??.?(??.??))??(??){??.??(?+??+??)}:??;? ?=??.?.?(??)[1];if(??.?(??.??)||?<5||!??.?(?.?.??))? ??();? ??=??(?.??!=??);? ??=(?? ?.??==??)?!??i.?(??.??):??(?.??!=??);? ??=??;? ??=??;if(!??)??+=??;? ??;? ?=?.?;? ??={};?.??=?(??,??,??){if(!??)?;if(??)?(??+??(??));if(??){??();??=??}??[??]=??};? ??=??;? ??(?,?){if(??.?(?))?=(?||??)+?;? ?};? ??(?,?){?=??(?,?);? ?.?(0,?.??(??)+1)};? ?=??(?.??[?.??.?-1].?);? ??=? ??(??);? ?(?,?){??{?=??(?,?);??.??(??,?,?);??.??();? ??.??}??(??){??(??+?);? ??}};? ?=?(??,??){? ??.?(??)};? ??=?(??){? ??.??()};if(?<5.5)?(?(??,?));if(?.??==??||!??)?.??();? ?.??(??);?.?=?.?[?.?.?-1];?.?.?=??;?.?.?=?;? ?={};? ??(?,?){? ?=??(?.?,?);if(?[?])? ??;?[?]=(?.??)???:??(??(?,?),??(?.?,?));? ?[?]};? ??=?(?){? ?.?};? ??=??gi;? ??(?,??){? ?.?(??,??+??.?(0,??.??(??)+1)+??)};?.?=[];?.??=??;? ??=?;? _?(){??{??=?;? ??=??i;? ?=?.?;? ??=[];? ??=?.??(??);?(? i=??.?-1;i>=0;i--){?(??,??.?(??[i].??)???:??[i].??)}? ??(?,?){? ?=??;if(??.?(?.??)){?(? i=0;i<?.??.?;i++){?+=?.??(?.??[i],??(?.?,?))}?+=((?.?)???(?,?):??(??))}? ?};?.?=??;?(i=0;i<?.?;i++)?.?+=??(?[i],??);?.?=??(?.?);?(i in ??)??[i]();?? ??;if(??)??.??();?.??();?.??();?.?.?=??+??(?.?);?(i=0;i<?.?;i++){if(!?[i].??&&!?[i].?)?[i].?=??}?.?();??(??)}??(??){??(??+??.??)}??{??()}};?.?=?(){?.?();?(? i=0;i<?.?.?;i++)?.?[i]()};? ?=? ?(){? ?=[];?.??=?(){?(?,?)};? ?=[];?.?=?(??,??){? ??=? ?(??+??,??);? ?=?.?;??=[];?(?=??.??(?)){?(??,?[1]);if(?<5.5)?=?.?(?.??)}if(??.?){??=??.?();?(?,?)}};?.??=?(){?(? i=0;i<?.?;i++){?.?=?.?.?(?[i][0],?[i][1])}?.?(??,??);?.?(??,?(?){if(?.??.?.?==??)??(?.??)})};?.?=?(){?(? i=0;i<?.?;i++){? ??=?(?[i][0]);?(? j=0;j<??.?;j++)?[i][1](??[j])}};?.??(??gi,??);if(?<6)?.??(??gi,??);if(??){? ??=??.??(??);?(? i=0;i<??.?;i++)??[??[i]]=??[i-1]||??;? ?($,$1,$2,$3){? $1+??[$3]};?.??(? ?(??+??.??(??)+??,??),?)}};? ??=??;? ??=??g;? ??=??;? ??=??g;? ??=??;? ??={};? ?(?,?){? ??=!?;? ??=(?)?(?.??==??)??:[?]:[?];? ?=?.?(??,??).??(??);? ?=[];?(? i=0;i<?.?;i++){?=??(?[i]);if(?.?(0,3).??(??)==??){?=?.?(2);?=??(??,?[1])}? ?=??;? j=0,??,?,?,??=??;?(j<?.?){??=?[j++];?=?[j++];??+=??+?;?=??;if(?[j]==??){?(?[j++]!=??)?+=?[j];?=?.?(0,-1);??+=??+?+??}?=(??&&??[??])???[??]:??(?,??,?,?);if(??)??[??]=?}?=?.??(?)}? ?};? ??(?){if(??.?(?))?=??+?;? ?.?(??)};? ??(?,??,?,?){? ?=??;if(??.?(?)){?=?.??(??);?=?[0];?=?[1]}? ?=[];if(?[??])?[??](?,?,?,?||?);? ?};? ??(?,id){? ?=[],i,j;?(i=0;i<?.?;i++){? ?=?[i].??.??(id);if(?){if(?.?==??)?(?,?);? ?(j=0;j<?.?;j++)?(?,?[j])}}? ?};? ?={??:?(?,?,?,?){?(? i=0;i<?.?;i++){? ?=(?==??&&?[i].??)??[i].??:?[i].??(?);?(? j=0;j<?.?;j++){if(??(?[j])&&(!?||?[j].?==?))?(?,?[j])}}},??:?(?,?,?){?(? i=0;i<?.?;i++)if(?[i].id==?)?(?,?[i])},??:?(?,?,?){?=? ?(??+?+??);?(? i=0;i<?.?;i++)if(?.?(?[i].??))?(?,?[i])},??:?(?,?,?,?){?=??[?];if(?)?(? i=0;i<?.?;i++)if(?(?[i],?))?(?,?[i])}};? ??=??;? ??={?:?(){? ?=[];?(? ?? in ?){if(??!=??&&??!=??){if(?[??].?>1)??+=??;?(?,??)}}? ?.??(??)},??:?(?){? ??(?.?[??]==??)},??:?(?){? ??(?.?[??]==??)}};? ??={?:??.?};? ??(?,?,?){if(?&&?.?!=?)? ?;?(?==??)???(?):(??)?(?.?==?.??()):(?.?==?)};? ??=[];? ??(??){? ??.?(??)???[??.?(1,-1)]:??};? ??=?(?){? ?.?(??g,?(?){?(?.??(0)==??)???:??+(?(??,?.?(1,-1))-1)+??}).?(??g,??).?(??g,??).?(??g,??)};? ??(?){? ?.?(??g,??).?(??g,?(?,??){? ??[??]})};? ??=[];? ?(?,?,?){?.??(?,?);?(??,?)};? ??(?,?,?){??{?.??(?,?)}??(??){}};??.??(??,?(){?(??.?){? ?=??(??);??(?[0],?[1],?[2])}});? ??=(?<6)??(?){? ?.?}:?(?){? ?.?.??};? ??(?){if(!??(?)){?.??=?;??(??(?))}};? ??(?){?(?){?.?.??=?.?.??;?=??(?)}};? ??=??;? ??(?){?(??.?(?))??:??+?+??};? ??(?){?(??.?(?))??.?(1,-1):?};? ??(?){? ?=?.??(?||??);?.?.?=??;? ?};? ??(??){? ??(??&&??.??==1&&??.?!=??&&!??.??)};? ??(?){?(?&&(?=?.??)&&!??(?))??;? ?};? ??(?){?(?&&(?=?.?)&&!??(?))??;? ?};? ??(?){?=?.??;?(??(?))??:??(?)};? ??=?;?.??(??,?(){if(??)??=? ?(){? ?=[];? ??(?){? ??=?.??(??+?.??.?(1));if(?.??.?(-2)!=??){? ??=??+?.?+??,?;?((?=?.?)&&?.??!=??){?.??.??(?);??.??(?)}if(?)?.??.??(?)}?.??.??(??,?);? ??};?.?=?(){?(?,?)};?.??=?(){??{if(?>5)?.??.?(??,??)}??(??){}??{?(? i=0;i<?.?;i++){? ??=?(?[i][0]);?(? j=0;j<??.?;j++)?[i][1](??[j])}}};?.?(??,?(?){if(!?.??){? ?=?(??,?)[0];if(?){if(!?.id)?.id=?.??;?.??=?.id}}});?.?(??,?(?){??(?);?? ??[??]});?.?(??,?(?){if(?.?==??){? ?=?.??.?(??i);?.?.?=(?)??[1]:??}if(?.?==??){?(?,??,?(){?.?.??=?;??(??+?.??+??,1)})}});?.?(??,?(?){? ??=??;?(?,??,?(){?(? i=0;i<?.?;i++){if(??.?(?[i].?)&&!?[i].??&&!?[i].?.??){?[i].??=?;??(??+?[i].??+??,1)}? if(?[i].?==??&&?[i].?==??){??(??+?[i].??+??+?[i].?+??,1);?[i].?=?[i].?.?}}})})}},?);?.??(??,?(){? ??=??,??=??,??=??,??=??;? ??=(?<6)???gi:??gi;? ??=(?<5.5)???:??;? ?=??();?(?.?,? ??(){if(?.?)?.?.??(?)});?.??(??,?(?){? ?.?(0,3)+?.??(4).??()+?.?(5)});? ?=(??)??.?:?;? ?(?){? ?.?.?==??||?.?.?==??};? ?(?){? ?=?.??;?(?&&!??(?))?=?.??;if(!?||?(?))?=?;? ?};? ?(??){?=?(?,?){if(!?.?.?&&(!??||?.?!=??)){if(!?)?=?.?.?;?.?.?=(??.?(?))???.??(0,??(?,?)):?;?.?.?=?.?.?;??(?)}};if(??)?.?(??,?);? ??=(??)??(?,?){? ??(?,?)+??(?)+??(?)}:?(?,?){? ??(?,?)};? ??(?){? ?.??-?.?};? ??(?){? ??(?,?.?.??)+??(?,?.?.??)};? ??(?){?((?.?.??==??)?0:??(?,?.?.??))+((?.?.??==??)?0:??(?,?.?.??))};? ?(?){?[?.?++]=?;if(?.?.??==??)?.?.??=0;?(?);??(?);??(?)};?.?=0;?.?(??+??,?);?(??(?).?(??g,??));?.?=0;?.?(??+??,?);? ??(?){? ??=?.??();? ?=??.?-??.?;if(?.?.?&&?>=??(?,?.?.?))?.?.?=??(?,?.?.?);? if(?.?.?&&?<=??(?,?.?.?))?.?.?=??(?,?.?.?);? ?.?.?=?.?.?};? ??(?){if((?.?.?==??||?.?.?==??)&&?.?.?!=??&&?.?.?!=??&&??.?(?.?.?)){??[??.?++]=?;??(?);??(?)}};??.?=0;?.?(??+??,??);? ??(?){?.?.?=??;? ?=?(?);? ?=(?.?.??)??.??().?-2:??(?,?.?.?);? ?=?.?-??(?,?.?.?)-?-??(?);if(!??)?-=??(?)+??(?);if(?<0)?=0;if(?(?)||??||?.??<?){?.?.?=?;?.?.?=?}};? ?=?.?;?(??,??,?(){? i,??=(?<?.?);?=?.?;?(i=0;i<?.?;i++){? ?=?[i];? ?=(?.?.?==?.?.?);if(??&&?)?.?.?=??;if(??==?)??(?)}?(i=0;i<?.?;i++){? ?=?[i];? ?=(?.?.?==?.?.?);if(!??&&?)?.?.?=??;if(??!=?)??(?)}?(i=0;i<??.?;i++)??(??[i]);??()});? ??(?,?){if(??.?(?))? ?(?);if(??.?(?))? ?(??(?)/100*?(?).?);? ?=(?.??)??:?.?;?.??(?);?.?.?=?;? ?.??};? ??(?,?){if(?(?)>0)? ??(?,?);if(??.?(?))? ?(?);?.?.??(?);?.?.?=?;? ?.??}};?(??(?).?(??g,??).?(??g,??).?(??g,??).?(??g,??).?(??g,??).?(??g,??));?();??(?)});?.??(??,?(){? ??=??g,??=??i;?.??=[];?.??=? ??;?.?=?;?.?=?;?.?=?;?.??=?(){??(?.??)?.?=??(??(??(?.?)));?(? i=0;i<?.??.?;i++)?.??[i].??();?(i=0;i<??.?;i++)??[i].??()};??=?(?,?){? ?(?.?,?)};? ??=[];? ??(){?.??=?(?){?.?=? ?(??+??+??,??);?.??=? ?(??+??+??+??+??,??);?.?=? ?(??+??+??,??);? ?.?(?.?,?.ID).?(?.?,?.ID).?(?.?,?.ID)};?.??=?(?){?.?=? ?(??+??+??+??+??,??);? ?.?(?.?,?.ID).?(??g,?($){? ??+(?(??,$)-1)+??}).?(??g,??).?(??g,?(?,?,?){? ?.??(??).??(?)+?})};?.??=?(?){? ?.?(??g,?($,$1){? ??[$1]})}};? _?(){?.?=?(){? ??+?.??};?.?=?(?){?.??+=??+?.??};?.??=?(?){?.??=?.??.?(?.??,??)};?.??=?(){? ?=?(?.?);?(? i=0;i<?.?;i++)?.?(?[i])}};? ?(?,?){?.id=?.??.?;?.??=?.??+?.id;?.?=?;?.??=? ?(??+?.??+??,??);?(?.??,?)};?.??=_?;?.??=? _?;?.??=??;?.ID=?(?){? ??(?)+? ?(?)};? _?(){?.??=?(){? ?=?(?.??);?(? i=0;i<?.?;i++){? ?=(?.?)??(?.?,?[i]):[?[i]];if(?)?.??(?[i],?,?)}}};_?.??=? _?;? ?(?,??,??,?){?.??=??;?.??=??[??];?.?=?;?.??=?;?.??(?)};?.??=_?;?.??=? _?;?.ID=?(?,??,??,?){if(??&&??!=??&&??.?(??)&&!??.?(?))? ?;? ??(?)+? ?(?,??,??,?)};??+=??;? ??=??g;? ??(?,??){? ?(??+??.?(??.?)+??+??)};? ??=[];? _?(){?.?=??;?.?=?(){? ??};?.??=0;? ??(??,?,?){? ?=??(?(){??{if(!??.?)?;??.?(??,?,?);??(?)}??(??){??(?)}},10)};?.??=?(){if(?.?==??)?;?(? i=0;i<?.?.?;i++){? ?=?.?[i];? ??=?.?[?.?];if(??){? ?=?.????:?.?;? ??=??.?(?.?);? ?=?.??(????.??:??);?.??=?;?.?.?=??.?;if(!??)?.??=??.?;if(?.?==??){?.??(?,?.??)}?{?.??(?)}if(??)??(?,??.?,??.?);?.?[?.?]=??}}};?.??=?(){?.?=?(?.?);?(? i=0;i<?.?.?;i++){? ?=?.?[i].?;if(!?[?.?])?[?.?]={?:??};?[?.?].?+=??+?.?;if(?.?!=??)?[?.?].?=?.?}}};_?.??=? _?;? ?(?,?,?){?.?=?;?.?=??[?].?(1,-1);? ?=?.?.?(?.??);if(?)?.?=??(?[1]).?(??,??);?.??=?;?.??(?);?(??,?)};?.??=_?;?.??=? _?;?.ID=?(?,?,?,?){? ? ?(?,?,?)};?.?=??g;?.??=??;?.??=??+??(??,?)+??;?[??]=?(?,?,?,?){?(? i=0;i<?.?;i++){? ?=?[i].??;?(? j=0;j<?.?;j++)if(??(?[j],?,?))?(?,?[j])}};?[??]=?(?,?,?,?){?(? i=0;i<?.?;i++){? ??=??(?[i]);if(??&&??(??,?,?))?(?,??)}};?[??]=?(?,?,?){?=??[?];?(? i=0;i<?.?;i++)if(?(?[i]))?(?,?[i])};??[??]=?(?){?!??(?)};??[??]=?(?,?){?=? ?(??+?,??);?(?&&!?.??(??))?=?.??;? ?&&?.?(?.??(??))};??.??=?(?){? ?=?;?(?,??,?(){?.?.??.??(?)});?(?,??,?(){?.?.??.??(?)})};??.??=?(?){? ?=?;?(?,??,?(){?.?.??.??(?)})};??.??=?(?){? ?=?;?(?,??,?(){?.?.??.??(?)});?(?,??,?(){?.?.??.??(?)});if(?==?.??){?.?.??.??(?)}};?(?,??,?(){? ?=?.?.??;? ?=?.?,i;?(i in ?)?.??(?[i]);?=?.?.??;?=?.?;?(i in ?)if(!?[i][0].??(??.??))?.??(?[i])});? ??=[];? ??=??g;? ?(?,??,?){?=??(?);?.id=??.?;??(?.??()){?? ??:?=??;??;?? ??:?=??;??;??:?=??+?+??}??=??[??];?(??,? ??(??,??+??(?,?)))};?.ID=?(?,?,??,?){? ? ?(?,??,?)};?.??.?=?(){? ?.??+?.id};??={?:?(){? ?=[];?(? i in ?)if(i&&i!=??)?(?,i);? ?.??(??).?(??g,??)},??:?(?){? ?.?(??,??)},??:?(?){? ?},??:?(?,?){? ?+??+??(?)},??:?(?,?){? ??+??.??(?)+??+?+??},??:?(?,?){? ??+??.??(?)+??+?+??}};?.??=??;? _?(){?.??=?(?){? ?=?[0];? ?=?[1];? ?=?[2];?(? i=0;i<?.?;i++)?.?(?[i]);?.?[?.id+?.??]=?};?.??=?(?){? ?=?[0];? ?=?[1];? ?=?[2];?(? i=0;i<?.?;i++)?.??(?[i]);?? ?.?[?.id+?.??]}};?.?=?(?){?.?=?;?.?={};?.?[?]=?};?.?.??=? _?;? ?.?(??);? ?.?(??);? ?.?(??);? ??(?){? ?.?(?.??,??).?(??,??)}},?);?.??(??,?(){if(?<5.5)?;? ??=??;? ??=(??.?(??.??))???(??,?):??;? ??=? ?((??.??||??)+??,??);? ??(?,?){?.?.?=??.?(??,?)};? ??=??gi;?.??(??,? ?(?,??,??,?,??){?=??(?);? ??.?(?)???+??.?(??,??).?(??,?)+??+(??||??)+??+(??||??)+??+(??||??):?});if(??){? ??(?){if(??.?(?.?)){? ?=?.?,?=?.?;??(?,?.?);?.?=??;?.?=?;?.?=?}? ?.?.?=??};??.?(??,?(?){if(?.?==??&&?.?!=??)?;??(?);?(?,??,?(){if(??.??==??)??(?)})})}});?.??(??,?(){? ??=??;?.?(??,??);?.?(??,??);? ?=?.?;? ?$=(??)???:??;? ?=?(?$);? ??(){if(?.?.??!=??){if(?.?.??==??){?.?.??=??+??.??+??}?.?.??=??}??=??};? ?=??(??);? ??(??){? ??(??).?(??g,??).?(??g,??).?(??g,??).?(??g,??)};? ??(?){if(?.?.??!=??)?;if(!?.??(?)){??();??[??.?++]=?;??(?);??(?);??(?)}};??.?=0;? ??(?){?.?=?.?.??.?(5,-2);? ?=(?.??)??:?.?;?.??(?);??(?);??(?);?.??(?)};? ??(?){?.?.??=?.?.??;if(!?(?)){? ??=??+?$+??;?.?.??(??,??)}};?(??(??));? ??(?){? ??=?(?)???:??;?.?[??]=??(?,?.?.??)-?.??().?-?.??};?(??(??));? ?(?){if(!?)? ?;if(?.?.?==??||?.?.?==??)? ?;? ?.??(?.?)};? ??(?,?){??(?){?? ??:?? ??:? 0;?? ??:?? ??:? ?.?-?.??;?? ??:?(?.?-?.??)/2;??:if(??.?(?)){? ?((?.?-?.??)*??(?)/100)}?.?.?=?;? ?.??}};?(??(??));? ??(?){if(?.?.?!=??)?;??();??[??.?++]=?;?.?.?=??;?.?.?=??;??(?)};??.?=0;? ??(?,?){??(?,?);??(?,?);if(!?||?.?.??){if(?(?.?.??)==0)?.?.??++}};? ??(?,?){if(!?&&??.?(?.?.?))?.?.?=?.?.?;if(?.?.?)?.?.?=?(??(?.?.?)/100*?.?);if(?){if(!?.?.??)?}?{?.?.??=?.?.?!=??&&?.?.?==??}?.?.?=??;?.?.??=??(?);if(?.?.??!=??){?.?.??(?);?.?.?=?.?.??;?.?.??-=?.??;?.?.??(?)}if(?(?.??))?.?.??=?.?.??;? if(!?)?.?.??(??,??+?$+??)};?(??(??).?(??g,??).?(??g,??));? ??(?){? ??=?.??,??=?;? ?=?(?.??)&&?.?.??;?(?=?.??){if(!?&&?.?.?!=??)??=?;??+=?.??*(???-1:1)}? ??};?(??(??));? ??(){?(? i=0;i<??.?;i++)??(??[i]);?(i=0;i<??.?;i++)??(??[i],?);?=0};? ?;?(??,??,?(){if(!?)?=??(??,10)})});??=?;if(?.??==??)_?();? ?(?,??,?(){if(!??&&?.??==??)??(_?,0)})}??(??){??();??(??+??.??)}??{}}();',493,0,/./,String,95,'element`function`var`this`return`runtimeStyle`match`cssText`value`IE7`currentStyle`replace`from`for`length`width`filter`document`position`selector`test`new`Class`push`ie7_tmp`target`x5cs`filtered`parentElement`href`styleSheet`left`path`instance`PseudoElement`attribute`content`slice`fixed`toString`filterArgs`scopeName`count`style`clientWidth`ie7`tagName`Event`x5c`DynamicStyle`addEventHandler`url`type`true`right`recalc`instances`minWidth`else`eval`while`viewport`body`CSSFixes`appVersion`link`layoutParent`fixedWidth`auto`add`RegExp`fixes`styleSheets`load`false`fixWidth`arguments`src`addRecalc`input`AttributeSelector`selectors`subset`recalcs`nextSibling`isFixed`height`parseInt`documentElement`ie7Event`ALL`cssQuery`maxWidth`handler`timer`window`positionFixed`backgroundFixed`offsetLeft`offsetParent`case`quirksMode`x5cw`addModule`prototype`uniqueID`attributeTests`dynamicPseudoClasses`pseudoClasses`dynamicPseudoClass`attach`isHTML`fixRight`token`SIZES`pattern`alert`catch`complete`getScreenLeft`topFunction`appendChild`offsetWidth`HTMLFixes`MATCH`addFix`makePath`focus`compare`x5cd`object`pseudoElement`try`name`visited`getPixelWidth`boxSizing`getFixedWidth`all`elements`isElement`pseudoClass`cacheSelector`modules`script`setTimeout`screenLeft`removeChild`PERCENT`backgroundPositionX`DUMMY`hover`unregister`register`join`className`null`exec`display`classes`parse`getCSSText`getPixelLeft`wider`max`disabled`cssCache`node`Boolean`error`unHide`loaded`bottom`marginLeft`absolute`fixBackground`top`String`location`image`getString`active`PREFIX`escape`attributeSelectors`x2f`parentNode`adjacent`nextElement`ie7_anon`pseudoElements`inherit`encoded`isURL`ignore`HEADER`decode`split`encode`resizeWidth`NUMERIC`rect`min`hasLayout`outerHTML`apply`fixedElement`QUOTED`handlers`pop`strings`string`item`small`getPath`styles`pathname`array`httpRequest`finally`Error`readyState`foregroundPosition`backgroundPosition`nested`autoLeft`positionLeft`parseFloat`getOffsetLeft`setOffsetLeft`getBoundingClientRect`propertyName`backgroundLeft`canHaveChildren`backgroundImage`backgroundAttachment`tmpElement`none`background`fixImg`pngTest`FILTER`simpleSelector`delete`getAttribute`lang`compareTagName`ancestor`createElement`code`PIXEL`resizeRight`getPaddingWidth`getBorderWidth`box`submit`clicked`fix`select`useCache`base`large`inlineStyles`LINKS`description`resize`onresize`scrollLeft`pixelLeft`setExpression`default`switch`callee`expression`contains`Height`Width`Top`Left`leftFunction`img`event`NULL`addFilter`suffix`prefix`scale`png`define`navigator`Microsoft`CHILD`COMPLEX`remove`quote`ESCAPE`Function`break`ie7_`x5cb`class`ms_`previousElement`OBJECT`CONTENT`before`unicode`HEX`addTimer`firstChild`create`clearInterval`inline`ANCHOR`Parser`parser`removeTempElement`HEIGHT`getMarginWidth`AUTO`minHeight`marginRight`UNIT`toUpperCase`charAt`BUTTON`UNSUCCESSFUL`button`abbr`htmlFor`HTML`endTag`firstChildElement`continue`block`marginTop`fixMargins`removeEventHandler`attachEvent`key`getElementsByTagName`selectById`NAMESPACE`STREAM`STANDARD_SELECT`toStream`ASTERISK`IMPLIED_SELECTOR`reg`loadStyleSheet`imports`MEDIA`innerHTML`lastIndexOf`URL`fixUrls`scripts`RELATIVE`autoload`mimeType`search`message`onreadystatechange`static`screenTop`autoTop`positionTop`center`clientLeft`setOffsetTop`backgroundTop`protocol`onpropertychange`INPUT`zoom`crop`trans`IE7_PNG_SUFFIX`x00`x_bits`char`x5cnstatic`x_height`x5cn`x_width`javascript`gif`blank`userAgent`bSV1`sizingMethod`AlphaImageLoader`DXImageTransform`progid`toLowerCase`srcElement`onmouseup`activeElement`onblur`onfocus`onmousedown`onmouseout`onmouseover`child`first`children`scriptlet`text`htm`data`after`insertBefore`innerText`setInterval`specificity`x5cu`align`vertical`with`css2`fixHeight`Bottom`Right`paddingRight`paddingLeft`Math`model`onsubmit`reset`form`onclick`textarea`label`xhtml`org`www`http`namespaces`replaceChild`html4`previousSibling`nodeType`clip`border`padding`unquote`contentEditable`onbeforeunload`detachEvent`import`namespace`concat`Array`constructor`size`font`medium`list`float`relative`sizing`lastIndex`successfully`media`ball`bscreen`write`createStyleSheet`ie5`file`not`could`responseText`send`GET`open`XMLHTTP`ActiveXObject`margin`Document`XML`xml`unknown`typeof`CSS1Compat`compatMode`ie7_off`MSIE`ie7_debug`alpha`version`visible`visibility`fromCharCode`??`?? (\\d\\.\\d)`??`^??`\\.??$`^[\\w\\.]+[^:]*$`(?\\([\x27"]?)([\\w\\.]+[^:\\)]*[\x27"]?\\))`\\??\\b|\\??\\b|^$`?-?`(??\\s*:\\s*(?|?))`??\\s*:\\s*??-??`^[^>\\+~\\s]`[\\s>\\+~:@#\\.\\(\\)]|[^\\s>\\+~:@#\\.\\(\\)]+`\\|`([\\s>~\\,]|[^(]\\+|^)([\\.:#@])`(\\??\\*[^\\*]*\\*+([^\\??][^\\*]*\\*+)*\\??)|(\x27[^\x27]*\x27)|("[^"]*")`@(??|??)[^;\\n]+[;\\n]|<!\\-\\-|\\-\\->`\\?:`^\\s+|\\s*([\\{\\}\\+\\,>~\\s;])\\s*|\\s+$`\x27(\\d+)\x27`(\x27[^\x27]*\x27)|("[^"]*")` ?="([^"]*)"`^(??|??|??)$`^\\d\\w*$`^\\d+%$`^\\d+(px)?$`\\b(??|??)-(?|?)\\s*:\\s*\\d`\\b(??|??)-?\\s*:\\s*\\d`^?|0cm$`^?$`??`??`?`??`?`??`?`>`(\\ba(\\.[\\w-]+)?)$`\\{[^\\}]*\\}`::`([^\\}\\s]*\\,[^\\{]*)(\\{\\d+\\})`\\{(\\d+)\\}`[+>~]`\\?([a-fA-F\\d]+)`^?\\(.*\\)$`([^}]*):(??|??)[^{]*\\{([^}]*)\\}`?\\s*:\\s*([^;]*)(;|$)`([\\??()[\\]?{}|*+])`=`\\??\\b`%1`??(-??)?\\s*:([^(};]*)?\\(([^\\)]+)\\)([^;}]*)`??`X`??`? ?? 0.7.3 (??)`\\n\\n`??`??`?? ??`:?{?-?:?}:??{?-?:??}`*{??:0}`??=``/`??.??`??`?? [1]: ?? ?? ? ?? `?-??.js`??`<?></?>`$1`$2`?`?? ??`?? [2]: `([^{}]*)\\?{([^}]*[^\\??-])?`gi`??-??\\?*:\\?*?-??`?\\?*:\\?*??`??`??:??;$1`??:??`xx-??,x-??,??,??,??,x-??,xx-??`,`xx-??`(??(-??)?\\?*:\\?*)(`|`)`$1*$2` *#`(` `*`#`.`(^|\\?)`(\\?|$)`:`?`??`\\?([^)]*\\?)`?-?`\x27`\\?:`??`??`?:??;??:0;??:??;??:??;??:??(0 0 0 0);?:-9999`!`?-??`<??:`/>`</`>`??`??://??.w3.??/1999/??`??`?,??,??`??` ??`??,?`??`??`??`?.??.`.?.??=?`??`??`.??=?`.?=\x27`?-??-??`\\?*:\\?*\\??[\\??%]*`?`HR`?\\?*:\\?*\\??\\??*[^%]`?`??-?`??`??-?`??`?`??`??`?`??`??`??`??`?-??`[^},\\?]*([>+~][^:@,\\?{]+|:(`)|\\?.[\\??-]+\\?.[\\??-.]+|@[@\\??]+)`g`[^\\?(]+[+~]|@\\??+|:(?|??|`)|\\?.[\\??-.]+`([^}]*):(`)([^{]*)`\\?[([^`=\\?]]+)([`]?=?)([^\\?]]+)?\\?]`{`}`\\?`\\??`??`??`.??{??-??:??;??:??}`\x27\\??`0000`??`;`<?? ??=?? ??=\x27`?-?.??`\x27 ?=100% ?=0 ?=??/x-??>`+`@`??-??`??`^`i`??`??`??`??`??`??`id`?.id.?(/??\\??+/g,\x27\x27)`??`?.??.?(/\\??\\?*??\\??+/g,\x27\x27)`?.??(\x27`\x27)`?`? `??`\\?$1`=`==`~=`/(^|\\?)`(\\?|$)/.?(`|=`/^`(-|$)/.?(`??`??`?-??`??:??.??.??(?=%1,??=\x27??\x27)`??.??`??:\x27#?? ?? 1\\??#?? ?? 1\\?? ?? ??[]={0??}\x27`-??.??`$`?:`??`;??:1;??`??`??,?`??`??`??`?`?-?`?\\?*:\\?*?`??[\\??\\?-]*:[^};]*?`?`?`?(`??`Y`(?(?.??)+?.`.??)||0`??`??`?`??`??`?.??+?.`.??`??`??`?? [0]: '.split('\x60'))); |
|
3 |
/* packed with http://dean.edwards.name/packer/ */ |
usr/local/www/themes/_orange-flow/javascript/ie7/ie7-standard.js | ||
---|---|---|
1 |
/* IE7 version 0.7.3 (alpha) 2004/09/18 */ |
|
2 |
if(!window.IE7)new function(){try{window.IE7=this;var DUMMY=this.addModule=new Function;function unHide(){if(document.body)document.body.style.visibility="visible"};this.toString=function(){return "IE7 version 0.7.3 (alpha)"};var alert=(/ie7_debug/.test(location.search))?function(message){window.alert(IE7+"\n\n"+message)}:DUMMY;var appVersion=navigator.appVersion.match(/MSIE (\d\.\d)/)[1];if(/ie7_off/.test(location.search)||appVersion<5||!/^ms_/.test(document.documentElement.uniqueID))return unHide();var quirksMode=Boolean(document.compatMode!="CSS1Compat");var isHTML=(typeof document.mimeType=="unknown")?!/\.xml$/i.test(location.pathname):Boolean(document.mimeType!="XML Document");var LINKS=":link{ie7-link:link}:visited{ie7-link:visited}";var HEADER=LINKS;if(!isHTML)HEADER+="*{margin:0}";var HTMLFixes;var documentElement=document.documentElement;var modules={};this.addModule=function(name,script,autoload){if(!modules)return;if(loaded)eval("script="+String(script));if(autoload){script();script=DUMMY}modules[name]=script};var RELATIVE=/^[\w\.]+[^:]*$/;function makePath(href,path){if(RELATIVE.test(href))href=(path||"")+href;return href};function getPath(href,path){href=makePath(href,path);return href.slice(0,href.lastIndexOf("/")+1)};var path=getPath(document.scripts[document.scripts.length-1].src);var httpRequest=new ActiveXObject("Microsoft.XMLHTTP");function load(href,path){try{href=makePath(href,path);httpRequest.open("GET",href,false);httpRequest.send();return httpRequest.responseText}catch(ignore){alert("Error [1]: could not load file "+href);return ""}};var push=function(array,item){return array.push(item)};var pop=function(array){return array.pop()};if(appVersion<5.5)eval(load("ie7-ie5.js",path));if(document.readyState=="complete"||!isHTML)document.createStyleSheet();else document.write("<style></style>");this.styleSheet=document.styleSheets[document.styleSheets.length-1];this.styleSheet.cssText=LINKS;this.styleSheet.ie7=true;var cssText={};function loadStyleSheet(styleSheet,path){var url=makePath(styleSheet.href,path);if(cssText[url])return "";cssText[url]=(styleSheet.disabled)?"":fixUrls(getCSSText(styleSheet,path),getPath(styleSheet.href,path));return cssText[url]};var getCSSText=function(styleSheet){return styleSheet.cssText};var URL=/(url\(['"]?)([\w\.]+[^:\)]*['"]?\))/gi;function fixUrls(cssText,pathname){return cssText.replace(URL,"$1"+pathname.slice(0,pathname.lastIndexOf("/")+1)+"$2")};this.recalcs=[];this.parse=DUMMY;var complete=false;function _load(){try{complete=true;var MEDIA=/\bscreen\b|\ball\b|^$/i;var styleSheets=document.styleSheets;var inlineStyles=[];var styles=document.getElementsByTagName("style");for(var i=styles.length-1;i>=0;i--){push(inlineStyles,/ie7-link/.test(styles[i].innerHTML)?"":styles[i].innerHTML)}function getCSSText(styleSheet,path){var cssText="";if(MEDIA.test(styleSheet.media)){for(var i=0;i<styleSheet.imports.length;i++){cssText+=arguments.callee(styleSheet.imports[i],getPath(styleSheet.href,path))}cssText+=((styleSheet.href)?loadStyleSheet(styleSheet,path):pop(inlineStyles))}return cssText};IE7.cssText="";for(i=0;i<styleSheets.length;i++)IE7.cssText+=getCSSText(styleSheets[i],"");IE7.cssText=encode(IE7.cssText);for(i in modules)modules[i]();delete modules;if(HTMLFixes)HTMLFixes.apply();CSSFixes.apply();IE7.parse();IE7.styleSheet.cssText=HEADER+decode(IE7.cssText);for(i=0;i<styleSheets.length;i++){if(!styleSheets[i].disabled&&!styleSheets[i].ie7)styleSheets[i].cssText=""}IE7.recalc();alert("loaded successfully")}catch(error){alert("Error [2]: "+error.description)}finally{unHide()}};this.recalc=function(){CSSFixes.recalc();for(var i=0;i<this.recalcs.length;i++)this.recalcs[i]()};var CSSFixes=new function(){var fixes=[];this.addFix=function(){push(fixes,arguments)};var recalcs=[];this.addRecalc=function(pattern,fix){var reg=new RegExp("([^{}]*)\x5c{([^}]*[^\x5cw-])?"+pattern,"gi");var cssText=IE7.cssText;pattern=[];while(match=reg.exec(cssText)){push(pattern,match[1]);if(appVersion<5.5)cssText=cssText.slice(match.lastIndex)}if(pattern.length){pattern=pattern.toString();push(recalcs,arguments)}};this.apply=function(){for(var i=0;i<fixes.length;i++){IE7.cssText=IE7.cssText.replace(fixes[i][0],fixes[i][1])}this.addRecalc("box-sizing\x5cs*:\x5cs*content-box",boxSizing);this.addRecalc("position\x5cs*:\x5cs*absolute",function(element){if(element.offsetParent.currentStyle.position=="relative")boxSizing(element.offsetParent)})};this.recalc=function(){for(var i=0;i<recalcs.length;i++){var elements=cssQuery(recalcs[i][0]);for(var j=0;j<elements.length;j++)recalcs[i][1](elements[j])}};this.addFix(/(float\s*:\s*(left|right))/gi,"display:inline;$1");if(appVersion<6)this.addFix(/display\s*:\s*list-item/gi,"display:block");if(quirksMode){var SIZES="xx-small,x-small,small,medium,large,x-large,xx-large".split(",");for(var i=0;i<SIZES.length;i++)SIZES[SIZES[i]]=SIZES[i-1]||"xx-small";function replace($,$1,$2,$3){return $1+SIZES[$3]};this.addFix(new RegExp("(font(-size)?\x5cs*:\x5cs*)("+SIZES.join("|")+")","gi"),replace)}};var STANDARD_SELECT=/^[^>\+~\s]/;var STREAM=/[\s>\+~:@#\.\(\)]|[^\s>\+~:@#\.\(\)]+/g;var NAMESPACE=/\|/;var IMPLIED_SELECTOR=/([\s>~\,]|[^(]\+|^)([\.:#@])/g;var ASTERISK="$1*$2";var cssCache={};function cssQuery(selector,from){var useCache=!from;var base=(from)?(from.constructor==Array)?from:[from]:[document];var selectors=selector.replace(IMPLIED_SELECTOR,ASTERISK).split(",");var match=[];for(var i=0;i<selectors.length;i++){selector=toStream(selectors[i]);if(selector.slice(0,3).join("")==" *#"){selector=selector.slice(2);from=selectById(base,selector[1])}else from=base;var j=0,token,filter,filterArgs,cacheSelector="";while(j<selector.length){token=selector[j++];filter=selector[j++];cacheSelector+=token+filter;filterArgs="";if(selector[j]=="("){while(selector[j++]!=")")filterArgs+=selector[j];filterArgs=filterArgs.slice(0,-1);cacheSelector+="("+filterArgs+")"}from=(useCache&&cssCache[cacheSelector])?cssCache[cacheSelector]:select(from,token,filter,filterArgs);if(useCache)cssCache[cacheSelector]=from}match=match.concat(from)}return match};function toStream(selector){if(STANDARD_SELECT.test(selector))selector=" "+selector;return selector.match(STREAM)};function select(from,token,filter,filterArgs){var scopeName="";if(NAMESPACE.test(filter)){filter=filter.split("|");scopeName=filter[0];filter=filter[1]}var filtered=[];if(selectors[token])selectors[token](filtered,from,filter,scopeName||filterArgs);return filtered};function selectById(from,id){var filtered=[],i,j;for(i=0;i<from.length;i++){var match=from[i].all.item(id);if(match){if(match.length==null)push(filtered,match);else for(j=0;j<match.length;j++)push(filtered,match[j])}}return filtered};var selectors={" ":function(filtered,from,filter,scopeName){for(var i=0;i<from.length;i++){var subset=(filter=="*"&&from[i].all)?from[i].all:from[i].getElementsByTagName(filter);for(var j=0;j<subset.length;j++){if(isElement(subset[j])&&(!scopeName||subset[j].scopeName==scopeName))push(filtered,subset[j])}}},"#":function(filtered,from,filter){for(var i=0;i<from.length;i++)if(from[i].id==filter)push(filtered,from[i])},".":function(filtered,from,filter){filter=new RegExp("(^|\x5cs)"+filter+"(\x5cs|$)");for(var i=0;i<from.length;i++)if(filter.test(from[i].className))push(filtered,from[i])},":":function(filtered,from,filter,filterArgs){filter=pseudoClasses[filter];if(filter)for(var i=0;i<from.length;i++)if(filter(from[i],filterArgs))push(filtered,from[i])}};var attributeTests="";var pseudoClasses={toString:function(){var toString=[];for(var pseudoClass in this){if(pseudoClass!="link"&&pseudoClass!="visited"){if(this[pseudoClass].length>1)pseudoClass+="\x5c([^)]*\x5c)";push(toString,pseudoClass)}}return toString.join("|")},"link":function(element){return Boolean(element.currentStyle["ie7-link"]=="link")},"visited":function(element){return Boolean(element.currentStyle["ie7-link"]=="visited")}};var dynamicPseudoClasses={toString:pseudoClasses.toString};function compareTagName(element,tagName,scopeName){if(scopeName&&element.scopeName!=scopeName)return false;return(tagName=="*")?isElement(element):(isHTML)?(element.tagName==tagName.toUpperCase()):(element.tagName==tagName)};var strings=[];function getString(string){return QUOTED.test(string)?strings[string.slice(1,-1)]:string};var encode=function(cssText){return cssText.replace(/(\x2f\*[^\*]*\*+([^\x2f][^\*]*\*+)*\x2f)|('[^']*')|("[^"]*")/g,function(match){return(match.charAt(0)=="/")?"":"'"+(push(strings,match.slice(1,-1))-1)+"'"}).replace(/@(namespace|import)[^;\n]+[;\n]|<!\-\-|\-\->/g,"").replace(/\x5c:/g,"|").replace(/^\s+|\s*([\{\}\+\,>~\s;])\s*|\s+$/g,"$1")};function decode(cssText){return cssText.replace(/\|/g,"\x5c:").replace(/'(\d+)'/g,function(match,key){return strings[key]})};var handlers=[];function addEventHandler(element,type,handler){element.attachEvent(type,handler);push(handlers,arguments)};function removeEventHandler(element,type,handler){try{element.detachEvent(type,handler)}catch(ignore){}};window.attachEvent("onbeforeunload",function(){while(handlers.length){var handler=pop(handlers);removeEventHandler(handler[0],handler[1],handler[2])}});var hasLayout=(appVersion<6)?function(element){return element.clientWidth}:function(element){return element.currentStyle.hasLayout};function boxSizing(element){if(!hasLayout(element)){element.contentEditable=false;fixMargins(firstChildElement(element))}};function fixMargins(element){while(element){element.runtimeStyle.marginTop=element.currentStyle.marginTop;element=nextElement(element)}};var QUOTED=/('[^']*')|("[^"]*")/;function quote(value){return(QUOTED.test(value))?value:"'"+value+"'"};function unquote(value){return(QUOTED.test(value))?value.slice(1,-1):value};function tmpElement(tagName){var element=document.createElement(tagName||"object");element.style.cssText="position:absolute;padding:0;display:block;border:none;clip:rect(0 0 0 0);left:-9999";return element};function isElement(node){return Boolean(node&&node.nodeType==1&&node.tagName!="!"&&!node.ie7_anon)};function previousElement(element){while(element&&(element=element.previousSibling)&&!isElement(element))continue;return element};function nextElement(element){while(element&&(element=element.nextSibling)&&!isElement(element))continue;return element};function firstChildElement(element){element=element.firstChild;return(isElement(element))?element:nextElement(element)};var loaded=false;IE7.addModule("ie7-html4",function(){if(isHTML)HTMLFixes=new function(){var fixes=[];function fix(element){var fixedElement=document.createElement("<HTML:"+element.outerHTML.slice(1));if(element.outerHTML.slice(-2)!="/>"){var endTag="</"+element.tagName+">",nextSibling;while((nextSibling=element.nextSibling)&&nextSibling.outerHTML!=endTag){element.parentNode.removeChild(nextSibling);fixedElement.appendChild(nextSibling)}if(nextSibling)element.parentNode.removeChild(nextSibling)}element.parentNode.replaceChild(fixedElement,element);return fixedElement};this.add=function(){push(fixes,arguments)};this.apply=function(){try{if(appVersion>5)document.namespaces.add("HTML","http://www.w3.org/1999/xhtml")}catch(ignore){}finally{for(var i=0;i<fixes.length;i++){var elements=cssQuery(fixes[i][0]);for(var j=0;j<elements.length;j++)fixes[i][1](elements[j])}}};this.add("label",function(element){if(!element.htmlFor){var input=cssQuery("input,select,textarea",element)[0];if(input){if(!input.id)input.id=input.uniqueID;element.htmlFor=input.id}}});this.add("abbr",function(element){fix(element);delete cssCache[" abbr"]});this.add("button,input",function(element){if(element.tagName=="BUTTON"){var match=element.outerHTML.match(/ value="([^"]*)"/i);element.runtimeStyle.value=(match)?match[1]:""}if(element.type=="submit"){addEventHandler(element,"onclick",function(){element.runtimeStyle.clicked=true;setTimeout("document.all."+element.uniqueID+".runtimeStyle.clicked=false",1)})}});this.add("form",function(element){var UNSUCCESSFUL=/^(submit|reset|button)$/;addEventHandler(element,"onsubmit",function(){for(var i=0;i<element.length;i++){if(UNSUCCESSFUL.test(element[i].type)&&!element[i].disabled&&!element[i].runtimeStyle.clicked){element[i].disabled=true;setTimeout("document.all."+element[i].uniqueID+".disabled=false",1)}else if(element[i].tagName=="BUTTON"&&element[i].type=="submit"){setTimeout("document.all."+element[i].uniqueID+".value='"+element[i].value+"'",1);element[i].value=element[i].runtimeStyle.value}}})})}},true);IE7.addModule("ie7-box-model",function(){var NUMERIC="\x5cs*:\x5cs*\x5cd[\x5cw%]*",UNIT=/^\d\w*$/,PERCENT=/^\d+%$/,PIXEL=/^\d+(px)?$/;var MATCH=(appVersion<6)?/\b(min|max)-(width|height)\s*:\s*\d/gi:/\b(min|max)-width\s*:\s*\d/gi;var AUTO=(appVersion<5.5)?/^auto|0cm$/:/^auto$/;var ie7_tmp=tmpElement();push(IE7.recalcs,function removeTempElement(){if(ie7_tmp.parentElement)ie7_tmp.parentElement.removeChild(ie7_tmp)});CSSFixes.addFix(MATCH,function(match){return match.slice(0,3)+match.charAt(4).toUpperCase()+match.slice(5)});var viewport=(quirksMode)?document.body:documentElement;function isFixed(element){return element.style.position=="fixed"||element.currentStyle.position=="fixed"};function layoutParent(element){var layoutParent=element.offsetParent;while(layoutParent&&!hasLayout(layoutParent))layoutParent=layoutParent.offsetParent;if(!layoutParent||isFixed(element))layoutParent=viewport;return layoutParent};function fixWidth(HEIGHT){fixWidth=function(element,value){if(!element.runtimeStyle.fixedWidth&&(!isHTML||element.tagName!="HR")){if(!value)value=element.currentStyle.width;element.runtimeStyle.fixedWidth=(UNIT.test(value))?Math.max(0,getFixedWidth(element,value)):value;element.runtimeStyle.width=element.runtimeStyle.fixedWidth;boxSizing(element)}};if(quirksMode)CSSFixes.addRecalc("width\x5cs*:\x5cs*\x5cd\x5cw*[^%]",fixWidth);var getFixedWidth=(quirksMode)?function(element,value){return getPixelWidth(element,value)+getBorderWidth(element)+getPaddingWidth(element)}:function(element,value){return getPixelWidth(element,value)};function getBorderWidth(element){return element.offsetWidth-element.clientWidth};function getPaddingWidth(element){return getPixelWidth(element,element.currentStyle.paddingLeft)+getPixelWidth(element,element.currentStyle.paddingRight)};function getMarginWidth(element){return((element.currentStyle.marginLeft=="auto")?0:getPixelLeft(element,element.currentStyle.marginLeft))+((element.currentStyle.marginRight=="auto")?0:getPixelLeft(element,element.currentStyle.marginRight))};function minWidth(element){minWidth[minWidth.count++]=element;if(element.currentStyle.minHeight=="auto")element.runtimeStyle.minHeight=0;fixWidth(element);boxSizing(element);resizeWidth(element)};minWidth.count=0;CSSFixes.addRecalc("min-width"+NUMERIC,minWidth);eval(String(minWidth).replace(/min/g,"max"));maxWidth.count=0;CSSFixes.addRecalc("max-width"+NUMERIC,maxWidth);function resizeWidth(element){var rect=element.getBoundingClientRect();var width=rect.right-rect.left;if(element.currentStyle.maxWidth&&width>=getFixedWidth(element,element.currentStyle.maxWidth))element.runtimeStyle.width=getFixedWidth(element,element.currentStyle.maxWidth);else if(element.currentStyle.minWidth&&width<=getFixedWidth(element,element.currentStyle.minWidth))element.runtimeStyle.width=getFixedWidth(element,element.currentStyle.minWidth);else element.runtimeStyle.width=element.runtimeStyle.fixedWidth};function fixRight(element){if((element.currentStyle.position=="absolute"||element.currentStyle.position=="fixed")&&element.currentStyle.left!="auto"&&element.currentStyle.right!="auto"&&AUTO.test(element.currentStyle.width)){fixRight[fixRight.count++]=element;boxSizing(element);resizeRight(element)}};fixRight.count=0;CSSFixes.addRecalc("right"+NUMERIC,fixRight);function resizeRight(element){element.runtimeStyle.width="";var parentElement=layoutParent(element);var left=(element.runtimeStyle.screenLeft)?element.getBoundingClientRect().left-2:getPixelLeft(element,element.currentStyle.left);var width=parentElement.clientWidth-getPixelLeft(element,element.currentStyle.right)-left-getMarginWidth(element);if(!quirksMode)width-=getBorderWidth(element)+getPaddingWidth(element);if(width<0)width=0;if(isFixed(element)||HEIGHT||element.offsetWidth<width){element.runtimeStyle.fixedWidth=width;element.runtimeStyle.width=width}};var clientWidth=documentElement.clientWidth;addEventHandler(window,"onresize",function(){var i,wider=(clientWidth<documentElement.clientWidth);clientWidth=documentElement.clientWidth;for(i=0;i<minWidth.count;i++){var element=minWidth[i];var fixedWidth=(element.runtimeStyle.width==element.currentStyle.minWidth);if(wider&&fixedWidth)element.runtimeStyle.width="";if(wider==fixedWidth)resizeWidth(element)}for(i=0;i<maxWidth.count;i++){var element=maxWidth[i];var fixedWidth=(element.runtimeStyle.width==element.currentStyle.maxWidth);if(!wider&&fixedWidth)element.runtimeStyle.width="";if(wider!=fixedWidth)resizeWidth(element)}for(i=0;i<fixRight.count;i++)resizeRight(fixRight[i]);removeTempElement()});function getPixelWidth(element,value){if(PIXEL.test(value))return parseInt(value);if(PERCENT.test(value))return parseInt(parseFloat(value)/100*layoutParent(element).clientWidth);var parentElement=(element.canHaveChildren)?element:element.parentElement;parentElement.appendChild(ie7_tmp);ie7_tmp.style.width=value;return ie7_tmp.offsetWidth};function getPixelLeft(element,value){if(parseInt(value)>0)return getPixelWidth(element,value);if(PIXEL.test(value))return parseInt(value);element.parentElement.appendChild(ie7_tmp);ie7_tmp.style.left=value;return ie7_tmp.offsetLeft}};eval(String(fixWidth).replace(/Width/g,"Height").replace(/width/g,"height").replace(/Left/g,"Top").replace(/left/g,"top").replace(/Right/g,"Bottom").replace(/right/g,"bottom"));fixWidth();fixHeight(true)});IE7.addModule("ie7-css2",function(){var CHILD=/>/g,ANCHOR=/(\ba(\.[\w-]+)?)$/i;IE7.classes=[];IE7.parser=new Parser;IE7.Class=Class;IE7.DynamicStyle=DynamicStyle;IE7.PseudoElement=PseudoElement;IE7.parse=function(){with(this.parser)this.cssText=decode(parse(encode(this.cssText)));for(var i=0;i<IE7.classes.length;i++)IE7.classes[i].exec();for(i=0;i<pseudoElements.length;i++)pseudoElements[i].create()};getCSSText=function(styleSheet,path){return load(styleSheet.href,path)};var encoded=[];function Parser(){this.parse=function(cssText){Class.ALL=new RegExp("[^},\x5cs]*([>+~][^:@,\x5cs{]+|:("+pseudoClasses+")|\x5c.[\x5cw-]+\x5c.[\x5cw-.]+|@[@\x5cd]+)","g");Class.COMPLEX=new RegExp("[^\x5cs(]+[+~]|@\x5cd+|:(link|visited|"+pseudoClasses+"|"+dynamicPseudoClasses+")|\x5c.[\x5cw-.]+","g");DynamicStyle.ALL=new RegExp("([^}]*):("+dynamicPseudoClasses+")([^{]*)","g");return cssText.replace(PseudoElement.ALL,PseudoElement.ID).replace(DynamicStyle.ALL,DynamicStyle.ID).replace(Class.ALL,Class.ID)};this.encode=function(cssText){AttributeSelector.ALL=new RegExp("\x5c[([^"+attributeTests+"=\x5c]]+)(["+attributeTests+"]?=?)([^\x5c]]+)?\x5c]","g");return cssText.replace(AttributeSelector.ALL,AttributeSelector.ID).replace(/\{[^\}]*\}/g,function($){return "{"+(push(encoded,$)-1)+"}"}).replace(/::/g,":").replace(/([^\}\s]*\,[^\{]*)(\{\d+\})/g,function(match,left,right){return left.split(",").join(right)+right})};this.decode=function(cssText){return cssText.replace(/\{(\d+)\}/g,function($,$1){return encoded[$1]})}};function _Class(){this.toString=function(){return "."+this.name};this.add=function(element){element.className+=" "+this.name};this.remove=function(element){element.className=element.className.replace(this.MATCH,"")};this.exec=function(){var match=cssQuery(this.selector);for(var i=0;i<match.length;i++)this.add(match[i])}};function Class(selector,cssText){this.id=IE7.classes.length;this.name=Class.PREFIX+this.id;this.selector=selector;this.MATCH=new RegExp("\x5cs"+this.name+"\x5cb","g");push(IE7.classes,this)};Class.ancestor=_Class;Class.prototype=new _Class;Class.PREFIX="ie7_";Class.ID=function(match){return simpleSelector(match)+new Class(match)};function _DynamicStyle(){this.exec=function(){var match=cssQuery(this.attach);for(var i=0;i<match.length;i++){var target=(this.target)?cssQuery(this.target,match[i]):[match[i]];if(target)this.dynamicPseudoClass(match[i],target,this)}}};_DynamicStyle.prototype=new _Class;function DynamicStyle(selector,attach,dynamicPseudoClass,target){this.attach=attach;this.dynamicPseudoClass=dynamicPseudoClasses[dynamicPseudoClass];this.target=target;this.inherit=Class;this.inherit(selector)};DynamicStyle.ancestor=_DynamicStyle;DynamicStyle.prototype=new _DynamicStyle;DynamicStyle.ID=function(match,attach,dynamicPseudoClass,target){if(isHTML&&dynamicPseudoClass!="focus"&&ANCHOR.test(attach)&&!/[+>~]/.test(target))return match;return simpleSelector(match)+new DynamicStyle(match,attach,dynamicPseudoClass,target)};HEADER+=".ie7_anon{vertical-align:top;display:inline}";var HEX=/\x5c([a-fA-F\d]+)/g;function unicode(match,code){return eval("'\x5cu"+"0000".slice(code.length)+code+"'")};var pseudoElements=[];function _PseudoElement(){this.content=null;this.toString=function(){return ""};this.specificity=0;function addTimer(object,content,cssText){var timer=setInterval(function(){try{if(!object.load)return;object.load(object,content,cssText);clearInterval(timer)}catch(ignore){clearInterval(timer)}},10)};this.create=function(){if(this.content==null)return;for(var i=0;i<this.match.length;i++){var target=this.match[i];var pseudoElement=target.runtimeStyle[this.position];if(pseudoElement){var parentElement=target.canHaveChildren?target:target.parentElement;var isURL=/^url\(.*\)$/.test(this.content);var element=document.createElement(isURL?PseudoElement.OBJECT:"!");element.ie7_anon=true;element.runtimeStyle.cssText=pseudoElement.cssText;if(!isURL)element.innerText=pseudoElement.content;if(this.position=="before"){parentElement.insertBefore(element,parentElement.firstChild)}else{parentElement.appendChild(element)}if(isURL)addTimer(element,pseudoElement.content,pseudoElement.cssText);target.runtimeStyle[this.position]=null}}};this.exec=function(){this.match=cssQuery(this.selector);for(var i=0;i<this.match.length;i++){var runtimeStyle=this.match[i].runtimeStyle;if(!runtimeStyle[this.position])runtimeStyle[this.position]={cssText:""};runtimeStyle[this.position].cssText+=";"+this.cssText;if(this.content!=null)runtimeStyle[this.position].content=this.content}}};_PseudoElement.prototype=new _Class;function PseudoElement(selector,position,cssText){this.position=position;this.cssText=encoded[cssText].slice(1,-1);var content=this.cssText.match(PseudoElement.CONTENT);if(content)this.content=getString(content[1]).replace(HEX,unicode);this.inherit=Class;this.inherit(selector);push(pseudoElements,this)};PseudoElement.ancestor=_PseudoElement;PseudoElement.prototype=new _PseudoElement;PseudoElement.ID=function(match,selector,position,cssText){return new PseudoElement(selector,position,cssText)};PseudoElement.ALL=/([^}]*):(before|after)[^{]*\{([^}]*)\}/g;PseudoElement.CONTENT=/content\s*:\s*([^;]*)(;|$)/;PseudoElement.OBJECT="<object class=ie7_anon data='"+makePath("ie7-content.htm",path)+"' width=100% height=0 type=text/x-scriptlet>";selectors[">"]=function(filtered,from,filter,scopeName){for(var i=0;i<from.length;i++){var subset=from[i].children;for(var j=0;j<subset.length;j++)if(compareTagName(subset[j],filter,scopeName))push(filtered,subset[j])}};selectors["+"]=function(filtered,from,filter,scopeName){for(var i=0;i<from.length;i++){var adjacent=nextElement(from[i]);if(adjacent&&compareTagName(adjacent,filter,scopeName))push(filtered,adjacent)}};selectors["@"]=function(filtered,from,filter){filter=attributeSelectors[filter];for(var i=0;i<from.length;i++)if(filter(from[i]))push(filtered,from[i])};pseudoClasses["first-child"]=function(element){return!previousElement(element)};pseudoClasses["lang"]=function(element,filterArgs){filterArgs=new RegExp("^"+filterArgs,"i");while(element&&!element.getAttribute("lang"))element=element.parentNode;return element&&filterArgs.test(element.getAttribute("lang"))};dynamicPseudoClasses.hover=function(element){var instance=arguments;addEventHandler(element,"onmouseover",function(){IE7.Event.hover.register(instance)});addEventHandler(element,"onmouseout",function(){IE7.Event.hover.unregister(instance)})};dynamicPseudoClasses.active=function(element){var instance=arguments;addEventHandler(element,"onmousedown",function(){IE7.Event.active.register(instance)})};dynamicPseudoClasses.focus=function(element){var instance=arguments;addEventHandler(element,"onfocus",function(){IE7.Event.focus.register(instance)});addEventHandler(element,"onblur",function(){IE7.Event.focus.unregister(instance)});if(element==document.activeElement){IE7.Event.focus.register(instance)}};addEventHandler(document,"onmouseup",function(){var ie7Event=IE7.Event.active;var instances=ie7Event.instances,i;for(i in instances)ie7Event.unregister(instances[i]);ie7Event=IE7.Event.hover;instances=ie7Event.instances;for(i in instances)if(!instances[i][0].contains(event.srcElement))ie7Event.unregister(instances[i])});var attributeSelectors=[];var ESCAPE=/([\x2f()[\]?{}|*+])/g;function AttributeSelector(attribute,compare,value){value=getString(value);this.id=attributeSelectors.length;switch(attribute.toLowerCase()){case "id":attribute="element.id.replace(/ms_\x5cd+/g,'')";break;case "class":attribute="element.className.replace(/\x5cb\x5cs*ie7_\x5cd+/g,'')";break;default:attribute="element.getAttribute('"+attribute+"')"}compare=attributeTests[compare];push(attributeSelectors,new Function("element","return "+compare(attribute,value)))};AttributeSelector.ID=function(match,attribute,compare,value){return new AttributeSelector(attribute,compare,value)};AttributeSelector.prototype.toString=function(){return AttributeSelector.PREFIX+this.id};attributeTests={toString:function(){var toString=[];for(var i in this)if(i&&i!="escape")push(toString,i);return toString.join("").replace(/=/g,"")},escape:function(value){return value.replace(ESCAPE,"\x5c$1")},"":function(attribute){return attribute},"=":function(attribute,value){return attribute+"=="+quote(value)},"~=":function(attribute,value){return "/(^|\x5cs)"+attributeTests.escape(value)+"(\x5cs|$)/.test("+attribute+")"},"|=":function(attribute,value){return "/^"+attributeTests.escape(value)+"(-|$)/.test("+attribute+")"}};AttributeSelector.PREFIX="@";function _ie7Event(){this.register=function(instance){var element=instance[0];var target=instance[1];var Class=instance[2];for(var i=0;i<target.length;i++)Class.add(target[i]);this.instances[Class.id+element.uniqueID]=instance};this.unregister=function(instance){var element=instance[0];var target=instance[1];var Class=instance[2];for(var i=0;i<target.length;i++)Class.remove(target[i]);delete this.instances[Class.id+element.uniqueID]}};IE7.Event=function(type){this.type=type;this.instances={};IE7.Event[type]=this};IE7.Event.prototype=new _ie7Event;new IE7.Event("hover");new IE7.Event("active");new IE7.Event("focus");function simpleSelector(selector){return selector.replace(Class.COMPLEX,"").replace(CHILD," ")}},true);IE7.addModule("ie7-png",function(){if(appVersion<5.5)return;var FILTER="progid:DXImageTransform.Microsoft.AlphaImageLoader(src=%1,sizingMethod='scale')";var NULL=(/\bSV1\b/.test(navigator.userAgent))?makePath("blank.gif",path):"javascript:'#define x_width 1\x5cn#define x_height 1\x5cnstatic char x_bits[]={0x00}'";var pngTest=new RegExp((window.IE7_PNG_SUFFIX||"-trans.png")+"$","i");function addFilter(element,src){element.runtimeStyle.filter=FILTER.replace(/%1/,src)};var MATCH=/background(-image)?\s*:([^(};]*)url\(([^\)]+)\)([^;}]*)/gi;CSSFixes.addFix(MATCH,function replace(match,image,prefix,url,suffix){url=getString(url);return pngTest.test(url)?"filter:"+FILTER.replace(/scale/,"crop").replace(/%1/,url)+";zoom:1;background"+(image||"")+":"+(prefix||"")+"none"+(suffix||""):match});if(HTMLFixes){function fixImg(element){if(pngTest.test(element.src)){var width=element.width,height=element.height;addFilter(element,element.src);element.src=NULL;element.width=width;element.height=height}else element.runtimeStyle.filter=""};HTMLFixes.add("img,input",function(element){if(element.tagName=="INPUT"&&element.type!="image")return;fixImg(element);addEventHandler(element,"onpropertychange",function(){if(event.propertyName=="src")fixImg(element)})})}});IE7.addModule("ie7-fixed",function(){var PERCENT=/^\d+%$/;CSSFixes.addRecalc("position\x5cs*:\x5cs*fixed",positionFixed);CSSFixes.addRecalc("background[\x5cw\x5cs-]*:[^};]*fixed",backgroundFixed);var body=document.body;var viewport$=(quirksMode)?"body":"documentElement";var viewport=eval(viewport$);function fixBackground(){if(body.currentStyle.backgroundAttachment!="fixed"){if(body.currentStyle.backgroundImage=="none"){body.runtimeStyle.backgroundImage="url("+location.protocol+")"}body.runtimeStyle.backgroundAttachment="fixed"}fixBackground=DUMMY};var ie7_tmp=tmpElement("img");function topFunction(leftFunction){return String(leftFunction).replace(/Left/g,"Top").replace(/left/g,"top").replace(/Width/g,"Height").replace(/X/g,"Y")};function backgroundFixed(element){if(element.currentStyle.backgroundAttachment!="fixed")return;if(!element.contains(body)){fixBackground();backgroundFixed[backgroundFixed.count++]=element;backgroundLeft(element);backgroundTop(element);backgroundPosition(element)}};backgroundFixed.count=0;function backgroundPosition(element){ie7_tmp.src=element.currentStyle.backgroundImage.slice(5,-2);var parentElement=(element.canHaveChildren)?element:element.parentElement;parentElement.appendChild(ie7_tmp);setOffsetLeft(element);setOffsetTop(element);parentElement.removeChild(ie7_tmp)};function backgroundLeft(element){element.style.backgroundPositionX=element.currentStyle.backgroundPositionX;if(!isFixed(element)){var expression="(parseInt(runtimeStyle.offsetLeft)+document."+viewport$+".scrollLeft)||0";element.runtimeStyle.setExpression("backgroundPositionX",expression)}};eval(topFunction(backgroundLeft));function setOffsetLeft(element){var propertyName=isFixed(element)?"backgroundPositionX":"offsetLeft";element.runtimeStyle[propertyName]=getOffsetLeft(element,element.style.backgroundPositionX)-element.getBoundingClientRect().left-element.clientLeft};eval(topFunction(setOffsetLeft));function isFixed(element){if(!element)return false;if(element.style.position=="fixed"||element.currentStyle.position=="fixed")return true;return arguments.callee(element.parentElement)};function getOffsetLeft(element,position){switch(position){case "left":case "top":return 0;case "right":case "bottom":return viewport.clientWidth-ie7_tmp.offsetWidth;case "center":return(viewport.clientWidth-ie7_tmp.offsetWidth)/2;default:if(PERCENT.test(position)){return parseInt((viewport.clientWidth-ie7_tmp.offsetWidth)*parseFloat(position)/100)}ie7_tmp.style.left=position;return ie7_tmp.offsetLeft}};eval(topFunction(getOffsetLeft));function positionFixed(element){if(element.currentStyle.position!="fixed")return;fixBackground();positionFixed[positionFixed.count++]=element;element.style.position="fixed";element.runtimeStyle.position="absolute";foregroundPosition(element)};positionFixed.count=0;function foregroundPosition(element,recalc){positionLeft(element,recalc);positionTop(element,recalc);if(!recalc||element.runtimeStyle.autoTop){if(parseInt(element.currentStyle.bottom)==0)element.runtimeStyle.screenTop++}};function positionLeft(element,recalc){if(!recalc&&PERCENT.test(element.currentStyle.width))element.runtimeStyle.fixWidth=element.currentStyle.width;if(element.runtimeStyle.fixWidth)element.runtimeStyle.width=parseInt(parseFloat(element.runtimeStyle.fixWidth)/100*viewport.clientWidth);if(recalc){if(!element.runtimeStyle.autoLeft)return}else{element.runtimeStyle.autoLeft=element.currentStyle.right!="auto"&&element.currentStyle.left=="auto"}element.runtimeStyle.left="";element.runtimeStyle.screenLeft=getScreenLeft(element);if(element.currentStyle.marginLeft!="auto"){element.parentElement.appendChild(ie7_tmp);ie7_tmp.style.left=element.currentStyle.marginLeft;element.runtimeStyle.screenLeft-=ie7_tmp.offsetLeft;element.parentElement.removeChild(ie7_tmp)}if(isFixed(element.offsetParent))element.runtimeStyle.pixelLeft=element.runtimeStyle.screenLeft;else if(!recalc)element.runtimeStyle.setExpression("pixelLeft","runtimeStyle.screenLeft+document."+viewport$+".scrollLeft")};eval(topFunction(positionLeft).replace(/right/g,"bottom").replace(/width/g,"height"));function getScreenLeft(element){var getScreenLeft=element.offsetLeft,nested=false;var fixed=isFixed(element.offsetParent)&&element.runtimeStyle.autoLeft;while(element=element.offsetParent){if(!fixed&&element.currentStyle.position!="static")nested=true;getScreenLeft+=element.offsetLeft*(nested?-1:1)}return getScreenLeft};eval(topFunction(getScreenLeft));function resize(){for(var i=0;i<backgroundFixed.count;i++)backgroundPosition(backgroundFixed[i]);for(i=0;i<positionFixed.count;i++)foregroundPosition(positionFixed[i],true);timer=0};var timer;addEventHandler(window,"onresize",function(){if(!timer)timer=setTimeout(resize,10)})});loaded=true;if(document.readyState=="complete")_load();else addEventHandler(document,"onreadystatechange",function(){if(!complete&&document.readyState=="complete")setTimeout(_load,0)})}catch(error){unHide();alert("Error [0]: "+error.description)}finally{}}(); |
usr/local/www/themes/_orange-flow/javascript/niftyjsCode.js | ||
---|---|---|
1 |
function NiftyCheck(){ |
|
2 |
if(!document.getElementById || !document.createElement) |
|
3 |
return(false); |
|
4 |
isXHTML=/html\:/.test(document.getElementsByTagName('body')[0].nodeName); |
|
5 |
if(Array.prototype.push==null){Array.prototype.push=function(){ |
|
6 |
this[this.length]=arguments[0]; return(this.length);}} |
|
7 |
return(true); |
|
8 |
} |
|
9 |
|
|
10 |
function Rounded(selector,wich,bk,color,opt){ |
|
11 |
var i,prefixt,prefixb,cn="r",ecolor="",edges=false,eclass="",b=false,t=false; |
|
12 |
|
|
13 |
if(color=="transparent"){ |
|
14 |
cn=cn+"x"; |
|
15 |
ecolor=bk; |
|
16 |
bk="transparent"; |
|
17 |
} |
|
18 |
else if(opt && opt.indexOf("border")>=0){ |
|
19 |
var optar=opt.split(" "); |
|
20 |
for(i=0;i<optar.length;i++) |
|
21 |
if(optar[i].indexOf("#")>=0) ecolor=optar[i]; |
|
22 |
if(ecolor=="") ecolor="#666"; |
|
23 |
cn+="e"; |
|
24 |
edges=true; |
|
25 |
} |
|
26 |
else if(opt && opt.indexOf("smooth")>=0){ |
|
27 |
cn+="a"; |
|
28 |
ecolor=Mix(bk,color); |
|
29 |
} |
|
30 |
if(opt && opt.indexOf("small")>=0) cn+="s"; |
|
31 |
prefixt=cn; |
|
32 |
prefixb=cn; |
|
33 |
if(wich.indexOf("all")>=0){t=true;b=true} |
|
34 |
else if(wich.indexOf("top")>=0) t="true"; |
|
35 |
else if(wich.indexOf("tl")>=0){ |
|
36 |
t="true"; |
|
37 |
if(wich.indexOf("tr")<0) prefixt+="l"; |
|
38 |
} |
|
39 |
else if(wich.indexOf("tr")>=0){ |
|
40 |
t="true"; |
|
41 |
prefixt+="r"; |
|
42 |
} |
|
43 |
if(wich.indexOf("bottom")>=0) b=true; |
|
44 |
else if(wich.indexOf("bl")>=0){ |
|
45 |
b="true"; |
|
46 |
if(wich.indexOf("br")<0) prefixb+="l"; |
|
47 |
} |
|
48 |
else if(wich.indexOf("br")>=0){ |
|
49 |
b="true"; |
|
50 |
prefixb+="r"; |
|
51 |
} |
|
52 |
var v=getElementsBySelector(selector); |
|
53 |
var l=v.length; |
|
54 |
for(i=0;i<l;i++){ |
|
55 |
if(edges) AddBorder(v[i],ecolor); |
|
56 |
if(t) AddTop(v[i],bk,color,ecolor,prefixt); |
|
57 |
if(b) AddBottom(v[i],bk,color,ecolor,prefixb); |
|
58 |
} |
|
59 |
} |
|
60 |
|
|
61 |
function AddBorder(el,bc){ |
|
62 |
var i; |
|
63 |
if(!el.passed){ |
|
64 |
if(el.childNodes.length==1 && el.childNodes[0].nodeType==3){ |
|
65 |
var t=el.firstChild.nodeValue; |
|
66 |
el.removeChild(el.lastChild); |
|
67 |
var d=CreateEl("span"); |
|
68 |
d.style.display="block"; |
|
69 |
d.appendChild(document.createTextNode(t)); |
|
70 |
el.appendChild(d); |
|
71 |
} |
|
72 |
for(i=0;i<el.childNodes.length;i++){ |
|
73 |
if(el.childNodes[i].nodeType==1){ |
|
74 |
el.childNodes[i].style.borderLeft="1px solid "+bc; |
|
75 |
el.childNodes[i].style.borderRight="1px solid "+bc; |
|
76 |
} |
|
77 |
} |
|
78 |
} |
|
79 |
el.passed=true; |
|
80 |
} |
|
81 |
|
|
82 |
function AddTop(el,bk,color,bc,cn){ |
|
83 |
var i,lim=4,d=CreateEl("b"); |
|
84 |
|
|
85 |
if(cn.indexOf("s")>=0) lim=2; |
|
86 |
if(bc) d.className="artop"; |
|
87 |
else d.className="rtop"; |
|
88 |
d.style.backgroundColor=bk; |
|
89 |
for(i=1;i<=lim;i++){ |
|
90 |
var x=CreateEl("b"); |
|
91 |
x.className=cn + i; |
|
92 |
x.style.backgroundColor=color; |
|
93 |
if(bc) x.style.borderColor=bc; |
|
94 |
d.appendChild(x); |
|
95 |
} |
|
96 |
el.style.paddingTop=0; |
|
97 |
el.insertBefore(d,el.firstChild); |
|
98 |
} |
|
99 |
|
|
100 |
function AddBottom(el,bk,color,bc,cn){ |
|
101 |
var i,lim=4,d=CreateEl("b"); |
|
102 |
|
|
103 |
if(cn.indexOf("s")>=0) lim=2; |
|
104 |
if(bc) d.className="artop"; |
|
105 |
else d.className="rtop"; |
|
106 |
d.style.backgroundColor=bk; |
|
107 |
for(i=lim;i>0;i--){ |
|
108 |
var x=CreateEl("b"); |
|
109 |
x.className=cn + i; |
|
110 |
x.style.backgroundColor=color; |
|
111 |
if(bc) x.style.borderColor=bc; |
|
112 |
d.appendChild(x); |
|
113 |
} |
|
114 |
el.style.paddingBottom=0; |
|
115 |
el.appendChild(d); |
|
116 |
} |
|
117 |
|
|
118 |
function CreateEl(x){ |
|
119 |
if(isXHTML) return(document.createElementNS('http://www.w3.org/1999/xhtml',x)); |
|
120 |
else return(document.createElement(x)); |
|
121 |
} |
|
122 |
|
|
123 |
function getElementsBySelector(selector){ |
|
124 |
var i,selid="",selclass="",tag=selector,f,s=[],objlist=[]; |
|
125 |
|
|
126 |
if(selector.indexOf(" ")>0){ //descendant selector like "tag#id tag" |
|
127 |
s=selector.split(" "); |
|
128 |
var fs=s[0].split("#"); |
|
129 |
if(fs.length==1) return(objlist); |
|
130 |
f=document.getElementById(fs[1]); |
|
131 |
if(f) return(f.getElementsByTagName(s[1])); |
|
132 |
return(objlist); |
|
133 |
} |
|
134 |
if(selector.indexOf("#")>0){ //id selector like "tag#id" |
|
135 |
s=selector.split("#"); |
|
136 |
tag=s[0]; |
|
137 |
selid=s[1]; |
|
138 |
} |
|
139 |
if(selid!=""){ |
|
140 |
f=document.getElementById(selid); |
|
141 |
if(f) objlist.push(f); |
|
142 |
return(objlist); |
|
143 |
} |
|
144 |
if(selector.indexOf(".")>0){ //class selector like "tag.class" |
|
145 |
s=selector.split("."); |
|
146 |
tag=s[0]; |
|
147 |
selclass=s[1]; |
|
148 |
} |
|
149 |
var v=document.getElementsByTagName(tag); // tag selector like "tag" |
|
150 |
if(selclass=="") |
|
151 |
return(v); |
|
152 |
for(i=0;i<v.length;i++){ |
|
153 |
if(v[i].className.indexOf(selclass)>=0){ |
|
154 |
objlist.push(v[i]); |
|
155 |
} |
|
156 |
} |
|
157 |
return(objlist); |
|
158 |
} |
|
159 |
|
|
160 |
function Mix(c1,c2){ |
|
161 |
var i,step1,step2,x,y,r=new Array(3); |
|
162 |
if(c1.length==4)step1=1; |
|
163 |
else step1=2; |
|
164 |
if(c2.length==4) step2=1; |
|
165 |
else step2=2; |
|
166 |
for(i=0;i<3;i++){ |
|
167 |
x=parseInt(c1.substr(1+step1*i,step1),16); |
|
168 |
if(step1==1) x=16*x+x; |
|
169 |
y=parseInt(c2.substr(1+step2*i,step2),16); |
|
170 |
if(step2==1) y=16*y+y; |
|
171 |
r[i]=Math.floor((x*50+y*50)/100); |
|
172 |
} |
|
173 |
return("#"+r[0].toString(16)+r[1].toString(16)+r[2].toString(16)); |
|
174 |
} |
usr/local/www/themes/_orange-flow/loader.js | ||
---|---|---|
1 |
<!-- |
|
2 |
var browser = ''; |
|
3 |
var version = ''; |
|
4 |
var entrance = ''; |
|
5 |
var cond = ''; |
|
6 |
|
|
7 |
// BROWSER? |
|
8 |
if (browser == '') { |
|
9 |
if (navigator.appName.indexOf('Microsoft') != -1) |
|
10 |
browser = 'IE' |
|
11 |
else if (navigator.appName.indexOf('Netscape') != -1) |
|
12 |
browser = 'Netscape' |
|
13 |
else |
|
14 |
browser = 'IE'; |
|
15 |
} |
|
16 |
if (version == '') { |
|
17 |
version= navigator.appVersion; |
|
18 |
paren = version.indexOf('('); |
|
19 |
whole_version = navigator.appVersion.substring(0,paren-1); |
|
20 |
version = parseInt(whole_version); |
|
21 |
} |
|
22 |
|
|
23 |
if (version < 7) { |
|
24 |
document.write('<script type="text/javascript" src="/themes/metallic/javascript/ie7/ie7-standard-p.js"></script>'); |
|
25 |
} |
|
26 |
|
|
27 |
document.write('<script type="text/javascript" src="/themes/metallic/javascript/niftyjsCode.js"></script>'); |
|
28 |
|
|
29 |
// --> |
usr/local/www/themes/_orange-flow/no_big_logo | ||
---|---|---|
1 |
NO! DONT! |
Also available in: Unified diff
Making Another Theme ... Orange-Flow