clarion_responsiveslider - Version 1.0.5

Version Notes

banner responsive slider 1.0.5 version

Download this release

Release Info

Developer kushagra daharwal
Extension clarion_responsiveslider
Version 1.0.5
Comparing to
See all releases


Code changes from version 1.0.4 to 1.0.5

Files changed (124) hide show
  1. app/code/community/Clarion/Bannerresponsive/etc/config.xml +2 -5
  2. app/code/community/Clarion/Bannerresponsive/etc_/adminhtml.xml +0 -52
  3. app/code/community/Clarion/Bannerresponsive/etc_/config.xml +0 -162
  4. app/code/community/Clarion/Bannerresponsive/etc_/system.xml +0 -782
  5. app/design/frontend/default/default/layout/bannerresponsive.xml +3 -2
  6. app/design/frontend/default/default/template/bannerresponsive/bannerresponsive.phtml +10 -16
  7. app/design/frontend/default/default/template/bannerresponsive/bannerresponsivecamera.phtml +5 -6
  8. app/design/frontend/default/default/template/bannerresponsive/bannerresponsivetypmodern.phtml +5 -5
  9. media/adam/images/default/bt-next.png +0 -0
  10. media/adam/images/default/bt-next_1.png +0 -0
  11. media/adam/images/default/bt-prev.png +0 -0
  12. media/adam/images/default/bt-prev_1.png +0 -0
  13. media/adam/images/default/camera_skins_2.png +0 -0
  14. media/adam/images/default/leaf.jpg +0 -0
  15. media/bannerimages/01.jpg +0 -0
  16. media/bannerimages/02.jpg +0 -0
  17. media/bannerimages/1.jpg +0 -0
  18. media/bannerimages/1_1.jpg +0 -0
  19. media/bannerimages/1a.png +0 -0
  20. media/bannerimages/1b.jpg +0 -0
  21. media/bannerimages/2.jpg +0 -0
  22. media/bannerimages/4.jpg +0 -0
  23. media/bannerimages/AssassinsCreedIII3-1024x640.jpg +0 -0
  24. media/bannerimages/adasadad.jpg +0 -0
  25. media/bannerimages/beatury.jpg +0 -0
  26. media/bannerimages/big_bunny_fake.jpg +0 -0
  27. media/bannerimages/graphic-tee-creative-2.jpg +0 -0
  28. media/bannerimages/images_1_.jpg +0 -0
  29. media/bannerimages/info.jpg +0 -0
  30. media/bannerimages/iphone.jpg +0 -0
  31. media/bannerimages/kazvan-2.jpg +0 -0
  32. media/bannerimages/kazvan-2final.jpg +0 -0
  33. media/bannerimages/kazvan-3.jpg +0 -0
  34. media/bannerimages/kazvan-3final.jpg +0 -0
  35. media/bannerimages/m-2.jpg +0 -0
  36. media/bannerimages/medium/4.jpg +0 -0
  37. media/bannerimages/medium/adasadad.jpg +0 -0
  38. media/bannerimages/medium/graphic-tee-creative-2.jpg +0 -0
  39. media/bannerimages/medium/kazvan-2.jpg +0 -0
  40. media/bannerimages/medium/kazvan-2final.jpg +0 -0
  41. media/bannerimages/medium/kazvan-3.jpg +0 -0
  42. media/bannerimages/medium/kazvan-3final.jpg +0 -0
  43. media/bannerimages/medium/m-2.jpg +0 -0
  44. media/bannerimages/medium/model2.png +0 -0
  45. media/bannerimages/medium/model3.png +0 -0
  46. media/bannerimages/medium/modern_y.jpg +0 -0
  47. media/bannerimages/medium/naturrrrr.jpg +0 -0
  48. media/bannerimages/medium/secondww_lion.jpg +0 -0
  49. media/bannerimages/medium/shaden-1.jpg +0 -0
  50. media/bannerimages/medium/shaden-3final.jpg +0 -0
  51. media/bannerimages/medium/thirdrr.jpg +0 -0
  52. media/bannerimages/model1.png +0 -0
  53. media/bannerimages/modern_y.jpg +0 -0
  54. media/bannerimages/naturrrrr.jpg +0 -0
  55. media/bannerimages/nemo.jpg +0 -0
  56. media/bannerimages/road.jpg +0 -0
  57. media/bannerimages/s1_1.jpg +0 -0
  58. media/bannerimages/s1_2.jpg +0 -0
  59. media/bannerimages/s1_3.jpg +0 -0
  60. media/bannerimages/s3_1.jpg +0 -0
  61. media/bannerimages/secondww_lion.jpg +0 -0
  62. media/bannerimages/shaden-1.jpg +0 -0
  63. media/bannerimages/shaden-3_1_.jpg +0 -0
  64. media/bannerimages/shaden-3_1_final.jpg +0 -0
  65. media/bannerimages/shaden-3final.jpg +0 -0
  66. media/bannerimages/slider_pic1.jpg +0 -0
  67. media/bannerimages/slider_pic2.jpg +0 -0
  68. media/bannerimages/thirdrr.jpg +0 -0
  69. media/bannerimages/thumbs/01.jpg +0 -0
  70. media/bannerimages/thumbs/02.jpg +0 -0
  71. media/bannerimages/thumbs/1.jpg +0 -0
  72. media/bannerimages/thumbs/1_1.jpg +0 -0
  73. media/bannerimages/thumbs/1a.png +0 -0
  74. media/bannerimages/thumbs/1b.jpg +0 -0
  75. media/bannerimages/thumbs/2.jpg +0 -0
  76. media/bannerimages/thumbs/4.jpg +0 -0
  77. media/bannerimages/thumbs/adasadad.jpg +0 -0
  78. media/bannerimages/thumbs/big_bunny_fake.jpg +0 -0
  79. media/bannerimages/thumbs/graphic-tee-creative-2.jpg +0 -0
  80. media/bannerimages/thumbs/info.jpg +0 -0
  81. media/bannerimages/thumbs/iphone.jpg +0 -0
  82. media/bannerimages/thumbs/kazvan-2.jpg +0 -0
  83. media/bannerimages/thumbs/kazvan-2final.jpg +0 -0
  84. media/bannerimages/thumbs/kazvan-3.jpg +0 -0
  85. media/bannerimages/thumbs/kazvan-3final.jpg +0 -0
  86. media/bannerimages/thumbs/m-2.jpg +0 -0
  87. media/bannerimages/thumbs/model1.png +0 -0
  88. media/bannerimages/thumbs/model2.png +0 -0
  89. media/bannerimages/thumbs/model3.png +0 -0
  90. media/bannerimages/thumbs/modern_y.jpg +0 -0
  91. media/bannerimages/thumbs/naturrrrr.jpg +0 -0
  92. media/bannerimages/thumbs/nemo.jpg +0 -0
  93. media/bannerimages/thumbs/road.jpg +0 -0
  94. media/bannerimages/thumbs/s1_1.jpg +0 -0
  95. media/bannerimages/thumbs/s1_2.jpg +0 -0
  96. media/bannerimages/thumbs/s1_3.jpg +0 -0
  97. media/bannerimages/thumbs/s3_1.jpg +0 -0
  98. media/bannerimages/thumbs/secondww_lion.jpg +0 -0
  99. media/bannerimages/thumbs/shaden-1.jpg +0 -0
  100. media/bannerimages/thumbs/shaden-3final.jpg +0 -0
  101. media/bannerimages/thumbs/slider_pic1.jpg +0 -0
  102. media/bannerimages/thumbs/slider_pic2.jpg +0 -0
  103. media/bannerimages/thumbs/thirdrr.jpg +0 -0
  104. media/bannerimages/thumbs/tn-model1.png +0 -0
  105. media/bannerimages/thumbs/up.jpg +0 -0
  106. media/bannerimages/tn-model1.png +0 -0
  107. media/bannerimages/tn-model2.png +0 -0
  108. media/bannerimages/tn-model2_1.png +0 -0
  109. media/bannerimages/tn-model2_2.png +0 -0
  110. media/bannerimages/tn-model2_3.png +0 -0
  111. media/bannerimages/tn-model3.png +0 -0
  112. media/bannerimages/up.jpg +0 -0
  113. package.xml +6 -6
  114. skin/frontend/default/default/css/responsivebanner/images/camera-loader.gif +0 -0
  115. skin/frontend/default/default/css/responsivebanner/sequencejs-theme.modern-slide-in.css +6 -6
  116. skin/frontend/default/default/css/responsivebanner/stylesresposive.css +1 -1
  117. skin/frontend/default/default/js/clarion_ajax.js +31 -0
  118. skin/frontend/default/default/js/jquery.min.js +2 -0
  119. skin/frontend/default/default/js/nc.js +1 -0
  120. skin/frontend/default/default/js/scripts/_notes/dwsync.xml +1 -0
  121. skin/frontend/default/default/js/scripts/camera.js +2268 -0
  122. skin/frontend/default/default/js/scripts/camera.min.js +4 -0
  123. skin/frontend/default/default/js/scripts/jquery.easing.1.3.js +205 -0
  124. skin/frontend/default/default/js/scripts/jquery.mobile.customized.min.js +10 -0
app/code/community/Clarion/Bannerresponsive/etc/config.xml CHANGED
@@ -162,10 +162,7 @@
162
 
163
  <default>
164
  <bannerresponsive>
165
- <responsive>
166
- <blockpostion>1</blockpostion>
167
- </responsive>
168
- <modersslidersetting>
169
  <nextButton>true</nextButton>
170
  <prevButton>true</prevButton>
171
  <autoPlay>true</autoPlay>
@@ -189,7 +186,7 @@
189
 
190
  <forallbannersmessage>
191
  <messagenobanner>Sorry There Are No Banners ,Please Add Banners</messagenobanner>
192
- </forallbannersmessage>
193
  </bannerresponsive>
194
  </default>
195
  </config>
162
 
163
  <default>
164
  <bannerresponsive>
165
+ <modersslidersetting>
 
 
 
166
  <nextButton>true</nextButton>
167
  <prevButton>true</prevButton>
168
  <autoPlay>true</autoPlay>
186
 
187
  <forallbannersmessage>
188
  <messagenobanner>Sorry There Are No Banners ,Please Add Banners</messagenobanner>
189
+ </forallbannersmessage>
190
  </bannerresponsive>
191
  </default>
192
  </config>
app/code/community/Clarion/Bannerresponsive/etc_/adminhtml.xml DELETED
@@ -1,52 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Academic Free License (AFL 3.0)
9
- * that is bundled with this package in the file LICENSE_AFL.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/afl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magentocommerce.com so we can send you a copy immediately.
15
- *
16
- * DISCLAIMER
17
- *
18
- * Do not edit or add to this file if you wish to upgrade Magento to newer
19
- * versions in the future. If you wish to customize Magento for your
20
- * needs please refer to http://www.magentocommerce.com for more information.
21
- *
22
- * @category Community
23
- * @package Clarion_Bannerresponsive
24
- * @copyright Copyright magento@clariontechnologies.co.in
25
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
- */
27
- -->
28
- <config>
29
- <acl>
30
- <resources>
31
- <all>
32
- <title>Allow Everything</title>
33
- </all>
34
- <admin>
35
- <children>
36
- <system>
37
- <children>
38
- <config>
39
- <children>
40
- <bannerresponsive>
41
- <title>bannerresponsive</title>
42
- </bannerresponsive>
43
- </children>
44
- </config>
45
- </children>
46
- </system>
47
- </children>
48
- </admin>
49
- </resources>
50
- </acl>
51
-
52
- </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Clarion/Bannerresponsive/etc_/config.xml DELETED
@@ -1,162 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Academic Free License (AFL 3.0)
9
- * that is bundled with this package in the file LICENSE_AFL.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/afl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magentocommerce.com so we can send you a copy immediately.
15
- *
16
- * DISCLAIMER
17
- *
18
- * Do not edit or add to this file if you wish to upgrade Magento to newer
19
- * versions in the future. If you wish to customize Magento for your
20
- * needs please refer to http://www.magentocommerce.com for more information.
21
- *
22
- * @category Community
23
- * @package Clarion_Bannerresponsive
24
- * @copyright Copyright magento@clariontechnologies.co.in
25
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
- */
27
- -->
28
- <config>
29
- <modules>
30
- <Clarion_Bannerresponsive>
31
- <version>0.1.0</version>
32
- </Clarion_Bannerresponsive>
33
- </modules>
34
- <frontend>
35
- <routers>
36
- <bannerresponsive>
37
- <use>standard</use>
38
- <args>
39
- <module>Clarion_Bannerresponsive</module>
40
- <frontName>bannerresponsive</frontName>
41
- </args>
42
- </bannerresponsive>
43
- </routers>
44
- <layout>
45
- <updates>
46
- <bannerresponsive>
47
- <file>bannerresponsive.xml</file>
48
- </bannerresponsive>
49
- </updates>
50
- </layout>
51
- </frontend>
52
- <admin>
53
- <routers>
54
- <bannerresponsive>
55
- <use>admin</use>
56
- <args>
57
- <module>Clarion_Bannerresponsive</module>
58
- <frontName>bannerresponsive</frontName>
59
- </args>
60
- </bannerresponsive>
61
- </routers>
62
- </admin>
63
- <adminhtml>
64
- <menu>
65
- <bannerresponsive module="bannerresponsive">
66
- <title>Bannerresponsive</title>
67
- <sort_order>71</sort_order>
68
- <children>
69
- <items module="bannerresponsive">
70
- <title>Manage Items</title>
71
- <sort_order>0</sort_order>
72
- <action>bannerresponsive/adminhtml_bannerresponsive</action>
73
- </items>
74
- <bannersetting module="bannerresponsive">
75
- <title>Banner Setting</title>
76
- <sort_order>10</sort_order>
77
- <action>adminhtml/system_config/edit/section/bannerresponsive</action>
78
- </bannersetting>
79
-
80
- </children>
81
- </bannerresponsive>
82
- </menu>
83
-
84
- <acl>
85
- <resources>
86
- <all>
87
- <title>Allow Everything</title>
88
- </all>
89
- <admin>
90
- <children>
91
- <system>
92
- <children>
93
- <config>
94
- <children>
95
- <bannerresponsive>
96
- <title>Bannerresponsive</title>
97
- </bannerresponsive>
98
- </children>
99
- </config>
100
- </children>
101
- </system>
102
- </children>
103
- </admin>
104
- </resources>
105
- </acl>
106
-
107
-
108
- <layout>
109
- <updates>
110
- <bannerresponsive>
111
- <file>bannerresponsive.xml</file>
112
- </bannerresponsive>
113
- </updates>
114
- </layout>
115
- </adminhtml>
116
- <global>
117
- <models>
118
- <bannerresponsive>
119
- <class>Clarion_Bannerresponsive_Model</class>
120
- <resourceModel>bannerresponsive_mysql4</resourceModel>
121
- </bannerresponsive>
122
- <bannerresponsive_mysql4>
123
- <class>Clarion_Bannerresponsive_Model_Mysql4</class>
124
- <entities>
125
- <bannerresponsive>
126
- <table>bannerresponsive</table>
127
- </bannerresponsive>
128
- </entities>
129
- </bannerresponsive_mysql4>
130
- </models>
131
- <resources>
132
- <bannerresponsive_setup>
133
- <setup>
134
- <module>Clarion_Bannerresponsive</module>
135
- </setup>
136
- <connection>
137
- <use>core_setup</use>
138
- </connection>
139
- </bannerresponsive_setup>
140
- <bannerresponsive_write>
141
- <connection>
142
- <use>core_write</use>
143
- </connection>
144
- </bannerresponsive_write>
145
- <bannerresponsive_read>
146
- <connection>
147
- <use>core_read</use>
148
- </connection>
149
- </bannerresponsive_read>
150
- </resources>
151
- <blocks>
152
- <bannerresponsive>
153
- <class>Clarion_Bannerresponsive_Block</class>
154
- </bannerresponsive>
155
- </blocks>
156
- <helpers>
157
- <bannerresponsive>
158
- <class>Clarion_Bannerresponsive_Helper</class>
159
- </bannerresponsive>
160
- </helpers>
161
- </global>
162
- </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Clarion/Bannerresponsive/etc_/system.xml DELETED
@@ -1,782 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Academic Free License (AFL 3.0)
9
- * that is bundled with this package in the file LICENSE_AFL.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/afl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magentocommerce.com so we can send you a copy immediately.
15
- *
16
- * DISCLAIMER
17
- *
18
- * Do not edit or add to this file if you wish to upgrade Magento to newer
19
- * versions in the future. If you wish to customize Magento for your
20
- * needs please refer to http://www.magentocommerce.com for more information.
21
- *
22
- * @category Community
23
- * @package Clarion_Bannerresponsive
24
- * @copyright Copyright magento@clariontechnologies.co.in
25
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
- */
27
- -->
28
- <config>
29
- <tabs>
30
- <clarion translate="label" module="bannerresponsive">
31
- <label>Responsive Banner Configuration</label>
32
- <sort_order>100</sort_order>
33
- </clarion>
34
- </tabs>
35
- <sections>
36
- <bannerresponsive translate="label" module="bannerresponsive">
37
- <label>Banner Configuration</label>
38
- <tab>clarion</tab>
39
- <frontend_type>text</frontend_type>
40
- <sort_order>777</sort_order>
41
- <show_in_default>1</show_in_default>
42
- <show_in_website>1</show_in_website>
43
- <show_in_store>1</show_in_store>
44
- <groups>
45
- <responsive translate="label" module="bannerresponsive">
46
- <label>Enable or Disable</label>
47
- <frontend_type>text</frontend_type>
48
- <sort_order>40</sort_order>
49
- <show_in_default>1</show_in_default>
50
- <show_in_website>1</show_in_website>
51
- <show_in_store>1</show_in_store>
52
- <fields>
53
- <blockpostion translate="label">
54
- <label>Enable:</label>
55
- <comment></comment>
56
- <frontend_type>select</frontend_type>
57
- <sort_order>110</sort_order>
58
- <show_in_default>1</show_in_default>
59
- <show_in_website>1</show_in_website>
60
- <show_in_store>1</show_in_store>
61
- <can_be_empty>1</can_be_empty>
62
- <source_model>adminhtml/system_config_source_yesno</source_model>
63
- <!--<source_model>allcurrency/type</source_model>-->
64
- </blockpostion>
65
- </fields>
66
-
67
- </responsive>
68
-
69
-
70
-
71
- <modersslidersetting translate="label" module="bannerresponsive">
72
- <label>Modern slider banner</label>
73
- <frontend_type>text</frontend_type>
74
- <sort_order>43</sort_order>
75
- <show_in_default>1</show_in_default>
76
- <show_in_website>1</show_in_website>
77
- <show_in_store>1</show_in_store>
78
- <fields>
79
- <nextButton translate="label"> <label>nextButton</label>
80
- <comment>set true/false</comment>
81
- <frontend_type>text</frontend_type>
82
- <sort_order>110</sort_order>
83
- <show_in_default>1</show_in_default>
84
- <show_in_website>1</show_in_website>
85
- <show_in_store>1</show_in_store>
86
- <can_be_empty>1</can_be_empty>
87
- <!--<source_model>allcurrency/type</source_model>-->
88
- </nextButton>
89
- </fields>
90
-
91
- <fields>
92
- <prevButton translate="label">
93
- <label>prevButton</label>
94
- <comment>set true/false</comment>
95
- <frontend_type>text</frontend_type>
96
- <sort_order>111</sort_order>
97
- <show_in_default>1</show_in_default>
98
- <show_in_website>1</show_in_website>
99
- <show_in_store>1</show_in_store>
100
- <can_be_empty>1</can_be_empty>
101
- <!--<source_model>allcurrency/type</source_model>-->
102
- </prevButton>
103
- </fields>
104
-
105
- <fields>
106
- <animateStartingFrameIn translate="label">
107
- <label>animateStartingFrameIn</label>
108
- <comment>set true/false</comment>
109
- <frontend_type>text</frontend_type>
110
- <sort_order>112</sort_order>
111
- <show_in_default>1</show_in_default>
112
- <show_in_website>1</show_in_website>
113
- <show_in_store>1</show_in_store>
114
- <can_be_empty>1</can_be_empty>
115
- <!--<source_model>allcurrency/type</source_model>-->
116
- </animateStartingFrameIn>
117
- </fields>
118
-
119
- <fields>
120
- <autoPlay translate="label">
121
- <label>autoPlay:</label>
122
- <comment>set true/false</comment>
123
- <frontend_type>text</frontend_type>
124
- <sort_order>113</sort_order>
125
- <show_in_default>1</show_in_default>
126
- <show_in_website>1</show_in_website>
127
- <show_in_store>1</show_in_store>
128
- <can_be_empty>1</can_be_empty>
129
- <!--<source_model>allcurrency/type</source_model>-->
130
- </autoPlay>
131
- </fields>
132
-
133
- <fields>
134
- <autoPlayDelay translate="label">
135
- <label>autoPlayDelay:</label>
136
- <comment>set speed is mili second</comment>
137
- <frontend_type>text</frontend_type>
138
- <sort_order>114</sort_order>
139
- <show_in_default>1</show_in_default>
140
- <show_in_website>1</show_in_website>
141
- <show_in_store>1</show_in_store>
142
- <can_be_empty>1</can_be_empty>
143
- <!--<source_model>allcurrency/type</source_model>-->
144
- </autoPlayDelay>
145
- </fields>
146
- <fields>
147
- <preloader translate="label">
148
- <label>preloader:</label>
149
- <comment>set true/false</comment>
150
- <frontend_type>text</frontend_type>
151
- <sort_order>115</sort_order>
152
- <show_in_default>1</show_in_default>
153
- <show_in_website>1</show_in_website>
154
- <show_in_store>1</show_in_store>
155
- <can_be_empty>1</can_be_empty>
156
- <!--<source_model>allcurrency/type</source_model>-->
157
- </preloader>
158
- </fields>
159
- <fields>
160
- <pagination translate="label">
161
- <label>pagination</label>
162
- <comment>set true/false</comment>
163
- <frontend_type>text</frontend_type>
164
- <sort_order>116</sort_order>
165
- <show_in_default>1</show_in_default>
166
- <show_in_website>1</show_in_website>
167
- <show_in_store>1</show_in_store>
168
- <can_be_empty>1</can_be_empty>
169
- <!--<source_model>allcurrency/type</source_model>-->
170
- </pagination>
171
- </fields>
172
-
173
- <fields>
174
-
175
- <aerrowleftmodernimage translate="label">
176
- <label>Aerrow Left Image</label>
177
- <frontend_type>image</frontend_type>
178
- <backend_model>adminhtml/system_config_backend_image</backend_model>
179
- <upload_dir config="system/filesystem/media" scope_info="1">adam/images</upload_dir>
180
- <base_url type="media" scope_info="1">adam/images</base_url>
181
- <sort_order>117</sort_order>
182
- <show_in_default>1</show_in_default>
183
- <show_in_website>1</show_in_website>
184
- <show_in_store>1</show_in_store>
185
- </aerrowleftmodernimage>
186
- </fields>
187
-
188
- <fields>
189
-
190
- <aerrowrightmodernimage translate="label">
191
- <label>Aerrow Right Image</label>
192
- <frontend_type>image</frontend_type>
193
- <backend_model>adminhtml/system_config_backend_image</backend_model>
194
- <upload_dir config="system/filesystem/media" scope_info="1">adam/images</upload_dir>
195
- <base_url type="media" scope_info="1">adam/images</base_url>
196
- <sort_order>118</sort_order>
197
- <show_in_default>1</show_in_default>
198
- <show_in_website>1</show_in_website>
199
- <show_in_store>1</show_in_store>
200
- </aerrowrightmodernimage>
201
- </fields>
202
-
203
- </modersslidersetting>
204
-
205
- <bannertypecollection translate="label" module="bannerresponsive">
206
- <label>Banner Type Selection</label>
207
- <frontend_type>text</frontend_type>
208
- <sort_order>41</sort_order>
209
- <show_in_default>1</show_in_default>
210
- <show_in_website>1</show_in_website>
211
- <show_in_store>1</show_in_store>
212
-
213
- <fields>
214
- <bannertype translate="label">
215
- <label>Select Banner Slider Type</label>
216
- <frontend_type>select</frontend_type>
217
- <sort_order>111</sort_order>
218
- <show_in_default>1</show_in_default>
219
- <show_in_website>1</show_in_website>
220
- <show_in_store>1</show_in_store>
221
- <can_be_empty>1</can_be_empty>
222
- <source_model>bannerresponsive/typebanners</source_model>
223
- </bannertype>
224
- </fields>
225
-
226
-
227
-
228
- </bannertypecollection>
229
-
230
-
231
- <commonbxslider translate="label" module="bannerresponsive">
232
- <label>Bx Slider Settings</label>
233
- <frontend_type>text</frontend_type>
234
- <sort_order>42</sort_order>
235
- <show_in_default>1</show_in_default>
236
- <show_in_website>1</show_in_website>
237
- <show_in_store>1</show_in_store>
238
- <fields>
239
- <bannereffectoptions translate="label">
240
- <label>Type Of banner</label>
241
- <frontend_type>select</frontend_type>
242
- <sort_order>114</sort_order>
243
- <show_in_default>1</show_in_default>
244
- <show_in_website>1</show_in_website>
245
- <show_in_store>1</show_in_store>
246
- <can_be_empty>1</can_be_empty>
247
- <source_model>bannerresponsive/bannereffectoption</source_model>
248
- </bannereffectoptions>
249
- </fields>
250
-
251
- </commonbxslider>
252
-
253
-
254
-
255
- <responsivegeneral translate="label" module="bannerresponsive">>
256
- <label>General(Bx Slider)</label>
257
- <frontend_type>text</frontend_type>
258
- <sort_order>50</sort_order>
259
- <show_in_default>1</show_in_default>
260
- <show_in_website>1</show_in_website>
261
- <show_in_store>1</show_in_store>
262
-
263
- <fields>
264
- <speed translate="label">
265
- <label>speed</label>
266
- <comment>time in milisecond</comment>
267
- <frontend_type>text</frontend_type>
268
- <sort_order>115</sort_order>
269
- <show_in_default>1</show_in_default>
270
- <show_in_website>1</show_in_website>
271
- <show_in_store>1</show_in_store>
272
- <can_be_empty>1</can_be_empty>
273
- </speed>
274
- </fields>
275
-
276
- <fields>
277
- <mode translate="label">
278
- <label>mode</label>
279
- <comment>fade/horizontal,vertcal</comment>
280
- <frontend_type>text</frontend_type>
281
- <sort_order>115</sort_order>
282
- <show_in_default>1</show_in_default>
283
- <show_in_website>1</show_in_website>
284
- <show_in_store>1</show_in_store>
285
- <can_be_empty>1</can_be_empty>
286
- </mode>
287
- </fields>
288
- <fields>
289
- <caption translate="label">
290
- <label>caption</label>
291
- <comment>true / false</comment>
292
- <frontend_type>text</frontend_type>
293
- <sort_order>115</sort_order>
294
- <show_in_default>1</show_in_default>
295
- <show_in_website>1</show_in_website>
296
- <show_in_store>1</show_in_store>
297
- <can_be_empty>1</can_be_empty>
298
- </caption>
299
- </fields>
300
- <fields>
301
- <randomStart translate="label">
302
- <label>randomStart</label>
303
- <comment>true / false</comment>
304
- <frontend_type>text</frontend_type>
305
- <sort_order>116</sort_order>
306
- <show_in_default>1</show_in_default>
307
- <show_in_website>1</show_in_website>
308
- <show_in_store>1</show_in_store>
309
- <can_be_empty>1</can_be_empty>
310
- </randomStart>
311
- </fields>
312
-
313
-
314
-
315
- <fields>
316
- <responsive translate="label">
317
- <label>responsive</label>
318
- <comment>true / false</comment>
319
- <frontend_type>text</frontend_type>
320
- <sort_order>119</sort_order>
321
- <show_in_default>1</show_in_default>
322
- <show_in_website>1</show_in_website>
323
- <show_in_store>1</show_in_store>
324
- <can_be_empty>1</can_be_empty>
325
- </responsive>
326
- </fields>
327
- <fields>
328
- <adaptiveheight translate="label">
329
- <label>adaptiveHeight</label>
330
- <comment>true/false</comment>
331
- <frontend_type>text</frontend_type>
332
- <sort_order>119</sort_order>
333
- <show_in_default>1</show_in_default>
334
- <show_in_website>1</show_in_website>
335
- <show_in_store>1</show_in_store>
336
- <can_be_empty>1</can_be_empty>
337
- </adaptiveheight>
338
- </fields>
339
- <fields>
340
- <minslides translate="label">
341
- <label>minslides</label>
342
- <comment>integer</comment>
343
- <frontend_type>text</frontend_type>
344
- <sort_order>120</sort_order>
345
- <show_in_default>1</show_in_default>
346
- <show_in_website>1</show_in_website>
347
- <show_in_store>1</show_in_store>
348
- <can_be_empty>1</can_be_empty>
349
- </minslides>
350
- </fields>
351
-
352
- <fields>
353
- <maxSlides translate="label">
354
- <label>maxSlides</label>
355
- <comment>integer</comment>
356
- <frontend_type>text</frontend_type>
357
- <sort_order>121</sort_order>
358
- <show_in_default>1</show_in_default>
359
- <show_in_website>1</show_in_website>
360
- <show_in_store>1</show_in_store>
361
- <can_be_empty>1</can_be_empty>
362
- </maxSlides>
363
- </fields>
364
-
365
- <fields>
366
- <moveSlides translate="label">
367
- <label>moveSlides</label>
368
- <comment>integer</comment>
369
- <frontend_type>text</frontend_type>
370
- <sort_order>122</sort_order>
371
- <show_in_default>1</show_in_default>
372
- <show_in_website>1</show_in_website>
373
- <show_in_store>1</show_in_store>
374
- <can_be_empty>1</can_be_empty>
375
- </moveSlides>
376
- </fields>
377
-
378
-
379
- <fields>
380
- <slideWidth translate="label">
381
- <label>slideWidth</label>
382
- <comment>integer</comment>
383
- <frontend_type>text</frontend_type>
384
- <sort_order>123</sort_order>
385
- <show_in_default>1</show_in_default>
386
- <show_in_website>1</show_in_website>
387
- <show_in_store>1</show_in_store>
388
- <can_be_empty>1</can_be_empty>
389
- </slideWidth>
390
- </fields>
391
- <fields>
392
- <pager translate="label">
393
- <label>pager</label>
394
- <comment>true/false</comment>
395
- <frontend_type>text</frontend_type>
396
- <sort_order>124</sort_order>
397
- <show_in_default>1</show_in_default>
398
- <show_in_website>1</show_in_website>
399
- <show_in_store>1</show_in_store>
400
- <can_be_empty>1</can_be_empty>
401
- </pager>
402
- </fields>
403
-
404
- <fields>
405
- <pagerType translate="label">
406
- <label>pagerType</label>
407
- <comment>short/full</comment>
408
-
409
- <frontend_type>text</frontend_type>
410
- <sort_order>125</sort_order>
411
- <show_in_default>1</show_in_default>
412
- <show_in_website>1</show_in_website>
413
- <show_in_store>1</show_in_store>
414
- <can_be_empty>1</can_be_empty>
415
- </pagerType>
416
- </fields>
417
-
418
- <fields>
419
- <pagerShortSeparator translate="label">
420
- <label>pagerShortSeparator</label>
421
- <comment>' / ' or string</comment>
422
- <frontend_type>text</frontend_type>
423
- <sort_order>126</sort_order>
424
- <show_in_default>1</show_in_default>
425
- <show_in_website>1</show_in_website>
426
- <show_in_store>1</show_in_store>
427
- <can_be_empty>1</can_be_empty>
428
- </pagerShortSeparator>
429
- </fields>
430
- <fields>
431
- <pager translate="label">
432
- <label>pager</label>
433
- <comment>true/false</comment>
434
- <frontend_type>text</frontend_type>
435
- <sort_order>127</sort_order>
436
- <show_in_default>1</show_in_default>
437
- <show_in_website>1</show_in_website>
438
- <show_in_store>1</show_in_store>
439
- <can_be_empty>1</can_be_empty>
440
- </pager>
441
- </fields>
442
-
443
- <fields>
444
- <pagerType translate="label">
445
- <label>pagerType</label>
446
- <comment>short/full</comment>
447
-
448
- <frontend_type>text</frontend_type>
449
- <sort_order>128</sort_order>
450
- <show_in_default>1</show_in_default>
451
- <show_in_website>1</show_in_website>
452
- <show_in_store>1</show_in_store>
453
- <can_be_empty>1</can_be_empty>
454
- </pagerType>
455
- </fields>
456
-
457
- <fields>
458
- <pagerShortSeparator translate="label">
459
- <label>pagerShortSeparator</label>
460
- <comment>' / ' or string</comment>
461
- <frontend_type>text</frontend_type>
462
- <sort_order>129</sort_order>
463
- <show_in_default>1</show_in_default>
464
- <show_in_website>1</show_in_website>
465
- <show_in_store>1</show_in_store>
466
- <can_be_empty>1</can_be_empty>
467
- </pagerShortSeparator>
468
- </fields>
469
-
470
- <fields>
471
- <controls translate="label">
472
- <label>controls</label>
473
- <comment>true/false to controll left right buttuon</comment>
474
- <frontend_type>text</frontend_type>
475
- <sort_order>130</sort_order>
476
- <show_in_default>1</show_in_default>
477
- <show_in_website>1</show_in_website>
478
- <show_in_store>1</show_in_store>
479
- <can_be_empty>1</can_be_empty>
480
- </controls>
481
- </fields>
482
-
483
- <fields>
484
- <nextText translate="label">
485
- <label>nextText</label>
486
- <comment>custom nexttext string</comment>
487
- <frontend_type>text</frontend_type>
488
- <sort_order>131</sort_order>
489
- <show_in_default>1</show_in_default>
490
- <show_in_website>1</show_in_website>
491
- <show_in_store>1</show_in_store>
492
- <can_be_empty>1</can_be_empty>
493
- </nextText>
494
- </fields>
495
-
496
- <fields>
497
- <prevText translate="label">
498
- <label>prevText</label>
499
- <comment>custom prevttext string</comment>
500
- <frontend_type>text</frontend_type>
501
- <sort_order>132</sort_order>
502
- <show_in_default>1</show_in_default>
503
- <show_in_website>1</show_in_website>
504
- <show_in_store>1</show_in_store>
505
- <can_be_empty>1</can_be_empty>
506
- </prevText>
507
- </fields>
508
-
509
-
510
-
511
-
512
- <fields>
513
- <autoControls translate="label">
514
- <label>autoControls</label>
515
- <comment>true / false</comment>
516
- <frontend_type>text</frontend_type>
517
- <sort_order>133</sort_order>
518
- <show_in_default>1</show_in_default>
519
- <show_in_website>1</show_in_website>
520
- <show_in_store>1</show_in_store>
521
- <can_be_empty>1</can_be_empty>
522
- </autoControls>
523
- </fields>
524
- <fields>
525
- <auto translate="label">
526
- <label>auto</label>
527
- <comment>true / false</comment>
528
- <frontend_type>text</frontend_type>
529
- <sort_order>134</sort_order>
530
- <show_in_default>1</show_in_default>
531
- <show_in_website>1</show_in_website>
532
- <show_in_store>1</show_in_store>
533
- <can_be_empty>1</can_be_empty>
534
- </auto>
535
- </fields>
536
-
537
- <fields>
538
- <pause translate="label">
539
- <label>pause</label>
540
- <comment>time in mili second</comment>
541
- <frontend_type>text</frontend_type>
542
- <sort_order>135</sort_order>
543
- <show_in_default>1</show_in_default>
544
- <show_in_website>1</show_in_website>
545
- <show_in_store>1</show_in_store>
546
- <can_be_empty>1</can_be_empty>
547
- </pause>
548
- </fields>
549
-
550
- <fields>
551
- <autoStart translate="label">
552
- <label>autoStart</label>
553
- <frontend_type>text</frontend_type>
554
- <sort_order>136</sort_order>
555
- <show_in_default>1</show_in_default>
556
- <show_in_website>1</show_in_website>
557
- <show_in_store>1</show_in_store>
558
- <can_be_empty>1</can_be_empty>
559
- </autoStart>
560
- </fields>
561
-
562
-
563
- <fields>
564
- <autoDirection translate="label">
565
- <label>autoDirection</label>
566
- <comment>prev / next</comment>
567
- <frontend_type>text</frontend_type>
568
- <sort_order>137</sort_order>
569
- <show_in_default>1</show_in_default>
570
- <show_in_website>1</show_in_website>
571
- <show_in_store>1</show_in_store>
572
- <can_be_empty>1</can_be_empty>
573
- </autoDirection>
574
- </fields>
575
- <fields>
576
- <hidecontrolend translate="label">
577
- <label>hidecontrolend</label>
578
- <comment>true / false</comment>
579
- <frontend_type>text</frontend_type>
580
- <sort_order>138</sort_order>
581
- <show_in_default>1</show_in_default>
582
- <show_in_website>1</show_in_website>
583
- <show_in_store>1</show_in_store>
584
- <can_be_empty>1</can_be_empty>
585
- </hidecontrolend>
586
- </fields>
587
- </responsivegeneral>
588
-
589
-
590
-
591
-
592
- <cameraslider translate="label" module="bannerresponsive">
593
- <label>Camera Slider Settings</label>
594
- <frontend_type>text</frontend_type>
595
- <sort_order>72</sort_order>
596
- <show_in_default>1</show_in_default>
597
- <show_in_website>1</show_in_website>
598
- <show_in_store>1</show_in_store>
599
- <fields>
600
- <fx translate="label">
601
- <label>Banner Effects</label>
602
- <frontend_type>select</frontend_type>
603
- <sort_order>114</sort_order>
604
- <show_in_default>1</show_in_default>
605
- <show_in_website>1</show_in_website>
606
- <show_in_store>1</show_in_store>
607
- <can_be_empty>1</can_be_empty>
608
- <source_model>bannerresponsive/camerafx</source_model>
609
- </fx>
610
- </fields>
611
- <fields>
612
- <hights translate="label">
613
- <label>Banner Height</label>
614
- <frontend_type>text</frontend_type>
615
- <sort_order>115</sort_order>
616
- <show_in_default>1</show_in_default>
617
- <show_in_website>1</show_in_website>
618
- <show_in_store>1</show_in_store>
619
- <can_be_empty>1</can_be_empty>
620
- </hights>
621
- </fields>
622
-
623
-
624
- <fields>
625
- <loader translate="label">
626
- <label>Banner Loader Type</label>
627
- <frontend_type>select</frontend_type>
628
- <sort_order>116</sort_order>
629
- <show_in_default>1</show_in_default>
630
- <show_in_website>1</show_in_website>
631
- <show_in_store>1</show_in_store>
632
- <can_be_empty>1</can_be_empty>
633
- <source_model>bannerresponsive/cameraloader</source_model>
634
- </loader>
635
- </fields>
636
-
637
-
638
- <fields>
639
- <piePosition translate="label">
640
- <label>Banner piePosition's</label>
641
- <frontend_type>select</frontend_type>
642
- <sort_order>117</sort_order>
643
- <show_in_default>1</show_in_default>
644
- <show_in_website>1</show_in_website>
645
- <show_in_store>1</show_in_store>
646
- <can_be_empty>1</can_be_empty>
647
- <source_model>bannerresponsive/camerapieposition</source_model>
648
- </piePosition>
649
- </fields>
650
-
651
-
652
- <fields>
653
- <pagination translate="label">
654
- <label>Banner pagination</label>
655
- <frontend_type>select</frontend_type>
656
- <comment>True Or False</comment>
657
- <sort_order>118</sort_order>
658
- <show_in_default>1</show_in_default>
659
- <show_in_website>1</show_in_website>
660
- <show_in_store>1</show_in_store>
661
- <can_be_empty>1</can_be_empty>
662
- <source_model>bannerresponsive/truefalseall</source_model>
663
-
664
- </pagination>
665
- </fields>
666
-
667
-
668
- <fields>
669
- <time translate="label">
670
- <label>Time</label>
671
- <comment>//milliseconds between the end of the sliding effect and the start of the nex one</comment>
672
- <frontend_type>text</frontend_type>
673
- <sort_order>119</sort_order>
674
- <show_in_default>1</show_in_default>
675
- <show_in_website>1</show_in_website>
676
- <show_in_store>1</show_in_store>
677
- <can_be_empty>1</can_be_empty>
678
- </time>
679
- </fields>
680
-
681
-
682
- <fields>
683
- <transPeriod translate="label">
684
- <label>Time of transperiod</label>
685
- <comment>lenght of the sliding effect in milliseconds</comment>
686
- <frontend_type>text</frontend_type>
687
- <sort_order>120</sort_order>
688
- <show_in_default>1</show_in_default>
689
- <show_in_website>1</show_in_website>
690
- <show_in_store>1</show_in_store>
691
- <can_be_empty>1</can_be_empty>
692
- </transPeriod>
693
- </fields>
694
-
695
-
696
-
697
- <fields>
698
- <barPosition translate="label">
699
- <label>Banner barPosition</label>
700
- <comment>'bottom', 'left', 'top', 'right'</comment>
701
- <frontend_type>select</frontend_type>
702
- <sort_order>122</sort_order>
703
- <show_in_default>1</show_in_default>
704
- <show_in_website>1</show_in_website>
705
- <show_in_store>1</show_in_store>
706
- <can_be_empty>1</can_be_empty>
707
- <source_model>bannerresponsive/camerabarposistion</source_model>
708
- </barPosition>
709
- </fields>
710
- <fields>
711
- <playPause translate="label">
712
- <label>play/pause buttons</label>
713
- <frontend_type>select</frontend_type>
714
- <comment>true or false, to display or not the play/pause buttons</comment>
715
- <sort_order>123</sort_order>
716
- <show_in_default>1</show_in_default>
717
- <show_in_website>1</show_in_website>
718
- <show_in_store>1</show_in_store>
719
- <can_be_empty>1</can_be_empty>
720
- <source_model>bannerresponsive/Truefalseall</source_model>
721
- <source_model>bannerresponsive/truefalseall</source_model>
722
-
723
- </playPause>
724
- </fields>
725
-
726
-
727
- <fields>
728
- <thumbnails translate="label">
729
- <label>thumbnails</label>
730
- <comment>true, false</comment>
731
- <frontend_type>select</frontend_type>
732
- <sort_order>125</sort_order>
733
- <show_in_default>1</show_in_default>
734
- <show_in_website>1</show_in_website>
735
- <show_in_store>1</show_in_store>
736
- <can_be_empty>1</can_be_empty>
737
- <source_model>bannerresponsive/truefalseall</source_model>
738
- </thumbnails>
739
- </fields>
740
-
741
- <fields>
742
- <bardirection translate="label">
743
- <label>bardirection</label>
744
- <comment>'leftToRight', 'rightToLeft', 'topToBottom', 'bottomToTop'</comment>
745
- <frontend_type>select</frontend_type>
746
- <sort_order>126</sort_order>
747
- <show_in_default>1</show_in_default>
748
- <show_in_website>1</show_in_website>
749
- <show_in_store>1</show_in_store>
750
- <can_be_empty>1</can_be_empty>
751
- <source_model>bannerresponsive/camerabardirection</source_model>
752
- </bardirection>
753
- </fields>
754
- <fields>
755
-
756
- <aerrowimage translate="label">
757
- <label>Aerrow Image</label>
758
- <frontend_type>image</frontend_type>
759
- <backend_model>adminhtml/system_config_backend_image</backend_model>
760
- <upload_dir config="system/filesystem/media" scope_info="1">adam/images</upload_dir>
761
- <base_url type="media" scope_info="1">adam/images</base_url>
762
- <sort_order>127</sort_order>
763
- <show_in_default>1</show_in_default>
764
- <show_in_website>1</show_in_website>
765
- <show_in_store>1</show_in_store>
766
- </aerrowimage>
767
- </fields>
768
-
769
- </cameraslider>
770
-
771
-
772
-
773
-
774
-
775
-
776
-
777
- </groups>
778
-
779
-
780
- </bannerresponsive>
781
- </sections>
782
- </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/default/default/layout/bannerresponsive.xml CHANGED
@@ -37,7 +37,8 @@
37
  <layout version="0.1.0">
38
  <default>
39
  <reference name="head">
40
-
 
41
  <!--ction method="addCss" ifconfig="bannerresponsive/bannertypecollection/bannertype" value="modernslide"><stylesheet>css/responsivebanner/sequencejs-theme.modern-slide-in.css</stylesheet></action>
42
  <action method="addItem" ifconfig="bannerresponsive/responsive/blockpostion"><type>skin_js</type><name>js/responsiveslider/jquerynocon.js</name></action>
43
  <action method="addItem" ifconfig="bannerresponsive/responsive/blockpostion"><type>skin_js</type><name>js/responsiveslider/jquery.js</name></action>
@@ -45,7 +46,7 @@
45
 
46
  -->
47
 
48
- </reference>
49
  </default>
50
  <bannerresponsive_index_index>
51
  <reference name="content">
37
  <layout version="0.1.0">
38
  <default>
39
  <reference name="head">
40
+
41
+
42
  <!--ction method="addCss" ifconfig="bannerresponsive/bannertypecollection/bannertype" value="modernslide"><stylesheet>css/responsivebanner/sequencejs-theme.modern-slide-in.css</stylesheet></action>
43
  <action method="addItem" ifconfig="bannerresponsive/responsive/blockpostion"><type>skin_js</type><name>js/responsiveslider/jquerynocon.js</name></action>
44
  <action method="addItem" ifconfig="bannerresponsive/responsive/blockpostion"><type>skin_js</type><name>js/responsiveslider/jquery.js</name></action>
46
 
47
  -->
48
 
49
+ </reference>
50
  </default>
51
  <bannerresponsive_index_index>
52
  <reference name="content">
app/design/frontend/default/default/template/bannerresponsive/bannerresponsive.phtml CHANGED
@@ -33,14 +33,11 @@
33
  */
34
 
35
  ?>
36
- <?php if($this->helper('bannerresponsive')->Isbannerenable() == 1 ):?>
37
- <?php $countbanner = Mage::getModel('bannerresponsive/bannerresponsive')->getCollection();?>
38
- <?php if(count($countbanner)>0):?>
39
  <script type='text/javascript' src='<?php echo $this->getSkinUrl("js/responsiveslider/jquery.js")?>'></script>
40
  <script type='text/javascript' src='<?php echo $this->getSkinUrl("js/responsiveslider/jquerynocon.js")?>'></script>
41
 
42
- <?php
43
- if($this->helper('bannerresponsive')->Bannertype()== "bxslider") : ?>
44
  <?php
45
  /*
46
  * added js and css files you can also put this in xml file under refernces head
@@ -201,8 +198,6 @@ $collection = $this->getBannercollection("bxslider")
201
  ->addFieldToFilter('status','1');
202
  foreach($collection as $collection1)
203
  {
204
-
205
- echo $collection1['url'];
206
  ?>
207
  <li><a href="<?php if($collection1['url']) { echo $collection1['url']; }else { };?>"><img <?php if($collection1['title']) { ?> title="<?php echo $collection1['title'];?>" <?php } ?> src="<?php echo Mage::getBaseUrl("media").'bannerimages/'.$collection1['filename'] ?>"/></a></li>
208
 
@@ -375,7 +370,7 @@ document.write(unescape('%3Cscript src="scripts/jquery-min.js" %3E%3C/script%3E'
375
  <?php } ?>
376
  </style>
377
  <link rel='stylesheet' id='camera-css' href='<?php echo $this->getSkinUrl("css/responsivebanner/camera.css");?>' type='text/css'/>
378
- <script type='text/javascript' src='<?php echo $this->getSkinUrl("js/scripts/jquery.mobile.customized.min.js")?>'></script>
379
  <script type='text/javascript' src='<?php echo $this->getSkinUrl("js/scripts/jquery.easing.1.3.js")?>'></script>
380
  <script type='text/javascript' src='<?php echo $this->getSkinUrl("js/scripts/camera.min.js")?>'></script>
381
  <script>
@@ -398,31 +393,30 @@ document.write(unescape('%3Cscript src="scripts/jquery-min.js" %3E%3C/script%3E'
398
 
399
 
400
  });
 
 
401
  </script>
402
 
403
 
404
 
405
 
406
- <div class="fluid_container">
407
  <div class="camera_wrap camera_azure_skin" id="camera_wrap_1">
408
  <?php foreach($collection as $collection1) { ?>
409
- <div data-thumb="<?php echo Mage::getBaseUrl("media").'bannerimages/thumbs/'.$collection1['filename'] ?>" data-src="<?php echo Mage::getBaseUrl("media").'bannerimages/'.$collection1['filename'] ?>">
 
 
410
  <div class="camera_caption fadeFromBottom">
411
  <?php if($collection1):?>
412
  <?php echo $collection1['content']; ?>
413
  <?php endif;?>
414
  </div>
415
  </div>
416
-
417
- <?php } ?>
418
 
419
  </div><!-- #camera_wrap_1 -->
420
 
421
 
422
  </div><!-- .fluid_container -->
423
  <?php endif;?>
424
- <?php else:?>
425
- <div id="messages_product_view"><ul class="messages"><li class="error-msg"><ul><li><span><?php echo Mage::helper("bannerresponsive")->getNobannermessage(); ?></span></li></ul></li></ul></div>
426
- <?php endif;?>
427
  <?php endif;?>
428
-
33
  */
34
 
35
  ?>
36
+ <?php if($this->helper('bannerresponsive')->Isbannerenable() == 1 ):?>
 
 
37
  <script type='text/javascript' src='<?php echo $this->getSkinUrl("js/responsiveslider/jquery.js")?>'></script>
38
  <script type='text/javascript' src='<?php echo $this->getSkinUrl("js/responsiveslider/jquerynocon.js")?>'></script>
39
 
40
+ <?php if($this->helper('bannerresponsive')->Bannertype()== "bxslider") : ?>
 
41
  <?php
42
  /*
43
  * added js and css files you can also put this in xml file under refernces head
198
  ->addFieldToFilter('status','1');
199
  foreach($collection as $collection1)
200
  {
 
 
201
  ?>
202
  <li><a href="<?php if($collection1['url']) { echo $collection1['url']; }else { };?>"><img <?php if($collection1['title']) { ?> title="<?php echo $collection1['title'];?>" <?php } ?> src="<?php echo Mage::getBaseUrl("media").'bannerimages/'.$collection1['filename'] ?>"/></a></li>
203
 
370
  <?php } ?>
371
  </style>
372
  <link rel='stylesheet' id='camera-css' href='<?php echo $this->getSkinUrl("css/responsivebanner/camera.css");?>' type='text/css'/>
373
+ <script type='text/javascript' src='<?php echo $this->getSkinUrl("js/scripts/jquery.mobile.customized.min.js")?>'></script>
374
  <script type='text/javascript' src='<?php echo $this->getSkinUrl("js/scripts/jquery.easing.1.3.js")?>'></script>
375
  <script type='text/javascript' src='<?php echo $this->getSkinUrl("js/scripts/camera.min.js")?>'></script>
376
  <script>
393
 
394
 
395
  });
396
+
397
+
398
  </script>
399
 
400
 
401
 
402
 
403
+ <div class="fluid_container" >
404
  <div class="camera_wrap camera_azure_skin" id="camera_wrap_1">
405
  <?php foreach($collection as $collection1) { ?>
406
+ <div data-thumb="<?php echo Mage::getBaseUrl("media").'bannerimages/thumbs/'.$collection1['filename'] ?>" data-src="<?php echo Mage::getBaseUrl("media").'bannerimages/'.$collection1['filename'] ?>"
407
+ data-link="<?php echo $collection1->getUrl(); ?>" data-target="_new"
408
+ >
409
  <div class="camera_caption fadeFromBottom">
410
  <?php if($collection1):?>
411
  <?php echo $collection1['content']; ?>
412
  <?php endif;?>
413
  </div>
414
  </div>
415
+ <?php } ?>
 
416
 
417
  </div><!-- #camera_wrap_1 -->
418
 
419
 
420
  </div><!-- .fluid_container -->
421
  <?php endif;?>
 
 
 
422
  <?php endif;?>
 
app/design/frontend/default/default/template/bannerresponsive/bannerresponsivecamera.phtml CHANGED
@@ -34,8 +34,9 @@
34
 
35
  ?>
36
  <?php if($this->helper('bannerresponsive')->Isbannerenable() == 1 ):?>
37
- <?php $countbanner = Mage::getModel('bannerresponsive/bannerresponsive')->getCollection();?>
38
- <?php if(count($countbanner)>0):?>
 
39
  <?php
40
  $collection = $this->getBannercollection("cameraslider")
41
  ->setOrder('orderid','ASC')
@@ -105,7 +106,8 @@
105
  <div class="fluid_container">
106
  <div class="camera_wrap camera_azure_skin" id="camera_wrap_sepeearatecamera">
107
  <?php foreach($collection as $collection1) { ?>
108
- <div data-thumb="<?php echo Mage::getBaseUrl("media").'bannerimages/thumbs/'.$collection1['filename'] ?>" data-src="<?php echo Mage::getBaseUrl("media").'bannerimages/'.$collection1['filename'] ?>">
 
109
  <div class="camera_caption fadeFromBottom">
110
  <?php if($collection1):?>
111
  <?php echo $collection1['content']; ?>
@@ -118,7 +120,4 @@
118
 
119
 
120
  </div><!-- .fluid_container -->
121
- <?php else:?>
122
- <div id="messages_product_view"><ul class="messages"><li class="error-msg"><ul><li><span><?php echo Mage::helper("bannerresponsive")->getNobannermessage(); ?></span></li></ul></li></ul></div>
123
- <?php endif;?>
124
  <?php endif;?>
34
 
35
  ?>
36
  <?php if($this->helper('bannerresponsive')->Isbannerenable() == 1 ):?>
37
+ <script type='text/javascript' src='<?php echo $this->getSkinUrl("js/responsiveslider/jquery.js")?>'></script>
38
+ <script type='text/javascript' src='<?php echo $this->getSkinUrl("js/responsiveslider/jquerynocon.js")?>'></script>
39
+
40
  <?php
41
  $collection = $this->getBannercollection("cameraslider")
42
  ->setOrder('orderid','ASC')
106
  <div class="fluid_container">
107
  <div class="camera_wrap camera_azure_skin" id="camera_wrap_sepeearatecamera">
108
  <?php foreach($collection as $collection1) { ?>
109
+ <div data-thumb="<?php echo Mage::getBaseUrl("media").'bannerimages/thumbs/'.$collection1['filename'] ?>" data-src="<?php echo Mage::getBaseUrl("media").'bannerimages/'.$collection1['filename'] ?>"
110
+ data-link="<?php echo $collection1->getUrl(); ?>" data-target="_new">
111
  <div class="camera_caption fadeFromBottom">
112
  <?php if($collection1):?>
113
  <?php echo $collection1['content']; ?>
120
 
121
 
122
  </div><!-- .fluid_container -->
 
 
 
123
  <?php endif;?>
app/design/frontend/default/default/template/bannerresponsive/bannerresponsivetypmodern.phtml CHANGED
@@ -34,8 +34,9 @@
34
 
35
  ?>
36
  <?php if($this->helper('bannerresponsive')->Isbannerenable() == 1 ):?>
37
- <?php $countbanner = Mage::getModel('bannerresponsive/bannerresponsive')->getCollection();?>
38
- <?php if(count($countbanner)>0):?>
 
39
  <?php
40
  /*
41
  * added js and css files you can also put this in xml file under refernces head
@@ -116,7 +117,9 @@ document.write(unescape('%3Cscript src="scripts/jquery-min.js" %3E%3C/script%3E'
116
  <?php if($collection1['content']):?>
117
  <h3 class="subtitle"><?php echo $collection1['content']; ?></h3>
118
  <?php endif;?>
 
119
  <img class="model" src="<?php echo Mage::getBaseUrl("media").'bannerimages/'.$collection1['filename'] ?>"/>
 
120
  </li>
121
  <?php } ?>
122
  <!-- <li class="animate-in">
@@ -137,7 +140,4 @@ document.write(unescape('%3Cscript src="scripts/jquery-min.js" %3E%3C/script%3E'
137
 
138
  </div>
139
  </div>
140
- <?php else:?>
141
- <div id="messages_product_view"><ul class="messages"><li class="error-msg"><ul><li><span><?php echo Mage::helper("bannerresponsive")->getNobannermessage(); ?></span></li></ul></li></ul></div>
142
- <?php endif;?>
143
  <?php endif;?>
34
 
35
  ?>
36
  <?php if($this->helper('bannerresponsive')->Isbannerenable() == 1 ):?>
37
+ <script type='text/javascript' src='<?php echo $this->getSkinUrl("js/responsiveslider/jquery.js")?>'></script>
38
+ <script type='text/javascript' src='<?php echo $this->getSkinUrl("js/responsiveslider/jquerynocon.js")?>'></script>
39
+
40
  <?php
41
  /*
42
  * added js and css files you can also put this in xml file under refernces head
117
  <?php if($collection1['content']):?>
118
  <h3 class="subtitle"><?php echo $collection1['content']; ?></h3>
119
  <?php endif;?>
120
+ <a href="<?php if($collection1['url']) { echo $collection1['url']; }else { };?>">
121
  <img class="model" src="<?php echo Mage::getBaseUrl("media").'bannerimages/'.$collection1['filename'] ?>"/>
122
+ </a>
123
  </li>
124
  <?php } ?>
125
  <!-- <li class="animate-in">
140
 
141
  </div>
142
  </div>
 
 
 
143
  <?php endif;?>
media/adam/images/default/bt-next.png ADDED
Binary file
media/adam/images/default/bt-next_1.png ADDED
Binary file
media/adam/images/default/bt-prev.png ADDED
Binary file
media/adam/images/default/bt-prev_1.png ADDED
Binary file
media/adam/images/default/camera_skins_2.png DELETED
Binary file
media/adam/images/default/leaf.jpg ADDED
Binary file
media/bannerimages/01.jpg ADDED
Binary file
media/bannerimages/02.jpg ADDED
Binary file
media/bannerimages/1.jpg ADDED
Binary file
media/bannerimages/1_1.jpg ADDED
Binary file
media/bannerimages/1a.png ADDED
Binary file
media/bannerimages/1b.jpg ADDED
Binary file
media/bannerimages/2.jpg ADDED
Binary file
media/bannerimages/4.jpg ADDED
Binary file
media/bannerimages/AssassinsCreedIII3-1024x640.jpg ADDED
Binary file
media/bannerimages/adasadad.jpg DELETED
Binary file
media/bannerimages/beatury.jpg ADDED
Binary file
media/bannerimages/big_bunny_fake.jpg ADDED
Binary file
media/bannerimages/graphic-tee-creative-2.jpg ADDED
Binary file
media/bannerimages/images_1_.jpg ADDED
Binary file
media/bannerimages/info.jpg ADDED
Binary file
media/bannerimages/iphone.jpg ADDED
Binary file
media/bannerimages/kazvan-2.jpg DELETED
Binary file
media/bannerimages/kazvan-2final.jpg DELETED
Binary file
media/bannerimages/kazvan-3.jpg DELETED
Binary file
media/bannerimages/kazvan-3final.jpg DELETED
Binary file
media/bannerimages/m-2.jpg ADDED
Binary file
media/bannerimages/medium/4.jpg ADDED
Binary file
media/bannerimages/medium/adasadad.jpg DELETED
Binary file
media/bannerimages/medium/graphic-tee-creative-2.jpg ADDED
Binary file
media/bannerimages/medium/kazvan-2.jpg DELETED
Binary file
media/bannerimages/medium/kazvan-2final.jpg DELETED
Binary file
media/bannerimages/medium/kazvan-3.jpg DELETED
Binary file
media/bannerimages/medium/kazvan-3final.jpg DELETED
Binary file
media/bannerimages/medium/m-2.jpg ADDED
Binary file
media/bannerimages/medium/model2.png DELETED
Binary file
media/bannerimages/medium/model3.png DELETED
Binary file
media/bannerimages/medium/modern_y.jpg DELETED
Binary file
media/bannerimages/medium/naturrrrr.jpg DELETED
Binary file
media/bannerimages/medium/secondww_lion.jpg DELETED
Binary file
media/bannerimages/medium/shaden-1.jpg DELETED
Binary file
media/bannerimages/medium/shaden-3final.jpg DELETED
Binary file
media/bannerimages/medium/thirdrr.jpg DELETED
Binary file
media/bannerimages/model1.png ADDED
Binary file
media/bannerimages/modern_y.jpg DELETED
Binary file
media/bannerimages/naturrrrr.jpg DELETED
Binary file
media/bannerimages/nemo.jpg ADDED
Binary file
media/bannerimages/road.jpg ADDED
Binary file
media/bannerimages/s1_1.jpg ADDED
Binary file
media/bannerimages/s1_2.jpg ADDED
Binary file
media/bannerimages/s1_3.jpg ADDED
Binary file
media/bannerimages/s3_1.jpg ADDED
Binary file
media/bannerimages/secondww_lion.jpg DELETED
Binary file
media/bannerimages/shaden-1.jpg DELETED
Binary file
media/bannerimages/shaden-3_1_.jpg DELETED
Binary file
media/bannerimages/shaden-3_1_final.jpg DELETED
Binary file
media/bannerimages/shaden-3final.jpg DELETED
Binary file
media/bannerimages/slider_pic1.jpg ADDED
Binary file
media/bannerimages/slider_pic2.jpg ADDED
Binary file
media/bannerimages/thirdrr.jpg DELETED
Binary file
media/bannerimages/thumbs/01.jpg ADDED
Binary file
media/bannerimages/thumbs/02.jpg ADDED
Binary file
media/bannerimages/thumbs/1.jpg ADDED
Binary file
media/bannerimages/thumbs/1_1.jpg ADDED
Binary file
media/bannerimages/thumbs/1a.png ADDED
Binary file
media/bannerimages/thumbs/1b.jpg ADDED
Binary file
media/bannerimages/thumbs/2.jpg ADDED
Binary file
media/bannerimages/thumbs/4.jpg ADDED
Binary file
media/bannerimages/thumbs/adasadad.jpg DELETED
Binary file
media/bannerimages/thumbs/big_bunny_fake.jpg ADDED
Binary file
media/bannerimages/thumbs/graphic-tee-creative-2.jpg ADDED
Binary file
media/bannerimages/thumbs/info.jpg ADDED
Binary file
media/bannerimages/thumbs/iphone.jpg ADDED
Binary file
media/bannerimages/thumbs/kazvan-2.jpg DELETED
Binary file
media/bannerimages/thumbs/kazvan-2final.jpg DELETED
Binary file
media/bannerimages/thumbs/kazvan-3.jpg DELETED
Binary file
media/bannerimages/thumbs/kazvan-3final.jpg DELETED
Binary file
media/bannerimages/thumbs/m-2.jpg ADDED
Binary file
media/bannerimages/thumbs/model1.png ADDED
Binary file
media/bannerimages/thumbs/model2.png CHANGED
Binary file
media/bannerimages/thumbs/model3.png CHANGED
Binary file
media/bannerimages/thumbs/modern_y.jpg DELETED
Binary file
media/bannerimages/thumbs/naturrrrr.jpg DELETED
Binary file
media/bannerimages/thumbs/nemo.jpg ADDED
Binary file
media/bannerimages/thumbs/road.jpg ADDED
Binary file
media/bannerimages/thumbs/s1_1.jpg ADDED
Binary file
media/bannerimages/thumbs/s1_2.jpg ADDED
Binary file
media/bannerimages/thumbs/s1_3.jpg ADDED
Binary file
media/bannerimages/thumbs/s3_1.jpg ADDED
Binary file
media/bannerimages/thumbs/secondww_lion.jpg DELETED
Binary file
media/bannerimages/thumbs/shaden-1.jpg DELETED
Binary file
media/bannerimages/thumbs/shaden-3final.jpg DELETED
Binary file
media/bannerimages/thumbs/slider_pic1.jpg ADDED
Binary file
media/bannerimages/thumbs/slider_pic2.jpg ADDED
Binary file
media/bannerimages/thumbs/thirdrr.jpg DELETED
Binary file
media/bannerimages/thumbs/tn-model1.png ADDED
Binary file
media/bannerimages/thumbs/up.jpg ADDED
Binary file
media/bannerimages/tn-model1.png ADDED
Binary file
media/bannerimages/tn-model2.png ADDED
Binary file
media/bannerimages/tn-model2_1.png ADDED
Binary file
media/bannerimages/tn-model2_2.png ADDED
Binary file
media/bannerimages/tn-model2_3.png ADDED
Binary file
media/bannerimages/tn-model3.png ADDED
Binary file
media/bannerimages/up.jpg ADDED
Binary file
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>clarion_responsiveslider</name>
4
- <version>1.0.4</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
@@ -22,11 +22,11 @@ If you want to call individual banner type sliders then - &#xD;
22
  &#xD;
23
  (2) For modern sliders &#xD;
24
  {{block type="bannerresponsive/bannerresponsive" name="bannerresponsivemodernslider" template="bannerresponsive/bannerresponsivetypmodern.phtml" }}</description>
25
- <notes>clarion_responsiveslider-1.0.4 </notes>
26
  <authors><author><name>kushagra daharwal</name><user>kushagra</user><email>kushagra.daharwal@clariontechnologies.co.in</email></author></authors>
27
- <date>2014-03-25</date>
28
- <time>13:05:48</time>
29
- <contents><target name="magecommunity"><dir name="Clarion"><dir name="Bannerresponsive"><dir name="Block"><dir name="Adminhtml"><dir name="Bannerresponsive"><dir name="Edit"><file name="Form.php" hash="ae32685f865299dda22fa77b10f6ef20"/><dir name="Tab"><file name="Form.php" hash="ef1745c370d9b8695cf3a04f5fa7d78a"/></dir><file name="Tabs.php" hash="c0feed6ab2e611bbd23cb7ea4789a985"/></dir><file name="Edit.php" hash="2166afa64828808434b29424b434b622"/><file name="Grid.php" hash="613346f52e689679d602cb081dafc711"/><dir name="Renderer"><file name="Image.php" hash="6398575f074d13d4d13b9f5cf2cb7ed3"/></dir></dir><file name="Bannerresponsive.php" hash="b8a9fc33c0d578b2ff170229d767fc7f"/><dir name="Entity"><dir name="Helper"><file name="Image.php" hash="8a4ee098243dea869718939bac68565c"/></dir></dir><dir name="Grid"><dir name="Renderer"><file name="Image.php" hash="2af73c1404b8fd33f814addea98e6ba2"/></dir></dir></dir><file name="Bannerresponsive.php" hash="0950b0fa2a8ce0759f50aa31454e2672"/></dir><dir name="Helper"><file name="Data.php" hash="fd97bd97a9e737d1c2be79389793eec0"/></dir><dir name="Model"><file name="Bannereffectoption.php" hash="d3b0e2f4ee80a8d5f0ceb939ffa490cf"/><file name="Bannerresponsive.php" hash="5dd62f6cb03ee85fff4079f3dc5d6cfc"/><file name="Bannerslidingoptions.php" hash="b068252ce086794a4e69371c78ce8b98"/><file name="Camerabardirection.php" hash="31035f75d9a829a6c436b303c7810b4a"/><file name="Camerabarposistion.php" hash="d74ef99f128a1ce76fe4a2a040e84963"/><file name="Camerafx.php" hash="205ebcffed00f81ba0bfdfe113ec93a0"/><file name="Cameraloader.php" hash="b34767ad60c13ab0c45e1a32b2a4e44e"/><file name="Camerapieposition.php" hash="cd6b43e574e9d68fbf52d1a908181565"/><dir name="Mysql4"><dir name="Bannerresponsive"><file name="Collection.php" hash="676f18220480b2ac540d90c91fd7abd9"/></dir><file name="Bannerresponsive.php" hash="1df9b5d87e240121c68101699ecf5c96"/></dir><file name="Status.php" hash="d5411cd3c2f20255112b2b6e28655cb8"/><file name="Truefalseall.php" hash="286a2c2f7d4a6ca8c8feed64067fa1b4"/><file name="Typebanners.php" hash="c59bb1c27c6bc1852dc71225bde3e92e"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="BannerresponsiveController - Copy.php" hash="5c53d926aeda2e9a52854ad7da85bfbe"/><file name="BannerresponsiveController.php" hash="4262efa3abd3a6b73240972e996be789"/></dir><file name="IndexController.php" hash="777962b7292c5404087910d8afeda87d"/></dir><dir name="etc"><file name="adminhtml.xml" hash="13b2f073492e6b957bbb0d749b67a49d"/><file name="config.xml" hash="51085859810447cbefb78b39645411ac"/><file name="system.xml" hash="8488a5772993a01b8f3c295c03595de0"/></dir><dir name="etc_"><file name="adminhtml.xml" hash="13b2f073492e6b957bbb0d749b67a49d"/><file name="config.xml" hash="62b27d1ed63e01bb90c7cf23a83a6091"/><file name="system.xml" hash="f568bb8cae0b66cfcc1fb2d80c3adab4"/></dir><dir name="sql"><dir name="bannerresponsive_setup"><file name="mysql4-install-0.1.0.php" hash="7ae24dcee8f868bcefcd85749d14ff0f"/><file name="mysql4-upgrade-0.1.0-1.1.0.php" hash="7ae24dcee8f868bcefcd85749d14ff0f"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Clarion_Bannerresponsive.xml" hash="d44bb72529c8bae12eb46bad3d55c8a3"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="bannerresponsive.xml" hash="25428250da337a0df1ded761b76baa74"/></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="bannerresponsive.xml" hash="3b56c5cb180aac182d48aa0fd295d7eb"/></dir><dir name="template"><dir name="bannerresponsive"><file name="bannerresponsive.phtml" hash="20ab84a677f630350487dbe2646b3a57"/><file name="bannerresponsivecamera.phtml" hash="a23ebde23e95f78d8f2ca66dff31580f"/><file name="bannerresponsivetypmodern.phtml" hash="342475e695a21510e05446593bcf1c75"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="css"><dir name="responsivebanner"><file name="camera.css" hash="31cfc0603c2590c1c39624f954ab9e61"/><dir name="images"><file name="01(1).png" hash="23e1e17bebdf2bdbf6067f63273af438"/><file name="01.jpg" hash="078466c13c3b3df7e8ac8bdebd5cb932"/><file name="01.png" hash="3308da39f4175a19ff40018caea16373"/><file name="02(1).png" hash="8ce7e2e345499243bc4b0950d3460c8a"/><file name="02(2).jpg" hash="9c903d45db2cf24fcff066a6a40a2752"/><file name="02.jpg" hash="47d5c83a16e8028d6e6170df958ba6d9"/><file name="02.png" hash="3cf9122223615d4c0e3d275698f4d85b"/><file name="03(1).png" hash="50f6b3219dbb94ab172681c50f27a4d1"/><file name="03.jpg" hash="9ce9f6a2cc4f17f2e8e2d9dee2d4b4e9"/><file name="03.png" hash="90eb30ef0071544b4175da0f99b7302a"/><file name="04.png" hash="1f74ad2b71860ca4e6912aa00fa6a25a"/><file name="150115-1356942247.png" hash="2192574bb5d11f51f271857a5212e942"/><file name="1_1.jpg" hash="040ab8d89bdc7459813456d3cfc28474"/><file name="1a.png" hash="8fc5703c418b28204d87c276937b1010"/><file name="1b.jpg" hash="f9117fff562054d56c7c1ec8dd87ec61"/><file name="1b.png" hash="b458d793bc38cadb34fc5916e1000b45"/><file name="1c.png" hash="ae83674204da06edc96c7165ef61d1cd"/><file name="216840-0129_1(1).jpg" hash="8a89f627ec891b9bd37d4b6a7fc3e3e9"/><file name="216840-0129_1.jpg" hash="e78bc4449a2380520813529d9c616e83"/><file name="271669-0054_1(1).jpg" hash="c91b8e85ef5f9bc1e4ba4c0c18b9fa11"/><file name="271669-0054_1.jpg" hash="0b4ad6ab349b604c3333a2f0120810ce"/><file name="2a.png" hash="575e004c6f0347407a2d2e01d342318a"/><file name="2b_2.jpg" hash="a9655bcf0d93af155f644554634aa0f8"/><file name="3a.jpg" hash="306f9f9592e78e919db0698d84d84dea"/><file name="3b(1).jpg" hash="b9de9e66051a9f7036a4f874c93bfe36"/><file name="3b.jpg" hash="a607b54efe80fac6bcd426f815c4cc69"/><file name="3bb.jpg" hash="b869ec24ef897d30c7eb2f4fa6daea0e"/><file name="3c.jpg" hash="fb4f2fc8565e0901a9a70250023d1da8"/><file name="428338-0029_1.jpg" hash="677b7a5c2a0e142499d9c0a1d51c3ad1"/><file name="428357-0001_1_1_1.jpg" hash="f82abb28690e90485aa2505ecd4a89a0"/><file name="428374-0023_1_1.jpg" hash="3d5aa8f5ab34f331187ca4e0d0473082"/><file name="428381-0001_1_1.jpg" hash="543edd297336856f260354da08223753"/><file name="428446-0067_1_1_1_1_1.jpg" hash="e3a07d2acdc5b81ce750e0a50f9c3e69"/><file name="428507-0066_1_1.jpg" hash="a3343719142d7915570e6062b4bc7ddc"/><file name="4_3.jpg" hash="92db0a9a528c282c0289fbddb728f679"/><file name="4c.jpg" hash="183e451c53e092518eaf4ee2f063b685"/><file name="546029-0013_1_2.jpg" hash="399e15ce1371ccd26c4e1f607886672c"/><file name="6.jpg" hash="e7ac8dca213f54e3ea24a0420b7393ac"/><file name="677188-0067_1(1).jpg" hash="ebc6ce094442f39efccf1f234dd0141e"/><file name="677188-0067_1.jpg" hash="379617ee8d98c1342f2e2a23f9069b82"/><file name="734198-0056_1_2.jpg" hash="2559fc38601098d9cf7aac8590d0ef8f"/><file name="7e7013467a0aaa9b190144598ee32819.js" hash="65b58d32a03800808f45e9d670377249"/><file name="857055-0115_1_2.jpg" hash="f6d44ea64246d78b7ff054a1f3463e21"/><file name="870044-0032_1_2.jpg" hash="7bf802d4579597424560ca71cda47ef0"/><file name="917397-0134_1_1_1_1.jpg" hash="a1d8da4bf4d08020aedf734f647606b1"/><file name="928172-0484_1.jpg" hash="a068be35ca52a5d004b8af18078c58a5"/><file name="996093-0100_1(1).jpg" hash="a2840bbc35ffe21de3293bbf3d95651a"/><file name="996093-0100_1.jpg" hash="7109557a5f136eb4a1972bc334a6c5da"/><file name="a7629b8024b8ff12739117f186c33375.css" hash="6d2a95b9818d5ae0880c63d2625a7b6a"/><file name="active_bg.png" hash="612a957cd06ea13d497c1e6ebb7d2277"/><file name="apple.png" hash="d7539721a37f2b31172622a6b0043856"/><file name="banner1.jpg" hash="e0d1d28c24647c46e82dba2d60f80d6b"/><file name="banner2.jpg" hash="396bc981763d60416c81f6edf64aaab2"/><file name="banner3.jpg" hash="cab692165094ae47d8b6fecd157803e5"/><file name="bg-sequence.jpg" hash="b48a2495f724c7fbd4a0e398f02259c0"/><file name="bluelogo.png" hash="5f77f4b7921a9a371c17a03cc1107e39"/><file name="brandisimi.png" hash="788e2ec1a3a58e4a2f2cc8c52a92d26a"/><file name="bt-next.png" hash="0c5b4112464e22e295296553180c2521"/><file name="bt-prev.png" hash="390b2c5a06a3913132c57766fc5c2834"/><file name="bx_loader.gif" hash="931bdb6b50816b03206c66921760b246"/><file name="camera_skins.png" hash="44234b21bebe6b318aab47d9e9bbbee9"/><file name="company.png" hash="a10c66ef91959425696acdfbc2c3f1a1"/><file name="controls.png" hash="d9d25372f38c6b242b9b51d5841fe86e"/><file name="css" hash="eccdade94df7d33a51cbaf1610889ffa"/><file name="divider.png" hash="769c10276e1ee812749746a337b7634e"/><file name="f6e62d1da07bb38772c4bacfcef59296.css" hash="0915e59a9bfc9dff7c8250a977968c20"/><file name="ga.js" hash="20cad36e4a2237583e87e2d0c9b2903d"/><file name="hill_road.jpg" hash="2cf1710b8829ea6960d5a85908269141"/><file name="hill_trees.jpg" hash="29912a999a003cb690fee27840b689b3"/><file name="houses.jpg" hash="241ada60afd38f837a2aa4c94a948ec8"/><file name="logo-small.png" hash="6b664b1defb99f6b990d169a3a638b75"/><file name="logo.png" hash="3f32d28a9592ead6459b03dd0c91d0d3"/><file name="logofashion.png" hash="d2092437b394c6ba02210c4e16d5d913"/><file name="me_trees.jpg" hash="b5559ea40855c8dbfadefb140ac5bac2"/><file name="menu.png" hash="8243eb45bf3e3acc79e8f36fe2007027"/><file name="model1.png" hash="962ec8bbc4ea21eb95fb3484a9072fac"/><file name="model2.png" hash="7e9d171e9d19ff2b6de53ea4d8f2997c"/><file name="model3.png" hash="d8f19ad54353f80d87f453eb949f7eb4"/><file name="mountain.jpg" hash="bbd7f2c8863b2d33133dd3afbe014204"/><file name="paintbrush.png" hash="c6aa31b67451030ffb7d49bb8dcf15a6"/><file name="panel.jpg" hash="cc6b5d1d3995e0ef77be642a4c2776cf"/><file name="pause-icon.png" hash="3f60ed4cedfeecf057276b78c3f63ea2"/><file name="payment.gif" hash="d872c1365f432907e9d1c44a8e948bf5"/><file name="phone01_3.jpg" hash="c078161aad685660d2d7e6d542846d8b"/><file name="phone01a_2.jpg" hash="f983291df315596875a9508782cef27c"/><file name="phone03.jpg" hash="1a78109e6cc403e1a76617da61ea17b0"/><file name="phone05_2.jpg" hash="3f3ffdee0ea911ced01ffb723aceffe9"/><file name="phone06_2.jpg" hash="eb4d86093915ec63412957ff3aab3d94"/><file name="phone06a.jpg" hash="fa9f4c20bec3e2392f94d93e68352913"/><file name="phone07a_2.jpg" hash="c812c1b89bd0e218e232afb24185eede"/><file name="phone09_1.jpg" hash="00e7e2150aee257dfbc1f699c1bc86ef"/><file name="phone10.jpg" hash="af16156f4f096fb524425f756aff0c44"/><file name="pic_bg.png" hash="4fd7dd66a9fb76be9f5ba87f81e5619d"/><file name="publisher.png" hash="6d910bf0415436861a230267f9ecfc53"/><file name="responsive.png" hash="0a653c99c85fc2aa1d7ca19eac28d7b0"/><file name="s1_1.jpg" hash="ecec6d97bfadd135d29bf033a37d47a8"/><file name="s1_2.jpg" hash="0b174e6a4d0cede24055c0a66f7a74a8"/><file name="s1_3.jpg" hash="5436fd0118d494322aad4bccbd600559"/><file name="s1_4.png" hash="00fd7df08600fefbb8490454e773344e"/><file name="s3_1.jpg" hash="1e9fdec27c36208e5f3ae594a5b9e532"/><file name="s3_2.png" hash="e722db4f23a33ddaca272e9f9abb134e"/><dir name="sample_slides"><file name="imac.jpg" hash="bb6ef6c557240838dffb0c3db86e5f54"/><file name="info.jpg" hash="a2f951c52cf25a49bf3fdfba4b43a20d"/><file name="iphone.jpg" hash="4379361559b3c0e87d73abfe17ad91fc"/><file name="macbook.jpg" hash="937d3ff84a0f8e2b80b3577748bb308f"/><file name="thumb_about.png" hash="0e03eedd28610d3574300adf14270706"/><file name="thumb_imac.png" hash="fbf82587338f797ad139d5b0159208b3"/><file name="thumb_iphone.png" hash="c8b253b0a77c14d4abdffa85235f148b"/><file name="thumb_macbook.png" hash="28d81446c3f50f13d5a8ed93740f0feb"/></dir><file name="samplemanufacturer.png" hash="850bc0df84417a980a1ddab22bff8f4e"/><file name="samsung.png" hash="4fef0f310242bcf29ff6ac6ddb15e39c"/><file name="sequence-logo.png" hash="a9c0fdd0e96f896c0b14b93e2700507c"/><file name="slider_pic1.jpg" hash="721db89856581a0f85bbac2b42e4c1ca"/><file name="slider_pic2.jpg" hash="e8cd471e7452c6ac3eb8cd083758ab2a"/><file name="soundwave.png" hash="a578315fab89d5edba366a82571c64f3"/><file name="thebrand.png" hash="a078c8bfe43433214d044bfd0f0b76c1"/><file name="tn-model1.png" hash="0b2144fad1ce5f52f858d0bc6ac3cb9a"/><file name="tn-model2.png" hash="50608c6133cead7726f905723b246d57"/><file name="tn-model3.png" hash="0591a4b7534fec2553be2343fa52482c"/><file name="tree_root.jpg" hash="858d2fff7e073eea432ea141c3a534cf"/><file name="trees.jpg" hash="5bf3ff7800d78b9fc6f7401abd8a7b12"/></dir><file name="jquery.bxslider.css" hash="0e97524a87bac1c6538097eb64f64b83"/><file name="sequencejs-theme.modern-slide-in.css" hash="62b1e9f9dce34038ef137768778922c0"/><file name="stylesresposive.css" hash="3e64289cd4f09a94daebaa0839ea0871"/></dir></dir><dir name="js"><dir name="responsiveslider"><file name="jquery.bxslider.js" hash="3f6612a05317aaf468eda198256a2b09"/><file name="jquery.bxslider.min.js" hash="b860635957ed570deb2cf994bd9a4913"/><file name="jquery.easing.min.js" hash="ec64dc8377266f617caf00ebc5067a14"/><file name="jquery.js" hash="64ccc18a39b08bee148cf0db4e6cd1b1"/><file name="jquery.sequence-min.js" hash="44e053ab71ae98f377453d063965bef1"/><file name="jquerynocon.js" hash="3179f2255b046d5f2e9a71e365287bef"/><file name="script.js" hash="6733eec80dca935d94807840811fb794"/><file name="sequencejs-options.modern-slide-in.js" hash="4cfff69ff35ecae53ffb72e9f8886f76"/></dir></dir><dir name="images"><file name="bt-next.png" hash="0c5b4112464e22e295296553180c2521"/><file name="bt-prev.png" hash="390b2c5a06a3913132c57766fc5c2834"/><file name="camera_skins.png" hash="44234b21bebe6b318aab47d9e9bbbee9"/></dir></dir></dir></dir></target><target name="magemedia"><dir name="adam"><dir name="images"><dir name="default"><file name="camera_skins.png" hash="44234b21bebe6b318aab47d9e9bbbee9"/><file name="camera_skins_1.png" hash="44234b21bebe6b318aab47d9e9bbbee9"/><file name="camera_skins_2.png" hash="44234b21bebe6b318aab47d9e9bbbee9"/></dir></dir></dir><dir name="bannerimages"><file name="adasadad.jpg" hash="680953cf98773d0ff4df81fdd0e681e2"/><file name="firstyw.jpg" hash="7554095a0e5510f6b1859915be703daf"/><file name="kazvan-2.jpg" hash="df4a827b4e92ce9ebd99be068ff49ecc"/><file name="kazvan-2final.jpg" hash="9142bbd5054368a9977725795c0050e4"/><file name="kazvan-3.jpg" hash="2a854f50059c5b6fd21cde3a3d44259c"/><file name="kazvan-3final.jpg" hash="5b6db41386a686780e229cd8a285293b"/><dir name="medium"><file name="adasadad.jpg" hash="ac83959ac43a96ab831711bf43a4471c"/><file name="firstyw.jpg" hash="a26eaf0b660e2f133c83045be3f864f3"/><file name="kazvan-2.jpg" hash="faed6e5763de8a1691dea1437f6f8d27"/><file name="kazvan-2final.jpg" hash="9eee9fe4d8f8e256a545f337ad26b4a2"/><file name="kazvan-3.jpg" hash="ae1dcc72b5c2dbbd56aa347dea655e86"/><file name="kazvan-3final.jpg" hash="78393962efcef62598c69f3dff13b5cd"/><file name="model2.png" hash="6ea9bef04fde287b62fac6ab02409b12"/><file name="model3.png" hash="97c62939ece5f8dbcbcbe72bac72c753"/><file name="modern_d.jpg" hash="6bcc140bf8c5f4ad10af394dd2235899"/><file name="modern_y.jpg" hash="c24790c723cfae6d8804b1fe22f79abe"/><file name="naturrrrr.jpg" hash="d23c5680eb24aaa0a89a4004880a36a9"/><file name="secondww.jpg" hash="95c8267afdaf7be9e7e120889565f3ba"/><file name="secondww_lion.jpg" hash="95c8267afdaf7be9e7e120889565f3ba"/><file name="shaden-1.jpg" hash="2877f126a231da64400f7907c01d98cb"/><file name="shaden-3final.jpg" hash="26fb8e0025f0367fb8d8b4b879bc69dc"/><file name="thirdrr.jpg" hash="88be4794950ab9070f1e9c39295b6b1e"/></dir><file name="model2.png" hash="7e9d171e9d19ff2b6de53ea4d8f2997c"/><file name="model3.png" hash="d8f19ad54353f80d87f453eb949f7eb4"/><file name="modern_d.jpg" hash="a2bf0aa46b09983c3c2fa60bf7ccb17d"/><file name="modern_y.jpg" hash="7186bf8894d6e2eeea8ae7283bc5fb09"/><file name="naturrrrr.jpg" hash="e878b3a467f7245b7ae860c60206a295"/><file name="secondww.jpg" hash="1b23c13c6891937b32302f84d8dc6f63"/><file name="secondww_lion.jpg" hash="1b23c13c6891937b32302f84d8dc6f63"/><file name="shaden-1.jpg" hash="bd2c75096e1a7e2282232fba49615a2a"/><file name="shaden-3_1_.jpg" hash="3f353029307a587c600f90d5e1089848"/><file name="shaden-3_1_final.jpg" hash="3f353029307a587c600f90d5e1089848"/><file name="shaden-3final.jpg" hash="3f353029307a587c600f90d5e1089848"/><file name="thirdrr.jpg" hash="ed5a68e5bc78f596ef45a5d6f38cda27"/><dir name="thumbs"><file name="adasadad.jpg" hash="e5690eb357098b3919129ca14f67d9ed"/><file name="firstyw.jpg" hash="6ffe10402f1193b3c2c657a85e8f1261"/><file name="kazvan-2.jpg" hash="5d7a3e3a271d2d9f2ff9357a077c89ad"/><file name="kazvan-2final.jpg" hash="7536a537ba0dd366858e762fccb84ff7"/><file name="kazvan-3.jpg" hash="11341056cd033d61cf912822ca16f751"/><file name="kazvan-3final.jpg" hash="9e0eb48d6ad31c25082cff134e5c1f1b"/><file name="model2.png" hash="dde50a4132dd9d86e6b5bf4ece39625b"/><file name="model3.png" hash="6aa84e5b3ed2de6232c612e4442da3ac"/><file name="modern_d.jpg" hash="20494f4710b52c03fd95c40b2e37365d"/><file name="modern_y.jpg" hash="8f09bf667863bc49190256ac0dcdf5a4"/><file name="naturrrrr.jpg" hash="078efd2a848a77d3acb2edae8db7a0b9"/><file name="secondww.jpg" hash="84ac7f8251df25cf39f8dcbf4d9ad057"/><file name="secondww_lion.jpg" hash="84ac7f8251df25cf39f8dcbf4d9ad057"/><file name="shaden-1.jpg" hash="167acc1b4cbe3eb0612661fda62f9d42"/><file name="shaden-3final.jpg" hash="776082eb30ab0b7299f8ac80e8548189"/><file name="thirdrr.jpg" hash="55844e91e86b971703f3b4845dd8e190"/></dir></dir></target></contents>
30
  <compatible/>
31
- <dependencies><required><php><min>5.1.0</min><max>5.6.0</max></php><package><name>clarion_responsiveslider-1.0.4</name><channel>community</channel><min>1.0.0</min><max>8.0.0</max></package><extension><name>gd</name><min>2.0.0</min><max>2.4</max></extension></required></dependencies>
32
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>clarion_responsiveslider</name>
4
+ <version>1.0.5</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
22
  &#xD;
23
  (2) For modern sliders &#xD;
24
  {{block type="bannerresponsive/bannerresponsive" name="bannerresponsivemodernslider" template="bannerresponsive/bannerresponsivetypmodern.phtml" }}</description>
25
+ <notes>banner responsive slider 1.0.5 version</notes>
26
  <authors><author><name>kushagra daharwal</name><user>kushagra</user><email>kushagra.daharwal@clariontechnologies.co.in</email></author></authors>
27
+ <date>2014-03-28</date>
28
+ <time>12:00:42</time>
29
+ <contents><target name="magecommunity"><dir name="Clarion"><dir name="Bannerresponsive"><dir name="Block"><dir name="Adminhtml"><dir name="Bannerresponsive"><dir name="Edit"><file name="Form.php" hash="ae32685f865299dda22fa77b10f6ef20"/><dir name="Tab"><file name="Form.php" hash="ef1745c370d9b8695cf3a04f5fa7d78a"/></dir><file name="Tabs.php" hash="c0feed6ab2e611bbd23cb7ea4789a985"/></dir><file name="Edit.php" hash="2166afa64828808434b29424b434b622"/><file name="Grid.php" hash="613346f52e689679d602cb081dafc711"/><dir name="Renderer"><file name="Image.php" hash="6398575f074d13d4d13b9f5cf2cb7ed3"/></dir></dir><file name="Bannerresponsive.php" hash="b8a9fc33c0d578b2ff170229d767fc7f"/><dir name="Entity"><dir name="Helper"><file name="Image.php" hash="8a4ee098243dea869718939bac68565c"/></dir></dir><dir name="Grid"><dir name="Renderer"><file name="Image.php" hash="2af73c1404b8fd33f814addea98e6ba2"/></dir></dir></dir><file name="Bannerresponsive.php" hash="0950b0fa2a8ce0759f50aa31454e2672"/></dir><dir name="Helper"><file name="Data.php" hash="fd97bd97a9e737d1c2be79389793eec0"/></dir><dir name="Model"><file name="Bannereffectoption.php" hash="d3b0e2f4ee80a8d5f0ceb939ffa490cf"/><file name="Bannerresponsive.php" hash="5dd62f6cb03ee85fff4079f3dc5d6cfc"/><file name="Bannerslidingoptions.php" hash="b068252ce086794a4e69371c78ce8b98"/><file name="Camerabardirection.php" hash="31035f75d9a829a6c436b303c7810b4a"/><file name="Camerabarposistion.php" hash="d74ef99f128a1ce76fe4a2a040e84963"/><file name="Camerafx.php" hash="205ebcffed00f81ba0bfdfe113ec93a0"/><file name="Cameraloader.php" hash="b34767ad60c13ab0c45e1a32b2a4e44e"/><file name="Camerapieposition.php" hash="cd6b43e574e9d68fbf52d1a908181565"/><dir name="Mysql4"><dir name="Bannerresponsive"><file name="Collection.php" hash="676f18220480b2ac540d90c91fd7abd9"/></dir><file name="Bannerresponsive.php" hash="1df9b5d87e240121c68101699ecf5c96"/></dir><file name="Status.php" hash="d5411cd3c2f20255112b2b6e28655cb8"/><file name="Truefalseall.php" hash="286a2c2f7d4a6ca8c8feed64067fa1b4"/><file name="Typebanners.php" hash="c59bb1c27c6bc1852dc71225bde3e92e"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="BannerresponsiveController - Copy.php" hash="5c53d926aeda2e9a52854ad7da85bfbe"/><file name="BannerresponsiveController.php" hash="4262efa3abd3a6b73240972e996be789"/></dir><file name="IndexController.php" hash="777962b7292c5404087910d8afeda87d"/></dir><dir name="etc"><file name="adminhtml.xml" hash="13b2f073492e6b957bbb0d749b67a49d"/><file name="config.xml" hash="84804759c5c5d025957f661b747cb3b3"/><file name="system.xml" hash="8488a5772993a01b8f3c295c03595de0"/></dir><dir name="sql"><dir name="bannerresponsive_setup"><file name="mysql4-install-0.1.0.php" hash="7ae24dcee8f868bcefcd85749d14ff0f"/><file name="mysql4-upgrade-0.1.0-1.1.0.php" hash="7ae24dcee8f868bcefcd85749d14ff0f"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Clarion_Bannerresponsive.xml" hash="d44bb72529c8bae12eb46bad3d55c8a3"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="bannerresponsive"><file name="bannerresponsive.phtml" hash="cd1d5c57e0bac5cf638b426c88d0b7d5"/><file name="bannerresponsivecamera.phtml" hash="45da5b64a854913ebefd5a296762e634"/><file name="bannerresponsivetypmodern.phtml" hash="22688111aa84bbb31289a080b8113159"/></dir></dir><dir name="layout"><file name="bannerresponsive.xml" hash="83a1b9c6e0cca01aaa8cd9c5ed46d400"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="bannerresponsive.xml" hash="25428250da337a0df1ded761b76baa74"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="css"><dir name="responsivebanner"><file name="camera.css" hash="31cfc0603c2590c1c39624f954ab9e61"/><dir name="images"><file name="01(1).png" hash="23e1e17bebdf2bdbf6067f63273af438"/><file name="01.jpg" hash="078466c13c3b3df7e8ac8bdebd5cb932"/><file name="01.png" hash="3308da39f4175a19ff40018caea16373"/><file name="02(1).png" hash="8ce7e2e345499243bc4b0950d3460c8a"/><file name="02(2).jpg" hash="9c903d45db2cf24fcff066a6a40a2752"/><file name="02.jpg" hash="47d5c83a16e8028d6e6170df958ba6d9"/><file name="02.png" hash="3cf9122223615d4c0e3d275698f4d85b"/><file name="03(1).png" hash="50f6b3219dbb94ab172681c50f27a4d1"/><file name="03.jpg" hash="9ce9f6a2cc4f17f2e8e2d9dee2d4b4e9"/><file name="03.png" hash="90eb30ef0071544b4175da0f99b7302a"/><file name="04.png" hash="1f74ad2b71860ca4e6912aa00fa6a25a"/><file name="150115-1356942247.png" hash="2192574bb5d11f51f271857a5212e942"/><file name="1_1.jpg" hash="040ab8d89bdc7459813456d3cfc28474"/><file name="1a.png" hash="8fc5703c418b28204d87c276937b1010"/><file name="1b.jpg" hash="f9117fff562054d56c7c1ec8dd87ec61"/><file name="1b.png" hash="b458d793bc38cadb34fc5916e1000b45"/><file name="1c.png" hash="ae83674204da06edc96c7165ef61d1cd"/><file name="216840-0129_1(1).jpg" hash="8a89f627ec891b9bd37d4b6a7fc3e3e9"/><file name="216840-0129_1.jpg" hash="e78bc4449a2380520813529d9c616e83"/><file name="271669-0054_1(1).jpg" hash="c91b8e85ef5f9bc1e4ba4c0c18b9fa11"/><file name="271669-0054_1.jpg" hash="0b4ad6ab349b604c3333a2f0120810ce"/><file name="2a.png" hash="575e004c6f0347407a2d2e01d342318a"/><file name="2b_2.jpg" hash="a9655bcf0d93af155f644554634aa0f8"/><file name="3a.jpg" hash="306f9f9592e78e919db0698d84d84dea"/><file name="3b(1).jpg" hash="b9de9e66051a9f7036a4f874c93bfe36"/><file name="3b.jpg" hash="a607b54efe80fac6bcd426f815c4cc69"/><file name="3bb.jpg" hash="b869ec24ef897d30c7eb2f4fa6daea0e"/><file name="3c.jpg" hash="fb4f2fc8565e0901a9a70250023d1da8"/><file name="428338-0029_1.jpg" hash="677b7a5c2a0e142499d9c0a1d51c3ad1"/><file name="428357-0001_1_1_1.jpg" hash="f82abb28690e90485aa2505ecd4a89a0"/><file name="428374-0023_1_1.jpg" hash="3d5aa8f5ab34f331187ca4e0d0473082"/><file name="428381-0001_1_1.jpg" hash="543edd297336856f260354da08223753"/><file name="428446-0067_1_1_1_1_1.jpg" hash="e3a07d2acdc5b81ce750e0a50f9c3e69"/><file name="428507-0066_1_1.jpg" hash="a3343719142d7915570e6062b4bc7ddc"/><file name="4_3.jpg" hash="92db0a9a528c282c0289fbddb728f679"/><file name="4c.jpg" hash="183e451c53e092518eaf4ee2f063b685"/><file name="546029-0013_1_2.jpg" hash="399e15ce1371ccd26c4e1f607886672c"/><file name="6.jpg" hash="e7ac8dca213f54e3ea24a0420b7393ac"/><file name="677188-0067_1(1).jpg" hash="ebc6ce094442f39efccf1f234dd0141e"/><file name="677188-0067_1.jpg" hash="379617ee8d98c1342f2e2a23f9069b82"/><file name="734198-0056_1_2.jpg" hash="2559fc38601098d9cf7aac8590d0ef8f"/><file name="7e7013467a0aaa9b190144598ee32819.js" hash="65b58d32a03800808f45e9d670377249"/><file name="857055-0115_1_2.jpg" hash="f6d44ea64246d78b7ff054a1f3463e21"/><file name="870044-0032_1_2.jpg" hash="7bf802d4579597424560ca71cda47ef0"/><file name="917397-0134_1_1_1_1.jpg" hash="a1d8da4bf4d08020aedf734f647606b1"/><file name="928172-0484_1.jpg" hash="a068be35ca52a5d004b8af18078c58a5"/><file name="996093-0100_1(1).jpg" hash="a2840bbc35ffe21de3293bbf3d95651a"/><file name="996093-0100_1.jpg" hash="7109557a5f136eb4a1972bc334a6c5da"/><file name="a7629b8024b8ff12739117f186c33375.css" hash="6d2a95b9818d5ae0880c63d2625a7b6a"/><file name="active_bg.png" hash="612a957cd06ea13d497c1e6ebb7d2277"/><file name="apple.png" hash="d7539721a37f2b31172622a6b0043856"/><file name="banner1.jpg" hash="e0d1d28c24647c46e82dba2d60f80d6b"/><file name="banner2.jpg" hash="396bc981763d60416c81f6edf64aaab2"/><file name="banner3.jpg" hash="cab692165094ae47d8b6fecd157803e5"/><file name="bg-sequence.jpg" hash="b48a2495f724c7fbd4a0e398f02259c0"/><file name="bluelogo.png" hash="5f77f4b7921a9a371c17a03cc1107e39"/><file name="brandisimi.png" hash="788e2ec1a3a58e4a2f2cc8c52a92d26a"/><file name="bt-next.png" hash="0c5b4112464e22e295296553180c2521"/><file name="bt-prev.png" hash="390b2c5a06a3913132c57766fc5c2834"/><file name="bx_loader.gif" hash="931bdb6b50816b03206c66921760b246"/><file name="camera-loader.gif" hash="cd2e13291ecdcac7f575beea6d84b099"/><file name="camera_skins.png" hash="44234b21bebe6b318aab47d9e9bbbee9"/><file name="company.png" hash="a10c66ef91959425696acdfbc2c3f1a1"/><file name="controls.png" hash="d9d25372f38c6b242b9b51d5841fe86e"/><file name="css" hash="eccdade94df7d33a51cbaf1610889ffa"/><file name="divider.png" hash="769c10276e1ee812749746a337b7634e"/><file name="f6e62d1da07bb38772c4bacfcef59296.css" hash="0915e59a9bfc9dff7c8250a977968c20"/><file name="ga.js" hash="20cad36e4a2237583e87e2d0c9b2903d"/><file name="hill_road.jpg" hash="2cf1710b8829ea6960d5a85908269141"/><file name="hill_trees.jpg" hash="29912a999a003cb690fee27840b689b3"/><file name="houses.jpg" hash="241ada60afd38f837a2aa4c94a948ec8"/><file name="logo-small.png" hash="6b664b1defb99f6b990d169a3a638b75"/><file name="logo.png" hash="3f32d28a9592ead6459b03dd0c91d0d3"/><file name="logofashion.png" hash="d2092437b394c6ba02210c4e16d5d913"/><file name="me_trees.jpg" hash="b5559ea40855c8dbfadefb140ac5bac2"/><file name="menu.png" hash="8243eb45bf3e3acc79e8f36fe2007027"/><file name="model1.png" hash="962ec8bbc4ea21eb95fb3484a9072fac"/><file name="model2.png" hash="7e9d171e9d19ff2b6de53ea4d8f2997c"/><file name="model3.png" hash="d8f19ad54353f80d87f453eb949f7eb4"/><file name="mountain.jpg" hash="bbd7f2c8863b2d33133dd3afbe014204"/><file name="paintbrush.png" hash="c6aa31b67451030ffb7d49bb8dcf15a6"/><file name="panel.jpg" hash="cc6b5d1d3995e0ef77be642a4c2776cf"/><file name="pause-icon.png" hash="3f60ed4cedfeecf057276b78c3f63ea2"/><file name="payment.gif" hash="d872c1365f432907e9d1c44a8e948bf5"/><file name="phone01_3.jpg" hash="c078161aad685660d2d7e6d542846d8b"/><file name="phone01a_2.jpg" hash="f983291df315596875a9508782cef27c"/><file name="phone03.jpg" hash="1a78109e6cc403e1a76617da61ea17b0"/><file name="phone05_2.jpg" hash="3f3ffdee0ea911ced01ffb723aceffe9"/><file name="phone06_2.jpg" hash="eb4d86093915ec63412957ff3aab3d94"/><file name="phone06a.jpg" hash="fa9f4c20bec3e2392f94d93e68352913"/><file name="phone07a_2.jpg" hash="c812c1b89bd0e218e232afb24185eede"/><file name="phone09_1.jpg" hash="00e7e2150aee257dfbc1f699c1bc86ef"/><file name="phone10.jpg" hash="af16156f4f096fb524425f756aff0c44"/><file name="pic_bg.png" hash="4fd7dd66a9fb76be9f5ba87f81e5619d"/><file name="publisher.png" hash="6d910bf0415436861a230267f9ecfc53"/><file name="responsive.png" hash="0a653c99c85fc2aa1d7ca19eac28d7b0"/><file name="s1_1.jpg" hash="ecec6d97bfadd135d29bf033a37d47a8"/><file name="s1_2.jpg" hash="0b174e6a4d0cede24055c0a66f7a74a8"/><file name="s1_3.jpg" hash="5436fd0118d494322aad4bccbd600559"/><file name="s1_4.png" hash="00fd7df08600fefbb8490454e773344e"/><file name="s3_1.jpg" hash="1e9fdec27c36208e5f3ae594a5b9e532"/><file name="s3_2.png" hash="e722db4f23a33ddaca272e9f9abb134e"/><dir name="sample_slides"><file name="imac.jpg" hash="bb6ef6c557240838dffb0c3db86e5f54"/><file name="info.jpg" hash="a2f951c52cf25a49bf3fdfba4b43a20d"/><file name="iphone.jpg" hash="4379361559b3c0e87d73abfe17ad91fc"/><file name="macbook.jpg" hash="937d3ff84a0f8e2b80b3577748bb308f"/><file name="thumb_about.png" hash="0e03eedd28610d3574300adf14270706"/><file name="thumb_imac.png" hash="fbf82587338f797ad139d5b0159208b3"/><file name="thumb_iphone.png" hash="c8b253b0a77c14d4abdffa85235f148b"/><file name="thumb_macbook.png" hash="28d81446c3f50f13d5a8ed93740f0feb"/></dir><file name="samplemanufacturer.png" hash="850bc0df84417a980a1ddab22bff8f4e"/><file name="samsung.png" hash="4fef0f310242bcf29ff6ac6ddb15e39c"/><file name="sequence-logo.png" hash="a9c0fdd0e96f896c0b14b93e2700507c"/><file name="slider_pic1.jpg" hash="721db89856581a0f85bbac2b42e4c1ca"/><file name="slider_pic2.jpg" hash="e8cd471e7452c6ac3eb8cd083758ab2a"/><file name="soundwave.png" hash="a578315fab89d5edba366a82571c64f3"/><file name="thebrand.png" hash="a078c8bfe43433214d044bfd0f0b76c1"/><file name="tn-model1.png" hash="0b2144fad1ce5f52f858d0bc6ac3cb9a"/><file name="tn-model2.png" hash="50608c6133cead7726f905723b246d57"/><file name="tn-model3.png" hash="0591a4b7534fec2553be2343fa52482c"/><file name="tree_root.jpg" hash="858d2fff7e073eea432ea141c3a534cf"/><file name="trees.jpg" hash="5bf3ff7800d78b9fc6f7401abd8a7b12"/></dir><file name="jquery.bxslider.css" hash="0e97524a87bac1c6538097eb64f64b83"/><file name="sequencejs-theme.modern-slide-in.css" hash="4d29629a1663f11eb5b6c14c44c9dbec"/><file name="stylesresposive.css" hash="7f38e9a4783bac3bd48d7b81578fbfc0"/></dir></dir><dir name="js"><file name="clarion_ajax.js" hash="61ed5dc0b8b67b4f46c271566df31dee"/><file name="jquery.min.js" hash="e1288116312e4728f98923c79b034b67"/><file name="nc.js" hash="3179f2255b046d5f2e9a71e365287bef"/><dir><dir name="responsiveslider"><file name="jquery.bxslider.js" hash="3f6612a05317aaf468eda198256a2b09"/><file name="jquery.bxslider.min.js" hash="b860635957ed570deb2cf994bd9a4913"/><file name="jquery.easing.min.js" hash="ec64dc8377266f617caf00ebc5067a14"/><file name="jquery.js" hash="64ccc18a39b08bee148cf0db4e6cd1b1"/><file name="jquery.sequence-min.js" hash="44e053ab71ae98f377453d063965bef1"/><file name="jquerynocon.js" hash="3179f2255b046d5f2e9a71e365287bef"/><file name="script.js" hash="6733eec80dca935d94807840811fb794"/><file name="sequencejs-options.modern-slide-in.js" hash="4cfff69ff35ecae53ffb72e9f8886f76"/></dir><dir name="scripts"><dir name="_notes"><file name="dwsync.xml" hash="ca9879dc5aaa18bbe2ef8eb3d23f6dea"/></dir><file name="camera.js" hash="fbbdff18bbd6996bf9e0e215ef1268aa"/><file name="camera.min.js" hash="fb5074c5cf40020f7d0ab68a6d96db97"/><file name="jquery.easing.1.3.js" hash="6516449ed5089677ed3d7e2f11fc8942"/><file name="jquery.mobile.customized.min.js" hash="ea59fe8222cc61ffdbd41119ce23fd25"/></dir></dir></dir><dir name="images"><file name="bt-next.png" hash="0c5b4112464e22e295296553180c2521"/><file name="bt-prev.png" hash="390b2c5a06a3913132c57766fc5c2834"/><file name="camera_skins.png" hash="44234b21bebe6b318aab47d9e9bbbee9"/></dir></dir></dir></dir></target><target name="magemedia"><dir name="adam"><dir name="images"><dir name="default"><file name="bt-next.png" hash="0c5b4112464e22e295296553180c2521"/><file name="bt-next_1.png" hash="0c5b4112464e22e295296553180c2521"/><file name="bt-prev.png" hash="390b2c5a06a3913132c57766fc5c2834"/><file name="bt-prev_1.png" hash="390b2c5a06a3913132c57766fc5c2834"/><file name="camera_skins.png" hash="44234b21bebe6b318aab47d9e9bbbee9"/><file name="camera_skins_1.png" hash="44234b21bebe6b318aab47d9e9bbbee9"/><file name="leaf.jpg" hash="4edbd4c8e9ea473b751fd8f47e384297"/></dir></dir></dir><dir name="bannerimages"><file name="01.jpg" hash="078466c13c3b3df7e8ac8bdebd5cb932"/><file name="02.jpg" hash="47d5c83a16e8028d6e6170df958ba6d9"/><file name="1.jpg" hash="98628fe7dcf03cc2e36cd0cc3d40232c"/><file name="1_1.jpg" hash="040ab8d89bdc7459813456d3cfc28474"/><file name="1a.png" hash="8fc5703c418b28204d87c276937b1010"/><file name="1b.jpg" hash="f9117fff562054d56c7c1ec8dd87ec61"/><file name="2.jpg" hash="df0aee7aa3574a56a7dafbcf37ee4459"/><file name="4.jpg" hash="78cd090d4be6f1b89c38873a7aeb93f5"/><file name="AssassinsCreedIII3-1024x640.jpg" hash="549f706a61396903b7bff21d78fbeebe"/><file name="beatury.jpg" hash="04f232e2d7ae23b28ffced7c2075acf0"/><file name="big_bunny_fake.jpg" hash="68f5f882e02463438fe4f7eeb8d09877"/><file name="firstyw.jpg" hash="7554095a0e5510f6b1859915be703daf"/><file name="graphic-tee-creative-2.jpg" hash="19b8013fc20b5df3ececb36c15b0dee7"/><file name="images_1_.jpg" hash="3cbb3612084936f1ab9dad2c353aa2ec"/><file name="info.jpg" hash="a2f951c52cf25a49bf3fdfba4b43a20d"/><file name="iphone.jpg" hash="4379361559b3c0e87d73abfe17ad91fc"/><file name="m-2.jpg" hash="be17b6a3cb5d346765ab7c676966759f"/><dir name="medium"><file name="4.jpg" hash="a04ec4c83ba649e3777f316ed0d69c7c"/><file name="firstyw.jpg" hash="a26eaf0b660e2f133c83045be3f864f3"/><file name="graphic-tee-creative-2.jpg" hash="a869d1d1ee09d08f1e226c10d4b8cb6b"/><file name="m-2.jpg" hash="607fe8dc4805fc8a0a58ef69fa8474ad"/><file name="modern_d.jpg" hash="6bcc140bf8c5f4ad10af394dd2235899"/><file name="secondww.jpg" hash="95c8267afdaf7be9e7e120889565f3ba"/></dir><file name="model1.png" hash="962ec8bbc4ea21eb95fb3484a9072fac"/><file name="model2.png" hash="7e9d171e9d19ff2b6de53ea4d8f2997c"/><file name="model3.png" hash="d8f19ad54353f80d87f453eb949f7eb4"/><file name="modern_d.jpg" hash="a2bf0aa46b09983c3c2fa60bf7ccb17d"/><file name="nemo.jpg" hash="7ea962b318832ba18caab917448f0756"/><file name="road.jpg" hash="efb0e111c0d3006d539b7fbbc1cf5991"/><file name="s1_1.jpg" hash="ecec6d97bfadd135d29bf033a37d47a8"/><file name="s1_2.jpg" hash="0b174e6a4d0cede24055c0a66f7a74a8"/><file name="s1_3.jpg" hash="5436fd0118d494322aad4bccbd600559"/><file name="s3_1.jpg" hash="1e9fdec27c36208e5f3ae594a5b9e532"/><file name="secondww.jpg" hash="1b23c13c6891937b32302f84d8dc6f63"/><file name="slider_pic1.jpg" hash="721db89856581a0f85bbac2b42e4c1ca"/><file name="slider_pic2.jpg" hash="e8cd471e7452c6ac3eb8cd083758ab2a"/><dir name="thumbs"><file name="01.jpg" hash="c37fff44321a5ab79859f96db525f140"/><file name="02.jpg" hash="26af9b0742711f4df92153aa9dc37b4a"/><file name="1.jpg" hash="ea2411b57abbb05057a28d4bd49ee817"/><file name="1_1.jpg" hash="1017b033bbd8c6fc033457f190df848f"/><file name="1a.png" hash="0f2f74941556a60e815aa9e2c15b9bbc"/><file name="1b.jpg" hash="cf0f5723267dba93e27eb791776a9a8c"/><file name="2.jpg" hash="23a04669ce9ad5e8c03f5345b8eb8dc2"/><file name="4.jpg" hash="cb8df004a2f948b70b6f642af583dbf3"/><file name="big_bunny_fake.jpg" hash="8a8082571b9c0d431f6d28d72b06eb44"/><file name="firstyw.jpg" hash="6ffe10402f1193b3c2c657a85e8f1261"/><file name="graphic-tee-creative-2.jpg" hash="d2a446d3a57d9e76d35378880a93d4cb"/><file name="info.jpg" hash="20fa178d8a958e001b2c9a00492a33c8"/><file name="iphone.jpg" hash="33ef4b30c1ab27888843e36b594447d2"/><file name="m-2.jpg" hash="64fdb738ee3041a14756c1496bfbb5c8"/><file name="model1.png" hash="1261b052bc2dc637a0c98acc44e2f0e5"/><file name="model2.png" hash="cb1195755c430a047955e2c5708be765"/><file name="model3.png" hash="84b4bc7776cf67689dc595c6820959f2"/><file name="modern_d.jpg" hash="20494f4710b52c03fd95c40b2e37365d"/><file name="nemo.jpg" hash="fb08fff16083852bfa2d977b35ecfc6c"/><file name="road.jpg" hash="dd0f67614d0345f2aedf8decdfbdc8ec"/><file name="s1_1.jpg" hash="15b74c499256a21d9b0254365aac366a"/><file name="s1_2.jpg" hash="ed739aef74490e919951a655e068e72b"/><file name="s1_3.jpg" hash="b6030accbfacb164faaac232f6124b44"/><file name="s3_1.jpg" hash="9ec68b37adb954061e5f59ae7b91c0b9"/><file name="secondww.jpg" hash="84ac7f8251df25cf39f8dcbf4d9ad057"/><file name="slider_pic1.jpg" hash="b4229b09fab4646881167cff9ccd35a8"/><file name="slider_pic2.jpg" hash="36843b3cd39488d652d9308f4b86142f"/><file name="tn-model1.png" hash="4e1cd3080b880cfd81827d19c85b3877"/><file name="up.jpg" hash="8651668a4128a7c15782843068c14f75"/></dir><file name="tn-model1.png" hash="0b2144fad1ce5f52f858d0bc6ac3cb9a"/><file name="tn-model2.png" hash="50608c6133cead7726f905723b246d57"/><file name="tn-model2_1.png" hash="50608c6133cead7726f905723b246d57"/><file name="tn-model2_2.png" hash="50608c6133cead7726f905723b246d57"/><file name="tn-model2_3.png" hash="50608c6133cead7726f905723b246d57"/><file name="tn-model3.png" hash="0591a4b7534fec2553be2343fa52482c"/><file name="up.jpg" hash="97a89a100ea7387af842cd7bbddff7f3"/></dir></target></contents>
30
  <compatible/>
31
+ <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php><package><name>clarion_responsiveslider-1.0.5</name><channel>community</channel><min>1.0.0</min><max>8.0.0</max></package><extension><name>gd</name><min>2.0.0</min><max>2.4</max></extension></required></dependencies>
32
  </package>
skin/frontend/default/default/css/responsivebanner/images/camera-loader.gif ADDED
Binary file
skin/frontend/default/default/css/responsivebanner/sequencejs-theme.modern-slide-in.css CHANGED
@@ -35,14 +35,14 @@ table {
35
  background: #D9D9D9;
36
  }
37
 
38
- #sequence {
39
  margin: 0 auto;
40
  position: relative;
41
  overflow: hidden;
42
  width: 100%;
43
  max-width: 1280px;
44
  background-color: #D9D9D9;
45
- background-image: url("../images/bg-sequence.jpg");
46
  background-repeat: no-repeat;
47
  background-position: 50% 100%;
48
  color: white;
@@ -51,21 +51,21 @@ table {
51
  position: relative;
52
  height: 600px;
53
  }
54
- #sequence > .sequence-canvas {
55
  height: 100%;
56
  width: 100%;
57
  }
58
- #sequence > .sequence-canvas > li {
59
  position: absolute;
60
  width: 100%;
61
  height: 100%;
62
  z-index: 1;
63
  top: -50%;
64
  }
65
- #sequence > .sequence-canvas > li img {
66
  height: 96%;
67
  }
68
- #sequence > .sequence-canvas li > * {
69
  position: absolute;
70
  /* only cause the left and opacity properties to transition */
71
  -webkit-transition-property: left, opacity;
35
  background: #D9D9D9;
36
  }
37
 
38
+ #sequence,#sequenceseperate {
39
  margin: 0 auto;
40
  position: relative;
41
  overflow: hidden;
42
  width: 100%;
43
  max-width: 1280px;
44
  background-color: #D9D9D9;
45
+ background-image: url("./images/bg-sequence.jpg");
46
  background-repeat: no-repeat;
47
  background-position: 50% 100%;
48
  color: white;
51
  position: relative;
52
  height: 600px;
53
  }
54
+ #sequence > .sequence-canvas ,#sequenceseperate > .sequence-canvas{
55
  height: 100%;
56
  width: 100%;
57
  }
58
+ #sequence > .sequence-canvas > li ,#sequenceseperate > .sequence-canvas > li{
59
  position: absolute;
60
  width: 100%;
61
  height: 100%;
62
  z-index: 1;
63
  top: -50%;
64
  }
65
+ #sequence > .sequence-canvas > li img,#sequenceseperate > .sequence-canvas > li img {
66
  height: 96%;
67
  }
68
+ #sequence > .sequence-canvas li > *, #sequenceseperate > .sequence-canvas li > *{
69
  position: absolute;
70
  /* only cause the left and opacity properties to transition */
71
  -webkit-transition-property: left, opacity;
skin/frontend/default/default/css/responsivebanner/stylesresposive.css CHANGED
@@ -488,7 +488,7 @@ header {
488
  float: left;
489
  font-size: 2.25em;
490
  font-family: "KievitWeb", "Arial";
491
- padding: 18px 0;
492
  }
493
 
494
  .logo a {
488
  float: left;
489
  font-size: 2.25em;
490
  font-family: "KievitWeb", "Arial";
491
+ padding: 0px 0;
492
  }
493
 
494
  .logo a {
skin/frontend/default/default/js/clarion_ajax.js ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery(document).ready( function() {
2
+
3
+ // When site loaded, load the Popupbox First
4
+ //loadPopupBox();
5
+
6
+ jQuery('#popupBoxClose').click( function() {
7
+ unloadPopupBox();
8
+ });
9
+
10
+ //jQuery('.ajax').click( function() {
11
+ // loadPopupBox();
12
+ //});
13
+
14
+ jQuery('#container').click( function() {
15
+ unloadPopupBox();
16
+ });
17
+
18
+ function unloadPopupBox() { // TO Unload the Popupbox
19
+ jQuery('#popup_box').fadeOut("slow");
20
+ jQuery("#container").css({ // this is just for style
21
+ "opacity": "1"
22
+ });
23
+ }
24
+
25
+ function loadPopupBox() { // To Load the Popupbox
26
+ jQuery('#popup_box').fadeIn("slow");
27
+ jQuery("#container").css({ // this is just for style
28
+ "opacity": "0.3"
29
+ });
30
+ }
31
+ });
skin/frontend/default/default/js/jquery.min.js ADDED
@@ -0,0 +1,2 @@
 
 
1
+ /*! jQuery v1.8.3 jquery.com | jquery.org/license */
2
+ (function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r==="null"?null:+r+""===r?+r:D.test(r)?v.parseJSON(r):r}catch(s){}v.data(e,n,r)}else r=t}return r}function B(e){var t;for(t in e){if(t==="data"&&v.isEmptyObject(e[t]))continue;if(t!=="toJSON")return!1}return!0}function et(){return!1}function tt(){return!0}function ut(e){return!e||!e.parentNode||e.parentNode.nodeType===11}function at(e,t){do e=e[t];while(e&&e.nodeType!==1);return e}function ft(e,t,n){t=t||0;if(v.isFunction(t))return v.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return v.grep(e,function(e,r){return e===t===n});if(typeof t=="string"){var r=v.grep(e,function(e){return e.nodeType===1});if(it.test(t))return v.filter(t,r,!n);t=v.filter(t,r)}return v.grep(e,function(e,r){return v.inArray(e,t)>=0===n})}function lt(e){var t=ct.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}function Lt(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function At(e,t){if(t.nodeType!==1||!v.hasData(e))return;var n,r,i,s=v._data(e),o=v._data(t,s),u=s.events;if(u){delete o.handle,o.events={};for(n in u)for(r=0,i=u[n].length;r<i;r++)v.event.add(t,n,u[n][r])}o.data&&(o.data=v.extend({},o.data))}function Ot(e,t){var n;if(t.nodeType!==1)return;t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(e),n=t.nodeName.toLowerCase(),n==="object"?(t.parentNode&&(t.outerHTML=e.outerHTML),v.support.html5Clone&&e.innerHTML&&!v.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):n==="input"&&Et.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):n==="option"?t.selected=e.defaultSelected:n==="input"||n==="textarea"?t.defaultValue=e.defaultValue:n==="script"&&t.text!==e.text&&(t.text=e.text),t.removeAttribute(v.expando)}function Mt(e){return typeof e.getElementsByTagName!="undefined"?e.getElementsByTagName("*"):typeof e.querySelectorAll!="undefined"?e.querySelectorAll("*"):[]}function _t(e){Et.test(e.type)&&(e.defaultChecked=e.checked)}function Qt(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=Jt.length;while(i--){t=Jt[i]+n;if(t in e)return t}return r}function Gt(e,t){return e=t||e,v.css(e,"display")==="none"||!v.contains(e.ownerDocument,e)}function Yt(e,t){var n,r,i=[],s=0,o=e.length;for(;s<o;s++){n=e[s];if(!n.style)continue;i[s]=v._data(n,"olddisplay"),t?(!i[s]&&n.style.display==="none"&&(n.style.display=""),n.style.display===""&&Gt(n)&&(i[s]=v._data(n,"olddisplay",nn(n.nodeName)))):(r=Dt(n,"display"),!i[s]&&r!=="none"&&v._data(n,"olddisplay",r))}for(s=0;s<o;s++){n=e[s];if(!n.style)continue;if(!t||n.style.display==="none"||n.style.display==="")n.style.display=t?i[s]||"":"none"}return e}function Zt(e,t,n){var r=Rt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function en(e,t,n,r){var i=n===(r?"border":"content")?4:t==="width"?1:0,s=0;for(;i<4;i+=2)n==="margin"&&(s+=v.css(e,n+$t[i],!0)),r?(n==="content"&&(s-=parseFloat(Dt(e,"padding"+$t[i]))||0),n!=="margin"&&(s-=parseFloat(Dt(e,"border"+$t[i]+"Width"))||0)):(s+=parseFloat(Dt(e,"padding"+$t[i]))||0,n!=="padding"&&(s+=parseFloat(Dt(e,"border"+$t[i]+"Width"))||0));return s}function tn(e,t,n){var r=t==="width"?e.offsetWidth:e.offsetHeight,i=!0,s=v.support.boxSizing&&v.css(e,"boxSizing")==="border-box";if(r<=0||r==null){r=Dt(e,t);if(r<0||r==null)r=e.style[t];if(Ut.test(r))return r;i=s&&(v.support.boxSizingReliable||r===e.style[t]),r=parseFloat(r)||0}return r+en(e,t,n||(s?"border":"content"),i)+"px"}function nn(e){if(Wt[e])return Wt[e];var t=v("<"+e+">").appendTo(i.body),n=t.css("display");t.remove();if(n==="none"||n===""){Pt=i.body.appendChild(Pt||v.extend(i.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!Ht||!Pt.createElement)Ht=(Pt.contentWindow||Pt.contentDocument).document,Ht.write("<!doctype html><html><body>"),Ht.close();t=Ht.body.appendChild(Ht.createElement(e)),n=Dt(t,"display"),i.body.removeChild(Pt)}return Wt[e]=n,n}function fn(e,t,n,r){var i;if(v.isArray(t))v.each(t,function(t,i){n||sn.test(e)?r(e,i):fn(e+"["+(typeof i=="object"?t:"")+"]",i,n,r)});else if(!n&&v.type(t)==="object")for(i in t)fn(e+"["+i+"]",t[i],n,r);else r(e,t)}function Cn(e){return function(t,n){typeof t!="string"&&(n=t,t="*");var r,i,s,o=t.toLowerCase().split(y),u=0,a=o.length;if(v.isFunction(n))for(;u<a;u++)r=o[u],s=/^\+/.test(r),s&&(r=r.substr(1)||"*"),i=e[r]=e[r]||[],i[s?"unshift":"push"](n)}}function kn(e,n,r,i,s,o){s=s||n.dataTypes[0],o=o||{},o[s]=!0;var u,a=e[s],f=0,l=a?a.length:0,c=e===Sn;for(;f<l&&(c||!u);f++)u=a[f](n,r,i),typeof u=="string"&&(!c||o[u]?u=t:(n.dataTypes.unshift(u),u=kn(e,n,r,i,u,o)));return(c||!u)&&!o["*"]&&(u=kn(e,n,r,i,"*",o)),u}function Ln(e,n){var r,i,s=v.ajaxSettings.flatOptions||{};for(r in n)n[r]!==t&&((s[r]?e:i||(i={}))[r]=n[r]);i&&v.extend(!0,e,i)}function An(e,n,r){var i,s,o,u,a=e.contents,f=e.dataTypes,l=e.responseFields;for(s in l)s in r&&(n[l[s]]=r[s]);while(f[0]==="*")f.shift(),i===t&&(i=e.mimeType||n.getResponseHeader("content-type"));if(i)for(s in a)if(a[s]&&a[s].test(i)){f.unshift(s);break}if(f[0]in r)o=f[0];else{for(s in r){if(!f[0]||e.converters[s+" "+f[0]]){o=s;break}u||(u=s)}o=o||u}if(o)return o!==f[0]&&f.unshift(o),r[o]}function On(e,t){var n,r,i,s,o=e.dataTypes.slice(),u=o[0],a={},f=0;e.dataFilter&&(t=e.dataFilter(t,e.dataType));if(o[1])for(n in e.converters)a[n.toLowerCase()]=e.converters[n];for(;i=o[++f];)if(i!=="*"){if(u!=="*"&&u!==i){n=a[u+" "+i]||a["* "+i];if(!n)for(r in a){s=r.split(" ");if(s[1]===i){n=a[u+" "+s[0]]||a["* "+s[0]];if(n){n===!0?n=a[r]:a[r]!==!0&&(i=s[0],o.splice(f--,0,i));break}}}if(n!==!0)if(n&&e["throws"])t=n(t);else try{t=n(t)}catch(l){return{state:"parsererror",error:n?l:"No conversion from "+u+" to "+i}}}u=i}return{state:"success",data:t}}function Fn(){try{return new e.XMLHttpRequest}catch(t){}}function In(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function $n(){return setTimeout(function(){qn=t},0),qn=v.now()}function Jn(e,t){v.each(t,function(t,n){var r=(Vn[t]||[]).concat(Vn["*"]),i=0,s=r.length;for(;i<s;i++)if(r[i].call(e,t,n))return})}function Kn(e,t,n){var r,i=0,s=0,o=Xn.length,u=v.Deferred().always(function(){delete a.elem}),a=function(){var t=qn||$n(),n=Math.max(0,f.startTime+f.duration-t),r=n/f.duration||0,i=1-r,s=0,o=f.tweens.length;for(;s<o;s++)f.tweens[s].run(i);return u.notifyWith(e,[f,i,n]),i<1&&o?n:(u.resolveWith(e,[f]),!1)},f=u.promise({elem:e,props:v.extend({},t),opts:v.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:qn||$n(),duration:n.duration,tweens:[],createTween:function(t,n,r){var i=v.Tween(e,f.opts,t,n,f.opts.specialEasing[t]||f.opts.easing);return f.tweens.push(i),i},stop:function(t){var n=0,r=t?f.tweens.length:0;for(;n<r;n++)f.tweens[n].run(1);return t?u.resolveWith(e,[f,t]):u.rejectWith(e,[f,t]),this}}),l=f.props;Qn(l,f.opts.specialEasing);for(;i<o;i++){r=Xn[i].call(f,e,l,f.opts);if(r)return r}return Jn(f,l),v.isFunction(f.opts.start)&&f.opts.start.call(e,f),v.fx.timer(v.extend(a,{anim:f,queue:f.opts.queue,elem:e})),f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always)}function Qn(e,t){var n,r,i,s,o;for(n in e){r=v.camelCase(n),i=t[r],s=e[n],v.isArray(s)&&(i=s[1],s=e[n]=s[0]),n!==r&&(e[r]=s,delete e[n]),o=v.cssHooks[r];if(o&&"expand"in o){s=o.expand(s),delete e[r];for(n in s)n in e||(e[n]=s[n],t[n]=i)}else t[r]=i}}function Gn(e,t,n){var r,i,s,o,u,a,f,l,c,h=this,p=e.style,d={},m=[],g=e.nodeType&&Gt(e);n.queue||(l=v._queueHooks(e,"fx"),l.unqueued==null&&(l.unqueued=0,c=l.empty.fire,l.empty.fire=function(){l.unqueued||c()}),l.unqueued++,h.always(function(){h.always(function(){l.unqueued--,v.queue(e,"fx").length||l.empty.fire()})})),e.nodeType===1&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],v.css(e,"display")==="inline"&&v.css(e,"float")==="none"&&(!v.support.inlineBlockNeedsLayout||nn(e.nodeName)==="inline"?p.display="inline-block":p.zoom=1)),n.overflow&&(p.overflow="hidden",v.support.shrinkWrapBlocks||h.done(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t){s=t[r];if(Un.exec(s)){delete t[r],a=a||s==="toggle";if(s===(g?"hide":"show"))continue;m.push(r)}}o=m.length;if(o){u=v._data(e,"fxshow")||v._data(e,"fxshow",{}),"hidden"in u&&(g=u.hidden),a&&(u.hidden=!g),g?v(e).show():h.done(function(){v(e).hide()}),h.done(function(){var t;v.removeData(e,"fxshow",!0);for(t in d)v.style(e,t,d[t])});for(r=0;r<o;r++)i=m[r],f=h.createTween(i,g?u[i]:0),d[i]=u[i]||v.style(e,i),i in u||(u[i]=f.start,g&&(f.end=f.start,f.start=i==="width"||i==="height"?1:0))}}function Yn(e,t,n,r,i){return new Yn.prototype.init(e,t,n,r,i)}function Zn(e,t){var n,r={height:e},i=0;t=t?1:0;for(;i<4;i+=2-t)n=$t[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function tr(e){return v.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:!1}var n,r,i=e.document,s=e.location,o=e.navigator,u=e.jQuery,a=e.$,f=Array.prototype.push,l=Array.prototype.slice,c=Array.prototype.indexOf,h=Object.prototype.toString,p=Object.prototype.hasOwnProperty,d=String.prototype.trim,v=function(e,t){return new v.fn.init(e,t,n)},m=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,g=/\S/,y=/\s+/,b=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,w=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,E=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,S=/^[\],:{}\s]*$/,x=/(?:^|:|,)(?:\s*\[)+/g,T=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,N=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,C=/^-ms-/,k=/-([\da-z])/gi,L=function(e,t){return(t+"").toUpperCase()},A=function(){i.addEventListener?(i.removeEventListener("DOMContentLoaded",A,!1),v.ready()):i.readyState==="complete"&&(i.detachEvent("onreadystatechange",A),v.ready())},O={};v.fn=v.prototype={constructor:v,init:function(e,n,r){var s,o,u,a;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if(typeof e=="string"){e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3?s=[null,e,null]:s=w.exec(e);if(s&&(s[1]||!n)){if(s[1])return n=n instanceof v?n[0]:n,a=n&&n.nodeType?n.ownerDocument||n:i,e=v.parseHTML(s[1],a,!0),E.test(s[1])&&v.isPlainObject(n)&&this.attr.call(e,n,!0),v.merge(this,e);o=i.getElementById(s[2]);if(o&&o.parentNode){if(o.id!==s[2])return r.find(e);this.length=1,this[0]=o}return this.context=i,this.selector=e,this}return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e)}return v.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),v.makeArray(e,this))},selector:"",jquery:"1.8.3",length:0,size:function(){return this.length},toArray:function(){return l.call(this)},get:function(e){return e==null?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e,t,n){var r=v.merge(this.constructor(),e);return r.prevObject=this,r.context=this.context,t==="find"?r.selector=this.selector+(this.selector?" ":"")+n:t&&(r.selector=this.selector+"."+t+"("+n+")"),r},each:function(e,t){return v.each(this,e,t)},ready:function(e){return v.ready.promise().done(e),this},eq:function(e){return e=+e,e===-1?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(l.apply(this,arguments),"slice",l.call(arguments).join(","))},map:function(e){return this.pushStack(v.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:[].sort,splice:[].splice},v.fn.init.prototype=v.fn,v.extend=v.fn.extend=function(){var e,n,r,i,s,o,u=arguments[0]||{},a=1,f=arguments.length,l=!1;typeof u=="boolean"&&(l=u,u=arguments[1]||{},a=2),typeof u!="object"&&!v.isFunction(u)&&(u={}),f===a&&(u=this,--a);for(;a<f;a++)if((e=arguments[a])!=null)for(n in e){r=u[n],i=e[n];if(u===i)continue;l&&i&&(v.isPlainObject(i)||(s=v.isArray(i)))?(s?(s=!1,o=r&&v.isArray(r)?r:[]):o=r&&v.isPlainObject(r)?r:{},u[n]=v.extend(l,o,i)):i!==t&&(u[n]=i)}return u},v.extend({noConflict:function(t){return e.$===v&&(e.$=a),t&&e.jQuery===v&&(e.jQuery=u),v},isReady:!1,readyWait:1,holdReady:function(e){e?v.readyWait++:v.ready(!0)},ready:function(e){if(e===!0?--v.readyWait:v.isReady)return;if(!i.body)return setTimeout(v.ready,1);v.isReady=!0;if(e!==!0&&--v.readyWait>0)return;r.resolveWith(i,[v]),v.fn.trigger&&v(i).trigger("ready").off("ready")},isFunction:function(e){return v.type(e)==="function"},isArray:Array.isArray||function(e){return v.type(e)==="array"},isWindow:function(e){return e!=null&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return e==null?String(e):O[h.call(e)]||"object"},isPlainObject:function(e){if(!e||v.type(e)!=="object"||e.nodeType||v.isWindow(e))return!1;try{if(e.constructor&&!p.call(e,"constructor")&&!p.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var r;for(r in e);return r===t||p.call(e,r)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){var r;return!e||typeof e!="string"?null:(typeof t=="boolean"&&(n=t,t=0),t=t||i,(r=E.exec(e))?[t.createElement(r[1])]:(r=v.buildFragment([e],t,n?null:[]),v.merge([],(r.cacheable?v.clone(r.fragment):r.fragment).childNodes)))},parseJSON:function(t){if(!t||typeof t!="string")return null;t=v.trim(t);if(e.JSON&&e.JSON.parse)return e.JSON.parse(t);if(S.test(t.replace(T,"@").replace(N,"]").replace(x,"")))return(new Function("return "+t))();v.error("Invalid JSON: "+t)},parseXML:function(n){var r,i;if(!n||typeof n!="string")return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(s){r=t}return(!r||!r.documentElement||r.getElementsByTagName("parsererror").length)&&v.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&g.test(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(C,"ms-").replace(k,L)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,n,r){var i,s=0,o=e.length,u=o===t||v.isFunction(e);if(r){if(u){for(i in e)if(n.apply(e[i],r)===!1)break}else for(;s<o;)if(n.apply(e[s++],r)===!1)break}else if(u){for(i in e)if(n.call(e[i],i,e[i])===!1)break}else for(;s<o;)if(n.call(e[s],s,e[s++])===!1)break;return e},trim:d&&!d.call("\ufeff\u00a0")?function(e){return e==null?"":d.call(e)}:function(e){return e==null?"":(e+"").replace(b,"")},makeArray:function(e,t){var n,r=t||[];return e!=null&&(n=v.type(e),e.length==null||n==="string"||n==="function"||n==="regexp"||v.isWindow(e)?f.call(r,e):v.merge(r,e)),r},inArray:function(e,t,n){var r;if(t){if(c)return c.call(t,e,n);r=t.length,n=n?n<0?Math.max(0,r+n):n:0;for(;n<r;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,s=0;if(typeof r=="number")for(;s<r;s++)e[i++]=n[s];else while(n[s]!==t)e[i++]=n[s++];return e.length=i,e},grep:function(e,t,n){var r,i=[],s=0,o=e.length;n=!!n;for(;s<o;s++)r=!!t(e[s],s),n!==r&&i.push(e[s]);return i},map:function(e,n,r){var i,s,o=[],u=0,a=e.length,f=e instanceof v||a!==t&&typeof a=="number"&&(a>0&&e[0]&&e[a-1]||a===0||v.isArray(e));if(f)for(;u<a;u++)i=n(e[u],u,r),i!=null&&(o[o.length]=i);else for(s in e)i=n(e[s],s,r),i!=null&&(o[o.length]=i);return o.concat.apply([],o)},guid:1,proxy:function(e,n){var r,i,s;return typeof n=="string"&&(r=e[n],n=e,e=r),v.isFunction(e)?(i=l.call(arguments,2),s=function(){return e.apply(n,i.concat(l.call(arguments)))},s.guid=e.guid=e.guid||v.guid++,s):t},access:function(e,n,r,i,s,o,u){var a,f=r==null,l=0,c=e.length;if(r&&typeof r=="object"){for(l in r)v.access(e,n,l,r[l],1,o,i);s=1}else if(i!==t){a=u===t&&v.isFunction(i),f&&(a?(a=n,n=function(e,t,n){return a.call(v(e),n)}):(n.call(e,i),n=null));if(n)for(;l<c;l++)n(e[l],r,a?i.call(e[l],l,n(e[l],r)):i,u);s=1}return s?e:f?n.call(e):c?n(e[0],r):o},now:function(){return(new Date).getTime()}}),v.ready.promise=function(t){if(!r){r=v.Deferred();if(i.readyState==="complete")setTimeout(v.ready,1);else if(i.addEventListener)i.addEventListener("DOMContentLoaded",A,!1),e.addEventListener("load",v.ready,!1);else{i.attachEvent("onreadystatechange",A),e.attachEvent("onload",v.ready);var n=!1;try{n=e.frameElement==null&&i.documentElement}catch(s){}n&&n.doScroll&&function o(){if(!v.isReady){try{n.doScroll("left")}catch(e){return setTimeout(o,50)}v.ready()}}()}}return r.promise(t)},v.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(e,t){O["[object "+t+"]"]=t.toLowerCase()}),n=v(i);var M={};v.Callbacks=function(e){e=typeof e=="string"?M[e]||_(e):v.extend({},e);var n,r,i,s,o,u,a=[],f=!e.once&&[],l=function(t){n=e.memory&&t,r=!0,u=s||0,s=0,o=a.length,i=!0;for(;a&&u<o;u++)if(a[u].apply(t[0],t[1])===!1&&e.stopOnFalse){n=!1;break}i=!1,a&&(f?f.length&&l(f.shift()):n?a=[]:c.disable())},c={add:function(){if(a){var t=a.length;(function r(t){v.each(t,function(t,n){var i=v.type(n);i==="function"?(!e.unique||!c.has(n))&&a.push(n):n&&n.length&&i!=="string"&&r(n)})})(arguments),i?o=a.length:n&&(s=t,l(n))}return this},remove:function(){return a&&v.each(arguments,function(e,t){var n;while((n=v.inArray(t,a,n))>-1)a.splice(n,1),i&&(n<=o&&o--,n<=u&&u--)}),this},has:function(e){return v.inArray(e,a)>-1},empty:function(){return a=[],this},disable:function(){return a=f=n=t,this},disabled:function(){return!a},lock:function(){return f=t,n||c.disable(),this},locked:function(){return!f},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],a&&(!r||f)&&(i?f.push(t):l(t)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},v.extend({Deferred:function(e){var t=[["resolve","done",v.Callbacks("once memory"),"resolved"],["reject","fail",v.Callbacks("once memory"),"rejected"],["notify","progress",v.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return v.Deferred(function(n){v.each(t,function(t,r){var s=r[0],o=e[t];i[r[1]](v.isFunction(o)?function(){var e=o.apply(this,arguments);e&&v.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[s+"With"](this===i?n:this,[e])}:n[s])}),e=null}).promise()},promise:function(e){return e!=null?v.extend(e,r):r}},i={};return r.pipe=r.then,v.each(t,function(e,s){var o=s[2],u=s[3];r[s[1]]=o.add,u&&o.add(function(){n=u},t[e^1][2].disable,t[2][2].lock),i[s[0]]=o.fire,i[s[0]+"With"]=o.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=l.call(arguments),r=n.length,i=r!==1||e&&v.isFunction(e.promise)?r:0,s=i===1?e:v.Deferred(),o=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?l.call(arguments):r,n===u?s.notifyWith(t,n):--i||s.resolveWith(t,n)}},u,a,f;if(r>1){u=new Array(r),a=new Array(r),f=new Array(r);for(;t<r;t++)n[t]&&v.isFunction(n[t].promise)?n[t].promise().done(o(t,f,n)).fail(s.reject).progress(o(t,a,u)):--i}return i||s.resolveWith(f,n),s.promise()}}),v.support=function(){var t,n,r,s,o,u,a,f,l,c,h,p=i.createElement("div");p.setAttribute("className","t"),p.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=p.getElementsByTagName("*"),r=p.getElementsByTagName("a")[0];if(!n||!r||!n.length)return{};s=i.createElement("select"),o=s.appendChild(i.createElement("option")),u=p.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t={leadingWhitespace:p.firstChild.nodeType===3,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:r.getAttribute("href")==="/a",opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:u.value==="on",optSelected:o.selected,getSetAttribute:p.className!=="t",enctype:!!i.createElement("form").enctype,html5Clone:i.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",boxModel:i.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},u.checked=!0,t.noCloneChecked=u.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!o.disabled;try{delete p.test}catch(d){t.deleteExpando=!1}!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",h=function(){t.noCloneEvent=!1}),p.cloneNode(!0).fireEvent("onclick"),p.detachEvent("onclick",h)),u=i.createElement("input"),u.value="t",u.setAttribute("type","radio"),t.radioValue=u.value==="t",u.setAttribute("checked","checked"),u.setAttribute("name","t"),p.appendChild(u),a=i.createDocumentFragment(),a.appendChild(p.lastChild),t.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=u.checked,a.removeChild(u),a.appendChild(p);if(p.attachEvent)for(l in{submit:!0,change:!0,focusin:!0})f="on"+l,c=f in p,c||(p.setAttribute(f,"return;"),c=typeof p[f]=="function"),t[l+"Bubbles"]=c;return v(function(){var n,r,s,o,u="padding:0;margin:0;border:0;display:block;overflow:hidden;",a=i.getElementsByTagName("body")[0];if(!a)return;n=i.createElement("div"),n.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",a.insertBefore(n,a.firstChild),r=i.createElement("div"),n.appendChild(r),r.innerHTML="<table><tr><td></td><td>t</td></tr></table>",s=r.getElementsByTagName("td"),s[0].style.cssText="padding:0;margin:0;border:0;display:none",c=s[0].offsetHeight===0,s[0].style.display="",s[1].style.display="none",t.reliableHiddenOffsets=c&&s[0].offsetHeight===0,r.innerHTML="",r.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizing=r.offsetWidth===4,t.doesNotIncludeMarginInBodyOffset=a.offsetTop!==1,e.getComputedStyle&&(t.pixelPosition=(e.getComputedStyle(r,null)||{}).top!=="1%",t.boxSizingReliable=(e.getComputedStyle(r,null)||{width:"4px"}).width==="4px",o=i.createElement("div"),o.style.cssText=r.style.cssText=u,o.style.marginRight=o.style.width="0",r.style.width="1px",r.appendChild(o),t.reliableMarginRight=!parseFloat((e.getComputedStyle(o,null)||{}).marginRight)),typeof r.style.zoom!="undefined"&&(r.innerHTML="",r.style.cssText=u+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=r.offsetWidth===3,r.style.display="block",r.style.overflow="visible",r.innerHTML="<div></div>",r.firstChild.style.width="5px",t.shrinkWrapBlocks=r.offsetWidth!==3,n.style.zoom=1),a.removeChild(n),n=r=s=o=null}),a.removeChild(p),n=r=s=o=u=a=p=null,t}();var D=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;v.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(v.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?v.cache[e[v.expando]]:e[v.expando],!!e&&!B(e)},data:function(e,n,r,i){if(!v.acceptData(e))return;var s,o,u=v.expando,a=typeof n=="string",f=e.nodeType,l=f?v.cache:e,c=f?e[u]:e[u]&&u;if((!c||!l[c]||!i&&!l[c].data)&&a&&r===t)return;c||(f?e[u]=c=v.deletedIds.pop()||v.guid++:c=u),l[c]||(l[c]={},f||(l[c].toJSON=v.noop));if(typeof n=="object"||typeof n=="function")i?l[c]=v.extend(l[c],n):l[c].data=v.extend(l[c].data,n);return s=l[c],i||(s.data||(s.data={}),s=s.data),r!==t&&(s[v.camelCase(n)]=r),a?(o=s[n],o==null&&(o=s[v.camelCase(n)])):o=s,o},removeData:function(e,t,n){if(!v.acceptData(e))return;var r,i,s,o=e.nodeType,u=o?v.cache:e,a=o?e[v.expando]:v.expando;if(!u[a])return;if(t){r=n?u[a]:u[a].data;if(r){v.isArray(t)||(t in r?t=[t]:(t=v.camelCase(t),t in r?t=[t]:t=t.split(" ")));for(i=0,s=t.length;i<s;i++)delete r[t[i]];if(!(n?B:v.isEmptyObject)(r))return}}if(!n){delete u[a].data;if(!B(u[a]))return}o?v.cleanData([e],!0):v.support.deleteExpando||u!=u.window?delete u[a]:u[a]=null},_data:function(e,t,n){return v.data(e,t,n,!0)},acceptData:function(e){var t=e.nodeName&&v.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),v.fn.extend({data:function(e,n){var r,i,s,o,u,a=this[0],f=0,l=null;if(e===t){if(this.length){l=v.data(a);if(a.nodeType===1&&!v._data(a,"parsedAttrs")){s=a.attributes;for(u=s.length;f<u;f++)o=s[f].name,o.indexOf("data-")||(o=v.camelCase(o.substring(5)),H(a,o,l[o]));v._data(a,"parsedAttrs",!0)}}return l}return typeof e=="object"?this.each(function(){v.data(this,e)}):(r=e.split(".",2),r[1]=r[1]?"."+r[1]:"",i=r[1]+"!",v.access(this,function(n){if(n===t)return l=this.triggerHandler("getData"+i,[r[0]]),l===t&&a&&(l=v.data(a,e),l=H(a,e,l)),l===t&&r[1]?this.data(r[0]):l;r[1]=n,this.each(function(){var t=v(this);t.triggerHandler("setData"+i,r),v.data(this,e,n),t.triggerHandler("changeData"+i,r)})},null,n,arguments.length>1,null,!1))},removeData:function(e){return this.each(function(){v.removeData(this,e)})}}),v.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=v._data(e,t),n&&(!r||v.isArray(n)?r=v._data(e,t,v.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=v.queue(e,t),r=n.length,i=n.shift(),s=v._queueHooks(e,t),o=function(){v.dequeue(e,t)};i==="inprogress"&&(i=n.shift(),r--),i&&(t==="fx"&&n.unshift("inprogress"),delete s.stop,i.call(e,o,s)),!r&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return v._data(e,n)||v._data(e,n,{empty:v.Callbacks("once memory").add(function(){v.removeData(e,t+"queue",!0),v.removeData(e,n,!0)})})}}),v.fn.extend({queue:function(e,n){var r=2;return typeof e!="string"&&(n=e,e="fx",r--),arguments.length<r?v.queue(this[0],e):n===t?this:this.each(function(){var t=v.queue(this,e,n);v._queueHooks(this,e),e==="fx"&&t[0]!=="inprogress"&&v.dequeue(this,e)})},dequeue:function(e){return this.each(function(){v.dequeue(this,e)})},delay:function(e,t){return e=v.fx?v.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,s=v.Deferred(),o=this,u=this.length,a=function(){--i||s.resolveWith(o,[o])};typeof e!="string"&&(n=e,e=t),e=e||"fx";while(u--)r=v._data(o[u],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(a));return a(),s.promise(n)}});var j,F,I,q=/[\t\r\n]/g,R=/\r/g,U=/^(?:button|input)$/i,z=/^(?:button|input|object|select|textarea)$/i,W=/^a(?:rea|)$/i,X=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,V=v.support.getSetAttribute;v.fn.extend({attr:function(e,t){return v.access(this,v.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){v.removeAttr(this,e)})},prop:function(e,t){return v.access(this,v.prop,e,t,arguments.length>1)},removeProp:function(e){return e=v.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,s,o,u;if(v.isFunction(e))return this.each(function(t){v(this).addClass(e.call(this,t,this.className))});if(e&&typeof e=="string"){t=e.split(y);for(n=0,r=this.length;n<r;n++){i=this[n];if(i.nodeType===1)if(!i.className&&t.length===1)i.className=e;else{s=" "+i.className+" ";for(o=0,u=t.length;o<u;o++)s.indexOf(" "+t[o]+" ")<0&&(s+=t[o]+" ");i.className=v.trim(s)}}}return this},removeClass:function(e){var n,r,i,s,o,u,a;if(v.isFunction(e))return this.each(function(t){v(this).removeClass(e.call(this,t,this.className))});if(e&&typeof e=="string"||e===t){n=(e||"").split(y);for(u=0,a=this.length;u<a;u++){i=this[u];if(i.nodeType===1&&i.className){r=(" "+i.className+" ").replace(q," ");for(s=0,o=n.length;s<o;s++)while(r.indexOf(" "+n[s]+" ")>=0)r=r.replace(" "+n[s]+" "," ");i.className=e?v.trim(r):""}}}return this},toggleClass:function(e,t){var n=typeof e,r=typeof t=="boolean";return v.isFunction(e)?this.each(function(n){v(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if(n==="string"){var i,s=0,o=v(this),u=t,a=e.split(y);while(i=a[s++])u=r?u:!o.hasClass(i),o[u?"addClass":"removeClass"](i)}else if(n==="undefined"||n==="boolean")this.className&&v._data(this,"__className__",this.className),this.className=this.className||e===!1?"":v._data(this,"__className__")||""})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;n<r;n++)if(this[n].nodeType===1&&(" "+this[n].className+" ").replace(q," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,s=this[0];if(!arguments.length){if(s)return n=v.valHooks[s.type]||v.valHooks[s.nodeName.toLowerCase()],n&&"get"in n&&(r=n.get(s,"value"))!==t?r:(r=s.value,typeof r=="string"?r.replace(R,""):r==null?"":r);return}return i=v.isFunction(e),this.each(function(r){var s,o=v(this);if(this.nodeType!==1)return;i?s=e.call(this,r,o.val()):s=e,s==null?s="":typeof s=="number"?s+="":v.isArray(s)&&(s=v.map(s,function(e){return e==null?"":e+""})),n=v.valHooks[this.type]||v.valHooks[this.nodeName.toLowerCase()];if(!n||!("set"in n)||n.set(this,s,"value")===t)this.value=s})}}),v.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,s=e.type==="select-one"||i<0,o=s?null:[],u=s?i+1:r.length,a=i<0?u:s?i:0;for(;a<u;a++){n=r[a];if((n.selected||a===i)&&(v.support.optDisabled?!n.disabled:n.getAttribute("disabled")===null)&&(!n.parentNode.disabled||!v.nodeName(n.parentNode,"optgroup"))){t=v(n).val();if(s)return t;o.push(t)}}return o},set:function(e,t){var n=v.makeArray(t);return v(e).find("option").each(function(){this.selected=v.inArray(v(this).val(),n)>=0}),n.length||(e.selectedIndex=-1),n}}},attrFn:{},attr:function(e,n,r,i){var s,o,u,a=e.nodeType;if(!e||a===3||a===8||a===2)return;if(i&&v.isFunction(v.fn[n]))return v(e)[n](r);if(typeof e.getAttribute=="undefined")return v.prop(e,n,r);u=a!==1||!v.isXMLDoc(e),u&&(n=n.toLowerCase(),o=v.attrHooks[n]||(X.test(n)?F:j));if(r!==t){if(r===null){v.removeAttr(e,n);return}return o&&"set"in o&&u&&(s=o.set(e,r,n))!==t?s:(e.setAttribute(n,r+""),r)}return o&&"get"in o&&u&&(s=o.get(e,n))!==null?s:(s=e.getAttribute(n),s===null?t:s)},removeAttr:function(e,t){var n,r,i,s,o=0;if(t&&e.nodeType===1){r=t.split(y);for(;o<r.length;o++)i=r[o],i&&(n=v.propFix[i]||i,s=X.test(i),s||v.attr(e,i,""),e.removeAttribute(V?i:n),s&&n in e&&(e[n]=!1))}},attrHooks:{type:{set:function(e,t){if(U.test(e.nodeName)&&e.parentNode)v.error("type property can't be changed");else if(!v.support.radioValue&&t==="radio"&&v.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}},value:{get:function(e,t){return j&&v.nodeName(e,"button")?j.get(e,t):t in e?e.value:null},set:function(e,t,n){if(j&&v.nodeName(e,"button"))return j.set(e,t,n);e.value=t}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,n,r){var i,s,o,u=e.nodeType;if(!e||u===3||u===8||u===2)return;return o=u!==1||!v.isXMLDoc(e),o&&(n=v.propFix[n]||n,s=v.propHooks[n]),r!==t?s&&"set"in s&&(i=s.set(e,r,n))!==t?i:e[n]=r:s&&"get"in s&&(i=s.get(e,n))!==null?i:e[n]},propHooks:{tabIndex:{get:function(e){var n=e.getAttributeNode("tabindex");return n&&n.specified?parseInt(n.value,10):z.test(e.nodeName)||W.test(e.nodeName)&&e.href?0:t}}}}),F={get:function(e,n){var r,i=v.prop(e,n);return i===!0||typeof i!="boolean"&&(r=e.getAttributeNode(n))&&r.nodeValue!==!1?n.toLowerCase():t},set:function(e,t,n){var r;return t===!1?v.removeAttr(e,n):(r=v.propFix[n]||n,r in e&&(e[r]=!0),e.setAttribute(n,n.toLowerCase())),n}},V||(I={name:!0,id:!0,coords:!0},j=v.valHooks.button={get:function(e,n){var r;return r=e.getAttributeNode(n),r&&(I[n]?r.value!=="":r.specified)?r.value:t},set:function(e,t,n){var r=e.getAttributeNode(n);return r||(r=i.createAttribute(n),e.setAttributeNode(r)),r.value=t+""}},v.each(["width","height"],function(e,t){v.attrHooks[t]=v.extend(v.attrHooks[t],{set:function(e,n){if(n==="")return e.setAttribute(t,"auto"),n}})}),v.attrHooks.contenteditable={get:j.get,set:function(e,t,n){t===""&&(t="false"),j.set(e,t,n)}}),v.support.hrefNormalized||v.each(["href","src","width","height"],function(e,n){v.attrHooks[n]=v.extend(v.attrHooks[n],{get:function(e){var r=e.getAttribute(n,2);return r===null?t:r}})}),v.support.style||(v.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||t},set:function(e,t){return e.style.cssText=t+""}}),v.support.optSelected||(v.propHooks.selected=v.extend(v.propHooks.selected,{get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),v.support.enctype||(v.propFix.enctype="encoding"),v.support.checkOn||v.each(["radio","checkbox"],function(){v.valHooks[this]={get:function(e){return e.getAttribute("value")===null?"on":e.value}}}),v.each(["radio","checkbox"],function(){v.valHooks[this]=v.extend(v.valHooks[this],{set:function(e,t){if(v.isArray(t))return e.checked=v.inArray(v(e).val(),t)>=0}})});var $=/^(?:textarea|input|select)$/i,J=/^([^\.]*|)(?:\.(.+)|)$/,K=/(?:^|\s)hover(\.\S+|)\b/,Q=/^key/,G=/^(?:mouse|contextmenu)|click/,Y=/^(?:focusinfocus|focusoutblur)$/,Z=function(e){return v.event.special.hover?e:e.replace(K,"mouseenter$1 mouseleave$1")};v.event={add:function(e,n,r,i,s){var o,u,a,f,l,c,h,p,d,m,g;if(e.nodeType===3||e.nodeType===8||!n||!r||!(o=v._data(e)))return;r.handler&&(d=r,r=d.handler,s=d.selector),r.guid||(r.guid=v.guid++),a=o.events,a||(o.events=a={}),u=o.handle,u||(o.handle=u=function(e){return typeof v=="undefined"||!!e&&v.event.triggered===e.type?t:v.event.dispatch.apply(u.elem,arguments)},u.elem=e),n=v.trim(Z(n)).split(" ");for(f=0;f<n.length;f++){l=J.exec(n[f])||[],c=l[1],h=(l[2]||"").split(".").sort(),g=v.event.special[c]||{},c=(s?g.delegateType:g.bindType)||c,g=v.event.special[c]||{},p=v.extend({type:c,origType:l[1],data:i,handler:r,guid:r.guid,selector:s,needsContext:s&&v.expr.match.needsContext.test(s),namespace:h.join(".")},d),m=a[c];if(!m){m=a[c]=[],m.delegateCount=0;if(!g.setup||g.setup.call(e,i,h,u)===!1)e.addEventListener?e.addEventListener(c,u,!1):e.attachEvent&&e.attachEvent("on"+c,u)}g.add&&(g.add.call(e,p),p.handler.guid||(p.handler.guid=r.guid)),s?m.splice(m.delegateCount++,0,p):m.push(p),v.event.global[c]=!0}e=null},global:{},remove:function(e,t,n,r,i){var s,o,u,a,f,l,c,h,p,d,m,g=v.hasData(e)&&v._data(e);if(!g||!(h=g.events))return;t=v.trim(Z(t||"")).split(" ");for(s=0;s<t.length;s++){o=J.exec(t[s])||[],u=a=o[1],f=o[2];if(!u){for(u in h)v.event.remove(e,u+t[s],n,r,!0);continue}p=v.event.special[u]||{},u=(r?p.delegateType:p.bindType)||u,d=h[u]||[],l=d.length,f=f?new RegExp("(^|\\.)"+f.split(".").sort().join("\\.(?:.*\\.|)")+"(\\.|$)"):null;for(c=0;c<d.length;c++)m=d[c],(i||a===m.origType)&&(!n||n.guid===m.guid)&&(!f||f.test(m.namespace))&&(!r||r===m.selector||r==="**"&&m.selector)&&(d.splice(c--,1),m.selector&&d.delegateCount--,p.remove&&p.remove.call(e,m));d.length===0&&l!==d.length&&((!p.teardown||p.teardown.call(e,f,g.handle)===!1)&&v.removeEvent(e,u,g.handle),delete h[u])}v.isEmptyObject(h)&&(delete g.handle,v.removeData(e,"events",!0))},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(n,r,s,o){if(!s||s.nodeType!==3&&s.nodeType!==8){var u,a,f,l,c,h,p,d,m,g,y=n.type||n,b=[];if(Y.test(y+v.event.triggered))return;y.indexOf("!")>=0&&(y=y.slice(0,-1),a=!0),y.indexOf(".")>=0&&(b=y.split("."),y=b.shift(),b.sort());if((!s||v.event.customEvent[y])&&!v.event.global[y])return;n=typeof n=="object"?n[v.expando]?n:new v.Event(y,n):new v.Event(y),n.type=y,n.isTrigger=!0,n.exclusive=a,n.namespace=b.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,h=y.indexOf(":")<0?"on"+y:"";if(!s){u=v.cache;for(f in u)u[f].events&&u[f].events[y]&&v.event.trigger(n,r,u[f].handle.elem,!0);return}n.result=t,n.target||(n.target=s),r=r!=null?v.makeArray(r):[],r.unshift(n),p=v.event.special[y]||{};if(p.trigger&&p.trigger.apply(s,r)===!1)return;m=[[s,p.bindType||y]];if(!o&&!p.noBubble&&!v.isWindow(s)){g=p.delegateType||y,l=Y.test(g+y)?s:s.parentNode;for(c=s;l;l=l.parentNode)m.push([l,g]),c=l;c===(s.ownerDocument||i)&&m.push([c.defaultView||c.parentWindow||e,g])}for(f=0;f<m.length&&!n.isPropagationStopped();f++)l=m[f][0],n.type=m[f][1],d=(v._data(l,"events")||{})[n.type]&&v._data(l,"handle"),d&&d.apply(l,r),d=h&&l[h],d&&v.acceptData(l)&&d.apply&&d.apply(l,r)===!1&&n.preventDefault();return n.type=y,!o&&!n.isDefaultPrevented()&&(!p._default||p._default.apply(s.ownerDocument,r)===!1)&&(y!=="click"||!v.nodeName(s,"a"))&&v.acceptData(s)&&h&&s[y]&&(y!=="focus"&&y!=="blur"||n.target.offsetWidth!==0)&&!v.isWindow(s)&&(c=s[h],c&&(s[h]=null),v.event.triggered=y,s[y](),v.event.triggered=t,c&&(s[h]=c)),n.result}return},dispatch:function(n){n=v.event.fix(n||e.event);var r,i,s,o,u,a,f,c,h,p,d=(v._data(this,"events")||{})[n.type]||[],m=d.delegateCount,g=l.call(arguments),y=!n.exclusive&&!n.namespace,b=v.event.special[n.type]||{},w=[];g[0]=n,n.delegateTarget=this;if(b.preDispatch&&b.preDispatch.call(this,n)===!1)return;if(m&&(!n.button||n.type!=="click"))for(s=n.target;s!=this;s=s.parentNode||this)if(s.disabled!==!0||n.type!=="click"){u={},f=[];for(r=0;r<m;r++)c=d[r],h=c.selector,u[h]===t&&(u[h]=c.needsContext?v(h,this).index(s)>=0:v.find(h,this,null,[s]).length),u[h]&&f.push(c);f.length&&w.push({elem:s,matches:f})}d.length>m&&w.push({elem:this,matches:d.slice(m)});for(r=0;r<w.length&&!n.isPropagationStopped();r++){a=w[r],n.currentTarget=a.elem;for(i=0;i<a.matches.length&&!n.isImmediatePropagationStopped();i++){c=a.matches[i];if(y||!n.namespace&&!c.namespace||n.namespace_re&&n.namespace_re.test(c.namespace))n.data=c.data,n.handleObj=c,o=((v.event.special[c.origType]||{}).handle||c.handler).apply(a.elem,g),o!==t&&(n.result=o,o===!1&&(n.preventDefault(),n.stopPropagation()))}}return b.postDispatch&&b.postDispatch.call(this,n),n.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return e.which==null&&(e.which=t.charCode!=null?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,s,o,u=n.button,a=n.fromElement;return e.pageX==null&&n.clientX!=null&&(r=e.target.ownerDocument||i,s=r.documentElement,o=r.body,e.pageX=n.clientX+(s&&s.scrollLeft||o&&o.scrollLeft||0)-(s&&s.clientLeft||o&&o.clientLeft||0),e.pageY=n.clientY+(s&&s.scrollTop||o&&o.scrollTop||0)-(s&&s.clientTop||o&&o.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTarget=a===e.target?n.toElement:a),!e.which&&u!==t&&(e.which=u&1?1:u&2?3:u&4?2:0),e}},fix:function(e){if(e[v.expando])return e;var t,n,r=e,s=v.event.fixHooks[e.type]||{},o=s.props?this.props.concat(s.props):this.props;e=v.Event(r);for(t=o.length;t;)n=o[--t],e[n]=r[n];return e.target||(e.target=r.srcElement||i),e.target.nodeType===3&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,r):e},special:{load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(e,t,n){v.isWindow(this)&&(this.onbeforeunload=n)},teardown:function(e,t){this.onbeforeunload===t&&(this.onbeforeunload=null)}}},simulate:function(e,t,n,r){var i=v.extend(new v.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?v.event.trigger(i,null,t):v.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},v.event.handle=v.event.dispatch,v.removeEvent=i.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]=="undefined"&&(e[r]=null),e.detachEvent(r,n))},v.Event=function(e,t){if(!(this instanceof v.Event))return new v.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?tt:et):this.type=e,t&&v.extend(this,t),this.timeStamp=e&&e.timeStamp||v.now(),this[v.expando]=!0},v.Event.prototype={preventDefault:function(){this.isDefaultPrevented=tt;var e=this.originalEvent;if(!e)return;e.preventDefault?e.preventDefault():e.returnValue=!1},stopPropagation:function(){this.isPropagationStopped=tt;var e=this.originalEvent;if(!e)return;e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=tt,this.stopPropagation()},isDefaultPrevented:et,isPropagationStopped:et,isImmediatePropagationStopped:et},v.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){v.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,s=e.handleObj,o=s.selector;if(!i||i!==r&&!v.contains(r,i))e.type=s.origType,n=s.handler.apply(this,arguments),e.type=t;return n}}}),v.support.submitBubbles||(v.event.special.submit={setup:function(){if(v.nodeName(this,"form"))return!1;v.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=v.nodeName(n,"input")||v.nodeName(n,"button")?n.form:t;r&&!v._data(r,"_submit_attached")&&(v.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),v._data(r,"_submit_attached",!0))})},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&v.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){if(v.nodeName(this,"form"))return!1;v.event.remove(this,"._submit")}}),v.support.changeBubbles||(v.event.special.change={setup:function(){if($.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio")v.event.add(this,"propertychange._change",function(e){e.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),v.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),v.event.simulate("change",this,e,!0)});return!1}v.event.add(this,"beforeactivate._change",function(e){var t=e.target;$.test(t.nodeName)&&!v._data(t,"_change_attached")&&(v.event.add(t,"change._change",function(e){this.parentNode&&!e.isSimulated&&!e.isTrigger&&v.event.simulate("change",this.parentNode,e,!0)}),v._data(t,"_change_attached",!0))})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||t.type!=="radio"&&t.type!=="checkbox")return e.handleObj.handler.apply(this,arguments)},teardown:function(){return v.event.remove(this,"._change"),!$.test(this.nodeName)}}),v.support.focusinBubbles||v.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){v.event.simulate(t,e.target,v.event.fix(e),!0)};v.event.special[t]={setup:function(){n++===0&&i.addEventListener(e,r,!0)},teardown:function(){--n===0&&i.removeEventListener(e,r,!0)}}}),v.fn.extend({on:function(e,n,r,i,s){var o,u;if(typeof e=="object"){typeof n!="string"&&(r=r||n,n=t);for(u in e)this.on(u,n,r,e[u],s);return this}r==null&&i==null?(i=n,r=n=t):i==null&&(typeof n=="string"?(i=r,r=t):(i=r,r=n,n=t));if(i===!1)i=et;else if(!i)return this;return s===1&&(o=i,i=function(e){return v().off(e),o.apply(this,arguments)},i.guid=o.guid||(o.guid=v.guid++)),this.each(function(){v.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,s;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,v(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if(typeof e=="object"){for(s in e)this.off(s,n,e[s]);return this}if(n===!1||typeof n=="function")r=n,n=t;return r===!1&&(r=et),this.each(function(){v.event.remove(this,e,r,n)})},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},live:function(e,t,n){return v(this.context).on(e,this.selector,t,n),this},die:function(e,t){return v(this.context).off(e,this.selector||"**",t),this},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return arguments.length===1?this.off(e,"**"):this.off(t,e||"**",n)},trigger:function(e,t){return this.each(function(){v.event.trigger(e,t,this)})},triggerHandler:function(e,t){if(this[0])return v.event.trigger(e,t,this[0],!0)},toggle:function(e){var t=arguments,n=e.guid||v.guid++,r=0,i=function(n){var i=(v._data(this,"lastToggle"+e.guid)||0)%r;return v._data(this,"lastToggle"+e.guid,i+1),n.preventDefault(),t[i].apply(this,arguments)||!1};i.guid=n;while(r<t.length)t[r++].guid=n;return this.click(i)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),v.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){v.fn[t]=function(e,n){return n==null&&(n=e,e=null),arguments.length>0?this.on(t,null,e,n):this.trigger(t)},Q.test(t)&&(v.event.fixHooks[t]=v.event.keyHooks),G.test(t)&&(v.event.fixHooks[t]=v.event.mouseHooks)}),function(e,t){function nt(e,t,n,r){n=n||[],t=t||g;var i,s,a,f,l=t.nodeType;if(!e||typeof e!="string")return n;if(l!==1&&l!==9)return[];a=o(t);if(!a&&!r)if(i=R.exec(e))if(f=i[1]){if(l===9){s=t.getElementById(f);if(!s||!s.parentNode)return n;if(s.id===f)return n.push(s),n}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(f))&&u(t,s)&&s.id===f)return n.push(s),n}else{if(i[2])return S.apply(n,x.call(t.getElementsByTagName(e),0)),n;if((f=i[3])&&Z&&t.getElementsByClassName)return S.apply(n,x.call(t.getElementsByClassName(f),0)),n}return vt(e.replace(j,"$1"),t,n,r,a)}function rt(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}}function it(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}}function st(e){return N(function(t){return t=+t,N(function(n,r){var i,s=e([],n.length,t),o=s.length;while(o--)n[i=s[o]]&&(n[i]=!(r[i]=n[i]))})})}function ot(e,t,n){if(e===t)return n;var r=e.nextSibling;while(r){if(r===t)return-1;r=r.nextSibling}return 1}function ut(e,t){var n,r,s,o,u,a,f,l=L[d][e+" "];if(l)return t?0:l.slice(0);u=e,a=[],f=i.preFilter;while(u){if(!n||(r=F.exec(u)))r&&(u=u.slice(r[0].length)||u),a.push(s=[]);n=!1;if(r=I.exec(u))s.push(n=new m(r.shift())),u=u.slice(n.length),n.type=r[0].replace(j," ");for(o in i.filter)(r=J[o].exec(u))&&(!f[o]||(r=f[o](r)))&&(s.push(n=new m(r.shift())),u=u.slice(n.length),n.type=o,n.matches=r);if(!n)break}return t?u.length:u?nt.error(e):L(e,a).slice(0)}function at(e,t,r){var i=t.dir,s=r&&t.dir==="parentNode",o=w++;return t.first?function(t,n,r){while(t=t[i])if(s||t.nodeType===1)return e(t,n,r)}:function(t,r,u){if(!u){var a,f=b+" "+o+" ",l=f+n;while(t=t[i])if(s||t.nodeType===1){if((a=t[d])===l)return t.sizset;if(typeof a=="string"&&a.indexOf(f)===0){if(t.sizset)return t}else{t[d]=l;if(e(t,r,u))return t.sizset=!0,t;t.sizset=!1}}}else while(t=t[i])if(s||t.nodeType===1)if(e(t,r,u))return t}}function ft(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function lt(e,t,n,r,i){var s,o=[],u=0,a=e.length,f=t!=null;for(;u<a;u++)if(s=e[u])if(!n||n(s,r,i))o.push(s),f&&t.push(u);return o}function ct(e,t,n,r,i,s){return r&&!r[d]&&(r=ct(r)),i&&!i[d]&&(i=ct(i,s)),N(function(s,o,u,a){var f,l,c,h=[],p=[],d=o.length,v=s||dt(t||"*",u.nodeType?[u]:u,[]),m=e&&(s||!t)?lt(v,h,e,u,a):v,g=n?i||(s?e:d||r)?[]:o:m;n&&n(m,g,u,a);if(r){f=lt(g,p),r(f,[],u,a),l=f.length;while(l--)if(c=f[l])g[p[l]]=!(m[p[l]]=c)}if(s){if(i||e){if(i){f=[],l=g.length;while(l--)(c=g[l])&&f.push(m[l]=c);i(null,g=[],f,a)}l=g.length;while(l--)(c=g[l])&&(f=i?T.call(s,c):h[l])>-1&&(s[f]=!(o[f]=c))}}else g=lt(g===o?g.splice(d,g.length):g),i?i(null,o,g,a):S.apply(o,g)})}function ht(e){var t,n,r,s=e.length,o=i.relative[e[0].type],u=o||i.relative[" "],a=o?1:0,f=at(function(e){return e===t},u,!0),l=at(function(e){return T.call(t,e)>-1},u,!0),h=[function(e,n,r){return!o&&(r||n!==c)||((t=n).nodeType?f(e,n,r):l(e,n,r))}];for(;a<s;a++)if(n=i.relative[e[a].type])h=[at(ft(h),n)];else{n=i.filter[e[a].type].apply(null,e[a].matches);if(n[d]){r=++a;for(;r<s;r++)if(i.relative[e[r].type])break;return ct(a>1&&ft(h),a>1&&e.slice(0,a-1).join("").replace(j,"$1"),n,a<r&&ht(e.slice(a,r)),r<s&&ht(e=e.slice(r)),r<s&&e.join(""))}h.push(n)}return ft(h)}function pt(e,t){var r=t.length>0,s=e.length>0,o=function(u,a,f,l,h){var p,d,v,m=[],y=0,w="0",x=u&&[],T=h!=null,N=c,C=u||s&&i.find.TAG("*",h&&a.parentNode||a),k=b+=N==null?1:Math.E;T&&(c=a!==g&&a,n=o.el);for(;(p=C[w])!=null;w++){if(s&&p){for(d=0;v=e[d];d++)if(v(p,a,f)){l.push(p);break}T&&(b=k,n=++o.el)}r&&((p=!v&&p)&&y--,u&&x.push(p))}y+=w;if(r&&w!==y){for(d=0;v=t[d];d++)v(x,m,a,f);if(u){if(y>0)while(w--)!x[w]&&!m[w]&&(m[w]=E.call(l));m=lt(m)}S.apply(l,m),T&&!u&&m.length>0&&y+t.length>1&&nt.uniqueSort(l)}return T&&(b=k,c=N),x};return o.el=0,r?N(o):o}function dt(e,t,n){var r=0,i=t.length;for(;r<i;r++)nt(e,t[r],n);return n}function vt(e,t,n,r,s){var o,u,f,l,c,h=ut(e),p=h.length;if(!r&&h.length===1){u=h[0]=h[0].slice(0);if(u.length>2&&(f=u[0]).type==="ID"&&t.nodeType===9&&!s&&i.relative[u[1].type]){t=i.find.ID(f.matches[0].replace($,""),t,s)[0];if(!t)return n;e=e.slice(u.shift().length)}for(o=J.POS.test(e)?-1:u.length-1;o>=0;o--){f=u[o];if(i.relative[l=f.type])break;if(c=i.find[l])if(r=c(f.matches[0].replace($,""),z.test(u[0].type)&&t.parentNode||t,s)){u.splice(o,1),e=r.length&&u.join("");if(!e)return S.apply(n,x.call(r,0)),n;break}}}return a(e,h)(r,t,s,n,z.test(e)),n}function mt(){}var n,r,i,s,o,u,a,f,l,c,h=!0,p="undefined",d=("sizcache"+Math.random()).replace(".",""),m=String,g=e.document,y=g.documentElement,b=0,w=0,E=[].pop,S=[].push,x=[].slice,T=[].indexOf||function(e){var t=0,n=this.length;for(;t<n;t++)if(this[t]===e)return t;return-1},N=function(e,t){return e[d]=t==null||t,e},C=function(){var e={},t=[];return N(function(n,r){return t.push(n)>i.cacheLength&&delete e[t.shift()],e[n+" "]=r},e)},k=C(),L=C(),A=C(),O="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",_=M.replace("w","w#"),D="([*^$|!~]?=)",P="\\["+O+"*("+M+")"+O+"*(?:"+D+O+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+_+")|)|)"+O+"*\\]",H=":("+M+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+P+")|[^:]|\\\\.)*|.*))\\)|)",B=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+O+"*((?:-\\d)?\\d*)"+O+"*\\)|)(?=[^-]|$)",j=new RegExp("^"+O+"+|((?:^|[^\\\\])(?:\\\\.)*)"+O+"+$","g"),F=new RegExp("^"+O+"*,"+O+"*"),I=new RegExp("^"+O+"*([\\x20\\t\\r\\n\\f>+~])"+O+"*"),q=new RegExp(H),R=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,U=/^:not/,z=/[\x20\t\r\n\f]*[+~]/,W=/:not\($/,X=/h\d/i,V=/input|select|textarea|button/i,$=/\\(?!\\)/g,J={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),NAME:new RegExp("^\\[name=['\"]?("+M+")['\"]?\\]"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+H),POS:new RegExp(B,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+O+"*(even|odd|(([+-]|)(\\d*)n|)"+O+"*(?:([+-]|)"+O+"*(\\d+)|))"+O+"*\\)|)","i"),needsContext:new RegExp("^"+O+"*[>+~]|"+B,"i")},K=function(e){var t=g.createElement("div");try{return e(t)}catch(n){return!1}finally{t=null}},Q=K(function(e){return e.appendChild(g.createComment("")),!e.getElementsByTagName("*").length}),G=K(function(e){return e.innerHTML="<a href='#'></a>",e.firstChild&&typeof e.firstChild.getAttribute!==p&&e.firstChild.getAttribute("href")==="#"}),Y=K(function(e){e.innerHTML="<select></select>";var t=typeof e.lastChild.getAttribute("multiple");return t!=="boolean"&&t!=="string"}),Z=K(function(e){return e.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",!e.getElementsByClassName||!e.getElementsByClassName("e").length?!1:(e.lastChild.className="e",e.getElementsByClassName("e").length===2)}),et=K(function(e){e.id=d+0,e.innerHTML="<a name='"+d+"'></a><div name='"+d+"'></div>",y.insertBefore(e,y.firstChild);var t=g.getElementsByName&&g.getElementsByName(d).length===2+g.getElementsByName(d+0).length;return r=!g.getElementById(d),y.removeChild(e),t});try{x.call(y.childNodes,0)[0].nodeType}catch(tt){x=function(e){var t,n=[];for(;t=this[e];e++)n.push(t);return n}}nt.matches=function(e,t){return nt(e,null,null,t)},nt.matchesSelector=function(e,t){return nt(t,null,null,[e]).length>0},s=nt.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(i===1||i===9||i===11){if(typeof e.textContent=="string")return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=s(e)}else if(i===3||i===4)return e.nodeValue}else for(;t=e[r];r++)n+=s(t);return n},o=nt.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?t.nodeName!=="HTML":!1},u=nt.contains=y.contains?function(e,t){var n=e.nodeType===9?e.documentElement:e,r=t&&t.parentNode;return e===r||!!(r&&r.nodeType===1&&n.contains&&n.contains(r))}:y.compareDocumentPosition?function(e,t){return t&&!!(e.compareDocumentPosition(t)&16)}:function(e,t){while(t=t.parentNode)if(t===e)return!0;return!1},nt.attr=function(e,t){var n,r=o(e);return r||(t=t.toLowerCase()),(n=i.attrHandle[t])?n(e):r||Y?e.getAttribute(t):(n=e.getAttributeNode(t),n?typeof e[t]=="boolean"?e[t]?t:null:n.specified?n.value:null:null)},i=nt.selectors={cacheLength:50,createPseudo:N,match:J,attrHandle:G?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},find:{ID:r?function(e,t,n){if(typeof t.getElementById!==p&&!n){var r=t.getElementById(e);return r&&r.parentNode?[r]:[]}}:function(e,n,r){if(typeof n.getElementById!==p&&!r){var i=n.getElementById(e);return i?i.id===e||typeof i.getAttributeNode!==p&&i.getAttributeNode("id").value===e?[i]:t:[]}},TAG:Q?function(e,t){if(typeof t.getElementsByTagName!==p)return t.getElementsByTagName(e)}:function(e,t){var n=t.getElementsByTagName(e);if(e==="*"){var r,i=[],s=0;for(;r=n[s];s++)r.nodeType===1&&i.push(r);return i}return n},NAME:et&&function(e,t){if(typeof t.getElementsByName!==p)return t.getElementsByName(name)},CLASS:Z&&function(e,t,n){if(typeof t.getElementsByClassName!==p&&!n)return t.getElementsByClassName(e)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace($,""),e[3]=(e[4]||e[5]||"").replace($,""),e[2]==="~="&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),e[1]==="nth"?(e[2]||nt.error(e[0]),e[3]=+(e[3]?e[4]+(e[5]||1):2*(e[2]==="even"||e[2]==="odd")),e[4]=+(e[6]+e[7]||e[2]==="odd")):e[2]&&nt.error(e[0]),e},PSEUDO:function(e){var t,n;if(J.CHILD.test(e[0]))return null;if(e[3])e[2]=e[3];else if(t=e[4])q.test(t)&&(n=ut(t,!0))&&(n=t.indexOf(")",t.length-n)-t.length)&&(t=t.slice(0,n),e[0]=e[0].slice(0,n)),e[2]=t;return e.slice(0,3)}},filter:{ID:r?function(e){return e=e.replace($,""),function(t){return t.getAttribute("id")===e}}:function(e){return e=e.replace($,""),function(t){var n=typeof t.getAttributeNode!==p&&t.getAttributeNode("id");return n&&n.value===e}},TAG:function(e){return e==="*"?function(){return!0}:(e=e.replace($,"").toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=k[d][e+" "];return t||(t=new RegExp("(^|"+O+")"+e+"("+O+"|$)"))&&k(e,function(e){return t.test(e.className||typeof e.getAttribute!==p&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r,i){var s=nt.attr(r,e);return s==null?t==="!=":t?(s+="",t==="="?s===n:t==="!="?s!==n:t==="^="?n&&s.indexOf(n)===0:t==="*="?n&&s.indexOf(n)>-1:t==="$="?n&&s.substr(s.length-n.length)===n:t==="~="?(" "+s+" ").indexOf(n)>-1:t==="|="?s===n||s.substr(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r){return e==="nth"?function(e){var t,i,s=e.parentNode;if(n===1&&r===0)return!0;if(s){i=0;for(t=s.firstChild;t;t=t.nextSibling)if(t.nodeType===1){i++;if(e===t)break}}return i-=r,i===n||i%n===0&&i/n>=0}:function(t){var n=t;switch(e){case"only":case"first":while(n=n.previousSibling)if(n.nodeType===1)return!1;if(e==="first")return!0;n=t;case"last":while(n=n.nextSibling)if(n.nodeType===1)return!1;return!0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||nt.error("unsupported pseudo: "+e);return r[d]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?N(function(e,n){var i,s=r(e,t),o=s.length;while(o--)i=T.call(e,s[o]),e[i]=!(n[i]=s[o])}):function(e){return r(e,0,n)}):r}},pseudos:{not:N(function(e){var t=[],n=[],r=a(e.replace(j,"$1"));return r[d]?N(function(e,t,n,i){var s,o=r(e,null,i,[]),u=e.length;while(u--)if(s=o[u])e[u]=!(t[u]=s)}):function(e,i,s){return t[0]=e,r(t,null,s,n),!n.pop()}}),has:N(function(e){return function(t){return nt(e,t).length>0}}),contains:N(function(e){return function(t){return(t.textContent||t.innerText||s(t)).indexOf(e)>-1}}),enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&!!e.checked||t==="option"&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},parent:function(e){return!i.pseudos.empty(e)},empty:function(e){var t;e=e.firstChild;while(e){if(e.nodeName>"@"||(t=e.nodeType)===3||t===4)return!1;e=e.nextSibling}return!0},header:function(e){return X.test(e.nodeName)},text:function(e){var t,n;return e.nodeName.toLowerCase()==="input"&&(t=e.type)==="text"&&((n=e.getAttribute("type"))==null||n.toLowerCase()===t)},radio:rt("radio"),checkbox:rt("checkbox"),file:rt("file"),password:rt("password"),image:rt("image"),submit:it("submit"),reset:it("reset"),button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&e.type==="button"||t==="button"},input:function(e){return V.test(e.nodeName)},focus:function(e){var t=e.ownerDocument;return e===t.activeElement&&(!t.hasFocus||t.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},active:function(e){return e===e.ownerDocument.activeElement},first:st(function(){return[0]}),last:st(function(e,t){return[t-1]}),eq:st(function(e,t,n){return[n<0?n+t:n]}),even:st(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:st(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:st(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:st(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},f=y.compareDocumentPosition?function(e,t){return e===t?(l=!0,0):(!e.compareDocumentPosition||!t.compareDocumentPosition?e.compareDocumentPosition:e.compareDocumentPosition(t)&4)?-1:1}:function(e,t){if(e===t)return l=!0,0;if(e.sourceIndex&&t.sourceIndex)return e.sourceIndex-t.sourceIndex;var n,r,i=[],s=[],o=e.parentNode,u=t.parentNode,a=o;if(o===u)return ot(e,t);if(!o)return-1;if(!u)return 1;while(a)i.unshift(a),a=a.parentNode;a=u;while(a)s.unshift(a),a=a.parentNode;n=i.length,r=s.length;for(var f=0;f<n&&f<r;f++)if(i[f]!==s[f])return ot(i[f],s[f]);return f===n?ot(e,s[f],-1):ot(i[f],t,1)},[0,0].sort(f),h=!l,nt.uniqueSort=function(e){var t,n=[],r=1,i=0;l=h,e.sort(f);if(l){for(;t=e[r];r++)t===e[r-1]&&(i=n.push(r));while(i--)e.splice(n[i],1)}return e},nt.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},a=nt.compile=function(e,t){var n,r=[],i=[],s=A[d][e+" "];if(!s){t||(t=ut(e)),n=t.length;while(n--)s=ht(t[n]),s[d]?r.push(s):i.push(s);s=A(e,pt(i,r))}return s},g.querySelectorAll&&function(){var e,t=vt,n=/'|\\/g,r=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,i=[":focus"],s=[":active"],u=y.matchesSelector||y.mozMatchesSelector||y.webkitMatchesSelector||y.oMatchesSelector||y.msMatchesSelector;K(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||i.push("\\["+O+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||i.push(":checked")}),K(function(e){e.innerHTML="<p test=''></p>",e.querySelectorAll("[test^='']").length&&i.push("[*^$]="+O+"*(?:\"\"|'')"),e.innerHTML="<input type='hidden'/>",e.querySelectorAll(":enabled").length||i.push(":enabled",":disabled")}),i=new RegExp(i.join("|")),vt=function(e,r,s,o,u){if(!o&&!u&&!i.test(e)){var a,f,l=!0,c=d,h=r,p=r.nodeType===9&&e;if(r.nodeType===1&&r.nodeName.toLowerCase()!=="object"){a=ut(e),(l=r.getAttribute("id"))?c=l.replace(n,"\\$&"):r.setAttribute("id",c),c="[id='"+c+"'] ",f=a.length;while(f--)a[f]=c+a[f].join("");h=z.test(e)&&r.parentNode||r,p=a.join(",")}if(p)try{return S.apply(s,x.call(h.querySelectorAll(p),0)),s}catch(v){}finally{l||r.removeAttribute("id")}}return t(e,r,s,o,u)},u&&(K(function(t){e=u.call(t,"div");try{u.call(t,"[test!='']:sizzle"),s.push("!=",H)}catch(n){}}),s=new RegExp(s.join("|")),nt.matchesSelector=function(t,n){n=n.replace(r,"='$1']");if(!o(t)&&!s.test(n)&&!i.test(n))try{var a=u.call(t,n);if(a||e||t.document&&t.document.nodeType!==11)return a}catch(f){}return nt(n,null,null,[t]).length>0})}(),i.pseudos.nth=i.pseudos.eq,i.filters=mt.prototype=i.pseudos,i.setFilters=new mt,nt.attr=v.attr,v.find=nt,v.expr=nt.selectors,v.expr[":"]=v.expr.pseudos,v.unique=nt.uniqueSort,v.text=nt.getText,v.isXMLDoc=nt.isXML,v.contains=nt.contains}(e);var nt=/Until$/,rt=/^(?:parents|prev(?:Until|All))/,it=/^.[^:#\[\.,]*$/,st=v.expr.match.needsContext,ot={children:!0,contents:!0,next:!0,prev:!0};v.fn.extend({find:function(e){var t,n,r,i,s,o,u=this;if(typeof e!="string")return v(e).filter(function(){for(t=0,n=u.length;t<n;t++)if(v.contains(u[t],this))return!0});o=this.pushStack("","find",e);for(t=0,n=this.length;t<n;t++){r=o.length,v.find(e,this[t],o);if(t>0)for(i=r;i<o.length;i++)for(s=0;s<r;s++)if(o[s]===o[i]){o.splice(i--,1);break}}return o},has:function(e){var t,n=v(e,this),r=n.length;return this.filter(function(){for(t=0;t<r;t++)if(v.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(ft(this,e,!1),"not",e)},filter:function(e){return this.pushStack(ft(this,e,!0),"filter",e)},is:function(e){return!!e&&(typeof e=="string"?st.test(e)?v(e,this.context).index(this[0])>=0:v.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,r=0,i=this.length,s=[],o=st.test(e)||typeof e!="string"?v(e,t||this.context):0;for(;r<i;r++){n=this[r];while(n&&n.ownerDocument&&n!==t&&n.nodeType!==11){if(o?o.index(n)>-1:v.find.matchesSelector(n,e)){s.push(n);break}n=n.parentNode}}return s=s.length>1?v.unique(s):s,this.pushStack(s,"closest",e)},index:function(e){return e?typeof e=="string"?v.inArray(this[0],v(e)):v.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){var n=typeof e=="string"?v(e,t):v.makeArray(e&&e.nodeType?[e]:e),r=v.merge(this.get(),n);return this.pushStack(ut(n[0])||ut(r[0])?r:v.unique(r))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}}),v.fn.andSelf=v.fn.addBack,v.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return v.dir(e,"parentNode")},parentsUntil:function(e,t,n){return v.dir(e,"parentNode",n)},next:function(e){return at(e,"nextSibling")},prev:function(e){return at(e,"previousSibling")},nextAll:function(e){return v.dir(e,"nextSibling")},prevAll:function(e){return v.dir(e,"previousSibling")},nextUntil:function(e,t,n){return v.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return v.dir(e,"previousSibling",n)},siblings:function(e){return v.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return v.sibling(e.firstChild)},contents:function(e){return v.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:v.merge([],e.childNodes)}},function(e,t){v.fn[e]=function(n,r){var i=v.map(this,t,n);return nt.test(e)||(r=n),r&&typeof r=="string"&&(i=v.filter(r,i)),i=this.length>1&&!ot[e]?v.unique(i):i,this.length>1&&rt.test(e)&&(i=i.reverse()),this.pushStack(i,e,l.call(arguments).join(","))}}),v.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),t.length===1?v.find.matchesSelector(t[0],e)?[t[0]]:[]:v.find.matches(e,t)},dir:function(e,n,r){var i=[],s=e[n];while(s&&s.nodeType!==9&&(r===t||s.nodeType!==1||!v(s).is(r)))s.nodeType===1&&i.push(s),s=s[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}});var ct="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ht=/ jQuery\d+="(?:null|\d+)"/g,pt=/^\s+/,dt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,vt=/<([\w:]+)/,mt=/<tbody/i,gt=/<|&#?\w+;/,yt=/<(?:script|style|link)/i,bt=/<(?:script|object|embed|option|style)/i,wt=new RegExp("<(?:"+ct+")[\\s/>]","i"),Et=/^(?:checkbox|radio)$/,St=/checked\s*(?:[^=]|=\s*.checked.)/i,xt=/\/(java|ecma)script/i,Tt=/^\s*<!(?:\[CDATA\[|\-\-)|[\]\-]{2}>\s*$/g,Nt={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},Ct=lt(i),kt=Ct.appendChild(i.createElement("div"));Nt.optgroup=Nt.option,Nt.tbody=Nt.tfoot=Nt.colgroup=Nt.caption=Nt.thead,Nt.th=Nt.td,v.support.htmlSerialize||(Nt._default=[1,"X<div>","</div>"]),v.fn.extend({text:function(e){return v.access(this,function(e){return e===t?v.text(this):this.empty().append((this[0]&&this[0].ownerDocument||i).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(v.isFunction(e))return this.each(function(t){v(this).wrapAll(e.call(this,t))});if(this[0]){var t=v(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&e.firstChild.nodeType===1)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return v.isFunction(e)?this.each(function(t){v(this).wrapInner(e.call(this,t))}):this.each(function(){var t=v(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=v.isFunction(e);return this.each(function(n){v(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){v.nodeName(this,"body")||v(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(e,this.firstChild)})},before:function(){if(!ut(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(e,this),"before",this.selector)}},after:function(){if(!ut(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(this,e),"after",this.selector)}},remove:function(e,t){var n,r=0;for(;(n=this[r])!=null;r++)if(!e||v.filter(e,[n]).length)!t&&n.nodeType===1&&(v.cleanData(n.getElementsByTagName("*")),v.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n);return this},empty:function(){var e,t=0;for(;(e=this[t])!=null;t++){e.nodeType===1&&v.cleanData(e.getElementsByTagName("*"));while(e.firstChild)e.removeChild(e.firstChild)}return this},clone:function(e,t){return e=e==null?!1:e,t=t==null?e:t,this.map(function(){return v.clone(this,e,t)})},html:function(e){return v.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return n.nodeType===1?n.innerHTML.replace(ht,""):t;if(typeof e=="string"&&!yt.test(e)&&(v.support.htmlSerialize||!wt.test(e))&&(v.support.leadingWhitespace||!pt.test(e))&&!Nt[(vt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(dt,"<$1></$2>");try{for(;r<i;r++)n=this[r]||{},n.nodeType===1&&(v.cleanData(n.getElementsByTagName("*")),n.innerHTML=e);n=0}catch(s){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(e){return ut(this[0])?this.length?this.pushStack(v(v.isFunction(e)?e():e),"replaceWith",e):this:v.isFunction(e)?this.each(function(t){var n=v(this),r=n.html();n.replaceWith(e.call(this,t,r))}):(typeof e!="string"&&(e=v(e).detach()),this.each(function(){var t=this.nextSibling,n=this.parentNode;v(this).remove(),t?v(t).before(e):v(n).append(e)}))},detach:function(e){return this.remove(e,!0)},domManip:function(e,n,r){e=[].concat.apply([],e);var i,s,o,u,a=0,f=e[0],l=[],c=this.length;if(!v.support.checkClone&&c>1&&typeof f=="string"&&St.test(f))return this.each(function(){v(this).domManip(e,n,r)});if(v.isFunction(f))return this.each(function(i){var s=v(this);e[0]=f.call(this,i,n?s.html():t),s.domManip(e,n,r)});if(this[0]){i=v.buildFragment(e,this,l),o=i.fragment,s=o.firstChild,o.childNodes.length===1&&(o=s);if(s){n=n&&v.nodeName(s,"tr");for(u=i.cacheable||c-1;a<c;a++)r.call(n&&v.nodeName(this[a],"table")?Lt(this[a],"tbody"):this[a],a===u?o:v.clone(o,!0,!0))}o=s=null,l.length&&v.each(l,function(e,t){t.src?v.ajax?v.ajax({url:t.src,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0}):v.error("no ajax"):v.globalEval((t.text||t.textContent||t.innerHTML||"").replace(Tt,"")),t.parentNode&&t.parentNode.removeChild(t)})}return this}}),v.buildFragment=function(e,n,r){var s,o,u,a=e[0];return n=n||i,n=!n.nodeType&&n[0]||n,n=n.ownerDocument||n,e.length===1&&typeof a=="string"&&a.length<512&&n===i&&a.charAt(0)==="<"&&!bt.test(a)&&(v.support.checkClone||!St.test(a))&&(v.support.html5Clone||!wt.test(a))&&(o=!0,s=v.fragments[a],u=s!==t),s||(s=n.createDocumentFragment(),v.clean(e,n,s,r),o&&(v.fragments[a]=u&&s)),{fragment:s,cacheable:o}},v.fragments={},v.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){v.fn[e]=function(n){var r,i=0,s=[],o=v(n),u=o.length,a=this.length===1&&this[0].parentNode;if((a==null||a&&a.nodeType===11&&a.childNodes.length===1)&&u===1)return o[t](this[0]),this;for(;i<u;i++)r=(i>0?this.clone(!0):this).get(),v(o[i])[t](r),s=s.concat(r);return this.pushStack(s,e,o.selector)}}),v.extend({clone:function(e,t,n){var r,i,s,o;v.support.html5Clone||v.isXMLDoc(e)||!wt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(kt.innerHTML=e.outerHTML,kt.removeChild(o=kt.firstChild));if((!v.support.noCloneEvent||!v.support.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!v.isXMLDoc(e)){Ot(e,o),r=Mt(e),i=Mt(o);for(s=0;r[s];++s)i[s]&&Ot(r[s],i[s])}if(t){At(e,o);if(n){r=Mt(e),i=Mt(o);for(s=0;r[s];++s)At(r[s],i[s])}}return r=i=null,o},clean:function(e,t,n,r){var s,o,u,a,f,l,c,h,p,d,m,g,y=t===i&&Ct,b=[];if(!t||typeof t.createDocumentFragment=="undefined")t=i;for(s=0;(u=e[s])!=null;s++){typeof u=="number"&&(u+="");if(!u)continue;if(typeof u=="string")if(!gt.test(u))u=t.createTextNode(u);else{y=y||lt(t),c=t.createElement("div"),y.appendChild(c),u=u.replace(dt,"<$1></$2>"),a=(vt.exec(u)||["",""])[1].toLowerCase(),f=Nt[a]||Nt._default,l=f[0],c.innerHTML=f[1]+u+f[2];while(l--)c=c.lastChild;if(!v.support.tbody){h=mt.test(u),p=a==="table"&&!h?c.firstChild&&c.firstChild.childNodes:f[1]==="<table>"&&!h?c.childNodes:[];for(o=p.length-1;o>=0;--o)v.nodeName(p[o],"tbody")&&!p[o].childNodes.length&&p[o].parentNode.removeChild(p[o])}!v.support.leadingWhitespace&&pt.test(u)&&c.insertBefore(t.createTextNode(pt.exec(u)[0]),c.firstChild),u=c.childNodes,c.parentNode.removeChild(c)}u.nodeType?b.push(u):v.merge(b,u)}c&&(u=c=y=null);if(!v.support.appendChecked)for(s=0;(u=b[s])!=null;s++)v.nodeName(u,"input")?_t(u):typeof u.getElementsByTagName!="undefined"&&v.grep(u.getElementsByTagName("input"),_t);if(n){m=function(e){if(!e.type||xt.test(e.type))return r?r.push(e.parentNode?e.parentNode.removeChild(e):e):n.appendChild(e)};for(s=0;(u=b[s])!=null;s++)if(!v.nodeName(u,"script")||!m(u))n.appendChild(u),typeof u.getElementsByTagName!="undefined"&&(g=v.grep(v.merge([],u.getElementsByTagName("script")),m),b.splice.apply(b,[s+1,0].concat(g)),s+=g.length)}return b},cleanData:function(e,t){var n,r,i,s,o=0,u=v.expando,a=v.cache,f=v.support.deleteExpando,l=v.event.special;for(;(i=e[o])!=null;o++)if(t||v.acceptData(i)){r=i[u],n=r&&a[r];if(n){if(n.events)for(s in n.events)l[s]?v.event.remove(i,s):v.removeEvent(i,s,n.handle);a[r]&&(delete a[r],f?delete i[u]:i.removeAttribute?i.removeAttribute(u):i[u]=null,v.deletedIds.push(r))}}}}),function(){var e,t;v.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e=v.uaMatch(o.userAgent),t={},e.browser&&(t[e.browser]=!0,t.version=e.version),t.chrome?t.webkit=!0:t.webkit&&(t.safari=!0),v.browser=t,v.sub=function(){function e(t,n){return new e.fn.init(t,n)}v.extend(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.sub=this.sub,e.fn.init=function(r,i){return i&&i instanceof v&&!(i instanceof e)&&(i=e(i)),v.fn.init.call(this,r,i,t)},e.fn.init.prototype=e.fn;var t=e(i);return e}}();var Dt,Pt,Ht,Bt=/alpha\([^)]*\)/i,jt=/opacity=([^)]*)/,Ft=/^(top|right|bottom|left)$/,It=/^(none|table(?!-c[ea]).+)/,qt=/^margin/,Rt=new RegExp("^("+m+")(.*)$","i"),Ut=new RegExp("^("+m+")(?!px)[a-z%]+$","i"),zt=new RegExp("^([-+])=("+m+")","i"),Wt={BODY:"block"},Xt={position:"absolute",visibility:"hidden",display:"block"},Vt={letterSpacing:0,fontWeight:400},$t=["Top","Right","Bottom","Left"],Jt=["Webkit","O","Moz","ms"],Kt=v.fn.toggle;v.fn.extend({css:function(e,n){return v.access(this,function(e,n,r){return r!==t?v.style(e,n,r):v.css(e,n)},e,n,arguments.length>1)},show:function(){return Yt(this,!0)},hide:function(){return Yt(this)},toggle:function(e,t){var n=typeof e=="boolean";return v.isFunction(e)&&v.isFunction(t)?Kt.apply(this,arguments):this.each(function(){(n?e:Gt(this))?v(this).show():v(this).hide()})}}),v.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Dt(e,"opacity");return n===""?"1":n}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":v.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(!e||e.nodeType===3||e.nodeType===8||!e.style)return;var s,o,u,a=v.camelCase(n),f=e.style;n=v.cssProps[a]||(v.cssProps[a]=Qt(f,a)),u=v.cssHooks[n]||v.cssHooks[a];if(r===t)return u&&"get"in u&&(s=u.get(e,!1,i))!==t?s:f[n];o=typeof r,o==="string"&&(s=zt.exec(r))&&(r=(s[1]+1)*s[2]+parseFloat(v.css(e,n)),o="number");if(r==null||o==="number"&&isNaN(r))return;o==="number"&&!v.cssNumber[a]&&(r+="px");if(!u||!("set"in u)||(r=u.set(e,r,i))!==t)try{f[n]=r}catch(l){}},css:function(e,n,r,i){var s,o,u,a=v.camelCase(n);return n=v.cssProps[a]||(v.cssProps[a]=Qt(e.style,a)),u=v.cssHooks[n]||v.cssHooks[a],u&&"get"in u&&(s=u.get(e,!0,i)),s===t&&(s=Dt(e,n)),s==="normal"&&n in Vt&&(s=Vt[n]),r||i!==t?(o=parseFloat(s),r||v.isNumeric(o)?o||0:s):s},swap:function(e,t,n){var r,i,s={};for(i in t)s[i]=e.style[i],e.style[i]=t[i];r=n.call(e);for(i in t)e.style[i]=s[i];return r}}),e.getComputedStyle?Dt=function(t,n){var r,i,s,o,u=e.getComputedStyle(t,null),a=t.style;return u&&(r=u.getPropertyValue(n)||u[n],r===""&&!v.contains(t.ownerDocument,t)&&(r=v.style(t,n)),Ut.test(r)&&qt.test(n)&&(i=a.width,s=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=r,r=u.width,a.width=i,a.minWidth=s,a.maxWidth=o)),r}:i.documentElement.currentStyle&&(Dt=function(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],s=e.style;return i==null&&s&&s[t]&&(i=s[t]),Ut.test(i)&&!Ft.test(t)&&(n=s.left,r=e.runtimeStyle&&e.runtimeStyle.left,r&&(e.runtimeStyle.left=e.currentStyle.left),s.left=t==="fontSize"?"1em":i,i=s.pixelLeft+"px",s.left=n,r&&(e.runtimeStyle.left=r)),i===""?"auto":i}),v.each(["height","width"],function(e,t){v.cssHooks[t]={get:function(e,n,r){if(n)return e.offsetWidth===0&&It.test(Dt(e,"display"))?v.swap(e,Xt,function(){return tn(e,t,r)}):tn(e,t,r)},set:function(e,n,r){return Zt(e,n,r?en(e,t,r,v.support.boxSizing&&v.css(e,"boxSizing")==="border-box"):0)}}}),v.support.opacity||(v.cssHooks.opacity={get:function(e,t){return jt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=v.isNumeric(t)?"alpha(opacity="+t*100+")":"",s=r&&r.filter||n.filter||"";n.zoom=1;if(t>=1&&v.trim(s.replace(Bt,""))===""&&n.removeAttribute){n.removeAttribute("filter");if(r&&!r.filter)return}n.filter=Bt.test(s)?s.replace(Bt,i):s+" "+i}}),v(function(){v.support.reliableMarginRight||(v.cssHooks.marginRight={get:function(e,t){return v.swap(e,{display:"inline-block"},function(){if(t)return Dt(e,"marginRight")})}}),!v.support.pixelPosition&&v.fn.position&&v.each(["top","left"],function(e,t){v.cssHooks[t]={get:function(e,n){if(n){var r=Dt(e,t);return Ut.test(r)?v(e).position()[t]+"px":r}}}})}),v.expr&&v.expr.filters&&(v.expr.filters.hidden=function(e){return e.offsetWidth===0&&e.offsetHeight===0||!v.support.reliableHiddenOffsets&&(e.style&&e.style.display||Dt(e,"display"))==="none"},v.expr.filters.visible=function(e){return!v.expr.filters.hidden(e)}),v.each({margin:"",padding:"",border:"Width"},function(e,t){v.cssHooks[e+t]={expand:function(n){var r,i=typeof n=="string"?n.split(" "):[n],s={};for(r=0;r<4;r++)s[e+$t[r]+t]=i[r]||i[r-2]||i[0];return s}},qt.test(e)||(v.cssHooks[e+t].set=Zt)});var rn=/%20/g,sn=/\[\]$/,on=/\r?\n/g,un=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,an=/^(?:select|textarea)/i;v.fn.extend({serialize:function(){return v.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?v.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||an.test(this.nodeName)||un.test(this.type))}).map(function(e,t){var n=v(this).val();return n==null?null:v.isArray(n)?v.map(n,function(e,n){return{name:t.name,value:e.replace(on,"\r\n")}}):{name:t.name,value:n.replace(on,"\r\n")}}).get()}}),v.param=function(e,n){var r,i=[],s=function(e,t){t=v.isFunction(t)?t():t==null?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};n===t&&(n=v.ajaxSettings&&v.ajaxSettings.traditional);if(v.isArray(e)||e.jquery&&!v.isPlainObject(e))v.each(e,function(){s(this.name,this.value)});else for(r in e)fn(r,e[r],n,s);return i.join("&").replace(rn,"+")};var ln,cn,hn=/#.*$/,pn=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,dn=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,vn=/^(?:GET|HEAD)$/,mn=/^\/\//,gn=/\?/,yn=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bn=/([?&])_=[^&]*/,wn=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,En=v.fn.load,Sn={},xn={},Tn=["*/"]+["*"];try{cn=s.href}catch(Nn){cn=i.createElement("a"),cn.href="",cn=cn.href}ln=wn.exec(cn.toLowerCase())||[],v.fn.load=function(e,n,r){if(typeof e!="string"&&En)return En.apply(this,arguments);if(!this.length)return this;var i,s,o,u=this,a=e.indexOf(" ");return a>=0&&(i=e.slice(a,e.length),e=e.slice(0,a)),v.isFunction(n)?(r=n,n=t):n&&typeof n=="object"&&(s="POST"),v.ajax({url:e,type:s,dataType:"html",data:n,complete:function(e,t){r&&u.each(r,o||[e.responseText,t,e])}}).done(function(e){o=arguments,u.html(i?v("<div>").append(e.replace(yn,"")).find(i):e)}),this},v.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){v.fn[t]=function(e){return this.on(t,e)}}),v.each(["get","post"],function(e,n){v[n]=function(e,r,i,s){return v.isFunction(r)&&(s=s||i,i=r,r=t),v.ajax({type:n,url:e,data:r,success:i,dataType:s})}}),v.extend({getScript:function(e,n){return v.get(e,t,n,"script")},getJSON:function(e,t,n){return v.get(e,t,n,"json")},ajaxSetup:function(e,t){return t?Ln(e,v.ajaxSettings):(t=e,e=v.ajaxSettings),Ln(e,t),e},ajaxSettings:{url:cn,isLocal:dn.test(ln[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Tn},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":v.parseJSON,"text xml":v.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:Cn(Sn),ajaxTransport:Cn(xn),ajax:function(e,n){function T(e,n,s,a){var l,y,b,w,S,T=n;if(E===2)return;E=2,u&&clearTimeout(u),o=t,i=a||"",x.readyState=e>0?4:0,s&&(w=An(c,x,s));if(e>=200&&e<300||e===304)c.ifModified&&(S=x.getResponseHeader("Last-Modified"),S&&(v.lastModified[r]=S),S=x.getResponseHeader("Etag"),S&&(v.etag[r]=S)),e===304?(T="notmodified",l=!0):(l=On(c,w),T=l.state,y=l.data,b=l.error,l=!b);else{b=T;if(!T||e)T="error",e<0&&(e=0)}x.status=e,x.statusText=(n||T)+"",l?d.resolveWith(h,[y,T,x]):d.rejectWith(h,[x,T,b]),x.statusCode(g),g=t,f&&p.trigger("ajax"+(l?"Success":"Error"),[x,c,l?y:b]),m.fireWith(h,[x,T]),f&&(p.trigger("ajaxComplete",[x,c]),--v.active||v.event.trigger("ajaxStop"))}typeof e=="object"&&(n=e,e=t),n=n||{};var r,i,s,o,u,a,f,l,c=v.ajaxSetup({},n),h=c.context||c,p=h!==c&&(h.nodeType||h instanceof v)?v(h):v.event,d=v.Deferred(),m=v.Callbacks("once memory"),g=c.statusCode||{},b={},w={},E=0,S="canceled",x={readyState:0,setRequestHeader:function(e,t){if(!E){var n=e.toLowerCase();e=w[n]=w[n]||e,b[e]=t}return this},getAllResponseHeaders:function(){return E===2?i:null},getResponseHeader:function(e){var n;if(E===2){if(!s){s={};while(n=pn.exec(i))s[n[1].toLowerCase()]=n[2]}n=s[e.toLowerCase()]}return n===t?null:n},overrideMimeType:function(e){return E||(c.mimeType=e),this},abort:function(e){return e=e||S,o&&o.abort(e),T(0,e),this}};d.promise(x),x.success=x.done,x.error=x.fail,x.complete=m.add,x.statusCode=function(e){if(e){var t;if(E<2)for(t in e)g[t]=[g[t],e[t]];else t=e[x.status],x.always(t)}return this},c.url=((e||c.url)+"").replace(hn,"").replace(mn,ln[1]+"//"),c.dataTypes=v.trim(c.dataType||"*").toLowerCase().split(y),c.crossDomain==null&&(a=wn.exec(c.url.toLowerCase()),c.crossDomain=!(!a||a[1]===ln[1]&&a[2]===ln[2]&&(a[3]||(a[1]==="http:"?80:443))==(ln[3]||(ln[1]==="http:"?80:443)))),c.data&&c.processData&&typeof c.data!="string"&&(c.data=v.param(c.data,c.traditional)),kn(Sn,c,n,x);if(E===2)return x;f=c.global,c.type=c.type.toUpperCase(),c.hasContent=!vn.test(c.type),f&&v.active++===0&&v.event.trigger("ajaxStart");if(!c.hasContent){c.data&&(c.url+=(gn.test(c.url)?"&":"?")+c.data,delete c.data),r=c.url;if(c.cache===!1){var N=v.now(),C=c.url.replace(bn,"$1_="+N);c.url=C+(C===c.url?(gn.test(c.url)?"&":"?")+"_="+N:"")}}(c.data&&c.hasContent&&c.contentType!==!1||n.contentType)&&x.setRequestHeader("Content-Type",c.contentType),c.ifModified&&(r=r||c.url,v.lastModified[r]&&x.setRequestHeader("If-Modified-Since",v.lastModified[r]),v.etag[r]&&x.setRequestHeader("If-None-Match",v.etag[r])),x.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+(c.dataTypes[0]!=="*"?", "+Tn+"; q=0.01":""):c.accepts["*"]);for(l in c.headers)x.setRequestHeader(l,c.headers[l]);if(!c.beforeSend||c.beforeSend.call(h,x,c)!==!1&&E!==2){S="abort";for(l in{success:1,error:1,complete:1})x[l](c[l]);o=kn(xn,c,n,x);if(!o)T(-1,"No Transport");else{x.readyState=1,f&&p.trigger("ajaxSend",[x,c]),c.async&&c.timeout>0&&(u=setTimeout(function(){x.abort("timeout")},c.timeout));try{E=1,o.send(b,T)}catch(k){if(!(E<2))throw k;T(-1,k)}}return x}return x.abort()},active:0,lastModified:{},etag:{}});var Mn=[],_n=/\?/,Dn=/(=)\?(?=&|$)|\?\?/,Pn=v.now();v.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Mn.pop()||v.expando+"_"+Pn++;return this[e]=!0,e}}),v.ajaxPrefilter("json jsonp",function(n,r,i){var s,o,u,a=n.data,f=n.url,l=n.jsonp!==!1,c=l&&Dn.test(f),h=l&&!c&&typeof a=="string"&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Dn.test(a);if(n.dataTypes[0]==="jsonp"||c||h)return s=n.jsonpCallback=v.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,o=e[s],c?n.url=f.replace(Dn,"$1"+s):h?n.data=a.replace(Dn,"$1"+s):l&&(n.url+=(_n.test(f)?"&":"?")+n.jsonp+"="+s),n.converters["script json"]=function(){return u||v.error(s+" was not called"),u[0]},n.dataTypes[0]="json",e[s]=function(){u=arguments},i.always(function(){e[s]=o,n[s]&&(n.jsonpCallback=r.jsonpCallback,Mn.push(s)),u&&v.isFunction(o)&&o(u[0]),u=o=t}),"script"}),v.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return v.globalEval(e),e}}}),v.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),v.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=i.head||i.getElementsByTagName("head")[0]||i.documentElement;return{send:function(s,o){n=i.createElement("script"),n.async="async",e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,i){if(i||!n.readyState||/loaded|complete/.test(n.readyState))n.onload=n.onreadystatechange=null,r&&n.parentNode&&r.removeChild(n),n=t,i||o(200,"success")},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var Hn,Bn=e.ActiveXObject?function(){for(var e in Hn)Hn[e](0,1)}:!1,jn=0;v.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&Fn()||In()}:Fn,function(e){v.extend(v.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(v.ajaxSettings.xhr()),v.support.ajax&&v.ajaxTransport(function(n){if(!n.crossDomain||v.support.cors){var r;return{send:function(i,s){var o,u,a=n.xhr();n.username?a.open(n.type,n.url,n.async,n.username,n.password):a.open(n.type,n.url,n.async);if(n.xhrFields)for(u in n.xhrFields)a[u]=n.xhrFields[u];n.mimeType&&a.overrideMimeType&&a.overrideMimeType(n.mimeType),!n.crossDomain&&!i["X-Requested-With"]&&(i["X-Requested-With"]="XMLHttpRequest");try{for(u in i)a.setRequestHeader(u,i[u])}catch(f){}a.send(n.hasContent&&n.data||null),r=function(e,i){var u,f,l,c,h;try{if(r&&(i||a.readyState===4)){r=t,o&&(a.onreadystatechange=v.noop,Bn&&delete Hn[o]);if(i)a.readyState!==4&&a.abort();else{u=a.status,l=a.getAllResponseHeaders(),c={},h=a.responseXML,h&&h.documentElement&&(c.xml=h);try{c.text=a.responseText}catch(p){}try{f=a.statusText}catch(p){f=""}!u&&n.isLocal&&!n.crossDomain?u=c.text?200:404:u===1223&&(u=204)}}}catch(d){i||s(-1,d)}c&&s(u,f,c,l)},n.async?a.readyState===4?setTimeout(r,0):(o=++jn,Bn&&(Hn||(Hn={},v(e).unload(Bn)),Hn[o]=r),a.onreadystatechange=r):r()},abort:function(){r&&r(0,1)}}}});var qn,Rn,Un=/^(?:toggle|show|hide)$/,zn=new RegExp("^(?:([-+])=|)("+m+")([a-z%]*)$","i"),Wn=/queueHooks$/,Xn=[Gn],Vn={"*":[function(e,t){var n,r,i=this.createTween(e,t),s=zn.exec(t),o=i.cur(),u=+o||0,a=1,f=20;if(s){n=+s[2],r=s[3]||(v.cssNumber[e]?"":"px");if(r!=="px"&&u){u=v.css(i.elem,e,!0)||n||1;do a=a||".5",u/=a,v.style(i.elem,e,u+r);while(a!==(a=i.cur()/o)&&a!==1&&--f)}i.unit=r,i.start=u,i.end=s[1]?u+(s[1]+1)*n:n}return i}]};v.Animation=v.extend(Kn,{tweener:function(e,t){v.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;r<i;r++)n=e[r],Vn[n]=Vn[n]||[],Vn[n].unshift(t)},prefilter:function(e,t){t?Xn.unshift(e):Xn.push(e)}}),v.Tween=Yn,Yn.prototype={constructor:Yn,init:function(e,t,n,r,i,s){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=s||(v.cssNumber[n]?"":"px")},cur:function(){var e=Yn.propHooks[this.prop];return e&&e.get?e.get(this):Yn.propHooks._default.get(this)},run:function(e){var t,n=Yn.propHooks[this.prop];return this.options.duration?this.pos=t=v.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Yn.propHooks._default.set(this),this}},Yn.prototype.init.prototype=Yn.prototype,Yn.propHooks={_default:{get:function(e){var t;return e.elem[e.prop]==null||!!e.elem.style&&e.elem.style[e.prop]!=null?(t=v.css(e.elem,e.prop,!1,""),!t||t==="auto"?0:t):e.elem[e.prop]},set:function(e){v.fx.step[e.prop]?v.fx.step[e.prop](e):e.elem.style&&(e.elem.style[v.cssProps[e.prop]]!=null||v.cssHooks[e.prop])?v.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},Yn.propHooks.scrollTop=Yn.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},v.each(["toggle","show","hide"],function(e,t){var n=v.fn[t];v.fn[t]=function(r,i,s){return r==null||typeof r=="boolean"||!e&&v.isFunction(r)&&v.isFunction(i)?n.apply(this,arguments):this.animate(Zn(t,!0),r,i,s)}}),v.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Gt).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=v.isEmptyObject(e),s=v.speed(t,n,r),o=function(){var t=Kn(this,v.extend({},e),s);i&&t.stop(!0)};return i||s.queue===!1?this.each(o):this.queue(s.queue,o)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return typeof e!="string"&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=e!=null&&e+"queueHooks",s=v.timers,o=v._data(this);if(n)o[n]&&o[n].stop&&i(o[n]);else for(n in o)o[n]&&o[n].stop&&Wn.test(n)&&i(o[n]);for(n=s.length;n--;)s[n].elem===this&&(e==null||s[n].queue===e)&&(s[n].anim.stop(r),t=!1,s.splice(n,1));(t||!r)&&v.dequeue(this,e)})}}),v.each({slideDown:Zn("show"),slideUp:Zn("hide"),slideToggle:Zn("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){v.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),v.speed=function(e,t,n){var r=e&&typeof e=="object"?v.extend({},e):{complete:n||!n&&t||v.isFunction(e)&&e,duration:e,easing:n&&t||t&&!v.isFunction(t)&&t};r.duration=v.fx.off?0:typeof r.duration=="number"?r.duration:r.duration in v.fx.speeds?v.fx.speeds[r.duration]:v.fx.speeds._default;if(r.queue==null||r.queue===!0)r.queue="fx";return r.old=r.complete,r.complete=function(){v.isFunction(r.old)&&r.old.call(this),r.queue&&v.dequeue(this,r.queue)},r},v.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},v.timers=[],v.fx=Yn.prototype.init,v.fx.tick=function(){var e,n=v.timers,r=0;qn=v.now();for(;r<n.length;r++)e=n[r],!e()&&n[r]===e&&n.splice(r--,1);n.length||v.fx.stop(),qn=t},v.fx.timer=function(e){e()&&v.timers.push(e)&&!Rn&&(Rn=setInterval(v.fx.tick,v.fx.interval))},v.fx.interval=13,v.fx.stop=function(){clearInterval(Rn),Rn=null},v.fx.speeds={slow:600,fast:200,_default:400},v.fx.step={},v.expr&&v.expr.filters&&(v.expr.filters.animated=function(e){return v.grep(v.timers,function(t){return e===t.elem}).length});var er=/^(?:body|html)$/i;v.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){v.offset.setOffset(this,e,t)});var n,r,i,s,o,u,a,f={top:0,left:0},l=this[0],c=l&&l.ownerDocument;if(!c)return;return(r=c.body)===l?v.offset.bodyOffset(l):(n=c.documentElement,v.contains(n,l)?(typeof l.getBoundingClientRect!="undefined"&&(f=l.getBoundingClientRect()),i=tr(c),s=n.clientTop||r.clientTop||0,o=n.clientLeft||r.clientLeft||0,u=i.pageYOffset||n.scrollTop,a=i.pageXOffset||n.scrollLeft,{top:f.top+u-s,left:f.left+a-o}):f)},v.offset={bodyOffset:function(e){var t=e.offsetTop,n=e.offsetLeft;return v.support.doesNotIncludeMarginInBodyOffset&&(t+=parseFloat(v.css(e,"marginTop"))||0,n+=parseFloat(v.css(e,"marginLeft"))||0),{top:t,left:n}},setOffset:function(e,t,n){var r=v.css(e,"position");r==="static"&&(e.style.position="relative");var i=v(e),s=i.offset(),o=v.css(e,"top"),u=v.css(e,"left"),a=(r==="absolute"||r==="fixed")&&v.inArray("auto",[o,u])>-1,f={},l={},c,h;a?(l=i.position(),c=l.top,h=l.left):(c=parseFloat(o)||0,h=parseFloat(u)||0),v.isFunction(t)&&(t=t.call(e,n,s)),t.top!=null&&(f.top=t.top-s.top+c),t.left!=null&&(f.left=t.left-s.left+h),"using"in t?t.using.call(e,f):i.css(f)}},v.fn.extend({position:function(){if(!this[0])return;var e=this[0],t=this.offsetParent(),n=this.offset(),r=er.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(v.css(e,"marginTop"))||0,n.left-=parseFloat(v.css(e,"marginLeft"))||0,r.top+=parseFloat(v.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(v.css(t[0],"borderLeftWidth"))||0,{top:n.top-r.top,left:n.left-r.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||i.body;while(e&&!er.test(e.nodeName)&&v.css(e,"position")==="static")e=e.offsetParent;return e||i.body})}}),v.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);v.fn[e]=function(i){return v.access(this,function(e,i,s){var o=tr(e);if(s===t)return o?n in o?o[n]:o.document.documentElement[i]:e[i];o?o.scrollTo(r?v(o).scrollLeft():s,r?s:v(o).scrollTop()):e[i]=s},e,i,arguments.length,null)}}),v.each({Height:"height",Width:"width"},function(e,n){v.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){v.fn[i]=function(i,s){var o=arguments.length&&(r||typeof i!="boolean"),u=r||(i===!0||s===!0?"margin":"border");return v.access(this,function(n,r,i){var s;return v.isWindow(n)?n.document.documentElement["client"+e]:n.nodeType===9?(s=n.documentElement,Math.max(n.body["scroll"+e],s["scroll"+e],n.body["offset"+e],s["offset"+e],s["client"+e])):i===t?v.css(n,r,i,u):v.style(n,r,i,u)},n,o?i:t,o,null)}})}),e.jQuery=e.$=v,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return v})})(window);
skin/frontend/default/default/js/nc.js ADDED
@@ -0,0 +1 @@
 
1
+ jQuery.noConflict();
skin/frontend/default/default/js/scripts/_notes/dwsync.xml ADDED
@@ -0,0 +1 @@
 
1
+ <?xml version="1.0" encoding="utf-8" ?>
skin/frontend/default/default/js/scripts/camera.js ADDED
@@ -0,0 +1,2268 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Camera slideshow v1.3.3 - a jQuery slideshow with many effects, transitions, easy to customize, using canvas and mobile ready, based on jQuery 1.4+
2
+ // Copyright (c) 2012 by Manuel Masia - www.pixedelic.com
3
+ // Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
4
+ ;(function($){$.fn.camera = function(opts, callback) {
5
+
6
+ var defaults = {
7
+ alignment : 'center', //topLeft, topCenter, topRight, centerLeft, center, centerRight, bottomLeft, bottomCenter, bottomRight
8
+
9
+ autoAdvance : true, //true, false
10
+
11
+ mobileAutoAdvance : true, //true, false. Auto-advancing for mobile devices
12
+
13
+ barDirection : 'leftToRight', //'leftToRight', 'rightToLeft', 'topToBottom', 'bottomToTop'
14
+
15
+ barPosition : 'bottom', //'bottom', 'left', 'top', 'right'
16
+
17
+ cols : 6,
18
+
19
+ easing : 'easeInOutExpo', //for the complete list http://jqueryui.com/demos/effect/easing.html
20
+
21
+ mobileEasing : '', //leave empty if you want to display the same easing on mobile devices and on desktop etc.
22
+
23
+ fx : 'random', //'random','simpleFade', 'curtainTopLeft', 'curtainTopRight', 'curtainBottomLeft', 'curtainBottomRight', 'curtainSliceLeft', 'curtainSliceRight', 'blindCurtainTopLeft', 'blindCurtainTopRight', 'blindCurtainBottomLeft', 'blindCurtainBottomRight', 'blindCurtainSliceBottom', 'blindCurtainSliceTop', 'stampede', 'mosaic', 'mosaicReverse', 'mosaicRandom', 'mosaicSpiral', 'mosaicSpiralReverse', 'topLeftBottomRight', 'bottomRightTopLeft', 'bottomLeftTopRight', 'bottomLeftTopRight'
24
+ //you can also use more than one effect, just separate them with commas: 'simpleFade, scrollRight, scrollBottom'
25
+
26
+ mobileFx : '', //leave empty if you want to display the same effect on mobile devices and on desktop etc.
27
+
28
+ gridDifference : 250, //to make the grid blocks slower than the slices, this value must be smaller than transPeriod
29
+
30
+ height : '50%', //here you can type pixels (for instance '300px'), a percentage (relative to the width of the slideshow, for instance '50%') or 'auto'
31
+
32
+ imagePath : 'images/', //he path to the image folder (it serves for the blank.gif, when you want to display videos)
33
+
34
+ hover : true, //true, false. Puase on state hover. Not available for mobile devices
35
+
36
+ loader : 'pie', //pie, bar, none (even if you choose "pie", old browsers like IE8- can't display it... they will display always a loading bar)
37
+
38
+ loaderColor : '#eeeeee',
39
+
40
+ loaderBgColor : '#222222',
41
+
42
+ loaderOpacity : .8, //0, .1, .2, .3, .4, .5, .6, .7, .8, .9, 1
43
+
44
+ loaderPadding : 2, //how many empty pixels you want to display between the loader and its background
45
+
46
+ loaderStroke : 7, //the thickness both of the pie loader and of the bar loader. Remember: for the pie, the loader thickness must be less than a half of the pie diameter
47
+
48
+ minHeight : '200px', //you can also leave it blank
49
+
50
+ navigation : true, //true or false, to display or not the navigation buttons
51
+
52
+ navigationHover : true, //if true the navigation button (prev, next and play/stop buttons) will be visible on hover state only, if false they will be visible always
53
+
54
+ mobileNavHover : true, //same as above, but only for mobile devices
55
+
56
+ opacityOnGrid : false, //true, false. Decide to apply a fade effect to blocks and slices: if your slideshow is fullscreen or simply big, I recommend to set it false to have a smoother effect
57
+
58
+ overlayer : true, //a layer on the images to prevent the users grab them simply by clicking the right button of their mouse (.camera_overlayer)
59
+
60
+ pagination : true,
61
+
62
+ playPause : true, //true or false, to display or not the play/pause buttons
63
+
64
+ pauseOnClick : true, //true, false. It stops the slideshow when you click the sliders.
65
+
66
+ pieDiameter : 38,
67
+
68
+ piePosition : 'rightTop', //'rightTop', 'leftTop', 'leftBottom', 'rightBottom'
69
+
70
+ portrait : false, //true, false. Select true if you don't want that your images are cropped
71
+
72
+ rows : 4,
73
+
74
+ slicedCols : 12, //if 0 the same value of cols
75
+
76
+ slicedRows : 8, //if 0 the same value of rows
77
+
78
+ slideOn : 'random', //next, prev, random: decide if the transition effect will be applied to the current (prev) or the next slide
79
+
80
+ thumbnails : false,
81
+
82
+ time : 7000, //milliseconds between the end of the sliding effect and the start of the nex one
83
+
84
+ transPeriod : 1500, //lenght of the sliding effect in milliseconds
85
+
86
+ ////////callbacks
87
+
88
+ onEndTransition : function() { }, //this callback is invoked when the transition effect ends
89
+
90
+ onLoaded : function() { }, //this callback is invoked when the image on a slide has completely loaded
91
+
92
+ onStartLoading : function() { }, //this callback is invoked when the image on a slide start loading
93
+
94
+ onStartTransition : function() { } //this callback is invoked when the transition effect starts
95
+
96
+ };
97
+
98
+
99
+ function isMobile() {
100
+ if( navigator.userAgent.match(/Android/i) ||
101
+ navigator.userAgent.match(/webOS/i) ||
102
+ navigator.userAgent.match(/iPad/i) ||
103
+ navigator.userAgent.match(/iPhone/i) ||
104
+ navigator.userAgent.match(/iPod/i)
105
+ ){
106
+ return true;
107
+ }
108
+ }
109
+
110
+ var opts = $.extend({}, defaults, opts);
111
+
112
+ var wrap = $(this).addClass('camera_wrap');
113
+
114
+ wrap.wrapInner(
115
+ '<div class="camera_src" />'
116
+ ).wrapInner(
117
+ '<div class="camera_fakehover" />'
118
+ );
119
+
120
+ var fakeHover = $('.camera_fakehover',wrap);
121
+
122
+ fakeHover.append(
123
+ '<div class="camera_target"></div>'
124
+ );
125
+ if(opts.overlayer == true){
126
+ fakeHover.append(
127
+ '<div class="camera_overlayer"></div>'
128
+ )
129
+ }
130
+ fakeHover.append(
131
+ '<div class="camera_target_content"></div>'
132
+ );
133
+
134
+ var loader;
135
+
136
+ if(opts.loader=='pie' && $.browser.msie && $.browser.version < 9){
137
+ loader = 'bar';
138
+ } else {
139
+ loader = opts.loader;
140
+ }
141
+
142
+ if(loader == 'pie'){
143
+ fakeHover.append(
144
+ '<div class="camera_pie"></div>'
145
+ )
146
+ } else if (loader == 'bar') {
147
+ fakeHover.append(
148
+ '<div class="camera_bar"></div>'
149
+ )
150
+ } else {
151
+ fakeHover.append(
152
+ '<div class="camera_bar" style="display:none"></div>'
153
+ )
154
+ }
155
+
156
+ if(opts.playPause==true){
157
+ fakeHover.append(
158
+ '<div class="camera_commands"></div>'
159
+ )
160
+ }
161
+
162
+ if(opts.navigation==true){
163
+ fakeHover.append(
164
+ '<div class="camera_prev"><span></span></div>'
165
+ ).append(
166
+ '<div class="camera_next"><span></span></div>'
167
+ );
168
+ }
169
+
170
+ if(opts.thumbnails==true){
171
+ wrap.append(
172
+ '<div class="camera_thumbs_cont" />'
173
+ );
174
+ }
175
+
176
+ if(opts.thumbnails==true && opts.pagination!=true){
177
+ $('.camera_thumbs_cont',wrap).wrap(
178
+ '<div />'
179
+ ).wrap(
180
+ '<div class="camera_thumbs" />'
181
+ ).wrap(
182
+ '<div />'
183
+ ).wrap(
184
+ '<div class="camera_command_wrap" />'
185
+ );
186
+ }
187
+
188
+ if(opts.pagination==true){
189
+ wrap.append(
190
+ '<div class="camera_pag"></div>'
191
+ );
192
+ }
193
+
194
+ wrap.append(
195
+ '<div class="camera_loader"></div>'
196
+ );
197
+
198
+ $('.camera_caption',wrap).each(function(){
199
+ $(this).wrapInner('<div />');
200
+ });
201
+
202
+
203
+ var pieID = 'pie_'+wrap.index(),
204
+ elem = $('.camera_src',wrap),
205
+ target = $('.camera_target',wrap),
206
+ content = $('.camera_target_content',wrap),
207
+ pieContainer = $('.camera_pie',wrap),
208
+ barContainer = $('.camera_bar',wrap),
209
+ prevNav = $('.camera_prev',wrap),
210
+ nextNav = $('.camera_next',wrap),
211
+ commands = $('.camera_commands',wrap),
212
+ pagination = $('.camera_pag',wrap),
213
+ thumbs = $('.camera_thumbs_cont',wrap);
214
+
215
+
216
+ var w,
217
+ h;
218
+
219
+
220
+ var allImg = new Array();
221
+ $('> div', elem).each( function() {
222
+ allImg.push($(this).attr('data-src'));
223
+ });
224
+
225
+ var allLinks = new Array();
226
+ $('> div', elem).each( function() {
227
+ if($(this).attr('data-link')){
228
+ allLinks.push($(this).attr('data-link'));
229
+ } else {
230
+ allLinks.push('');
231
+ }
232
+ });
233
+
234
+ var allTargets = new Array();
235
+ $('> div', elem).each( function() {
236
+ if($(this).attr('data-target')){
237
+ allTargets.push($(this).attr('data-target'));
238
+ } else {
239
+ allTargets.push('');
240
+ }
241
+ });
242
+
243
+ var allPor = new Array();
244
+ $('> div', elem).each( function() {
245
+ if($(this).attr('data-portrait')){
246
+ allPor.push($(this).attr('data-portrait'));
247
+ } else {
248
+ allPor.push('');
249
+ }
250
+ });
251
+
252
+ var allAlign= new Array();
253
+ $('> div', elem).each( function() {
254
+ if($(this).attr('data-alignment')){
255
+ allAlign.push($(this).attr('data-alignment'));
256
+ } else {
257
+ allAlign.push('');
258
+ }
259
+ });
260
+
261
+
262
+ var allThumbs = new Array();
263
+ $('> div', elem).each( function() {
264
+ if($(this).attr('data-thumb')){
265
+ allThumbs.push($(this).attr('data-thumb'));
266
+ } else {
267
+ allThumbs.push('');
268
+ }
269
+ });
270
+
271
+ var amountSlide = allImg.length;
272
+
273
+ $(content).append('<div class="cameraContents" />');
274
+ var loopMove;
275
+ for (loopMove=0;loopMove<amountSlide;loopMove++)
276
+ {
277
+ $('.cameraContents',content).append('<div class="cameraContent" />');
278
+ if(allLinks[loopMove]!=''){
279
+ //only for Wordpress plugin
280
+ var dataBox = $('> div ',elem).eq(loopMove).attr('data-box');
281
+ if(typeof dataBox !== 'undefined' && dataBox !== false && dataBox != '') {
282
+ dataBox = 'data-box="'+$('> div ',elem).eq(loopMove).attr('data-box')+'"';
283
+ } else {
284
+ dataBox = '';
285
+ }
286
+ //
287
+ $('.camera_target_content .cameraContent:eq('+loopMove+')',wrap).append('<a class="camera_link" href="'+allLinks[loopMove]+'" '+dataBox+' target="'+allTargets[loopMove]+'"></a>');
288
+ }
289
+
290
+ }
291
+ $('.camera_caption',wrap).each(function(){
292
+ var ind = $(this).parent().index(),
293
+ cont = wrap.find('.cameraContent').eq(ind);
294
+ $(this).appendTo(cont);
295
+ });
296
+
297
+ target.append('<div class="cameraCont" />');
298
+ var cameraCont = $('.cameraCont',wrap);
299
+
300
+
301
+
302
+ var loop;
303
+ for (loop=0;loop<amountSlide;loop++)
304
+ {
305
+ cameraCont.append('<div class="cameraSlide cameraSlide_'+loop+'" />');
306
+ var div = $('> div:eq('+loop+')',elem);
307
+ target.find('.cameraSlide_'+loop).clone(div);
308
+ }
309
+
310
+
311
+ function thumbnailVisible() {
312
+ var wTh = $(thumbs).width();
313
+ $('li', thumbs).removeClass('camera_visThumb');
314
+ $('li', thumbs).each(function(){
315
+ var pos = $(this).position(),
316
+ ulW = $('ul', thumbs).outerWidth(),
317
+ offUl = $('ul', thumbs).offset().left,
318
+ offDiv = $('> div',thumbs).offset().left,
319
+ ulLeft = offDiv-offUl;
320
+ if(ulLeft>0){
321
+ $('.camera_prevThumbs',camera_thumbs_wrap).removeClass('hideNav');
322
+ } else {
323
+ $('.camera_prevThumbs',camera_thumbs_wrap).addClass('hideNav');
324
+ }
325
+ if((ulW-ulLeft)>wTh){
326
+ $('.camera_nextThumbs',camera_thumbs_wrap).removeClass('hideNav');
327
+ } else {
328
+ $('.camera_nextThumbs',camera_thumbs_wrap).addClass('hideNav');
329
+ }
330
+ var left = pos.left,
331
+ right = pos.left+($(this).width());
332
+ if(right-ulLeft<=wTh && left-ulLeft>=0){
333
+ $(this).addClass('camera_visThumb');
334
+ }
335
+ });
336
+ }
337
+
338
+ $(window).bind('load resize pageshow',function(){
339
+ thumbnailPos();
340
+ thumbnailVisible();
341
+ });
342
+
343
+
344
+ cameraCont.append('<div class="cameraSlide cameraSlide_'+loop+'" />');
345
+
346
+
347
+ var started;
348
+
349
+ wrap.show();
350
+ var w = target.width();
351
+ var h = target.height();
352
+
353
+ var setPause;
354
+
355
+ $(window).bind('resize pageshow',function(){
356
+ if(started == true) {
357
+ resizeImage();
358
+ }
359
+ $('ul', thumbs).animate({'margin-top':0},0,thumbnailPos);
360
+ if(!elem.hasClass('paused')){
361
+ elem.addClass('paused');
362
+ if($('.camera_stop',camera_thumbs_wrap).length){
363
+ $('.camera_stop',camera_thumbs_wrap).hide()
364
+ $('.camera_play',camera_thumbs_wrap).show();
365
+ if(loader!='none'){
366
+ $('#'+pieID).hide();
367
+ }
368
+ } else {
369
+ if(loader!='none'){
370
+ $('#'+pieID).hide();
371
+ }
372
+ }
373
+ clearTimeout(setPause);
374
+ setPause = setTimeout(function(){
375
+ elem.removeClass('paused');
376
+ if($('.camera_play',camera_thumbs_wrap).length){
377
+ $('.camera_play',camera_thumbs_wrap).hide();
378
+ $('.camera_stop',camera_thumbs_wrap).show();
379
+ if(loader!='none'){
380
+ $('#'+pieID).fadeIn();
381
+ }
382
+ } else {
383
+ if(loader!='none'){
384
+ $('#'+pieID).fadeIn();
385
+ }
386
+ }
387
+ },1500);
388
+ }
389
+ });
390
+
391
+ function resizeImage(){
392
+ var res;
393
+ function resizeImageWork(){
394
+ w = wrap.width();
395
+ if(opts.height.indexOf('%')!=-1) {
396
+ var startH = Math.round(w / (100/parseFloat(opts.height)));
397
+ if(opts.minHeight != '' && startH < parseFloat(opts.minHeight)){
398
+ h = parseFloat(opts.minHeight);
399
+ } else {
400
+ h = startH;
401
+ }
402
+ wrap.css({height:h});
403
+ } else if (opts.height=='auto') {
404
+ h = wrap.height();
405
+ } else {
406
+ h = parseFloat(opts.height);
407
+ wrap.css({height:h});
408
+ }
409
+ $('.camerarelative',target).css({'width':w,'height':h});
410
+ $('.imgLoaded',target).each(function(){
411
+ var t = $(this),
412
+ wT = t.attr('width'),
413
+ hT = t.attr('height'),
414
+ imgLoadIn = t.index(),
415
+ mTop,
416
+ mLeft,
417
+ alignment = t.attr('data-alignment'),
418
+ portrait = t.attr('data-portrait');
419
+
420
+ if(typeof alignment === 'undefined' || alignment === false || alignment === ''){
421
+ alignment = opts.alignment;
422
+ }
423
+
424
+ if(typeof portrait === 'undefined' || portrait === false || portrait === ''){
425
+ portrait = opts.portrait;
426
+ }
427
+
428
+ if(portrait==false||portrait=='false'){
429
+ if((wT/hT)<(w/h)) {
430
+ var r = w / wT;
431
+ var d = (Math.abs(h - (hT*r)))*0.5;
432
+ switch(alignment){
433
+ case 'topLeft':
434
+ mTop = 0;
435
+ break;
436
+ case 'topCenter':
437
+ mTop = 0;
438
+ break;
439
+ case 'topRight':
440
+ mTop = 0;
441
+ break;
442
+ case 'centerLeft':
443
+ mTop = '-'+d+'px';
444
+ break;
445
+ case 'center':
446
+ mTop = '-'+d+'px';
447
+ break;
448
+ case 'centerRight':
449
+ mTop = '-'+d+'px';
450
+ break;
451
+ case 'bottomLeft':
452
+ mTop = '-'+d*2+'px';
453
+ break;
454
+ case 'bottomCenter':
455
+ mTop = '-'+d*2+'px';
456
+ break;
457
+ case 'bottomRight':
458
+ mTop = '-'+d*2+'px';
459
+ break;
460
+ }
461
+ t.css({
462
+ 'height' : hT*r,
463
+ 'margin-left' : 0,
464
+ 'margin-top' : mTop,
465
+ 'position' : 'absolute',
466
+ 'visibility' : 'visible',
467
+ 'width' : w
468
+ });
469
+ }
470
+ else {
471
+ var r = h / hT;
472
+ var d = (Math.abs(w - (wT*r)))*0.5;
473
+ switch(alignment){
474
+ case 'topLeft':
475
+ mLeft = 0;
476
+ break;
477
+ case 'topCenter':
478
+ mLeft = '-'+d+'px';
479
+ break;
480
+ case 'topRight':
481
+ mLeft = '-'+d*2+'px';
482
+ break;
483
+ case 'centerLeft':
484
+ mLeft = 0;
485
+ break;
486
+ case 'center':
487
+ mLeft = '-'+d+'px';
488
+ break;
489
+ case 'centerRight':
490
+ mLeft = '-'+d*2+'px';
491
+ break;
492
+ case 'bottomLeft':
493
+ mLeft = 0;
494
+ break;
495
+ case 'bottomCenter':
496
+ mLeft = '-'+d+'px';
497
+ break;
498
+ case 'bottomRight':
499
+ mLeft = '-'+d*2+'px';
500
+ break;
501
+ }
502
+ t.css({
503
+ 'height' : h,
504
+ 'margin-left' : mLeft,
505
+ 'margin-top' : 0,
506
+ 'position' : 'absolute',
507
+ 'visibility' : 'visible',
508
+ 'width' : wT*r
509
+ });
510
+ }
511
+ } else {
512
+ if((wT/hT)<(w/h)) {
513
+ var r = h / hT;
514
+ var d = (Math.abs(w - (wT*r)))*0.5;
515
+ switch(alignment){
516
+ case 'topLeft':
517
+ mLeft = 0;
518
+ break;
519
+ case 'topCenter':
520
+ mLeft = d+'px';
521
+ break;
522
+ case 'topRight':
523
+ mLeft = d*2+'px';
524
+ break;
525
+ case 'centerLeft':
526
+ mLeft = 0;
527
+ break;
528
+ case 'center':
529
+ mLeft = d+'px';
530
+ break;
531
+ case 'centerRight':
532
+ mLeft = d*2+'px';
533
+ break;
534
+ case 'bottomLeft':
535
+ mLeft = 0;
536
+ break;
537
+ case 'bottomCenter':
538
+ mLeft = d+'px';
539
+ break;
540
+ case 'bottomRight':
541
+ mLeft = d*2+'px';
542
+ break;
543
+ }
544
+ t.css({
545
+ 'height' : h,
546
+ 'margin-left' : mLeft,
547
+ 'margin-top' : 0,
548
+ 'position' : 'absolute',
549
+ 'visibility' : 'visible',
550
+ 'width' : wT*r
551
+ });
552
+ }
553
+ else {
554
+ var r = w / wT;
555
+ var d = (Math.abs(h - (hT*r)))*0.5;
556
+ switch(alignment){
557
+ case 'topLeft':
558
+ mTop = 0;
559
+ break;
560
+ case 'topCenter':
561
+ mTop = 0;
562
+ break;
563
+ case 'topRight':
564
+ mTop = 0;
565
+ break;
566
+ case 'centerLeft':
567
+ mTop = d+'px';
568
+ break;
569
+ case 'center':
570
+ mTop = d+'px';
571
+ break;
572
+ case 'centerRight':
573
+ mTop = d+'px';
574
+ break;
575
+ case 'bottomLeft':
576
+ mTop = d*2+'px';
577
+ break;
578
+ case 'bottomCenter':
579
+ mTop = d*2+'px';
580
+ break;
581
+ case 'bottomRight':
582
+ mTop = d*2+'px';
583
+ break;
584
+ }
585
+ t.css({
586
+ 'height' : hT*r,
587
+ 'margin-left' : 0,
588
+ 'margin-top' : mTop,
589
+ 'position' : 'absolute',
590
+ 'visibility' : 'visible',
591
+ 'width' : w
592
+ });
593
+ }
594
+ }
595
+ });
596
+ }
597
+ if (started == true) {
598
+ clearTimeout(res);
599
+ res = setTimeout(resizeImageWork,200);
600
+ } else {
601
+ resizeImageWork();
602
+ }
603
+
604
+ started = true;
605
+ }
606
+
607
+
608
+ var u,
609
+ setT;
610
+
611
+ var clickEv,
612
+ autoAdv,
613
+ navHover,
614
+ commands,
615
+ pagination;
616
+
617
+ var videoHover,
618
+ videoPresent;
619
+
620
+ if(isMobile() && opts.mobileAutoAdvance!=''){
621
+ autoAdv = opts.mobileAutoAdvance;
622
+ } else {
623
+ autoAdv = opts.autoAdvance;
624
+ }
625
+
626
+ if(autoAdv==false){
627
+ elem.addClass('paused');
628
+ }
629
+
630
+ if(isMobile() && opts.mobileNavHover!=''){
631
+ navHover = opts.mobileNavHover;
632
+ } else {
633
+ navHover = opts.navigationHover;
634
+ }
635
+
636
+ if(elem.length!=0){
637
+
638
+ var selector = $('.cameraSlide',target);
639
+ selector.wrapInner('<div class="camerarelative" />');
640
+
641
+ var navSlide;
642
+
643
+ var barDirection = opts.barDirection;
644
+
645
+ var camera_thumbs_wrap = wrap;
646
+
647
+
648
+ $('iframe',fakeHover).each(function(){
649
+ var t = $(this);
650
+ var src = t.attr('src');
651
+ t.attr('data-src',src);
652
+ var divInd = t.parent().index('.camera_src > div');
653
+ $('.camera_target_content .cameraContent:eq('+divInd+')',wrap).append(t);
654
+ });
655
+ function imgFake() {
656
+ $('iframe',fakeHover).each(function(){
657
+ $('.camera_caption',fakeHover).show();
658
+ var t = $(this);
659
+ var cloneSrc = t.attr('data-src');
660
+ t.attr('src',cloneSrc);
661
+ var imgFakeUrl = opts.imagePath+'blank.gif';
662
+ var imgFake = new Image();
663
+ imgFake.src = imgFakeUrl;
664
+ if(opts.height.indexOf('%')!=-1) {
665
+ var startH = Math.round(w / (100/parseFloat(opts.height)));
666
+ if(opts.minHeight != '' && startH < parseFloat(opts.minHeight)){
667
+ h = parseFloat(opts.minHeight);
668
+ } else {
669
+ h = startH;
670
+ }
671
+ } else if (opts.height=='auto') {
672
+ h = wrap.height();
673
+ } else {
674
+ h = parseFloat(opts.height);
675
+ }
676
+ t.after($(imgFake).attr({'class':'imgFake','width':w,'height':h}));
677
+ var clone = t.clone();
678
+ t.remove();
679
+ $(imgFake).bind('click',function(){
680
+ if($(this).css('position')=='absolute') {
681
+ $(this).remove();
682
+ if(cloneSrc.indexOf('vimeo') != -1 || cloneSrc.indexOf('youtube') != -1) {
683
+ if(cloneSrc.indexOf('?') != -1){
684
+ autoplay = '&autoplay=1';
685
+ } else {
686
+ autoplay = '?autoplay=1';
687
+ }
688
+ } else if(cloneSrc.indexOf('dailymotion') != -1) {
689
+ if(cloneSrc.indexOf('?') != -1){
690
+ autoplay = '&autoPlay=1';
691
+ } else {
692
+ autoplay = '?autoPlay=1';
693
+ }
694
+ }
695
+ clone.attr('src',cloneSrc+autoplay);
696
+ videoPresent = true;
697
+ } else {
698
+ $(this).css({position:'absolute',top:0,left:0,zIndex:10}).after(clone);
699
+ clone.css({position:'absolute',top:0,left:0,zIndex:9});
700
+ }
701
+ });
702
+ });
703
+ }
704
+
705
+ imgFake();
706
+
707
+
708
+ if(opts.hover==true){
709
+ if(!isMobile()){
710
+ fakeHover.hover(function(){
711
+ elem.addClass('hovered');
712
+ },function(){
713
+ elem.removeClass('hovered');
714
+ });
715
+ }
716
+ }
717
+
718
+ if(navHover==true){
719
+ $(prevNav,wrap).animate({opacity:0},0);
720
+ $(nextNav,wrap).animate({opacity:0},0);
721
+ $(commands,wrap).animate({opacity:0},0);
722
+ if(isMobile()){
723
+ fakeHover.live('vmouseover',function(){
724
+ $(prevNav,wrap).animate({opacity:1},200);
725
+ $(nextNav,wrap).animate({opacity:1},200);
726
+ $(commands,wrap).animate({opacity:1},200);
727
+ });
728
+ fakeHover.live('vmouseout',function(){
729
+ $(prevNav,wrap).delay(500).animate({opacity:0},200);
730
+ $(nextNav,wrap).delay(500).animate({opacity:0},200);
731
+ $(commands,wrap).delay(500).animate({opacity:0},200);
732
+ });
733
+ } else {
734
+ fakeHover.hover(function(){
735
+ $(prevNav,wrap).animate({opacity:1},200);
736
+ $(nextNav,wrap).animate({opacity:1},200);
737
+ $(commands,wrap).animate({opacity:1},200);
738
+ },function(){
739
+ $(prevNav,wrap).animate({opacity:0},200);
740
+ $(nextNav,wrap).animate({opacity:0},200);
741
+ $(commands,wrap).animate({opacity:0},200);
742
+ });
743
+ }
744
+ }
745
+
746
+
747
+ $('.camera_stop',camera_thumbs_wrap).live('click',function(){
748
+ autoAdv = false;
749
+ elem.addClass('paused');
750
+ if($('.camera_stop',camera_thumbs_wrap).length){
751
+ $('.camera_stop',camera_thumbs_wrap).hide()
752
+ $('.camera_play',camera_thumbs_wrap).show();
753
+ if(loader!='none'){
754
+ $('#'+pieID).hide();
755
+ }
756
+ } else {
757
+ if(loader!='none'){
758
+ $('#'+pieID).hide();
759
+ }
760
+ }
761
+ });
762
+
763
+ $('.camera_play',camera_thumbs_wrap).live('click',function(){
764
+ autoAdv = true;
765
+ elem.removeClass('paused');
766
+ if($('.camera_play',camera_thumbs_wrap).length){
767
+ $('.camera_play',camera_thumbs_wrap).hide();
768
+ $('.camera_stop',camera_thumbs_wrap).show();
769
+ if(loader!='none'){
770
+ $('#'+pieID).show();
771
+ }
772
+ } else {
773
+ if(loader!='none'){
774
+ $('#'+pieID).show();
775
+ }
776
+ }
777
+ });
778
+
779
+ if(opts.pauseOnClick==true){
780
+ $('.camera_target_content',fakeHover).mouseup(function(){
781
+ autoAdv = false;
782
+ elem.addClass('paused');
783
+ $('.camera_stop',camera_thumbs_wrap).hide()
784
+ $('.camera_play',camera_thumbs_wrap).show();
785
+ $('#'+pieID).hide();
786
+ });
787
+ }
788
+ $('.cameraContent, .imgFake',fakeHover).hover(function(){
789
+ videoHover = true;
790
+ },function(){
791
+ videoHover = false;
792
+ });
793
+
794
+ $('.cameraContent, .imgFake',fakeHover).bind('click',function(){
795
+ if(videoPresent == true && videoHover == true) {
796
+ autoAdv = false;
797
+ $('.camera_caption',fakeHover).hide();
798
+ elem.addClass('paused');
799
+ $('.camera_stop',camera_thumbs_wrap).hide()
800
+ $('.camera_play',camera_thumbs_wrap).show();
801
+ $('#'+pieID).hide();
802
+ }
803
+ });
804
+
805
+
806
+ }
807
+
808
+
809
+ function shuffle(arr) {
810
+ for(
811
+ var j, x, i = arr.length; i;
812
+ j = parseInt(Math.random() * i),
813
+ x = arr[--i], arr[i] = arr[j], arr[j] = x
814
+ );
815
+ return arr;
816
+ }
817
+
818
+ function isInteger(s) {
819
+ return Math.ceil(s) == Math.floor(s);
820
+ }
821
+
822
+ if (loader != 'pie') {
823
+ barContainer.append('<span class="camera_bar_cont" />');
824
+ $('.camera_bar_cont',barContainer)
825
+ .animate({opacity:opts.loaderOpacity},0)
826
+ .css({'position':'absolute', 'left':0, 'right':0, 'top':0, 'bottom':0, 'background-color':opts.loaderBgColor})
827
+ .append('<span id="'+pieID+'" />');
828
+ $('#'+pieID).animate({opacity:0},0);
829
+ var canvas = $('#'+pieID);
830
+ canvas.css({'position':'absolute', 'background-color':opts.loaderColor});
831
+ switch(opts.barPosition){
832
+ case 'left':
833
+ barContainer.css({right:'auto',width:opts.loaderStroke});
834
+ break;
835
+ case 'right':
836
+ barContainer.css({left:'auto',width:opts.loaderStroke});
837
+ break;
838
+ case 'top':
839
+ barContainer.css({bottom:'auto',height:opts.loaderStroke});
840
+ break;
841
+ case 'bottom':
842
+ barContainer.css({top:'auto',height:opts.loaderStroke});
843
+ break;
844
+ }
845
+ switch(barDirection){
846
+ case 'leftToRight':
847
+ canvas.css({'left':0, 'right':0, 'top':opts.loaderPadding, 'bottom':opts.loaderPadding});
848
+ break;
849
+ case 'rightToLeft':
850
+ canvas.css({'left':0, 'right':0, 'top':opts.loaderPadding, 'bottom':opts.loaderPadding});
851
+ break;
852
+ case 'topToBottom':
853
+ canvas.css({'left':opts.loaderPadding, 'right':opts.loaderPadding, 'top':0, 'bottom':0});
854
+ break;
855
+ case 'bottomToTop':
856
+ canvas.css({'left':opts.loaderPadding, 'right':opts.loaderPadding, 'top':0, 'bottom':0});
857
+ break;
858
+ }
859
+ } else {
860
+ pieContainer.append('<canvas id="'+pieID+'"></canvas>');
861
+ var G_vmlCanvasManager;
862
+ var canvas = document.getElementById(pieID);
863
+ canvas.setAttribute("width", opts.pieDiameter);
864
+ canvas.setAttribute("height", opts.pieDiameter);
865
+ var piePosition;
866
+ switch(opts.piePosition){
867
+ case 'leftTop' :
868
+ piePosition = 'left:0; top:0;';
869
+ break;
870
+ case 'rightTop' :
871
+ piePosition = 'right:0; top:0;';
872
+ break;
873
+ case 'leftBottom' :
874
+ piePosition = 'left:0; bottom:0;';
875
+ break;
876
+ case 'rightBottom' :
877
+ piePosition = 'right:0; bottom:0;';
878
+ break;
879
+ }
880
+ canvas.setAttribute("style", "position:absolute; z-index:1002; "+piePosition);
881
+ var rad;
882
+ var radNew;
883
+
884
+ if (canvas && canvas.getContext) {
885
+ var ctx = canvas.getContext("2d");
886
+ ctx.rotate(Math.PI*(3/2));
887
+ ctx.translate(-opts.pieDiameter,0);
888
+ }
889
+
890
+ }
891
+ if(loader=='none' || autoAdv==false) {
892
+ $('#'+pieID).hide();
893
+ $('.camera_canvas_wrap',camera_thumbs_wrap).hide();
894
+ }
895
+
896
+ if($(pagination).length) {
897
+ $(pagination).append('<ul class="camera_pag_ul" />');
898
+ var li;
899
+ for (li = 0; li < amountSlide; li++){
900
+ $('.camera_pag_ul',wrap).append('<li class="pag_nav_'+li+'" style="position:relative; z-index:1002"><span><span>'+li+'</span></span></li>');
901
+ }
902
+ $('.camera_pag_ul li',wrap).hover(function(){
903
+ $(this).addClass('camera_hover');
904
+ if($('.camera_thumb',this).length){
905
+ var wTh = $('.camera_thumb',this).outerWidth(),
906
+ hTh = $('.camera_thumb',this).outerHeight(),
907
+ wTt = $(this).outerWidth();
908
+ $('.camera_thumb',this).show().css({'top':'-'+hTh+'px','left':'-'+(wTh-wTt)/2+'px'}).animate({'opacity':1,'margin-top':'-3px'},200);
909
+ $('.thumb_arrow',this).show().animate({'opacity':1,'margin-top':'-3px'},200);
910
+ }
911
+ },function(){
912
+ $(this).removeClass('camera_hover');
913
+ $('.camera_thumb',this).animate({'margin-top':'-20px','opacity':0},200,function(){
914
+ $(this).css({marginTop:'5px'}).hide();
915
+ });
916
+ $('.thumb_arrow',this).animate({'margin-top':'-20px','opacity':0},200,function(){
917
+ $(this).css({marginTop:'5px'}).hide();
918
+ });
919
+ });
920
+ }
921
+
922
+
923
+
924
+ if($(thumbs).length) {
925
+ var thumbUrl;
926
+ if(!$(pagination).length) {
927
+ $(thumbs).append('<div />');
928
+ $(thumbs).before('<div class="camera_prevThumbs hideNav"><div></div></div>').before('<div class="camera_nextThumbs hideNav"><div></div></div>');
929
+ $('> div',thumbs).append('<ul />');
930
+ $.each(allThumbs, function(i, val) {
931
+ if($('> div', elem).eq(i).attr('data-thumb')!='') {
932
+ var thumbUrl = $('> div', elem).eq(i).attr('data-thumb'),
933
+ newImg = new Image();
934
+ newImg.src = thumbUrl;
935
+ $('ul',thumbs).append('<li class="pix_thumb pix_thumb_'+i+'" />');
936
+ $('li.pix_thumb_'+i,thumbs).append($(newImg).attr('class','camera_thumb'));
937
+ }
938
+ });
939
+ } else {
940
+ $.each(allThumbs, function(i, val) {
941
+ if($('> div', elem).eq(i).attr('data-thumb')!='') {
942
+ var thumbUrl = $('> div', elem).eq(i).attr('data-thumb'),
943
+ newImg = new Image();
944
+ newImg.src = thumbUrl;
945
+ $('li.pag_nav_'+i,pagination).append($(newImg).attr('class','camera_thumb').css({'position':'absolute'}).animate({opacity:0},0));
946
+ $('li.pag_nav_'+i+' > img',pagination).after('<div class="thumb_arrow" />');
947
+ $('li.pag_nav_'+i+' > .thumb_arrow',pagination).animate({opacity:0},0);
948
+ }
949
+ });
950
+ wrap.css({marginBottom:$(pagination).outerHeight()});
951
+ }
952
+ } else if(!$(thumbs).length && $(pagination).length) {
953
+ wrap.css({marginBottom:$(pagination).outerHeight()});
954
+ }
955
+
956
+
957
+ var firstPos = true;
958
+
959
+ function thumbnailPos() {
960
+ if($(thumbs).length && !$(pagination).length) {
961
+ var wTh = $(thumbs).outerWidth(),
962
+ owTh = $('ul > li',thumbs).outerWidth(),
963
+ pos = $('li.cameracurrent', thumbs).length ? $('li.cameracurrent', thumbs).position() : '',
964
+ ulW = ($('ul > li', thumbs).length * $('ul > li', thumbs).outerWidth()),
965
+ offUl = $('ul', thumbs).offset().left,
966
+ offDiv = $('> div', thumbs).offset().left,
967
+ ulLeft;
968
+
969
+ if(offUl<0){
970
+ ulLeft = '-'+ (offDiv-offUl);
971
+ } else {
972
+ ulLeft = offDiv-offUl;
973
+ }
974
+
975
+
976
+
977
+ if(firstPos == true) {
978
+ $('ul', thumbs).width($('ul > li', thumbs).length * $('ul > li', thumbs).outerWidth());
979
+ if($(thumbs).length && !$(pagination).lenght) {
980
+ wrap.css({marginBottom:$(thumbs).outerHeight()});
981
+ }
982
+ thumbnailVisible();
983
+ /*I repeat this two lines because of a problem with iPhones*/
984
+ $('ul', thumbs).width($('ul > li', thumbs).length * $('ul > li', thumbs).outerWidth());
985
+ if($(thumbs).length && !$(pagination).lenght) {
986
+ wrap.css({marginBottom:$(thumbs).outerHeight()});
987
+ }
988
+ /*...*/
989
+ }
990
+ firstPos = false;
991
+
992
+ var left = $('li.cameracurrent', thumbs).length ? pos.left : '',
993
+ right = $('li.cameracurrent', thumbs).length ? pos.left+($('li.cameracurrent', thumbs).outerWidth()) : '';
994
+ if(left<$('li.cameracurrent', thumbs).outerWidth()) {
995
+ left = 0;
996
+ }
997
+ if(right-ulLeft>wTh){
998
+ if((left+wTh)<ulW){
999
+ $('ul', thumbs).animate({'margin-left':'-'+(left)+'px'},500,thumbnailVisible);
1000
+ } else {
1001
+ $('ul', thumbs).animate({'margin-left':'-'+($('ul', thumbs).outerWidth()-wTh)+'px'},500,thumbnailVisible);
1002
+ }
1003
+ } else if(left-ulLeft<0) {
1004
+ $('ul', thumbs).animate({'margin-left':'-'+(left)+'px'},500,thumbnailVisible);
1005
+ } else {
1006
+ $('ul', thumbs).css({'margin-left':'auto', 'margin-right':'auto'});
1007
+ setTimeout(thumbnailVisible,100);
1008
+ }
1009
+
1010
+ }
1011
+ }
1012
+
1013
+ if($(commands).length) {
1014
+ $(commands).append('<div class="camera_play"></div>').append('<div class="camera_stop"></div>');
1015
+ if(autoAdv==true){
1016
+ $('.camera_play',camera_thumbs_wrap).hide();
1017
+ $('.camera_stop',camera_thumbs_wrap).show();
1018
+ } else {
1019
+ $('.camera_stop',camera_thumbs_wrap).hide();
1020
+ $('.camera_play',camera_thumbs_wrap).show();
1021
+ }
1022
+
1023
+ }
1024
+
1025
+
1026
+ function canvasLoader() {
1027
+ rad = 0;
1028
+ var barWidth = $('.camera_bar_cont',camera_thumbs_wrap).width(),
1029
+ barHeight = $('.camera_bar_cont',camera_thumbs_wrap).height();
1030
+
1031
+ if (loader != 'pie') {
1032
+ switch(barDirection){
1033
+ case 'leftToRight':
1034
+ $('#'+pieID).css({'right':barWidth});
1035
+ break;
1036
+ case 'rightToLeft':
1037
+ $('#'+pieID).css({'left':barWidth});
1038
+ break;
1039
+ case 'topToBottom':
1040
+ $('#'+pieID).css({'bottom':barHeight});
1041
+ break;
1042
+ case 'bottomToTop':
1043
+ $('#'+pieID).css({'top':barHeight});
1044
+ break;
1045
+ }
1046
+ } else {
1047
+ ctx.clearRect(0,0,opts.pieDiameter,opts.pieDiameter);
1048
+ }
1049
+ }
1050
+
1051
+
1052
+ canvasLoader();
1053
+
1054
+
1055
+ $('.moveFromLeft, .moveFromRight, .moveFromTop, .moveFromBottom, .fadeIn, .fadeFromLeft, .fadeFromRight, .fadeFromTop, .fadeFromBottom',fakeHover).each(function(){
1056
+ $(this).css('visibility','hidden');
1057
+ });
1058
+
1059
+ opts.onStartLoading.call(this);
1060
+
1061
+ nextSlide();
1062
+
1063
+
1064
+ /*************************** FUNCTION nextSlide() ***************************/
1065
+
1066
+ function nextSlide(navSlide){
1067
+ elem.addClass('camerasliding');
1068
+
1069
+ videoPresent = false;
1070
+ var vis = parseFloat($('div.cameraSlide.cameracurrent',target).index());
1071
+
1072
+ if(navSlide>0){
1073
+ var slideI = navSlide-1;
1074
+ } else if (vis == amountSlide-1) {
1075
+ var slideI = 0;
1076
+ } else {
1077
+ var slideI = vis+1;
1078
+ }
1079
+
1080
+
1081
+ var slide = $('.cameraSlide:eq('+slideI+')',target);
1082
+ var slideNext = $('.cameraSlide:eq('+(slideI+1)+')',target).addClass('cameranext');
1083
+ if( vis != slideI+1 ) {
1084
+ slideNext.hide();
1085
+ }
1086
+ $('.cameraContent',fakeHover).fadeOut(600);
1087
+ $('.camera_caption',fakeHover).show();
1088
+
1089
+ $('.camerarelative',slide).append($('> div ',elem).eq(slideI).find('> div.camera_effected'));
1090
+
1091
+ $('.camera_target_content .cameraContent:eq('+slideI+')',wrap).append($('> div ',elem).eq(slideI).find('> div'));
1092
+
1093
+ if(!$('.imgLoaded',slide).length){
1094
+ var imgUrl = allImg[slideI];
1095
+ var imgLoaded = new Image();
1096
+ imgLoaded.src = imgUrl +"?"+ new Date().getTime();
1097
+ slide.css('visibility','hidden');
1098
+ slide.prepend($(imgLoaded).attr('class','imgLoaded').css('visibility','hidden'));
1099
+ var wT, hT;
1100
+ if (!$(imgLoaded).get(0).complete || wT == '0' || hT == '0' || typeof wT === 'undefined' || wT === false || typeof hT === 'undefined' || hT === false) {
1101
+ $('.camera_loader',wrap).delay(500).fadeIn(400);
1102
+ imgLoaded.onload = function() {
1103
+ wT = imgLoaded.naturalWidth;
1104
+ hT = imgLoaded.naturalHeight;
1105
+ $(imgLoaded).attr('data-alignment',allAlign[slideI]).attr('data-portrait',allPor[slideI]);
1106
+ $(imgLoaded).attr('width',wT);
1107
+ $(imgLoaded).attr('height',hT);
1108
+ target.find('.cameraSlide_'+slideI).hide().css('visibility','visible');
1109
+ resizeImage();
1110
+ nextSlide(slideI+1);
1111
+ };
1112
+ }
1113
+ } else {
1114
+ if( allImg.length > (slideI+1) && !$('.imgLoaded',slideNext).length ){
1115
+ var imgUrl2 = allImg[(slideI+1)];
1116
+ var imgLoaded2 = new Image();
1117
+ imgLoaded2.src = imgUrl2 +"?"+ new Date().getTime();
1118
+ slideNext.prepend($(imgLoaded2).attr('class','imgLoaded').css('visibility','hidden'));
1119
+ imgLoaded2.onload = function() {
1120
+ wT = imgLoaded2.naturalWidth;
1121
+ hT = imgLoaded2.naturalHeight;
1122
+ $(imgLoaded2).attr('data-alignment',allAlign[slideI+1]).attr('data-portrait',allPor[slideI+1]);
1123
+ $(imgLoaded2).attr('width',wT);
1124
+ $(imgLoaded2).attr('height',hT);
1125
+ resizeImage();
1126
+ };
1127
+ }
1128
+ opts.onLoaded.call(this);
1129
+ if($('.camera_loader',wrap).is(':visible')){
1130
+ $('.camera_loader',wrap).fadeOut(400);
1131
+ } else {
1132
+ $('.camera_loader',wrap).css({'visibility':'hidden'});
1133
+ $('.camera_loader',wrap).fadeOut(400,function(){
1134
+ $('.camera_loader',wrap).css({'visibility':'visible'});
1135
+ });
1136
+ }
1137
+ var rows = opts.rows,
1138
+ cols = opts.cols,
1139
+ couples = 1,
1140
+ difference = 0,
1141
+ dataSlideOn,
1142
+ time,
1143
+ transPeriod,
1144
+ fx,
1145
+ easing,
1146
+ randomFx = new Array('simpleFade','curtainTopLeft','curtainTopRight','curtainBottomLeft','curtainBottomRight','curtainSliceLeft','curtainSliceRight','blindCurtainTopLeft','blindCurtainTopRight','blindCurtainBottomLeft','blindCurtainBottomRight','blindCurtainSliceBottom','blindCurtainSliceTop','stampede','mosaic','mosaicReverse','mosaicRandom','mosaicSpiral','mosaicSpiralReverse','topLeftBottomRight','bottomRightTopLeft','bottomLeftTopRight','topRightBottomLeft','scrollLeft','scrollRight','scrollTop','scrollBottom','scrollHorz');
1147
+ marginLeft = 0,
1148
+ marginTop = 0,
1149
+ opacityOnGrid = 0;
1150
+
1151
+ if(opts.opacityOnGrid==true){
1152
+ opacityOnGrid = 0;
1153
+ } else {
1154
+ opacityOnGrid = 1;
1155
+ }
1156
+
1157
+
1158
+
1159
+ var dataFx = $(' > div',elem).eq(slideI).attr('data-fx');
1160
+
1161
+ if(isMobile()&&opts.mobileFx!=''&&opts.mobileFx!='default'){
1162
+ fx = opts.mobileFx;
1163
+ } else {
1164
+ if(typeof dataFx !== 'undefined' && dataFx!== false && dataFx!== 'default'){
1165
+ fx = dataFx;
1166
+ } else {
1167
+ fx = opts.fx;
1168
+ }
1169
+ }
1170
+
1171
+ if(fx=='random') {
1172
+ fx = shuffle(randomFx);
1173
+ fx = fx[0];
1174
+ } else {
1175
+ fx = fx;
1176
+ if(fx.indexOf(',')>0){
1177
+ fx = fx.replace(/ /g,'');
1178
+ fx = fx.split(',');
1179
+ fx = shuffle(fx);
1180
+ fx = fx[0];
1181
+ }
1182
+ }
1183
+
1184
+ dataEasing = $(' > div',elem).eq(slideI).attr('data-easing');
1185
+ mobileEasing = $(' > div',elem).eq(slideI).attr('data-mobileEasing');
1186
+
1187
+ if(isMobile()&&opts.mobileEasing!=''&&opts.mobileEasing!='default'){
1188
+ if(typeof mobileEasing !== 'undefined' && mobileEasing!== false && mobileEasing!== 'default') {
1189
+ easing = mobileEasing;
1190
+ } else {
1191
+ easing = opts.mobileEasing;
1192
+ }
1193
+ } else {
1194
+ if(typeof dataEasing !== 'undefined' && dataEasing!== false && dataEasing!== 'default') {
1195
+ easing = dataEasing;
1196
+ } else {
1197
+ easing = opts.easing;
1198
+ }
1199
+ }
1200
+
1201
+ dataSlideOn = $(' > div',elem).eq(slideI).attr('data-slideOn');
1202
+ if(typeof dataSlideOn !== 'undefined' && dataSlideOn!== false){
1203
+ slideOn = dataSlideOn;
1204
+ } else {
1205
+ if(opts.slideOn=='random'){
1206
+ var slideOn = new Array('next','prev');
1207
+ slideOn = shuffle(slideOn);
1208
+ slideOn = slideOn[0];
1209
+ } else {
1210
+ slideOn = opts.slideOn;
1211
+ }
1212
+ }
1213
+
1214
+ var dataTime = $(' > div',elem).eq(slideI).attr('data-time');
1215
+ if(typeof dataTime !== 'undefined' && dataTime!== false && dataTime!== ''){
1216
+ time = parseFloat(dataTime);
1217
+ } else {
1218
+ time = opts.time;
1219
+ }
1220
+
1221
+ var dataTransPeriod = $(' > div',elem).eq(slideI).attr('data-transPeriod');
1222
+ if(typeof dataTransPeriod !== 'undefined' && dataTransPeriod!== false && dataTransPeriod!== ''){
1223
+ transPeriod = parseFloat(dataTransPeriod);
1224
+ } else {
1225
+ transPeriod = opts.transPeriod;
1226
+ }
1227
+
1228
+ if(!$(elem).hasClass('camerastarted')){
1229
+ fx = 'simpleFade';
1230
+ slideOn = 'next';
1231
+ easing = '';
1232
+ transPeriod = 400;
1233
+ $(elem).addClass('camerastarted')
1234
+ }
1235
+
1236
+ switch(fx){
1237
+ case 'simpleFade':
1238
+ cols = 1;
1239
+ rows = 1;
1240
+ break;
1241
+ case 'curtainTopLeft':
1242
+ if(opts.slicedCols == 0) {
1243
+ cols = opts.cols;
1244
+ } else {
1245
+ cols = opts.slicedCols;
1246
+ }
1247
+ rows = 1;
1248
+ break;
1249
+ case 'curtainTopRight':
1250
+ if(opts.slicedCols == 0) {
1251
+ cols = opts.cols;
1252
+ } else {
1253
+ cols = opts.slicedCols;
1254
+ }
1255
+ rows = 1;
1256
+ break;
1257
+ case 'curtainBottomLeft':
1258
+ if(opts.slicedCols == 0) {
1259
+ cols = opts.cols;
1260
+ } else {
1261
+ cols = opts.slicedCols;
1262
+ }
1263
+ rows = 1;
1264
+ break;
1265
+ case 'curtainBottomRight':
1266
+ if(opts.slicedCols == 0) {
1267
+ cols = opts.cols;
1268
+ } else {
1269
+ cols = opts.slicedCols;
1270
+ }
1271
+ rows = 1;
1272
+ break;
1273
+ case 'curtainSliceLeft':
1274
+ if(opts.slicedCols == 0) {
1275
+ cols = opts.cols;
1276
+ } else {
1277
+ cols = opts.slicedCols;
1278
+ }
1279
+ rows = 1;
1280
+ break;
1281
+ case 'curtainSliceRight':
1282
+ if(opts.slicedCols == 0) {
1283
+ cols = opts.cols;
1284
+ } else {
1285
+ cols = opts.slicedCols;
1286
+ }
1287
+ rows = 1;
1288
+ break;
1289
+ case 'blindCurtainTopLeft':
1290
+ if(opts.slicedRows == 0) {
1291
+ rows = opts.rows;
1292
+ } else {
1293
+ rows = opts.slicedRows;
1294
+ }
1295
+ cols = 1;
1296
+ break;
1297
+ case 'blindCurtainTopRight':
1298
+ if(opts.slicedRows == 0) {
1299
+ rows = opts.rows;
1300
+ } else {
1301
+ rows = opts.slicedRows;
1302
+ }
1303
+ cols = 1;
1304
+ break;
1305
+ case 'blindCurtainBottomLeft':
1306
+ if(opts.slicedRows == 0) {
1307
+ rows = opts.rows;
1308
+ } else {
1309
+ rows = opts.slicedRows;
1310
+ }
1311
+ cols = 1;
1312
+ break;
1313
+ case 'blindCurtainBottomRight':
1314
+ if(opts.slicedRows == 0) {
1315
+ rows = opts.rows;
1316
+ } else {
1317
+ rows = opts.slicedRows;
1318
+ }
1319
+ cols = 1;
1320
+ break;
1321
+ case 'blindCurtainSliceTop':
1322
+ if(opts.slicedRows == 0) {
1323
+ rows = opts.rows;
1324
+ } else {
1325
+ rows = opts.slicedRows;
1326
+ }
1327
+ cols = 1;
1328
+ break;
1329
+ case 'blindCurtainSliceBottom':
1330
+ if(opts.slicedRows == 0) {
1331
+ rows = opts.rows;
1332
+ } else {
1333
+ rows = opts.slicedRows;
1334
+ }
1335
+ cols = 1;
1336
+ break;
1337
+ case 'stampede':
1338
+ difference = '-'+transPeriod;
1339
+ break;
1340
+ case 'mosaic':
1341
+ difference = opts.gridDifference;
1342
+ break;
1343
+ case 'mosaicReverse':
1344
+ difference = opts.gridDifference;
1345
+ break;
1346
+ case 'mosaicRandom':
1347
+ break;
1348
+ case 'mosaicSpiral':
1349
+ difference = opts.gridDifference;
1350
+ couples = 1.7;
1351
+ break;
1352
+ case 'mosaicSpiralReverse':
1353
+ difference = opts.gridDifference;
1354
+ couples = 1.7;
1355
+ break;
1356
+ case 'topLeftBottomRight':
1357
+ difference = opts.gridDifference;
1358
+ couples = 6;
1359
+ break;
1360
+ case 'bottomRightTopLeft':
1361
+ difference = opts.gridDifference;
1362
+ couples = 6;
1363
+ break;
1364
+ case 'bottomLeftTopRight':
1365
+ difference = opts.gridDifference;
1366
+ couples = 6;
1367
+ break;
1368
+ case 'topRightBottomLeft':
1369
+ difference = opts.gridDifference;
1370
+ couples = 6;
1371
+ break;
1372
+ case 'scrollLeft':
1373
+ cols = 1;
1374
+ rows = 1;
1375
+ break;
1376
+ case 'scrollRight':
1377
+ cols = 1;
1378
+ rows = 1;
1379
+ break;
1380
+ case 'scrollTop':
1381
+ cols = 1;
1382
+ rows = 1;
1383
+ break;
1384
+ case 'scrollBottom':
1385
+ cols = 1;
1386
+ rows = 1;
1387
+ break;
1388
+ case 'scrollHorz':
1389
+ cols = 1;
1390
+ rows = 1;
1391
+ break;
1392
+ }
1393
+
1394
+ var cycle = 0;
1395
+ var blocks = rows*cols;
1396
+ var leftScrap = w-(Math.floor(w/cols)*cols);
1397
+ var topScrap = h-(Math.floor(h/rows)*rows);
1398
+ var addLeft;
1399
+ var addTop;
1400
+ var tAppW = 0;
1401
+ var tAppH = 0;
1402
+ var arr = new Array();
1403
+ var delay = new Array();
1404
+ var order = new Array();
1405
+ while(cycle < blocks){
1406
+ arr.push(cycle);
1407
+ delay.push(cycle);
1408
+ cameraCont.append('<div class="cameraappended" style="display:none; overflow:hidden; position:absolute; z-index:1000" />');
1409
+ var tApp = $('.cameraappended:eq('+cycle+')',target);
1410
+ if(fx=='scrollLeft' || fx=='scrollRight' || fx=='scrollTop' || fx=='scrollBottom' || fx=='scrollHorz'){
1411
+ selector.eq(slideI).clone().show().appendTo(tApp);
1412
+ } else {
1413
+ if(slideOn=='next'){
1414
+ selector.eq(slideI).clone().show().appendTo(tApp);
1415
+ } else {
1416
+ selector.eq(vis).clone().show().appendTo(tApp);
1417
+ }
1418
+ }
1419
+
1420
+ if(cycle%cols<leftScrap){
1421
+ addLeft = 1;
1422
+ } else {
1423
+ addLeft = 0;
1424
+ }
1425
+ if(cycle%cols==0){
1426
+ tAppW = 0;
1427
+ }
1428
+ if(Math.floor(cycle/cols)<topScrap){
1429
+ addTop = 1;
1430
+ } else {
1431
+ addTop = 0;
1432
+ }
1433
+ tApp.css({
1434
+ 'height': Math.floor((h/rows)+addTop+1),
1435
+ 'left': tAppW,
1436
+ 'top': tAppH,
1437
+ 'width': Math.floor((w/cols)+addLeft+1)
1438
+ });
1439
+ $('> .cameraSlide', tApp).css({
1440
+ 'height': h,
1441
+ 'margin-left': '-'+tAppW+'px',
1442
+ 'margin-top': '-'+tAppH+'px',
1443
+ 'width': w
1444
+ });
1445
+ tAppW = tAppW+tApp.width()-1;
1446
+ if(cycle%cols==cols-1){
1447
+ tAppH = tAppH + tApp.height() - 1;
1448
+ }
1449
+ cycle++;
1450
+ }
1451
+
1452
+
1453
+
1454
+ switch(fx){
1455
+ case 'curtainTopLeft':
1456
+ break;
1457
+ case 'curtainBottomLeft':
1458
+ break;
1459
+ case 'curtainSliceLeft':
1460
+ break;
1461
+ case 'curtainTopRight':
1462
+ arr = arr.reverse();
1463
+ break;
1464
+ case 'curtainBottomRight':
1465
+ arr = arr.reverse();
1466
+ break;
1467
+ case 'curtainSliceRight':
1468
+ arr = arr.reverse();
1469
+ break;
1470
+ case 'blindCurtainTopLeft':
1471
+ break;
1472
+ case 'blindCurtainBottomLeft':
1473
+ arr = arr.reverse();
1474
+ break;
1475
+ case 'blindCurtainSliceTop':
1476
+ break;
1477
+ case 'blindCurtainTopRight':
1478
+ break;
1479
+ case 'blindCurtainBottomRight':
1480
+ arr = arr.reverse();
1481
+ break;
1482
+ case 'blindCurtainSliceBottom':
1483
+ arr = arr.reverse();
1484
+ break;
1485
+ case 'stampede':
1486
+ arr = shuffle(arr);
1487
+ break;
1488
+ case 'mosaic':
1489
+ break;
1490
+ case 'mosaicReverse':
1491
+ arr = arr.reverse();
1492
+ break;
1493
+ case 'mosaicRandom':
1494
+ arr = shuffle(arr);
1495
+ break;
1496
+ case 'mosaicSpiral':
1497
+ var rows2 = rows/2, x, y, z, n=0;
1498
+ for (z = 0; z < rows2; z++){
1499
+ y = z;
1500
+ for (x = z; x < cols - z - 1; x++) {
1501
+ order[n++] = y * cols + x;
1502
+ }
1503
+ x = cols - z - 1;
1504
+ for (y = z; y < rows - z - 1; y++) {
1505
+ order[n++] = y * cols + x;
1506
+ }
1507
+ y = rows - z - 1;
1508
+ for (x = cols - z - 1; x > z; x--) {
1509
+ order[n++] = y * cols + x;
1510
+ }
1511
+ x = z;
1512
+ for (y = rows - z - 1; y > z; y--) {
1513
+ order[n++] = y * cols + x;
1514
+ }
1515
+ }
1516
+
1517
+ arr = order;
1518
+
1519
+ break;
1520
+ case 'mosaicSpiralReverse':
1521
+ var rows2 = rows/2, x, y, z, n=blocks-1;
1522
+ for (z = 0; z < rows2; z++){
1523
+ y = z;
1524
+ for (x = z; x < cols - z - 1; x++) {
1525
+ order[n--] = y * cols + x;
1526
+ }
1527
+ x = cols - z - 1;
1528
+ for (y = z; y < rows - z - 1; y++) {
1529
+ order[n--] = y * cols + x;
1530
+ }
1531
+ y = rows - z - 1;
1532
+ for (x = cols - z - 1; x > z; x--) {
1533
+ order[n--] = y * cols + x;
1534
+ }
1535
+ x = z;
1536
+ for (y = rows - z - 1; y > z; y--) {
1537
+ order[n--] = y * cols + x;
1538
+ }
1539
+ }
1540
+
1541
+ arr = order;
1542
+
1543
+ break;
1544
+ case 'topLeftBottomRight':
1545
+ for (var y = 0; y < rows; y++)
1546
+ for (var x = 0; x < cols; x++) {
1547
+ order.push(x + y);
1548
+ }
1549
+ delay = order;
1550
+ break;
1551
+ case 'bottomRightTopLeft':
1552
+ for (var y = 0; y < rows; y++)
1553
+ for (var x = 0; x < cols; x++) {
1554
+ order.push(x + y);
1555
+ }
1556
+ delay = order.reverse();
1557
+ break;
1558
+ case 'bottomLeftTopRight':
1559
+ for (var y = rows; y > 0; y--)
1560
+ for (var x = 0; x < cols; x++) {
1561
+ order.push(x + y);
1562
+ }
1563
+ delay = order;
1564
+ break;
1565
+ case 'topRightBottomLeft':
1566
+ for (var y = 0; y < rows; y++)
1567
+ for (var x = cols; x > 0; x--) {
1568
+ order.push(x + y);
1569
+ }
1570
+ delay = order;
1571
+ break;
1572
+ }
1573
+
1574
+
1575
+
1576
+ $.each(arr, function(index, value) {
1577
+
1578
+ if(value%cols<leftScrap){
1579
+ addLeft = 1;
1580
+ } else {
1581
+ addLeft = 0;
1582
+ }
1583
+ if(value%cols==0){
1584
+ tAppW = 0;
1585
+ }
1586
+ if(Math.floor(value/cols)<topScrap){
1587
+ addTop = 1;
1588
+ } else {
1589
+ addTop = 0;
1590
+ }
1591
+
1592
+ switch(fx){
1593
+ case 'simpleFade':
1594
+ height = h;
1595
+ width = w;
1596
+ opacityOnGrid = 0;
1597
+ break;
1598
+ case 'curtainTopLeft':
1599
+ height = 0,
1600
+ width = Math.floor((w/cols)+addLeft+1),
1601
+ marginTop = '-'+Math.floor((h/rows)+addTop+1)+'px';
1602
+ break;
1603
+ case 'curtainTopRight':
1604
+ height = 0,
1605
+ width = Math.floor((w/cols)+addLeft+1),
1606
+ marginTop = '-'+Math.floor((h/rows)+addTop+1)+'px';
1607
+ break;
1608
+ case 'curtainBottomLeft':
1609
+ height = 0,
1610
+ width = Math.floor((w/cols)+addLeft+1),
1611
+ marginTop = Math.floor((h/rows)+addTop+1)+'px';
1612
+ break;
1613
+ case 'curtainBottomRight':
1614
+ height = 0,
1615
+ width = Math.floor((w/cols)+addLeft+1),
1616
+ marginTop = Math.floor((h/rows)+addTop+1)+'px';
1617
+ break;
1618
+ case 'curtainSliceLeft':
1619
+ height = 0,
1620
+ width = Math.floor((w/cols)+addLeft+1);
1621
+ if(value%2==0){
1622
+ marginTop = Math.floor((h/rows)+addTop+1)+'px';
1623
+ } else {
1624
+ marginTop = '-'+Math.floor((h/rows)+addTop+1)+'px';
1625
+ }
1626
+ break;
1627
+ case 'curtainSliceRight':
1628
+ height = 0,
1629
+ width = Math.floor((w/cols)+addLeft+1);
1630
+ if(value%2==0){
1631
+ marginTop = Math.floor((h/rows)+addTop+1)+'px';
1632
+ } else {
1633
+ marginTop = '-'+Math.floor((h/rows)+addTop+1)+'px';
1634
+ }
1635
+ break;
1636
+ case 'blindCurtainTopLeft':
1637
+ height = Math.floor((h/rows)+addTop+1),
1638
+ width = 0,
1639
+ marginLeft = '-'+Math.floor((w/cols)+addLeft+1)+'px';
1640
+ break;
1641
+ case 'blindCurtainTopRight':
1642
+ height = Math.floor((h/rows)+addTop+1),
1643
+ width = 0,
1644
+ marginLeft = Math.floor((w/cols)+addLeft+1)+'px';
1645
+ break;
1646
+ case 'blindCurtainBottomLeft':
1647
+ height = Math.floor((h/rows)+addTop+1),
1648
+ width = 0,
1649
+ marginLeft = '-'+Math.floor((w/cols)+addLeft+1)+'px';
1650
+ break;
1651
+ case 'blindCurtainBottomRight':
1652
+ height = Math.floor((h/rows)+addTop+1),
1653
+ width = 0,
1654
+ marginLeft = Math.floor((w/cols)+addLeft+1)+'px';
1655
+ break;
1656
+ case 'blindCurtainSliceBottom':
1657
+ height = Math.floor((h/rows)+addTop+1),
1658
+ width = 0;
1659
+ if(value%2==0){
1660
+ marginLeft = '-'+Math.floor((w/cols)+addLeft+1)+'px';
1661
+ } else {
1662
+ marginLeft = Math.floor((w/cols)+addLeft+1)+'px';
1663
+ }
1664
+ break;
1665
+ case 'blindCurtainSliceTop':
1666
+ height = Math.floor((h/rows)+addTop+1),
1667
+ width = 0;
1668
+ if(value%2==0){
1669
+ marginLeft = '-'+Math.floor((w/cols)+addLeft+1)+'px';
1670
+ } else {
1671
+ marginLeft = Math.floor((w/cols)+addLeft+1)+'px';
1672
+ }
1673
+ break;
1674
+ case 'stampede':
1675
+ height = 0;
1676
+ width = 0;
1677
+ marginLeft = (w*0.2)*(((index)%cols)-(cols-(Math.floor(cols/2))))+'px';
1678
+ marginTop = (h*0.2)*((Math.floor(index/cols)+1)-(rows-(Math.floor(rows/2))))+'px';
1679
+ break;
1680
+ case 'mosaic':
1681
+ height = 0;
1682
+ width = 0;
1683
+ break;
1684
+ case 'mosaicReverse':
1685
+ height = 0;
1686
+ width = 0;
1687
+ marginLeft = Math.floor((w/cols)+addLeft+1)+'px';
1688
+ marginTop = Math.floor((h/rows)+addTop+1)+'px';
1689
+ break;
1690
+ case 'mosaicRandom':
1691
+ height = 0;
1692
+ width = 0;
1693
+ marginLeft = Math.floor((w/cols)+addLeft+1)*0.5+'px';
1694
+ marginTop = Math.floor((h/rows)+addTop+1)*0.5+'px';
1695
+ break;
1696
+ case 'mosaicSpiral':
1697
+ height = 0;
1698
+ width = 0;
1699
+ marginLeft = Math.floor((w/cols)+addLeft+1)*0.5+'px';
1700
+ marginTop = Math.floor((h/rows)+addTop+1)*0.5+'px';
1701
+ break;
1702
+ case 'mosaicSpiralReverse':
1703
+ height = 0;
1704
+ width = 0;
1705
+ marginLeft = Math.floor((w/cols)+addLeft+1)*0.5+'px';
1706
+ marginTop = Math.floor((h/rows)+addTop+1)*0.5+'px';
1707
+ break;
1708
+ case 'topLeftBottomRight':
1709
+ height = 0;
1710
+ width = 0;
1711
+ break;
1712
+ case 'bottomRightTopLeft':
1713
+ height = 0;
1714
+ width = 0;
1715
+ marginLeft = Math.floor((w/cols)+addLeft+1)+'px';
1716
+ marginTop = Math.floor((h/rows)+addTop+1)+'px';
1717
+ break;
1718
+ case 'bottomLeftTopRight':
1719
+ height = 0;
1720
+ width = 0;
1721
+ marginLeft = 0;
1722
+ marginTop = Math.floor((h/rows)+addTop+1)+'px';
1723
+ break;
1724
+ case 'topRightBottomLeft':
1725
+ height = 0;
1726
+ width = 0;
1727
+ marginLeft = Math.floor((w/cols)+addLeft+1)+'px';
1728
+ marginTop = 0;
1729
+ break;
1730
+ case 'scrollRight':
1731
+ height = h;
1732
+ width = w;
1733
+ marginLeft = -w;
1734
+ break;
1735
+ case 'scrollLeft':
1736
+ height = h;
1737
+ width = w;
1738
+ marginLeft = w;
1739
+ break;
1740
+ case 'scrollTop':
1741
+ height = h;
1742
+ width = w;
1743
+ marginTop = h;
1744
+ break;
1745
+ case 'scrollBottom':
1746
+ height = h;
1747
+ width = w;
1748
+ marginTop = -h;
1749
+ break;
1750
+ case 'scrollHorz':
1751
+ height = h;
1752
+ width = w;
1753
+ if(vis==0 && slideI==amountSlide-1) {
1754
+ marginLeft = -w;
1755
+ } else if(vis<slideI || (vis==amountSlide-1 && slideI==0)) {
1756
+ marginLeft = w;
1757
+ } else {
1758
+ marginLeft = -w;
1759
+ }
1760
+ break;
1761
+ }
1762
+
1763
+
1764
+ var tApp = $('.cameraappended:eq('+value+')',target);
1765
+
1766
+ if(typeof u !== 'undefined'){
1767
+ clearInterval(u);
1768
+ clearTimeout(setT);
1769
+ setT = setTimeout(canvasLoader,transPeriod+difference);
1770
+ }
1771
+
1772
+
1773
+ if($(pagination).length){
1774
+ $('.camera_pag li',wrap).removeClass('cameracurrent');
1775
+ $('.camera_pag li',wrap).eq(slideI).addClass('cameracurrent');
1776
+ }
1777
+
1778
+ if($(thumbs).length){
1779
+ $('li', thumbs).removeClass('cameracurrent');
1780
+ $('li', thumbs).eq(slideI).addClass('cameracurrent');
1781
+ $('li', thumbs).not('.cameracurrent').find('img').animate({opacity:.5},0);
1782
+ $('li.cameracurrent img', thumbs).animate({opacity:1},0);
1783
+ $('li', thumbs).hover(function(){
1784
+ $('img',this).stop(true,false).animate({opacity:1},150);
1785
+ },function(){
1786
+ if(!$(this).hasClass('cameracurrent')){
1787
+ $('img',this).stop(true,false).animate({opacity:.5},150);
1788
+ }
1789
+ });
1790
+ }
1791
+
1792
+
1793
+ var easedTime = parseFloat(transPeriod)+parseFloat(difference);
1794
+
1795
+ function cameraeased() {
1796
+
1797
+ $(this).addClass('cameraeased');
1798
+ if($('.cameraeased',target).length>=0){
1799
+ $(thumbs).css({visibility:'visible'});
1800
+ }
1801
+ if($('.cameraeased',target).length==blocks){
1802
+
1803
+ thumbnailPos();
1804
+
1805
+ $('.moveFromLeft, .moveFromRight, .moveFromTop, .moveFromBottom, .fadeIn, .fadeFromLeft, .fadeFromRight, .fadeFromTop, .fadeFromBottom',fakeHover).each(function(){
1806
+ $(this).css('visibility','hidden');
1807
+ });
1808
+
1809
+ selector.eq(slideI).show().css('z-index','999').removeClass('cameranext').addClass('cameracurrent');
1810
+ selector.eq(vis).css('z-index','1').removeClass('cameracurrent');
1811
+ $('.cameraContent',fakeHover).eq(slideI).addClass('cameracurrent');
1812
+ if (vis >= 0) {
1813
+ $('.cameraContent',fakeHover).eq(vis).removeClass('cameracurrent');
1814
+ }
1815
+
1816
+ opts.onEndTransition.call(this);
1817
+
1818
+ if($('> div', elem).eq(slideI).attr('data-video')!='hide' && $('.cameraContent.cameracurrent .imgFake',fakeHover).length ){
1819
+ $('.cameraContent.cameracurrent .imgFake',fakeHover).click();
1820
+ }
1821
+
1822
+
1823
+ var lMoveIn = selector.eq(slideI).find('.fadeIn').length;
1824
+ var lMoveInContent = $('.cameraContent',fakeHover).eq(slideI).find('.moveFromLeft, .moveFromRight, .moveFromTop, .moveFromBottom, .fadeIn, .fadeFromLeft, .fadeFromRight, .fadeFromTop, .fadeFromBottom').length;
1825
+
1826
+ if (lMoveIn!=0){
1827
+ $('.cameraSlide.cameracurrent .fadeIn',fakeHover).each(function(){
1828
+ if($(this).attr('data-easing')!=''){
1829
+ var easeMove = $(this).attr('data-easing');
1830
+ } else {
1831
+ var easeMove = easing;
1832
+ }
1833
+ var t = $(this);
1834
+ if(typeof t.attr('data-outerWidth') === 'undefined' || t.attr('data-outerWidth') === false || t.attr('data-outerWidth') === '') {
1835
+ var wMoveIn = t.outerWidth();
1836
+ t.attr('data-outerWidth',wMoveIn);
1837
+ } else {
1838
+ var wMoveIn = t.attr('data-outerWidth');
1839
+ }
1840
+ if(typeof t.attr('data-outerHeight') === 'undefined' || t.attr('data-outerHeight') === false || t.attr('data-outerHeight') === '') {
1841
+ var hMoveIn = t.outerHeight();
1842
+ t.attr('data-outerHeight',hMoveIn);
1843
+ } else {
1844
+ var hMoveIn = t.attr('data-outerHeight');
1845
+ }
1846
+ //t.css('width',wMoveIn);
1847
+ var pos = t.position();
1848
+ var left = pos.left;
1849
+ var top = pos.top;
1850
+ var tClass = t.attr('class');
1851
+ var ind = t.index();
1852
+ var hRel = t.parents('.camerarelative').outerHeight();
1853
+ var wRel = t.parents('.camerarelative').outerWidth();
1854
+ if(tClass.indexOf("fadeIn") != -1) {
1855
+ t.animate({opacity:0},0).css('visibility','visible').delay((time/lMoveIn)*(0.1*(ind-1))).animate({opacity:1},(time/lMoveIn)*0.15,easeMove);
1856
+ } else {
1857
+ t.css('visibility','visible');
1858
+ }
1859
+ });
1860
+ }
1861
+
1862
+ $('.cameraContent.cameracurrent',fakeHover).show();
1863
+ if (lMoveInContent!=0){
1864
+
1865
+ $('.cameraContent.cameracurrent .moveFromLeft, .cameraContent.cameracurrent .moveFromRight, .cameraContent.cameracurrent .moveFromTop, .cameraContent.cameracurrent .moveFromBottom, .cameraContent.cameracurrent .fadeIn, .cameraContent.cameracurrent .fadeFromLeft, .cameraContent.cameracurrent .fadeFromRight, .cameraContent.cameracurrent .fadeFromTop, .cameraContent.cameracurrent .fadeFromBottom',fakeHover).each(function(){
1866
+ if($(this).attr('data-easing')!=''){
1867
+ var easeMove = $(this).attr('data-easing');
1868
+ } else {
1869
+ var easeMove = easing;
1870
+ }
1871
+ var t = $(this);
1872
+ var pos = t.position();
1873
+ var left = pos.left;
1874
+ var top = pos.top;
1875
+ var tClass = t.attr('class');
1876
+ var ind = t.index();
1877
+ var thisH = t.outerHeight();
1878
+ if(tClass.indexOf("moveFromLeft") != -1) {
1879
+ t.css({'left':'-'+(w)+'px','right':'auto'});
1880
+ t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'left':pos.left},(time/lMoveInContent)*0.15,easeMove);
1881
+ } else if(tClass.indexOf("moveFromRight") != -1) {
1882
+ t.css({'left':w+'px','right':'auto'});
1883
+ t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'left':pos.left},(time/lMoveInContent)*0.15,easeMove);
1884
+ } else if(tClass.indexOf("moveFromTop") != -1) {
1885
+ t.css({'top':'-'+h+'px','bottom':'auto'});
1886
+ t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'top':pos.top},(time/lMoveInContent)*0.15,easeMove,function(){
1887
+ t.css({top:'auto',bottom:0});
1888
+ });
1889
+ } else if(tClass.indexOf("moveFromBottom") != -1) {
1890
+ t.css({'top':h+'px','bottom':'auto'});
1891
+ t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'top':pos.top},(time/lMoveInContent)*0.15,easeMove);
1892
+ } else if(tClass.indexOf("fadeFromLeft") != -1) {
1893
+ t.animate({opacity:0},0).css({'left':'-'+(w)+'px','right':'auto'});
1894
+ t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'left':pos.left,opacity:1},(time/lMoveInContent)*0.15,easeMove);
1895
+ } else if(tClass.indexOf("fadeFromRight") != -1) {
1896
+ t.animate({opacity:0},0).css({'left':(w)+'px','right':'auto'});
1897
+ t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'left':pos.left,opacity:1},(time/lMoveInContent)*0.15,easeMove);
1898
+ } else if(tClass.indexOf("fadeFromTop") != -1) {
1899
+ t.animate({opacity:0},0).css({'top':'-'+(h)+'px','bottom':'auto'});
1900
+ t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'top':pos.top,opacity:1},(time/lMoveInContent)*0.15,easeMove,function(){
1901
+ t.css({top:'auto',bottom:0});
1902
+ });
1903
+ } else if(tClass.indexOf("fadeFromBottom") != -1) {
1904
+ t.animate({opacity:0},0).css({'bottom':'-'+thisH+'px'});
1905
+ t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'bottom':'0',opacity:1},(time/lMoveInContent)*0.15,easeMove);
1906
+ } else if(tClass.indexOf("fadeIn") != -1) {
1907
+ t.animate({opacity:0},0).css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({opacity:1},(time/lMoveInContent)*0.15,easeMove);
1908
+ } else {
1909
+ t.css('visibility','visible');
1910
+ }
1911
+ });
1912
+ }
1913
+
1914
+
1915
+ $('.cameraappended',target).remove();
1916
+ elem.removeClass('camerasliding');
1917
+ selector.eq(vis).hide();
1918
+ var barWidth = $('.camera_bar_cont',camera_thumbs_wrap).width(),
1919
+ barHeight = $('.camera_bar_cont',camera_thumbs_wrap).height(),
1920
+ radSum;
1921
+ if (loader != 'pie') {
1922
+ radSum = 0.05;
1923
+ } else {
1924
+ radSum = 0.005;
1925
+ }
1926
+ $('#'+pieID).animate({opacity:opts.loaderOpacity},200);
1927
+ u = setInterval(
1928
+ function(){
1929
+ if(elem.hasClass('stopped')){
1930
+ clearInterval(u);
1931
+ }
1932
+ if (loader != 'pie') {
1933
+ if(rad<=1.002 && !elem.hasClass('stopped') && !elem.hasClass('paused') && !elem.hasClass('hovered')){
1934
+ rad = (rad+radSum);
1935
+ } else if (rad<=1 && (elem.hasClass('stopped') || elem.hasClass('paused') || elem.hasClass('stopped') || elem.hasClass('hovered'))){
1936
+ rad = rad;
1937
+ } else {
1938
+ if(!elem.hasClass('stopped') && !elem.hasClass('paused') && !elem.hasClass('hovered')) {
1939
+ clearInterval(u);
1940
+ imgFake();
1941
+ $('#'+pieID).animate({opacity:0},200,function(){
1942
+ clearTimeout(setT);
1943
+ setT = setTimeout(canvasLoader,easedTime);
1944
+ nextSlide();
1945
+ opts.onStartLoading.call(this);
1946
+ });
1947
+ }
1948
+ }
1949
+ switch(barDirection){
1950
+ case 'leftToRight':
1951
+ $('#'+pieID).animate({'right':barWidth-(barWidth*rad)},(time*radSum),'linear');
1952
+ break;
1953
+ case 'rightToLeft':
1954
+ $('#'+pieID).animate({'left':barWidth-(barWidth*rad)},(time*radSum),'linear');
1955
+ break;
1956
+ case 'topToBottom':
1957
+ $('#'+pieID).animate({'bottom':barHeight-(barHeight*rad)},(time*radSum),'linear');
1958
+ break;
1959
+ case 'bottomToTop':
1960
+ $('#'+pieID).animate({'bottom':barHeight-(barHeight*rad)},(time*radSum),'linear');
1961
+ break;
1962
+ }
1963
+
1964
+ } else {
1965
+ radNew = rad;
1966
+ ctx.clearRect(0,0,opts.pieDiameter,opts.pieDiameter);
1967
+ ctx.globalCompositeOperation = 'destination-over';
1968
+ ctx.beginPath();
1969
+ ctx.arc((opts.pieDiameter)/2, (opts.pieDiameter)/2, (opts.pieDiameter)/2-opts.loaderStroke,0,Math.PI*2,false);
1970
+ ctx.lineWidth = opts.loaderStroke;
1971
+ ctx.strokeStyle = opts.loaderBgColor;
1972
+ ctx.stroke();
1973
+ ctx.closePath();
1974
+ ctx.globalCompositeOperation = 'source-over';
1975
+ ctx.beginPath();
1976
+ ctx.arc((opts.pieDiameter)/2, (opts.pieDiameter)/2, (opts.pieDiameter)/2-opts.loaderStroke,0,Math.PI*2*radNew,false);
1977
+ ctx.lineWidth = opts.loaderStroke-(opts.loaderPadding*2);
1978
+ ctx.strokeStyle = opts.loaderColor;
1979
+ ctx.stroke();
1980
+ ctx.closePath();
1981
+
1982
+ if(rad<=1.002 && !elem.hasClass('stopped') && !elem.hasClass('paused') && !elem.hasClass('hovered')){
1983
+ rad = (rad+radSum);
1984
+ } else if (rad<=1 && (elem.hasClass('stopped') || elem.hasClass('paused') || elem.hasClass('hovered'))){
1985
+ rad = rad;
1986
+ } else {
1987
+ if(!elem.hasClass('stopped') && !elem.hasClass('paused') && !elem.hasClass('hovered')) {
1988
+ clearInterval(u);
1989
+ imgFake();
1990
+ $('#'+pieID+', .camera_canvas_wrap',camera_thumbs_wrap).animate({opacity:0},200,function(){
1991
+ clearTimeout(setT);
1992
+ setT = setTimeout(canvasLoader,easedTime);
1993
+ nextSlide();
1994
+ opts.onStartLoading.call(this);
1995
+ });
1996
+ }
1997
+ }
1998
+ }
1999
+ },time*radSum
2000
+ );
2001
+ }
2002
+
2003
+ }
2004
+
2005
+
2006
+
2007
+ if(fx=='scrollLeft' || fx=='scrollRight' || fx=='scrollTop' || fx=='scrollBottom' || fx=='scrollHorz'){
2008
+ opts.onStartTransition.call(this);
2009
+ easedTime = 0;
2010
+ tApp.delay((((transPeriod+difference)/blocks)*delay[index]*couples)*0.5).css({
2011
+ 'display' : 'block',
2012
+ 'height': height,
2013
+ 'margin-left': marginLeft,
2014
+ 'margin-top': marginTop,
2015
+ 'width': width
2016
+ }).animate({
2017
+ 'height': Math.floor((h/rows)+addTop+1),
2018
+ 'margin-top' : 0,
2019
+ 'margin-left' : 0,
2020
+ 'width' : Math.floor((w/cols)+addLeft+1)
2021
+ },(transPeriod-difference),easing,cameraeased);
2022
+ selector.eq(vis).delay((((transPeriod+difference)/blocks)*delay[index]*couples)*0.5).animate({
2023
+ 'margin-left': marginLeft*(-1),
2024
+ 'margin-top': marginTop*(-1)
2025
+ },(transPeriod-difference),easing,function(){
2026
+ $(this).css({'margin-top' : 0,'margin-left' : 0});
2027
+ });
2028
+ } else {
2029
+ opts.onStartTransition.call(this);
2030
+ easedTime = parseFloat(transPeriod)+parseFloat(difference);
2031
+ if(slideOn=='next'){
2032
+ tApp.delay((((transPeriod+difference)/blocks)*delay[index]*couples)*0.5).css({
2033
+ 'display' : 'block',
2034
+ 'height': height,
2035
+ 'margin-left': marginLeft,
2036
+ 'margin-top': marginTop,
2037
+ 'width': width,
2038
+ 'opacity' : opacityOnGrid
2039
+ }).animate({
2040
+ 'height': Math.floor((h/rows)+addTop+1),
2041
+ 'margin-top' : 0,
2042
+ 'margin-left' : 0,
2043
+ 'opacity' : 1,
2044
+ 'width' : Math.floor((w/cols)+addLeft+1)
2045
+ },(transPeriod-difference),easing,cameraeased);
2046
+ } else {
2047
+ selector.eq(slideI).show().css('z-index','999').addClass('cameracurrent');
2048
+ selector.eq(vis).css('z-index','1').removeClass('cameracurrent');
2049
+ $('.cameraContent',fakeHover).eq(slideI).addClass('cameracurrent');
2050
+ $('.cameraContent',fakeHover).eq(vis).removeClass('cameracurrent');
2051
+ tApp.delay((((transPeriod+difference)/blocks)*delay[index]*couples)*0.5).css({
2052
+ 'display' : 'block',
2053
+ 'height': Math.floor((h/rows)+addTop+1),
2054
+ 'margin-top' : 0,
2055
+ 'margin-left' : 0,
2056
+ 'opacity' : 1,
2057
+ 'width' : Math.floor((w/cols)+addLeft+1)
2058
+ }).animate({
2059
+ 'height': height,
2060
+ 'margin-left': marginLeft,
2061
+ 'margin-top': marginTop,
2062
+ 'width': width,
2063
+ 'opacity' : opacityOnGrid
2064
+ },(transPeriod-difference),easing,cameraeased);
2065
+ }
2066
+ }
2067
+
2068
+
2069
+
2070
+
2071
+
2072
+ });
2073
+
2074
+
2075
+
2076
+
2077
+ }
2078
+ }
2079
+
2080
+
2081
+ if($(prevNav).length){
2082
+ $(prevNav).click(function(){
2083
+ if(!elem.hasClass('camerasliding')){
2084
+ var idNum = parseFloat($('.cameraSlide.cameracurrent',target).index());
2085
+ clearInterval(u);
2086
+ imgFake();
2087
+ $('#'+pieID+', .camera_canvas_wrap',wrap).animate({opacity:0},0);
2088
+ canvasLoader();
2089
+ if(idNum!=0){
2090
+ nextSlide(idNum);
2091
+ } else {
2092
+ nextSlide(amountSlide);
2093
+ }
2094
+ opts.onStartLoading.call(this);
2095
+ }
2096
+ });
2097
+ }
2098
+
2099
+ if($(nextNav).length){
2100
+ $(nextNav).click(function(){
2101
+ if(!elem.hasClass('camerasliding')){
2102
+ var idNum = parseFloat($('.cameraSlide.cameracurrent',target).index());
2103
+ clearInterval(u);
2104
+ imgFake();
2105
+ $('#'+pieID+', .camera_canvas_wrap',camera_thumbs_wrap).animate({opacity:0},0);
2106
+ canvasLoader();
2107
+ if(idNum==amountSlide-1){
2108
+ nextSlide(1);
2109
+ } else {
2110
+ nextSlide(idNum+2);
2111
+ }
2112
+ opts.onStartLoading.call(this);
2113
+ }
2114
+ });
2115
+ }
2116
+
2117
+
2118
+ if(isMobile()){
2119
+ fakeHover.bind('swipeleft',function(event){
2120
+ if(!elem.hasClass('camerasliding')){
2121
+ var idNum = parseFloat($('.cameraSlide.cameracurrent',target).index());
2122
+ clearInterval(u);
2123
+ imgFake();
2124
+ $('#'+pieID+', .camera_canvas_wrap',camera_thumbs_wrap).animate({opacity:0},0);
2125
+ canvasLoader();
2126
+ if(idNum==amountSlide-1){
2127
+ nextSlide(1);
2128
+ } else {
2129
+ nextSlide(idNum+2);
2130
+ }
2131
+ opts.onStartLoading.call(this);
2132
+ }
2133
+ });
2134
+ fakeHover.bind('swiperight',function(event){
2135
+ if(!elem.hasClass('camerasliding')){
2136
+ var idNum = parseFloat($('.cameraSlide.cameracurrent',target).index());
2137
+ clearInterval(u);
2138
+ imgFake();
2139
+ $('#'+pieID+', .camera_canvas_wrap',camera_thumbs_wrap).animate({opacity:0},0);
2140
+ canvasLoader();
2141
+ if(idNum!=0){
2142
+ nextSlide(idNum);
2143
+ } else {
2144
+ nextSlide(amountSlide);
2145
+ }
2146
+ opts.onStartLoading.call(this);
2147
+ }
2148
+ });
2149
+ }
2150
+
2151
+ if($(pagination).length){
2152
+ $('.camera_pag li',wrap).click(function(){
2153
+ if(!elem.hasClass('camerasliding')){
2154
+ var idNum = parseFloat($(this).index());
2155
+ var curNum = parseFloat($('.cameraSlide.cameracurrent',target).index());
2156
+ if(idNum!=curNum) {
2157
+ clearInterval(u);
2158
+ imgFake();
2159
+ $('#'+pieID+', .camera_canvas_wrap',camera_thumbs_wrap).animate({opacity:0},0);
2160
+ canvasLoader();
2161
+ nextSlide(idNum+1);
2162
+ opts.onStartLoading.call(this);
2163
+ }
2164
+ }
2165
+ });
2166
+ }
2167
+
2168
+ if($(thumbs).length) {
2169
+
2170
+ $('.pix_thumb img',thumbs).click(function(){
2171
+ if(!elem.hasClass('camerasliding')){
2172
+ var idNum = parseFloat($(this).parents('li').index());
2173
+ var curNum = parseFloat($('.cameracurrent',target).index());
2174
+ if(idNum!=curNum) {
2175
+ clearInterval(u);
2176
+ imgFake();
2177
+ $('#'+pieID+', .camera_canvas_wrap',camera_thumbs_wrap).animate({opacity:0},0);
2178
+ $('.pix_thumb',thumbs).removeClass('cameracurrent');
2179
+ $(this).parents('li').addClass('cameracurrent');
2180
+ canvasLoader();
2181
+ nextSlide(idNum+1);
2182
+ thumbnailPos();
2183
+ opts.onStartLoading.call(this);
2184
+ }
2185
+ }
2186
+ });
2187
+
2188
+ $('.camera_thumbs_cont .camera_prevThumbs',camera_thumbs_wrap).hover(function(){
2189
+ $(this).stop(true,false).animate({opacity:1},250);
2190
+ },function(){
2191
+ $(this).stop(true,false).animate({opacity:.7},250);
2192
+ });
2193
+ $('.camera_prevThumbs',camera_thumbs_wrap).click(function(){
2194
+ var sum = 0,
2195
+ wTh = $(thumbs).outerWidth(),
2196
+ offUl = $('ul', thumbs).offset().left,
2197
+ offDiv = $('> div', thumbs).offset().left,
2198
+ ulLeft = offDiv-offUl;
2199
+ $('.camera_visThumb',thumbs).each(function(){
2200
+ var tW = $(this).outerWidth();
2201
+ sum = sum+tW;
2202
+ });
2203
+ if(ulLeft-sum>0){
2204
+ $('ul', thumbs).animate({'margin-left':'-'+(ulLeft-sum)+'px'},500,thumbnailVisible);
2205
+ } else {
2206
+ $('ul', thumbs).animate({'margin-left':0},500,thumbnailVisible);
2207
+ }
2208
+ });
2209
+
2210
+ $('.camera_thumbs_cont .camera_nextThumbs',camera_thumbs_wrap).hover(function(){
2211
+ $(this).stop(true,false).animate({opacity:1},250);
2212
+ },function(){
2213
+ $(this).stop(true,false).animate({opacity:.7},250);
2214
+ });
2215
+ $('.camera_nextThumbs',camera_thumbs_wrap).click(function(){
2216
+ var sum = 0,
2217
+ wTh = $(thumbs).outerWidth(),
2218
+ ulW = $('ul', thumbs).outerWidth(),
2219
+ offUl = $('ul', thumbs).offset().left,
2220
+ offDiv = $('> div', thumbs).offset().left,
2221
+ ulLeft = offDiv-offUl;
2222
+ $('.camera_visThumb',thumbs).each(function(){
2223
+ var tW = $(this).outerWidth();
2224
+ sum = sum+tW;
2225
+ });
2226
+ if(ulLeft+sum+sum<ulW){
2227
+ $('ul', thumbs).animate({'margin-left':'-'+(ulLeft+sum)+'px'},500,thumbnailVisible);
2228
+ } else {
2229
+ $('ul', thumbs).animate({'margin-left':'-'+(ulW-wTh)+'px'},500,thumbnailVisible);
2230
+ }
2231
+ });
2232
+
2233
+ }
2234
+
2235
+
2236
+
2237
+ }
2238
+
2239
+ })(jQuery);
2240
+
2241
+ ;(function($){$.fn.cameraStop = function() {
2242
+ var wrap = $(this),
2243
+ elem = $('.camera_src',wrap),
2244
+ pieID = 'pie_'+wrap.index();
2245
+ elem.addClass('stopped');
2246
+ if($('.camera_showcommands').length) {
2247
+ var camera_thumbs_wrap = $('.camera_thumbs_wrap',wrap);
2248
+ } else {
2249
+ var camera_thumbs_wrap = wrap;
2250
+ }
2251
+ }
2252
+ })(jQuery);
2253
+
2254
+ ;(function($){$.fn.cameraPause = function() {
2255
+ var wrap = $(this);
2256
+ var elem = $('.camera_src',wrap);
2257
+ elem.addClass('paused');
2258
+ }
2259
+ })(jQuery);
2260
+
2261
+ ;(function($){$.fn.cameraResume = function() {
2262
+ var wrap = $(this);
2263
+ var elem = $('.camera_src',wrap);
2264
+ if(typeof autoAdv === 'undefined' || autoAdv!==true){
2265
+ elem.removeClass('paused');
2266
+ }
2267
+ }
2268
+ })(jQuery);
skin/frontend/default/default/js/scripts/camera.min.js ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ // Camera slideshow v1.3.3 - a jQuery slideshow with many effects, transitions, easy to customize, using canvas and mobile ready, based on jQuery 1.4+
2
+ // Copyright (c) 2012 by Manuel Masia - www.pixedelic.com
3
+ // Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
4
+ ;(function(a){a.fn.camera=function(b,c){function e(){if(navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/webOS/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i)){return true}}function H(){var b=a(s).width();a("li",s).removeClass("camera_visThumb");a("li",s).each(function(){var c=a(this).position(),d=a("ul",s).outerWidth(),e=a("ul",s).offset().left,f=a("> div",s).offset().left,g=f-e;if(g>0){a(".camera_prevThumbs",V).removeClass("hideNav")}else{a(".camera_prevThumbs",V).addClass("hideNav")}if(d-g>b){a(".camera_nextThumbs",V).removeClass("hideNav")}else{a(".camera_nextThumbs",V).addClass("hideNav")}var h=c.left,i=c.left+a(this).width();if(i-g<=b&&h-g>=0){a(this).addClass("camera_visThumb")}})}function K(){function d(){t=f.width();if(b.height.indexOf("%")!=-1){var c=Math.round(t/(100/parseFloat(b.height)));if(b.minHeight!=""&&c<parseFloat(b.minHeight)){u=parseFloat(b.minHeight)}else{u=c}f.css({height:u})}else if(b.height=="auto"){u=f.height()}else{u=parseFloat(b.height);f.css({height:u})}a(".camerarelative",k).css({width:t,height:u});a(".imgLoaded",k).each(function(){var c=a(this),d=c.attr("width"),e=c.attr("height"),f=c.index(),g,h,i=c.attr("data-alignment"),j=c.attr("data-portrait");if(typeof i==="undefined"||i===false||i===""){i=b.alignment}if(typeof j==="undefined"||j===false||j===""){j=b.portrait}if(j==false||j=="false"){if(d/e<t/u){var k=t/d;var l=Math.abs(u-e*k)*.5;switch(i){case"topLeft":g=0;break;case"topCenter":g=0;break;case"topRight":g=0;break;case"centerLeft":g="-"+l+"px";break;case"center":g="-"+l+"px";break;case"centerRight":g="-"+l+"px";break;case"bottomLeft":g="-"+l*2+"px";break;case"bottomCenter":g="-"+l*2+"px";break;case"bottomRight":g="-"+l*2+"px";break}c.css({height:e*k,"margin-left":0,"margin-top":g,position:"absolute",visibility:"visible",width:t})}else{var k=u/e;var l=Math.abs(t-d*k)*.5;switch(i){case"topLeft":h=0;break;case"topCenter":h="-"+l+"px";break;case"topRight":h="-"+l*2+"px";break;case"centerLeft":h=0;break;case"center":h="-"+l+"px";break;case"centerRight":h="-"+l*2+"px";break;case"bottomLeft":h=0;break;case"bottomCenter":h="-"+l+"px";break;case"bottomRight":h="-"+l*2+"px";break}c.css({height:u,"margin-left":h,"margin-top":0,position:"absolute",visibility:"visible",width:d*k})}}else{if(d/e<t/u){var k=u/e;var l=Math.abs(t-d*k)*.5;switch(i){case"topLeft":h=0;break;case"topCenter":h=l+"px";break;case"topRight":h=l*2+"px";break;case"centerLeft":h=0;break;case"center":h=l+"px";break;case"centerRight":h=l*2+"px";break;case"bottomLeft":h=0;break;case"bottomCenter":h=l+"px";break;case"bottomRight":h=l*2+"px";break}c.css({height:u,"margin-left":h,"margin-top":0,position:"absolute",visibility:"visible",width:d*k})}else{var k=t/d;var l=Math.abs(u-e*k)*.5;switch(i){case"topLeft":g=0;break;case"topCenter":g=0;break;case"topRight":g=0;break;case"centerLeft":g=l+"px";break;case"center":g=l+"px";break;case"centerRight":g=l+"px";break;case"bottomLeft":g=l*2+"px";break;case"bottomCenter":g=l*2+"px";break;case"bottomRight":g=l*2+"px";break}c.css({height:e*k,"margin-left":0,"margin-top":g,position:"absolute",visibility:"visible",width:t})}}})}var c;if(I==true){clearTimeout(c);c=setTimeout(d,200)}else{d()}I=true}function X(a){for(var b,c,d=a.length;d;b=parseInt(Math.random()*d),c=a[--d],a[d]=a[b],a[b]=c);return a}function Y(a){return Math.ceil(a)==Math.floor(a)}function hb(){if(a(s).length&&!a(r).length){var b=a(s).outerWidth(),c=a("ul > li",s).outerWidth(),d=a("li.cameracurrent",s).length?a("li.cameracurrent",s).position():"",e=a("ul > li",s).length*a("ul > li",s).outerWidth(),g=a("ul",s).offset().left,h=a("> div",s).offset().left,i;if(g<0){i="-"+(h-g)}else{i=h-g}if(gb==true){a("ul",s).width(a("ul > li",s).length*a("ul > li",s).outerWidth());if(a(s).length&&!a(r).lenght){f.css({marginBottom:a(s).outerHeight()})}H();a("ul",s).width(a("ul > li",s).length*a("ul > li",s).outerWidth());if(a(s).length&&!a(r).lenght){f.css({marginBottom:a(s).outerHeight()})}}gb=false;var j=a("li.cameracurrent",s).length?d.left:"",k=a("li.cameracurrent",s).length?d.left+a("li.cameracurrent",s).outerWidth():"";if(j<a("li.cameracurrent",s).outerWidth()){j=0}if(k-i>b){if(j+b<e){a("ul",s).animate({"margin-left":"-"+j+"px"},500,H)}else{a("ul",s).animate({"margin-left":"-"+(a("ul",s).outerWidth()-b)+"px"},500,H)}}else if(j-i<0){a("ul",s).animate({"margin-left":"-"+j+"px"},500,H)}else{a("ul",s).css({"margin-left":"auto","margin-right":"auto"});setTimeout(H,100)}}}function ib(){bb=0;var c=a(".camera_bar_cont",V).width(),d=a(".camera_bar_cont",V).height();if(h!="pie"){switch(U){case"leftToRight":a("#"+i).css({right:c});break;case"rightToLeft":a("#"+i).css({left:c});break;case"topToBottom":a("#"+i).css({bottom:d});break;case"bottomToTop":a("#"+i).css({top:d});break}}else{db.clearRect(0,0,b.pieDiameter,b.pieDiameter)}}function jb(c){j.addClass("camerasliding");R=false;var d=parseFloat(a("div.cameraSlide.cameracurrent",k).index());if(c>0){var l=c-1}else if(d==B-1){var l=0}else{var l=d+1}var m=a(".cameraSlide:eq("+l+")",k);var n=a(".cameraSlide:eq("+(l+1)+")",k).addClass("cameranext");if(d!=l+1){n.hide()}a(".cameraContent",g).fadeOut(600);a(".camera_caption",g).show();a(".camerarelative",m).append(a("> div ",j).eq(l).find("> div.camera_effected"));a(".camera_target_content .cameraContent:eq("+l+")",f).append(a("> div ",j).eq(l).find("> div"));if(!a(".imgLoaded",m).length){var o=v[l];var p=new Image;p.src=o+"?"+(new Date).getTime();m.css("visibility","hidden");m.prepend(a(p).attr("class","imgLoaded").css("visibility","hidden"));var q,w;if(!a(p).get(0).complete||q=="0"||w=="0"||typeof q==="undefined"||q===false||typeof w==="undefined"||w===false){a(".camera_loader",f).delay(500).fadeIn(400);p.onload=function(){q=p.naturalWidth;w=p.naturalHeight;a(p).attr("data-alignment",z[l]).attr("data-portrait",y[l]);a(p).attr("width",q);a(p).attr("height",w);k.find(".cameraSlide_"+l).hide().css("visibility","visible");K();jb(l+1)}}}else{if(v.length>l+1&&!a(".imgLoaded",n).length){var x=v[l+1];var A=new Image;A.src=x+"?"+(new Date).getTime();n.prepend(a(A).attr("class","imgLoaded").css("visibility","hidden"));A.onload=function(){q=A.naturalWidth;w=A.naturalHeight;a(A).attr("data-alignment",z[l+1]).attr("data-portrait",y[l+1]);a(A).attr("width",q);a(A).attr("height",w);K()}}b.onLoaded.call(this);if(a(".camera_loader",f).is(":visible")){a(".camera_loader",f).fadeOut(400)}else{a(".camera_loader",f).css({visibility:"hidden"});a(".camera_loader",f).fadeOut(400,function(){a(".camera_loader",f).css({visibility:"visible"})})}var C=b.rows,D=b.cols,F=1,G=0,H,I,J,N,O,P=new Array("simpleFade","curtainTopLeft","curtainTopRight","curtainBottomLeft","curtainBottomRight","curtainSliceLeft","curtainSliceRight","blindCurtainTopLeft","blindCurtainTopRight","blindCurtainBottomLeft","blindCurtainBottomRight","blindCurtainSliceBottom","blindCurtainSliceTop","stampede","mosaic","mosaicReverse","mosaicRandom","mosaicSpiral","mosaicSpiralReverse","topLeftBottomRight","bottomRightTopLeft","bottomLeftTopRight","topRightBottomLeft","scrollLeft","scrollRight","scrollTop","scrollBottom","scrollHorz");marginLeft=0,marginTop=0,opacityOnGrid=0;if(b.opacityOnGrid==true){opacityOnGrid=0}else{opacityOnGrid=1}var Q=a(" > div",j).eq(l).attr("data-fx");if(e()&&b.mobileFx!=""&&b.mobileFx!="default"){N=b.mobileFx}else{if(typeof Q!=="undefined"&&Q!==false&&Q!=="default"){N=Q}else{N=b.fx}}if(N=="random"){N=X(P);N=N[0]}else{N=N;if(N.indexOf(",")>0){N=N.replace(/ /g,"");N=N.split(",");N=X(N);N=N[0]}}dataEasing=a(" > div",j).eq(l).attr("data-easing");mobileEasing=a(" > div",j).eq(l).attr("data-mobileEasing");if(e()&&b.mobileEasing!=""&&b.mobileEasing!="default"){if(typeof mobileEasing!=="undefined"&&mobileEasing!==false&&mobileEasing!=="default"){O=mobileEasing}else{O=b.mobileEasing}}else{if(typeof dataEasing!=="undefined"&&dataEasing!==false&&dataEasing!=="default"){O=dataEasing}else{O=b.easing}}H=a(" > div",j).eq(l).attr("data-slideOn");if(typeof H!=="undefined"&&H!==false){T=H}else{if(b.slideOn=="random"){var T=new Array("next","prev");T=X(T);T=T[0]}else{T=b.slideOn}}var Y=a(" > div",j).eq(l).attr("data-time");if(typeof Y!=="undefined"&&Y!==false&&Y!==""){I=parseFloat(Y)}else{I=b.time}var Z=a(" > div",j).eq(l).attr("data-transPeriod");if(typeof Z!=="undefined"&&Z!==false&&Z!==""){J=parseFloat(Z)}else{J=b.transPeriod}if(!a(j).hasClass("camerastarted")){N="simpleFade";T="next";O="";J=400;a(j).addClass("camerastarted")}switch(N){case"simpleFade":D=1;C=1;break;case"curtainTopLeft":if(b.slicedCols==0){D=b.cols}else{D=b.slicedCols}C=1;break;case"curtainTopRight":if(b.slicedCols==0){D=b.cols}else{D=b.slicedCols}C=1;break;case"curtainBottomLeft":if(b.slicedCols==0){D=b.cols}else{D=b.slicedCols}C=1;break;case"curtainBottomRight":if(b.slicedCols==0){D=b.cols}else{D=b.slicedCols}C=1;break;case"curtainSliceLeft":if(b.slicedCols==0){D=b.cols}else{D=b.slicedCols}C=1;break;case"curtainSliceRight":if(b.slicedCols==0){D=b.cols}else{D=b.slicedCols}C=1;break;case"blindCurtainTopLeft":if(b.slicedRows==0){C=b.rows}else{C=b.slicedRows}D=1;break;case"blindCurtainTopRight":if(b.slicedRows==0){C=b.rows}else{C=b.slicedRows}D=1;break;case"blindCurtainBottomLeft":if(b.slicedRows==0){C=b.rows}else{C=b.slicedRows}D=1;break;case"blindCurtainBottomRight":if(b.slicedRows==0){C=b.rows}else{C=b.slicedRows}D=1;break;case"blindCurtainSliceTop":if(b.slicedRows==0){C=b.rows}else{C=b.slicedRows}D=1;break;case"blindCurtainSliceBottom":if(b.slicedRows==0){C=b.rows}else{C=b.slicedRows}D=1;break;case"stampede":G="-"+J;break;case"mosaic":G=b.gridDifference;break;case"mosaicReverse":G=b.gridDifference;break;case"mosaicRandom":break;case"mosaicSpiral":G=b.gridDifference;F=1.7;break;case"mosaicSpiralReverse":G=b.gridDifference;F=1.7;break;case"topLeftBottomRight":G=b.gridDifference;F=6;break;case"bottomRightTopLeft":G=b.gridDifference;F=6;break;case"bottomLeftTopRight":G=b.gridDifference;F=6;break;case"topRightBottomLeft":G=b.gridDifference;F=6;break;case"scrollLeft":D=1;C=1;break;case"scrollRight":D=1;C=1;break;case"scrollTop":D=1;C=1;break;case"scrollBottom":D=1;C=1;break;case"scrollHorz":D=1;C=1;break}var _=0;var ab=C*D;var eb=t-Math.floor(t/D)*D;var fb=u-Math.floor(u/C)*C;var gb;var kb;var lb=0;var mb=0;var nb=new Array;var ob=new Array;var pb=new Array;while(_<ab){nb.push(_);ob.push(_);E.append('<div class="cameraappended" style="display:none; overflow:hidden; position:absolute; z-index:1000" />');var qb=a(".cameraappended:eq("+_+")",k);if(N=="scrollLeft"||N=="scrollRight"||N=="scrollTop"||N=="scrollBottom"||N=="scrollHorz"){S.eq(l).clone().show().appendTo(qb)}else{if(T=="next"){S.eq(l).clone().show().appendTo(qb)}else{S.eq(d).clone().show().appendTo(qb)}}if(_%D<eb){gb=1}else{gb=0}if(_%D==0){lb=0}if(Math.floor(_/D)<fb){kb=1}else{kb=0}qb.css({height:Math.floor(u/C+kb+1),left:lb,top:mb,width:Math.floor(t/D+gb+1)});a("> .cameraSlide",qb).css({height:u,"margin-left":"-"+lb+"px","margin-top":"-"+mb+"px",width:t});lb=lb+qb.width()-1;if(_%D==D-1){mb=mb+qb.height()-1}_++}switch(N){case"curtainTopLeft":break;case"curtainBottomLeft":break;case"curtainSliceLeft":break;case"curtainTopRight":nb=nb.reverse();break;case"curtainBottomRight":nb=nb.reverse();break;case"curtainSliceRight":nb=nb.reverse();break;case"blindCurtainTopLeft":break;case"blindCurtainBottomLeft":nb=nb.reverse();break;case"blindCurtainSliceTop":break;case"blindCurtainTopRight":break;case"blindCurtainBottomRight":nb=nb.reverse();break;case"blindCurtainSliceBottom":nb=nb.reverse();break;case"stampede":nb=X(nb);break;case"mosaic":break;case"mosaicReverse":nb=nb.reverse();break;case"mosaicRandom":nb=X(nb);break;case"mosaicSpiral":var rb=C/2,sb,tb,ub,vb=0;for(ub=0;ub<rb;ub++){tb=ub;for(sb=ub;sb<D-ub-1;sb++){pb[vb++]=tb*D+sb}sb=D-ub-1;for(tb=ub;tb<C-ub-1;tb++){pb[vb++]=tb*D+sb}tb=C-ub-1;for(sb=D-ub-1;sb>ub;sb--){pb[vb++]=tb*D+sb}sb=ub;for(tb=C-ub-1;tb>ub;tb--){pb[vb++]=tb*D+sb}}nb=pb;break;case"mosaicSpiralReverse":var rb=C/2,sb,tb,ub,vb=ab-1;for(ub=0;ub<rb;ub++){tb=ub;for(sb=ub;sb<D-ub-1;sb++){pb[vb--]=tb*D+sb}sb=D-ub-1;for(tb=ub;tb<C-ub-1;tb++){pb[vb--]=tb*D+sb}tb=C-ub-1;for(sb=D-ub-1;sb>ub;sb--){pb[vb--]=tb*D+sb}sb=ub;for(tb=C-ub-1;tb>ub;tb--){pb[vb--]=tb*D+sb}}nb=pb;break;case"topLeftBottomRight":for(var tb=0;tb<C;tb++)for(var sb=0;sb<D;sb++){pb.push(sb+tb)}ob=pb;break;case"bottomRightTopLeft":for(var tb=0;tb<C;tb++)for(var sb=0;sb<D;sb++){pb.push(sb+tb)}ob=pb.reverse();break;case"bottomLeftTopRight":for(var tb=C;tb>0;tb--)for(var sb=0;sb<D;sb++){pb.push(sb+tb)}ob=pb;break;case"topRightBottomLeft":for(var tb=0;tb<C;tb++)for(var sb=D;sb>0;sb--){pb.push(sb+tb)}ob=pb;break}a.each(nb,function(c,e){function o(){a(this).addClass("cameraeased");if(a(".cameraeased",k).length>=0){a(s).css({visibility:"visible"})}if(a(".cameraeased",k).length==ab){hb();a(".moveFromLeft, .moveFromRight, .moveFromTop, .moveFromBottom, .fadeIn, .fadeFromLeft, .fadeFromRight, .fadeFromTop, .fadeFromBottom",g).each(function(){a(this).css("visibility","hidden")});S.eq(l).show().css("z-index","999").removeClass("cameranext").addClass("cameracurrent");S.eq(d).css("z-index","1").removeClass("cameracurrent");a(".cameraContent",g).eq(l).addClass("cameracurrent");if(d>=0){a(".cameraContent",g).eq(d).removeClass("cameracurrent")}b.onEndTransition.call(this);if(a("> div",j).eq(l).attr("data-video")!="hide"&&a(".cameraContent.cameracurrent .imgFake",g).length){a(".cameraContent.cameracurrent .imgFake",g).click()}var c=S.eq(l).find(".fadeIn").length;var e=a(".cameraContent",g).eq(l).find(".moveFromLeft, .moveFromRight, .moveFromTop, .moveFromBottom, .fadeIn, .fadeFromLeft, .fadeFromRight, .fadeFromTop, .fadeFromBottom").length;if(c!=0){a(".cameraSlide.cameracurrent .fadeIn",g).each(function(){if(a(this).attr("data-easing")!=""){var b=a(this).attr("data-easing")}else{var b=O}var d=a(this);if(typeof d.attr("data-outerWidth")==="undefined"||d.attr("data-outerWidth")===false||d.attr("data-outerWidth")===""){var e=d.outerWidth();d.attr("data-outerWidth",e)}else{var e=d.attr("data-outerWidth")}if(typeof d.attr("data-outerHeight")==="undefined"||d.attr("data-outerHeight")===false||d.attr("data-outerHeight")===""){var f=d.outerHeight();d.attr("data-outerHeight",f)}else{var f=d.attr("data-outerHeight")}var g=d.position();var h=g.left;var i=g.top;var j=d.attr("class");var k=d.index();var l=d.parents(".camerarelative").outerHeight();var m=d.parents(".camerarelative").outerWidth();if(j.indexOf("fadeIn")!=-1){d.animate({opacity:0},0).css("visibility","visible").delay(I/c*.1*(k-1)).animate({opacity:1},I/c*.15,b)}else{d.css("visibility","visible")}})}a(".cameraContent.cameracurrent",g).show();if(e!=0){a(".cameraContent.cameracurrent .moveFromLeft, .cameraContent.cameracurrent .moveFromRight, .cameraContent.cameracurrent .moveFromTop, .cameraContent.cameracurrent .moveFromBottom, .cameraContent.cameracurrent .fadeIn, .cameraContent.cameracurrent .fadeFromLeft, .cameraContent.cameracurrent .fadeFromRight, .cameraContent.cameracurrent .fadeFromTop, .cameraContent.cameracurrent .fadeFromBottom",g).each(function(){if(a(this).attr("data-easing")!=""){var b=a(this).attr("data-easing")}else{var b=O}var c=a(this);var d=c.position();var f=d.left;var g=d.top;var h=c.attr("class");var i=c.index();var j=c.outerHeight();if(h.indexOf("moveFromLeft")!=-1){c.css({left:"-"+t+"px",right:"auto"});c.css("visibility","visible").delay(I/e*.1*(i-1)).animate({left:d.left},I/e*.15,b)}else if(h.indexOf("moveFromRight")!=-1){c.css({left:t+"px",right:"auto"});c.css("visibility","visible").delay(I/e*.1*(i-1)).animate({left:d.left},I/e*.15,b)}else if(h.indexOf("moveFromTop")!=-1){c.css({top:"-"+u+"px",bottom:"auto"});c.css("visibility","visible").delay(I/e*.1*(i-1)).animate({top:d.top},I/e*.15,b,function(){c.css({top:"auto",bottom:0})})}else if(h.indexOf("moveFromBottom")!=-1){c.css({top:u+"px",bottom:"auto"});c.css("visibility","visible").delay(I/e*.1*(i-1)).animate({top:d.top},I/e*.15,b)}else if(h.indexOf("fadeFromLeft")!=-1){c.animate({opacity:0},0).css({left:"-"+t+"px",right:"auto"});c.css("visibility","visible").delay(I/e*.1*(i-1)).animate({left:d.left,opacity:1},I/e*.15,b)}else if(h.indexOf("fadeFromRight")!=-1){c.animate({opacity:0},0).css({left:t+"px",right:"auto"});c.css("visibility","visible").delay(I/e*.1*(i-1)).animate({left:d.left,opacity:1},I/e*.15,b)}else if(h.indexOf("fadeFromTop")!=-1){c.animate({opacity:0},0).css({top:"-"+u+"px",bottom:"auto"});c.css("visibility","visible").delay(I/e*.1*(i-1)).animate({top:d.top,opacity:1},I/e*.15,b,function(){c.css({top:"auto",bottom:0})})}else if(h.indexOf("fadeFromBottom")!=-1){c.animate({opacity:0},0).css({bottom:"-"+j+"px"});c.css("visibility","visible").delay(I/e*.1*(i-1)).animate({bottom:"0",opacity:1},I/e*.15,b)}else if(h.indexOf("fadeIn")!=-1){c.animate({opacity:0},0).css("visibility","visible").delay(I/e*.1*(i-1)).animate({opacity:1},I/e*.15,b)}else{c.css("visibility","visible")}})}a(".cameraappended",k).remove();j.removeClass("camerasliding");S.eq(d).hide();var f=a(".camera_bar_cont",V).width(),m=a(".camera_bar_cont",V).height(),o;if(h!="pie"){o=.05}else{o=.005}a("#"+i).animate({opacity:b.loaderOpacity},200);L=setInterval(function(){if(j.hasClass("stopped")){clearInterval(L)}if(h!="pie"){if(bb<=1.002&&!j.hasClass("stopped")&&!j.hasClass("paused")&&!j.hasClass("hovered")){bb=bb+o}else if(bb<=1&&(j.hasClass("stopped")||j.hasClass("paused")||j.hasClass("stopped")||j.hasClass("hovered"))){bb=bb}else{if(!j.hasClass("stopped")&&!j.hasClass("paused")&&!j.hasClass("hovered")){clearInterval(L);W();a("#"+i).animate({opacity:0},200,function(){clearTimeout(M);M=setTimeout(ib,n);jb();b.onStartLoading.call(this)})}}switch(U){case"leftToRight":a("#"+i).animate({right:f-f*bb},I*o,"linear");break;case"rightToLeft":a("#"+i).animate({left:f-f*bb},I*o,"linear");break;case"topToBottom":a("#"+i).animate({bottom:m-m*bb},I*o,"linear");break;case"bottomToTop":a("#"+i).animate({bottom:m-m*bb},I*o,"linear");break}}else{cb=bb;db.clearRect(0,0,b.pieDiameter,b.pieDiameter);db.globalCompositeOperation="destination-over";db.beginPath();db.arc(b.pieDiameter/2,b.pieDiameter/2,b.pieDiameter/2-b.loaderStroke,0,Math.PI*2,false);db.lineWidth=b.loaderStroke;db.strokeStyle=b.loaderBgColor;db.stroke();db.closePath();db.globalCompositeOperation="source-over";db.beginPath();db.arc(b.pieDiameter/2,b.pieDiameter/2,b.pieDiameter/2-b.loaderStroke,0,Math.PI*2*cb,false);db.lineWidth=b.loaderStroke-b.loaderPadding*2;db.strokeStyle=b.loaderColor;db.stroke();db.closePath();if(bb<=1.002&&!j.hasClass("stopped")&&!j.hasClass("paused")&&!j.hasClass("hovered")){bb=bb+o}else if(bb<=1&&(j.hasClass("stopped")||j.hasClass("paused")||j.hasClass("hovered"))){bb=bb}else{if(!j.hasClass("stopped")&&!j.hasClass("paused")&&!j.hasClass("hovered")){clearInterval(L);W();a("#"+i+", .camera_canvas_wrap",V).animate({opacity:0},200,function(){clearTimeout(M);M=setTimeout(ib,n);jb();b.onStartLoading.call(this)})}}}},I*o)}}if(e%D<eb){gb=1}else{gb=0}if(e%D==0){lb=0}if(Math.floor(e/D)<fb){kb=1}else{kb=0}switch(N){case"simpleFade":height=u;width=t;opacityOnGrid=0;break;case"curtainTopLeft":height=0,width=Math.floor(t/D+gb+1),marginTop="-"+Math.floor(u/C+kb+1)+"px";break;case"curtainTopRight":height=0,width=Math.floor(t/D+gb+1),marginTop="-"+Math.floor(u/C+kb+1)+"px";break;case"curtainBottomLeft":height=0,width=Math.floor(t/D+gb+1),marginTop=Math.floor(u/C+kb+1)+"px";break;case"curtainBottomRight":height=0,width=Math.floor(t/D+gb+1),marginTop=Math.floor(u/C+kb+1)+"px";break;case"curtainSliceLeft":height=0,width=Math.floor(t/D+gb+1);if(e%2==0){marginTop=Math.floor(u/C+kb+1)+"px"}else{marginTop="-"+Math.floor(u/C+kb+1)+"px"}break;case"curtainSliceRight":height=0,width=Math.floor(t/D+gb+1);if(e%2==0){marginTop=Math.floor(u/C+kb+1)+"px"}else{marginTop="-"+Math.floor(u/C+kb+1)+"px"}break;case"blindCurtainTopLeft":height=Math.floor(u/C+kb+1),width=0,marginLeft="-"+Math.floor(t/D+gb+1)+"px";break;case"blindCurtainTopRight":height=Math.floor(u/C+kb+1),width=0,marginLeft=Math.floor(t/D+gb+1)+"px";break;case"blindCurtainBottomLeft":height=Math.floor(u/C+kb+1),width=0,marginLeft="-"+Math.floor(t/D+gb+1)+"px";break;case"blindCurtainBottomRight":height=Math.floor(u/C+kb+1),width=0,marginLeft=Math.floor(t/D+gb+1)+"px";break;case"blindCurtainSliceBottom":height=Math.floor(u/C+kb+1),width=0;if(e%2==0){marginLeft="-"+Math.floor(t/D+gb+1)+"px"}else{marginLeft=Math.floor(t/D+gb+1)+"px"}break;case"blindCurtainSliceTop":height=Math.floor(u/C+kb+1),width=0;if(e%2==0){marginLeft="-"+Math.floor(t/D+gb+1)+"px"}else{marginLeft=Math.floor(t/D+gb+1)+"px"}break;case"stampede":height=0;width=0;marginLeft=t*.2*(c%D-(D-Math.floor(D/2)))+"px";marginTop=u*.2*(Math.floor(c/D)+1-(C-Math.floor(C/2)))+"px";break;case"mosaic":height=0;width=0;break;case"mosaicReverse":height=0;width=0;marginLeft=Math.floor(t/D+gb+1)+"px";marginTop=Math.floor(u/C+kb+1)+"px";break;case"mosaicRandom":height=0;width=0;marginLeft=Math.floor(t/D+gb+1)*.5+"px";marginTop=Math.floor(u/C+kb+1)*.5+"px";break;case"mosaicSpiral":height=0;width=0;marginLeft=Math.floor(t/D+gb+1)*.5+"px";marginTop=Math.floor(u/C+kb+1)*.5+"px";break;case"mosaicSpiralReverse":height=0;width=0;marginLeft=Math.floor(t/D+gb+1)*.5+"px";marginTop=Math.floor(u/C+kb+1)*.5+"px";break;case"topLeftBottomRight":height=0;width=0;break;case"bottomRightTopLeft":height=0;width=0;marginLeft=Math.floor(t/D+gb+1)+"px";marginTop=Math.floor(u/C+kb+1)+"px";break;case"bottomLeftTopRight":height=0;width=0;marginLeft=0;marginTop=Math.floor(u/C+kb+1)+"px";break;case"topRightBottomLeft":height=0;width=0;marginLeft=Math.floor(t/D+gb+1)+"px";marginTop=0;break;case"scrollRight":height=u;width=t;marginLeft=-t;break;case"scrollLeft":height=u;width=t;marginLeft=t;break;case"scrollTop":height=u;width=t;marginTop=u;break;case"scrollBottom":height=u;width=t;marginTop=-u;break;case"scrollHorz":height=u;width=t;if(d==0&&l==B-1){marginLeft=-t}else if(d<l||d==B-1&&l==0){marginLeft=t}else{marginLeft=-t}break}var m=a(".cameraappended:eq("+e+")",k);if(typeof L!=="undefined"){clearInterval(L);clearTimeout(M);M=setTimeout(ib,J+G)}if(a(r).length){a(".camera_pag li",f).removeClass("cameracurrent");a(".camera_pag li",f).eq(l).addClass("cameracurrent")}if(a(s).length){a("li",s).removeClass("cameracurrent");a("li",s).eq(l).addClass("cameracurrent");a("li",s).not(".cameracurrent").find("img").animate({opacity:.5},0);a("li.cameracurrent img",s).animate({opacity:1},0);a("li",s).hover(function(){a("img",this).stop(true,false).animate({opacity:1},150)},function(){if(!a(this).hasClass("cameracurrent")){a("img",this).stop(true,false).animate({opacity:.5},150)}})}var n=parseFloat(J)+parseFloat(G);if(N=="scrollLeft"||N=="scrollRight"||N=="scrollTop"||N=="scrollBottom"||N=="scrollHorz"){b.onStartTransition.call(this);n=0;m.delay((J+G)/ab*ob[c]*F*.5).css({display:"block",height:height,"margin-left":marginLeft,"margin-top":marginTop,width:width}).animate({height:Math.floor(u/C+kb+1),"margin-top":0,"margin-left":0,width:Math.floor(t/D+gb+1)},J-G,O,o);S.eq(d).delay((J+G)/ab*ob[c]*F*.5).animate({"margin-left":marginLeft*-1,"margin-top":marginTop*-1},J-G,O,function(){a(this).css({"margin-top":0,"margin-left":0})})}else{b.onStartTransition.call(this);n=parseFloat(J)+parseFloat(G);if(T=="next"){m.delay((J+G)/ab*ob[c]*F*.5).css({display:"block",height:height,"margin-left":marginLeft,"margin-top":marginTop,width:width,opacity:opacityOnGrid}).animate({height:Math.floor(u/C+kb+1),"margin-top":0,"margin-left":0,opacity:1,width:Math.floor(t/D+gb+1)},J-G,O,o)}else{S.eq(l).show().css("z-index","999").addClass("cameracurrent");S.eq(d).css("z-index","1").removeClass("cameracurrent");a(".cameraContent",g).eq(l).addClass("cameracurrent");a(".cameraContent",g).eq(d).removeClass("cameracurrent");m.delay((J+G)/ab*ob[c]*F*.5).css({display:"block",height:Math.floor(u/C+kb+1),"margin-top":0,"margin-left":0,opacity:1,width:Math.floor(t/D+gb+1)}).animate({height:height,"margin-left":marginLeft,"margin-top":marginTop,width:width,opacity:opacityOnGrid},J-G,O,o)}}})}}var d={alignment:"center",autoAdvance:true,mobileAutoAdvance:true,barDirection:"leftToRight",barPosition:"bottom",cols:6,easing:"easeInOutExpo",mobileEasing:"",fx:"random",mobileFx:"",gridDifference:250,height:"50%",imagePath:"images/",hover:true,loader:"pie",loaderColor:"#eeeeee",loaderBgColor:"#222222",loaderOpacity:.8,loaderPadding:2,loaderStroke:7,minHeight:"200px",navigation:true,navigationHover:true,mobileNavHover:true,opacityOnGrid:false,overlayer:true,pagination:true,playPause:true,pauseOnClick:true,pieDiameter:38,piePosition:"rightTop",portrait:false,rows:4,slicedCols:12,slicedRows:8,slideOn:"random",thumbnails:false,time:7e3,transPeriod:1500,onEndTransition:function(){},onLoaded:function(){},onStartLoading:function(){},onStartTransition:function(){}};var b=a.extend({},d,b);var f=a(this).addClass("camera_wrap");f.wrapInner('<div class="camera_src" />').wrapInner('<div class="camera_fakehover" />');var g=a(".camera_fakehover",f);g.append('<div class="camera_target"></div>');if(b.overlayer==true){g.append('<div class="camera_overlayer"></div>')}g.append('<div class="camera_target_content"></div>');var h;if(b.loader=="pie"&&a.browser.msie&&a.browser.version<9){h="bar"}else{h=b.loader}if(h=="pie"){g.append('<div class="camera_pie"></div>')}else if(h=="bar"){g.append('<div class="camera_bar"></div>')}else{g.append('<div class="camera_bar" style="display:none"></div>')}if(b.playPause==true){g.append('<div class="camera_commands"></div>')}if(b.navigation==true){g.append('<div class="camera_prev"><span></span></div>').append('<div class="camera_next"><span></span></div>')}if(b.thumbnails==true){f.append('<div class="camera_thumbs_cont" />')}if(b.thumbnails==true&&b.pagination!=true){a(".camera_thumbs_cont",f).wrap("<div />").wrap('<div class="camera_thumbs" />').wrap("<div />").wrap('<div class="camera_command_wrap" />')}if(b.pagination==true){f.append('<div class="camera_pag"></div>')}f.append('<div class="camera_loader"></div>');a(".camera_caption",f).each(function(){a(this).wrapInner("<div />")});var i="pie_"+f.index(),j=a(".camera_src",f),k=a(".camera_target",f),l=a(".camera_target_content",f),m=a(".camera_pie",f),n=a(".camera_bar",f),o=a(".camera_prev",f),p=a(".camera_next",f),q=a(".camera_commands",f),r=a(".camera_pag",f),s=a(".camera_thumbs_cont",f);var t,u;var v=new Array;a("> div",j).each(function(){v.push(a(this).attr("data-src"))});var w=new Array;a("> div",j).each(function(){if(a(this).attr("data-link")){w.push(a(this).attr("data-link"))}else{w.push("")}});var x=new Array;a("> div",j).each(function(){if(a(this).attr("data-target")){x.push(a(this).attr("data-target"))}else{x.push("")}});var y=new Array;a("> div",j).each(function(){if(a(this).attr("data-portrait")){y.push(a(this).attr("data-portrait"))}else{y.push("")}});var z=new Array;a("> div",j).each(function(){if(a(this).attr("data-alignment")){z.push(a(this).attr("data-alignment"))}else{z.push("")}});var A=new Array;a("> div",j).each(function(){if(a(this).attr("data-thumb")){A.push(a(this).attr("data-thumb"))}else{A.push("")}});var B=v.length;a(l).append('<div class="cameraContents" />');var C;for(C=0;C<B;C++){a(".cameraContents",l).append('<div class="cameraContent" />');if(w[C]!=""){var D=a("> div ",j).eq(C).attr("data-box");if(typeof D!=="undefined"&&D!==false&&D!=""){D='data-box="'+a("> div ",j).eq(C).attr("data-box")+'"'}else{D=""}a(".camera_target_content .cameraContent:eq("+C+")",f).append('<a class="camera_link" href="'+w[C]+'" '+D+' target="'+x[C]+'"></a>')}}a(".camera_caption",f).each(function(){var b=a(this).parent().index(),c=f.find(".cameraContent").eq(b);a(this).appendTo(c)});k.append('<div class="cameraCont" />');var E=a(".cameraCont",f);var F;for(F=0;F<B;F++){E.append('<div class="cameraSlide cameraSlide_'+F+'" />');var G=a("> div:eq("+F+")",j);k.find(".cameraSlide_"+F).clone(G)}a(window).bind("load resize pageshow",function(){hb();H()});E.append('<div class="cameraSlide cameraSlide_'+F+'" />');var I;f.show();var t=k.width();var u=k.height();var J;a(window).bind("resize pageshow",function(){if(I==true){K()}a("ul",s).animate({"margin-top":0},0,hb);if(!j.hasClass("paused")){j.addClass("paused");if(a(".camera_stop",V).length){a(".camera_stop",V).hide();a(".camera_play",V).show();if(h!="none"){a("#"+i).hide()}}else{if(h!="none"){a("#"+i).hide()}}clearTimeout(J);J=setTimeout(function(){j.removeClass("paused");if(a(".camera_play",V).length){a(".camera_play",V).hide();a(".camera_stop",V).show();if(h!="none"){a("#"+i).fadeIn()}}else{if(h!="none"){a("#"+i).fadeIn()}}},1500)}});var L,M;var N,O,P,q,r;var Q,R;if(e()&&b.mobileAutoAdvance!=""){O=b.mobileAutoAdvance}else{O=b.autoAdvance}if(O==false){j.addClass("paused")}if(e()&&b.mobileNavHover!=""){P=b.mobileNavHover}else{P=b.navigationHover}if(j.length!=0){var S=a(".cameraSlide",k);S.wrapInner('<div class="camerarelative" />');var T;var U=b.barDirection;var V=f;a("iframe",g).each(function(){var b=a(this);var c=b.attr("src");b.attr("data-src",c);var d=b.parent().index(".camera_src > div");a(".camera_target_content .cameraContent:eq("+d+")",f).append(b)});function W(){a("iframe",g).each(function(){a(".camera_caption",g).show();var c=a(this);var d=c.attr("data-src");c.attr("src",d);var e=b.imagePath+"blank.gif";var h=new Image;h.src=e;if(b.height.indexOf("%")!=-1){var i=Math.round(t/(100/parseFloat(b.height)));if(b.minHeight!=""&&i<parseFloat(b.minHeight)){u=parseFloat(b.minHeight)}else{u=i}}else if(b.height=="auto"){u=f.height()}else{u=parseFloat(b.height)}c.after(a(h).attr({"class":"imgFake",width:t,height:u}));var j=c.clone();c.remove();a(h).bind("click",function(){if(a(this).css("position")=="absolute"){a(this).remove();if(d.indexOf("vimeo")!=-1||d.indexOf("youtube")!=-1){if(d.indexOf("?")!=-1){autoplay="&autoplay=1"}else{autoplay="?autoplay=1"}}else if(d.indexOf("dailymotion")!=-1){if(d.indexOf("?")!=-1){autoplay="&autoPlay=1"}else{autoplay="?autoPlay=1"}}j.attr("src",d+autoplay);R=true}else{a(this).css({position:"absolute",top:0,left:0,zIndex:10}).after(j);j.css({position:"absolute",top:0,left:0,zIndex:9})}})})}W();if(b.hover==true){if(!e()){g.hover(function(){j.addClass("hovered")},function(){j.removeClass("hovered")})}}if(P==true){a(o,f).animate({opacity:0},0);a(p,f).animate({opacity:0},0);a(q,f).animate({opacity:0},0);if(e()){g.live("vmouseover",function(){a(o,f).animate({opacity:1},200);a(p,f).animate({opacity:1},200);a(q,f).animate({opacity:1},200)});g.live("vmouseout",function(){a(o,f).delay(500).animate({opacity:0},200);a(p,f).delay(500).animate({opacity:0},200);a(q,f).delay(500).animate({opacity:0},200)})}else{g.hover(function(){a(o,f).animate({opacity:1},200);a(p,f).animate({opacity:1},200);a(q,f).animate({opacity:1},200)},function(){a(o,f).animate({opacity:0},200);a(p,f).animate({opacity:0},200);a(q,f).animate({opacity:0},200)})}}a(".camera_stop",V).live("click",function(){O=false;j.addClass("paused");if(a(".camera_stop",V).length){a(".camera_stop",V).hide();a(".camera_play",V).show();if(h!="none"){a("#"+i).hide()}}else{if(h!="none"){a("#"+i).hide()}}});a(".camera_play",V).live("click",function(){O=true;j.removeClass("paused");if(a(".camera_play",V).length){a(".camera_play",V).hide();a(".camera_stop",V).show();if(h!="none"){a("#"+i).show()}}else{if(h!="none"){a("#"+i).show()}}});if(b.pauseOnClick==true){a(".camera_target_content",g).mouseup(function(){O=false;j.addClass("paused");a(".camera_stop",V).hide();a(".camera_play",V).show();a("#"+i).hide()})}a(".cameraContent, .imgFake",g).hover(function(){Q=true},function(){Q=false});a(".cameraContent, .imgFake",g).bind("click",function(){if(R==true&&Q==true){O=false;a(".camera_caption",g).hide();j.addClass("paused");a(".camera_stop",V).hide();a(".camera_play",V).show();a("#"+i).hide()}})}if(h!="pie"){n.append('<span class="camera_bar_cont" />');a(".camera_bar_cont",n).animate({opacity:b.loaderOpacity},0).css({position:"absolute",left:0,right:0,top:0,bottom:0,"background-color":b.loaderBgColor}).append('<span id="'+i+'" />');a("#"+i).animate({opacity:0},0);var Z=a("#"+i);Z.css({position:"absolute","background-color":b.loaderColor});switch(b.barPosition){case"left":n.css({right:"auto",width:b.loaderStroke});break;case"right":n.css({left:"auto",width:b.loaderStroke});break;case"top":n.css({bottom:"auto",height:b.loaderStroke});break;case"bottom":n.css({top:"auto",height:b.loaderStroke});break}switch(U){case"leftToRight":Z.css({left:0,right:0,top:b.loaderPadding,bottom:b.loaderPadding});break;case"rightToLeft":Z.css({left:0,right:0,top:b.loaderPadding,bottom:b.loaderPadding});break;case"topToBottom":Z.css({left:b.loaderPadding,right:b.loaderPadding,top:0,bottom:0});break;case"bottomToTop":Z.css({left:b.loaderPadding,right:b.loaderPadding,top:0,bottom:0});break}}else{m.append('<canvas id="'+i+'"></canvas>');var _;var Z=document.getElementById(i);Z.setAttribute("width",b.pieDiameter);Z.setAttribute("height",b.pieDiameter);var ab;switch(b.piePosition){case"leftTop":ab="left:0; top:0;";break;case"rightTop":ab="right:0; top:0;";break;case"leftBottom":ab="left:0; bottom:0;";break;case"rightBottom":ab="right:0; bottom:0;";break}Z.setAttribute("style","position:absolute; z-index:1002; "+ab);var bb;var cb;if(Z&&Z.getContext){var db=Z.getContext("2d");db.rotate(Math.PI*(3/2));db.translate(-b.pieDiameter,0)}}if(h=="none"||O==false){a("#"+i).hide();a(".camera_canvas_wrap",V).hide()}if(a(r).length){a(r).append('<ul class="camera_pag_ul" />');var eb;for(eb=0;eb<B;eb++){a(".camera_pag_ul",f).append('<li class="pag_nav_'+eb+'" style="position:relative; z-index:1002"><span><span>'+eb+"</span></span></li>")}a(".camera_pag_ul li",f).hover(function(){a(this).addClass("camera_hover");if(a(".camera_thumb",this).length){var b=a(".camera_thumb",this).outerWidth(),c=a(".camera_thumb",this).outerHeight(),d=a(this).outerWidth();a(".camera_thumb",this).show().css({top:"-"+c+"px",left:"-"+(b-d)/2+"px"}).animate({opacity:1,"margin-top":"-3px"},200);a(".thumb_arrow",this).show().animate({opacity:1,"margin-top":"-3px"},200)}},function(){a(this).removeClass("camera_hover");a(".camera_thumb",this).animate({"margin-top":"-20px",opacity:0},200,function(){a(this).css({marginTop:"5px"}).hide()});a(".thumb_arrow",this).animate({"margin-top":"-20px",opacity:0},200,function(){a(this).css({marginTop:"5px"}).hide()})})}if(a(s).length){var fb;if(!a(r).length){a(s).append("<div />");a(s).before('<div class="camera_prevThumbs hideNav"><div></div></div>').before('<div class="camera_nextThumbs hideNav"><div></div></div>');a("> div",s).append("<ul />");a.each(A,function(b,c){if(a("> div",j).eq(b).attr("data-thumb")!=""){var d=a("> div",j).eq(b).attr("data-thumb"),e=new Image;e.src=d;a("ul",s).append('<li class="pix_thumb pix_thumb_'+b+'" />');a("li.pix_thumb_"+b,s).append(a(e).attr("class","camera_thumb"))}})}else{a.each(A,function(b,c){if(a("> div",j).eq(b).attr("data-thumb")!=""){var d=a("> div",j).eq(b).attr("data-thumb"),e=new Image;e.src=d;a("li.pag_nav_"+b,r).append(a(e).attr("class","camera_thumb").css({position:"absolute"}).animate({opacity:0},0));a("li.pag_nav_"+b+" > img",r).after('<div class="thumb_arrow" />');a("li.pag_nav_"+b+" > .thumb_arrow",r).animate({opacity:0},0)}});f.css({marginBottom:a(r).outerHeight()})}}else if(!a(s).length&&a(r).length){f.css({marginBottom:a(r).outerHeight()})}var gb=true;if(a(q).length){a(q).append('<div class="camera_play"></div>').append('<div class="camera_stop"></div>');if(O==true){a(".camera_play",V).hide();a(".camera_stop",V).show()}else{a(".camera_stop",V).hide();a(".camera_play",V).show()}}ib();a(".moveFromLeft, .moveFromRight, .moveFromTop, .moveFromBottom, .fadeIn, .fadeFromLeft, .fadeFromRight, .fadeFromTop, .fadeFromBottom",g).each(function(){a(this).css("visibility","hidden")});b.onStartLoading.call(this);jb();if(a(o).length){a(o).click(function(){if(!j.hasClass("camerasliding")){var c=parseFloat(a(".cameraSlide.cameracurrent",k).index());clearInterval(L);W();a("#"+i+", .camera_canvas_wrap",f).animate({opacity:0},0);ib();if(c!=0){jb(c)}else{jb(B)}b.onStartLoading.call(this)}})}if(a(p).length){a(p).click(function(){if(!j.hasClass("camerasliding")){var c=parseFloat(a(".cameraSlide.cameracurrent",k).index());clearInterval(L);W();a("#"+i+", .camera_canvas_wrap",V).animate({opacity:0},0);ib();if(c==B-1){jb(1)}else{jb(c+2)}b.onStartLoading.call(this)}})}if(e()){g.bind("swipeleft",function(c){if(!j.hasClass("camerasliding")){var d=parseFloat(a(".cameraSlide.cameracurrent",k).index());clearInterval(L);W();a("#"+i+", .camera_canvas_wrap",V).animate({opacity:0},0);ib();if(d==B-1){jb(1)}else{jb(d+2)}b.onStartLoading.call(this)}});g.bind("swiperight",function(c){if(!j.hasClass("camerasliding")){var d=parseFloat(a(".cameraSlide.cameracurrent",k).index());clearInterval(L);W();a("#"+i+", .camera_canvas_wrap",V).animate({opacity:0},0);ib();if(d!=0){jb(d)}else{jb(B)}b.onStartLoading.call(this)}})}if(a(r).length){a(".camera_pag li",f).click(function(){if(!j.hasClass("camerasliding")){var c=parseFloat(a(this).index());var d=parseFloat(a(".cameraSlide.cameracurrent",k).index());if(c!=d){clearInterval(L);W();a("#"+i+", .camera_canvas_wrap",V).animate({opacity:0},0);ib();jb(c+1);b.onStartLoading.call(this)}}})}if(a(s).length){a(".pix_thumb img",s).click(function(){if(!j.hasClass("camerasliding")){var c=parseFloat(a(this).parents("li").index());var d=parseFloat(a(".cameracurrent",k).index());if(c!=d){clearInterval(L);W();a("#"+i+", .camera_canvas_wrap",V).animate({opacity:0},0);a(".pix_thumb",s).removeClass("cameracurrent");a(this).parents("li").addClass("cameracurrent");ib();jb(c+1);hb();b.onStartLoading.call(this)}}});a(".camera_thumbs_cont .camera_prevThumbs",V).hover(function(){a(this).stop(true,false).animate({opacity:1},250)},function(){a(this).stop(true,false).animate({opacity:.7},250)});a(".camera_prevThumbs",V).click(function(){var b=0,c=a(s).outerWidth(),d=a("ul",s).offset().left,e=a("> div",s).offset().left,f=e-d;a(".camera_visThumb",s).each(function(){var c=a(this).outerWidth();b=b+c});if(f-b>0){a("ul",s).animate({"margin-left":"-"+(f-b)+"px"},500,H)}else{a("ul",s).animate({"margin-left":0},500,H)}});a(".camera_thumbs_cont .camera_nextThumbs",V).hover(function(){a(this).stop(true,false).animate({opacity:1},250)},function(){a(this).stop(true,false).animate({opacity:.7},250)});a(".camera_nextThumbs",V).click(function(){var b=0,c=a(s).outerWidth(),d=a("ul",s).outerWidth(),e=a("ul",s).offset().left,f=a("> div",s).offset().left,g=f-e;a(".camera_visThumb",s).each(function(){var c=a(this).outerWidth();b=b+c});if(g+b+b<d){a("ul",s).animate({"margin-left":"-"+(g+b)+"px"},500,H)}else{a("ul",s).animate({"margin-left":"-"+(d-c)+"px"},500,H)}})}}})(jQuery);(function(a){a.fn.cameraStop=function(){var b=a(this),c=a(".camera_src",b),d="pie_"+b.index();c.addClass("stopped");if(a(".camera_showcommands").length){var e=a(".camera_thumbs_wrap",b)}else{var e=b}}})(jQuery);(function(a){a.fn.cameraPause=function(){var b=a(this);var c=a(".camera_src",b);c.addClass("paused")}})(jQuery);(function(a){a.fn.cameraResume=function(){var b=a(this);var c=a(".camera_src",b);if(typeof autoAdv==="undefined"||autoAdv!==true){c.removeClass("paused")}}})(jQuery);
skin/frontend/default/default/js/scripts/jquery.easing.1.3.js ADDED
@@ -0,0 +1,205 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
3
+ *
4
+ * Uses the built in easing capabilities added In jQuery 1.1
5
+ * to offer multiple easing options
6
+ *
7
+ * TERMS OF USE - jQuery Easing
8
+ *
9
+ * Open source under the BSD License.
10
+ *
11
+ * Copyright © 2008 George McGinley Smith
12
+ * All rights reserved.
13
+ *
14
+ * Redistribution and use in source and binary forms, with or without modification,
15
+ * are permitted provided that the following conditions are met:
16
+ *
17
+ * Redistributions of source code must retain the above copyright notice, this list of
18
+ * conditions and the following disclaimer.
19
+ * Redistributions in binary form must reproduce the above copyright notice, this list
20
+ * of conditions and the following disclaimer in the documentation and/or other materials
21
+ * provided with the distribution.
22
+ *
23
+ * Neither the name of the author nor the names of contributors may be used to endorse
24
+ * or promote products derived from this software without specific prior written permission.
25
+ *
26
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
27
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
28
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
29
+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
30
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
31
+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
32
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
33
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
34
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
35
+ *
36
+ */
37
+
38
+ // t: current time, b: begInnIng value, c: change In value, d: duration
39
+ jQuery.easing['jswing'] = jQuery.easing['swing'];
40
+
41
+ jQuery.extend( jQuery.easing,
42
+ {
43
+ def: 'easeOutQuad',
44
+ swing: function (x, t, b, c, d) {
45
+ //alert(jQuery.easing.default);
46
+ return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
47
+ },
48
+ easeInQuad: function (x, t, b, c, d) {
49
+ return c*(t/=d)*t + b;
50
+ },
51
+ easeOutQuad: function (x, t, b, c, d) {
52
+ return -c *(t/=d)*(t-2) + b;
53
+ },
54
+ easeInOutQuad: function (x, t, b, c, d) {
55
+ if ((t/=d/2) < 1) return c/2*t*t + b;
56
+ return -c/2 * ((--t)*(t-2) - 1) + b;
57
+ },
58
+ easeInCubic: function (x, t, b, c, d) {
59
+ return c*(t/=d)*t*t + b;
60
+ },
61
+ easeOutCubic: function (x, t, b, c, d) {
62
+ return c*((t=t/d-1)*t*t + 1) + b;
63
+ },
64
+ easeInOutCubic: function (x, t, b, c, d) {
65
+ if ((t/=d/2) < 1) return c/2*t*t*t + b;
66
+ return c/2*((t-=2)*t*t + 2) + b;
67
+ },
68
+ easeInQuart: function (x, t, b, c, d) {
69
+ return c*(t/=d)*t*t*t + b;
70
+ },
71
+ easeOutQuart: function (x, t, b, c, d) {
72
+ return -c * ((t=t/d-1)*t*t*t - 1) + b;
73
+ },
74
+ easeInOutQuart: function (x, t, b, c, d) {
75
+ if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
76
+ return -c/2 * ((t-=2)*t*t*t - 2) + b;
77
+ },
78
+ easeInQuint: function (x, t, b, c, d) {
79
+ return c*(t/=d)*t*t*t*t + b;
80
+ },
81
+ easeOutQuint: function (x, t, b, c, d) {
82
+ return c*((t=t/d-1)*t*t*t*t + 1) + b;
83
+ },
84
+ easeInOutQuint: function (x, t, b, c, d) {
85
+ if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
86
+ return c/2*((t-=2)*t*t*t*t + 2) + b;
87
+ },
88
+ easeInSine: function (x, t, b, c, d) {
89
+ return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
90
+ },
91
+ easeOutSine: function (x, t, b, c, d) {
92
+ return c * Math.sin(t/d * (Math.PI/2)) + b;
93
+ },
94
+ easeInOutSine: function (x, t, b, c, d) {
95
+ return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
96
+ },
97
+ easeInExpo: function (x, t, b, c, d) {
98
+ return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
99
+ },
100
+ easeOutExpo: function (x, t, b, c, d) {
101
+ return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
102
+ },
103
+ easeInOutExpo: function (x, t, b, c, d) {
104
+ if (t==0) return b;
105
+ if (t==d) return b+c;
106
+ if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
107
+ return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
108
+ },
109
+ easeInCirc: function (x, t, b, c, d) {
110
+ return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
111
+ },
112
+ easeOutCirc: function (x, t, b, c, d) {
113
+ return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
114
+ },
115
+ easeInOutCirc: function (x, t, b, c, d) {
116
+ if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
117
+ return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
118
+ },
119
+ easeInElastic: function (x, t, b, c, d) {
120
+ var s=1.70158;var p=0;var a=c;
121
+ if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
122
+ if (a < Math.abs(c)) { a=c; var s=p/4; }
123
+ else var s = p/(2*Math.PI) * Math.asin (c/a);
124
+ return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
125
+ },
126
+ easeOutElastic: function (x, t, b, c, d) {
127
+ var s=1.70158;var p=0;var a=c;
128
+ if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
129
+ if (a < Math.abs(c)) { a=c; var s=p/4; }
130
+ else var s = p/(2*Math.PI) * Math.asin (c/a);
131
+ return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
132
+ },
133
+ easeInOutElastic: function (x, t, b, c, d) {
134
+ var s=1.70158;var p=0;var a=c;
135
+ if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5);
136
+ if (a < Math.abs(c)) { a=c; var s=p/4; }
137
+ else var s = p/(2*Math.PI) * Math.asin (c/a);
138
+ if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
139
+ return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
140
+ },
141
+ easeInBack: function (x, t, b, c, d, s) {
142
+ if (s == undefined) s = 1.70158;
143
+ return c*(t/=d)*t*((s+1)*t - s) + b;
144
+ },
145
+ easeOutBack: function (x, t, b, c, d, s) {
146
+ if (s == undefined) s = 1.70158;
147
+ return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
148
+ },
149
+ easeInOutBack: function (x, t, b, c, d, s) {
150
+ if (s == undefined) s = 1.70158;
151
+ if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
152
+ return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
153
+ },
154
+ easeInBounce: function (x, t, b, c, d) {
155
+ return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
156
+ },
157
+ easeOutBounce: function (x, t, b, c, d) {
158
+ if ((t/=d) < (1/2.75)) {
159
+ return c*(7.5625*t*t) + b;
160
+ } else if (t < (2/2.75)) {
161
+ return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
162
+ } else if (t < (2.5/2.75)) {
163
+ return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
164
+ } else {
165
+ return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
166
+ }
167
+ },
168
+ easeInOutBounce: function (x, t, b, c, d) {
169
+ if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
170
+ return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
171
+ }
172
+ });
173
+
174
+ /*
175
+ *
176
+ * TERMS OF USE - EASING EQUATIONS
177
+ *
178
+ * Open source under the BSD License.
179
+ *
180
+ * Copyright © 2001 Robert Penner
181
+ * All rights reserved.
182
+ *
183
+ * Redistribution and use in source and binary forms, with or without modification,
184
+ * are permitted provided that the following conditions are met:
185
+ *
186
+ * Redistributions of source code must retain the above copyright notice, this list of
187
+ * conditions and the following disclaimer.
188
+ * Redistributions in binary form must reproduce the above copyright notice, this list
189
+ * of conditions and the following disclaimer in the documentation and/or other materials
190
+ * provided with the distribution.
191
+ *
192
+ * Neither the name of the author nor the names of contributors may be used to endorse
193
+ * or promote products derived from this software without specific prior written permission.
194
+ *
195
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
196
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
197
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
198
+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
199
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
200
+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
201
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
202
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
203
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
204
+ *
205
+ */
skin/frontend/default/default/js/scripts/jquery.mobile.customized.min.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ // jQuery Mobile framework customized for Camera slideshow, made by
2
+ // 'jquery.mobile.define.js',
3
+ // 'jquery.ui.widget.js',
4
+ // 'jquery.mobile.widget.js',
5
+ // 'jquery.mobile.media.js',
6
+ // 'jquery.mobile.support.js',
7
+ // 'jquery.mobile.vmouse.js',
8
+ // 'jquery.mobile.event.js',
9
+ // 'jquery.mobile.core.js'
10
+ window.define=function(){Array.prototype.slice.call(arguments).pop()(window.jQuery)};define(["jquery"],function(a){(function(a,b){if(a.cleanData){var c=a.cleanData;a.cleanData=function(b){for(var d=0,e;(e=b[d])!=null;d++){a(e).triggerHandler("remove")}c(b)}}else{var d=a.fn.remove;a.fn.remove=function(b,c){return this.each(function(){if(!c){if(!b||a.filter(b,[this]).length){a("*",this).add([this]).each(function(){a(this).triggerHandler("remove")})}}return d.call(a(this),b,c)})}}a.widget=function(b,c,d){var e=b.split(".")[0],f;b=b.split(".")[1];f=e+"-"+b;if(!d){d=c;c=a.Widget}a.expr[":"][f]=function(c){return!!a.data(c,b)};a[e]=a[e]||{};a[e][b]=function(a,b){if(arguments.length){this._createWidget(a,b)}};var g=new c;g.options=a.extend(true,{},g.options);a[e][b].prototype=a.extend(true,g,{namespace:e,widgetName:b,widgetEventPrefix:a[e][b].prototype.widgetEventPrefix||b,widgetBaseClass:f},d);a.widget.bridge(b,a[e][b])};a.widget.bridge=function(c,d){a.fn[c]=function(e){var f=typeof e==="string",g=Array.prototype.slice.call(arguments,1),h=this;e=!f&&g.length?a.extend.apply(null,[true,e].concat(g)):e;if(f&&e.charAt(0)==="_"){return h}if(f){this.each(function(){var d=a.data(this,c);if(!d){throw"cannot call methods on "+c+" prior to initialization; "+"attempted to call method '"+e+"'"}if(!a.isFunction(d[e])){throw"no such method '"+e+"' for "+c+" widget instance"}var f=d[e].apply(d,g);if(f!==d&&f!==b){h=f;return false}})}else{this.each(function(){var b=a.data(this,c);if(b){b.option(e||{})._init()}else{a.data(this,c,new d(e,this))}})}return h}};a.Widget=function(a,b){if(arguments.length){this._createWidget(a,b)}};a.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(b,c){a.data(c,this.widgetName,this);this.element=a(c);this.options=a.extend(true,{},this.options,this._getCreateOptions(),b);var d=this;this.element.bind("remove."+this.widgetName,function(){d.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){var b={};if(a.metadata){b=a.metadata.get(element)[this.widgetName]}return b},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled "+"ui-state-disabled")},widget:function(){return this.element},option:function(c,d){var e=c;if(arguments.length===0){return a.extend({},this.options)}if(typeof c==="string"){if(d===b){return this.options[c]}e={};e[c]=d}this._setOptions(e);return this},_setOptions:function(b){var c=this;a.each(b,function(a,b){c._setOption(a,b)});return this},_setOption:function(a,b){this.options[a]=b;if(a==="disabled"){this.widget()[b?"addClass":"removeClass"](this.widgetBaseClass+"-disabled"+" "+"ui-state-disabled").attr("aria-disabled",b)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(b,c,d){var e=this.options[b];c=a.Event(c);c.type=(b===this.widgetEventPrefix?b:this.widgetEventPrefix+b).toLowerCase();d=d||{};if(c.originalEvent){for(var f=a.event.props.length,g;f;){g=a.event.props[--f];c[g]=c.originalEvent[g]}}this.element.trigger(c,d);return!(a.isFunction(e)&&e.call(this.element[0],c,d)===false||c.isDefaultPrevented())}}})(jQuery)});define(["jquery","./jquery.ui.widget"],function(a){(function(a,b){a.widget("mobile.widget",{_createWidget:function(){a.Widget.prototype._createWidget.apply(this,arguments);this._trigger("init")},_getCreateOptions:function(){var c=this.element,d={};a.each(this.options,function(a){var e=c.jqmData(a.replace(/[A-Z]/g,function(a){return"-"+a.toLowerCase()}));if(e!==b){d[a]=e}});return d},enhanceWithin:function(b){var c=a.mobile.closestPageData(a(b)),d=c&&c.keepNativeSelector()||"";a(this.options.initSelector,b).not(d)[this.widgetName]()}})})(jQuery)});define(["jquery","./jquery.mobile.core"],function(a){(function(a,b){var c=a(window),d=a("html");a.mobile.media=function(){var b={},c=a("<div id='jquery-mediatest'>"),e=a("<body>").append(c);return function(a){if(!(a in b)){var f=document.createElement("style"),g="@media "+a+" { #jquery-mediatest { position:absolute; } }";f.type="text/css";if(f.styleSheet){f.styleSheet.cssText=g}else{f.appendChild(document.createTextNode(g))}d.prepend(e).prepend(f);b[a]=c.css("position")==="absolute";e.add(f).remove()}return b[a]}}()})(jQuery)});define(["jquery","./jquery.mobile.media"],function(a){(function(a,b){function m(){var b=location.protocol+"//"+location.host+location.pathname+"ui-dir/",d=a("head base"),e=null,f="",g,h;if(!d.length){d=e=a("<base>",{href:b}).appendTo("head")}else{f=d.attr("href")}g=a("<a href='testurl' />").prependTo(c);h=g[0].href;d[0].href=f||location.pathname;if(e){e.remove()}return h.indexOf(b)===0}function l(){var b="transform-3d";return k("perspective","10px","moz")||a.mobile.media("(-"+e.join("-"+b+"),(-")+"-"+b+"),("+b+")")}function k(a,b,c){var d=document.createElement("div"),f=function(a){return a.charAt(0).toUpperCase()+a.substr(1)},g=function(a){return"-"+a.charAt(0).toLowerCase()+a.substr(1)+"-"},h=function(c){var e=g(c)+a+": "+b+";",h=f(c),i=h+f(a);d.setAttribute("style",e);if(!!d.style[i]){k=true}},j=c?[c]:e,k;for(i=0;i<j.length;i++){h(j[i])}return!!k}function j(a){var c=a.charAt(0).toUpperCase()+a.substr(1),f=(a+" "+e.join(c+" ")+c).split(" ");for(var g in f){if(d[f[g]]!==b){return true}}}var c=a("<body>").prependTo("html"),d=c[0].style,e=["Webkit","Moz","O"],f="palmGetResource"in window,g=window.operamini&&{}.toString.call(window.operamini)==="[object OperaMini]",h=window.blackberry;a.extend(a.mobile,{browser:{}});a.mobile.browser.ie=function(){var a=3,b=document.createElement("div"),c=b.all||[];while(b.innerHTML="<!--[if gt IE "+ ++a+"]><br><![endif]-->",c[0]){}return a>4?a:!a}();a.extend(a.support,{orientation:"orientation"in window&&"onorientationchange"in window,touch:"ontouchend"in document,cssTransitions:"WebKitTransitionEvent"in window||k("transition","height 100ms linear"),pushState:"pushState"in history&&"replaceState"in history,mediaquery:a.mobile.media("only all"),cssPseudoElement:!!j("content"),touchOverflow:!!j("overflowScrolling"),cssTransform3d:l(),boxShadow:!!j("boxShadow")&&!h,scrollTop:("pageXOffset"in window||"scrollTop"in document.documentElement||"scrollTop"in c[0])&&!f&&!g,dynamicBaseTag:m()});c.remove();var n=function(){var a=window.navigator.userAgent;return a.indexOf("Nokia")>-1&&(a.indexOf("Symbian/3")>-1||a.indexOf("Series60/5")>-1)&&a.indexOf("AppleWebKit")>-1&&a.match(/(BrowserNG|NokiaBrowser)\/7\.[0-3]/)}();a.mobile.ajaxBlacklist=window.blackberry&&!window.WebKitPoint||g||n;if(n){a(function(){a("head link[rel='stylesheet']").attr("rel","alternate stylesheet").attr("rel","stylesheet")})}if(!a.support.boxShadow){a("html").addClass("ui-mobile-nosupport-boxshadow")}})(jQuery)});define(["jquery"],function(a){(function(a,b,c,d){function O(b){var c=b.substr(1);return{setup:function(d,f){if(!M(this)){a.data(this,e,{})}var g=a.data(this,e);g[b]=true;k[b]=(k[b]||0)+1;if(k[b]===1){t.bind(c,H)}a(this).bind(c,N);if(s){k["touchstart"]=(k["touchstart"]||0)+1;if(k["touchstart"]===1){t.bind("touchstart",I).bind("touchend",L).bind("touchmove",K).bind("scroll",J)}}},teardown:function(d,f){--k[b];if(!k[b]){t.unbind(c,H)}if(s){--k["touchstart"];if(!k["touchstart"]){t.unbind("touchstart",I).unbind("touchmove",K).unbind("touchend",L).unbind("scroll",J)}}var g=a(this),h=a.data(this,e);if(h){h[b]=false}g.unbind(c,N);if(!M(this)){g.removeData(e)}}}}function N(){}function M(b){var c=a.data(b,e),d;if(c){for(d in c){if(c[d]){return true}}}return false}function L(a){if(r){return}B();var b=y(a.target),c;G("vmouseup",a,b);if(!o){var d=G("vclick",a,b);if(d&&d.isDefaultPrevented()){c=w(a).changedTouches[0];p.push({touchID:v,x:c.clientX,y:c.clientY});q=true}}G("vmouseout",a,b);o=false;E()}function K(b){if(r){return}var c=w(b).touches[0],d=o,e=a.vmouse.moveDistanceThreshold;o=o||Math.abs(c.pageX-m)>e||Math.abs(c.pageY-n)>e,flags=y(b.target);if(o&&!d){G("vmousecancel",b,flags)}G("vmousemove",b,flags);E()}function J(a){if(r){return}if(!o){G("vmousecancel",a,y(a.target))}o=true;E()}function I(b){var c=w(b).touches,d,e;if(c&&c.length===1){d=b.target;e=y(d);if(e.hasVirtualBinding){v=u++;a.data(d,f,v);F();D();o=false;var g=w(b).touches[0];m=g.pageX;n=g.pageY;G("vmouseover",b,e);G("vmousedown",b,e)}}}function H(b){var c=a.data(b.target,f);if(!q&&(!v||v!==c)){var d=G("v"+b.type,b);if(d){if(d.isDefaultPrevented()){b.preventDefault()}if(d.isPropagationStopped()){b.stopPropagation()}if(d.isImmediatePropagationStopped()){b.stopImmediatePropagation()}}}}function G(b,c,d){var e;if(d&&d[b]||!d&&z(c.target,b)){e=x(c,b);a(c.target).trigger(e)}return e}function F(){if(l){clearTimeout(l);l=0}}function E(){F();l=setTimeout(function(){l=0;C()},a.vmouse.resetTimerDuration)}function D(){A()}function C(){v=0;p.length=0;q=false;B()}function B(){r=true}function A(){r=false}function z(b,c){var d;while(b){d=a.data(b,e);if(d&&(!c||d[c])){return b}b=b.parentNode}return null}function y(b){var c={},d,f;while(b){d=a.data(b,e);for(f in d){if(d[f]){c[f]=c.hasVirtualBinding=true}}b=b.parentNode}return c}function x(b,c){var e=b.type,f,g,i,k,l,m,n,o;b=a.Event(b);b.type=c;f=b.originalEvent;g=a.event.props;if(e.search(/mouse/)>-1){g=j}if(f){for(n=g.length,k;n;){k=g[--n];b[k]=f[k]}}if(e.search(/mouse(down|up)|click/)>-1&&!b.which){b.which=1}if(e.search(/^touch/)!==-1){i=w(f);e=i.touches;l=i.changedTouches;m=e&&e.length?e[0]:l&&l.length?l[0]:d;if(m){for(o=0,len=h.length;o<len;o++){k=h[o];b[k]=m[k]}}}return b}function w(a){while(a&&typeof a.originalEvent!=="undefined"){a=a.originalEvent}return a}var e="virtualMouseBindings",f="virtualTouchID",g="vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split(" "),h="clientX clientY pageX pageY screenX screenY".split(" "),i=a.event.mouseHooks?a.event.mouseHooks.props:[],j=a.event.props.concat(i),k={},l=0,m=0,n=0,o=false,p=[],q=false,r=false,s="addEventListener"in c,t=a(c),u=1,v=0;a.vmouse={moveDistanceThreshold:10,clickDistanceThreshold:10,resetTimerDuration:1500};for(var P=0;P<g.length;P++){a.event.special[g[P]]=O(g[P])}if(s){c.addEventListener("click",function(b){var c=p.length,d=b.target,e,g,h,i,j,k;if(c){e=b.clientX;g=b.clientY;threshold=a.vmouse.clickDistanceThreshold;h=d;while(h){for(i=0;i<c;i++){j=p[i];k=0;if(h===d&&Math.abs(j.x-e)<threshold&&Math.abs(j.y-g)<threshold||a.data(h,f)===j.touchID){b.preventDefault();b.stopPropagation();return}}h=h.parentNode}}},true)}})(jQuery,window,document)});define(["jquery","./jquery.mobile.core","./jquery.mobile.media","./jquery.mobile.support","./jquery.mobile.vmouse"],function(a){(function(a,b,c){function i(b,c,d){var e=d.type;d.type=c;a.event.handle.call(b,d);d.type=e}a.each(("touchstart touchmove touchend orientationchange throttledresize "+"tap taphold swipe swipeleft swiperight scrollstart scrollstop").split(" "),function(b,c){a.fn[c]=function(a){return a?this.bind(c,a):this.trigger(c)};a.attrFn[c]=true});var d=a.support.touch,e="touchmove scroll",f=d?"touchstart":"mousedown",g=d?"touchend":"mouseup",h=d?"touchmove":"mousemove";a.event.special.scrollstart={enabled:true,setup:function(){function g(a,c){d=c;i(b,d?"scrollstart":"scrollstop",a)}var b=this,c=a(b),d,f;c.bind(e,function(b){if(!a.event.special.scrollstart.enabled){return}if(!d){g(b,true)}clearTimeout(f);f=setTimeout(function(){g(b,false)},50)})}};a.event.special.tap={setup:function(){var b=this,c=a(b);c.bind("vmousedown",function(d){function k(a){j();if(e==a.target){i(b,"tap",a)}}function j(){h();c.unbind("vclick",k).unbind("vmouseup",h);a(document).unbind("vmousecancel",j)}function h(){clearTimeout(g)}if(d.which&&d.which!==1){return false}var e=d.target,f=d.originalEvent,g;c.bind("vmouseup",h).bind("vclick",k);a(document).bind("vmousecancel",j);g=setTimeout(function(){i(b,"taphold",a.Event("taphold"))},750)})}};a.event.special.swipe={scrollSupressionThreshold:10,durationThreshold:1e3,horizontalDistanceThreshold:30,verticalDistanceThreshold:75,setup:function(){var b=this,d=a(b);d.bind(f,function(b){function j(b){if(!f){return}var c=b.originalEvent.touches?b.originalEvent.touches[0]:b;i={time:(new Date).getTime(),coords:[c.pageX,c.pageY]};if(Math.abs(f.coords[0]-i.coords[0])>a.event.special.swipe.scrollSupressionThreshold){b.preventDefault()}}var e=b.originalEvent.touches?b.originalEvent.touches[0]:b,f={time:(new Date).getTime(),coords:[e.pageX,e.pageY],origin:a(b.target)},i;d.bind(h,j).one(g,function(b){d.unbind(h,j);if(f&&i){if(i.time-f.time<a.event.special.swipe.durationThreshold&&Math.abs(f.coords[0]-i.coords[0])>a.event.special.swipe.horizontalDistanceThreshold&&Math.abs(f.coords[1]-i.coords[1])<a.event.special.swipe.verticalDistanceThreshold){f.origin.trigger("swipe").trigger(f.coords[0]>i.coords[0]?"swipeleft":"swiperight")}}f=i=c})})}};(function(a,b){function j(){var a=e();if(a!==f){f=a;c.trigger("orientationchange")}}var c=a(b),d,e,f,g,h,i={0:true,180:true};if(a.support.orientation){g=a.mobile.media("all and (orientation: landscape)");h=i[b.orientation];if(g&&h||!g&&!h){i={"-90":true,90:true}}}a.event.special.orientationchange=d={setup:function(){if(a.support.orientation&&a.mobile.orientationChangeEnabled){return false}f=e();c.bind("throttledresize",j)},teardown:function(){if(a.support.orientation&&a.mobile.orientationChangeEnabled){return false}c.unbind("throttledresize",j)},add:function(a){var b=a.handler;a.handler=function(a){a.orientation=e();return b.apply(this,arguments)}}};a.event.special.orientationchange.orientation=e=function(){var c=true,d=document.documentElement;if(a.support.orientation){c=i[b.orientation]}else{c=d&&d.clientWidth/d.clientHeight<1.1}return c?"portrait":"landscape"}})(jQuery,b);(function(){a.event.special.throttledresize={setup:function(){a(this).bind("resize",c)},teardown:function(){a(this).unbind("resize",c)}};var b=250,c=function(){f=(new Date).getTime();g=f-d;if(g>=b){d=f;a(this).trigger("throttledresize")}else{if(e){clearTimeout(e)}e=setTimeout(c,b-g)}},d=0,e,f,g})();a.each({scrollstop:"scrollstart",taphold:"tap",swipeleft:"swipe",swiperight:"swipe"},function(b,c){a.event.special[b]={setup:function(){a(this).bind(c,a.noop)}}})})(jQuery,this)});define(["jquery","../external/requirejs/text!../version.txt","./jquery.mobile.widget"],function(a,b){(function(a,c,d){var e={};a.mobile=a.extend({},{version:b,ns:"",subPageUrlKey:"ui-page",activePageClass:"ui-page-active",activeBtnClass:"ui-btn-active",focusClass:"ui-focus",ajaxEnabled:true,hashListeningEnabled:true,linkBindingEnabled:true,defaultPageTransition:"fade",maxTransitionWidth:false,minScrollBack:10,touchOverflowEnabled:false,defaultDialogTransition:"pop",loadingMessage:"loading",pageLoadErrorMessage:"Error Loading Page",loadingMessageTextVisible:false,loadingMessageTheme:"a",pageLoadErrorMessageTheme:"e",autoInitializePage:true,pushStateEnabled:true,orientationChangeEnabled:true,gradeA:function(){return a.support.mediaquery||a.mobile.browser.ie&&a.mobile.browser.ie>=7},keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91},silentScroll:function(b){if(a.type(b)!=="number"){b=a.mobile.defaultHomeScroll}a.event.special.scrollstart.enabled=false;setTimeout(function(){c.scrollTo(0,b);a(document).trigger("silentscroll",{x:0,y:b})},20);setTimeout(function(){a.event.special.scrollstart.enabled=true},150)},nsNormalizeDict:e,nsNormalize:function(b){if(!b){return}return e[b]||(e[b]=a.camelCase(a.mobile.ns+b))},getInheritedTheme:function(a,b){var c=a[0],d="",e=/ui-(bar|body)-([a-z])\b/,f,g;while(c){var f=c.className||"";if((g=e.exec(f))&&(d=g[2])){break}c=c.parentNode}return d||b||"a"},closestPageData:function(a){return a.closest(':jqmData(role="page"), :jqmData(role="dialog")').data("page")}},a.mobile);a.fn.jqmData=function(b,c){var d;if(typeof b!="undefined"){d=this.data(b?a.mobile.nsNormalize(b):b,c)}return d};a.jqmData=function(b,c,d){var e;if(typeof c!="undefined"){e=a.data(b,c?a.mobile.nsNormalize(c):c,d)}return e};a.fn.jqmRemoveData=function(b){return this.removeData(a.mobile.nsNormalize(b))};a.jqmRemoveData=function(b,c){return a.removeData(b,a.mobile.nsNormalize(c))};a.fn.removeWithDependents=function(){a.removeWithDependents(this)};a.removeWithDependents=function(b){var c=a(b);(c.jqmData("dependents")||a()).remove();c.remove()};a.fn.addDependents=function(b){a.addDependents(a(this),b)};a.addDependents=function(b,c){var d=a(b).jqmData("dependents")||a();a(b).jqmData("dependents",a.merge(d,c))};a.fn.getEncodedText=function(){return a("<div/>").text(a(this).text()).html()};var f=a.find,g=/:jqmData\(([^)]*)\)/g;a.find=function(b,c,d,e){b=b.replace(g,"[data-"+(a.mobile.ns||"")+"$1]");return f.call(this,b,c,d,e)};a.extend(a.find,f);a.find.matches=function(b,c){return a.find(b,null,null,c)};a.find.matchesSelector=function(b,c){return a.find(c,null,null,[b]).length>0}})(jQuery,this)})