equal
deleted
inserted
replaced
|
1 // Some final stuff - loader routines, etc. |
|
2 |
|
3 var __tmpEnanoStartup9843275; |
|
4 |
|
5 function enanoStartup(e) { |
|
6 if ( !e ) |
|
7 { |
|
8 // Delay initting sliders until images are loaded |
|
9 if ( typeof(window.onload) == 'function' ) |
|
10 __tmpEnanoStartup9843275 = window.onload; |
|
11 else |
|
12 __tmpEnanoStartup9843275 = function(){}; |
|
13 window.onload = function(e){__tmpEnanoStartup9843275(e);initSliders();}; |
|
14 } |
|
15 else |
|
16 { |
|
17 initSliders(); |
|
18 } |
|
19 } |
|
20 |
|
21 function mdgInnerLoader(e) |
|
22 { |
|
23 jws.startup(); |
|
24 enanoStartup(e); |
|
25 if(window.location.hash == '#comments') ajaxComments(); |
|
26 window.onkeydown=isKeyPressed; |
|
27 window.onkeyup=function(e) { isKeyPressed(e); }; |
|
28 Fat.fade_all(); |
|
29 fadeInfoBoxes(); |
|
30 //initTextareas(); |
|
31 buildSearchBoxes(); |
|
32 jBoxInit(); |
|
33 if(typeof (dbx_set_key) == 'function') |
|
34 { |
|
35 dbx_set_key(); |
|
36 } |
|
37 runOnloadHooks(e); |
|
38 } |
|
39 if(window.onload) var ld = window.onload; |
|
40 else var ld = function() {return;}; |
|
41 function enano_init(e) { |
|
42 ld(e); |
|
43 mdgInnerLoader(e); |
|
44 } |
|
45 window.onload = enano_init; |
|
46 |