wp_theme_grayscale2014 - Version 1.0.0

Version Notes

first release

Download this release

Release Info

Developer WebAndPeople
Extension wp_theme_grayscale2014
Version 1.0.0
Comparing to
See all releases


Version 1.0.0

Files changed (147) hide show
  1. app/code/community/WP/SmartProductImage/Block/About.php +203 -0
  2. app/code/community/WP/SmartProductImage/Block/Js.php +97 -0
  3. app/code/community/WP/SmartProductImage/Block/System/Config/Form/Field/Imagesizes.php +16 -0
  4. app/code/community/WP/SmartProductImage/Helper/Data.php +6 -0
  5. app/code/community/WP/SmartProductImage/etc/config.xml +89 -0
  6. app/code/community/WP/SmartProductImage/etc/system.xml +77 -0
  7. app/code/local/Mage/Catalog/Block/Product/Manufacturer.php +14 -0
  8. app/code/local/Mage/Catalog/Block/Product/Popular.php +100 -0
  9. app/code/local/Mage/Catalog/Block/Product/Promo.php +100 -0
  10. app/code/local/WP/BackToTopButton/Block/About.php +203 -0
  11. app/code/local/WP/BackToTopButton/Block/System/Config/Form/Field/Array/Abstract.php +184 -0
  12. app/code/local/WP/BackToTopButton/Block/System/Config/Form/Field/Array/Regexceptions.php +15 -0
  13. app/code/local/WP/BackToTopButton/Block/Toggle.php +32 -0
  14. app/code/local/WP/BackToTopButton/Helper/Data.php +67 -0
  15. app/code/local/WP/BackToTopButton/etc/config.xml +86 -0
  16. app/code/local/WP/BackToTopButton/etc/system.xml +97 -0
  17. app/code/local/WP/CustomMenu/Block/About.php +203 -0
  18. app/code/local/WP/CustomMenu/Block/Navigation.php +386 -0
  19. app/code/local/WP/CustomMenu/Block/Toggle.php +33 -0
  20. app/code/local/WP/CustomMenu/Block/Topmenu.php +16 -0
  21. app/code/local/WP/CustomMenu/Helper/Data.php +126 -0
  22. app/code/local/WP/CustomMenu/controllers/AjaxmenucontentController.php +10 -0
  23. app/code/local/WP/CustomMenu/controllers/AjaxmobilemenucontentController.php +10 -0
  24. app/code/local/WP/CustomMenu/etc/config.xml +125 -0
  25. app/code/local/WP/CustomMenu/etc/system.xml +240 -0
  26. app/code/local/WP/SmartCatalog/Block/About.php +203 -0
  27. app/code/local/WP/SmartCatalog/Block/Toggle.php +24 -0
  28. app/code/local/WP/SmartCatalog/Helper/Data.php +42 -0
  29. app/code/local/WP/SmartCatalog/Model/Observer.php +20 -0
  30. app/code/local/WP/SmartCatalog/etc/config.xml +108 -0
  31. app/code/local/WP/SmartCatalog/etc/system.xml +135 -0
  32. app/code/local/WP/ThemeGrayscale2014/Block/About.php +203 -0
  33. app/code/local/WP/ThemeGrayscale2014/Helper/Data.php +6 -0
  34. app/code/local/WP/ThemeGrayscale2014/etc/config.xml +76 -0
  35. app/code/local/WP/ThemeGrayscale2014/etc/system.xml +59 -0
  36. app/design/frontend/default/default/layout/webandpeople/backtotopbutton.xml +6 -0
  37. app/design/frontend/default/default/layout/webandpeople/custommenu.xml +6 -0
  38. app/design/frontend/default/default/layout/webandpeople/smartcatalog.xml +22 -0
  39. app/design/frontend/default/default/layout/webandpeople/smartproductimage.xml +14 -0
  40. app/design/frontend/default/default/template/webandpeople/backtotopbutton/button.phtml +16 -0
  41. app/design/frontend/default/default/template/webandpeople/custommenu/menucontent.phtml +12 -0
  42. app/design/frontend/default/default/template/webandpeople/custommenu/top.phtml +59 -0
  43. app/design/frontend/default/default/template/webandpeople/smartcatalog/list-home.phtml +66 -0
  44. app/design/frontend/default/default/template/webandpeople/smartcatalog/list.phtml +139 -0
  45. app/design/frontend/default/default/template/webandpeople/smartproductimage/js.phtml +66 -0
  46. app/design/frontend/default/grayscale/layout/local.xml +373 -0
  47. app/design/frontend/default/grayscale/locale/en_US/translate.csv +1 -0
  48. app/design/frontend/default/grayscale/template/catalog/navigation/top.phtml +45 -0
  49. app/design/frontend/default/grayscale/template/catalog/product/home.phtml +57 -0
  50. app/design/frontend/default/grayscale/template/catalog/product/list.phtml +152 -0
  51. app/design/frontend/default/grayscale/template/catalog/product/popular.phtml +37 -0
  52. app/design/frontend/default/grayscale/template/catalog/product/tabs_cat.phtml +25 -0
  53. app/design/frontend/default/grayscale/template/catalog/product/view.phtml +164 -0
  54. app/design/frontend/default/grayscale/template/catalog/product/view/addto.phtml +39 -0
  55. app/design/frontend/default/grayscale/template/catalog/product/view/single_top.phtml +19 -0
  56. app/design/frontend/default/grayscale/template/catalog/product/view/single_top_btn.phtml +25 -0
  57. app/design/frontend/default/grayscale/template/checkout/cart/sidebar_top.phtml +22 -0
  58. app/design/frontend/default/grayscale/template/checkout/onepage/login.phtml +118 -0
  59. app/design/frontend/default/grayscale/template/customer/form/login.phtml +93 -0
  60. app/design/frontend/default/grayscale/template/directory/currency.phtml +44 -0
  61. app/design/frontend/default/grayscale/template/easytabs/catalogproductrelated.phtml +91 -0
  62. app/design/frontend/default/grayscale/template/easytabs/catalogproductview.phtml +160 -0
  63. app/design/frontend/default/grayscale/template/page/html/designby.phtml +1 -0
  64. app/design/frontend/default/grayscale/template/page/html/footer.phtml +40 -0
  65. app/design/frontend/default/grayscale/template/page/html/head.phtml +51 -0
  66. app/design/frontend/default/grayscale/template/page/html/header.phtml +50 -0
  67. app/design/frontend/default/grayscale/template/page/template/alinks.phtml +43 -0
  68. app/design/frontend/default/grayscale/template/page/template/clinks.phtml +43 -0
  69. app/design/frontend/default/grayscale/template/persistent/checkout/onepage/login.phtml +149 -0
  70. app/design/frontend/default/grayscale/template/persistent/customer/form/login.phtml +90 -0
  71. app/design/frontend/default/grayscale/template/webandpeople/smartcatalog/list-new.phtml +66 -0
  72. app/design/frontend/default/grayscale/template/webandpeople/smartcatalog/list-rate.phtml +59 -0
  73. app/design/frontend/default/grayscale/template/webandpeople/smartcatalog/list-short.phtml +36 -0
  74. app/etc/modules/WP_BackToTopButton.xml +9 -0
  75. app/etc/modules/WP_CustomMenu.xml +9 -0
  76. app/etc/modules/WP_SmartCatalog.xml +9 -0
  77. app/etc/modules/WP_SmartProductImage.xml +8 -0
  78. app/etc/modules/WP_ThemeGrayscale2014.xml +9 -0
  79. js/webandpeople/jquery/backtotopbutton/jquery-noconflict.js +1 -0
  80. js/webandpeople/jquery/backtotopbutton/jquery.min.js +2 -0
  81. js/webandpeople/jquery/smartcatalog/jquery-noconflict.js +1 -0
  82. js/webandpeople/jquery/smartcatalog/jquery.min.js +2 -0
  83. js/webandpeople/jquery_plugins/backtotopbutton/jquery-noconflict.js +1 -0
  84. js/webandpeople/jquery_plugins/backtotopbutton/waypoints.js +520 -0
  85. js/webandpeople/jquery_plugins/smartcatalog/jquery-noconflict.js +1 -0
  86. js/webandpeople/jquery_plugins/smartcatalog/jquery.actual.js +96 -0
  87. js/webandpeople/jquery_plugins/smartcatalog/jquery.debouncedresize.js +51 -0
  88. media/template/free_responsive_magento_template_grayscale_2014.jpg +0 -0
  89. media/template/free_responsive_magento_template_grayscale_full_width.jpg +0 -0
  90. media/template/grayscale_full_width_free_magento_theme.jpg +0 -0
  91. media/template/magento_template.jpg +0 -0
  92. media/template/magento_template_custom_menu.jpg +0 -0
  93. media/template/magento_theme.jpg +0 -0
  94. media/template/web_experiment_magento_templates.jpg +0 -0
  95. media/template/web_experiment_premium_magento_templates.jpg +0 -0
  96. package.xml +415 -0
  97. skin/frontend/default/default/css/webandpeople/backtotopbutton/backtotopbutton.css +33 -0
  98. skin/frontend/default/default/css/webandpeople/custommenu/custommenu.css +396 -0
  99. skin/frontend/default/default/css/webandpeople/smartcatalog/smartcatalog.css +75 -0
  100. skin/frontend/default/default/images/webandpeople/smartcatalog/loader.gif +0 -0
  101. skin/frontend/default/default/js/webandpeople/custommenu/custommenu.js +263 -0
  102. skin/frontend/default/default/js/webandpeople/smartcatalog/jquery.smartCatalog.js +156 -0
  103. skin/frontend/default/grayscale/css/color.css +64 -0
  104. skin/frontend/default/grayscale/css/media-480.css +378 -0
  105. skin/frontend/default/grayscale/css/media-800.css +376 -0
  106. skin/frontend/default/grayscale/css/media-small.css +396 -0
  107. skin/frontend/default/grayscale/css/skin.css +2105 -0
  108. skin/frontend/default/grayscale/css/slider.css +200 -0
  109. skin/frontend/default/grayscale/css/styles-ie.css +136 -0
  110. skin/frontend/default/grayscale/css/styles.css +2977 -0
  111. skin/frontend/default/grayscale/css/webandpeople/backtotopbutton/backtotopbutton.css +39 -0
  112. skin/frontend/default/grayscale/css/webandpeople/custommenu/custommenu.css +383 -0
  113. skin/frontend/default/grayscale/css/webandpeople/smartcatalog/smartcatalog.css +75 -0
  114. skin/frontend/default/grayscale/favicon.ico +0 -0
  115. skin/frontend/default/grayscale/images/btn.png +0 -0
  116. skin/frontend/default/grayscale/images/btn_cart.png +0 -0
  117. skin/frontend/default/grayscale/images/gift-message-collapse.gif +0 -0
  118. skin/frontend/default/grayscale/images/gift-message-expand.gif +0 -0
  119. skin/frontend/default/grayscale/images/i_asc_arrow.gif +0 -0
  120. skin/frontend/default/grayscale/images/i_desc_arrow.gif +0 -0
  121. skin/frontend/default/grayscale/images/i_pager-next.gif +0 -0
  122. skin/frontend/default/grayscale/images/i_pager-prev.gif +0 -0
  123. skin/frontend/default/grayscale/images/i_print.gif +0 -0
  124. skin/frontend/default/grayscale/images/i_rss-big.png +0 -0
  125. skin/frontend/default/grayscale/images/i_rss.gif +0 -0
  126. skin/frontend/default/grayscale/images/icon_big_rss.png +0 -0
  127. skin/frontend/default/grayscale/images/icon_feed.png +0 -0
  128. skin/frontend/default/grayscale/images/icon_layer.gif +0 -0
  129. skin/frontend/default/grayscale/images/icon_news.gif +0 -0
  130. skin/frontend/default/grayscale/images/icon_rss.gif +0 -0
  131. skin/frontend/default/grayscale/images/logo.gif +0 -0
  132. skin/frontend/default/grayscale/images/magnifier_handle.gif +0 -0
  133. skin/frontend/default/grayscale/images/more.png +0 -0
  134. skin/frontend/default/grayscale/images/nav_arrow.gif +0 -0
  135. skin/frontend/default/grayscale/images/new.png +0 -0
  136. skin/frontend/default/grayscale/images/pager_arrow_left.gif +0 -0
  137. skin/frontend/default/grayscale/images/pager_arrow_right.gif +0 -0
  138. skin/frontend/default/grayscale/images/slider_btn_zoom_in.gif +0 -0
  139. skin/frontend/default/grayscale/images/slider_btn_zoom_out.gif +0 -0
  140. skin/frontend/default/grayscale/images/sort_asc_arrow.gif +0 -0
  141. skin/frontend/default/grayscale/images/sort_desc_arrow.gif +0 -0
  142. skin/frontend/default/grayscale/images/sprite.png +0 -0
  143. skin/frontend/default/grayscale/js/cycle-fade-effect.js +26 -0
  144. skin/frontend/default/grayscale/js/jquery-1.5.2.min.js +33 -0
  145. skin/frontend/default/grayscale/js/jquery.standardSlider.js +47 -0
  146. skin/frontend/default/grayscale/js/noconflict.js +1 -0
  147. skin/frontend/default/grayscale/js/respond.js +234 -0
app/code/community/WP/SmartProductImage/Block/About.php ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class WP_SmartProductImage_Block_About
4
+ extends Mage_Adminhtml_Block_Abstract
5
+ implements Varien_Data_Form_Element_Renderer_Interface
6
+ {
7
+
8
+ /**
9
+ * Render fieldset html
10
+ *
11
+ * @param Varien_Data_Form_Element_Abstract $element
12
+ * @return string
13
+ */
14
+ public function render(Varien_Data_Form_Element_Abstract $element)
15
+ {
16
+ $default = <<<HTML
17
+ <div style="background-color:#EAF0EE;border:1px solid #CCCCCC;margin-bottom:10px;padding:20px;">
18
+ <p>
19
+ <b style="font-size:12px;">WebAndPeople</b>, a family of niche sites, provides small businesses with everything they need to start selling online.
20
+ </p>
21
+ <p>
22
+ <strong>PREMIUM and FREE MAGENTO TEMPALTES and EXTENSIONS</strong><br />
23
+ <a href="http://web-experiment.info" target="_blank">Web-Experiment.info</a> offers a wide choice of nice-looking and easily editable free and premium Magento Themes. At Web-Experiment, you can find free downloads or buy premium tempaltes for the extremely popular Magento eCommerce platform.<br />
24
+ <strong>MAGENTO HOSTING</strong></strong><br />
25
+ <a href="http://magenting.com" target="_blank">Magenting.com</a>, a new and improved hosting solution, is allowing you to easily create, promote, and manage your online store with Magento. Magenting users will receive a valuable set of tools and features, including automatic Magento eCommerce installation, automatic Magento template installation and a free or paid professional Magento hosting account.<br />
26
+ <strong>WEB DEVELOPMENT</strong><br />
27
+ <a href="http://webandpeople.com" target="_blank">WebAndPeople.com</a> is a team of professional Web developers and designers who are some of the best in the industry. WebAndPeople provides Web application development, custom Magento theme designs, and Website design services.<br />
28
+ <br />
29
+ </p>
30
+ <p>
31
+ Our themes and extensions on <a href="http://www.magentocommerce.com/magento-connect/developer/WebAndPeople" target="_blank">MagentoConnect</a><br />
32
+ Should you have any questions <a href="http://web-experiment.info/support" target="_blank">Contact Us</a> or email at <a href="mailto:support@web-experiment.info">support@web-experiment.info</a>
33
+ <br />
34
+ </p>
35
+ </div>
36
+ HTML;
37
+ $default = json_encode($default);
38
+ $html = '<div id="wp_aboutus_content"></div>
39
+
40
+ <script type="text/javascript"> //<![CDATA[
41
+
42
+ /* JSON-P implementation for Prototype.js somewhat by Dan Dean (http://www.dandean.com)
43
+ *
44
+ * *HEAVILY* based on Tobie Langel\'s version: http://gist.github.com/145466.
45
+ * Might as well just call this an iteration.
46
+ *
47
+ * This version introduces:
48
+ * - Support for predefined callbacks (Necessary for OAuth signed requests, by @rboyce)
49
+ * - Partial integration with Ajax.Responders (Thanks to @sr3d for the kick in this direction)
50
+ * - Compatibility with Prototype 1.7 (Thanks to @soung3 for the bug report)
51
+ * - Will not break if page lacks a <head> element
52
+ *
53
+ * See examples in README for usage
54
+ *
55
+ * VERSION 1.1.2
56
+ *
57
+ * new Ajax.JSONRequest(url, options);
58
+ * - url (String): JSON-P endpoint url.
59
+ * - options (Object): Configuration options for the request.
60
+ */
61
+ Ajax.JSONRequest = Class.create(Ajax.Base, (function() {
62
+ var id = 0, head = document.getElementsByTagName(\'head\')[0] || document.body;
63
+ return {
64
+ initialize: function($super, url, options) {
65
+ $super(options);
66
+ this.options.url = url;
67
+ this.options.callbackParamName = this.options.callbackParamName || \'callback\';
68
+ this.options.timeout = this.options.timeout || 10; // Default timeout: 10 seconds
69
+ this.options.invokeImmediately = (!Object.isUndefined(this.options.invokeImmediately)) ? this.options.invokeImmediately : true ;
70
+
71
+ if (!Object.isUndefined(this.options.parameters) && Object.isString(this.options.parameters)) {
72
+ this.options.parameters = this.options.parameters.toQueryParams();
73
+ }
74
+
75
+ if (this.options.invokeImmediately) {
76
+ this.request();
77
+ }
78
+ },
79
+
80
+ /**
81
+ * Ajax.JSONRequest#_cleanup() -> undefined
82
+ * Cleans up after the request
83
+ **/
84
+ _cleanup: function() {
85
+ if (this.timeout) {
86
+ clearTimeout(this.timeout);
87
+ this.timeout = null;
88
+ }
89
+ if (this.transport && Object.isElement(this.transport)) {
90
+ this.transport.remove();
91
+ this.transport = null;
92
+ }
93
+ },
94
+
95
+ /**
96
+ * Ajax.JSONRequest#request() -> undefined
97
+ * Invokes the JSON-P request lifecycle
98
+ **/
99
+ request: function() {
100
+
101
+ // Define local vars
102
+ var response = new Ajax.JSONResponse(this);
103
+ var key = this.options.callbackParamName,
104
+ name = \'_prototypeJSONPCallback_\' + (id++),
105
+ complete = function() {
106
+ if (Object.isFunction(this.options.onComplete)) {
107
+ this.options.onComplete.call(this, response);
108
+ }
109
+ Ajax.Responders.dispatch(\'onComplete\', this, response);
110
+ }.bind(this);
111
+
112
+ // If the callback parameter is already defined, use that
113
+ if (this.options.parameters[key] !== undefined) {
114
+ name = this.options.parameters[key];
115
+ }
116
+ // Otherwise, add callback as a parameter
117
+ else {
118
+ this.options.parameters[key] = name;
119
+ }
120
+
121
+ // Build request URL
122
+ this.options.parameters[key] = name;
123
+ var url = this.options.url + ((this.options.url.include(\'?\') ? \'&\' : \'?\') + Object.toQueryString(this.options.parameters));
124
+
125
+ // Define callback function
126
+ window[name] = function(json) {
127
+ this._cleanup(); // Garbage collection
128
+ window[name] = undefined;
129
+
130
+ response.status = 200;
131
+ response.statusText = "OK";
132
+ response.setResponseContent(json);
133
+
134
+ if (Object.isFunction(this.options.onSuccess)) {
135
+ this.options.onSuccess.call(this, response);
136
+ }
137
+ Ajax.Responders.dispatch(\'onSuccess\', this, response);
138
+
139
+ complete();
140
+
141
+ }.bind(this);
142
+
143
+ this.transport = new Element(\'script\', { type: \'text/javascript\', src: url });
144
+
145
+ if (Object.isFunction(this.options.onCreate)) {
146
+ this.options.onCreate.call(this, response);
147
+ }
148
+ Ajax.Responders.dispatch(\'onCreate\', this);
149
+
150
+ head.appendChild(this.transport);
151
+
152
+ this.timeout = setTimeout(function() {
153
+ this._cleanup();
154
+ window[name] = Prototype.emptyFunction;
155
+ if (Object.isFunction(this.options.onFailure)) {
156
+ response.status = 504;
157
+ response.statusText = "Gateway Timeout";
158
+ this.options.onFailure.call(this, response);
159
+ }
160
+ complete();
161
+ }.bind(this), this.options.timeout * 1000);
162
+ },
163
+ toString: function() { return "[object Ajax.JSONRequest]"; }
164
+ };
165
+ })());
166
+
167
+ Ajax.JSONResponse = Class.create({
168
+ initialize: function(request) {
169
+ this.request = request;
170
+ },
171
+ request: undefined,
172
+ status: 0,
173
+ statusText: \'\',
174
+ responseJSON: undefined,
175
+ responseText: undefined,
176
+ setResponseContent: function(json) {
177
+ this.responseJSON = json;
178
+ this.responseText = Object.toJSON(json);
179
+ },
180
+ getTransport: function() {
181
+ if (this.request) return this.request.transport;
182
+ },
183
+ toString: function() { return "[object Ajax.JSONResponse]"; }
184
+ });
185
+
186
+ window.onload = function(){
187
+ var html = ' . $default . ';
188
+
189
+ new Ajax.JSONRequest(\'http://web-experiment.info/about-us.php\', {
190
+ callbackParamName: "jsoncallback",
191
+ timeout: 2,
192
+ onComplete: function(response) {
193
+ if (response.responseJSON && response.responseJSON.html) {
194
+ html = response.responseJSON.html;
195
+ }
196
+ Element.replace(\'wp_aboutus_content\', html);
197
+ }
198
+ });
199
+ };
200
+ //]]></script>';
201
+ return $html;
202
+ }
203
+ }
app/code/community/WP/SmartProductImage/Block/Js.php ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class WP_SmartProductImage_Block_Js extends Mage_Catalog_Block_Product_View_Abstract
4
+ {
5
+ private $_imageSizes = null;
6
+
7
+ public function _prepareLayout()
8
+ {
9
+ if (!Mage::getStoreConfig('smart_product_image/general/enabled')) return;
10
+ $this->setTemplate('webandpeople/smartproductimage/js.phtml');
11
+ }
12
+
13
+ public function getViewportWidthArray()
14
+ {
15
+ $res = '[]';
16
+ $imageSizes = $this->getImageSizes();
17
+ if (isset($imageSizes['viewport_width_array'])
18
+ && is_array($imageSizes['viewport_width_array'])
19
+ && count($imageSizes['viewport_width_array']))
20
+ {
21
+ $res = '[' . implode(',', $imageSizes['viewport_width_array']) . ']';
22
+ }
23
+ return $res;
24
+ }
25
+
26
+ public function getImagesArray()
27
+ {
28
+ $imageSizes = $this->getImageSizes();
29
+ if (isset($imageSizes['image_width_array'])
30
+ && is_array($imageSizes['image_width_array'])
31
+ && count($imageSizes['image_width_array']))
32
+ {
33
+ $_product = $this->getProduct();
34
+ $_helper = $this->helper('catalog/image');
35
+
36
+ $res = ''; $i = 0;
37
+
38
+ $imageUrls = array();
39
+ foreach ($imageSizes['image_width_array'] as $imageWidth)
40
+ {
41
+ $imageUrls[] = $_helper->init($_product, 'image')
42
+ ->constrainOnly(true)
43
+ ->keepAspectRatio(true)
44
+ ->keepFrame(false)
45
+ ->resize($imageWidth, null)
46
+ ->__toString();
47
+ }
48
+ $res.= 'wpImageHashMain[' . $i++ . '] = ["' . implode('","', $imageUrls) . '"];' . "\n";
49
+
50
+ $_gallery = $_product->getMediaGalleryImages();
51
+ foreach ($_gallery as $_image)
52
+ {
53
+ $imageUrls = array();
54
+ foreach ($imageSizes['image_width_array'] as $imageWidth)
55
+ {
56
+ $imageUrls[] = $_helper->init($_product, 'image', $_image->getFile())
57
+ ->constrainOnly(true)
58
+ ->keepAspectRatio(true)
59
+ ->keepFrame(false)
60
+ ->resize($imageWidth, null)
61
+ ->__toString();
62
+ }
63
+ $res.= ' wpImageHashMain[' . $i++ . '] = ["' . implode('","', $imageUrls) . '"];' . "\n";
64
+ }
65
+ }
66
+ else $res = '[]';
67
+ return $res;
68
+ }
69
+
70
+ public function getImageSizes()
71
+ {
72
+ if (is_null($this->_imageSizes))
73
+ {
74
+ try
75
+ {
76
+ $res = unserialize(Mage::getStoreConfig('smart_product_image/general/image_sizes'));
77
+ }
78
+ catch (Exception $e)
79
+ {
80
+ // ---
81
+ }
82
+ $imageSizes = array();
83
+ if (is_array($res) && count($res))
84
+ {
85
+ foreach ($res as $item)
86
+ {
87
+ $imageSizes['viewport_width_array'][] = $item['image_width'];
88
+ $imageSizes['image_width_array'][$item['image_width']] = $item['image_width'];
89
+ }
90
+ sort($imageSizes['viewport_width_array']);
91
+ ksort($imageSizes['image_width_array']);
92
+ }
93
+ $this->_imageSizes = $imageSizes;
94
+ }
95
+ return $this->_imageSizes;
96
+ }
97
+ }
app/code/community/WP/SmartProductImage/Block/System/Config/Form/Field/Imagesizes.php ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class WP_SmartProductImage_Block_System_Config_Form_Field_Imagesizes
4
+ extends Mage_Adminhtml_Block_System_Config_Form_Field_Array_Abstract
5
+ {
6
+ public function __construct()
7
+ {
8
+ $this->addColumn('image_width', array(
9
+ 'label' => Mage::helper('smartproductimage')->__('Image Width (px)'),
10
+ 'style' => 'width:100px',
11
+ ));
12
+ $this->_addAfter = false;
13
+ $this->_addButtonLabel = Mage::helper('smartproductimage')->__('Add Image Width');
14
+ parent::__construct();
15
+ }
16
+ }
app/code/community/WP/SmartProductImage/Helper/Data.php ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class WP_SmartProductImage_Helper_Data extends Mage_Core_Helper_Abstract
4
+ {
5
+
6
+ }
app/code/community/WP/SmartProductImage/etc/config.xml ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <WP_SmartProductImage>
5
+ <version>1.0.0</version>
6
+ </WP_SmartProductImage>
7
+ </modules>
8
+ <frontend>
9
+ <layout>
10
+ <updates>
11
+ <smartproductimage>
12
+ <file>webandpeople/smartproductimage.xml</file>
13
+ </smartproductimage>
14
+ </updates>
15
+ </layout>
16
+ </frontend>
17
+ <adminhtml>
18
+ <acl>
19
+ <resources>
20
+ <all>
21
+ <title>Allow Everything</title>
22
+ </all>
23
+ <admin>
24
+ <children>
25
+ <system>
26
+ <children>
27
+ <config>
28
+ <children>
29
+ <smart_product_image translate="title" module="smartproductimage">
30
+ <title><![CDATA[Web & People: Smart Product Image]]></title>
31
+ <sort_order>2000</sort_order>
32
+ </smart_product_image>
33
+ </children>
34
+ </config>
35
+ </children>
36
+ </system>
37
+ </children>
38
+ </admin>
39
+ </resources>
40
+ </acl>
41
+ </adminhtml>
42
+ <global>
43
+ <models>
44
+ <smartproductimage>
45
+ <class>WP_SmartProductImage_Model</class>
46
+ </smartproductimage>
47
+ </models>
48
+ <blocks>
49
+ <smartproductimage>
50
+ <class>WP_SmartProductImage_Block</class>
51
+ </smartproductimage>
52
+ </blocks>
53
+ <helpers>
54
+ <smartproductimage>
55
+ <class>WP_SmartProductImage_Helper</class>
56
+ </smartproductimage>
57
+ </helpers>
58
+ </global>
59
+ <default>
60
+ <smart_product_image>
61
+ <general>
62
+ <enabled>0</enabled>
63
+ <version>1.0.0</version>
64
+ </general>
65
+ </smart_product_image>
66
+ </default>
67
+ <adminhtml>
68
+ <acl>
69
+ <resources>
70
+ <admin>
71
+ <children>
72
+ <system>
73
+ <children>
74
+ <config>
75
+ <children>
76
+ <about_webandpeople translate="title" module="smartproductimage">
77
+ <title><![CDATA[Web & People: About Us]]></title>
78
+ <sort_order>1000</sort_order>
79
+ </about_webandpeople>
80
+ </children>
81
+ </config>
82
+ </children>
83
+ </system>
84
+ </children>
85
+ </admin>
86
+ </resources>
87
+ </acl>
88
+ </adminhtml>
89
+ </config>
app/code/community/WP/SmartProductImage/etc/system.xml ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <tabs>
4
+ <web_and_people translate="label" module="smartproductimage">
5
+ <label>Web-And-People</label>
6
+ <sort_order>150</sort_order>
7
+ </web_and_people>
8
+ </tabs>
9
+ <sections>
10
+ <smart_product_image translate="label" module="smartproductimage">
11
+ <label>Smart Product Image</label>
12
+ <tab>web_and_people</tab>
13
+ <frontend_type>text</frontend_type>
14
+ <sort_order>200</sort_order>
15
+ <show_in_default>1</show_in_default>
16
+ <show_in_website>1</show_in_website>
17
+ <show_in_store>1</show_in_store>
18
+ <groups>
19
+ <general translate="label">
20
+ <label>General</label>
21
+ <frontend_type>text</frontend_type>
22
+ <sort_order>10</sort_order>
23
+ <show_in_default>1</show_in_default>
24
+ <show_in_website>1</show_in_website>
25
+ <show_in_store>1</show_in_store>
26
+ <fields>
27
+ <enabled translate="label">
28
+ <label>Enable</label>
29
+ <frontend_type>select</frontend_type>
30
+ <source_model>adminhtml/system_config_source_yesno</source_model>
31
+ <sort_order>5</sort_order>
32
+ <show_in_default>1</show_in_default>
33
+ <show_in_website>1</show_in_website>
34
+ <show_in_store>1</show_in_store>
35
+ </enabled>
36
+ <image_sizes translate="label comment">
37
+ <label>Image Sizes</label>
38
+ <comment>The height of the image is automatically calculated in proportion.</comment>
39
+ <frontend_model>smartproductimage/system_config_form_field_imagesizes</frontend_model>
40
+ <backend_model>adminhtml/system_config_backend_serialized_array</backend_model>
41
+ <sort_order>10</sort_order>
42
+ <show_in_default>1</show_in_default>
43
+ <show_in_website>1</show_in_website>
44
+ <show_in_store>1</show_in_store>
45
+ </image_sizes>
46
+ <version translate="label">
47
+ <label>Extension Release</label>
48
+ <frontend_type>label</frontend_type>
49
+ <sort_order>100</sort_order>
50
+ <show_in_default>1</show_in_default>
51
+ <show_in_website>1</show_in_website>
52
+ <show_in_store>1</show_in_store>
53
+ </version>
54
+ </fields>
55
+ </general>
56
+ </groups>
57
+ </smart_product_image>
58
+ <about_webandpeople translate="label" module="smartproductimage">
59
+ <label>About Us</label>
60
+ <tab>web_and_people</tab>
61
+ <frontend_type>text</frontend_type>
62
+ <sort_order>99</sort_order>
63
+ <show_in_default>1</show_in_default>
64
+ <show_in_website>1</show_in_website>
65
+ <show_in_store>1</show_in_store>
66
+ <groups>
67
+ <info>
68
+ <frontend_model>smartproductimage/about</frontend_model>
69
+ <sort_order>10</sort_order>
70
+ <show_in_default>1</show_in_default>
71
+ <show_in_website>1</show_in_website>
72
+ <show_in_store>1</show_in_store>
73
+ </info>
74
+ </groups>
75
+ </about_webandpeople>
76
+ </sections>
77
+ </config>
app/code/local/Mage/Catalog/Block/Product/Manufacturer.php ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Mage_Catalog_Block_Product_Manufacturer extends Mage_Core_Block_Template
4
+ {
5
+ public function getManufacturersCollection()
6
+ {
7
+ $optionCollection = Mage::getResourceModel('eav/entity_attribute_option_collection')
8
+ ->setAttributeFilter(66)
9
+ ->setPositionOrder('asc', true)
10
+ ->load();
11
+ return $optionCollection;
12
+ }
13
+ }
14
+ ?>
app/code/local/Mage/Catalog/Block/Product/Popular.php ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Mage_Catalog_Block_Product_Popular extends Mage_Catalog_Block_Product_Abstract
4
+ {
5
+ protected $_productsCount = null;
6
+ protected $_productCollection = null;
7
+
8
+ protected function _getProductCollection()
9
+ {
10
+ if (is_null($this->_productCollection)) {
11
+ $categoryId = $this->getCategoryId();
12
+ $category = Mage::getModel('catalog/category')->load($categoryId);
13
+ $storeId = Mage::app()->getStore()->getId();
14
+ $product = Mage::getModel('catalog/product');
15
+ $visibility = array(
16
+ Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH,
17
+ Mage_Catalog_Model_Product_Visibility::VISIBILITY_IN_CATALOG
18
+ );
19
+
20
+ $this->_productCollection = $product->setStoreId($storeId)
21
+ ->getCollection()
22
+ ->addAttributeToFilter('visibility', $visibility)
23
+ ->addCategoryFilter($category)
24
+ ->addAttributeToSelect('*');
25
+
26
+ $this->prepareSortableFieldsByCategory($category);
27
+
28
+ if ($sort = $this->getSortBy()) {
29
+ $this->_productCollection->setOrder($sort);
30
+ }
31
+
32
+ if ($count = $this->getProductsCount()) {
33
+ $this->_productCollection
34
+ ->setPageSize($count)
35
+ ->setCurPage(1)
36
+ ->load()
37
+ ;
38
+ }
39
+ Mage::getModel('review/review')->appendSummary($this->_productCollection);
40
+ }
41
+
42
+ return $this->_productCollection;
43
+ }
44
+
45
+ /**
46
+ * Retrieve loaded category collection
47
+ *
48
+ * @return Mage_Eav_Model_Entity_Collection_Abstract
49
+ */
50
+ public function getLoadedProductCollection()
51
+ {
52
+ return $this->_getProductCollection();
53
+ }
54
+
55
+ /**
56
+ * Retrieve Catalog Config object
57
+ *
58
+ * @return Mage_Catalog_Model_Config
59
+ */
60
+ protected function _getConfig()
61
+ {
62
+ return Mage::getSingleton('catalog/config');
63
+ }
64
+
65
+ /**
66
+ * Prepare Sort By fields from Category Data
67
+ *
68
+ * @param Mage_Catalog_Model_Category $category
69
+ * @return Mage_Catalog_Block_Product_List
70
+ */
71
+ public function prepareSortableFieldsByCategory($category)
72
+ {
73
+ if (!$this->getAvailableOrders()) {
74
+ $this->setAvailableOrders($category->getAvailableSortByOptions());
75
+ }
76
+ $availableOrders = $this->getAvailableOrders();
77
+ if (!$this->getSortBy()) {
78
+ if ($categorySortBy = $category->getDefaultSortBy()) {
79
+ if (!$availableOrders) {
80
+ $availableOrders = $this->_getConfig()->getAttributeUsedForSortByArray();
81
+ }
82
+ if (isset($availableOrders[$categorySortBy])) {
83
+ $this->setSortBy($categorySortBy);
84
+ }
85
+ }
86
+ }
87
+ return $this;
88
+ }
89
+
90
+ public function setProductsCount($count)
91
+ {
92
+ $this->_productsCount = $count;
93
+ return $this;
94
+ }
95
+
96
+ public function getProductsCount()
97
+ {
98
+ return $this->_productsCount;
99
+ }
100
+ }
app/code/local/Mage/Catalog/Block/Product/Promo.php ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Mage_Catalog_Block_Product_Promo extends Mage_Catalog_Block_Product_Abstract
4
+ {
5
+ protected $_productsCount = null;
6
+ protected $_productCollection = null;
7
+
8
+ protected function _getProductCollection()
9
+ {
10
+ if (is_null($this->_productCollection)) {
11
+ $categoryId = $this->getCategoryId();
12
+ $category = Mage::getModel('catalog/category')->load($categoryId);
13
+ $storeId = Mage::app()->getStore()->getId();
14
+ $product = Mage::getModel('catalog/product');
15
+ $visibility = array(
16
+ Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH,
17
+ Mage_Catalog_Model_Product_Visibility::VISIBILITY_IN_CATALOG
18
+ );
19
+
20
+ $this->_productCollection = $product->setStoreId($storeId)
21
+ ->getCollection()
22
+ ->addAttributeToFilter('visibility', $visibility)
23
+ ->addCategoryFilter($category)
24
+ ->addAttributeToSelect('*');
25
+
26
+ $this->prepareSortableFieldsByCategory($category);
27
+
28
+ if ($sort = $this->getSortBy()) {
29
+ $this->_productCollection->setOrder($sort);
30
+ }
31
+
32
+ if ($count = $this->getProductsCount()) {
33
+ $this->_productCollection
34
+ ->setPageSize($count)
35
+ ->setCurPage(1)
36
+ ->load()
37
+ ;
38
+ }
39
+ Mage::getModel('review/review')->appendSummary($this->_productCollection);
40
+ }
41
+
42
+ return $this->_productCollection;
43
+ }
44
+
45
+ /**
46
+ * Retrieve loaded category collection
47
+ *
48
+ * @return Mage_Eav_Model_Entity_Collection_Abstract
49
+ */
50
+ public function getLoadedProductCollection()
51
+ {
52
+ return $this->_getProductCollection();
53
+ }
54
+
55
+ /**
56
+ * Retrieve Catalog Config object
57
+ *
58
+ * @return Mage_Catalog_Model_Config
59
+ */
60
+ protected function _getConfig()
61
+ {
62
+ return Mage::getSingleton('catalog/config');
63
+ }
64
+
65
+ /**
66
+ * Prepare Sort By fields from Category Data
67
+ *
68
+ * @param Mage_Catalog_Model_Category $category
69
+ * @return Mage_Catalog_Block_Product_List
70
+ */
71
+ public function prepareSortableFieldsByCategory($category)
72
+ {
73
+ if (!$this->getAvailableOrders()) {
74
+ $this->setAvailableOrders($category->getAvailableSortByOptions());
75
+ }
76
+ $availableOrders = $this->getAvailableOrders();
77
+ if (!$this->getSortBy()) {
78
+ if ($categorySortBy = $category->getDefaultSortBy()) {
79
+ if (!$availableOrders) {
80
+ $availableOrders = $this->_getConfig()->getAttributeUsedForSortByArray();
81
+ }
82
+ if (isset($availableOrders[$categorySortBy])) {
83
+ $this->setSortBy($categorySortBy);
84
+ }
85
+ }
86
+ }
87
+ return $this;
88
+ }
89
+
90
+ public function setProductsCount($count)
91
+ {
92
+ $this->_productsCount = $count;
93
+ return $this;
94
+ }
95
+
96
+ public function getProductsCount()
97
+ {
98
+ return $this->_productsCount;
99
+ }
100
+ }
app/code/local/WP/BackToTopButton/Block/About.php ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class WP_BackToTopButton_Block_About
4
+ extends Mage_Adminhtml_Block_Abstract
5
+ implements Varien_Data_Form_Element_Renderer_Interface
6
+ {
7
+
8
+ /**
9
+ * Render fieldset html
10
+ *
11
+ * @param Varien_Data_Form_Element_Abstract $element
12
+ * @return string
13
+ */
14
+ public function render(Varien_Data_Form_Element_Abstract $element)
15
+ {
16
+ $default = <<<HTML
17
+ <div style="background-color:#EAF0EE;border:1px solid #CCCCCC;margin-bottom:10px;padding:20px;">
18
+ <p>
19
+ <b style="font-size:12px;">WebAndPeople</b>, a family of niche sites, provides small businesses with everything they need to start selling online.
20
+ </p>
21
+ <p>
22
+ <strong>PREMIUM and FREE MAGENTO TEMPALTES and EXTENSIONS</strong><br />
23
+ <a href="http://web-experiment.info" target="_blank">Web-Experiment.info</a> offers a wide choice of nice-looking and easily editable free and premium Magento Themes. At Web-Experiment, you can find free downloads or buy premium tempaltes for the extremely popular Magento eCommerce platform.<br />
24
+ <strong>MAGENTO HOSTING</strong></strong><br />
25
+ <a href="http://magenting.com" target="_blank">Magenting.com</a>, a new and improved hosting solution, is allowing you to easily create, promote, and manage your online store with Magento. Magenting users will receive a valuable set of tools and features, including automatic Magento eCommerce installation, automatic Magento template installation and a free or paid professional Magento hosting account.<br />
26
+ <strong>WEB DEVELOPMENT</strong><br />
27
+ <a href="http://webandpeople.com" target="_blank">WebAndPeople.com</a> is a team of professional Web developers and designers who are some of the best in the industry. WebAndPeople provides Web application development, custom Magento theme designs, and Website design services.<br />
28
+ <br />
29
+ </p>
30
+ <p>
31
+ Our themes and extensions on <a href="http://www.magentocommerce.com/magento-connect/developer/WebAndPeople" target="_blank">MagentoConnect</a><br />
32
+ Should you have any questions <a href="http://web-experiment.info/support" target="_blank">Contact Us</a> or email at <a href="mailto:support@web-experiment.info">support@web-experiment.info</a>
33
+ <br />
34
+ </p>
35
+ </div>
36
+ HTML;
37
+ $default = json_encode($default);
38
+ $html = '<div id="wp_aboutus_content"></div>
39
+
40
+ <script type="text/javascript"> //<![CDATA[
41
+
42
+ /* JSON-P implementation for Prototype.js somewhat by Dan Dean (http://www.dandean.com)
43
+ *
44
+ * *HEAVILY* based on Tobie Langel\'s version: http://gist.github.com/145466.
45
+ * Might as well just call this an iteration.
46
+ *
47
+ * This version introduces:
48
+ * - Support for predefined callbacks (Necessary for OAuth signed requests, by @rboyce)
49
+ * - Partial integration with Ajax.Responders (Thanks to @sr3d for the kick in this direction)
50
+ * - Compatibility with Prototype 1.7 (Thanks to @soung3 for the bug report)
51
+ * - Will not break if page lacks a <head> element
52
+ *
53
+ * See examples in README for usage
54
+ *
55
+ * VERSION 1.1.2
56
+ *
57
+ * new Ajax.JSONRequest(url, options);
58
+ * - url (String): JSON-P endpoint url.
59
+ * - options (Object): Configuration options for the request.
60
+ */
61
+ Ajax.JSONRequest = Class.create(Ajax.Base, (function() {
62
+ var id = 0, head = document.getElementsByTagName(\'head\')[0] || document.body;
63
+ return {
64
+ initialize: function($super, url, options) {
65
+ $super(options);
66
+ this.options.url = url;
67
+ this.options.callbackParamName = this.options.callbackParamName || \'callback\';
68
+ this.options.timeout = this.options.timeout || 10; // Default timeout: 10 seconds
69
+ this.options.invokeImmediately = (!Object.isUndefined(this.options.invokeImmediately)) ? this.options.invokeImmediately : true ;
70
+
71
+ if (!Object.isUndefined(this.options.parameters) && Object.isString(this.options.parameters)) {
72
+ this.options.parameters = this.options.parameters.toQueryParams();
73
+ }
74
+
75
+ if (this.options.invokeImmediately) {
76
+ this.request();
77
+ }
78
+ },
79
+
80
+ /**
81
+ * Ajax.JSONRequest#_cleanup() -> undefined
82
+ * Cleans up after the request
83
+ **/
84
+ _cleanup: function() {
85
+ if (this.timeout) {
86
+ clearTimeout(this.timeout);
87
+ this.timeout = null;
88
+ }
89
+ if (this.transport && Object.isElement(this.transport)) {
90
+ this.transport.remove();
91
+ this.transport = null;
92
+ }
93
+ },
94
+
95
+ /**
96
+ * Ajax.JSONRequest#request() -> undefined
97
+ * Invokes the JSON-P request lifecycle
98
+ **/
99
+ request: function() {
100
+
101
+ // Define local vars
102
+ var response = new Ajax.JSONResponse(this);
103
+ var key = this.options.callbackParamName,
104
+ name = \'_prototypeJSONPCallback_\' + (id++),
105
+ complete = function() {
106
+ if (Object.isFunction(this.options.onComplete)) {
107
+ this.options.onComplete.call(this, response);
108
+ }
109
+ Ajax.Responders.dispatch(\'onComplete\', this, response);
110
+ }.bind(this);
111
+
112
+ // If the callback parameter is already defined, use that
113
+ if (this.options.parameters[key] !== undefined) {
114
+ name = this.options.parameters[key];
115
+ }
116
+ // Otherwise, add callback as a parameter
117
+ else {
118
+ this.options.parameters[key] = name;
119
+ }
120
+
121
+ // Build request URL
122
+ this.options.parameters[key] = name;
123
+ var url = this.options.url + ((this.options.url.include(\'?\') ? \'&\' : \'?\') + Object.toQueryString(this.options.parameters));
124
+
125
+ // Define callback function
126
+ window[name] = function(json) {
127
+ this._cleanup(); // Garbage collection
128
+ window[name] = undefined;
129
+
130
+ response.status = 200;
131
+ response.statusText = "OK";
132
+ response.setResponseContent(json);
133
+
134
+ if (Object.isFunction(this.options.onSuccess)) {
135
+ this.options.onSuccess.call(this, response);
136
+ }
137
+ Ajax.Responders.dispatch(\'onSuccess\', this, response);
138
+
139
+ complete();
140
+
141
+ }.bind(this);
142
+
143
+ this.transport = new Element(\'script\', { type: \'text/javascript\', src: url });
144
+
145
+ if (Object.isFunction(this.options.onCreate)) {
146
+ this.options.onCreate.call(this, response);
147
+ }
148
+ Ajax.Responders.dispatch(\'onCreate\', this);
149
+
150
+ head.appendChild(this.transport);
151
+
152
+ this.timeout = setTimeout(function() {
153
+ this._cleanup();
154
+ window[name] = Prototype.emptyFunction;
155
+ if (Object.isFunction(this.options.onFailure)) {
156
+ response.status = 504;
157
+ response.statusText = "Gateway Timeout";
158
+ this.options.onFailure.call(this, response);
159
+ }
160
+ complete();
161
+ }.bind(this), this.options.timeout * 1000);
162
+ },
163
+ toString: function() { return "[object Ajax.JSONRequest]"; }
164
+ };
165
+ })());
166
+
167
+ Ajax.JSONResponse = Class.create({
168
+ initialize: function(request) {
169
+ this.request = request;
170
+ },
171
+ request: undefined,
172
+ status: 0,
173
+ statusText: \'\',
174
+ responseJSON: undefined,
175
+ responseText: undefined,
176
+ setResponseContent: function(json) {
177
+ this.responseJSON = json;
178
+ this.responseText = Object.toJSON(json);
179
+ },
180
+ getTransport: function() {
181
+ if (this.request) return this.request.transport;
182
+ },
183
+ toString: function() { return "[object Ajax.JSONResponse]"; }
184
+ });
185
+
186
+ window.onload = function(){
187
+ var html = ' . $default . ';
188
+
189
+ new Ajax.JSONRequest(\'http://web-experiment.info/about-us.php\', {
190
+ callbackParamName: "jsoncallback",
191
+ timeout: 2,
192
+ onComplete: function(response) {
193
+ if (response.responseJSON && response.responseJSON.html) {
194
+ html = response.responseJSON.html;
195
+ }
196
+ Element.replace(\'wp_aboutus_content\', html);
197
+ }
198
+ });
199
+ };
200
+ //]]></script>';
201
+ return $html;
202
+ }
203
+ }
app/code/local/WP/BackToTopButton/Block/System/Config/Form/Field/Array/Abstract.php ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Adminhtml system config array field renderer
5
+ *
6
+ * @category Mage
7
+ * @package Mage_Adminhtml
8
+ * @author Magento Core Team <core@magentocommerce.com>
9
+ */
10
+ abstract class WP_BackToTopButton_Block_System_Config_Form_Field_Array_Abstract extends Mage_Adminhtml_Block_System_Config_Form_Field
11
+ {
12
+ /**
13
+ * Grid columns
14
+ *
15
+ * @var array
16
+ */
17
+ protected $_columns = array();
18
+
19
+ /**
20
+ * Enable the "Add after" button or not
21
+ *
22
+ * @var bool
23
+ */
24
+ protected $_addAfter = true;
25
+
26
+ /**
27
+ * Label of add button
28
+ *
29
+ * @var unknown_type
30
+ */
31
+ protected $_addButtonLabel;
32
+
33
+ /**
34
+ * Rows cache
35
+ *
36
+ * @var array|null
37
+ */
38
+ private $_arrayRowsCache;
39
+
40
+ /**
41
+ * Indication whether block is prepared to render or no
42
+ *
43
+ * @var bool
44
+ */
45
+ protected $_isPreparedToRender = false;
46
+
47
+ /**
48
+ * Check if columns are defined, set template
49
+ *
50
+ */
51
+ public function __construct()
52
+ {
53
+ if (!$this->_addButtonLabel) {
54
+ $this->_addButtonLabel = Mage::helper('adminhtml')->__('Add');
55
+ }
56
+ parent::__construct();
57
+ if (!$this->getTemplate()) {
58
+ $this->setTemplate('system/config/form/field/array.phtml');
59
+ }
60
+ }
61
+
62
+ /**
63
+ * Add a column to array-grid
64
+ *
65
+ * @param string $name
66
+ * @param array $params
67
+ */
68
+ public function addColumn($name, $params)
69
+ {
70
+ $this->_columns[$name] = array(
71
+ 'label' => empty($params['label']) ? 'Column' : $params['label'],
72
+ 'size' => empty($params['size']) ? false : $params['size'],
73
+ 'style' => empty($params['style']) ? null : $params['style'],
74
+ 'class' => empty($params['class']) ? null : $params['class'],
75
+ 'renderer' => false,
76
+ );
77
+ if ((!empty($params['renderer'])) && ($params['renderer'] instanceof Mage_Core_Block_Abstract)) {
78
+ $this->_columns[$name]['renderer'] = $params['renderer'];
79
+ }
80
+ }
81
+
82
+ /**
83
+ * Get the grid and scripts contents
84
+ *
85
+ * @param Varien_Data_Form_Element_Abstract $element
86
+ * @return string
87
+ */
88
+ protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
89
+ {
90
+ $this->setElement($element);
91
+ $html = $this->_toHtml();
92
+ $this->_arrayRowsCache = null; // doh, the object is used as singleton!
93
+ return $html;
94
+ }
95
+
96
+ /**
97
+ * Prepare existing row data object
98
+ *
99
+ * @param Varien_Object
100
+ */
101
+ protected function _prepareArrayRow(Varien_Object $row)
102
+ {
103
+ // override in descendants
104
+ }
105
+
106
+ /**
107
+ * Obtain existing data from form element
108
+ *
109
+ * Each row will be instance of Varien_Object
110
+ *
111
+ * @return array
112
+ */
113
+ public function getArrayRows()
114
+ {
115
+ if (null !== $this->_arrayRowsCache) {
116
+ return $this->_arrayRowsCache;
117
+ }
118
+ $result = array();
119
+ /** @var Varien_Data_Form_Element_Abstract */
120
+ $element = $this->getElement();
121
+ if ($element->getValue() && is_array($element->getValue())) {
122
+ foreach ($element->getValue() as $rowId => $row) {
123
+ foreach ($row as $key => $value) {
124
+ $row[$key] = $this->htmlEscape($value);
125
+ }
126
+ $row['_id'] = $rowId;
127
+ $result[$rowId] = new Varien_Object($row);
128
+ $this->_prepareArrayRow($result[$rowId]);
129
+ }
130
+ }
131
+ $this->_arrayRowsCache = $result;
132
+ return $this->_arrayRowsCache;
133
+ }
134
+
135
+ /**
136
+ * Render array cell for prototypeJS template
137
+ *
138
+ * @param string $columnName
139
+ * @return string
140
+ */
141
+ protected function _renderCellTemplate($columnName)
142
+ {
143
+ if (empty($this->_columns[$columnName])) {
144
+ throw new Exception('Wrong column name specified.');
145
+ }
146
+ $column = $this->_columns[$columnName];
147
+ $inputName = $this->getElement()->getName() . '[#{_id}][' . $columnName . ']';
148
+
149
+ if ($column['renderer']) {
150
+ return $column['renderer']->setInputName($inputName)->setColumnName($columnName)->setColumn($column)
151
+ ->toHtml();
152
+ }
153
+
154
+ return '<input type="text" name="' . $inputName . '" value="#{' . $columnName . '}" ' .
155
+ ($column['size'] ? 'size="' . $column['size'] . '"' : '') . ' class="' .
156
+ (isset($column['class']) ? $column['class'] : 'input-text') . '"'.
157
+ (isset($column['style']) ? ' style="'.$column['style'] . '"' : '') . '/>';
158
+ }
159
+
160
+ /**
161
+ * Prepare to render
162
+ */
163
+ protected function _prepareToRender()
164
+ {
165
+ // Override in descendants to add columns, change add button label etc
166
+ }
167
+
168
+ /**
169
+ * Render block HTML
170
+ *
171
+ * @return string
172
+ */
173
+ protected function _toHtml()
174
+ {
175
+ if (!$this->_isPreparedToRender) {
176
+ $this->_prepareToRender();
177
+ $this->_isPreparedToRender = true;
178
+ }
179
+ if (empty($this->_columns)) {
180
+ throw new Exception('At least one column must be defined.');
181
+ }
182
+ return parent::_toHtml();
183
+ }
184
+ }
app/code/local/WP/BackToTopButton/Block/System/Config/Form/Field/Array/Regexceptions.php ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class WP_BackToTopButton_Block_System_Config_Form_Field_Array_Regexceptions
4
+ extends WP_BackToTopButton_Block_System_Config_Form_Field_Array_Abstract
5
+ {
6
+ public function _prepareToRender()
7
+ {
8
+ $this->addColumn('regexp', array(
9
+ 'label' => Mage::helper('adminhtml')->__('Matched Expression'),
10
+ 'style' => 'width:120px',
11
+ ));
12
+ $this->_addAfter = false;
13
+ $this->_addButtonLabel = Mage::helper('adminhtml')->__('Add Expression');
14
+ }
15
+ }
app/code/local/WP/BackToTopButton/Block/Toggle.php ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class WP_BackToTopButton_Block_Toggle extends Mage_Core_Block_Template
4
+ {
5
+ public function _prepareLayout()
6
+ {
7
+ if (Mage::helper('backtotopbutton')->isDisabled()) return;
8
+ $layout = $this->getLayout();
9
+ $beforeBodyEnd = $layout->getBlock('before_body_end');
10
+ if (is_object($beforeBodyEnd)) {
11
+ // --- button ---
12
+ $block = $layout->getBlock('back_to_top_button');
13
+ if (!is_object($block)) {
14
+ $block = $layout->createBlock('core/template', 'back_to_top_button')
15
+ ->setTemplate('webandpeople/backtotopbutton/button.phtml');
16
+ }
17
+ $beforeBodyEnd->append($block);
18
+ // --- css ---
19
+ $head = $layout->getBlock('head');
20
+ $head->addItem('skin_css', 'css/webandpeople/backtotopbutton/backtotopbutton.css');
21
+ // --- js ---
22
+ if (Mage::getStoreConfigFlag('backtotopbutton/general/include_jquery')) {
23
+ $head->addItem('js', 'webandpeople/jquery/backtotopbutton/jquery.min.js');
24
+ $head->addItem('js', 'webandpeople/jquery/backtotopbutton/jquery-noconflict.js');
25
+ }
26
+ $head->addItem('js', 'webandpeople/jquery_plugins/backtotopbutton/jquery-noconflict.js', 'name="wp_jquery_noconflict"');
27
+ if (Mage::getStoreConfigFlag('backtotopbutton/general/include_waypoints')) {
28
+ $head->addItem('js', 'webandpeople/jquery_plugins/backtotopbutton/waypoints.js', 'name="wp_jquery_plugins"');
29
+ }
30
+ }
31
+ }
32
+ }
app/code/local/WP/BackToTopButton/Helper/Data.php ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class WP_BackToTopButton_Helper_Data extends Mage_Core_Helper_Abstract
4
+ {
5
+ private $_store = null;
6
+
7
+ private static $_regexMatchCache = array();
8
+ private static $_disabledByRegexpCache = array();
9
+
10
+ public function isDisabled()
11
+ {
12
+ if (!Mage::getStoreConfigFlag('backtotopbutton/general/enabled')) return true;
13
+ // --- to disable by regexp expression ---
14
+ if ($this->isDisabledByUserAgentAgainstRegexps()) return true;
15
+ return false;
16
+ }
17
+
18
+ public function isDisabledByUserAgentAgainstRegexps()
19
+ {
20
+ $regexpsConfigPath = 'backtotopbutton/general/disabled_by_regexp';
21
+
22
+ if (empty($_SERVER['HTTP_USER_AGENT'])) {
23
+ return false;
24
+ }
25
+
26
+ if (!empty(self::$_disabledByRegexpCache[$regexpsConfigPath])) {
27
+ return self::$_disabledByRegexpCache[$regexpsConfigPath];
28
+ }
29
+
30
+ $configValueSerialized = Mage::getStoreConfig($regexpsConfigPath, $this->getStore());
31
+
32
+ if (!$configValueSerialized) {
33
+ return false;
34
+ }
35
+
36
+ $regexps = @unserialize($configValueSerialized);
37
+
38
+ if (empty($regexps)) {
39
+ return false;
40
+ }
41
+
42
+ foreach ($regexps as $rule) {
43
+ if (!empty(self::$_regexMatchCache[$rule['regexp']][$_SERVER['HTTP_USER_AGENT']])) {
44
+ self::$_disabledByRegexpCache[$regexpsConfigPath] = true;
45
+ return true;
46
+ }
47
+
48
+ $regexp = '/' . trim($rule['regexp'], '/') . '/';
49
+
50
+ if (@preg_match($regexp, $_SERVER['HTTP_USER_AGENT'])) {
51
+ self::$_regexMatchCache[$rule['regexp']][$_SERVER['HTTP_USER_AGENT']] = true;
52
+ self::$_disabledByRegexpCache[$regexpsConfigPath] = true;
53
+ return true;
54
+ }
55
+ }
56
+
57
+ return false;
58
+ }
59
+
60
+ public function getStore()
61
+ {
62
+ if ($this->_store === null) {
63
+ return Mage::app()->getStore();
64
+ }
65
+ return $this->_store;
66
+ }
67
+ }
app/code/local/WP/BackToTopButton/etc/config.xml ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <WP_BackToTopButton>
5
+ <version>1.3.1</version>
6
+ </WP_BackToTopButton>
7
+ </modules>
8
+ <frontend>
9
+ <layout>
10
+ <updates>
11
+ <backtotopbutton>
12
+ <file>webandpeople/backtotopbutton.xml</file>
13
+ </backtotopbutton>
14
+ </updates>
15
+ </layout>
16
+ </frontend>
17
+ <adminhtml>
18
+ <acl>
19
+ <resources>
20
+ <all>
21
+ <title>Allow Everything</title>
22
+ </all>
23
+ <admin>
24
+ <children>
25
+ <system>
26
+ <children>
27
+ <config>
28
+ <children>
29
+ <backtotopbutton translate="title" module="backtotopbutton">
30
+ <title><![CDATA[Web & People: Back to Top Button]]></title>
31
+ <sort_order>2000</sort_order>
32
+ </backtotopbutton>
33
+ </children>
34
+ </config>
35
+ </children>
36
+ </system>
37
+ </children>
38
+ </admin>
39
+ </resources>
40
+ </acl>
41
+ </adminhtml>
42
+ <global>
43
+ <blocks>
44
+ <backtotopbutton>
45
+ <class>WP_BackToTopButton_Block</class>
46
+ </backtotopbutton>
47
+ </blocks>
48
+ <helpers>
49
+ <backtotopbutton>
50
+ <class>WP_BackToTopButton_Helper</class>
51
+ </backtotopbutton>
52
+ </helpers>
53
+ </global>
54
+ <default>
55
+ <backtotopbutton>
56
+ <general>
57
+ <enabled>1</enabled>
58
+ <include_jquery>1</include_jquery>
59
+ <include_waypoints>1</include_waypoints>
60
+ <version>1.3.1</version>
61
+ </general>
62
+ </backtotopbutton>
63
+ </default>
64
+ <adminhtml>
65
+ <acl>
66
+ <resources>
67
+ <admin>
68
+ <children>
69
+ <system>
70
+ <children>
71
+ <config>
72
+ <children>
73
+ <about_webandpeople translate="title" module="backtotopbutton">
74
+ <title><![CDATA[Web & People: About Us]]></title>
75
+ <sort_order>1000</sort_order>
76
+ </about_webandpeople>
77
+ </children>
78
+ </config>
79
+ </children>
80
+ </system>
81
+ </children>
82
+ </admin>
83
+ </resources>
84
+ </acl>
85
+ </adminhtml>
86
+ </config>
app/code/local/WP/BackToTopButton/etc/system.xml ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <tabs>
4
+ <web_and_people translate="label" module="backtotopbutton">
5
+ <label>Web-And-People</label>
6
+ <sort_order>150</sort_order>
7
+ </web_and_people>
8
+ </tabs>
9
+ <sections>
10
+ <backtotopbutton translate="label" module="backtotopbutton">
11
+ <label>Back to Top Button</label>
12
+ <tab>web_and_people</tab>
13
+ <frontend_type>text</frontend_type>
14
+ <sort_order>200</sort_order>
15
+ <show_in_default>1</show_in_default>
16
+ <show_in_website>1</show_in_website>
17
+ <show_in_store>1</show_in_store>
18
+ <groups>
19
+ <general translate="label">
20
+ <label>General</label>
21
+ <frontend_type>text</frontend_type>
22
+ <sort_order>10</sort_order>
23
+ <show_in_default>1</show_in_default>
24
+ <show_in_website>1</show_in_website>
25
+ <show_in_store>1</show_in_store>
26
+ <fields>
27
+ <enabled translate="label">
28
+ <label>Enable</label>
29
+ <frontend_type>select</frontend_type>
30
+ <source_model>adminhtml/system_config_source_yesno</source_model>
31
+ <sort_order>1</sort_order>
32
+ <show_in_default>1</show_in_default>
33
+ <show_in_website>1</show_in_website>
34
+ <show_in_store>1</show_in_store>
35
+ </enabled>
36
+ <disabled_by_regexp translate="label">
37
+ <label>Disable by Regexp</label>
38
+ <comment><![CDATA[A regular expression string in the "Matched Expression" is compared with the browser user agent]]></comment>
39
+ <frontend_model>backtotopbutton/system_config_form_field_array_regexceptions</frontend_model>
40
+ <backend_model>adminhtml/system_config_backend_serialized_array</backend_model>
41
+ <sort_order>6</sort_order>
42
+ <show_in_default>1</show_in_default>
43
+ <show_in_website>1</show_in_website>
44
+ <show_in_store>1</show_in_store>
45
+ </disabled_by_regexp>
46
+ <include_jquery translate="label comment">
47
+ <label>Include jQuery 1.8.3</label>
48
+ <comment>Your website pages might already have one jQuery instance enabled. In this case this value must be set to "No".</comment>
49
+ <frontend_type>select</frontend_type>
50
+ <source_model>adminhtml/system_config_source_yesno</source_model>
51
+ <sort_order>10</sort_order>
52
+ <show_in_default>1</show_in_default>
53
+ <show_in_website>1</show_in_website>
54
+ <show_in_store>1</show_in_store>
55
+ </include_jquery>
56
+ <include_waypoints translate="label comment">
57
+ <label>Include jQuery Waypoints v2.0.2</label>
58
+ <comment>Your website pages might already have one Waypoints instance enabled. In this case this value must be set to "No".</comment>
59
+ <frontend_type>select</frontend_type>
60
+ <source_model>adminhtml/system_config_source_yesno</source_model>
61
+ <sort_order>15</sort_order>
62
+ <show_in_default>1</show_in_default>
63
+ <show_in_website>1</show_in_website>
64
+ <show_in_store>1</show_in_store>
65
+ </include_waypoints>
66
+ <version translate="label">
67
+ <label>Extension Release</label>
68
+ <frontend_type>label</frontend_type>
69
+ <sort_order>100</sort_order>
70
+ <show_in_default>1</show_in_default>
71
+ <show_in_website>1</show_in_website>
72
+ <show_in_store>1</show_in_store>
73
+ </version>
74
+ </fields>
75
+ </general>
76
+ </groups>
77
+ </backtotopbutton>
78
+ <about_webandpeople translate="label" module="backtotopbutton">
79
+ <label>About Us</label>
80
+ <tab>web_and_people</tab>
81
+ <frontend_type>text</frontend_type>
82
+ <sort_order>99</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
+ <groups>
87
+ <info>
88
+ <frontend_model>backtotopbutton/about</frontend_model>
89
+ <sort_order>10</sort_order>
90
+ <show_in_default>1</show_in_default>
91
+ <show_in_website>1</show_in_website>
92
+ <show_in_store>1</show_in_store>
93
+ </info>
94
+ </groups>
95
+ </about_webandpeople>
96
+ </sections>
97
+ </config>
app/code/local/WP/CustomMenu/Block/About.php ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class WP_CustomMenu_Block_About
4
+ extends Mage_Adminhtml_Block_Abstract
5
+ implements Varien_Data_Form_Element_Renderer_Interface
6
+ {
7
+
8
+ /**
9
+ * Render fieldset html
10
+ *
11
+ * @param Varien_Data_Form_Element_Abstract $element
12
+ * @return string
13
+ */
14
+ public function render(Varien_Data_Form_Element_Abstract $element)
15
+ {
16
+ $default = <<<HTML
17
+ <div style="background-color:#EAF0EE;border:1px solid #CCCCCC;margin-bottom:10px;padding:20px;">
18
+ <p>
19
+ <b style="font-size:12px;">WebAndPeople</b>, a family of niche sites, provides small businesses with everything they need to start selling online.
20
+ </p>
21
+ <p>
22
+ <strong>PREMIUM and FREE MAGENTO TEMPALTES and EXTENSIONS</strong><br />
23
+ <a href="http://web-experiment.info" target="_blank">Web-Experiment.info</a> offers a wide choice of nice-looking and easily editable free and premium Magento Themes. At Web-Experiment, you can find free downloads or buy premium tempaltes for the extremely popular Magento eCommerce platform.<br />
24
+ <strong>MAGENTO HOSTING</strong></strong><br />
25
+ <a href="http://magenting.com" target="_blank">Magenting.com</a>, a new and improved hosting solution, is allowing you to easily create, promote, and manage your online store with Magento. Magenting users will receive a valuable set of tools and features, including automatic Magento eCommerce installation, automatic Magento template installation and a free or paid professional Magento hosting account.<br />
26
+ <strong>WEB DEVELOPMENT</strong><br />
27
+ <a href="http://webandpeople.com" target="_blank">WebAndPeople.com</a> is a team of professional Web developers and designers who are some of the best in the industry. WebAndPeople provides Web application development, custom Magento theme designs, and Website design services.<br />
28
+ <br />
29
+ </p>
30
+ <p>
31
+ Our themes and extensions on <a href="http://www.magentocommerce.com/magento-connect/developer/WebAndPeople" target="_blank">MagentoConnect</a><br />
32
+ Should you have any questions <a href="http://web-experiment.info/support" target="_blank">Contact Us</a> or email at <a href="mailto:support@web-experiment.info">support@web-experiment.info</a>
33
+ <br />
34
+ </p>
35
+ </div>
36
+ HTML;
37
+ $default = json_encode($default);
38
+ $html = '<div id="wp_aboutus_content"></div>
39
+
40
+ <script type="text/javascript"> //<![CDATA[
41
+
42
+ /* JSON-P implementation for Prototype.js somewhat by Dan Dean (http://www.dandean.com)
43
+ *
44
+ * *HEAVILY* based on Tobie Langel\'s version: http://gist.github.com/145466.
45
+ * Might as well just call this an iteration.
46
+ *
47
+ * This version introduces:
48
+ * - Support for predefined callbacks (Necessary for OAuth signed requests, by @rboyce)
49
+ * - Partial integration with Ajax.Responders (Thanks to @sr3d for the kick in this direction)
50
+ * - Compatibility with Prototype 1.7 (Thanks to @soung3 for the bug report)
51
+ * - Will not break if page lacks a <head> element
52
+ *
53
+ * See examples in README for usage
54
+ *
55
+ * VERSION 1.1.2
56
+ *
57
+ * new Ajax.JSONRequest(url, options);
58
+ * - url (String): JSON-P endpoint url.
59
+ * - options (Object): Configuration options for the request.
60
+ */
61
+ Ajax.JSONRequest = Class.create(Ajax.Base, (function() {
62
+ var id = 0, head = document.getElementsByTagName(\'head\')[0] || document.body;
63
+ return {
64
+ initialize: function($super, url, options) {
65
+ $super(options);
66
+ this.options.url = url;
67
+ this.options.callbackParamName = this.options.callbackParamName || \'callback\';
68
+ this.options.timeout = this.options.timeout || 10; // Default timeout: 10 seconds
69
+ this.options.invokeImmediately = (!Object.isUndefined(this.options.invokeImmediately)) ? this.options.invokeImmediately : true ;
70
+
71
+ if (!Object.isUndefined(this.options.parameters) && Object.isString(this.options.parameters)) {
72
+ this.options.parameters = this.options.parameters.toQueryParams();
73
+ }
74
+
75
+ if (this.options.invokeImmediately) {
76
+ this.request();
77
+ }
78
+ },
79
+
80
+ /**
81
+ * Ajax.JSONRequest#_cleanup() -> undefined
82
+ * Cleans up after the request
83
+ **/
84
+ _cleanup: function() {
85
+ if (this.timeout) {
86
+ clearTimeout(this.timeout);
87
+ this.timeout = null;
88
+ }
89
+ if (this.transport && Object.isElement(this.transport)) {
90
+ this.transport.remove();
91
+ this.transport = null;
92
+ }
93
+ },
94
+
95
+ /**
96
+ * Ajax.JSONRequest#request() -> undefined
97
+ * Invokes the JSON-P request lifecycle
98
+ **/
99
+ request: function() {
100
+
101
+ // Define local vars
102
+ var response = new Ajax.JSONResponse(this);
103
+ var key = this.options.callbackParamName,
104
+ name = \'_prototypeJSONPCallback_\' + (id++),
105
+ complete = function() {
106
+ if (Object.isFunction(this.options.onComplete)) {
107
+ this.options.onComplete.call(this, response);
108
+ }
109
+ Ajax.Responders.dispatch(\'onComplete\', this, response);
110
+ }.bind(this);
111
+
112
+ // If the callback parameter is already defined, use that
113
+ if (this.options.parameters[key] !== undefined) {
114
+ name = this.options.parameters[key];
115
+ }
116
+ // Otherwise, add callback as a parameter
117
+ else {
118
+ this.options.parameters[key] = name;
119
+ }
120
+
121
+ // Build request URL
122
+ this.options.parameters[key] = name;
123
+ var url = this.options.url + ((this.options.url.include(\'?\') ? \'&\' : \'?\') + Object.toQueryString(this.options.parameters));
124
+
125
+ // Define callback function
126
+ window[name] = function(json) {
127
+ this._cleanup(); // Garbage collection
128
+ window[name] = undefined;
129
+
130
+ response.status = 200;
131
+ response.statusText = "OK";
132
+ response.setResponseContent(json);
133
+
134
+ if (Object.isFunction(this.options.onSuccess)) {
135
+ this.options.onSuccess.call(this, response);
136
+ }
137
+ Ajax.Responders.dispatch(\'onSuccess\', this, response);
138
+
139
+ complete();
140
+
141
+ }.bind(this);
142
+
143
+ this.transport = new Element(\'script\', { type: \'text/javascript\', src: url });
144
+
145
+ if (Object.isFunction(this.options.onCreate)) {
146
+ this.options.onCreate.call(this, response);
147
+ }
148
+ Ajax.Responders.dispatch(\'onCreate\', this);
149
+
150
+ head.appendChild(this.transport);
151
+
152
+ this.timeout = setTimeout(function() {
153
+ this._cleanup();
154
+ window[name] = Prototype.emptyFunction;
155
+ if (Object.isFunction(this.options.onFailure)) {
156
+ response.status = 504;
157
+ response.statusText = "Gateway Timeout";
158
+ this.options.onFailure.call(this, response);
159
+ }
160
+ complete();
161
+ }.bind(this), this.options.timeout * 1000);
162
+ },
163
+ toString: function() { return "[object Ajax.JSONRequest]"; }
164
+ };
165
+ })());
166
+
167
+ Ajax.JSONResponse = Class.create({
168
+ initialize: function(request) {
169
+ this.request = request;
170
+ },
171
+ request: undefined,
172
+ status: 0,
173
+ statusText: \'\',
174
+ responseJSON: undefined,
175
+ responseText: undefined,
176
+ setResponseContent: function(json) {
177
+ this.responseJSON = json;
178
+ this.responseText = Object.toJSON(json);
179
+ },
180
+ getTransport: function() {
181
+ if (this.request) return this.request.transport;
182
+ },
183
+ toString: function() { return "[object Ajax.JSONResponse]"; }
184
+ });
185
+
186
+ window.onload = function(){
187
+ var html = ' . $default . ';
188
+
189
+ new Ajax.JSONRequest(\'http://web-experiment.info/about-us.php\', {
190
+ callbackParamName: "jsoncallback",
191
+ timeout: 2,
192
+ onComplete: function(response) {
193
+ if (response.responseJSON && response.responseJSON.html) {
194
+ html = response.responseJSON.html;
195
+ }
196
+ Element.replace(\'wp_aboutus_content\', html);
197
+ }
198
+ });
199
+ };
200
+ //]]></script>';
201
+ return $html;
202
+ }
203
+ }
app/code/local/WP/CustomMenu/Block/Navigation.php ADDED
@@ -0,0 +1,386 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class WP_CustomMenu_Block_Navigation extends Mage_Catalog_Block_Navigation
4
+ {
5
+ const CUSTOM_BLOCK_TEMPLATE = "wp_custom_menu_%d";
6
+
7
+ private $_productsCount = null;
8
+
9
+ public function drawCustomMenuMobileItem($category, $level = 0, $last = false)
10
+ {
11
+ if (!$category->getIsActive()) return '';
12
+ $html = array();
13
+ $id = $category->getId();
14
+ // --- Sub Categories ---
15
+ $activeChildren = $this->_getActiveChildren($category, $level);
16
+ // --- class for active category ---
17
+ $active = ''; if ($this->isCategoryActive($category)) $active = ' act';
18
+ $hasSubMenu = count($activeChildren);
19
+ $catUrl = $this->getCategoryUrl($category);
20
+ $html[] = '<div id="menu-mobile-' . $id . '" class="menu-mobile level0' . $active . '">';
21
+ $html[] = '<div class="parentMenu">';
22
+ // --- Top Menu Item ---
23
+ $html[] = '<a href="' . $catUrl .'">';
24
+ $name = $this->escapeHtml($category->getName());
25
+ if (Mage::getStoreConfig('custom_menu/general/non_breaking_space')) {
26
+ $name = str_replace(' ', '&nbsp;', $name);
27
+ }
28
+ $html[] = '<span>' . $name . '</span>';
29
+ $html[] = '</a>';
30
+ if ($hasSubMenu) {
31
+ $html[] = '<span class="button" rel="submenu-mobile-' . $id . '" onclick="wpSubMenuToggle(this, \'menu-mobile-' . $id . '\', \'submenu-mobile-' . $id . '\');">&nbsp;</span>';
32
+ }
33
+ $html[] = '</div>';
34
+ // --- Add Popup block (hidden) ---
35
+ if ($hasSubMenu) {
36
+ // --- draw Sub Categories ---
37
+ $html[] = '<div id="submenu-mobile-' . $id . '" rel="level' . $level . '" class="wp-custom-menu-submenu" style="display: none;">';
38
+ $html[] = $this->drawMobileMenuItem($activeChildren);
39
+ $html[] = '<div class="clearBoth"></div>';
40
+ $html[] = '</div>';
41
+ }
42
+ $html[] = '</div>';
43
+ $html = implode("\n", $html);
44
+ return $html;
45
+ }
46
+
47
+ public function drawCustomMenuItem($category, $level = 0, $last = false)
48
+ {
49
+ if (!$category->getIsActive()) return '';
50
+ $html = array();
51
+ $id = $category->getId();
52
+ // --- Static Block ---
53
+ $blockId = sprintf(self::CUSTOM_BLOCK_TEMPLATE, $id); // --- static block key
54
+ #Mage::log($blockId);
55
+ $collection = Mage::getModel('cms/block')->getCollection()
56
+ ->addFieldToFilter('identifier', array(array('like' => $blockId . '_w%'), array('eq' => $blockId)))
57
+ ->addFieldToFilter('is_active', 1);
58
+ $blockId = $collection->getFirstItem()->getIdentifier();
59
+ #Mage::log($blockId);
60
+ $blockHtml = Mage::app()->getLayout()->createBlock('cms/block')->setBlockId($blockId)->toHtml();
61
+ // --- Sub Categories ---
62
+ $activeChildren = $this->_getActiveChildren($category, $level);
63
+ // --- class for active category ---
64
+ $active = ''; if ($this->isCategoryActive($category)) $active = ' act';
65
+ // --- Popup functions for show ---
66
+ $drawPopup = ($blockHtml || count($activeChildren));
67
+ if ($drawPopup) {
68
+ $html[] = '<div id="menu' . $id . '" class="menu' . $active . '" onmouseover="wpShowMenuPopup(this, event, \'popup' . $id . '\');" onmouseout="wpHideMenuPopup(this, event, \'popup' . $id . '\', \'menu' . $id . '\')">';
69
+ } else {
70
+ $html[] = '<div id="menu' . $id . '" class="menu' . $active . '">';
71
+ }
72
+ // --- Top Menu Item ---
73
+ $html[] = '<div class="parentMenu">';
74
+ if ($level == 0 && $drawPopup) {
75
+ $html[] = '<a href="javascript:void(0);" rel="'.$this->getCategoryUrl($category).'">';
76
+ } else {
77
+ $html[] = '<a href="'.$this->getCategoryUrl($category).'">';
78
+ }
79
+ $name = $this->escapeHtml($category->getName());
80
+ if (Mage::getStoreConfig('custom_menu/general/non_breaking_space')) {
81
+ $name = str_replace(' ', '&nbsp;', $name);
82
+ }
83
+ $html[] = '<span>' . $name . '</span>';
84
+ $html[] = '</a>';
85
+ $html[] = '</div>';
86
+ $html[] = '</div>';
87
+ // --- Add Popup block (hidden) ---
88
+ if ($drawPopup) {
89
+ // --- Popup function for hide ---
90
+ $html[] = '<div id="popup' . $id . '" class="wp-custom-menu-popup" onmouseout="wpHideMenuPopup(this, event, \'popup' . $id . '\', \'menu' . $id . '\')" onmouseover="wpPopupOver(this, event, \'popup' . $id . '\', \'menu' . $id . '\')">';
91
+ // --- draw Sub Categories ---
92
+ if (count($activeChildren)) {
93
+ $columns = (int)Mage::getStoreConfig('custom_menu/columns/count');
94
+ $html[] = '<div class="block1">';
95
+ $html[] = $this->drawColumns($activeChildren, $columns);
96
+ $html[] = '<div class="clearBoth"></div>';
97
+ $html[] = '</div>';
98
+ }
99
+ // --- draw Custom User Block ---
100
+ if ($blockHtml) {
101
+ $html[] = '<div id="' . $blockId . '" class="block2">';
102
+ $html[] = $blockHtml;
103
+ $html[] = '</div>';
104
+ }
105
+ $html[] = '</div>';
106
+ }
107
+ $html = implode("\n", $html);
108
+ return $html;
109
+ }
110
+
111
+ public function drawMobileMenuItem($children, $level = 1)
112
+ {
113
+ $keyCurrent = $this->getCurrentCategory()->getId();
114
+ $html = '';
115
+ foreach ($children as $child) {
116
+ if (is_object($child) && $child->getIsActive()) {
117
+ // --- class for active category ---
118
+ $active = '';
119
+ $id = $child->getId();
120
+ $activeChildren = $this->_getActiveChildren($child, $level);
121
+ if ($this->isCategoryActive($child)) {
122
+ $active = ' actParent';
123
+ if ($id == $keyCurrent) $active = ' act';
124
+ }
125
+ $html.= '<div id="menu-mobile-' . $id . '" class="itemMenu level' . $level . $active . '">';
126
+ // --- format category name ---
127
+ $name = $this->escapeHtml($child->getName());
128
+ if (Mage::getStoreConfig('custom_menu/general/non_breaking_space')) $name = str_replace(' ', '&nbsp;', $name);
129
+ $html.= '<div class="parentMenu">';
130
+ $html.= '<a class="itemMenuName level' . $level . '" href="' . $this->getCategoryUrl($child) . '"><span>' . $name . '</span></a>';
131
+ if (count($activeChildren) > 0) {
132
+ $html.= '<span class="button" rel="submenu-mobile-' . $id . '" onclick="wpSubMenuToggle(this, \'menu-mobile-' . $id . '\', \'submenu-mobile-' . $id . '\');">&nbsp;</span>';
133
+ }
134
+ $html.= '</div>';
135
+ if (count($activeChildren) > 0) {
136
+ $html.= '<div id="submenu-mobile-' . $id . '" rel="level' . $level . '" class="wp-custom-menu-submenu level' . $level . '" style="display: none;">';
137
+ $html.= $this->drawMobileMenuItem($activeChildren, $level + 1);
138
+ $html.= '<div class="clearBoth"></div>';
139
+ $html.= '</div>';
140
+ }
141
+ $html.= '</div>';
142
+ }
143
+ }
144
+ return $html;
145
+ }
146
+
147
+ public function drawMenuItem($children, $level = 1)
148
+ {
149
+ $html = '<div class="itemMenu level' . $level . '">';
150
+ $keyCurrent = $this->getCurrentCategory()->getId();
151
+ foreach ($children as $child)
152
+ {
153
+ if (is_object($child) && $child->getIsActive())
154
+ {
155
+ // --- class for active category ---
156
+ $active = '';
157
+ if ($this->isCategoryActive($child))
158
+ {
159
+ $active = ' actParent';
160
+ if ($child->getId() == $keyCurrent) $active = ' act';
161
+ }
162
+ // --- format category name ---
163
+ $name = $this->escapeHtml($child->getName());
164
+ if (Mage::getStoreConfig('custom_menu/general/non_breaking_space'))
165
+ $name = str_replace(' ', '&nbsp;', $name);
166
+ $html.= '<a class="itemMenuName level' . $level . $active . '" href="' . $this->getCategoryUrl($child) . '"><span>' . $name . '</span></a>';
167
+ $activeChildren = $this->_getActiveChildren($child, $level);
168
+ if (count($activeChildren) > 0)
169
+ {
170
+ $html.= '<div class="itemSubMenu level' . $level . '">';
171
+ $html.= $this->drawMenuItem($activeChildren, $level + 1);
172
+ $html.= '</div>';
173
+ }
174
+ }
175
+ }
176
+ $html.= '</div>';
177
+ return $html;
178
+ }
179
+
180
+ public function drawColumns($children, $columns = 1)
181
+ {
182
+ $html = '';
183
+ // --- explode by columns ---
184
+ if ($columns < 1) $columns = 1;
185
+ $chunks = $this->_explodeByColumns($children, $columns);
186
+ // --- draw columns ---
187
+ $lastColumnNumber = count($chunks);
188
+ $i = 1;
189
+ foreach ($chunks as $key => $value)
190
+ {
191
+ if (!count($value)) continue;
192
+ $class = '';
193
+ if ($i == 1) $class.= ' first';
194
+ if ($i == $lastColumnNumber) $class.= ' last';
195
+ if ($i % 2) $class.= ' odd'; else $class.= ' even';
196
+ $html.= '<div class="column' . $class . '">';
197
+ $html.= $this->drawMenuItem($value, 1);
198
+ $html.= '</div>';
199
+ $i++;
200
+ }
201
+ return $html;
202
+ }
203
+
204
+ protected function _getActiveChildren($parent, $level)
205
+ {
206
+ $activeChildren = array();
207
+ // --- check level ---
208
+ $maxLevel = (int)Mage::getStoreConfig('custom_menu/general/max_level');
209
+ if ($maxLevel > 0)
210
+ {
211
+ if ($level >= ($maxLevel - 1)) return $activeChildren;
212
+ }
213
+ // --- / check level ---
214
+ if (Mage::helper('catalog/category_flat')->isEnabled())
215
+ {
216
+ $children = $parent->getChildrenNodes();
217
+ $childrenCount = count($children);
218
+ }
219
+ else
220
+ {
221
+ $children = $parent->getChildren();
222
+ $childrenCount = $children->count();
223
+ }
224
+ $hasChildren = $children && $childrenCount;
225
+ if ($hasChildren)
226
+ {
227
+ foreach ($children as $child)
228
+ {
229
+ if ($this->_isCategoryDisplayed($child))
230
+ {
231
+ array_push($activeChildren, $child);
232
+ }
233
+ }
234
+ }
235
+ return $activeChildren;
236
+ }
237
+
238
+ private function _isCategoryDisplayed(&$child)
239
+ {
240
+ if (!$child->getIsActive()) return false;
241
+ // === check products count ===
242
+ // --- get collection info ---
243
+ if (!Mage::getStoreConfig('custom_menu/general/display_empty_categories'))
244
+ {
245
+ $data = $this->_getProductsCountData();
246
+ // --- check by id ---
247
+ $id = $child->getId();
248
+ #Mage::log($id); Mage::log($data);
249
+ if (!isset($data[$id]) || !$data[$id]['product_count']) return false;
250
+ }
251
+ // === / check products count ===
252
+ return true;
253
+ }
254
+
255
+ private function _getProductsCountData()
256
+ {
257
+ if (is_null($this->_productsCount))
258
+ {
259
+ $collection = Mage::getModel('catalog/category')->getCollection();
260
+ $storeId = Mage::app()->getStore()->getId();
261
+ /* @var $collection Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Collection */
262
+ $collection->addAttributeToSelect('name')
263
+ ->addAttributeToSelect('is_active')
264
+ ->setProductStoreId($storeId)
265
+ ->setLoadProductCount(true)
266
+ ->setStoreId($storeId);
267
+ $productsCount = array();
268
+ foreach($collection as $cat)
269
+ {
270
+ $productsCount[$cat->getId()] = array(
271
+ 'name' => $cat->getName(),
272
+ 'product_count' => $cat->getProductCount(),
273
+ );
274
+ }
275
+ #Mage::log($productsCount);
276
+ $this->_productsCount = $productsCount;
277
+ }
278
+ return $this->_productsCount;
279
+ }
280
+
281
+ private function _explodeByColumns($target, $num)
282
+ {
283
+ if ((int)Mage::getStoreConfig('custom_menu/columns/divided_horizontally')) {
284
+ $target = self::_explodeArrayByColumnsHorisontal($target, $num);
285
+ } else {
286
+ $target = self::_explodeArrayByColumnsVertical($target, $num);
287
+ }
288
+ #return $target;
289
+ if ((int)Mage::getStoreConfig('custom_menu/columns/integrate') && count($target))
290
+ {
291
+ // --- combine consistently numerically small column ---
292
+ // --- 1. calc length of each column ---
293
+ $max = 0; $columnsLength = array();
294
+ foreach ($target as $key => $child)
295
+ {
296
+ $count = 0;
297
+ $this->_countChild($child, 1, $count);
298
+ if ($max < $count) $max = $count;
299
+ $columnsLength[$key] = $count;
300
+ }
301
+ // --- 2. merge small columns with next ---
302
+ $xColumns = array(); $column = array(); $cnt = 0;
303
+ $xColumnsLength = array(); $k = 0;
304
+ foreach ($columnsLength as $key => $count)
305
+ {
306
+ $cnt+= $count;
307
+ if ($cnt > $max && count($column))
308
+ {
309
+ $xColumns[$k] = $column;
310
+ $xColumnsLength[$k] = $cnt - $count;
311
+ $k++; $column = array(); $cnt = $count;
312
+ }
313
+ $column = array_merge($column, $target[$key]);
314
+ }
315
+ $xColumns[$k] = $column;
316
+ $xColumnsLength[$k] = $cnt - $count;
317
+ // --- 3. integrate columns of one element ---
318
+ $target = $xColumns; $xColumns = array(); $nextKey = -1;
319
+ if ($max > 1 && count($target) > 1)
320
+ {
321
+ foreach($target as $key => $column)
322
+ {
323
+ if ($key == $nextKey) continue;
324
+ if ($xColumnsLength[$key] == 1)
325
+ {
326
+ // --- merge with next column ---
327
+ $nextKey = $key + 1;
328
+ if (isset($target[$nextKey]) && count($target[$nextKey]))
329
+ {
330
+ $xColumns[] = array_merge($column, $target[$nextKey]);
331
+ continue;
332
+ }
333
+ }
334
+ $xColumns[] = $column;
335
+ }
336
+ $target = $xColumns;
337
+ }
338
+ }
339
+ $_rtl = Mage::getStoreConfigFlag('custom_menu/general/rtl');
340
+ if ($_rtl) {
341
+ $target = array_reverse($target);
342
+ }
343
+ return $target;
344
+ }
345
+
346
+ private function _countChild($children, $level, &$count)
347
+ {
348
+ foreach ($children as $child)
349
+ {
350
+ if ($child->getIsActive())
351
+ {
352
+ $count++; $activeChildren = $this->_getActiveChildren($child, $level);
353
+ if (count($activeChildren) > 0) $this->_countChild($activeChildren, $level + 1, $count);
354
+ }
355
+ }
356
+ }
357
+
358
+ private static function _explodeArrayByColumnsHorisontal($list, $num)
359
+ {
360
+ if ($num <= 0) return array($list);
361
+ $partition = array();
362
+ $partition = array_pad($partition, $num, array());
363
+ $i = 0;
364
+ foreach ($list as $key => $value) {
365
+ $partition[$i][$key] = $value;
366
+ if (++$i == $num) $i = 0;
367
+ }
368
+ return $partition;
369
+ }
370
+
371
+ private static function _explodeArrayByColumnsVertical($list, $num)
372
+ {
373
+ if ($num <= 0) return array($list);
374
+ $listlen = count($list);
375
+ $partlen = floor($listlen / $num);
376
+ $partrem = $listlen % $num;
377
+ $partition = array();
378
+ $mark = 0;
379
+ for ($column = 0; $column < $num; $column++) {
380
+ $incr = ($column < $partrem) ? $partlen + 1 : $partlen;
381
+ $partition[$column] = array_slice($list, $mark, $incr);
382
+ $mark += $incr;
383
+ }
384
+ return $partition;
385
+ }
386
+ }
app/code/local/WP/CustomMenu/Block/Toggle.php ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class WP_CustomMenu_Block_Toggle extends Mage_Core_Block_Template
4
+ {
5
+ public function _prepareLayout()
6
+ {
7
+ if (!Mage::getStoreConfig('custom_menu/general/enabled')) return;
8
+ if (Mage::getStoreConfig('custom_menu/general/ie6_ignore') && Mage::helper('custommenu')->isIE6()) return;
9
+ $layout = $this->getLayout();
10
+ $topnav = $layout->getBlock('catalog.topnav');
11
+ if (is_object($topnav)) {
12
+ $topnav->setTemplate('webandpeople/custommenu/top.phtml');
13
+ $head = $layout->getBlock('head');
14
+ $head->addItem('skin_js', 'js/webandpeople/custommenu/custommenu.js');
15
+ $head->addItem('skin_css', 'css/webandpeople/custommenu/custommenu.css');
16
+ // --- Insert menu content ---
17
+ if (!Mage::getStoreConfig('custom_menu/general/ajax_load_content')) {
18
+ $menuContent = $layout->getBlock('custommenu-content');
19
+ if (!is_object($menuContent)) {
20
+ $menuContent = $layout->createBlock('core/template', 'custommenu-content')
21
+ ->setTemplate('webandpeople/custommenu/menucontent.phtml');
22
+ }
23
+ if (Mage::getStoreConfig('custom_menu/general/move_code_to_bottom')) {
24
+ $positionTargetName = 'before_body_end';
25
+ } else {
26
+ $positionTargetName = 'content';
27
+ }
28
+ $positionTarget = $layout->getBlock($positionTargetName);
29
+ if (is_object($positionTarget)) $positionTarget->append($menuContent);
30
+ }
31
+ }
32
+ }
33
+ }
app/code/local/WP/CustomMenu/Block/Topmenu.php ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if (!Mage::getStoreConfig('custom_menu/general/enabled') ||
4
+ (Mage::getStoreConfig('custom_menu/general/ie6_ignore') && Mage::helper('custommenu')->isIE6()))
5
+ {
6
+ class WP_CustomMenu_Block_Topmenu extends Mage_Page_Block_Html_Topmenu
7
+ {
8
+
9
+ }
10
+ return;
11
+ }
12
+
13
+ class WP_CustomMenu_Block_Topmenu extends WP_CustomMenu_Block_Navigation
14
+ {
15
+
16
+ }
app/code/local/WP/CustomMenu/Helper/Data.php ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class WP_CustomMenu_Helper_Data extends Mage_Core_Helper_Abstract
4
+ {
5
+ private $_menuData = null;
6
+
7
+ public function isIE6()
8
+ {
9
+ if (!isset($_SERVER['HTTP_USER_AGENT'])) return;
10
+ $userAgent = $_SERVER['HTTP_USER_AGENT'];
11
+ preg_match('/MSIE ([0-9]{1,}[\.0-9]{0,})/', $userAgent, $matches);
12
+ if (!isset($matches[1])) return;
13
+ $version = floatval($matches[1]); #Mage::log($version);
14
+ $flag = false; if ($version <= 6.0) $flag = true;
15
+ return $flag;
16
+ }
17
+
18
+ public function getMenuData()
19
+ {
20
+ if (!is_null($this->_menuData)) return $this->_menuData;
21
+
22
+ $blockClassName = Mage::getConfig()->getBlockClassName('custommenu/navigation');
23
+ $block = new $blockClassName();
24
+
25
+ $categories = $block->getStoreCategories();
26
+ if (is_object($categories)) $categories = $block->getStoreCategories()->getNodes();
27
+
28
+ if (Mage::getStoreConfig('custom_menu/general/ajax_load_content')) {
29
+ $_moblieMenuAjaxUrl = str_replace('http:', '', Mage::getUrl('custommenu/ajaxmobilemenucontent'));
30
+ $_menuAjaxUrl = str_replace('http:', '', Mage::getUrl('custommenu/ajaxmenucontent'));
31
+ } else {
32
+ $_moblieMenuAjaxUrl = '';
33
+ $_menuAjaxUrl = '';
34
+ }
35
+
36
+ $this->_menuData = array(
37
+ '_block' => $block,
38
+ '_categories' => $categories,
39
+ '_moblieMenuAjaxUrl' => $_moblieMenuAjaxUrl,
40
+ '_menuAjaxUrl' => $_menuAjaxUrl,
41
+ '_showHomeLink' => Mage::getStoreConfig('custom_menu/general/show_home_link'),
42
+ '_popupWidth' => Mage::getStoreConfig('custom_menu/popup/width') + 0,
43
+ '_popupTopOffset' => Mage::getStoreConfig('custom_menu/popup/top_offset') + 0,
44
+ '_popupDelayBeforeDisplaying' => Mage::getStoreConfig('custom_menu/popup/delay_displaying') + 0,
45
+ '_popupDelayBeforeHiding' => Mage::getStoreConfig('custom_menu/popup/delay_hiding') + 0,
46
+ '_rtl' => Mage::getStoreConfig('custom_menu/general/rtl') + 0,
47
+ '_mobileMenuEnabled' => Mage::getStoreConfig('custom_menu/general/mobile_menu') + 0,
48
+ );
49
+
50
+ return $this->_menuData;
51
+ }
52
+
53
+ public function getMobileMenuContent()
54
+ {
55
+ $menuData = Mage::helper('custommenu')->getMenuData();
56
+ extract($menuData);
57
+ // --- Home Link ---
58
+ $homeLinkUrl = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB);
59
+ $homeLinkText = $this->__('Home');
60
+ $homeLink = '';
61
+ if ($_showHomeLink) {
62
+ $homeLink = <<<HTML
63
+ <div id="menu-mobile-0" class="menu-mobile level0">
64
+ <div class="parentMenu">
65
+ <a href="$homeLinkUrl">
66
+ <span>$homeLinkText</span>
67
+ </a>
68
+ </div>
69
+ </div>
70
+ HTML;
71
+ }
72
+ // --- Menu Content ---
73
+ $mobileMenuContent = '';
74
+ $mobileMenuContentArray = array();
75
+ foreach ($_categories as $_category) {
76
+ $mobileMenuContentArray[] = $_block->drawCustomMenuMobileItem($_category);
77
+ }
78
+ if (count($mobileMenuContentArray)) {
79
+ $mobileMenuContent = implode("\n", $mobileMenuContentArray);
80
+ }
81
+ // --- Result ---
82
+ $menu = <<<HTML
83
+ $homeLink
84
+ $mobileMenuContent
85
+ <div class="clearBoth"></div>
86
+ HTML;
87
+ return $menu;
88
+ }
89
+
90
+ public function getMenuContent()
91
+ {
92
+ $menuData = Mage::helper('custommenu')->getMenuData();
93
+ extract($menuData);
94
+ // --- Home Link ---
95
+ $homeLinkUrl = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB);
96
+ $homeLinkText = $this->__('Home');
97
+ $homeLink = '';
98
+ if ($_showHomeLink) {
99
+ $homeLink = <<<HTML
100
+ <div class="menu">
101
+ <div class="parentMenu menu0">
102
+ <a href="$homeLinkUrl">
103
+ <span>$homeLinkText</span>
104
+ </a>
105
+ </div>
106
+ </div>
107
+ HTML;
108
+ }
109
+ // --- Menu Content ---
110
+ $menuContent = '';
111
+ $menuContentArray = array();
112
+ foreach ($_categories as $_category) {
113
+ $menuContentArray[] = $_block->drawCustomMenuItem($_category);
114
+ }
115
+ if (count($menuContentArray)) {
116
+ $menuContent = implode("\n", $menuContentArray);
117
+ }
118
+ // --- Result ---
119
+ $menu = <<<HTML
120
+ $homeLink
121
+ $menuContent
122
+ <div class="clearBoth"></div>
123
+ HTML;
124
+ return $menu;
125
+ }
126
+ }
app/code/local/WP/CustomMenu/controllers/AjaxmenucontentController.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class WP_CustomMenu_AjaxmenucontentController extends Mage_Core_Controller_Front_Action
4
+ {
5
+ public function indexAction()
6
+ {
7
+ $menu = Mage::helper('custommenu')->getMenuContent();
8
+ $this->getResponse()->setBody($menu);
9
+ }
10
+ }
app/code/local/WP/CustomMenu/controllers/AjaxmobilemenucontentController.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class WP_CustomMenu_AjaxmobilemenucontentController extends Mage_Core_Controller_Front_Action
4
+ {
5
+ public function indexAction()
6
+ {
7
+ $menu = Mage::helper('custommenu')->getMobileMenuContent();
8
+ $this->getResponse()->setBody($menu);
9
+ }
10
+ }
app/code/local/WP/CustomMenu/etc/config.xml ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <WP_CustomMenu>
5
+ <version>2.5.7</version>
6
+ </WP_CustomMenu>
7
+ </modules>
8
+ <frontend>
9
+ <routers>
10
+ <custommenu>
11
+ <use>standard</use>
12
+ <args>
13
+ <frontName>custommenu</frontName>
14
+ <module>WP_CustomMenu</module>
15
+ </args>
16
+ </custommenu>
17
+ </routers>
18
+ <layout>
19
+ <updates>
20
+ <custommenu>
21
+ <file>webandpeople/custommenu.xml</file>
22
+ </custommenu>
23
+ </updates>
24
+ </layout>
25
+ </frontend>
26
+ <adminhtml>
27
+ <acl>
28
+ <resources>
29
+ <all>
30
+ <title>Allow Everything</title>
31
+ </all>
32
+ <admin>
33
+ <children>
34
+ <system>
35
+ <children>
36
+ <config>
37
+ <children>
38
+ <custom_menu translate="title" module="custommenu">
39
+ <title><![CDATA[Web & People: Custom Menu]]></title>
40
+ <sort_order>2000</sort_order>
41
+ </custom_menu>
42
+ </children>
43
+ </config>
44
+ </children>
45
+ </system>
46
+ </children>
47
+ </admin>
48
+ </resources>
49
+ </acl>
50
+ </adminhtml>
51
+ <global>
52
+ <blocks>
53
+ <catalog>
54
+ <rewrite>
55
+ <navigation>WP_CustomMenu_Block_Navigation</navigation>
56
+ <!-- v1.4-1.6 -->
57
+ </rewrite>
58
+ </catalog>
59
+ <page>
60
+ <rewrite>
61
+ <html_topmenu>WP_CustomMenu_Block_Topmenu</html_topmenu>
62
+ <!-- v1.7 -->
63
+ </rewrite>
64
+ </page>
65
+ <custommenu>
66
+ <class>WP_CustomMenu_Block</class>
67
+ </custommenu>
68
+ </blocks>
69
+ <helpers>
70
+ <custommenu>
71
+ <class>WP_CustomMenu_Helper</class>
72
+ </custommenu>
73
+ </helpers>
74
+ </global>
75
+ <default>
76
+ <custom_menu>
77
+ <general>
78
+ <enabled>1</enabled>
79
+ <ajax_load_content>0</ajax_load_content>
80
+ <move_code_to_bottom>0</move_code_to_bottom>
81
+ <mobile_menu>1</mobile_menu>
82
+ <display_empty_categories>1</display_empty_categories>
83
+ <max_level>3</max_level>
84
+ <show_home_link>1</show_home_link>
85
+ <non_breaking_space>0</non_breaking_space>
86
+ <ie6_ignore>1</ie6_ignore>
87
+ <rtl>0</rtl>
88
+ <version>2.5.7</version>
89
+ </general>
90
+ <columns>
91
+ <count>3</count>
92
+ <divided_horizontally>0</divided_horizontally>
93
+ <integrate>1</integrate>
94
+ </columns>
95
+ <popup>
96
+ <width>0</width>
97
+ <top_offset>0</top_offset>
98
+ <delay_displaying>150</delay_displaying>
99
+ <delay_hiding>100</delay_hiding>
100
+ </popup>
101
+ </custom_menu>
102
+ </default>
103
+ <adminhtml>
104
+ <acl>
105
+ <resources>
106
+ <admin>
107
+ <children>
108
+ <system>
109
+ <children>
110
+ <config>
111
+ <children>
112
+ <about_webandpeople translate="title" module="custommenu">
113
+ <title><![CDATA[Web & People: About Us]]></title>
114
+ <sort_order>1000</sort_order>
115
+ </about_webandpeople>
116
+ </children>
117
+ </config>
118
+ </children>
119
+ </system>
120
+ </children>
121
+ </admin>
122
+ </resources>
123
+ </acl>
124
+ </adminhtml>
125
+ </config>
app/code/local/WP/CustomMenu/etc/system.xml ADDED
@@ -0,0 +1,240 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <tabs>
4
+ <web_and_people translate="label" module="custommenu">
5
+ <label>Web-And-People</label>
6
+ <sort_order>150</sort_order>
7
+ </web_and_people>
8
+ </tabs>
9
+ <sections>
10
+ <custom_menu translate="label" module="custommenu">
11
+ <label>Custom Menu</label>
12
+ <tab>web_and_people</tab>
13
+ <frontend_type>text</frontend_type>
14
+ <sort_order>200</sort_order>
15
+ <show_in_default>1</show_in_default>
16
+ <show_in_website>1</show_in_website>
17
+ <show_in_store>1</show_in_store>
18
+ <groups>
19
+ <general translate="label">
20
+ <label>General</label>
21
+ <frontend_type>text</frontend_type>
22
+ <sort_order>10</sort_order>
23
+ <show_in_default>1</show_in_default>
24
+ <show_in_website>1</show_in_website>
25
+ <show_in_store>1</show_in_store>
26
+ <fields>
27
+ <enabled translate="label comment">
28
+ <label>Enable</label>
29
+ <comment><![CDATA[In order to display a custom block with images or other html content in the popup, use the <b>Static Block</b> (<strong>CMS->Static Blocks</strong> section) with the ID like "<b>wp_custom_menu_83</b>", where "<b>83</b>" is the Category ID of this category]]></comment>
30
+ <frontend_type>select</frontend_type>
31
+ <source_model>adminhtml/system_config_source_yesno</source_model>
32
+ <sort_order>1</sort_order>
33
+ <show_in_default>1</show_in_default>
34
+ <show_in_website>1</show_in_website>
35
+ <show_in_store>1</show_in_store>
36
+ </enabled>
37
+ <ajax_load_content translate="label comment">
38
+ <label>Load content through ajax</label>
39
+ <frontend_type>select</frontend_type>
40
+ <source_model>adminhtml/system_config_source_yesno</source_model>
41
+ <sort_order>2</sort_order>
42
+ <show_in_default>1</show_in_default>
43
+ <show_in_website>1</show_in_website>
44
+ <show_in_store>1</show_in_store>
45
+ </ajax_load_content>
46
+ <move_code_to_bottom translate="label">
47
+ <label>Move content to the bottom</label>
48
+ <comment>Move the menu source code to the bottom of a page</comment>
49
+ <frontend_type>select</frontend_type>
50
+ <source_model>adminhtml/system_config_source_yesno</source_model>
51
+ <sort_order>3</sort_order>
52
+ <show_in_default>1</show_in_default>
53
+ <show_in_website>1</show_in_website>
54
+ <show_in_store>1</show_in_store>
55
+ <depends>
56
+ <ajax_load_content>0</ajax_load_content>
57
+ </depends>
58
+ </move_code_to_bottom>
59
+ <mobile_menu translate="label comment">
60
+ <label>Mobile menu</label>
61
+ <frontend_type>select</frontend_type>
62
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
63
+ <sort_order>4</sort_order>
64
+ <show_in_default>1</show_in_default>
65
+ <show_in_website>1</show_in_website>
66
+ <show_in_store>1</show_in_store>
67
+ </mobile_menu>
68
+ <display_empty_categories translate="label comment">
69
+ <label>Display empty categories</label>
70
+ <comment><![CDATA[An empty category is a category that has no products]]></comment>
71
+ <frontend_type>select</frontend_type>
72
+ <source_model>adminhtml/system_config_source_yesno</source_model>
73
+ <sort_order>5</sort_order>
74
+ <show_in_default>1</show_in_default>
75
+ <show_in_website>1</show_in_website>
76
+ <show_in_store>1</show_in_store>
77
+ </display_empty_categories>
78
+ <max_level translate="label comment">
79
+ <label>Visible menu depth</label>
80
+ <comment><![CDATA[e.g. 1, 2, 3, 4 (0 - disable limits). For example, if you set this value to <b>2</b>, only second level categories will be displayed]]></comment>
81
+ <frontend_type>text</frontend_type>
82
+ <sort_order>10</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
+ </max_level>
87
+ <show_home_link translate="label">
88
+ <label>Show the link "Home"</label>
89
+ <frontend_type>select</frontend_type>
90
+ <source_model>adminhtml/system_config_source_yesno</source_model>
91
+ <sort_order>15</sort_order>
92
+ <show_in_default>1</show_in_default>
93
+ <show_in_website>1</show_in_website>
94
+ <show_in_store>1</show_in_store>
95
+ </show_home_link>
96
+ <non_breaking_space translate="label comment">
97
+ <label>Replace spaces with non-breaking spaces</label>
98
+ <comment><![CDATA[Insert <b>&amp;nbsp;</b> instead of a space in a name of a menu item]]></comment>
99
+ <frontend_type>select</frontend_type>
100
+ <source_model>adminhtml/system_config_source_yesno</source_model>
101
+ <sort_order>20</sort_order>
102
+ <show_in_default>1</show_in_default>
103
+ <show_in_website>1</show_in_website>
104
+ <show_in_store>1</show_in_store>
105
+ </non_breaking_space>
106
+ <ie6_ignore translate="label">
107
+ <label>Display standard menu in IE6 browser</label>
108
+ <frontend_type>select</frontend_type>
109
+ <source_model>adminhtml/system_config_source_yesno</source_model>
110
+ <sort_order>30</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
+ </ie6_ignore>
115
+ <rtl translate="label">
116
+ <label>Enable RTL Text mode</label>
117
+ <frontend_type>select</frontend_type>
118
+ <source_model>adminhtml/system_config_source_yesno</source_model>
119
+ <sort_order>35</sort_order>
120
+ <show_in_default>1</show_in_default>
121
+ <show_in_website>1</show_in_website>
122
+ <show_in_store>1</show_in_store>
123
+ </rtl>
124
+ <version translate="label">
125
+ <label>Extension Release</label>
126
+ <frontend_type>label</frontend_type>
127
+ <sort_order>100</sort_order>
128
+ <show_in_default>1</show_in_default>
129
+ <show_in_website>1</show_in_website>
130
+ <show_in_store>1</show_in_store>
131
+ </version>
132
+ </fields>
133
+ </general>
134
+ <columns translate="label">
135
+ <label>Columns</label>
136
+ <frontend_type>text</frontend_type>
137
+ <sort_order>15</sort_order>
138
+ <show_in_default>1</show_in_default>
139
+ <show_in_website>1</show_in_website>
140
+ <show_in_store>1</show_in_store>
141
+ <fields>
142
+ <count translate="label comment">
143
+ <label>Number of columns</label>
144
+ <comment>e.g. 1, 2, 3. The maximum number of columns in the popup</comment>
145
+ <frontend_type>text</frontend_type>
146
+ <sort_order>1</sort_order>
147
+ <show_in_default>1</show_in_default>
148
+ <show_in_website>1</show_in_website>
149
+ <show_in_store>1</show_in_store>
150
+ </count>
151
+ <divided_horizontally translate="label comment">
152
+ <label>Split categories left to right into columns</label>
153
+ <comment><![CDATA[Next Sub-category is placed to the next column]]></comment>
154
+ <frontend_type>select</frontend_type>
155
+ <source_model>adminhtml/system_config_source_yesno</source_model>
156
+ <sort_order>3</sort_order>
157
+ <show_in_default>1</show_in_default>
158
+ <show_in_website>1</show_in_website>
159
+ <show_in_store>1</show_in_store>
160
+ </divided_horizontally>
161
+ <integrate translate="label comment">
162
+ <label>Merge small subcategories</label>
163
+ <comment><![CDATA[Merge small subcategory lists into one column (except the extream left categories)]]></comment>
164
+ <frontend_type>select</frontend_type>
165
+ <source_model>adminhtml/system_config_source_yesno</source_model>
166
+ <sort_order>5</sort_order>
167
+ <show_in_default>1</show_in_default>
168
+ <show_in_website>1</show_in_website>
169
+ <show_in_store>1</show_in_store>
170
+ </integrate>
171
+ </fields>
172
+ </columns>
173
+ <popup translate="label">
174
+ <label>Popup settings</label>
175
+ <frontend_type>text</frontend_type>
176
+ <sort_order>20</sort_order>
177
+ <show_in_default>1</show_in_default>
178
+ <show_in_website>1</show_in_website>
179
+ <show_in_store>1</show_in_store>
180
+ <fields>
181
+ <width translate="label comment">
182
+ <label>Width</label>
183
+ <comment>in pixels, (0 - no fixed width)</comment>
184
+ <frontend_type>text</frontend_type>
185
+ <sort_order>1</sort_order>
186
+ <show_in_default>1</show_in_default>
187
+ <show_in_website>1</show_in_website>
188
+ <show_in_store>1</show_in_store>
189
+ </width>
190
+ <top_offset translate="label comment">
191
+ <label>Top offset</label>
192
+ <comment>in pixels, (0 - to calculate the offset automatically)</comment>
193
+ <frontend_type>text</frontend_type>
194
+ <sort_order>3</sort_order>
195
+ <show_in_default>1</show_in_default>
196
+ <show_in_website>1</show_in_website>
197
+ <show_in_store>1</show_in_store>
198
+ </top_offset>
199
+ <delay_displaying translate="label comment">
200
+ <label>Delay before displaying</label>
201
+ <comment>in milliseconds</comment>
202
+ <frontend_type>text</frontend_type>
203
+ <sort_order>15</sort_order>
204
+ <show_in_default>1</show_in_default>
205
+ <show_in_website>1</show_in_website>
206
+ <show_in_store>1</show_in_store>
207
+ </delay_displaying>
208
+ <delay_hiding translate="label comment">
209
+ <label>Delay before hiding</label>
210
+ <comment>in milliseconds</comment>
211
+ <frontend_type>text</frontend_type>
212
+ <sort_order>20</sort_order>
213
+ <show_in_default>1</show_in_default>
214
+ <show_in_website>1</show_in_website>
215
+ <show_in_store>1</show_in_store>
216
+ </delay_hiding>
217
+ </fields>
218
+ </popup>
219
+ </groups>
220
+ </custom_menu>
221
+ <about_webandpeople translate="label" module="custommenu">
222
+ <label>About Us</label>
223
+ <tab>web_and_people</tab>
224
+ <frontend_type>text</frontend_type>
225
+ <sort_order>99</sort_order>
226
+ <show_in_default>1</show_in_default>
227
+ <show_in_website>1</show_in_website>
228
+ <show_in_store>1</show_in_store>
229
+ <groups>
230
+ <info>
231
+ <frontend_model>custommenu/about</frontend_model>
232
+ <sort_order>10</sort_order>
233
+ <show_in_default>1</show_in_default>
234
+ <show_in_website>1</show_in_website>
235
+ <show_in_store>1</show_in_store>
236
+ </info>
237
+ </groups>
238
+ </about_webandpeople>
239
+ </sections>
240
+ </config>
app/code/local/WP/SmartCatalog/Block/About.php ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class WP_SmartCatalog_Block_About
4
+ extends Mage_Adminhtml_Block_Abstract
5
+ implements Varien_Data_Form_Element_Renderer_Interface
6
+ {
7
+
8
+ /**
9
+ * Render fieldset html
10
+ *
11
+ * @param Varien_Data_Form_Element_Abstract $element
12
+ * @return string
13
+ */
14
+ public function render(Varien_Data_Form_Element_Abstract $element)
15
+ {
16
+ $default = <<<HTML
17
+ <div style="background-color:#EAF0EE;border:1px solid #CCCCCC;margin-bottom:10px;padding:20px;">
18
+ <p>
19
+ <b style="font-size:12px;">WebAndPeople</b>, a family of niche sites, provides small businesses with everything they need to start selling online.
20
+ </p>
21
+ <p>
22
+ <strong>PREMIUM and FREE MAGENTO TEMPALTES and EXTENSIONS</strong><br />
23
+ <a href="http://web-experiment.info" target="_blank">Web-Experiment.info</a> offers a wide choice of nice-looking and easily editable free and premium Magento Themes. At Web-Experiment, you can find free downloads or buy premium tempaltes for the extremely popular Magento eCommerce platform.<br />
24
+ <strong>MAGENTO HOSTING</strong></strong><br />
25
+ <a href="http://magenting.com" target="_blank">Magenting.com</a>, a new and improved hosting solution, is allowing you to easily create, promote, and manage your online store with Magento. Magenting users will receive a valuable set of tools and features, including automatic Magento eCommerce installation, automatic Magento template installation and a free or paid professional Magento hosting account.<br />
26
+ <strong>WEB DEVELOPMENT</strong><br />
27
+ <a href="http://webandpeople.com" target="_blank">WebAndPeople.com</a> is a team of professional Web developers and designers who are some of the best in the industry. WebAndPeople provides Web application development, custom Magento theme designs, and Website design services.<br />
28
+ <br />
29
+ </p>
30
+ <p>
31
+ Our themes and extensions on <a href="http://www.magentocommerce.com/magento-connect/developer/WebAndPeople" target="_blank">MagentoConnect</a><br />
32
+ Should you have any questions <a href="http://web-experiment.info/support" target="_blank">Contact Us</a> or email at <a href="mailto:support@web-experiment.info">support@web-experiment.info</a>
33
+ <br />
34
+ </p>
35
+ </div>
36
+ HTML;
37
+ $default = json_encode($default);
38
+ $html = '<div id="wp_aboutus_content"></div>
39
+
40
+ <script type="text/javascript"> //<![CDATA[
41
+
42
+ /* JSON-P implementation for Prototype.js somewhat by Dan Dean (http://www.dandean.com)
43
+ *
44
+ * *HEAVILY* based on Tobie Langel\'s version: http://gist.github.com/145466.
45
+ * Might as well just call this an iteration.
46
+ *
47
+ * This version introduces:
48
+ * - Support for predefined callbacks (Necessary for OAuth signed requests, by @rboyce)
49
+ * - Partial integration with Ajax.Responders (Thanks to @sr3d for the kick in this direction)
50
+ * - Compatibility with Prototype 1.7 (Thanks to @soung3 for the bug report)
51
+ * - Will not break if page lacks a <head> element
52
+ *
53
+ * See examples in README for usage
54
+ *
55
+ * VERSION 1.1.2
56
+ *
57
+ * new Ajax.JSONRequest(url, options);
58
+ * - url (String): JSON-P endpoint url.
59
+ * - options (Object): Configuration options for the request.
60
+ */
61
+ Ajax.JSONRequest = Class.create(Ajax.Base, (function() {
62
+ var id = 0, head = document.getElementsByTagName(\'head\')[0] || document.body;
63
+ return {
64
+ initialize: function($super, url, options) {
65
+ $super(options);
66
+ this.options.url = url;
67
+ this.options.callbackParamName = this.options.callbackParamName || \'callback\';
68
+ this.options.timeout = this.options.timeout || 10; // Default timeout: 10 seconds
69
+ this.options.invokeImmediately = (!Object.isUndefined(this.options.invokeImmediately)) ? this.options.invokeImmediately : true ;
70
+
71
+ if (!Object.isUndefined(this.options.parameters) && Object.isString(this.options.parameters)) {
72
+ this.options.parameters = this.options.parameters.toQueryParams();
73
+ }
74
+
75
+ if (this.options.invokeImmediately) {
76
+ this.request();
77
+ }
78
+ },
79
+
80
+ /**
81
+ * Ajax.JSONRequest#_cleanup() -> undefined
82
+ * Cleans up after the request
83
+ **/
84
+ _cleanup: function() {
85
+ if (this.timeout) {
86
+ clearTimeout(this.timeout);
87
+ this.timeout = null;
88
+ }
89
+ if (this.transport && Object.isElement(this.transport)) {
90
+ this.transport.remove();
91
+ this.transport = null;
92
+ }
93
+ },
94
+
95
+ /**
96
+ * Ajax.JSONRequest#request() -> undefined
97
+ * Invokes the JSON-P request lifecycle
98
+ **/
99
+ request: function() {
100
+
101
+ // Define local vars
102
+ var response = new Ajax.JSONResponse(this);
103
+ var key = this.options.callbackParamName,
104
+ name = \'_prototypeJSONPCallback_\' + (id++),
105
+ complete = function() {
106
+ if (Object.isFunction(this.options.onComplete)) {
107
+ this.options.onComplete.call(this, response);
108
+ }
109
+ Ajax.Responders.dispatch(\'onComplete\', this, response);
110
+ }.bind(this);
111
+
112
+ // If the callback parameter is already defined, use that
113
+ if (this.options.parameters[key] !== undefined) {
114
+ name = this.options.parameters[key];
115
+ }
116
+ // Otherwise, add callback as a parameter
117
+ else {
118
+ this.options.parameters[key] = name;
119
+ }
120
+
121
+ // Build request URL
122
+ this.options.parameters[key] = name;
123
+ var url = this.options.url + ((this.options.url.include(\'?\') ? \'&\' : \'?\') + Object.toQueryString(this.options.parameters));
124
+
125
+ // Define callback function
126
+ window[name] = function(json) {
127
+ this._cleanup(); // Garbage collection
128
+ window[name] = undefined;
129
+
130
+ response.status = 200;
131
+ response.statusText = "OK";
132
+ response.setResponseContent(json);
133
+
134
+ if (Object.isFunction(this.options.onSuccess)) {
135
+ this.options.onSuccess.call(this, response);
136
+ }
137
+ Ajax.Responders.dispatch(\'onSuccess\', this, response);
138
+
139
+ complete();
140
+
141
+ }.bind(this);
142
+
143
+ this.transport = new Element(\'script\', { type: \'text/javascript\', src: url });
144
+
145
+ if (Object.isFunction(this.options.onCreate)) {
146
+ this.options.onCreate.call(this, response);
147
+ }
148
+ Ajax.Responders.dispatch(\'onCreate\', this);
149
+
150
+ head.appendChild(this.transport);
151
+
152
+ this.timeout = setTimeout(function() {
153
+ this._cleanup();
154
+ window[name] = Prototype.emptyFunction;
155
+ if (Object.isFunction(this.options.onFailure)) {
156
+ response.status = 504;
157
+ response.statusText = "Gateway Timeout";
158
+ this.options.onFailure.call(this, response);
159
+ }
160
+ complete();
161
+ }.bind(this), this.options.timeout * 1000);
162
+ },
163
+ toString: function() { return "[object Ajax.JSONRequest]"; }
164
+ };
165
+ })());
166
+
167
+ Ajax.JSONResponse = Class.create({
168
+ initialize: function(request) {
169
+ this.request = request;
170
+ },
171
+ request: undefined,
172
+ status: 0,
173
+ statusText: \'\',
174
+ responseJSON: undefined,
175
+ responseText: undefined,
176
+ setResponseContent: function(json) {
177
+ this.responseJSON = json;
178
+ this.responseText = Object.toJSON(json);
179
+ },
180
+ getTransport: function() {
181
+ if (this.request) return this.request.transport;
182
+ },
183
+ toString: function() { return "[object Ajax.JSONResponse]"; }
184
+ });
185
+
186
+ window.onload = function(){
187
+ var html = ' . $default . ';
188
+
189
+ new Ajax.JSONRequest(\'http://web-experiment.info/about-us.php\', {
190
+ callbackParamName: "jsoncallback",
191
+ timeout: 2,
192
+ onComplete: function(response) {
193
+ if (response.responseJSON && response.responseJSON.html) {
194
+ html = response.responseJSON.html;
195
+ }
196
+ Element.replace(\'wp_aboutus_content\', html);
197
+ }
198
+ });
199
+ };
200
+ //]]></script>';
201
+ return $html;
202
+ }
203
+ }
app/code/local/WP/SmartCatalog/Block/Toggle.php ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class WP_SmartCatalog_Block_Toggle extends Mage_Core_Block_Template
4
+ {
5
+ public function _prepareLayout()
6
+ {
7
+ if (!Mage::getStoreConfigFlag('smart_catalog/general/enabled')) return;
8
+ $layout = $this->getLayout();
9
+ // --- css ---
10
+ $head = $layout->getBlock('head');
11
+ $head->addItem('skin_css', 'css/webandpeople/smartcatalog/smartcatalog.css');
12
+ // --- js ---
13
+ if (Mage::getStoreConfigFlag('smart_catalog/include_jquery_files/include_jquery')) {
14
+ $head->addItem('js', 'webandpeople/jquery/smartcatalog/jquery.min.js');
15
+ $head->addItem('js', 'webandpeople/jquery/smartcatalog/jquery-noconflict.js');
16
+ }
17
+ $head->addItem('js', 'webandpeople/jquery_plugins/smartcatalog/jquery-noconflict.js', 'name="wp_jquery_noconflict"');
18
+ if (Mage::getStoreConfigFlag('smart_catalog/include_jquery_files/include_debouncedresize')) {
19
+ $head->addItem('js', 'webandpeople/jquery_plugins/smartcatalog/jquery.debouncedresize.js', 'name="wp_jquery_plugins"');
20
+ }
21
+ $head->addItem('js', 'webandpeople/jquery_plugins/smartcatalog/jquery.actual.js', 'name="wp_jquery_plugins"');
22
+ $head->addItem('skin_js', 'js/webandpeople/smartcatalog/jquery.smartCatalog.js', 'name="wp_custom_js"');
23
+ }
24
+ }
app/code/local/WP/SmartCatalog/Helper/Data.php ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class WP_SmartCatalog_Helper_Data extends Mage_Core_Helper_Abstract
4
+ {
5
+ public function getTemplateData(&$blockProductList)
6
+ {
7
+ // --- get Column Width ---
8
+ $_columnWidth = $blockProductList->getColumnWidth() + 0;
9
+ if (!$_columnWidth) $_columnWidth = Mage::getStoreConfig('smart_catalog/general/column_width') + 0;
10
+ if (!$_columnWidth) $_columnWidth = 150;
11
+ // --- get Image Width ---
12
+ $_imgWidth = $blockProductList->getImageWidth();
13
+ if (!$_imgWidth) $_imgWidth = Mage::getStoreConfig('smart_catalog/general/image_width');
14
+ if ($_imgWidth == '-') {
15
+ $_imgWidth = $_imgHeight = 0;
16
+ } else {
17
+ $_imgWidth += 0;
18
+ // --- get Image Height ---
19
+ $_imgHeight = $blockProductList->getImageHeight() + 0;
20
+ if (!$_imgHeight) $_imgHeight = Mage::getStoreConfig('smart_catalog/general/image_height');
21
+ if (!$_imgHeight) $_imgHeight = $_imgWidth;
22
+ }
23
+
24
+ $_productCollection = $blockProductList->getLoadedProductCollection();
25
+ if (is_null($_productCollection)) $_productCollection = $blockProductList->getProductCollection();
26
+
27
+ if (!is_null($_productCollection) && $_productsCount = $blockProductList->getProductsCount()) {
28
+ $_productCollection = $_productCollection->clear()
29
+ ->setPageSize($_productsCount)
30
+ ->load()
31
+ ;
32
+ Mage::getModel('review/review')->appendSummary($_productCollection);
33
+ }
34
+
35
+ return array($_imgWidth, $_imgHeight, $_columnWidth, $_productCollection);
36
+ }
37
+
38
+ public function displayShortDescription()
39
+ {
40
+ return Mage::getStoreConfig('smart_catalog/general/display_short_desc');
41
+ }
42
+ }
app/code/local/WP/SmartCatalog/Model/Observer.php ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class WP_SmartCatalog_Model_Observer
4
+ {
5
+ public function observeLayoutHandleInitialization(Varien_Event_Observer $observer)
6
+ {
7
+ if (!Mage::getStoreConfigFlag('smart_catalog/general/enabled')) return;
8
+ $controllerAction = $observer->getEvent()->getAction();
9
+ $fullActionName = $controllerAction->getFullActionName();
10
+ #Mage::log($fullActionName);
11
+ if ($fullActionName == 'catalog_category_view') {
12
+ $controllerAction->getLayout()->getUpdate()->addHandle('wp_smartcatalog_product_list');
13
+ }
14
+ if ($fullActionName == 'catalogsearch_result_index' ||
15
+ $fullActionName == 'catalogsearch_advanced_result' ||
16
+ $fullActionName == 'tag_product_list') {
17
+ $controllerAction->getLayout()->getUpdate()->addHandle('wp_smartcatalog_search_result_list');
18
+ }
19
+ }
20
+ }
app/code/local/WP/SmartCatalog/etc/config.xml ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <WP_SmartCatalog>
5
+ <version>3.4.0</version>
6
+ </WP_SmartCatalog>
7
+ </modules>
8
+ <frontend>
9
+ <events>
10
+ <controller_action_layout_load_before>
11
+ <observers>
12
+ <smartcatalog>
13
+ <type>singleton</type>
14
+ <model>smartcatalog/observer</model>
15
+ <method>observeLayoutHandleInitialization</method>
16
+ </smartcatalog>
17
+ </observers>
18
+ </controller_action_layout_load_before>
19
+ </events>
20
+ <layout>
21
+ <updates>
22
+ <smartcatalog>
23
+ <file>webandpeople/smartcatalog.xml</file>
24
+ </smartcatalog>
25
+ </updates>
26
+ </layout>
27
+ </frontend>
28
+ <adminhtml>
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
+ <smart_catalog translate="title" module="smartcatalog">
41
+ <title><![CDATA[Web & People: Smart Catalog Lite]]></title>
42
+ <sort_order>2000</sort_order>
43
+ </smart_catalog>
44
+ </children>
45
+ </config>
46
+ </children>
47
+ </system>
48
+ </children>
49
+ </admin>
50
+ </resources>
51
+ </acl>
52
+ </adminhtml>
53
+ <global>
54
+ <models>
55
+ <smartcatalog>
56
+ <class>WP_SmartCatalog_Model</class>
57
+ </smartcatalog>
58
+ </models>
59
+ <blocks>
60
+ <smartcatalog>
61
+ <class>WP_SmartCatalog_Block</class>
62
+ </smartcatalog>
63
+ </blocks>
64
+ <helpers>
65
+ <smartcatalog>
66
+ <class>WP_SmartCatalog_Helper</class>
67
+ </smartcatalog>
68
+ </helpers>
69
+ </global>
70
+ <default>
71
+ <smart_catalog>
72
+ <general>
73
+ <enabled>1</enabled>
74
+ <image_width>135</image_width>
75
+ <image_height>135</image_height>
76
+ <column_width>150</column_width>
77
+ <display_short_desc>1</display_short_desc>
78
+ <version>3.4.0</version>
79
+ </general>
80
+ <include_jquery_files>
81
+ <include_jquery>1</include_jquery>
82
+ <include_debouncedresize>1</include_debouncedresize>
83
+ </include_jquery_files>
84
+ </smart_catalog>
85
+ </default>
86
+ <adminhtml>
87
+ <acl>
88
+ <resources>
89
+ <admin>
90
+ <children>
91
+ <system>
92
+ <children>
93
+ <config>
94
+ <children>
95
+ <about_webandpeople translate="title" module="smartcatalog">
96
+ <title><![CDATA[Web & People: About Us]]></title>
97
+ <sort_order>1000</sort_order>
98
+ </about_webandpeople>
99
+ </children>
100
+ </config>
101
+ </children>
102
+ </system>
103
+ </children>
104
+ </admin>
105
+ </resources>
106
+ </acl>
107
+ </adminhtml>
108
+ </config>
app/code/local/WP/SmartCatalog/etc/system.xml ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <tabs>
4
+ <web_and_people translate="label" module="smartcatalog">
5
+ <label>Web-And-People</label>
6
+ <sort_order>150</sort_order>
7
+ </web_and_people>
8
+ </tabs>
9
+ <sections>
10
+ <smart_catalog translate="label" module="smartcatalog">
11
+ <label>Smart Catalog Lite</label>
12
+ <tab>web_and_people</tab>
13
+ <frontend_type>text</frontend_type>
14
+ <sort_order>200</sort_order>
15
+ <show_in_default>1</show_in_default>
16
+ <show_in_website>1</show_in_website>
17
+ <show_in_store>1</show_in_store>
18
+ <groups>
19
+ <general translate="label">
20
+ <label>General</label>
21
+ <frontend_type>text</frontend_type>
22
+ <sort_order>10</sort_order>
23
+ <show_in_default>1</show_in_default>
24
+ <show_in_website>1</show_in_website>
25
+ <show_in_store>1</show_in_store>
26
+ <expanded>1</expanded>
27
+ <fields>
28
+ <enabled translate="label">
29
+ <label>Enable</label>
30
+ <frontend_type>select</frontend_type>
31
+ <source_model>adminhtml/system_config_source_yesno</source_model>
32
+ <sort_order>5</sort_order>
33
+ <show_in_default>1</show_in_default>
34
+ <show_in_website>1</show_in_website>
35
+ <show_in_store>1</show_in_store>
36
+ </enabled>
37
+ <image_width translate="label comment">
38
+ <label>Image Width (px)</label>
39
+ <comment><![CDATA[Exact size.]]></comment>
40
+ <frontend_type>text</frontend_type>
41
+ <sort_order>20</sort_order>
42
+ <show_in_default>1</show_in_default>
43
+ <show_in_website>1</show_in_website>
44
+ <show_in_store>1</show_in_store>
45
+ </image_width>
46
+ <image_height translate="label comment">
47
+ <label>Image Height (px)</label>
48
+ <comment><![CDATA[Exact size.]]></comment>
49
+ <frontend_type>text</frontend_type>
50
+ <sort_order>25</sort_order>
51
+ <show_in_default>1</show_in_default>
52
+ <show_in_website>1</show_in_website>
53
+ <show_in_store>1</show_in_store>
54
+ </image_height>
55
+ <column_width translate="label comment">
56
+ <label>Column Width (px)</label>
57
+ <comment><![CDATA[Approximate size.<br />The total width might be slightly different.]]></comment>
58
+ <frontend_type>text</frontend_type>
59
+ <sort_order>27</sort_order>
60
+ <show_in_default>1</show_in_default>
61
+ <show_in_website>1</show_in_website>
62
+ <show_in_store>1</show_in_store>
63
+ </column_width>
64
+ <display_short_desc translate="label">
65
+ <label>Display Short Description</label>
66
+ <frontend_type>select</frontend_type>
67
+ <source_model>adminhtml/system_config_source_yesno</source_model>
68
+ <sort_order>28</sort_order>
69
+ <show_in_default>1</show_in_default>
70
+ <show_in_website>1</show_in_website>
71
+ <show_in_store>1</show_in_store>
72
+ </display_short_desc>
73
+ <version translate="label">
74
+ <label>Extension Release</label>
75
+ <frontend_type>label</frontend_type>
76
+ <sort_order>100</sort_order>
77
+ <show_in_default>1</show_in_default>
78
+ <show_in_website>1</show_in_website>
79
+ <show_in_store>1</show_in_store>
80
+ </version>
81
+ </fields>
82
+ </general>
83
+ <include_jquery_files translate="label">
84
+ <label>Include jQuery files</label>
85
+ <frontend_type>text</frontend_type>
86
+ <sort_order>30</sort_order>
87
+ <show_in_default>1</show_in_default>
88
+ <show_in_website>1</show_in_website>
89
+ <show_in_store>1</show_in_store>
90
+ <expanded>1</expanded>
91
+ <fields>
92
+ <include_jquery translate="label comment">
93
+ <label>Include jQuery v1.8.3</label>
94
+ <comment>Your website pages might already have one jQuery instance enabled. In this case this value must be set to "No".</comment>
95
+ <frontend_type>select</frontend_type>
96
+ <source_model>adminhtml/system_config_source_yesno</source_model>
97
+ <sort_order>10</sort_order>
98
+ <show_in_default>1</show_in_default>
99
+ <show_in_website>1</show_in_website>
100
+ <show_in_store>1</show_in_store>
101
+ </include_jquery>
102
+ <include_debouncedresize translate="label comment">
103
+ <label>Include jQuery Debouncedresize</label>
104
+ <comment>Your website pages might already have one Debouncedresize instance enabled. In this case this value must be set to "No".</comment>
105
+ <frontend_type>select</frontend_type>
106
+ <source_model>adminhtml/system_config_source_yesno</source_model>
107
+ <sort_order>40</sort_order>
108
+ <show_in_default>1</show_in_default>
109
+ <show_in_website>1</show_in_website>
110
+ <show_in_store>1</show_in_store>
111
+ </include_debouncedresize>
112
+ </fields>
113
+ </include_jquery_files>
114
+ </groups>
115
+ </smart_catalog>
116
+ <about_webandpeople translate="label" module="smartcatalog">
117
+ <label>About Us</label>
118
+ <tab>web_and_people</tab>
119
+ <frontend_type>text</frontend_type>
120
+ <sort_order>99</sort_order>
121
+ <show_in_default>1</show_in_default>
122
+ <show_in_website>1</show_in_website>
123
+ <show_in_store>1</show_in_store>
124
+ <groups>
125
+ <info>
126
+ <frontend_model>smartcatalog/about</frontend_model>
127
+ <sort_order>10</sort_order>
128
+ <show_in_default>1</show_in_default>
129
+ <show_in_website>1</show_in_website>
130
+ <show_in_store>1</show_in_store>
131
+ </info>
132
+ </groups>
133
+ </about_webandpeople>
134
+ </sections>
135
+ </config>
app/code/local/WP/ThemeGrayscale2014/Block/About.php ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class WP_ThemeGrayscale2014_Block_About
4
+ extends Mage_Adminhtml_Block_Abstract
5
+ implements Varien_Data_Form_Element_Renderer_Interface
6
+ {
7
+
8
+ /**
9
+ * Render fieldset html
10
+ *
11
+ * @param Varien_Data_Form_Element_Abstract $element
12
+ * @return string
13
+ */
14
+ public function render(Varien_Data_Form_Element_Abstract $element)
15
+ {
16
+ $default = <<<HTML
17
+ <div style="background-color:#EAF0EE;border:1px solid #CCCCCC;margin-bottom:10px;padding:20px;">
18
+ <p>
19
+ <b style="font-size:12px;">WebAndPeople</b>, a family of niche sites, provides small businesses with everything they need to start selling online.
20
+ </p>
21
+ <p>
22
+ <strong>PREMIUM and FREE MAGENTO TEMPALTES and EXTENSIONS</strong><br />
23
+ <a href="http://web-experiment.info" target="_blank">Web-Experiment.info</a> offers a wide choice of nice-looking and easily editable free and premium Magento Themes. At Web-Experiment, you can find free downloads or buy premium tempaltes for the extremely popular Magento eCommerce platform.<br />
24
+ <strong>MAGENTO HOSTING</strong></strong><br />
25
+ <a href="http://magenting.com" target="_blank">Magenting.com</a>, a new and improved hosting solution, is allowing you to easily create, promote, and manage your online store with Magento. Magenting users will receive a valuable set of tools and features, including automatic Magento eCommerce installation, automatic Magento template installation and a free or paid professional Magento hosting account.<br />
26
+ <strong>WEB DEVELOPMENT</strong><br />
27
+ <a href="http://webandpeople.com" target="_blank">WebAndPeople.com</a> is a team of professional Web developers and designers who are some of the best in the industry. WebAndPeople provides Web application development, custom Magento theme designs, and Website design services.<br />
28
+ <br />
29
+ </p>
30
+ <p>
31
+ Our themes and extensions on <a href="http://www.magentocommerce.com/magento-connect/developer/WebAndPeople" target="_blank">MagentoConnect</a><br />
32
+ Should you have any questions <a href="http://web-experiment.info/support" target="_blank">Contact Us</a> or email at <a href="mailto:support@web-experiment.info">support@web-experiment.info</a>
33
+ <br />
34
+ </p>
35
+ </div>
36
+ HTML;
37
+ $default = json_encode($default);
38
+ $html = '<div id="wp_aboutus_content"></div>
39
+
40
+ <script type="text/javascript"> //<![CDATA[
41
+
42
+ /* JSON-P implementation for Prototype.js somewhat by Dan Dean (http://www.dandean.com)
43
+ *
44
+ * *HEAVILY* based on Tobie Langel\'s version: http://gist.github.com/145466.
45
+ * Might as well just call this an iteration.
46
+ *
47
+ * This version introduces:
48
+ * - Support for predefined callbacks (Necessary for OAuth signed requests, by @rboyce)
49
+ * - Partial integration with Ajax.Responders (Thanks to @sr3d for the kick in this direction)
50
+ * - Compatibility with Prototype 1.7 (Thanks to @soung3 for the bug report)
51
+ * - Will not break if page lacks a <head> element
52
+ *
53
+ * See examples in README for usage
54
+ *
55
+ * VERSION 1.1.2
56
+ *
57
+ * new Ajax.JSONRequest(url, options);
58
+ * - url (String): JSON-P endpoint url.
59
+ * - options (Object): Configuration options for the request.
60
+ */
61
+ Ajax.JSONRequest = Class.create(Ajax.Base, (function() {
62
+ var id = 0, head = document.getElementsByTagName(\'head\')[0] || document.body;
63
+ return {
64
+ initialize: function($super, url, options) {
65
+ $super(options);
66
+ this.options.url = url;
67
+ this.options.callbackParamName = this.options.callbackParamName || \'callback\';
68
+ this.options.timeout = this.options.timeout || 10; // Default timeout: 10 seconds
69
+ this.options.invokeImmediately = (!Object.isUndefined(this.options.invokeImmediately)) ? this.options.invokeImmediately : true ;
70
+
71
+ if (!Object.isUndefined(this.options.parameters) && Object.isString(this.options.parameters)) {
72
+ this.options.parameters = this.options.parameters.toQueryParams();
73
+ }
74
+
75
+ if (this.options.invokeImmediately) {
76
+ this.request();
77
+ }
78
+ },
79
+
80
+ /**
81
+ * Ajax.JSONRequest#_cleanup() -> undefined
82
+ * Cleans up after the request
83
+ **/
84
+ _cleanup: function() {
85
+ if (this.timeout) {
86
+ clearTimeout(this.timeout);
87
+ this.timeout = null;
88
+ }
89
+ if (this.transport && Object.isElement(this.transport)) {
90
+ this.transport.remove();
91
+ this.transport = null;
92
+ }
93
+ },
94
+
95
+ /**
96
+ * Ajax.JSONRequest#request() -> undefined
97
+ * Invokes the JSON-P request lifecycle
98
+ **/
99
+ request: function() {
100
+
101
+ // Define local vars
102
+ var response = new Ajax.JSONResponse(this);
103
+ var key = this.options.callbackParamName,
104
+ name = \'_prototypeJSONPCallback_\' + (id++),
105
+ complete = function() {
106
+ if (Object.isFunction(this.options.onComplete)) {
107
+ this.options.onComplete.call(this, response);
108
+ }
109
+ Ajax.Responders.dispatch(\'onComplete\', this, response);
110
+ }.bind(this);
111
+
112
+ // If the callback parameter is already defined, use that
113
+ if (this.options.parameters[key] !== undefined) {
114
+ name = this.options.parameters[key];
115
+ }
116
+ // Otherwise, add callback as a parameter
117
+ else {
118
+ this.options.parameters[key] = name;
119
+ }
120
+
121
+ // Build request URL
122
+ this.options.parameters[key] = name;
123
+ var url = this.options.url + ((this.options.url.include(\'?\') ? \'&\' : \'?\') + Object.toQueryString(this.options.parameters));
124
+
125
+ // Define callback function
126
+ window[name] = function(json) {
127
+ this._cleanup(); // Garbage collection
128
+ window[name] = undefined;
129
+
130
+ response.status = 200;
131
+ response.statusText = "OK";
132
+ response.setResponseContent(json);
133
+
134
+ if (Object.isFunction(this.options.onSuccess)) {
135
+ this.options.onSuccess.call(this, response);
136
+ }
137
+ Ajax.Responders.dispatch(\'onSuccess\', this, response);
138
+
139
+ complete();
140
+
141
+ }.bind(this);
142
+
143
+ this.transport = new Element(\'script\', { type: \'text/javascript\', src: url });
144
+
145
+ if (Object.isFunction(this.options.onCreate)) {
146
+ this.options.onCreate.call(this, response);
147
+ }
148
+ Ajax.Responders.dispatch(\'onCreate\', this);
149
+
150
+ head.appendChild(this.transport);
151
+
152
+ this.timeout = setTimeout(function() {
153
+ this._cleanup();
154
+ window[name] = Prototype.emptyFunction;
155
+ if (Object.isFunction(this.options.onFailure)) {
156
+ response.status = 504;
157
+ response.statusText = "Gateway Timeout";
158
+ this.options.onFailure.call(this, response);
159
+ }
160
+ complete();
161
+ }.bind(this), this.options.timeout * 1000);
162
+ },
163
+ toString: function() { return "[object Ajax.JSONRequest]"; }
164
+ };
165
+ })());
166
+
167
+ Ajax.JSONResponse = Class.create({
168
+ initialize: function(request) {
169
+ this.request = request;
170
+ },
171
+ request: undefined,
172
+ status: 0,
173
+ statusText: \'\',
174
+ responseJSON: undefined,
175
+ responseText: undefined,
176
+ setResponseContent: function(json) {
177
+ this.responseJSON = json;
178
+ this.responseText = Object.toJSON(json);
179
+ },
180
+ getTransport: function() {
181
+ if (this.request) return this.request.transport;
182
+ },
183
+ toString: function() { return "[object Ajax.JSONResponse]"; }
184
+ });
185
+
186
+ window.onload = function(){
187
+ var html = ' . $default . ';
188
+
189
+ new Ajax.JSONRequest(\'http://web-experiment.info/about-us.php\', {
190
+ callbackParamName: "jsoncallback",
191
+ timeout: 2,
192
+ onComplete: function(response) {
193
+ if (response.responseJSON && response.responseJSON.html) {
194
+ html = response.responseJSON.html;
195
+ }
196
+ Element.replace(\'wp_aboutus_content\', html);
197
+ }
198
+ });
199
+ };
200
+ //]]></script>';
201
+ return $html;
202
+ }
203
+ }
app/code/local/WP/ThemeGrayscale2014/Helper/Data.php ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class WP_ThemeGrayscale2014_Helper_Data extends Mage_Core_Helper_Abstract
4
+ {
5
+
6
+ }
app/code/local/WP/ThemeGrayscale2014/etc/config.xml ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <WP_ThemeGrayscale2014>
5
+ <version>1.0.0</version>
6
+ </WP_ThemeGrayscale2014>
7
+ </modules>
8
+ <global>
9
+ <helpers>
10
+ <themegrayscale2014>
11
+ <class>WP_ThemeGrayscale2014_Helper</class>
12
+ </themegrayscale2014>
13
+ </helpers>
14
+ </global>
15
+ <adminhtml>
16
+ <acl>
17
+ <resources>
18
+ <all>
19
+ <title>Allow Everything</title>
20
+ </all>
21
+ <admin>
22
+ <children>
23
+ <system>
24
+ <children>
25
+ <config>
26
+ <children>
27
+ <theme_grayscale2014 translate="title" module="themegrayscale2014">
28
+ <title><![CDATA[Web & People: Theme Grayscale Full-Width]]></title>
29
+ <sort_order>1000</sort_order>
30
+ </theme_grayscale2014>
31
+ </children>
32
+ </config>
33
+ </children>
34
+ </system>
35
+ </children>
36
+ </admin>
37
+ </resources>
38
+ </acl>
39
+ </adminhtml>
40
+ <default>
41
+ <theme_grayscale2014>
42
+ <general>
43
+ <version>1.0.0</version>
44
+ </general>
45
+ </theme_grayscale2014>
46
+ </default>
47
+ <adminhtml>
48
+ <acl>
49
+ <resources>
50
+ <admin>
51
+ <children>
52
+ <system>
53
+ <children>
54
+ <config>
55
+ <children>
56
+ <about_webandpeople translate="title" module="themegrayscale2014">
57
+ <title><![CDATA[Web & People: About Us]]></title>
58
+ <sort_order>1000</sort_order>
59
+ </about_webandpeople>
60
+ </children>
61
+ </config>
62
+ </children>
63
+ </system>
64
+ </children>
65
+ </admin>
66
+ </resources>
67
+ </acl>
68
+ </adminhtml>
69
+ <global>
70
+ <blocks>
71
+ <themegrayscale2014>
72
+ <class>WP_ThemeGrayscale2014_Block</class>
73
+ </themegrayscale2014>
74
+ </blocks>
75
+ </global>
76
+ </config>
app/code/local/WP/ThemeGrayscale2014/etc/system.xml ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <tabs>
4
+ <web_and_people translate="label" module="themegrayscale2014">
5
+ <label>Web-And-People</label>
6
+ <sort_order>150</sort_order>
7
+ </web_and_people>
8
+ </tabs>
9
+ <sections>
10
+ <theme_grayscale2014 translate="label" module="themegrayscale2014">
11
+ <label>Theme Grayscale Full-Width</label>
12
+ <tab>web_and_people</tab>
13
+ <frontend_type>text</frontend_type>
14
+ <sort_order>100</sort_order>
15
+ <show_in_default>1</show_in_default>
16
+ <show_in_website>0</show_in_website>
17
+ <show_in_store>0</show_in_store>
18
+ <groups>
19
+ <general translate="label">
20
+ <label>General</label>
21
+ <frontend_type>text</frontend_type>
22
+ <sort_order>10</sort_order>
23
+ <show_in_default>1</show_in_default>
24
+ <show_in_website>0</show_in_website>
25
+ <show_in_store>0</show_in_store>
26
+ <expanded>1</expanded>
27
+ <fields>
28
+ <version translate="label">
29
+ <label>Theme Release</label>
30
+ <frontend_type>label</frontend_type>
31
+ <sort_order>100</sort_order>
32
+ <show_in_default>1</show_in_default>
33
+ <show_in_website>0</show_in_website>
34
+ <show_in_store>0</show_in_store>
35
+ </version>
36
+ </fields>
37
+ </general>
38
+ </groups>
39
+ </theme_grayscale2014>
40
+ <about_webandpeople translate="label" module="themegrayscale2014">
41
+ <label>About Us</label>
42
+ <tab>web_and_people</tab>
43
+ <frontend_type>text</frontend_type>
44
+ <sort_order>99</sort_order>
45
+ <show_in_default>1</show_in_default>
46
+ <show_in_website>1</show_in_website>
47
+ <show_in_store>1</show_in_store>
48
+ <groups>
49
+ <info>
50
+ <frontend_model>themegrayscale2014/about</frontend_model>
51
+ <sort_order>10</sort_order>
52
+ <show_in_default>1</show_in_default>
53
+ <show_in_website>1</show_in_website>
54
+ <show_in_store>1</show_in_store>
55
+ </info>
56
+ </groups>
57
+ </about_webandpeople>
58
+ </sections>
59
+ </config>
app/design/frontend/default/default/layout/webandpeople/backtotopbutton.xml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <layout version="0.1.0">
3
+ <default>
4
+ <block type="backtotopbutton/toggle"></block>
5
+ </default>
6
+ </layout>
app/design/frontend/default/default/layout/webandpeople/custommenu.xml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <layout version="0.1.0">
3
+ <default>
4
+ <block type="custommenu/toggle"></block>
5
+ </default>
6
+ </layout>
app/design/frontend/default/default/layout/webandpeople/smartcatalog.xml ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <layout version="0.1.0">
3
+ <default>
4
+ <block type="smartcatalog/toggle"></block>
5
+ </default>
6
+
7
+ <wp_smartcatalog_product_list>
8
+ <reference name="product_list">
9
+ <action method="setTemplate">
10
+ <template>webandpeople/smartcatalog/list.phtml</template>
11
+ </action>
12
+ </reference>
13
+ </wp_smartcatalog_product_list>
14
+
15
+ <wp_smartcatalog_search_result_list>
16
+ <reference name="search_result_list">
17
+ <action method="setTemplate">
18
+ <template>webandpeople/smartcatalog/list.phtml</template>
19
+ </action>
20
+ </reference>
21
+ </wp_smartcatalog_search_result_list>
22
+ </layout>
app/design/frontend/default/default/layout/webandpeople/smartproductimage.xml ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <layout version="0.1.0">
3
+ <catalog_product_view>
4
+ <reference name="before_body_end">
5
+ <block type="smartproductimage/js"></block>
6
+ </reference>
7
+ </catalog_product_view>
8
+
9
+ <review_product_list>
10
+ <reference name="before_body_end">
11
+ <block type="smartproductimage/js"></block>
12
+ </reference>
13
+ </review_product_list>
14
+ </layout>
app/design/frontend/default/default/template/webandpeople/backtotopbutton/button.phtml ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <script type="text/javascript">
2
+ //<![CDATA[
3
+ jqBackToTop(function($) {
4
+ // --- scroll to top ---
5
+ var $body = $('body');
6
+ $body.append('<a class="go-to-top hidden" href="javascript:;" onclick="jQuery(\'html, body\').animate({ scrollTop: 0 }, \'slow\');" title="<?php echo $this->__('Scroll to top'); ?>"><?php echo $this->__('Back to top'); ?></a>');
7
+ if (typeof $.fn.waypoint != 'undefined') {
8
+ $body.waypoint(function(direction) {
9
+ $('.go-to-top').toggleClass('hidden', direction === "up");
10
+ }, {
11
+ offset: '-50%'
12
+ });
13
+ }
14
+ });
15
+ //]]>
16
+ </script>
app/design/frontend/default/default/template/webandpeople/custommenu/menucontent.phtml ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php $menuContent = Mage::helper('custommenu')->getMenuContent(); ?>
2
+ <script type="text/javascript">
3
+ //<![CDATA[
4
+ if ($('custommenu')) $('custommenu').update(<?php echo Zend_Json::encode($menuContent); ?>);
5
+ //]]>
6
+ </script>
7
+ <?php $mobileMenuContent = Mage::helper('custommenu')->getMobileMenuContent(); ?>
8
+ <script type="text/javascript">
9
+ //<![CDATA[
10
+ if ($('menu-content')) $('menu-content').update(<?php echo Zend_Json::encode($mobileMenuContent); ?>);
11
+ //]]>
12
+ </script>
app/design/frontend/default/default/template/webandpeople/custommenu/top.phtml ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php $menuData = Mage::helper('custommenu')->getMenuData(); extract($menuData); ?>
2
+ <div class="nav-container">
3
+ <div id="custommenu-loading" class="<?php echo $_rtl ? ' rtl' : ''; ?>">
4
+ <div class="menu">
5
+ <div class="parentMenu menu0">
6
+ <a href="javascript:;">
7
+ <span><?php echo $this->__('Loading...'); ?></span>
8
+ </a>
9
+ </div>
10
+ </div>
11
+ <div class="clearBoth"></div>
12
+ </div>
13
+ <div id="custommenu" class="<?php echo $_rtl ? ' rtl' : ''; ?>" style="display:none;">
14
+ <div class="menu">
15
+ <div class="parentMenu menu0">
16
+ <a href="javascript:;">
17
+ <span><?php echo $this->__('Loading...'); ?></span>
18
+ </a>
19
+ </div>
20
+ </div>
21
+ <div class="clearBoth"></div>
22
+ </div>
23
+ <div id="custommenu-mobile" class="<?php echo $_rtl ? ' rtl' : ''; ?>" style="display:none;">
24
+ <div id="menu-button" onclick="wpMenuButtonToggle()">
25
+ <a href="javascript:void(0);">
26
+ <span><?php echo $this->__('Menu'); ?></span>
27
+ </a>
28
+ </div>
29
+ <div id="menu-content" style="display:none;">
30
+ <div id="menu-mobile-loading" class="menu-mobile level0">
31
+ <div class="parentMenu">
32
+ <a href="javascript:;">
33
+ <span><?php echo $this->__('Loading...'); ?></span>
34
+ </a>
35
+ </div>
36
+ </div>
37
+ <div class="clearBoth"></div>
38
+ </div>
39
+ </div>
40
+ </div>
41
+ <script type="text/javascript">
42
+ //<![CDATA[
43
+ var CUSTOMMENU_POPUP_WIDTH = <?php echo $_popupWidth; ?>;
44
+ var CUSTOMMENU_POPUP_TOP_OFFSET = <?php echo $_popupTopOffset; ?>;
45
+ var CUSTOMMENU_POPUP_DELAY_BEFORE_DISPLAYING = <?php echo $_popupDelayBeforeDisplaying; ?>;
46
+ var CUSTOMMENU_POPUP_DELAY_BEFORE_HIDING = <?php echo $_popupDelayBeforeHiding; ?>;
47
+ var CUSTOMMENU_RTL_MODE = <?php echo $_rtl; ?>;
48
+ var wpCustommenuTimerShow = {};
49
+ var wpCustommenuTimerHide = {};
50
+ var wpActiveMenu = null;
51
+ var wpMobileMenuEnabled = <?php echo $_mobileMenuEnabled; ?>;
52
+ var wpMenuAjaxUrl = '<?php echo $_menuAjaxUrl; ?>';
53
+ var wpMoblieMenuAjaxUrl = '<?php echo $_moblieMenuAjaxUrl; ?>';
54
+ wpCustomMenuMobileToggle();
55
+ Event.observe(window, 'resize', function() {
56
+ wpCustomMenuMobileToggle();
57
+ });
58
+ //]]>
59
+ </script>
app/design/frontend/default/default/template/webandpeople/smartcatalog/list-home.phtml ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php list($_imgWidth, $_imgHeight, $_columnWidth, $_productCollection) = Mage::helper('smartcatalog')->getTemplateData($this); ?>
2
+ <?php $uid = uniqid();?>
3
+ <?php if (!$_productCollection->getSize()): ?>
4
+ <p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
5
+ <?php else: ?>
6
+
7
+ <div class="category-products">
8
+
9
+ <?php // Grid Mode ?>
10
+
11
+ <script type="text/javascript">document.documentElement.id = 'js'</script>
12
+ <style type="text/css">#js .show_through_js {visibility: hidden; display: block; height: 0px; overflow: hidden;}</style>
13
+
14
+ <div class="smart-columns smart-columns-home-<?php echo $uid; ?> <?php echo "img_{$_imgWidth}_{$_imgHeight}"; ?>">
15
+ <div class="smartcolumns-splash"><?php echo $this->__('Loading...') ?></div>
16
+
17
+ <ul class="products-grid smart show_through_js">
18
+ <?php foreach ($_productCollection as $_product): ?>
19
+
20
+ <li class="item">
21
+
22
+ <div class="item-content">
23
+
24
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" class="product-image">
25
+ <?php if ($_imgWidth && $_imgHeight) : ?>
26
+ <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize($_imgWidth, $_imgHeight); ?>" width="<?php echo $_imgWidth; ?>" height="<?php echo $_imgHeight; ?>" alt="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" />
27
+ <?php else : ?>
28
+ <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image'); ?>" alt="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" />
29
+ <?php endif; ?>
30
+ </a>
31
+ <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>"><?php echo $this->htmlEscape($_product->getName()) ?></a></h2>
32
+ <?php if ($_product->getRatingSummary()): ?>
33
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
34
+ <?php endif; ?>
35
+ <?php echo $this->getPriceHtml($_product, true) ?>
36
+ <div class="actions">
37
+ <?php if($_product->isSaleable()): ?>
38
+ <button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
39
+ <?php else: ?>
40
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
41
+ <?php endif; ?>
42
+ <ul class="add-to-links">
43
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
44
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
45
+ <?php endif; ?>
46
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
47
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
48
+ <?php endif; ?>
49
+ </ul>
50
+ </div>
51
+
52
+ </div>
53
+
54
+ </li>
55
+
56
+ <?php endforeach ?>
57
+ </ul>
58
+ </div>
59
+
60
+ <script type="text/javascript">
61
+ jqSmartCatalog(document).ready(function() {
62
+ jqSmartCatalog('div.smart-columns-home-<?php echo $uid; ?>').wpSmartColumns({columnWidth: <?php echo $_columnWidth; ?>, oneRow: true});
63
+ });
64
+ </script>
65
+ </div>
66
+ <?php endif; ?>
app/design/frontend/default/default/template/webandpeople/smartcatalog/list.phtml ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ list($_imgWidth, $_imgHeight, $_columnWidth, $_productCollection) = Mage::helper('smartcatalog')->getTemplateData($this);
3
+ $_displayShortDescription = Mage::helper('smartcatalog')->displayShortDescription();
4
+ $_productList = $_productCollection->getItems();
5
+ ?>
6
+
7
+ <?php if (!$_productCollection->getSize()): ?>
8
+ <p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
9
+ <?php else: ?>
10
+ <div class="category-products load-next-page-ajax-wrap ajax-page-update <?php echo "img_{$_imgWidth}_{$_imgHeight}"; ?>">
11
+
12
+ <?php echo $this->getToolbarHtml() ?>
13
+
14
+ <?php // List mode ?>
15
+
16
+ <?php if ($this->getMode() != 'grid'): ?>
17
+
18
+ <ol class="products-list load-next-page-ajax-list">
19
+ <?php foreach ($_productList as $_product): ?>
20
+
21
+ <li class="item">
22
+ <?php // Product Image ?>
23
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" class="product-image">
24
+ <?php if ($_imgWidth && $_imgHeight) : ?>
25
+ <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize($_imgWidth, $_imgHeight); ?>" width="<?php echo $_imgWidth; ?>" height="<?php echo $_imgHeight; ?>" alt="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" />
26
+ <?php else : ?>
27
+ <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image'); ?>" alt="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" />
28
+ <?php endif; ?>
29
+ </a>
30
+ <?php // Product description ?>
31
+ <div class="product-shop">
32
+ <div class="f-fix">
33
+ <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>"><?php echo $this->htmlEscape($_product->getName()) ?></a></h2>
34
+ <?php if($_product->getRatingSummary()): ?>
35
+ <?php echo $this->getReviewsSummaryHtml($_product) ?>
36
+ <?php endif; ?>
37
+ <?php echo $this->getPriceHtml($_product, true) ?>
38
+ <?php if($_product->isSaleable()): ?>
39
+ <p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
40
+ <?php else: ?>
41
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
42
+ <?php endif; ?>
43
+ <div class="desc std">
44
+ <?php echo $_product->getShortDescription() ?>
45
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>" class="link-learn"><?php echo $this->__('Learn More') ?></a>
46
+ </div>
47
+ <ul class="add-to-links">
48
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
49
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
50
+ <?php endif; ?>
51
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
52
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
53
+ <?php endif; ?>
54
+ </ul>
55
+ </div>
56
+ </div>
57
+ </li>
58
+
59
+ <?php endforeach; ?>
60
+ </ol>
61
+
62
+ <?php else: ?>
63
+
64
+ <?php // Grid Mode ?>
65
+
66
+ <script type="text/javascript">document.documentElement.id = 'js'</script>
67
+ <style type="text/css">#js .show_through_js {visibility: hidden; display: block; height: 0px; overflow: hidden;}</style>
68
+
69
+ <div class="smart-columns smart-columns-list load-next-page-ajax-grid <?php echo "img_{$_imgWidth}_{$_imgHeight}"; ?>">
70
+ <div class="smartcolumns-splash"><?php echo $this->__('Loading...') ?></div>
71
+
72
+ <ul class="products-grid smart show_through_js">
73
+ <?php foreach ($_productList as $_product): ?>
74
+
75
+ <li class="item">
76
+
77
+ <div class="item-content">
78
+
79
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" class="product-image">
80
+ <?php if ($_imgWidth && $_imgHeight) : ?>
81
+ <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize($_imgWidth, $_imgHeight); ?>" width="<?php echo $_imgWidth; ?>" height="<?php echo $_imgHeight; ?>" alt="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" />
82
+ <?php else : ?>
83
+ <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image'); ?>" alt="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" />
84
+ <?php endif; ?>
85
+ </a>
86
+ <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>"><?php echo $this->htmlEscape($_product->getName()) ?></a></h2>
87
+ <?php if ($_product->getRatingSummary()): ?>
88
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
89
+ <?php endif; ?>
90
+ <?php echo $this->getPriceHtml($_product, true) ?>
91
+ <?php if ($_displayShortDescription) : ?>
92
+ <div class="short-description">
93
+ <?php echo $_product->getShortDescription(); ?>
94
+ </div>
95
+ <?php endif; ?>
96
+ <div class="actions">
97
+ <?php if($_product->isSaleable()): ?>
98
+ <button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
99
+ <?php else: ?>
100
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
101
+ <?php endif; ?>
102
+ <ul class="add-to-links">
103
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
104
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
105
+ <?php endif; ?>
106
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
107
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
108
+ <?php endif; ?>
109
+ </ul>
110
+ </div>
111
+
112
+ </div>
113
+
114
+ </li>
115
+
116
+ <?php endforeach ?>
117
+ </ul>
118
+ </div>
119
+
120
+ <?php endif; ?>
121
+
122
+ <div class="toolbar-bottom">
123
+ <?php echo $this->getToolbarHtml() ?>
124
+ </div>
125
+
126
+ <script type="text/javascript">
127
+ var wpSmartColumnsInit = function() {
128
+ jqSmartCatalog('div.smart-columns-list').wpSmartColumns({columnWidth: <?php echo $_columnWidth; ?>});
129
+ jqSmartCatalog('.products-list').wpDecorateLists({'type': 'list'});
130
+ }
131
+ jqSmartCatalog(document).ready(function() {
132
+ wpSmartColumnsInit();
133
+ });
134
+ jQuery(document).bind('m-ajax-after', function (e, selectors, url, action) {
135
+ wpSmartColumnsInit();
136
+ });
137
+ </script>
138
+ </div>
139
+ <?php endif; ?>
app/design/frontend/default/default/template/webandpeople/smartproductimage/js.phtml ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <script type="text/javascript">
2
+ var wpImageObj = null;
3
+ var wpWidths = <?php echo $this->getViewportWidthArray(); ?>;
4
+ var wpImageHashMain = new Array();
5
+ <?php echo $this->getImagesArray(); ?>
6
+
7
+ function wpGetSizeIndex(availableWidth)
8
+ {
9
+ var sz = 0; for(; sz < wpWidths.length && availableWidth >= wpWidths[sz]; sz++); sz--;
10
+ if (sz < 0) sz = 0; if (sz >= wpWidths.length) sz = wpWidths.length - 1;
11
+ return sz;
12
+ }
13
+
14
+ function wpGetAvailableWidth()
15
+ {
16
+ //var availableWidth = ((window.innerWidth || document.body.offsetWidth) - 0);
17
+ var availableWidth = 0; var viewport = $$('div.product-img-box')[0];
18
+ if (typeof viewport != 'undefined') availableWidth = viewport.getWidth();
19
+ return availableWidth;
20
+ }
21
+
22
+ function wpSmartProductImage()
23
+ {
24
+ if (wpImageObj === null || !wpWidths.length) return;
25
+ var availableWidth = wpGetAvailableWidth();
26
+ var sz = wpGetSizeIndex(availableWidth);
27
+ //console.log(availableWidth); console.log(sz);
28
+ if (typeof wpImageHashMain[0] != 'undefined' && typeof wpImageHashMain[0][sz] != 'undefined') {
29
+ wpImageObj.src = wpImageHashMain[0][sz];
30
+ }
31
+
32
+ // --- CloudZoom small Images ---
33
+ var firstImage = '';
34
+ $$('a.cloud-zoom-gallery').each(function(item, i) {
35
+ if (!firstImage) firstImage = item.href;
36
+ var re = /smallImage: '(.*)'/
37
+ item.rel = item.rel.replace(re, function (str, p1, p2, offset, s) {
38
+ var src = p1;
39
+ var sz = wpGetSizeIndex(availableWidth);
40
+ if (typeof wpImageHashMain[i+1] != 'undefined' && typeof wpImageHashMain[i+1][sz] != 'undefined') {
41
+ src = wpImageHashMain[i+1][sz];
42
+ }
43
+ //console.log(p1);
44
+ return 'smallImage: \'' + src + '\'';
45
+ });
46
+ });
47
+ // --- set Anchor for Big Image ---
48
+ var ahr = $$('a.cloud-zoom')[0];
49
+ if (typeof ahr != 'undefined' && firstImage) ahr.href = firstImage;
50
+ }
51
+
52
+ function wpInitImageObject()
53
+ {
54
+ wpImageObj = $('image');
55
+ if (wpImageObj === null) {
56
+ wpImageObj = $$('div.product-img-box img')[0]; // --- Easy Lightbox extension
57
+ }
58
+ }
59
+
60
+ wpInitImageObject();
61
+ wpSmartProductImage();
62
+
63
+ Event.observe(window, 'resize', function() {
64
+ wpSmartProductImage();
65
+ });
66
+ </script>
app/design/frontend/default/grayscale/layout/local.xml ADDED
@@ -0,0 +1,373 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <layout version="0.1.0">
3
+ <default>
4
+ <reference name="root">
5
+ <action method="setTemplate">
6
+ <template>page/2columns-left.phtml</template>
7
+ </action>
8
+ </reference>
9
+ <reference name="head">
10
+ <action method="addCss">
11
+ <stylesheet>css/color.css</stylesheet>
12
+ </action>
13
+ <action method="addCss">
14
+ <stylesheet>css/skin.css</stylesheet>
15
+ </action>
16
+ <action method="addCss">
17
+ <stylesheet>css/media-small.css</stylesheet>
18
+ </action>
19
+ <action method="addCss">
20
+ <stylesheet>css/media-480.css</stylesheet>
21
+ </action>
22
+ <action method="addCss">
23
+ <stylesheet>css/media-800.css</stylesheet>
24
+ </action>
25
+ <action method="addItem">
26
+ <type>skin_js</type>
27
+ <name>js/respond.js</name>
28
+ <params />
29
+ <if>lt IE 9</if>
30
+ </action>
31
+ </reference>
32
+ <reference name="right">
33
+ <block type="cms/block" name="cms_right_info_block" before="-">
34
+ <action method="setBlockId">
35
+ <block_id>right_info_block</block_id>
36
+ </action>
37
+ </block>
38
+ <remove name="paypal.partner.right.logo" />
39
+ <remove name="cart_sidebar" />
40
+ <remove name="right.permanent.callout" />
41
+ <remove name="right.reports.product.viewed" />
42
+ <remove name="right.reports.product.compared" />
43
+ </reference>
44
+ <reference name="footer">
45
+ <remove name="copyright.blog.footer" />
46
+ <block type="cms/block" name="page_footer_block" before="-">
47
+ <action method="setBlockId">
48
+ <block_id>page_footer_block</block_id>
49
+ </action>
50
+ </block>
51
+ </reference>
52
+ <reference name="left">
53
+ <block type="cms/block" name="cms_left_info_block" after="catalogsearch.leftnav">
54
+ <action method="setBlockId">
55
+ <block_id>left_info_block</block_id>
56
+ </action>
57
+ </block>
58
+ <remove name="cart_sidebar" />
59
+ <block type="reports/product_viewed" name="right.reports.product.viewed.left" template="reports/product_viewed.phtml" />
60
+ <block type="reports/product_compared" name="right.reports.product.compared.left" template="reports/product_compared.phtml" />
61
+ <block type="catalog/product_compare_sidebar" before="cart_sidebar" name="catalog.compare.sidebar.left" template="catalog/product/compare/sidebar.phtml" />
62
+ <remove name="left.permanent.callout" />
63
+ <!--remove name="currency" /-->
64
+ <!--remove name="left.newsletter"/-->
65
+ </reference>
66
+ <reference name="header">
67
+ <block type="directory/currency" name="currency_header" as="currency_header" before="-" template="directory/currency.phtml" />
68
+ <block type="checkout/cart_sidebar" name="header_cart" template="checkout/cart/sidebar_top.phtml" before="-">
69
+ <action method="addItemRender">
70
+ <type>simple</type>
71
+ <block>checkout/cart_item_renderer</block>
72
+ <template>checkout/cart/sidebar/default.phtml</template>
73
+ </action>
74
+ <action method="addItemRender">
75
+ <type>grouped</type>
76
+ <block>checkout/cart_item_renderer_grouped</block>
77
+ <template>checkout/cart/sidebar/default.phtml</template>
78
+ </action>
79
+ <action method="addItemRender">
80
+ <type>configurable</type>
81
+ <block>checkout/cart_item_renderer_configurable</block>
82
+ <template>checkout/cart/sidebar/default.phtml</template>
83
+ </action>
84
+ <block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions" />
85
+ </block>
86
+ <remove name="top.links" />
87
+ <block type="page/template_links" name="advanced_search_link" as="advanced_search_link" template="page/template/alinks.phtml">
88
+ <action method="addLink" translate="label title" module="catalogsearch">
89
+ <label>Advanced Search</label>
90
+ <url helper="catalogsearch/getAdvancedSearchUrl" />
91
+ <title>Advanced Search</title>
92
+ </action>
93
+ </block>
94
+ <block type="page/template_links" name="top.links.custom" as="topLinksCustom">
95
+ <block type="checkout/links" name="checkout_cart_link">
96
+ <action method="addCheckoutLink" />
97
+ </block>
98
+ </block>
99
+ <block type="page/template_links" template="page/template/clinks.phtml" id="top.links.cart" name="top.links.cart" as="topLinksCart">
100
+ <block type="wishlist/links" name="wishlist_link" />
101
+ <action method="addLinkBlock">
102
+ <blockName>wishlist_link</blockName>
103
+ </action>
104
+ </block>
105
+ <block type="cms/block" name="quick_access_links">
106
+ <action method="setBlockId">
107
+ <block_id>quick_access_links</block_id>
108
+ </action>
109
+ </block>
110
+ <block type="cms/block" name="head_phone_block">
111
+ <action method="setBlockId">
112
+ <block_id>head_phone_block</block_id>
113
+ </action>
114
+ </block>
115
+ <block type="cms/block" name="top_toolbar">
116
+ <action method="setBlockId">
117
+ <block_id>top_toolbar</block_id>
118
+ </action>
119
+ </block>
120
+ <block type="cms/block" name="top_toolbar_static">
121
+ <action method="setBlockId">
122
+ <block_id>top_toolbar_static</block_id>
123
+ </action>
124
+ </block>
125
+ <block type="cms/block" name="submenu_block">
126
+ <action method="setBlockId">
127
+ <block_id>submenu_block</block_id>
128
+ </action>
129
+ </block>
130
+ <block type="cms/block" name="search_block_content" before="">
131
+ <action method="setBlockId">
132
+ <block_id>search_block_content</block_id>
133
+ </action>
134
+ </block>
135
+ <block type="newsletter/subscribe" name="header.newsletter" as="header.newsletter" template="newsletter/header_subscribe.phtml" />
136
+ <block type="page/switch" name="store_switcher" as="store_switcher" template="page/switch/stores.phtml" />
137
+ </reference>
138
+ <reference name="footer">
139
+ <action method="unsetChild">
140
+ <alias>store_switcher</alias>
141
+ </action>
142
+ </reference>
143
+ <!--Begin cart top-bar -->
144
+ <reference name="left">
145
+ <remove name="cart_sidebar" />
146
+ </reference>
147
+ <reference name="right">
148
+ <remove name="cart_sidebar" />
149
+ </reference>
150
+ <reference name="header">
151
+ <block type="checkout/cart_sidebar" name="cart_topbar" template="checkout/cart/topbar.phtml">
152
+ <action method="addItemRender">
153
+ <type>simple</type>
154
+ <block>checkout/cart_item_renderer</block>
155
+ <template>checkout/cart/sidebar/default.phtml</template>
156
+ </action>
157
+ <action method="addItemRender">
158
+ <type>grouped</type>
159
+ <block>checkout/cart_item_renderer_grouped</block>
160
+ <template>checkout/cart/sidebar/default.phtml</template>
161
+ </action>
162
+ <action method="addItemRender">
163
+ <type>configurable</type>
164
+ <block>checkout/cart_item_renderer_configurable</block>
165
+ <template>checkout/cart/sidebar/default.phtml</template>
166
+ </action>
167
+ </block>
168
+ </reference>
169
+ <!--End cart top-bar -->
170
+ <reference name="top.links.custom">
171
+ <action method="addLink" translate="label title" module="customer">
172
+ <label>My Account</label>
173
+ <url helper="customer/getAccountUrl" />
174
+ <title>My Account</title>
175
+ <prepare />
176
+ <urlParams />
177
+ <position>10</position>
178
+ </action>
179
+ </reference>
180
+ </default>
181
+ <catalog_category_default translate="label">
182
+ <reference name="root">
183
+ <action method="setTemplate">
184
+ <template>page/2columns-left.phtml</template>
185
+ </action>
186
+ </reference>
187
+ <reference name="content">
188
+ <reference name="category.products">
189
+ <reference name="product_list">
190
+ <action method="setColumnCount">
191
+ <count>5</count>
192
+ </action>
193
+ <action method="setImageSize">
194
+ <size>135</size>
195
+ </action>
196
+ </reference>
197
+ </reference>
198
+ </reference>
199
+ </catalog_category_default>
200
+ <catalog_category_layered translate="label">
201
+ <reference name="root">
202
+ <action method="setTemplate">
203
+ <template>page/2columns-left.phtml</template>
204
+ </action>
205
+ </reference>
206
+ <reference name="content">
207
+ <reference name="category.products">
208
+ <reference name="product_list">
209
+ <action method="setColumnCount">
210
+ <count>5</count>
211
+ </action>
212
+ <action method="setImageSize">
213
+ <size>135</size>
214
+ </action>
215
+ </reference>
216
+ </reference>
217
+ </reference>
218
+ </catalog_category_layered>
219
+ <catalogsearch_result_index translate="label">
220
+ <reference name="root">
221
+ <action method="setTemplate">
222
+ <template>page/2columns-left.phtml</template>
223
+ </action>
224
+ </reference>
225
+ <reference name="content">
226
+ <reference name="search.result">
227
+ <reference name="search_result_list">
228
+ <action method="setColumnCount">
229
+ <count>5</count>
230
+ </action>
231
+ <action method="setImageSize">
232
+ <size>135</size>
233
+ </action>
234
+ </reference>
235
+ </reference>
236
+ </reference>
237
+ </catalogsearch_result_index>
238
+ <catalogsearch_advanced_index translate="label">
239
+ <reference name="root">
240
+ <action method="setTemplate">
241
+ <template>page/2columns-left.phtml</template>
242
+ </action>
243
+ </reference>
244
+ <reference name="content">
245
+ <reference name="search.result">
246
+ <reference name="search_result_list">
247
+ <action method="setColumnCount">
248
+ <count>5</count>
249
+ </action>
250
+ <action method="setImageSize">
251
+ <size>135</size>
252
+ </action>
253
+ </reference>
254
+ </reference>
255
+ </reference>
256
+ </catalogsearch_advanced_index>
257
+ <catalogsearch_advanced_result translate="label">
258
+ <update handle="page_two_columns_left" />
259
+ <reference name="root">
260
+ <action method="setTemplate">
261
+ <template>page/2columns-left.phtml</template>
262
+ </action>
263
+ </reference>
264
+ </catalogsearch_advanced_result>
265
+ <contacts_index_index translate="label">
266
+ <reference name="root">
267
+ <action method="setTemplate">
268
+ <template>page/2columns-left.phtml</template>
269
+ </action>
270
+ </reference>
271
+ </contacts_index_index>
272
+ <review_product_list translate="label">
273
+ <reference name="root">
274
+ <action method="setTemplate">
275
+ <template>page/2columns-left.phtml</template>
276
+ </action>
277
+ </reference>
278
+ </review_product_list>
279
+ <review_product_view translate="label">
280
+ <reference name="root">
281
+ <action method="setTemplate">
282
+ <template>page/2columns-left.phtml</template>
283
+ </action>
284
+ </reference>
285
+ </review_product_view>
286
+ <sendfriend_product_send translate="label">
287
+ <reference name="root">
288
+ <action method="setTemplate">
289
+ <template>page/2columns-left.phtml</template>
290
+ </action>
291
+ </reference>
292
+ </sendfriend_product_send>
293
+ <tag_list_index translate="label">
294
+ <reference name="root">
295
+ <action method="setTemplate">
296
+ <template>page/2columns-left.phtml</template>
297
+ </action>
298
+ </reference>
299
+ </tag_list_index>
300
+ <catalog_product_view translate="label">
301
+ <reference name="root">
302
+ <action method="setTemplate">
303
+ <template>page/2columns-left.phtml</template>
304
+ </action>
305
+ </reference>
306
+ <reference name="left">
307
+ <block type="catalog/product_list_related" name="catalog.product.related.left" before="-" template="catalog/product/list/related.phtml" />
308
+ </reference>
309
+ </catalog_product_view>
310
+ <customer_logged_in>
311
+ <reference name="top.links.custom">
312
+ <action method="addLink" translate="label title" module="customer">
313
+ <label>Log Out</label>
314
+ <url helper="customer/getLogoutUrl" />
315
+ <title>Log Out</title>
316
+ <prepare />
317
+ <urlParams />
318
+ <position>100</position>
319
+ </action>
320
+ </reference>
321
+ </customer_logged_in>
322
+ <customer_logged_out>
323
+ <reference name="top.links.custom">
324
+ <action method="addLink" translate="label title" module="customer">
325
+ <label>Log In</label>
326
+ <url helper="customer/getLoginUrl" />
327
+ <title>Log In</title>
328
+ <prepare />
329
+ <urlParams />
330
+ <position>100</position>
331
+ </action>
332
+ </reference>
333
+ <remove name="reorder" />
334
+ </customer_logged_out>
335
+ <customer_account>
336
+ <reference name="left">
337
+ <action method="unsetChild">
338
+ <name>customer_account_navigation</name>
339
+ </action>
340
+ </reference>
341
+ <reference name="content">
342
+ <action method="insert">
343
+ <blockName>customer_account_navigation</blockName>
344
+ <after>0</after>
345
+ </action>
346
+ </reference>
347
+ </customer_account>
348
+
349
+ <wp_2columns_right>
350
+ <reference name="root">
351
+ <action method="setTemplate">
352
+ <template>page/2columns-right.phtml</template>
353
+ </action>
354
+ </reference>
355
+ </wp_2columns_right>
356
+ <catalog_product_view>
357
+ <update handle="wp_2columns_right" />
358
+ </catalog_product_view>
359
+ <review_product_list>
360
+ <update handle="wp_2columns_right" />
361
+ </review_product_list>
362
+ <review_product_view>
363
+ <update handle="wp_2columns_right" />
364
+ </review_product_view>
365
+
366
+ <cms_index_index>
367
+ <reference name="footer">
368
+ <action method="unsetData"><key>cache_lifetime</key></action>
369
+ <action method="unsetData"><key>cache_tags</key></action>
370
+ <block type="core/template" name="designby_link" as="designby_link" template="page/html/designby.phtml" after="-" />
371
+ </reference>
372
+ </cms_index_index>
373
+ </layout>
app/design/frontend/default/grayscale/locale/en_US/translate.csv ADDED
@@ -0,0 +1 @@
 
1
+ "Most Popular","Most Popular"
app/design/frontend/default/grayscale/template/catalog/navigation/top.phtml ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Top menu for store
30
+ *
31
+ * @see Mage_Catalog_Block_Navigation
32
+ */
33
+ ?>
34
+ <?php $_menu = ''?>
35
+ <?php foreach ($this->getStoreCategories() as $_category): ?>
36
+ <?php $_menu .= $this->drawItem($_category) ?>
37
+ <?php endforeach ?>
38
+ <?php if ($_menu): ?>
39
+ <div class="nav-container">
40
+ <ul id="nav">
41
+ <li><a href="<?php echo $this->getUrl('') ?>"><?php echo $this->__('Home'); ?></a></li>
42
+ <?php echo $_menu; ?>
43
+ </ul>
44
+ </div>
45
+ <?php endif; ?>
app/design/frontend/default/grayscale/template/catalog/product/home.phtml ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php $_productCollection=$this->getLoadedProductCollection() ?>
2
+ <?php if(!$_productCollection->count()): ?>
3
+ <p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
4
+ <?php else: ?>
5
+ <?php $_columnCount = $this->getColumnCount(); ?>
6
+ <?php
7
+ if($this->getImageWidth() && $this->getImageHeight())
8
+ {
9
+ $_imageWidth = $this->getImageWidth();
10
+ $_imageHeight = $this->getImageHeight();
11
+ }
12
+ else
13
+ {
14
+ $_imageHeight = $_imageWidth = $this->getImageSize() ? $this->getImageSize() : 135;
15
+ }
16
+ ?>
17
+ <div class="category-products category-column-count-<?php echo $_columnCount; ?> category-image-size-width<?php echo $_imageWidth; ?>-height<?php echo $_imageHeight; ?>">
18
+
19
+ <?php // Grid Mode ?>
20
+
21
+ <?php $_collectionSize = $_productCollection->count() ?>
22
+ <?php $i=0; foreach ($_productCollection as $_product): ?>
23
+ <?php if ($i++%$_columnCount==0): ?>
24
+ <ul class="products-grid">
25
+ <?php endif ?>
26
+ <li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
27
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize($_imageWidth, $_imageHeight); ?>" width="<?php echo $_imageWidth; ?>" height="<?php echo $_imageHeight; ?>" alt="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" /></a>
28
+ <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>"><?php echo $this->htmlEscape($_product->getName()) ?></a></h2>
29
+ <?php if($_product->getRatingSummary()): ?>
30
+ <?php echo $this->getReviewsSummaryHtml($_product) ?>
31
+ <?php endif; ?>
32
+ <?php echo $this->getPriceHtml($_product, true) ?>
33
+ <div class="actions">
34
+ <?php if($_product->isSaleable()): ?>
35
+ <button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
36
+ <?php else: ?>
37
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
38
+ <?php endif; ?>
39
+ <ul class="add-to-links">
40
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
41
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
42
+ <?php endif; ?>
43
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
44
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
45
+ <?php endif; ?>
46
+ </ul>
47
+ <div class="sp"></div>
48
+ </div>
49
+ </li>
50
+ <?php if ($i%$_columnCount==0 || $i==$_collectionSize): ?>
51
+ </ul>
52
+ <?php //if($i == $_columnCount) break;
53
+ endif ?>
54
+ <?php endforeach ?>
55
+ <script type="text/javascript">decorateGeneric($$('ul.products-grid'), ['odd','even','first','last'])</script>
56
+ </div>
57
+ <?php endif; ?>
app/design/frontend/default/grayscale/template/catalog/product/list.phtml ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Product list template
30
+ *
31
+ * @see Mage_Catalog_Block_Product_List
32
+ */
33
+ ?>
34
+ <?php
35
+
36
+ $_productCollection=$this->getLoadedProductCollection();
37
+ $_helper = $this->helper('catalog/output');
38
+ ?>
39
+ <?php if(!$_productCollection->count()): ?>
40
+ <p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
41
+ <?php else: ?>
42
+ <?php // List mode ?>
43
+ <?php if($this->getMode()!='grid'): ?>
44
+
45
+ <div class="category-products">
46
+ <?php echo $this->getToolbarHtml() ?>
47
+ <?php $_iterator = 0; ?>
48
+ <ol class="products-list" id="products-list">
49
+ <?php foreach ($_productCollection as $_product): ?>
50
+ <li class="item<?php if( ++$_iterator == sizeof($_productCollection) ): ?> last<?php endif; ?>">
51
+ <?php // Product Image ?>
52
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(160); ?>" width="160" height="160" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" /></a>
53
+ <?php // Product description ?>
54
+ <div class="product-shop">
55
+ <div class="f-fix">
56
+ <?php $_productNameStripped = $this->stripTags($_product->getName(), null, true); ?>
57
+ <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped; ?>"><?php echo $_helper->productAttribute($_product, $_product->getName() , 'name'); ?></a></h2>
58
+ <?php if($_product->getRatingSummary()): ?>
59
+ <?php echo $this->getReviewsSummaryHtml($_product) ?>
60
+ <?php endif; ?>
61
+ <?php echo $this->getPriceHtml($_product, true) ?>
62
+ <?php if($_product->isSaleable()): ?>
63
+ <p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
64
+ <?php else: ?>
65
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
66
+ <?php endif; ?>
67
+ <div class="desc std">
68
+ <?php echo $_helper->productAttribute($_product, $_product->getShortDescription(), 'short_description') ?>
69
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped ?>" class="link-learn"><?php echo $this->__('Learn More') ?></a>
70
+ </div>
71
+ <ul class="add-to-links">
72
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
73
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
74
+ <?php endif; ?>
75
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
76
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
77
+ <?php endif; ?>
78
+ </ul>
79
+ </div>
80
+ </div>
81
+ </li>
82
+ <?php endforeach; ?>
83
+ </ol>
84
+ <script type="text/javascript">decorateList('products-list', 'none-recursive')</script>
85
+
86
+ <?php else: ?>
87
+
88
+ <?php // Grid Mode ?>
89
+
90
+ <?php $_columnCount = $this->getColumnCount(); ?>
91
+ <?php
92
+ if($this->getImageWidth() && $this->getImageHeight())
93
+ {
94
+ $_imageWidth = $this->getImageWidth();
95
+ $_imageHeight = $this->getImageHeight();
96
+ }
97
+ else
98
+ {
99
+ $_imageHeight = $_imageWidth = $this->getImageSize() ? $this->getImageSize() : 135;
100
+ }
101
+ ?>
102
+
103
+ <div class="category-products category-column-count-<?php echo $_columnCount; ?> category-image-width<?php echo $_imageWidth; ?> category-image-height<?php echo $_imageHeight; ?>">
104
+ <?php echo $this->getToolbarHtml() ?>
105
+
106
+ <?php $_collectionSize = $_productCollection->count() ?>
107
+ <?php $i=0; foreach ($_productCollection as $_product): ?>
108
+ <?php if ($i++%$_columnCount==0): ?>
109
+ <ul class="products-grid">
110
+ <?php endif ?>
111
+ <li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
112
+
113
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize($_imageWidth,$_imageHeight); ?>" width="<?php echo $_imageWidth; ?>" height="<?php echo $_imageHeight; ?>" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" /></a>
114
+ <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></a></h2>
115
+ <div class="short-description">
116
+ <?php echo $_product->getShortDescription() ?>
117
+ </div>
118
+ <?php if($_product->getRatingSummary()): ?>
119
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
120
+ <?php endif; ?>
121
+ <?php echo $this->getPriceHtml($_product, true) ?>
122
+ <div class="actions">
123
+ <?php if($_product->isSaleable()): ?>
124
+ <button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
125
+ <?php else: ?>
126
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
127
+ <?php endif; ?>
128
+ <ul class="add-to-links">
129
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
130
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
131
+ <?php endif; ?>
132
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
133
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
134
+ <?php endif; ?>
135
+ </ul>
136
+ </div>
137
+
138
+
139
+ <div class="sp"></div>
140
+ </li>
141
+ <?php if ($i%$_columnCount==0 || $i==$_collectionSize): ?>
142
+ </ul>
143
+ <?php endif ?>
144
+ <?php endforeach ?>
145
+ <script type="text/javascript">decorateGeneric($$('ul.products-grid'), ['odd','even','first','last'])</script>
146
+ <?php endif; ?>
147
+
148
+ <div class="toolbar-bottom">
149
+ <?php echo $this->getToolbarHtml() ?>
150
+ </div>
151
+ </div>
152
+ <?php endif; ?>
app/design/frontend/default/grayscale/template/catalog/product/popular.phtml ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Product list template
4
+ *
5
+ * @see Mage_Catalog_Block_Product_List
6
+ */
7
+ ?>
8
+ <?php
9
+
10
+ $_productCollection=$this->getLoadedProductCollection()
11
+
12
+ ?>
13
+ <?php
14
+ if($_productCollection->count()): ?>
15
+ <div class="block block-popular">
16
+ <div class="block-title">
17
+ <strong><span><?php echo $this->__('Most Popular')?></span></strong>
18
+ </div>
19
+ <div class="block-content">
20
+ <?php $_iterator = 0; ?>
21
+ <ol class="mini-products-list" id="block-popular">
22
+ <?php foreach($_productCollection as $_item): ?>
23
+ <li class="item">
24
+ <div class="product">
25
+ <a href="<?php echo $_item->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_item->getName()) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'thumbnail')->resize(50) ?>" width="50" height="50" alt="<?php echo $this->htmlEscape($_item->getName()) ?>" /></a>
26
+ <div class="product-details">
27
+ <p class="product-name"><a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a></p>
28
+ <?php echo $this->getPriceHtml($_item, true, '-related') ?>
29
+ </div>
30
+ </div>
31
+ </li>
32
+ <?php endforeach ?>
33
+ </ol>
34
+ </div>
35
+ </div>
36
+ <?php endif; ?>
37
+
app/design/frontend/default/grayscale/template/catalog/product/tabs_cat.phtml ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php $_productCollection=$this->getLoadedProductCollection() ?>
2
+ <?php if(!$_productCollection->count()): ?>
3
+ <p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
4
+ <?php else: ?>
5
+ <div class="category-products">
6
+
7
+ <?php // Grid Mode ?>
8
+
9
+ <?php $_collectionSize = $_productCollection->count() ?>
10
+ <?php $_columnCount = $this->getColumnCount(); ?>
11
+ <?php $i=0; foreach ($_productCollection as $_product): ?>
12
+ <?php if ($i++%$_columnCount==0): ?>
13
+ <ul class="home-tabs products-grid">
14
+ <?php endif ?>
15
+ <li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
16
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(80,80); ?>" width="80" height="80" alt="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image'))?>" /><span>&nbsp;</span></a>
17
+ <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>"><?php echo $this->htmlEscape($_product->getName()) ?></a></h2>
18
+ </li>
19
+ <?php if ($i%$_columnCount==0 || $i==$_collectionSize): ?>
20
+ </ul>
21
+ <?php endif ?>
22
+ <?php endforeach ?>
23
+ <script type="text/javascript">decorateGeneric($$('ul.tabs-products-grid'), ['odd','even','first','last'])</script>
24
+ </div>
25
+ <?php endif; ?>
app/design/frontend/default/grayscale/template/catalog/product/view.phtml ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * Product view template
29
+ *
30
+ * @see Mage_Catalog_Block_Product_View
31
+ * @see Mage_Review_Block_Product_View
32
+ */
33
+ ?>
34
+ <?php
35
+ $_helper = $this->helper('catalog/output');
36
+ $_product = $this->getProduct();
37
+ ?>
38
+ <?php $_helper = $this->helper('catalog/output'); ?>
39
+ <?php $_product = $this->getProduct(); ?>
40
+ <script type="text/javascript">
41
+ var optionsPrice = new Product.OptionsPrice(<?php echo $this->getJsonConfig() ?>);
42
+ </script>
43
+ <div id="messages_product_view"><?php echo $this->getMessagesBlock()->getGroupedHtml() ?></div>
44
+ <div class="product-view">
45
+ <div class="product-essential">
46
+ <form action="<?php echo $this->getSubmitUrl($_product) ?>" method="post" id="product_addtocart_form"<?php if($_product->getOptions()): ?> enctype="multipart/form-data"<?php endif; ?>>
47
+ <div class="no-display">
48
+ <input type="hidden" name="product" value="<?php echo $_product->getId() ?>" />
49
+ <input type="hidden" name="related_product" id="related-products-field" value="" />
50
+ </div>
51
+ <div class="product-img-box">
52
+ <?php echo $this->getChildHtml('media') ?>
53
+ </div>
54
+
55
+ <div class="product-shop">
56
+ <div class="product-name">
57
+ <h1><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></h1>
58
+ </div>
59
+
60
+ <?php echo $this->getReviewsSummaryHtml($_product, false, true)?>
61
+ <?php echo $this->getChildHtml('alert_urls') ?>
62
+ <?php echo $this->getChildHtml('product_type_data') ?>
63
+ <?php echo $this->getTierPriceHtml() ?>
64
+ <?php echo $this->getChildHtml('extrahint') ?>
65
+
66
+ <?php if (!$this->hasOptions()):?>
67
+ <div class="add-to-box">
68
+ <?php if($_product->isSaleable()): ?>
69
+ <?php echo $this->getChildHtml('addtocart') ?>
70
+ <?php endif; ?>
71
+ </div>
72
+ <div class="links_list clearfix">
73
+ <?php echo $this->getChildHtml('addto') ?>
74
+ <?php if ($this->canEmailToFriend()): ?>
75
+ <p class="email-friend"><span></span><a href="<?php echo $this->helper('catalog/product')->getEmailToFriendUrl($_product) ?>"><?php echo $this->__('Email to a Friend') ?></a></p>
76
+ <?php endif; ?>
77
+ </div>
78
+ <?php else:?>
79
+ <div class="links_list clearfix">
80
+ <?php echo $this->getChildHtml('addto') ?>
81
+ <?php if ($this->canEmailToFriend()): ?>
82
+ <p class="email-friend"><span></span><a href="<?php echo $this->helper('catalog/product')->getEmailToFriendUrl($_product) ?>"><?php echo $this->__('Email to a Friend') ?></a></p>
83
+ <?php endif; ?>
84
+ </div>
85
+ <?php endif; ?>
86
+
87
+ <?php if ($_product->getShortDescription()):?>
88
+ <div class="short-description">
89
+ <h2><?php echo $this->__('Quick Overview') ?></h2>
90
+ <div class="std"><?php echo $_helper->productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description') ?></div>
91
+ </div>
92
+ <?php endif;?>
93
+
94
+ <?php echo $this->getChildHtml('other');?>
95
+
96
+ <?php if ($_product->isSaleable() && $this->hasOptions()):?>
97
+ <?php echo $this->getChildChildHtml('container1', '', true, true) ?>
98
+ <?php endif;?>
99
+
100
+ </div>
101
+
102
+ <?php if ($_product->isSaleable() && $this->hasOptions()):?>
103
+ <?php echo $this->getChildChildHtml('container2', '', true, true) ?>
104
+ <?php endif;?>
105
+ </form>
106
+ <script type="text/javascript">
107
+ //<![CDATA[
108
+ var productAddToCartForm = new VarienForm('product_addtocart_form');
109
+ productAddToCartForm.submit = function(button, url) {
110
+ if (this.validator.validate()) {
111
+ var form = this.form;
112
+ var oldUrl = form.action;
113
+
114
+ if (url) {
115
+ form.action = url;
116
+ }
117
+ var e = null;
118
+ try {
119
+ this.form.submit();
120
+ } catch (e) {
121
+ }
122
+ this.form.action = oldUrl;
123
+ if (e) {
124
+ throw e;
125
+ }
126
+
127
+ if (button && button != 'undefined') {
128
+ button.disabled = true;
129
+ }
130
+ }
131
+ }.bind(productAddToCartForm);
132
+
133
+ productAddToCartForm.submitLight = function(button, url){
134
+ if(this.validator) {
135
+ var nv = Validation.methods;
136
+ delete Validation.methods['required-entry'];
137
+ delete Validation.methods['validate-one-required'];
138
+ delete Validation.methods['validate-one-required-by-name'];
139
+ if (this.validator.validate()) {
140
+ if (url) {
141
+ this.form.action = url;
142
+ }
143
+ this.form.submit();
144
+ }
145
+ Object.extend(Validation.methods, nv);
146
+ }
147
+ }.bind(productAddToCartForm);
148
+ //]]>
149
+ </script>
150
+ </div>
151
+
152
+ <div class="product-collateral">
153
+ <?php foreach ($this->getChildGroup('detailed_info', 'getChildHtml') as $alias => $html):?>
154
+ <div class="box-collateral <?php echo "box-{$alias}"?>">
155
+ <?php if ($title = $this->getChildData($alias, 'title')):?>
156
+ <h2><?php echo $this->escapeHtml($title); ?></h2>
157
+ <?php endif;?>
158
+ <?php echo $html; ?>
159
+ </div>
160
+ <?php endforeach;?>
161
+ <?php echo $this->getChildHtml('upsell_products') ?>
162
+ <?php echo $this->getChildHtml('product_additional_data') ?>
163
+ </div>
164
+ </div>
app/design/frontend/default/grayscale/template/catalog/product/view/addto.phtml ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+
28
+ <?php $_product = $this->getProduct(); ?>
29
+ <?php $_wishlistSubmitUrl = $this->helper('wishlist')->getAddUrl($_product); ?>
30
+ <ul class="add-to-links">
31
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
32
+ <li><span></span><a href="<?php echo $_wishlistSubmitUrl ?>" onclick="productAddToCartForm.submitLight(this, this.href); return false;" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
33
+ <?php endif; ?>
34
+ <?php
35
+ $_compareUrl = $this->helper('catalog/product_compare')->getAddUrl($_product);
36
+ ?>
37
+ <?php if($_compareUrl) : ?>
38
+ <li><span></span><a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
39
+ <?php endif; ?>
app/design/frontend/default/grayscale/template/catalog/product/view/single_top.phtml ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $_helper = $this->helper('catalog/output');
3
+ $productId = $this->getProductId();
4
+ $_product = Mage::getModel('catalog/product')->load($productId); //load the product
5
+ $_imageWidth = 100;
6
+ $_imageHeight = 100;
7
+ ?>
8
+ <div class="separate_product_view">
9
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize($_imageWidth,$_imageHeight); ?>" width="<?php echo $_imageWidth; ?>" height="<?php echo $_imageHeight; ?>" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" /></a>
10
+ <div class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></a></div>
11
+
12
+ <?php if($_product->getRatingSummary()): ?>
13
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
14
+ <?php endif; ?>
15
+ <?php echo $this->getPriceHtml($_product, true) ?>
16
+
17
+
18
+ <div class="sp"></div>
19
+ </div>
app/design/frontend/default/grayscale/template/catalog/product/view/single_top_btn.phtml ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $_helper = $this->helper('catalog/output');
3
+ $productId = $this->getProductId();
4
+ $_product = Mage::getModel('catalog/product')->load($productId); //load the product
5
+ $_imageWidth = 100;
6
+ $_imageHeight = 100;
7
+ ?>
8
+ <div class="separate_product_view">
9
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize($_imageWidth,$_imageHeight); ?>" width="<?php echo $_imageWidth; ?>" height="<?php echo $_imageHeight; ?>" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" /></a>
10
+ <div class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></a></div>
11
+
12
+ <?php if($_product->getRatingSummary()): ?>
13
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
14
+ <?php endif; ?>
15
+ <?php echo $this->getPriceHtml($_product, true) ?>
16
+
17
+ <div class="actions">
18
+ <?php if($_product->isSaleable()): ?>
19
+ <button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
20
+ <?php else: ?>
21
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
22
+ <?php endif; ?>
23
+ </div>
24
+ <div class="sp"></div>
25
+ </div>
app/design/frontend/default/grayscale/template/checkout/cart/sidebar_top.phtml ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="block-cart-top">
2
+ <?php $_cartQty = $this->getSummaryCount() ?>
3
+ <div class="block-content">
4
+ <div class="summary">
5
+ <?php if ($_cartQty==1): ?>
6
+ <p class="amount"><a href="<?php echo $this->getUrl('checkout/cart'); ?>" class="title"><?php echo $this->__('My Cart') ?></a> <span class="qty">1 </span> <?php echo $this->__('item') ?>: <?php echo Mage::helper('checkout')->formatPrice($this->getSubtotal()) ?></p>
7
+ <?php else:
8
+ $_cartQty = $_cartQty ? $_cartQty : 0;
9
+ ?>
10
+ <p class="amount"><a href="<?php echo $this->getUrl('checkout/cart'); ?>" class="title"><?php echo $this->__('My Cart') ?></a> <span class="qty"><?php echo $_cartQty."</span> " . $this->__('items'); ?>: <?php echo Mage::helper('checkout')->formatPrice($this->getSubtotal()) ?></p>
11
+ <?php endif ?>
12
+ <?php if($_cartQty) :?>
13
+ <p class="cart-link"><a href="<?php echo $this->getUrl('checkout/cart'); ?>"><?php echo $this->__('cart'); ?></a></p>
14
+ <?php endif; ?>
15
+ </div>
16
+ <?php if($_cartQty && $this->isPossibleOnepageCheckout()): ?>
17
+ <div class="actions">
18
+ <button type="button" title="<?php echo $this->__('Checkout') ?>" class="button-small" onclick="setLocation('<?php echo $this->getCheckoutUrl() ?>')"><span><span><?php echo $this->__('Checkout') ?></span></span></button>
19
+ </div>
20
+ <?php endif ?>
21
+ </div>
22
+ </div>
app/design/frontend/default/grayscale/template/checkout/onepage/login.phtml ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php /* Extensions placeholder */ ?>
28
+ <?php echo $this->getChildHtml('checkout.onepage.login.extra')?>
29
+ <div class="col2-set">
30
+ <?php echo $this->getChildHtml('login_before')?>
31
+ <div class="col-1">
32
+ <h3><?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?><?php echo $this->__('Checkout as a Guest or Register') ?><?php else: ?><?php echo $this->__('Register to Create an Account') ?><?php endif; ?></h3>
33
+ <?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
34
+ <p><?php echo $this->__('Register with us for future convenience:') ?></p>
35
+ <?php else: ?>
36
+ <p><strong><?php echo $this->__('Register and save time!') ?></strong><br />
37
+ <?php echo $this->__('Register with us for future convenience:') ?></p>
38
+ <ul>
39
+ <li><?php echo $this->__('Fast and easy check out') ?></li>
40
+ <li><?php echo $this->__('Easy access to your order history and status') ?></li>
41
+ </ul>
42
+ <?php endif; ?>
43
+ <?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
44
+ <ul class="form-list">
45
+ <?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
46
+ <li class="control">
47
+ <input type="radio" name="checkout_method" id="login:guest" value="guest"<?php if($this->getQuote()->getCheckoutMethod()==Mage_Checkout_Model_Type_Onepage::METHOD_GUEST): ?> checked="checked"<?php endif; ?> class="radio" /><label for="login:guest"><?php echo $this->__('Checkout as Guest') ?></label>
48
+ </li>
49
+ <?php endif; ?>
50
+ <li class="control">
51
+ <input type="radio" name="checkout_method" id="login:register" value="register"<?php if($this->getQuote()->getCheckoutMethod()==Mage_Checkout_Model_Type_Onepage::METHOD_REGISTER || !$this->getQuote()->isAllowedGuestCheckout()): ?> checked="checked"<?php endif ?> class="radio" /><label for="login:register"><?php echo $this->__('Register') ?></label>
52
+ </li>
53
+ </ul>
54
+ <h4><?php echo $this->__('Register and save time!') ?></h4>
55
+ <p><?php echo $this->__('Register with us for future convenience:') ?></p>
56
+ <ul class="ul">
57
+ <li><?php echo $this->__('Fast and easy check out') ?></li>
58
+ <li><?php echo $this->__('Easy access to your order history and status') ?></li>
59
+ </ul>
60
+ <?php else: ?>
61
+ <input type="hidden" name="checkout_method" id="login:register" value="register" checked="checked" />
62
+ <?php endif; ?>
63
+ <div class="buttons-set">
64
+ <p class="required">&nbsp;</p>
65
+ <button type="button" class="button" onclick="checkout.setMethod();"><span><span><?php echo ($this->getQuote()->isAllowedGuestCheckout() ? $this->__('Continue') : $this->__('Register')) ?></span></span></button>
66
+ </div>
67
+ </div>
68
+ <div class="col-2">
69
+ <h3><?php echo $this->__('Login') ?></h3>
70
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
71
+ <form id="login-form" action="<?php echo $this->getPostAction() ?>" method="post">
72
+ <fieldset>
73
+ <?php echo $this->getBlockHtml('formkey'); ?>
74
+ <h4><?php echo $this->__('Already registered?') ?></h4>
75
+ <p><?php echo $this->__('Please log in below:') ?></p>
76
+ <ul class="form-list">
77
+ <li>
78
+ <label for="login-email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
79
+ <div class="input-box">
80
+ <input type="text" class="input-text required-entry validate-email" id="login-email" name="login[username]" value="<?php echo $this->escapeHtml($this->getUsername()) ?>" />
81
+ </div>
82
+ </li>
83
+ <li>
84
+ <label for="login-password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
85
+ <div class="input-box">
86
+ <input type="password" class="input-text required-entry" id="login-password" name="login[password]" />
87
+ </div>
88
+ </li>
89
+ <?php echo $this->getChildHtml('form.additional.info'); ?>
90
+ </ul>
91
+ </fieldset>
92
+ <div class="buttons-set">
93
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
94
+ <a href="<?php echo $this->getUrl('customer/account/forgotpassword') ?>" class="f-left"><?php echo $this->__('Forgot your password?') ?></a>
95
+ <button type="submit" class="button" onclick="onepageLogin(this)"><span><span><?php echo $this->__('Login') ?></span></span></button>
96
+ </div>
97
+ </form>
98
+ </div>
99
+ </div>
100
+ <script type="text/javascript">
101
+ //<![CDATA[
102
+ var loginForm = new VarienForm('login-form', true);
103
+ $('login-email').observe('keypress', bindLoginPost);
104
+ $('login-password').observe('keypress', bindLoginPost);
105
+ function bindLoginPost(evt){
106
+ if (evt.keyCode == Event.KEY_RETURN) {
107
+ loginForm.submit();
108
+ }
109
+ }
110
+ function onepageLogin(button)
111
+ {
112
+ if(loginForm.validator && loginForm.validator.validate()){
113
+ button.disabled = true;
114
+ loginForm.submit();
115
+ }
116
+ }
117
+ //]]>
118
+ </script>
app/design/frontend/default/grayscale/template/customer/form/login.phtml ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Customer login form template
30
+ *
31
+ * @see app/design/frontend/base/default/template/customer/form/login.phtml
32
+ */
33
+ /** @var $this Mage_Customer_Block_Form_Login */
34
+ ?>
35
+ <div class="account-login">
36
+ <div class="page-title">
37
+ <h1><?php echo $this->__('Login or Create an Account!') ?></h1>
38
+ </div>
39
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
40
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form">
41
+ <div class="col2-set">
42
+ <div class="col-1 new-users">
43
+ <div class="content">
44
+ <h2><?php echo $this->__('New Customers') ?></h2>
45
+ <p><?php echo $this->__('By creating an account with our store, you will be able to move through the checkout process faster, store multiple shipping addresses, view and track your orders in your account and more.') ?></p>
46
+ </div>
47
+ <div>
48
+ <div class="buttons-set">
49
+ <button type="button" title="<?php echo $this->__('Create an Account') ?>" class="button" onclick="window.location='<?php echo Mage::helper('persistent')->getCreateAccountUrl($this->getCreateAccountUrl()) ?>';"><span><span><?php echo $this->__('Create an Account') ?></span></span></button>
50
+ </div>
51
+ </div>
52
+ </div>
53
+ <div class="col-2 registered-users">
54
+ <div class="content">
55
+ <h2><?php echo $this->__('Registered Customers') ?></h2>
56
+ <p><?php echo $this->__('If you have an account with us, please log in.') ?></p>
57
+ <ul class="form-list">
58
+ <li>
59
+ <label for="email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
60
+ <div class="input-box">
61
+ <input type="text" name="login[username]" value="<?php echo $this->htmlEscape($this->getUsername()) ?>" id="email" class="input-text required-entry validate-email" title="<?php echo $this->__('Email Address') ?>" />
62
+ </div>
63
+ </li>
64
+ <li>
65
+ <label for="pass" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
66
+ <div class="input-box">
67
+ <input type="password" name="login[password]" class="input-text required-entry validate-password" id="pass" title="<?php echo $this->__('Password') ?>" />
68
+ </div>
69
+ </li>
70
+ <?php echo $this->getChildHtml('form.additional.info'); ?>
71
+ <?php echo $this->getChildHtml('persistent.remember.me'); ?>
72
+ </ul>
73
+ <?php echo $this->getChildHtml('persistent.remember.me.tooltip'); ?>
74
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
75
+ </div>
76
+ <div>
77
+ <div class="buttons-set">
78
+ <a href="<?php echo $this->getForgotPasswordUrl() ?>" class="f-left"><?php echo $this->__('Forgot Your Password?') ?></a>
79
+ <button type="submit" class="button" title="<?php echo $this->__('Login') ?>" name="send" id="send2"><span><span><?php echo $this->__('Login') ?></span></span></button>
80
+ </div>
81
+ </div>
82
+ </div>
83
+ </div>
84
+ <?php if (Mage::helper('checkout')->isContextCheckout()): ?>
85
+ <input name="context" type="hidden" value="checkout" />
86
+ <?php endif; ?>
87
+ </form>
88
+ <script type="text/javascript">
89
+ //<![CDATA[
90
+ var dataForm = new VarienForm('login-form', true);
91
+ //]]>
92
+ </script>
93
+ </div>
app/design/frontend/default/grayscale/template/directory/currency.phtml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Currency switcher
30
+ *
31
+ * @see Mage_Directory_Block_Currency
32
+ */
33
+ ?>
34
+ <?php if($this->getCurrencyCount()>1): ?>
35
+ <div class="block-currency">
36
+ <select name="currency" title="<?php echo $this->__('Select Your Currency') ?>" onchange="setLocation(this.value)">
37
+ <?php foreach ($this->getCurrencies() as $_code => $_name): ?>
38
+ <option value="<?php echo $this->getSwitchCurrencyUrl($_code) ?>"<?php if($_code==$this->getCurrentCurrencyCode()): ?> selected="selected"<?php endif; ?>>
39
+ <?php echo $_name ?> - <?php echo $_code ?>
40
+ </option>
41
+ <?php endforeach; ?>
42
+ </select>
43
+ </div>
44
+ <?php endif; ?>
app/design/frontend/default/grayscale/template/easytabs/catalogproductrelated.phtml ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if($this->getItems()->getSize()): ?>
28
+ <div class="block block-related">
29
+ <div class="block-content">
30
+ <p class="block-subtitle"><?php echo $this->__('Check items to add to the cart or') ?>&nbsp;<a href="#" onclick="selectAllRelated(this); return false;"><?php echo $this->__('select all') ?></a></p>
31
+ <ol class="mini-products-list" id="block-related">
32
+ <?php foreach($this->getItems() as $_item): ?>
33
+ <li class="item">
34
+ <?php if(!$_item->isComposite() && $_item->isSaleable()): ?>
35
+ <?php if (!$_item->getRequiredOptions()): ?>
36
+ <input type="checkbox" class="checkbox related-checkbox" id="related-checkbox<?php echo $_item->getId() ?>" name="related_products[]" value="<?php echo $_item->getId() ?>" />
37
+ <?php endif; ?>
38
+ <?php endif; ?>
39
+ <div class="product">
40
+ <a href="<?php echo $_item->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_item->getName()) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'thumbnail')->resize(50) ?>" width="50" height="50" alt="<?php echo $this->htmlEscape($_item->getName()) ?>" /></a>
41
+ <div class="product-details">
42
+ <p class="product-name"><a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a></p>
43
+ <?php echo $this->getPriceHtml($_item, true, '-related') ?>
44
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
45
+ <a href="<?php echo $this->getAddToWishlistUrl($_item) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a>
46
+ <?php endif; ?>
47
+ </div>
48
+ </div>
49
+ </li>
50
+ <?php endforeach ?>
51
+ </ol>
52
+ <script type="text/javascript">decorateList('block-related', 'none-recursive')</script>
53
+ </div>
54
+ <script type="text/javascript">
55
+ //<![CDATA[
56
+ $$('.related-checkbox').each(function(elem){
57
+ Event.observe(elem, 'click', addRelatedToProduct)
58
+ });
59
+
60
+ var relatedProductsCheckFlag = false;
61
+ function selectAllRelated(txt){
62
+ if (relatedProductsCheckFlag == false) {
63
+ $$('.related-checkbox').each(function(elem){
64
+ elem.checked = true;
65
+ });
66
+ relatedProductsCheckFlag = true;
67
+ txt.innerHTML="<?php echo $this->__('unselect all') ?>";
68
+ } else {
69
+ $$('.related-checkbox').each(function(elem){
70
+ elem.checked = false;
71
+ });
72
+ relatedProductsCheckFlag = false;
73
+ txt.innerHTML="<?php echo $this->__('select all') ?>";
74
+ }
75
+ addRelatedToProduct();
76
+ }
77
+
78
+ function addRelatedToProduct(){
79
+ var checkboxes = $$('.related-checkbox');
80
+ var values = [];
81
+ for(var i=0;i<checkboxes.length;i++){
82
+ if(checkboxes[i].checked) values.push(checkboxes[i].value);
83
+ }
84
+ if($('related-products-field')){
85
+ $('related-products-field').value = values.join(',');
86
+ }
87
+ }
88
+ //]]>
89
+ </script>
90
+ </div>
91
+ <?php endif ?>
app/design/frontend/default/grayscale/template/easytabs/catalogproductview.phtml ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * Product view template
29
+ *
30
+ * @see Mage_Catalog_Block_Product_View
31
+ * @see Mage_Review_Block_Product_View
32
+ */
33
+ ?>
34
+ <?php
35
+ $_helper = $this->helper('catalog/output');
36
+ $_product = $this->getProduct();
37
+ ?>
38
+ <script type="text/javascript">
39
+ var optionsPrice = new Product.OptionsPrice(<?php echo $this->getJsonConfig() ?>);
40
+ </script>
41
+ <div id="messages_product_view"><?php echo $this->getMessagesBlock()->getGroupedHtml() ?></div>
42
+ <div class="product-view">
43
+ <div class="product-essential">
44
+ <form action="<?php echo $this->getSubmitUrl($_product) ?>" method="post" id="product_addtocart_form"<?php if($_product->getOptions()): ?> enctype="multipart/form-data"<?php endif; ?>>
45
+ <div class="no-display">
46
+ <input type="hidden" name="product" value="<?php echo $_product->getId() ?>" />
47
+ <input type="hidden" name="related_product" id="related-products-field" value="" />
48
+ </div>
49
+ <div class="product-img-box">
50
+ <div class="product-name">
51
+ <h1><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></h1>
52
+ </div>
53
+ <?php echo $this->getChildHtml('media') ?>
54
+ </div>
55
+
56
+ <div class="product-shop">
57
+ <div class="product-name">
58
+ <h1><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></h1>
59
+ </div>
60
+
61
+ <?php echo $this->getReviewsSummaryHtml($_product, false, true)?>
62
+ <?php echo $this->getChildHtml('alert_urls') ?>
63
+ <?php echo $this->getChildHtml('product_type_data') ?>
64
+ <?php echo $this->getTierPriceHtml() ?>
65
+
66
+ <?php if (!$this->hasOptions()):?>
67
+ <div class="add-to-box">
68
+ <?php if($_product->isSaleable()): ?>
69
+ <?php echo $this->getChildHtml('addtocart') ?>
70
+ <?php endif; ?>
71
+ </div>
72
+ <div class="links_list clearfix">
73
+ <?php echo $this->getChildHtml('addto') ?>
74
+ <?php if ($this->canEmailToFriend()): ?>
75
+ <p class="email-friend"><span></span><a href="<?php echo $this->helper('catalog/product')->getEmailToFriendUrl($_product) ?>"><?php echo $this->__('Email to a Friend') ?></a></p>
76
+ <?php endif; ?>
77
+ </div>
78
+ <?php else:?>
79
+ <div class="links_list clearfix">
80
+ <?php echo $this->getChildHtml('addto') ?>
81
+ <?php if ($this->canEmailToFriend()): ?>
82
+ <p class="email-friend"><span></span><a href="<?php echo $this->helper('catalog/product')->getEmailToFriendUrl($_product) ?>"><?php echo $this->__('Email to a Friend') ?></a></p>
83
+ <?php endif; ?>
84
+ </div>
85
+ <?php endif; ?>
86
+
87
+ <?php if ($_product->getShortDescription()):?>
88
+ <div class="short-description">
89
+ <h2><?php echo $this->__('Quick Overview') ?></h2>
90
+ <div class="std"><?php echo $_helper->productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description') ?></div>
91
+ </div>
92
+ <?php endif;?>
93
+
94
+ <?php echo $this->getChildHtml('other');?>
95
+
96
+ <?php if ($_product->isSaleable() && $this->hasOptions()):?>
97
+ <?php echo $this->getChildChildHtml('container1', '', true, true) ?>
98
+ <?php endif;?>
99
+
100
+ </div>
101
+
102
+ <?php if ($_product->isSaleable() && $this->hasOptions()):?>
103
+ <?php echo $this->getChildChildHtml('container2', '', true, true) ?>
104
+ <?php endif;?>
105
+ </form>
106
+ <script type="text/javascript">
107
+ //<![CDATA[
108
+ var productAddToCartForm = new VarienForm('product_addtocart_form');
109
+ productAddToCartForm.submit = function(button, url) {
110
+ if (this.validator.validate()) {
111
+ var form = this.form;
112
+ var oldUrl = form.action;
113
+
114
+ if (url) {
115
+ form.action = url;
116
+ }
117
+ var e = null;
118
+ try {
119
+ this.form.submit();
120
+ } catch (e) {
121
+ }
122
+ this.form.action = oldUrl;
123
+ if (e) {
124
+ throw e;
125
+ }
126
+
127
+ if (button && button != 'undefined') {
128
+ button.disabled = true;
129
+ }
130
+ }
131
+ }.bind(productAddToCartForm);
132
+
133
+ productAddToCartForm.submitLight = function(button, url){
134
+ if(this.validator) {
135
+ var nv = Validation.methods;
136
+ delete Validation.methods['required-entry'];
137
+ delete Validation.methods['validate-one-required'];
138
+ delete Validation.methods['validate-one-required-by-name'];
139
+ if (this.validator.validate()) {
140
+ if (url) {
141
+ this.form.action = url;
142
+ }
143
+ this.form.submit();
144
+ }
145
+ Object.extend(Validation.methods, nv);
146
+ }
147
+ }.bind(productAddToCartForm);
148
+ //]]>
149
+ </script>
150
+ </div>
151
+
152
+ <div class="product-collateral">
153
+ <?php if (!Mage::getStoreConfig('easy_tabs/general/descriptiontabbed')):?>
154
+ <?php echo $this->getChildHtml('description') ?>
155
+ <?php endif;?>
156
+ <?php echo $this->getChildHtml('additional') ?>
157
+ <?php echo $this->getChildHtml('upsell_products') ?>
158
+ <?php echo $this->getChildHtml('product_additional_data') ?>
159
+ </div>
160
+ </div>
app/design/frontend/default/grayscale/template/page/html/designby.phtml ADDED
@@ -0,0 +1 @@
 
1
+ <div class="design-by"><?php echo $this->__('Magento templates by <a rel="nofollow" title="%1$s" href="%2$s">%1$s</a>', 'Web-Experiment.info', 'http://web-experiment.info'); ?></div>
app/design/frontend/default/grayscale/template/page/html/footer.phtml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="footer-container">
28
+ <div class="footer">
29
+ <div class="footer_content">
30
+ <?php
31
+ $childHtml = $this->getChildHtml();
32
+ $designBy = $this->getChildHtml('designby_link');
33
+ $childHtml = str_replace($designBy, '', $childHtml);
34
+ echo $childHtml;
35
+ ?>
36
+ <address><?php echo $this->getCopyright() ?></address>
37
+ <?php echo $designBy ?>
38
+ </div>
39
+ </div>
40
+ </div>
app/design/frontend/default/grayscale/template/page/html/head.phtml ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <title><?php echo $this->getTitle() ?></title>
28
+ <meta http-equiv="Content-Type" content="<?php echo $this->getContentType() ?>" />
29
+ <meta name="description" content="<?php echo htmlspecialchars($this->getDescription()) ?>" />
30
+ <meta name="keywords" content="<?php echo htmlspecialchars($this->getKeywords()) ?>" />
31
+ <meta name="robots" content="<?php echo htmlspecialchars($this->getRobots()) ?>" />
32
+ <meta name="Designer" content="WebAndPeople Magento design - http://webandpeople.com" />
33
+
34
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
35
+
36
+ <meta name="HandheldFriendly" content="true"/>
37
+
38
+ <link rel="icon" href="<?php echo $this->getSkinUrl('favicon.ico') ?>" type="image/x-icon" />
39
+ <link rel="shortcut icon" href="<?php echo $this->getSkinUrl('favicon.ico') ?>" type="image/x-icon" />
40
+
41
+ <script type="text/javascript">
42
+ //<![CDATA[
43
+ var BLANK_URL = '<?php echo $this->helper('core/js')->getJsUrl('blank.html') ?>';
44
+ var BLANK_IMG = '<?php echo $this->helper('core/js')->getJsUrl('spacer.gif') ?>';
45
+ var SKIN_URL = '<?php echo $this->helper('core/js')->getJsSkinUrl('') ?>';
46
+ //]]>
47
+ </script>
48
+ <?php echo $this->getCssJsHtml() ?>
49
+ <?php echo $this->getChildHtml() ?>
50
+ <?php echo $this->helper('core/js')->getTranslatorScript() ?>
51
+ <?php echo $this->getIncludes() ?>
app/design/frontend/default/grayscale/template/page/html/header.phtml ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="header-container">
2
+ <div class="header">
3
+
4
+ <div class="search">
5
+ <?php echo $this->getChildHtml('topSearch') ?>
6
+ <div class="sp"></div>
7
+ </div>
8
+
9
+ <p class="welcome-msg"><?php echo $this->getWelcome()?></p>
10
+
11
+ <?php if ($this->getIsHomePage()):?>
12
+ <h2 class="logo"><strong><?php echo $this->getLogoAlt() ?></strong><a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo"><img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" /></a></h2>
13
+ <?php else:?>
14
+ <a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo"><strong><?php echo $this->getLogoAlt() ?></strong><img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" /></a>
15
+ <?php endif?>
16
+
17
+ <div class="upper-header">
18
+ <?php echo $this->getChildHtml('header_cart') ?>
19
+ <?php echo $this->getChildHtml('head_phone_block')?>
20
+ <div class="sp"></div>
21
+ </div>
22
+
23
+ <?php if ($this->getChildHtml('currency_header') || $this->getChildHtml('store_switcher') || $this->getChildHtml('store_language')) : ?>
24
+ <div class="switchers">
25
+ <div class="sw_bg_l">
26
+ <div class="sw_bg_r">
27
+ <?php echo $this->getChildHtml('store_switcher') ?>
28
+ <?php echo $this->getChildHtml('store_language') ?>
29
+ <?php echo $this->getChildHtml('currency_header') ?>
30
+ <div class="sp"></div>
31
+ </div>
32
+ </div>
33
+ </div>
34
+ <?php endif; ?>
35
+
36
+ <div class="quick-access">
37
+ <?php echo $this->getChildHtml('topLinksCustom') ?>
38
+ </div>
39
+ <?php echo $this->getChildHtml('topContainer'); ?>
40
+
41
+ </div>
42
+ </div>
43
+
44
+ <?php echo $this->getChildHtml('topMenu') ?>
45
+
46
+ <?php if ($homePageHeaderBlock = $this->getChildHtml('home_page_header_block')) : ?>
47
+ <div class="home_page_header_block">
48
+ <?php echo $homePageHeaderBlock ?>
49
+ </div>
50
+ <?php endif; ?>
app/design/frontend/default/grayscale/template/page/template/alinks.phtml ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * @see Mage_Page_Block_Template_Links
30
+ */
31
+ ?>
32
+ <?php $_links = $this->getLinks(); ?>
33
+ <?php if(count($_links)>0): ?>
34
+ <ul class="links-advanced"<?php if($this->getName()): ?> id="<?php echo $this->getName() ?>"<?php endif;?>>
35
+ <?php foreach($_links as $_link): ?>
36
+ <?php if ($_link instanceof Mage_Core_Block_Abstract):?>
37
+ <?php echo $_link->toHtml() ?>
38
+ <?php else: ?>
39
+ <li<?php if($_link->getIsFirst()||$_link->getIsLast()): ?> class="<?php if($_link->getIsFirst()): ?>first<?php endif; ?><?php if($_link->getIsLast()): ?> last<?php endif; ?>"<?php endif; ?> <?php echo $_link->getLiParams() ?>><?php echo $_link->getBeforeText() ?><a href="<?php echo $_link->getUrl() ?>" title="<?php echo $_link->getTitle() ?>" <?php echo $_link->getAParams() ?>><?php echo $_link->getLabel() ?></a><?php echo $_link->getAfterText() ?></li>
40
+ <?php endif;?>
41
+ <?php endforeach; ?>
42
+ </ul>
43
+ <?php endif; ?>
app/design/frontend/default/grayscale/template/page/template/clinks.phtml ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * @see Mage_Page_Block_Template_Links
30
+ */
31
+ ?>
32
+ <?php $_links = $this->getLinks(); ?>
33
+ <?php if(count($_links)>0): ?>
34
+ <ul class="links-cart"<?php if($this->getName()): ?> id="<?php echo $this->getName() ?>"<?php endif;?>>
35
+ <?php foreach($_links as $_link): ?>
36
+ <?php if ($_link instanceof Mage_Core_Block_Abstract):?>
37
+ <?php echo $_link->toHtml() ?>
38
+ <?php else: ?>
39
+ <li<?php if($_link->getIsFirst()||$_link->getIsLast()): ?> class="<?php if($_link->getIsFirst()): ?>first<?php endif; ?><?php if($_link->getIsLast()): ?> last<?php endif; ?>"<?php endif; ?> <?php echo $_link->getLiParams() ?>><?php echo $_link->getBeforeText() ?><a href="<?php echo $_link->getUrl() ?>" title="<?php echo $_link->getTitle() ?>" <?php echo $_link->getAParams() ?>><?php echo $_link->getLabel() ?></a><?php echo $_link->getAfterText() ?></li>
40
+ <?php endif;?>
41
+ <?php endforeach; ?>
42
+ </ul>
43
+ <?php endif; ?>
app/design/frontend/default/grayscale/template/persistent/checkout/onepage/login.phtml ADDED
@@ -0,0 +1,149 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Customer onepage checkout login form template
30
+ *
31
+ * @see app/design/frontend/base/default/template/checkout/onepage/login.phtml
32
+ */
33
+ /** @var $this Mage_Checkout_Block_Onepage_Login */
34
+ ?>
35
+ <div class="col2-set">
36
+ <?php echo $this->getChildHtml('login_before')?>
37
+ <div class="col-1">
38
+ <h3><?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?><?php echo $this->__('Checkout as a Guest or Register') ?><?php else: ?><?php echo $this->__('Register to Create an Account') ?><?php endif; ?></h3>
39
+ <?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
40
+ <p><?php echo $this->__('Register with us for future convenience:') ?></p>
41
+ <?php else: ?>
42
+ <p><strong><?php echo $this->__('Register and save time!') ?></strong><br />
43
+ <?php echo $this->__('Register with us for future convenience:') ?></p>
44
+ <ul>
45
+ <li><?php echo $this->__('Fast and easy check out') ?></li>
46
+ <li><?php echo $this->__('Easy access to your order history and status') ?></li>
47
+ </ul>
48
+ <?php endif; ?>
49
+ <?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
50
+ <ul class="form-list">
51
+ <?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
52
+ <li class="control">
53
+ <input type="radio" name="checkout_method" id="login:guest" value="guest"<?php if($this->getQuote()->getCheckoutMethod()==Mage_Checkout_Model_Type_Onepage::METHOD_GUEST): ?> checked="checked"<?php endif; ?> class="radio" /><label for="login:guest"><?php echo $this->__('Checkout as Guest') ?></label>
54
+ </li>
55
+ <?php endif; ?>
56
+ <li class="control">
57
+ <input type="radio" name="checkout_method" id="login:register" value="register"<?php if($this->getQuote()->getCheckoutMethod()==Mage_Checkout_Model_Type_Onepage::METHOD_REGISTER || !$this->getQuote()->isAllowedGuestCheckout()): ?> checked="checked"<?php endif ?> class="radio" /><label for="login:register"><?php echo $this->__('Register') ?></label>
58
+ </li>
59
+ </ul>
60
+ <h4><?php echo $this->__('Register and save time!') ?></h4>
61
+ <p><?php echo $this->__('Register with us for future convenience:') ?></p>
62
+ <ul class="ul">
63
+ <li><?php echo $this->__('Fast and easy check out') ?></li>
64
+ <li><?php echo $this->__('Easy access to your order history and status') ?></li>
65
+ </ul>
66
+ <?php else: ?>
67
+ <input type="hidden" name="checkout_method" id="login:register" value="register" checked="checked" />
68
+ <?php endif; ?>
69
+ <div class="buttons-set">
70
+ <p class="required">&nbsp;</p>
71
+ <?php if ($this->getQuote()->isAllowedGuestCheckout()): ?>
72
+ <button id="onepage-guest-register-button" type="button" class="button" onclick="checkout.setMethod();"><span><span><?php echo $this->__('Continue') ?></span></span></button>
73
+ <?php elseif ($this->helper('checkout')->isCustomerMustBeLogged()): ?>
74
+ <button id="onepage-guest-register-button" type="button" class="button" onclick="window.location='<?php echo $this->helper('checkout/url')->getRegistrationUrl();?>'"><span><span><?php echo $this->__('Register') ?></span></span></button>
75
+ <?php else: ?>
76
+ <form action="<?php echo $this->getUrl('persistent/index/saveMethod'); ?>">
77
+ <button id="onepage-guest-register-button" type="submit" class="button"><span><span><?php echo $this->__('Register') ?></span></span></button>
78
+ </form>
79
+ <?php endif; ?>
80
+ </div>
81
+ </div>
82
+ <div class="col-2">
83
+ <h3><?php echo $this->__('Login') ?></h3>
84
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
85
+ <form id="login-form" action="<?php echo $this->getPostAction() ?>" method="post">
86
+ <fieldset>
87
+ <?php echo $this->getBlockHtml('formkey'); ?>
88
+ <h4><?php echo $this->__('Already registered?') ?></h4>
89
+ <p><?php echo $this->__('Please log in below:') ?></p>
90
+ <ul class="form-list">
91
+ <li>
92
+ <label for="login-email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
93
+ <div class="input-box">
94
+ <input type="text" class="input-text required-entry validate-email" id="login-email" name="login[username]" value="<?php echo $this->escapeHtml($this->getUsername()) ?>" />
95
+ </div>
96
+ </li>
97
+ <li>
98
+ <label for="login-password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
99
+ <div class="input-box">
100
+ <input type="password" class="input-text required-entry" id="login-password" name="login[password]" />
101
+ </div>
102
+ </li>
103
+ <?php echo $this->getChildHtml('form.additional.info'); ?>
104
+ <?php echo $this->getChildHtml('persistent.remember.me'); ?>
105
+ </ul>
106
+ <input name="context" type="hidden" value="checkout" />
107
+ </fieldset>
108
+ <div class="buttons-set">
109
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
110
+ <a href="<?php echo $this->getUrl('customer/account/forgotpassword') ?>" class="f-left"><?php echo $this->__('Forgot your password?') ?></a>
111
+ <button type="submit" class="button" onclick="onepageLogin(this)"><span><span><?php echo $this->__('Login') ?></span></span></button>
112
+ </div>
113
+ </form>
114
+ </div>
115
+ </div>
116
+ <script type="text/javascript">
117
+ //<![CDATA[
118
+ var loginForm = new VarienForm('login-form', true);
119
+ $('login-email').observe('keypress', bindLoginPost);
120
+ $('login-password').observe('keypress', bindLoginPost);
121
+ function bindLoginPost(evt){
122
+ if (evt.keyCode == Event.KEY_RETURN) {
123
+ loginForm.submit();
124
+ }
125
+ }
126
+ function onepageLogin(button)
127
+ {
128
+ if(loginForm.validator && loginForm.validator.validate()){
129
+ button.disabled = true;
130
+ loginForm.submit();
131
+ }
132
+ }
133
+ //]]>
134
+ </script>
135
+ <?php
136
+ $registerParam = $this->getRequest()->getParam('register');
137
+ if ($registerParam || $registerParam === ''):
138
+ ?>
139
+ <script type="text/javascript">
140
+ //<![CDATA[
141
+ document.observe("dom:loaded", function() {
142
+ if($('login:register')) {
143
+ $('login:register').checked = true;
144
+ checkout.setMethod();
145
+ }
146
+ })
147
+ //]]>
148
+ </script>
149
+ <?php endif; ?>
app/design/frontend/default/grayscale/template/persistent/customer/form/login.phtml ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Customer login form template
30
+ *
31
+ * @see app/design/frontend/base/default/template/customer/form/login.phtml
32
+ */
33
+ /** @var $this Mage_Customer_Block_Form_Login */
34
+ ?>
35
+ <div class="account-login">
36
+ <div class="page-title">
37
+ <h1><?php echo $this->__('Login or Create an Account') ?></h1>
38
+ </div>
39
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
40
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form">
41
+ <?php echo $this->getBlockHtml('formkey'); ?>
42
+ <div class="col2-set">
43
+ <div class="col-1 new-users">
44
+ <div class="content">
45
+ <h2><?php echo $this->__('New Customers') ?></h2>
46
+ <p><?php echo $this->__('By creating an account with our store, you will be able to move through the checkout process faster, store multiple shipping addresses, view and track your orders in your account and more.') ?></p>
47
+ </div>
48
+ <div class="buttons-set">
49
+ <button type="button" title="<?php echo $this->__('Create an Account') ?>" class="button" onclick="window.location='<?php echo Mage::helper('persistent')->getCreateAccountUrl($this->getCreateAccountUrl()) ?>';"><span><span><?php echo $this->__('Create an Account') ?></span></span></button>
50
+ </div>
51
+ </div>
52
+ <div class="col-2 registered-users">
53
+ <div class="content">
54
+ <h2><?php echo $this->__('Registered Customers') ?></h2>
55
+ <p><?php echo $this->__('If you have an account with us, please log in.') ?></p>
56
+ <ul class="form-list">
57
+ <li>
58
+ <label for="email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
59
+ <div class="input-box">
60
+ <input type="text" name="login[username]" value="<?php echo $this->escapeHtml($this->getUsername()) ?>" id="email" class="input-text required-entry validate-email" title="<?php echo $this->__('Email Address') ?>" />
61
+ </div>
62
+ </li>
63
+ <li>
64
+ <label for="pass" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
65
+ <div class="input-box">
66
+ <input type="password" name="login[password]" class="input-text required-entry validate-password" id="pass" title="<?php echo $this->__('Password') ?>" />
67
+ </div>
68
+ </li>
69
+ <?php echo $this->getChildHtml('form.additional.info'); ?>
70
+ <?php echo $this->getChildHtml('persistent.remember.me'); ?>
71
+ </ul>
72
+ <?php echo $this->getChildHtml('persistent.remember.me.tooltip'); ?>
73
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
74
+ </div>
75
+ <div class="buttons-set">
76
+ <a href="<?php echo $this->getForgotPasswordUrl() ?>" class="f-left"><?php echo $this->__('Forgot Your Password?') ?></a>
77
+ <button type="submit" class="button" title="<?php echo $this->__('Login') ?>" name="send" id="send2"><span><span><?php echo $this->__('Login') ?></span></span></button>
78
+ </div>
79
+ </div>
80
+ </div>
81
+ <?php if (Mage::helper('checkout')->isContextCheckout()): ?>
82
+ <input name="context" type="hidden" value="checkout" />
83
+ <?php endif; ?>
84
+ </form>
85
+ <script type="text/javascript">
86
+ //<![CDATA[
87
+ var dataForm = new VarienForm('login-form', true);
88
+ //]]>
89
+ </script>
90
+ </div>
app/design/frontend/default/grayscale/template/webandpeople/smartcatalog/list-new.phtml ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php list($_imgWidth, $_imgHeight, $_columnWidth, $_productCollection) = Mage::helper('smartcatalog')->getTemplateData($this); ?>
2
+ <?php $uid = uniqid();?>
3
+ <?php if (!$_productCollection->getSize()): ?>
4
+ <p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
5
+ <?php else: ?>
6
+
7
+ <div class="category-products">
8
+
9
+ <?php // Grid Mode ?>
10
+
11
+ <script type="text/javascript">document.documentElement.id = 'js'</script>
12
+ <style type="text/css">#js .show_through_js {visibility: hidden; display: block; height: 0px; overflow: hidden;}</style>
13
+
14
+ <div class="smart-columns smart-columns-new-<?php echo $uid; ?> <?php echo "img_{$_imgWidth}_{$_imgHeight}"; ?>">
15
+ <div class="smartcolumns-splash"><?php echo $this->__('Loading...') ?></div>
16
+
17
+ <ul class="products-grid smart show_through_js">
18
+ <?php foreach ($_productCollection as $_product): ?>
19
+
20
+ <li class="item">
21
+
22
+ <div class="item-content">
23
+
24
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" class="product-image new_cat_img">
25
+ <?php if ($_imgWidth && $_imgHeight) : ?>
26
+ <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize($_imgWidth, $_imgHeight); ?>" width="<?php echo $_imgWidth; ?>" height="<?php echo $_imgHeight; ?>" alt="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" /><img src="<?php echo $this->getSkinUrl('images/new.png'); ?>" alt="New" class="i_new">
27
+ <?php else : ?>
28
+ <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image'); ?>" alt="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" />
29
+ <?php endif; ?>
30
+ </a>
31
+ <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>"><?php echo $this->htmlEscape($_product->getName()) ?></a></h2>
32
+ <?php if ($_product->getRatingSummary()): ?>
33
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
34
+ <?php endif; ?>
35
+ <?php echo $this->getPriceHtml($_product, true) ?>
36
+ <div class="actions">
37
+ <?php if($_product->isSaleable()): ?>
38
+ <button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
39
+ <?php else: ?>
40
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
41
+ <?php endif; ?>
42
+ <ul class="add-to-links">
43
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
44
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
45
+ <?php endif; ?>
46
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
47
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
48
+ <?php endif; ?>
49
+ </ul>
50
+ </div>
51
+
52
+ </div>
53
+
54
+ </li>
55
+
56
+ <?php endforeach ?>
57
+ </ul>
58
+ </div>
59
+
60
+ <script type="text/javascript">
61
+ jqSmartCatalog(window).load(function() {
62
+ jqSmartCatalog('div.smart-columns-new-<?php echo $uid; ?>').wpSmartColumns({columnWidth: <?php echo $_columnWidth; ?>, oneRow: true});
63
+ });
64
+ </script>
65
+ </div>
66
+ <?php endif; ?>
app/design/frontend/default/grayscale/template/webandpeople/smartcatalog/list-rate.phtml ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php list($_imgWidth, $_imgHeight, $_columnWidth, $_productCollection) = Mage::helper('smartcatalog')->getTemplateData($this); ?>
2
+ <?php $uid = uniqid();?>
3
+ <?php if (!$_productCollection->getSize()): ?>
4
+ <p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
5
+ <?php else: ?>
6
+
7
+ <div class="category-products">
8
+
9
+ <?php // Grid Mode ?>
10
+
11
+ <script type="text/javascript">document.documentElement.id = 'js'</script>
12
+ <style type="text/css">#js .show_through_js {visibility: hidden; display: block; height: 0px; overflow: hidden;}</style>
13
+
14
+ <div class="smart-columns smart-columns-home-<?php echo $uid; ?> <?php echo "img_{$_imgWidth}_{$_imgHeight}"; ?>">
15
+ <div class="smartcolumns-splash"><?php echo $this->__('Loading...') ?></div>
16
+
17
+ <ul class="products-grid smart show_through_js">
18
+ <?php foreach ($_productCollection as $_product): ?>
19
+
20
+ <li class="item">
21
+
22
+ <div class="item-content rate">
23
+
24
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" class="product-image">
25
+ <?php if ($_imgWidth && $_imgHeight) : ?>
26
+ <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize($_imgWidth, $_imgHeight); ?>" width="<?php echo $_imgWidth; ?>" height="<?php echo $_imgHeight; ?>" alt="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" />
27
+ <?php else : ?>
28
+ <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image'); ?>" alt="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" />
29
+ <?php endif; ?>
30
+ </a>
31
+ <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>"><?php echo $this->htmlEscape($_product->getName()) ?></a></h2>
32
+ <?php if ($_product->getRatingSummary()): ?>
33
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
34
+ <?php endif; ?>
35
+ <?php echo $this->getPriceHtml($_product, true) ?>
36
+ <div class="actions">
37
+ <?php if($_product->isSaleable()): ?>
38
+ <button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
39
+ <?php else: ?>
40
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
41
+ <?php endif; ?>
42
+
43
+ </div>
44
+
45
+ </div>
46
+
47
+ </li>
48
+
49
+ <?php endforeach ?>
50
+ </ul>
51
+ </div>
52
+
53
+ <script type="text/javascript">
54
+ jqSmartCatalog(window).load(function() {
55
+ jqSmartCatalog('div.smart-columns-home-<?php echo $uid; ?>').wpSmartColumns({columnWidth: <?php echo $_columnWidth; ?>, oneRow: true});
56
+ });
57
+ </script>
58
+ </div>
59
+ <?php endif; ?>
app/design/frontend/default/grayscale/template/webandpeople/smartcatalog/list-short.phtml ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php list($_imgWidth, $_imgHeight, $_columnWidth, $_productCollection) = Mage::helper('smartcatalog')->getTemplateData($this); ?>
2
+ <?php $uid = uniqid();?>
3
+ <?php if (!$_productCollection->getSize()): ?>
4
+ <p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
5
+ <?php else: ?>
6
+ <div class="category-products">
7
+ <?php // Grid Mode ?>
8
+ <script type="text/javascript">document.documentElement.id = 'js'</script>
9
+ <style type="text/css">#js .show_through_js {visibility: hidden; display: block; height: 0px; overflow: hidden;}</style>
10
+ <div class="smart-columns smart-columns-home-<?php echo $uid; ?> <?php echo "img_{$_imgWidth}_{$_imgHeight}"; ?>">
11
+ <div class="smartcolumns-splash"><?php echo $this->__('Loading...') ?></div>
12
+ <ul class="products-grid smart show_through_js">
13
+ <?php foreach ($_productCollection as $_product): ?>
14
+ <li class="item">
15
+ <div class="item-content short">
16
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" class="product-image">
17
+ <?php if ($_imgWidth && $_imgHeight) : ?>
18
+ <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize($_imgWidth, $_imgHeight); ?>" width="<?php echo $_imgWidth; ?>" height="<?php echo $_imgHeight; ?>" alt="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" />
19
+ <?php else : ?>
20
+ <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image'); ?>" alt="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" />
21
+ <?php endif; ?>
22
+ </a>
23
+ <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>"><?php echo $this->htmlEscape($_product->getName()) ?></a></h2>
24
+ <?php echo $this->getPriceHtml($_product, true) ?>
25
+ </div>
26
+ </li>
27
+ <?php endforeach ?>
28
+ </ul>
29
+ </div>
30
+ <script type="text/javascript">
31
+ jqSmartCatalog(window).load(function() {
32
+ jqSmartCatalog('div.smart-columns-home-<?php echo $uid; ?>').wpSmartColumns({columnWidth: <?php echo $_columnWidth; ?>, oneRow: true});
33
+ });
34
+ </script>
35
+ </div>
36
+ <?php endif; ?>
app/etc/modules/WP_BackToTopButton.xml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <WP_BackToTopButton>
5
+ <active>true</active>
6
+ <codePool>local</codePool>
7
+ </WP_BackToTopButton>
8
+ </modules>
9
+ </config>
app/etc/modules/WP_CustomMenu.xml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <WP_CustomMenu>
5
+ <active>true</active>
6
+ <codePool>local</codePool>
7
+ </WP_CustomMenu>
8
+ </modules>
9
+ </config>
app/etc/modules/WP_SmartCatalog.xml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <WP_SmartCatalog>
5
+ <active>true</active>
6
+ <codePool>local</codePool>
7
+ </WP_SmartCatalog>
8
+ </modules>
9
+ </config>
app/etc/modules/WP_SmartProductImage.xml ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <config>
2
+ <modules>
3
+ <WP_SmartProductImage>
4
+ <active>true</active>
5
+ <codePool>community</codePool>
6
+ </WP_SmartProductImage>
7
+ </modules>
8
+ </config>
app/etc/modules/WP_ThemeGrayscale2014.xml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <WP_ThemeGrayscale2014>
5
+ <active>true</active>
6
+ <codePool>local</codePool>
7
+ </WP_ThemeGrayscale2014>
8
+ </modules>
9
+ </config>
js/webandpeople/jquery/backtotopbutton/jquery-noconflict.js ADDED
@@ -0,0 +1 @@
 
1
+ var jqBackToTop = jQuery.noConflict(false);
js/webandpeople/jquery/backtotopbutton/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);
js/webandpeople/jquery/smartcatalog/jquery-noconflict.js ADDED
@@ -0,0 +1 @@
 
1
+ var jqSmartCatalog = jQuery.noConflict(false);
js/webandpeople/jquery/smartcatalog/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);
js/webandpeople/jquery_plugins/backtotopbutton/jquery-noconflict.js ADDED
@@ -0,0 +1 @@
 
1
+ var jqBackToTop = jQuery.noConflict(false);
js/webandpeople/jquery_plugins/backtotopbutton/waypoints.js ADDED
@@ -0,0 +1,520 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Generated by CoffeeScript 1.6.2
2
+ /*
3
+ jQuery Waypoints - v2.0.3
4
+ Copyright (c) 2011-2013 Caleb Troughton
5
+ Dual licensed under the MIT license and GPL license.
6
+ https://github.com/imakewebthings/jquery-waypoints/blob/master/licenses.txt
7
+ */
8
+
9
+
10
+ (function() {
11
+ var __indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; },
12
+ __slice = [].slice;
13
+
14
+ (function(root, factory) {
15
+ if (typeof define === 'function' && define.amd) {
16
+ return define('waypoints', ['jquery'], function($) {
17
+ return factory($, root);
18
+ });
19
+ } else {
20
+ return factory(root.jQuery, root);
21
+ }
22
+ })(this, function($, window) {
23
+ var $w, Context, Waypoint, allWaypoints, contextCounter, contextKey, contexts, isTouch, jQMethods, methods, resizeEvent, scrollEvent, waypointCounter, waypointKey, wp, wps;
24
+
25
+ $w = $(window);
26
+ isTouch = __indexOf.call(window, 'ontouchstart') >= 0;
27
+ allWaypoints = {
28
+ horizontal: {},
29
+ vertical: {}
30
+ };
31
+ contextCounter = 1;
32
+ contexts = {};
33
+ contextKey = 'waypoints-context-id';
34
+ resizeEvent = 'resize.waypoints';
35
+ scrollEvent = 'scroll.waypoints';
36
+ waypointCounter = 1;
37
+ waypointKey = 'waypoints-waypoint-ids';
38
+ wp = 'waypoint';
39
+ wps = 'waypoints';
40
+ Context = (function() {
41
+ function Context($element) {
42
+ var _this = this;
43
+
44
+ this.$element = $element;
45
+ this.element = $element[0];
46
+ this.didResize = false;
47
+ this.didScroll = false;
48
+ this.id = 'context' + contextCounter++;
49
+ this.oldScroll = {
50
+ x: $element.scrollLeft(),
51
+ y: $element.scrollTop()
52
+ };
53
+ this.waypoints = {
54
+ horizontal: {},
55
+ vertical: {}
56
+ };
57
+ $element.data(contextKey, this.id);
58
+ contexts[this.id] = this;
59
+ $element.bind(scrollEvent, function() {
60
+ var scrollHandler;
61
+
62
+ if (!(_this.didScroll || isTouch)) {
63
+ _this.didScroll = true;
64
+ scrollHandler = function() {
65
+ _this.doScroll();
66
+ return _this.didScroll = false;
67
+ };
68
+ return window.setTimeout(scrollHandler, $[wps].settings.scrollThrottle);
69
+ }
70
+ });
71
+ $element.bind(resizeEvent, function() {
72
+ var resizeHandler;
73
+
74
+ if (!_this.didResize) {
75
+ _this.didResize = true;
76
+ resizeHandler = function() {
77
+ $[wps]('refresh');
78
+ return _this.didResize = false;
79
+ };
80
+ return window.setTimeout(resizeHandler, $[wps].settings.resizeThrottle);
81
+ }
82
+ });
83
+ }
84
+
85
+ Context.prototype.doScroll = function() {
86
+ var axes,
87
+ _this = this;
88
+
89
+ axes = {
90
+ horizontal: {
91
+ newScroll: this.$element.scrollLeft(),
92
+ oldScroll: this.oldScroll.x,
93
+ forward: 'right',
94
+ backward: 'left'
95
+ },
96
+ vertical: {
97
+ newScroll: this.$element.scrollTop(),
98
+ oldScroll: this.oldScroll.y,
99
+ forward: 'down',
100
+ backward: 'up'
101
+ }
102
+ };
103
+ if (isTouch && (!axes.vertical.oldScroll || !axes.vertical.newScroll)) {
104
+ $[wps]('refresh');
105
+ }
106
+ $.each(axes, function(aKey, axis) {
107
+ var direction, isForward, triggered;
108
+
109
+ triggered = [];
110
+ isForward = axis.newScroll > axis.oldScroll;
111
+ direction = isForward ? axis.forward : axis.backward;
112
+ $.each(_this.waypoints[aKey], function(wKey, waypoint) {
113
+ var _ref, _ref1;
114
+
115
+ if ((axis.oldScroll < (_ref = waypoint.offset) && _ref <= axis.newScroll)) {
116
+ return triggered.push(waypoint);
117
+ } else if ((axis.newScroll < (_ref1 = waypoint.offset) && _ref1 <= axis.oldScroll)) {
118
+ return triggered.push(waypoint);
119
+ }
120
+ });
121
+ triggered.sort(function(a, b) {
122
+ return a.offset - b.offset;
123
+ });
124
+ if (!isForward) {
125
+ triggered.reverse();
126
+ }
127
+ return $.each(triggered, function(i, waypoint) {
128
+ if (waypoint.options.continuous || i === triggered.length - 1) {
129
+ return waypoint.trigger([direction]);
130
+ }
131
+ });
132
+ });
133
+ return this.oldScroll = {
134
+ x: axes.horizontal.newScroll,
135
+ y: axes.vertical.newScroll
136
+ };
137
+ };
138
+
139
+ Context.prototype.refresh = function() {
140
+ var axes, cOffset, isWin,
141
+ _this = this;
142
+
143
+ isWin = $.isWindow(this.element);
144
+ cOffset = this.$element.offset();
145
+ this.doScroll();
146
+ axes = {
147
+ horizontal: {
148
+ contextOffset: isWin ? 0 : cOffset.left,
149
+ contextScroll: isWin ? 0 : this.oldScroll.x,
150
+ contextDimension: this.$element.width(),
151
+ oldScroll: this.oldScroll.x,
152
+ forward: 'right',
153
+ backward: 'left',
154
+ offsetProp: 'left'
155
+ },
156
+ vertical: {
157
+ contextOffset: isWin ? 0 : cOffset.top,
158
+ contextScroll: isWin ? 0 : this.oldScroll.y,
159
+ contextDimension: isWin ? $[wps]('viewportHeight') : this.$element.height(),
160
+ oldScroll: this.oldScroll.y,
161
+ forward: 'down',
162
+ backward: 'up',
163
+ offsetProp: 'top'
164
+ }
165
+ };
166
+ return $.each(axes, function(aKey, axis) {
167
+ return $.each(_this.waypoints[aKey], function(i, waypoint) {
168
+ var adjustment, elementOffset, oldOffset, _ref, _ref1;
169
+
170
+ adjustment = waypoint.options.offset;
171
+ oldOffset = waypoint.offset;
172
+ elementOffset = $.isWindow(waypoint.element) ? 0 : waypoint.$element.offset()[axis.offsetProp];
173
+ if ($.isFunction(adjustment)) {
174
+ adjustment = adjustment.apply(waypoint.element);
175
+ } else if (typeof adjustment === 'string') {
176
+ adjustment = parseFloat(adjustment);
177
+ if (waypoint.options.offset.indexOf('%') > -1) {
178
+ adjustment = Math.ceil(axis.contextDimension * adjustment / 100);
179
+ }
180
+ }
181
+ waypoint.offset = elementOffset - axis.contextOffset + axis.contextScroll - adjustment;
182
+ if ((waypoint.options.onlyOnScroll && (oldOffset != null)) || !waypoint.enabled) {
183
+ return;
184
+ }
185
+ if (oldOffset !== null && (oldOffset < (_ref = axis.oldScroll) && _ref <= waypoint.offset)) {
186
+ return waypoint.trigger([axis.backward]);
187
+ } else if (oldOffset !== null && (oldOffset > (_ref1 = axis.oldScroll) && _ref1 >= waypoint.offset)) {
188
+ return waypoint.trigger([axis.forward]);
189
+ } else if (oldOffset === null && axis.oldScroll >= waypoint.offset) {
190
+ return waypoint.trigger([axis.forward]);
191
+ }
192
+ });
193
+ });
194
+ };
195
+
196
+ Context.prototype.checkEmpty = function() {
197
+ if ($.isEmptyObject(this.waypoints.horizontal) && $.isEmptyObject(this.waypoints.vertical)) {
198
+ this.$element.unbind([resizeEvent, scrollEvent].join(' '));
199
+ return delete contexts[this.id];
200
+ }
201
+ };
202
+
203
+ return Context;
204
+
205
+ })();
206
+ Waypoint = (function() {
207
+ function Waypoint($element, context, options) {
208
+ var idList, _ref;
209
+
210
+ options = $.extend({}, $.fn[wp].defaults, options);
211
+ if (options.offset === 'bottom-in-view') {
212
+ options.offset = function() {
213
+ var contextHeight;
214
+
215
+ contextHeight = $[wps]('viewportHeight');
216
+ if (!$.isWindow(context.element)) {
217
+ contextHeight = context.$element.height();
218
+ }
219
+ return contextHeight - $(this).outerHeight();
220
+ };
221
+ }
222
+ this.$element = $element;
223
+ this.element = $element[0];
224
+ this.axis = options.horizontal ? 'horizontal' : 'vertical';
225
+ this.callback = options.handler;
226
+ this.context = context;
227
+ this.enabled = options.enabled;
228
+ this.id = 'waypoints' + waypointCounter++;
229
+ this.offset = null;
230
+ this.options = options;
231
+ context.waypoints[this.axis][this.id] = this;
232
+ allWaypoints[this.axis][this.id] = this;
233
+ idList = (_ref = $element.data(waypointKey)) != null ? _ref : [];
234
+ idList.push(this.id);
235
+ $element.data(waypointKey, idList);
236
+ }
237
+
238
+ Waypoint.prototype.trigger = function(args) {
239
+ if (!this.enabled) {
240
+ return;
241
+ }
242
+ if (this.callback != null) {
243
+ this.callback.apply(this.element, args);
244
+ }
245
+ if (this.options.triggerOnce) {
246
+ return this.destroy();
247
+ }
248
+ };
249
+
250
+ Waypoint.prototype.disable = function() {
251
+ return this.enabled = false;
252
+ };
253
+
254
+ Waypoint.prototype.enable = function() {
255
+ this.context.refresh();
256
+ return this.enabled = true;
257
+ };
258
+
259
+ Waypoint.prototype.destroy = function() {
260
+ delete allWaypoints[this.axis][this.id];
261
+ delete this.context.waypoints[this.axis][this.id];
262
+ return this.context.checkEmpty();
263
+ };
264
+
265
+ Waypoint.getWaypointsByElement = function(element) {
266
+ var all, ids;
267
+
268
+ ids = $(element).data(waypointKey);
269
+ if (!ids) {
270
+ return [];
271
+ }
272
+ all = $.extend({}, allWaypoints.horizontal, allWaypoints.vertical);
273
+ return $.map(ids, function(id) {
274
+ return all[id];
275
+ });
276
+ };
277
+
278
+ return Waypoint;
279
+
280
+ })();
281
+ methods = {
282
+ init: function(f, options) {
283
+ var _ref;
284
+
285
+ if (options == null) {
286
+ options = {};
287
+ }
288
+ if ((_ref = options.handler) == null) {
289
+ options.handler = f;
290
+ }
291
+ this.each(function() {
292
+ var $this, context, contextElement, _ref1;
293
+
294
+ $this = $(this);
295
+ contextElement = (_ref1 = options.context) != null ? _ref1 : $.fn[wp].defaults.context;
296
+ if (!$.isWindow(contextElement)) {
297
+ contextElement = $this.closest(contextElement);
298
+ }
299
+ contextElement = $(contextElement);
300
+ context = contexts[contextElement.data(contextKey)];
301
+ if (!context) {
302
+ context = new Context(contextElement);
303
+ }
304
+ return new Waypoint($this, context, options);
305
+ });
306
+ $[wps]('refresh');
307
+ return this;
308
+ },
309
+ disable: function() {
310
+ return methods._invoke(this, 'disable');
311
+ },
312
+ enable: function() {
313
+ return methods._invoke(this, 'enable');
314
+ },
315
+ destroy: function() {
316
+ return methods._invoke(this, 'destroy');
317
+ },
318
+ prev: function(axis, selector) {
319
+ return methods._traverse.call(this, axis, selector, function(stack, index, waypoints) {
320
+ if (index > 0) {
321
+ return stack.push(waypoints[index - 1]);
322
+ }
323
+ });
324
+ },
325
+ next: function(axis, selector) {
326
+ return methods._traverse.call(this, axis, selector, function(stack, index, waypoints) {
327
+ if (index < waypoints.length - 1) {
328
+ return stack.push(waypoints[index + 1]);
329
+ }
330
+ });
331
+ },
332
+ _traverse: function(axis, selector, push) {
333
+ var stack, waypoints;
334
+
335
+ if (axis == null) {
336
+ axis = 'vertical';
337
+ }
338
+ if (selector == null) {
339
+ selector = window;
340
+ }
341
+ waypoints = jQMethods.aggregate(selector);
342
+ stack = [];
343
+ this.each(function() {
344
+ var index;
345
+
346
+ index = $.inArray(this, waypoints[axis]);
347
+ return push(stack, index, waypoints[axis]);
348
+ });
349
+ return this.pushStack(stack);
350
+ },
351
+ _invoke: function($elements, method) {
352
+ $elements.each(function() {
353
+ var waypoints;
354
+
355
+ waypoints = Waypoint.getWaypointsByElement(this);
356
+ return $.each(waypoints, function(i, waypoint) {
357
+ waypoint[method]();
358
+ return true;
359
+ });
360
+ });
361
+ return this;
362
+ }
363
+ };
364
+ $.fn[wp] = function() {
365
+ var args, method;
366
+
367
+ method = arguments[0], args = 2 <= arguments.length ? __slice.call(arguments, 1) : [];
368
+ if (methods[method]) {
369
+ return methods[method].apply(this, args);
370
+ } else if ($.isFunction(method)) {
371
+ return methods.init.apply(this, arguments);
372
+ } else if ($.isPlainObject(method)) {
373
+ return methods.init.apply(this, [null, method]);
374
+ } else if (!method) {
375
+ return $.error("jQuery Waypoints needs a callback function or handler option.");
376
+ } else {
377
+ return $.error("The " + method + " method does not exist in jQuery Waypoints.");
378
+ }
379
+ };
380
+ $.fn[wp].defaults = {
381
+ context: window,
382
+ continuous: true,
383
+ enabled: true,
384
+ horizontal: false,
385
+ offset: 0,
386
+ triggerOnce: false
387
+ };
388
+ jQMethods = {
389
+ refresh: function() {
390
+ return $.each(contexts, function(i, context) {
391
+ return context.refresh();
392
+ });
393
+ },
394
+ viewportHeight: function() {
395
+ var _ref;
396
+
397
+ return (_ref = window.innerHeight) != null ? _ref : $w.height();
398
+ },
399
+ aggregate: function(contextSelector) {
400
+ var collection, waypoints, _ref;
401
+
402
+ collection = allWaypoints;
403
+ if (contextSelector) {
404
+ collection = (_ref = contexts[$(contextSelector).data(contextKey)]) != null ? _ref.waypoints : void 0;
405
+ }
406
+ if (!collection) {
407
+ return [];
408
+ }
409
+ waypoints = {
410
+ horizontal: [],
411
+ vertical: []
412
+ };
413
+ $.each(waypoints, function(axis, arr) {
414
+ $.each(collection[axis], function(key, waypoint) {
415
+ return arr.push(waypoint);
416
+ });
417
+ arr.sort(function(a, b) {
418
+ return a.offset - b.offset;
419
+ });
420
+ waypoints[axis] = $.map(arr, function(waypoint) {
421
+ return waypoint.element;
422
+ });
423
+ return waypoints[axis] = $.unique(waypoints[axis]);
424
+ });
425
+ return waypoints;
426
+ },
427
+ above: function(contextSelector) {
428
+ if (contextSelector == null) {
429
+ contextSelector = window;
430
+ }
431
+ return jQMethods._filter(contextSelector, 'vertical', function(context, waypoint) {
432
+ return waypoint.offset <= context.oldScroll.y;
433
+ });
434
+ },
435
+ below: function(contextSelector) {
436
+ if (contextSelector == null) {
437
+ contextSelector = window;
438
+ }
439
+ return jQMethods._filter(contextSelector, 'vertical', function(context, waypoint) {
440
+ return waypoint.offset > context.oldScroll.y;
441
+ });
442
+ },
443
+ left: function(contextSelector) {
444
+ if (contextSelector == null) {
445
+ contextSelector = window;
446
+ }
447
+ return jQMethods._filter(contextSelector, 'horizontal', function(context, waypoint) {
448
+ return waypoint.offset <= context.oldScroll.x;
449
+ });
450
+ },
451
+ right: function(contextSelector) {
452
+ if (contextSelector == null) {
453
+ contextSelector = window;
454
+ }
455
+ return jQMethods._filter(contextSelector, 'horizontal', function(context, waypoint) {
456
+ return waypoint.offset > context.oldScroll.x;
457
+ });
458
+ },
459
+ enable: function() {
460
+ return jQMethods._invoke('enable');
461
+ },
462
+ disable: function() {
463
+ return jQMethods._invoke('disable');
464
+ },
465
+ destroy: function() {
466
+ return jQMethods._invoke('destroy');
467
+ },
468
+ extendFn: function(methodName, f) {
469
+ return methods[methodName] = f;
470
+ },
471
+ _invoke: function(method) {
472
+ var waypoints;
473
+
474
+ waypoints = $.extend({}, allWaypoints.vertical, allWaypoints.horizontal);
475
+ return $.each(waypoints, function(key, waypoint) {
476
+ waypoint[method]();
477
+ return true;
478
+ });
479
+ },
480
+ _filter: function(selector, axis, test) {
481
+ var context, waypoints;
482
+
483
+ context = contexts[$(selector).data(contextKey)];
484
+ if (!context) {
485
+ return [];
486
+ }
487
+ waypoints = [];
488
+ $.each(context.waypoints[axis], function(i, waypoint) {
489
+ if (test(context, waypoint)) {
490
+ return waypoints.push(waypoint);
491
+ }
492
+ });
493
+ waypoints.sort(function(a, b) {
494
+ return a.offset - b.offset;
495
+ });
496
+ return $.map(waypoints, function(waypoint) {
497
+ return waypoint.element;
498
+ });
499
+ }
500
+ };
501
+ $[wps] = function() {
502
+ var args, method;
503
+
504
+ method = arguments[0], args = 2 <= arguments.length ? __slice.call(arguments, 1) : [];
505
+ if (jQMethods[method]) {
506
+ return jQMethods[method].apply(null, args);
507
+ } else {
508
+ return jQMethods.aggregate.call(null, method);
509
+ }
510
+ };
511
+ $[wps].settings = {
512
+ resizeThrottle: 100,
513
+ scrollThrottle: 30
514
+ };
515
+ return $w.load(function() {
516
+ return $[wps]('refresh');
517
+ });
518
+ });
519
+
520
+ }).call(this);
js/webandpeople/jquery_plugins/smartcatalog/jquery-noconflict.js ADDED
@@ -0,0 +1 @@
 
1
+ var jqSmartCatalog = jQuery.noConflict(false);
js/webandpeople/jquery_plugins/smartcatalog/jquery.actual.js ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! Copyright 2012, Ben Lin (http://dreamerslab.com/)
2
+ * Licensed under the MIT License (LICENSE.txt).
3
+ *
4
+ * Version: 1.0.15
5
+ *
6
+ * Requires: jQuery >= 1.2.3
7
+ */
8
+ ;( function ( $ ){
9
+ $.fn.addBack = $.fn.addBack || $.fn.andSelf;
10
+
11
+ $.fn.extend({
12
+
13
+ actual : function ( method, options ){
14
+ // check if the jQuery method exist
15
+ if( !this[ method ]){
16
+ throw '$.actual => The jQuery method "' + method + '" you called does not exist';
17
+ }
18
+
19
+ var defaults = {
20
+ absolute : false,
21
+ clone : false,
22
+ includeMargin : false
23
+ };
24
+
25
+ var configs = $.extend( defaults, options );
26
+
27
+ var $target = this.eq( 0 );
28
+ var fix, restore;
29
+
30
+ if( configs.clone === true ){
31
+ fix = function (){
32
+ var style = 'position: absolute !important; top: -1000 !important; ';
33
+
34
+ // this is useful with css3pie
35
+ $target = $target.
36
+ clone().
37
+ attr( 'style', style ).
38
+ appendTo( 'body' );
39
+ };
40
+
41
+ restore = function (){
42
+ // remove DOM element after getting the width
43
+ $target.remove();
44
+ };
45
+ }else{
46
+ var tmp = [];
47
+ var style = '';
48
+ var $hidden;
49
+
50
+ fix = function (){
51
+ // get all hidden parents
52
+ $hidden = $target.parents().addBack().filter( ':hidden' );
53
+ style += 'visibility: hidden !important; display: block !important; ';
54
+
55
+ if( configs.absolute === true ) style += 'position: absolute !important; ';
56
+
57
+ // save the origin style props
58
+ // set the hidden el css to be got the actual value later
59
+ $hidden.each( function (){
60
+ var $this = $( this );
61
+
62
+ // Save original style. If no style was set, attr() returns undefined
63
+ tmp.push( $this.attr( 'style' ));
64
+ $this.attr( 'style', style );
65
+ });
66
+ };
67
+
68
+ restore = function (){
69
+ // restore origin style values
70
+ $hidden.each( function ( i ){
71
+ var $this = $( this );
72
+ var _tmp = tmp[ i ];
73
+
74
+ if( _tmp === undefined ){
75
+ $this.removeAttr( 'style' );
76
+ }else{
77
+ $this.attr( 'style', _tmp );
78
+ }
79
+ });
80
+ };
81
+ }
82
+
83
+ fix();
84
+ // get the actual value with user specific methed
85
+ // it can be 'width', 'height', 'outerWidth', 'innerWidth'... etc
86
+ // configs.includeMargin only works for 'outerWidth' and 'outerHeight'
87
+ var actual = /(outer)/.test( method ) ?
88
+ $target[ method ]( configs.includeMargin ) :
89
+ $target[ method ]();
90
+
91
+ restore();
92
+ // IMPORTANT, this plugin only return the value of the first element
93
+ return actual;
94
+ }
95
+ });
96
+ })( jQuery );
js/webandpeople/jquery_plugins/smartcatalog/jquery.debouncedresize.js ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * debouncedresize: special jQuery event that happens once after a window resize
3
+ *
4
+ * latest version and complete README available on Github:
5
+ * https://github.com/louisremi/jquery-smartresize
6
+ *
7
+ * Copyright 2012 @louis_remi
8
+ * Licensed under the MIT license.
9
+ *
10
+ * This saved you an hour of work?
11
+ * Send me music http://www.amazon.co.uk/wishlist/HNTU0468LQON
12
+ */
13
+ (function($) {
14
+
15
+ var $event = $.event,
16
+ $special,
17
+ resizeTimeout;
18
+
19
+ $special = $event.special.debouncedresize = {
20
+ setup: function() {
21
+ $( this ).bind( "resize", $special.handler );
22
+ },
23
+ teardown: function() {
24
+ $( this ).unbind( "resize", $special.handler );
25
+ },
26
+ handler: function( event, execAsap ) {
27
+ // Save the context
28
+ var context = this,
29
+ args = arguments,
30
+ dispatch = function() {
31
+ // set correct event type
32
+ event.type = "debouncedresize";
33
+ if (typeof $event.dispatch == 'undefined') {
34
+ $event.handle.apply( context, args );
35
+ } else {
36
+ $event.dispatch.apply( context, args );
37
+ }
38
+ };
39
+
40
+ if ( resizeTimeout ) {
41
+ clearTimeout( resizeTimeout );
42
+ }
43
+
44
+ execAsap ?
45
+ dispatch() :
46
+ resizeTimeout = setTimeout( dispatch, $special.threshold );
47
+ },
48
+ threshold: 150
49
+ };
50
+
51
+ })(jQuery);
media/template/free_responsive_magento_template_grayscale_2014.jpg ADDED
Binary file
media/template/free_responsive_magento_template_grayscale_full_width.jpg ADDED
Binary file
media/template/grayscale_full_width_free_magento_theme.jpg ADDED
Binary file
media/template/magento_template.jpg ADDED
Binary file
media/template/magento_template_custom_menu.jpg ADDED
Binary file
media/template/magento_theme.jpg ADDED
Binary file
media/template/web_experiment_magento_templates.jpg ADDED
Binary file
media/template/web_experiment_premium_magento_templates.jpg ADDED
Binary file
package.xml ADDED
@@ -0,0 +1,415 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <package>
3
+ <name>wp_theme_grayscale2014</name>
4
+ <version>1.0.0</version>
5
+ <stability>stable</stability>
6
+ <license uri="http://web-experiment.info/regular_free_license">Web-Experiment.Info Regular Free License</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>Magento Theme - Grayscale Full-Width (Web-Experiment.Info)</summary>
10
+ <description>Magento Theme - Grayscale Full-Width (Web-Experiment.Info)</description>
11
+ <notes>first release</notes>
12
+ <authors>
13
+ <author>
14
+ <name>WebAndPeople</name>
15
+ <user>WebAndPeople</user>
16
+ <email>design@webandpeople.com</email>
17
+ </author>
18
+ <author>
19
+ <name>Yura Gerassimenko</name>
20
+ <user>ygerassimenko</user>
21
+ <email>y.gerassimenko@webandpeople.com</email>
22
+ </author>
23
+ </authors>
24
+ <date>2014-01-23</date>
25
+ <time>12:22:32</time>
26
+ <contents>
27
+ <target name="mageweb">
28
+ <dir name="app">
29
+ <dir name="code">
30
+ <dir name="community">
31
+ <dir name="WP">
32
+ <dir name="SmartProductImage">
33
+ <dir name="Block">
34
+ <file name="About.php" hash="21167fbb67bab27ee0a124ad703ffc39"/>
35
+ <file name="Js.php" hash="641151bab311a1b87c1d3d24e9ae7fc3"/>
36
+ <dir name="System">
37
+ <dir name="Config">
38
+ <dir name="Form">
39
+ <dir name="Field">
40
+ <file name="Imagesizes.php" hash="a7c2a880f74ffb780ac58b2f81da3fc1"/>
41
+ </dir>
42
+ </dir>
43
+ </dir>
44
+ </dir>
45
+ </dir>
46
+ <dir name="Helper">
47
+ <file name="Data.php" hash="0d0d1ce70098fc4c2f66612775abf79a"/>
48
+ </dir>
49
+ <dir name="etc">
50
+ <file name="config.xml" hash="ad977409ef250cf7f9fcafe39f43a60a"/>
51
+ <file name="system.xml" hash="a4751a912359d646f19ad45bb9ea0d96"/>
52
+ </dir>
53
+ </dir>
54
+ </dir>
55
+ </dir>
56
+ <dir name="local">
57
+ <dir name="Mage">
58
+ <dir name="Catalog">
59
+ <dir name="Block">
60
+ <dir name="Product">
61
+ <file name="Manufacturer.php" hash="6867232df0df4ed8ddda210dccb5285b"/>
62
+ <file name="Popular.php" hash="eb7acba0d3729beef0614047fe4940c1"/>
63
+ <file name="Promo.php" hash="58dfa97e333072506ddff169d2409040"/>
64
+ </dir>
65
+ </dir>
66
+ </dir>
67
+ </dir>
68
+ <dir name="WP">
69
+ <dir name="BackToTopButton">
70
+ <dir name="Block">
71
+ <file name="About.php" hash="497d3bab362a56d1fc0234bead76ebb7"/>
72
+ <dir name="System">
73
+ <dir name="Config">
74
+ <dir name="Form">
75
+ <dir name="Field">
76
+ <dir name="Array">
77
+ <file name="Abstract.php" hash="0a1174977ee714fafe13c2f11318016f"/>
78
+ <file name="Regexceptions.php" hash="243d998741214fcf9a85c036b43655f3"/>
79
+ </dir>
80
+ </dir>
81
+ </dir>
82
+ </dir>
83
+ </dir>
84
+ <file name="Toggle.php" hash="e2fadbea896f1db82a54169627bae456"/>
85
+ </dir>
86
+ <dir name="Helper">
87
+ <file name="Data.php" hash="75249650567f900f901a4f80029eb60d"/>
88
+ </dir>
89
+ <dir name="etc">
90
+ <file name="config.xml" hash="ca7b091991a5933f7ad2f0d0bb8ab9a2"/>
91
+ <file name="system.xml" hash="81c75d8151ce5b2a5f445fdddfe8ce96"/>
92
+ </dir>
93
+ </dir>
94
+ <dir name="CustomMenu">
95
+ <dir name="Block">
96
+ <file name="About.php" hash="c7770064d9bbd15f841b8f8d65aafe19"/>
97
+ <file name="Navigation.php" hash="87be6224e66862e0562d30977277503c"/>
98
+ <file name="Toggle.php" hash="c0e3299c7ce19041edb481ff09ab22c7"/>
99
+ <file name="Topmenu.php" hash="7102b3bf0473dc5ecb0d66c12bfc6a95"/>
100
+ </dir>
101
+ <dir name="Helper">
102
+ <file name="Data.php" hash="3fc8215a159463e064f9673e6b9c6a7b"/>
103
+ </dir>
104
+ <dir name="controllers">
105
+ <file name="AjaxmenucontentController.php" hash="7e4b0f04147ede2a9405181e1056fd19"/>
106
+ <file name="AjaxmobilemenucontentController.php" hash="7b1690de9885838fb6f483136eed3a06"/>
107
+ </dir>
108
+ <dir name="etc">
109
+ <file name="config.xml" hash="cb9f2e0bb3f6e822f7bb7c88887802fd"/>
110
+ <file name="system.xml" hash="64cafadbaacd02165a008a83a4223bb1"/>
111
+ </dir>
112
+ </dir>
113
+ <dir name="SmartCatalog">
114
+ <dir name="Block">
115
+ <file name="About.php" hash="5061eb335248b047d13dcbf3877518d5"/>
116
+ <file name="Toggle.php" hash="05f421ec9fae609620f24250d5eb591f"/>
117
+ </dir>
118
+ <dir name="Helper">
119
+ <file name="Data.php" hash="cdd117112a49960955d776a05886b09e"/>
120
+ </dir>
121
+ <dir name="Model">
122
+ <file name="Observer.php" hash="f2225790b750f4defc7eb631057cf459"/>
123
+ </dir>
124
+ <dir name="etc">
125
+ <file name="config.xml" hash="7f63aff8c2916d50c6b55a8d9470ab03"/>
126
+ <file name="system.xml" hash="afd68ea407a1b2d6f6c2124dd240c95c"/>
127
+ </dir>
128
+ </dir>
129
+ <dir name="ThemeGrayscale2014">
130
+ <dir name="Block">
131
+ <file name="About.php" hash="ac9ffb5d1c772daa9462552b429835f0"/>
132
+ </dir>
133
+ <dir name="Helper">
134
+ <file name="Data.php" hash="9442514d1b5c864a63b1af4c883df06b"/>
135
+ </dir>
136
+ <dir name="etc">
137
+ <file name="config.xml" hash="f267e54a53751abf4aeeaeb12a9330b8"/>
138
+ <file name="system.xml" hash="0d2544c0255cc03c00e773041311e0cc"/>
139
+ </dir>
140
+ </dir>
141
+ </dir>
142
+ </dir>
143
+ </dir>
144
+ <dir name="design">
145
+ <dir name="frontend">
146
+ <dir name="default">
147
+ <dir name="default">
148
+ <dir name="layout">
149
+ <dir name="webandpeople">
150
+ <file name="backtotopbutton.xml" hash="6b51d83c28fab664b4ae44e02858a3f3"/>
151
+ <file name="custommenu.xml" hash="924c62b611df2b20ef35fccab8c87a86"/>
152
+ <file name="smartcatalog.xml" hash="28cd097f3c9cd8444020f8b8fcf3ba58"/>
153
+ <file name="smartproductimage.xml" hash="2b72dcc258c4e440716d7416348682da"/>
154
+ </dir>
155
+ </dir>
156
+ <dir name="template">
157
+ <dir name="webandpeople">
158
+ <dir name="backtotopbutton">
159
+ <file name="button.phtml" hash="2649afd7988da0af70e36e3b289978a5"/>
160
+ </dir>
161
+ <dir name="custommenu">
162
+ <file name="menucontent.phtml" hash="c6aacc6cd49e638f08e90803183fed7b"/>
163
+ <file name="top.phtml" hash="e57f1dc563d8cd5c7bfd39bdf58afd50"/>
164
+ </dir>
165
+ <dir name="smartcatalog">
166
+ <file name="list-home.phtml" hash="a73eed68e52d7f4551f161972c7b5040"/>
167
+ <file name="list.phtml" hash="136aba81a73791b6fada5b5d0997b5e9"/>
168
+ </dir>
169
+ <dir name="smartproductimage">
170
+ <file name="js.phtml" hash="24a7d08b5de0582380b8b5819f126934"/>
171
+ </dir>
172
+ </dir>
173
+ </dir>
174
+ </dir>
175
+ <dir name="grayscale">
176
+ <dir name="layout">
177
+ <file name="local.xml" hash="15e2758594852bd4b2ec1f9c73cce3ad"/>
178
+ </dir>
179
+ <dir name="locale">
180
+ <dir name="en_US">
181
+ <file name="translate.csv" hash="4eb6e600e7c8e310e18dd8711da69a0f"/>
182
+ </dir>
183
+ </dir>
184
+ <dir name="template">
185
+ <dir name="catalog">
186
+ <dir name="navigation">
187
+ <file name="top.phtml" hash="c52944b2dc37b646dac270e91528611a"/>
188
+ </dir>
189
+ <dir name="product">
190
+ <file name="home.phtml" hash="0ecdc7df9fbc40493926c1ca7e501869"/>
191
+ <file name="list.phtml" hash="3e64493101ed659e681d1fe12616aa0f"/>
192
+ <file name="popular.phtml" hash="88b4117a226a9a88b4c814a3d377ad4e"/>
193
+ <file name="tabs_cat.phtml" hash="7530e7576d62b2cf12c7c7f14347d912"/>
194
+ <dir name="view">
195
+ <file name="addto.phtml" hash="ab2d1c464f8efb33e80ec2db932365a0"/>
196
+ <file name="single_top.phtml" hash="0c31aaf298d7db4a41dc63d78199ffb1"/>
197
+ <file name="single_top_btn.phtml" hash="108104858c2aa747e912db6ce87848bc"/>
198
+ </dir>
199
+ <file name="view.phtml" hash="1cebea532e0a9fbf8ee2389daec9ce24"/>
200
+ </dir>
201
+ </dir>
202
+ <dir name="checkout">
203
+ <dir name="cart">
204
+ <file name="sidebar_top.phtml" hash="3f8b7e02d691ebf383b420bc62c8fde8"/>
205
+ </dir>
206
+ <dir name="onepage">
207
+ <file name="login.phtml" hash="0e3345d379d0bde5f626300022075b03"/>
208
+ </dir>
209
+ </dir>
210
+ <dir name="customer">
211
+ <dir name="form">
212
+ <file name="login.phtml" hash="efd0efae7b00e9933ec81e3a200ebb5f"/>
213
+ </dir>
214
+ </dir>
215
+ <dir name="directory">
216
+ <file name="currency.phtml" hash="244e6ba578044f032e6ec6cf827c410b"/>
217
+ </dir>
218
+ <dir name="easytabs">
219
+ <file name="catalogproductrelated.phtml" hash="19bc76ebbc0b5ff985dd9bf1dad9c571"/>
220
+ <file name="catalogproductview.phtml" hash="e6be2c2f2fbd172aa5fdc067e92c8695"/>
221
+ </dir>
222
+ <dir name="page">
223
+ <dir name="html">
224
+ <file name="designby.phtml" hash="3842c8a75cafc2d0d4dd6df71bac523d"/>
225
+ <file name="footer.phtml" hash="6ccb72cbdba2963f648bac50b05afc91"/>
226
+ <file name="head.phtml" hash="d3a14e5a11a117485b8c303b9884650e"/>
227
+ <file name="header.phtml" hash="de7f7dbb3fbe4eb1321c0c5881d32978"/>
228
+ </dir>
229
+ <dir name="template">
230
+ <file name="alinks.phtml" hash="0906d7fb1a981a5c74935b232430d654"/>
231
+ <file name="clinks.phtml" hash="b29796c17eb54200a4abf8abdb05562c"/>
232
+ </dir>
233
+ </dir>
234
+ <dir name="persistent">
235
+ <dir name="checkout">
236
+ <dir name="onepage">
237
+ <file name="login.phtml" hash="1c05f28c4dba72402f58ba2ae7bdba58"/>
238
+ </dir>
239
+ </dir>
240
+ <dir name="customer">
241
+ <dir name="form">
242
+ <file name="login.phtml" hash="3cb986ff3b29dfaaf501be60fa7667b8"/>
243
+ </dir>
244
+ </dir>
245
+ </dir>
246
+ <dir name="webandpeople">
247
+ <dir name="smartcatalog">
248
+ <file name="list-new.phtml" hash="b16e31130f07ae864f10095487d1128a"/>
249
+ <file name="list-rate.phtml" hash="fc0d37dc83c7c648b17ac6982b465c80"/>
250
+ <file name="list-short.phtml" hash="eb84dce02bdb51f252651980e086faae"/>
251
+ </dir>
252
+ </dir>
253
+ </dir>
254
+ </dir>
255
+ </dir>
256
+ </dir>
257
+ </dir>
258
+ <dir name="etc">
259
+ <dir name="modules">
260
+ <file name="WP_BackToTopButton.xml" hash="4bcdf07a96ebbf20cb85df19f0c1ee4b"/>
261
+ <file name="WP_CustomMenu.xml" hash="cfe1d1974c20f4ac9f2d5ace4916c5ab"/>
262
+ <file name="WP_SmartCatalog.xml" hash="77bc83cda667f03755660f47ccb9f31d"/>
263
+ <file name="WP_SmartProductImage.xml" hash="eb9a93ba59bf69e2ccde917b91c62c19"/>
264
+ <file name="WP_ThemeGrayscale2014.xml" hash="bcc97242a3e2cad7349a38d00184a2cc"/>
265
+ </dir>
266
+ </dir>
267
+ </dir>
268
+ <dir name="js">
269
+ <dir name="webandpeople">
270
+ <dir name="jquery">
271
+ <dir name="backtotopbutton">
272
+ <file name="jquery-noconflict.js" hash="167ed0ec9ea28da4f233f2248b7aff17"/>
273
+ <file name="jquery.min.js" hash="24bd97b1de158c4f1a162336eeca4aa6"/>
274
+ </dir>
275
+ <dir name="smartcatalog">
276
+ <file name="jquery-noconflict.js" hash="0f8ad28295c8b6bf0511e6d10aab4c8f"/>
277
+ <file name="jquery.min.js" hash="24bd97b1de158c4f1a162336eeca4aa6"/>
278
+ </dir>
279
+ </dir>
280
+ <dir name="jquery_plugins">
281
+ <dir name="backtotopbutton">
282
+ <file name="jquery-noconflict.js" hash="167ed0ec9ea28da4f233f2248b7aff17"/>
283
+ <file name="waypoints.js" hash="9e6c9bbc1ca6edc6411259da3fc44cf5"/>
284
+ </dir>
285
+ <dir name="smartcatalog">
286
+ <file name="jquery-noconflict.js" hash="0f8ad28295c8b6bf0511e6d10aab4c8f"/>
287
+ <file name="jquery.actual.js" hash="cca132e86ff4e01c4566f291571cbac3"/>
288
+ <file name="jquery.debouncedresize.js" hash="778a58c66c51222275c3a814b60fa045"/>
289
+ </dir>
290
+ </dir>
291
+ </dir>
292
+ </dir>
293
+ <dir name="media">
294
+ <dir name="template">
295
+ <file name="free_responsive_magento_template_grayscale_2014.jpg" hash="d901e6eca9bcbdf60dffa9d01ab9fc6a"/>
296
+ <file name="free_responsive_magento_template_grayscale_full_width.jpg" hash="64e256c07e148f9b0dbc3b002facce05"/>
297
+ <file name="grayscale_full_width_free_magento_theme.jpg" hash="4f12b27216af3f52f137fa2bc86e759e"/>
298
+ <file name="magento_template.jpg" hash="c859df941238addb37c2e5210c09c739"/>
299
+ <file name="magento_template_custom_menu.jpg" hash="310a8e7afc393944b0d82534a78b290c"/>
300
+ <file name="magento_theme.jpg" hash="5cc34fdc415ddf3e5ed1db79b1c3b6d9"/>
301
+ <file name="web_experiment_magento_templates.jpg" hash="c33198f130a76e95b2dd96e212eb6363"/>
302
+ <file name="web_experiment_premium_magento_templates.jpg" hash="8903fdb96a6f0ea4eec9c7fa214dcf61"/>
303
+ </dir>
304
+ </dir>
305
+ <dir name="skin">
306
+ <dir name="frontend">
307
+ <dir name="default">
308
+ <dir name="default">
309
+ <dir name="css">
310
+ <dir name="webandpeople">
311
+ <dir name="backtotopbutton">
312
+ <file name="backtotopbutton.css" hash="fcea466a33cad71f5bf221bc375ae09b"/>
313
+ </dir>
314
+ <dir name="custommenu">
315
+ <file name="custommenu.css" hash="1502d73576a6c565ec27b565a2de2778"/>
316
+ </dir>
317
+ <dir name="smartcatalog">
318
+ <file name="smartcatalog.css" hash="9d8800e0a7328fdcee66917c5d0bc3e2"/>
319
+ </dir>
320
+ </dir>
321
+ </dir>
322
+ <dir name="images">
323
+ <dir name="webandpeople">
324
+ <dir name="smartcatalog">
325
+ <file name="loader.gif" hash="e6b779c5ee1dcc9ef822ccc6813963bd"/>
326
+ </dir>
327
+ </dir>
328
+ </dir>
329
+ <dir name="js">
330
+ <dir name="webandpeople">
331
+ <dir name="custommenu">
332
+ <file name="custommenu.js" hash="f3a0fc60503e5db502d0e34f7d72c665"/>
333
+ </dir>
334
+ <dir name="smartcatalog">
335
+ <file name="jquery.smartCatalog.js" hash="20d97df3d75f663ef794cc7d7b735041"/>
336
+ </dir>
337
+ </dir>
338
+ </dir>
339
+ </dir>
340
+ <dir name="grayscale">
341
+ <dir name="css">
342
+ <file name="color.css" hash="c9585d28d795329764a960c2f5c2b08f"/>
343
+ <file name="media-480.css" hash="bed0561575e4cf40f3898d03aa561195"/>
344
+ <file name="media-800.css" hash="100d5675effdfffe65636684320713ea"/>
345
+ <file name="media-small.css" hash="2930f72f6284fc47dd991815c551f2d6"/>
346
+ <file name="skin.css" hash="31eaf20d63a310e9bdf6a4e6ffb2f185"/>
347
+ <file name="slider.css" hash="a2cd945afce72fe75df05cc7b98c6894"/>
348
+ <file name="styles-ie.css" hash="71d298472e9b0125e3b50592148ff890"/>
349
+ <file name="styles.css" hash="0dd13659e6f54c9f8303e87863e17299"/>
350
+ <dir name="webandpeople">
351
+ <dir name="backtotopbutton">
352
+ <file name="backtotopbutton.css" hash="d5cf6c153ec6e6a3e09a0a7631406fa4"/>
353
+ </dir>
354
+ <dir name="custommenu">
355
+ <file name="custommenu.css" hash="d833978dbae40ec40b2fddfa4268e4ef"/>
356
+ </dir>
357
+ <dir name="smartcatalog">
358
+ <file name="smartcatalog.css" hash="d72aaa6bee4a8cec4d5f0232154860c8"/>
359
+ </dir>
360
+ </dir>
361
+ </dir>
362
+ <file name="favicon.ico" hash="6e3f6e97b96ea2e33b3f76e40ad34a28"/>
363
+ <dir name="images">
364
+ <file name="btn.png" hash="17495d06da7ce1e5ba8da0876afb2eff"/>
365
+ <file name="btn_cart.png" hash="2584f437c575c6c2608bd8126be1b28e"/>
366
+ <file name="gift-message-collapse.gif" hash="6beeaaeac039f5e3e92c728b5c996bf8"/>
367
+ <file name="gift-message-expand.gif" hash="9eca47fc9be3127601cc2a4d1c0319db"/>
368
+ <file name="i_asc_arrow.gif" hash="9b5c00ca0cfdbcbfe80871e5a049d9bd"/>
369
+ <file name="i_desc_arrow.gif" hash="150537d0e715203e27c6b6af9040194f"/>
370
+ <file name="i_pager-next.gif" hash="fdf06c3092c5f894ac47ea9cc1f8e685"/>
371
+ <file name="i_pager-prev.gif" hash="70326c4ded8109d87a7c48b3c6832bd5"/>
372
+ <file name="i_print.gif" hash="d1b60266c89d36e11f8806b7e48de3ba"/>
373
+ <file name="i_rss-big.png" hash="b3398be21d0bc03194c032e769f71ab0"/>
374
+ <file name="i_rss.gif" hash="66011e9f2014f9d65778f6d008569613"/>
375
+ <file name="icon_big_rss.png" hash="b3398be21d0bc03194c032e769f71ab0"/>
376
+ <file name="icon_feed.png" hash="08e9af6b5f942f57cf8cd6aa72aa3400"/>
377
+ <file name="icon_layer.gif" hash="f8cafecc15e2cb777f0e7363ffe4230c"/>
378
+ <file name="icon_news.gif" hash="0314c5c4b2f74fa46445632f1a784228"/>
379
+ <file name="icon_rss.gif" hash="66011e9f2014f9d65778f6d008569613"/>
380
+ <file name="logo.gif" hash="fc07f714f782dcc1e5faf5e810ae4338"/>
381
+ <file name="magnifier_handle.gif" hash="9b47d3300daf5a769fa89ff7d6f84f79"/>
382
+ <file name="more.png" hash="e9712b0a11c0ff535b99d63fd0d010d0"/>
383
+ <file name="nav_arrow.gif" hash="12d9f37e03d5ca8185ec07aa02ce3982"/>
384
+ <file name="new.png" hash="114e88196592a499dc41cb1bfc30df4e"/>
385
+ <file name="pager_arrow_left.gif" hash="e6c761e0c59dcba68bb82cec09c3379e"/>
386
+ <file name="pager_arrow_right.gif" hash="c685fe86e39beb8f0e486a0797458b3d"/>
387
+ <file name="slider_btn_zoom_in.gif" hash="e2935a3e8405b0efbf40be08c470bc82"/>
388
+ <file name="slider_btn_zoom_out.gif" hash="9eda2b7a81943944cf5708d73e898ebf"/>
389
+ <file name="sort_asc_arrow.gif" hash="115a6d020846a2fdba8d8b532d1d8ba9"/>
390
+ <file name="sort_desc_arrow.gif" hash="df6491fab35d36b9fa680e331c3ef767"/>
391
+ <file name="sprite.png" hash="fcdd83e19aff58b8a5882d43014212fa"/>
392
+ </dir>
393
+ <dir name="js">
394
+ <file name="cycle-fade-effect.js" hash="d0d635ce559d39d49d225d9f6e328539"/>
395
+ <file name="jquery-1.5.2.min.js" hash="6537ced622c627df8b3b9bf8b228b009"/>
396
+ <file name="jquery.standardSlider.js" hash="1f54fe92eca55613c8e1a3d01af4e811"/>
397
+ <file name="noconflict.js" hash="3179f2255b046d5f2e9a71e365287bef"/>
398
+ <file name="respond.js" hash="b6e09c31c86f6bd55935e0097604d927"/>
399
+ </dir>
400
+ </dir>
401
+ </dir>
402
+ </dir>
403
+ </dir>
404
+ </target>
405
+ </contents>
406
+ <compatible/>
407
+ <dependencies>
408
+ <required>
409
+ <php>
410
+ <min>5.2.0</min>
411
+ <max>6.0.0</max>
412
+ </php>
413
+ </required>
414
+ </dependencies>
415
+ </package>
skin/frontend/default/default/css/webandpeople/backtotopbutton/backtotopbutton.css ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ a.go-to-top {
2
+ visibility: visible;
3
+ position: fixed;
4
+ right: 100px;
5
+ bottom: 15px;
6
+ height: 25px;
7
+ padding: 5px 10px;
8
+ line-height: 25px;
9
+ background-color: #000;
10
+ color: #FFFFFF;
11
+ display: block;
12
+ text-transform: uppercase;
13
+ text-decoration: none;
14
+ text-align: center;
15
+ font-weight: bold;
16
+ z-index: 9999;
17
+ border-radius: 2px;
18
+ -webkit-transition: all .3s linear;
19
+ -moz-transition: all .3s linear;
20
+ -ms-transition: all .3s linear;
21
+ transition: all .3s linear;
22
+ opacity: .7;
23
+ filter: alpha(opacity=70);
24
+ }
25
+ a.go-to-top:hover {
26
+ opacity: 1;
27
+ filter: alpha(opacity=100);
28
+ background-color: #333;
29
+ color: #FFFFFF;
30
+ }
31
+ a.go-to-top.hidden {
32
+ visibility: hidden;
33
+ }
skin/frontend/default/default/css/webandpeople/custommenu/custommenu.css ADDED
@@ -0,0 +1,396 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #custommenu {
2
+ position: relative;
3
+ font-size: 12px;
4
+ padding: 0px 0px 0px 0px;
5
+ width: 100%;
6
+ border-radius: 2px;
7
+ height: auto;
8
+ margin: 0 auto;
9
+ }
10
+ /*IE7 fix*/
11
+ *:first-child+html #custommenu {
12
+ z-index: 998;
13
+ }
14
+ div.menu {
15
+ float: left;
16
+ padding: 0px 0px 0px 0px;
17
+ margin: 0px 0px 0px 0px;
18
+ }
19
+ div.menu a:link, div.menu a:visited {
20
+ display: block;
21
+ height: 40px;
22
+ padding-left: 15px;
23
+ padding-right: 15px;
24
+ }
25
+ div.menu a span {
26
+ display: block;
27
+ height: 28px;
28
+ padding-right: 0px;
29
+ padding-top: 12px;
30
+ }
31
+ div.menu a span:hover {
32
+ cursor: pointer;
33
+ }
34
+ div.wp-custom-menu-popup {
35
+ position: absolute;
36
+ z-index: 1000;
37
+ display: none;
38
+ text-align: left;
39
+ padding: 0px 0px 10px 0px;
40
+ border-top: 0;
41
+ width: 100%;
42
+ margin-top: -1px;
43
+ }
44
+ div.menu a, div.wp-custom-menu-popup a {
45
+ text-decoration: none;
46
+ display:block;
47
+ cursor: pointer;
48
+ _height: 0;
49
+ height: auto;
50
+ line-height:13px;
51
+ }
52
+ div.level1 {
53
+ margin-bottom: 5px;
54
+ }
55
+ div.level2 {
56
+ margin-bottom: 5px;
57
+ }
58
+ div.level3 {
59
+ margin-bottom: 5px;
60
+ padding: 5px;
61
+ }
62
+ div.block2 {
63
+ padding-top: 0px;
64
+ padding-left: 10px;
65
+ padding-right: 10px;
66
+ display: block;
67
+ }
68
+ a.level1:link, a.level1:visited {
69
+ margin-top: 10px;
70
+ margin-bottom: 10px;
71
+ padding: 5px 10px;
72
+ border-radius: 2px;
73
+ }
74
+ a.level2:link, a.level2:visited {
75
+ padding: 3px 10px;
76
+ border-radius: 2px;
77
+ }
78
+ /* Clearfix */
79
+ div.block2:after {
80
+ content: ".";
81
+ display: block;
82
+ clear: both;
83
+ visibility: hidden;
84
+ line-height: 0;
85
+ height: 0;
86
+ }
87
+ html[xmlns] div.block2 {
88
+ display: block;
89
+ }
90
+ * html div.block2 {
91
+ height: 1%;
92
+ }
93
+ div.block2 p {
94
+ margin-bottom: 3px;
95
+ line-height: 120%;
96
+ color: #000;
97
+ font-size: 11px;
98
+ }
99
+ div.block2 p a {
100
+ display: inline;
101
+ }
102
+ div.block2 a img {
103
+ opacity: .9;
104
+ filter: alpha(opacity=90);
105
+ }
106
+ div.block2 a:hover img {
107
+ opacity: 1;
108
+ filter: alpha(opacity=100);
109
+ -webkit-transition: all .2s ease-in-out;
110
+ -moz-transition: all .2s ease-in-out;
111
+ -ms-transition: all .2s ease-in-out;
112
+ transition: all .2s ease-in-out;
113
+ }
114
+ div.block2 .brand a:hover img {
115
+ -webkit-transition: all 0;
116
+ -moz-transition: all 0;
117
+ -ms-transition: all 0;
118
+ transition: all 0;
119
+ }
120
+ div.wp-custom-menu-popup hr {
121
+ margin: 0px 0px 10px 0px;
122
+ }
123
+ /******************************************* COLUMN WIDTH ***************************** */
124
+ div.column {
125
+ float: left;
126
+ width: 18%; /* for 5 columns*/
127
+ padding: 0px 1%;
128
+ margin: 0px 0px 0px 0px;
129
+ }
130
+ /*end COLUMN WIDTH */
131
+
132
+ div.itemSubMenu {
133
+ margin-left: 0px;
134
+ }
135
+ .clearBoth {
136
+ clear:both;
137
+ height: 0;
138
+ overflow: hidden;
139
+ }
140
+ div.level1 {
141
+ margin-bottom: 0px;
142
+ }
143
+ /*BG*/
144
+ #custommenu {
145
+ }
146
+ div.wp-custom-menu-popup {
147
+ background: #f1f1f1;
148
+ box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.3);
149
+ }
150
+ div.menu a:link, div.menu a:visited {
151
+ }
152
+ div.menu a:hover {
153
+ background: #f1f1f1;
154
+ }
155
+ div.menu a, div.wp-custom-menu-popup a {
156
+ -webkit-transition: all .1s linear;
157
+ -moz-transition: all .1s linear;
158
+ -ms-transition: all .1s linear;
159
+ transition: all .1s linear;
160
+ }
161
+ div.menu .brand a, div.wp-custom-menu-popup .brand a {
162
+ -webkit-transition: all 0s linear;
163
+ -moz-transition: all 0s linear;
164
+ -ms-transition: all 0s linear;
165
+ transition: all 0s linear;
166
+ }
167
+ div.menu.active a {
168
+ background: #f1f1f1 !important;
169
+ color: #000 !important;
170
+ }
171
+ div.level3 {
172
+ background: #fff;
173
+ }
174
+ /*FONTS*/
175
+ div.menu {
176
+ font-weight: normal;
177
+ font-size: 14px;
178
+ text-transform: uppercase;
179
+ font-family: "Segoe UI";
180
+ }
181
+ a.level1:link, a.level1:visited {
182
+ text-transform: none;
183
+ font-weight: normal;
184
+ }
185
+ a.level2:link, a.level2:visited {
186
+ font-weight: normal;
187
+ font-size: 13px;
188
+ line-height: 16px;
189
+ }
190
+ a.level3:link, a.level3:visited {
191
+ font-size: 11px;
192
+ font-weight: normal;
193
+ line-height: 100%;
194
+ margin-bottom: 0px;
195
+ }
196
+ /*COLOR*/
197
+ div.menu a:link, div.menu a:visited {
198
+ color: #fff;
199
+ }
200
+ div.menu a:hover, div.menu.active a {
201
+ color: #000;
202
+ }
203
+ a.level3:link, a.level3:visited {
204
+ color: #333333;
205
+ }
206
+ a.level3:hover {
207
+ color: #b43f74;
208
+ }
209
+ a.level2:link, a.level2:visited {
210
+ color: #000;
211
+ }
212
+ a.level1:hover {
213
+ background: #d3d3d3;
214
+ }
215
+ a.level2:hover {
216
+ color: #000;
217
+ background: #d3d3d3;
218
+ }
219
+ .block2 table.brand {
220
+ float: left;
221
+ }
222
+ .block2 .single_menu_product {
223
+ float: left;
224
+ position: relative;
225
+ max-width: 150px;
226
+ overflow: hidden;
227
+ margin-right: 20px;
228
+ margin-left: 0px;
229
+ }
230
+ /*MOBILE MENU STYLES*/
231
+ #menu-button, .parentMenu {
232
+ display: inline-block;
233
+ }
234
+ html[xmlns] #menu-button, html[xmlns] .parentMenu {
235
+ display: block;
236
+ }
237
+ * html #menu-button, * html .parentMenu {
238
+ height: 1%;
239
+ }
240
+ #menu-button:after, .parentMenu:after {
241
+ content: ".";
242
+ display: block;
243
+ clear: both;
244
+ visibility: hidden;
245
+ line-height: 0;
246
+ height: 0;
247
+ }
248
+ #custommenu-mobile {
249
+ position:relative;
250
+ margin: 0 auto;
251
+ padding: 0;
252
+ z-index: 999;
253
+ }
254
+ #menu-button {
255
+ float: none;
256
+ padding: 10px 0px 10px 0px;
257
+ margin: 0px 0px 0px 0px;
258
+ width: 100%;
259
+ border-bottom: 1px solid #fff;
260
+ text-transform: uppercase;
261
+ }
262
+ #menu-button a:link, #menu-button a:visited {
263
+ color: #fff;
264
+ display: block;
265
+ float: left;
266
+ margin-left: 45%;
267
+ position: relative;
268
+ padding: 0px 10px;
269
+ }
270
+ #menu-button a span:after {
271
+ display: block;
272
+ position: relative;
273
+ content: "";
274
+ width: 0;
275
+ height: 0;
276
+ border-left: 5px solid transparent;
277
+ border-right: 5px solid transparent;
278
+ border-top: 4px solid #dadada;
279
+ margin: 8px 0px 0px 5px;
280
+ float: right;
281
+ opacity: 0.7;
282
+ }
283
+ #menu-button:hover {
284
+ cursor: pointer;
285
+ }
286
+ #menu-button:hover a:after {
287
+ opacity: 1;
288
+ }
289
+ .menu-mobile div.column {
290
+ float:none;
291
+ padding:5px;
292
+ background: #fff;
293
+ }
294
+ .menu-mobile a.itemMenuName {
295
+ display: block;
296
+ text-align: left;
297
+ }
298
+ .menu-mobile div.menu-button, .menu-mobile div.menu-mobile {
299
+ float: none;
300
+ padding: 0px 0px 0px 0px;
301
+ margin: 0px 0px 0px 0px;
302
+ width: 100%;
303
+ border-bottom: 1px solid #fff;
304
+ }
305
+ .menu-mobile div.column {
306
+ float: none;
307
+ width: 100%;
308
+ padding: 0px 0;
309
+ margin: 0px 0px 0px 0px;
310
+ }
311
+ .menu-mobile a.level1:link, .menu-mobile a.level1:visited {
312
+ margin-top: 0px;
313
+ margin-bottom: 0;
314
+ padding: 10px 10px;
315
+ border-radius: 2px;
316
+ color: #000;
317
+ }
318
+ .menu-mobile a.level2:link, .menu-mobile a.level2:visited {
319
+ padding: 10px 10px;
320
+ border-radius: 2px;
321
+ }
322
+ .menu-mobile a.level1:link, .menu-mobile a.level1:visited {
323
+ color: #555;
324
+ }
325
+ .menu-mobile a.level1:hover {
326
+ background-color: #f1f1f1;
327
+ }
328
+ .menu-mobile .parent {
329
+ background-color: #fff;
330
+ }
331
+ /*buttons level 01*/
332
+ .menu-mobile .parentMenu {
333
+ padding: 0px 0px;
334
+ display: block;
335
+ text-align: left;
336
+ border-bottom: 1px solid #dadada;
337
+ }
338
+ .menu-mobile .parentMenu a:link, .menu-mobile .parentMenu a:visited {
339
+ padding: 10px 0px 10px 10px;
340
+ margin-right: 80px;
341
+ color: #000;
342
+ display: block;
343
+ }
344
+ .menu-mobile .parentMenu:hover {
345
+ cursor: pointer;
346
+ }
347
+ .parentMenu {
348
+ position: relative;
349
+ }
350
+ .parentMenu a {
351
+ display: block;
352
+ }
353
+ #menu-button {
354
+ cursor: pointer;
355
+ }
356
+ .menu-mobile div.level2 {
357
+ margin-bottom: 0;
358
+ }
359
+ #custommenu-mobile .button {
360
+ cursor: pointer;
361
+ position: absolute;
362
+ right: 1%;
363
+ top: 0px;
364
+ display: block;
365
+ width: 80px;
366
+ height: 38px;
367
+ background-color: transparent;
368
+ background-repeat: no-repeat;
369
+ background-position: 90% 50%;
370
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJxJREFUeNpi/P//PwM66O3tBVF1UNwEwsXFxRjqmBhwg3wgZobSWAE+zcxoNEmaCQKKNDP29PTgkvsAxPxA/BGIBXDZ3A7Ef4D4Pxrmh6rhxyL3E4gbQZqL8AUKDsAG0gfS3AfEf0nU/AuIJ4I0VwIxC8j/aPgjVOFHLHLsQFzDiCeFoQQYqSmMtvGMT/NfNJokzQug9HRcCgACDAC34CnSSWx3zwAAAABJRU5ErkJggg==);
371
+ }
372
+ #custommenu-mobile .button.open {
373
+ background-color: transparent;
374
+ background-repeat: no-repeat;
375
+ background-position: 90% 50%;
376
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAE5JREFUeNpi/P//PwO5gImBAjBENbP09vZSZHM7EP8B4v8k4J9A3AjSXATEzCRaygbSB9LcB8R/SdT8C4gnsgCJSigmGTCOpjDSAECAAQBI6RqpQRaDFgAAAABJRU5ErkJggg==);
377
+ }
378
+ #custommenu-mobile .level1 .button {
379
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIxJREFUeNpi/P//PwO5gAWbYG9vL4ZYcXExhhgTAwUAn+YJQAzyUxcuBYwwP2Nx6k8gZgPid0AsjM0L+Gxmg9LMxDob5lTkKOBHEuvCpzmZQBgl4NNcD8SvcWgEiTfhi+c+KGZAcvpHIBbAG9pYEglKaJOaSCqB+BrUK8QnTyxeYCDa2dRIngQBQIABAGG6KfxEmzSnAAAAAElFTkSuQmCC);
380
+ }
381
+ #custommenu-mobile .level1 .button.open {
382
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAE1JREFUeNpi/P//PwO5gImBAjBwmllgjN7eXqI1FRcXU9/ZE4D4Px7chU9zMgHLEvBprgfi1zg0gsSbsAYYFPRBMVGAcQSmMIo0AwQYAIYUFeQ3G04OAAAAAElFTkSuQmCC);
383
+ }
384
+ /*BG*/
385
+ #custommenu-mobile .parentMenu:hover a:link, #custommenu-mobile .parentMenu:hover a:visited, #custommenu-mobile .parentMenu:hover {
386
+ background-color: #fff;
387
+ }
388
+ #custommenu-mobile .level0 {
389
+ background-color: #f1f1f1;
390
+ }
391
+ #custommenu-mobile .level1 {
392
+ background-color: #e4e4e4;
393
+ }
394
+ #custommenu-mobile .level2 {
395
+ background-color: #f1f1f1;
396
+ }
skin/frontend/default/default/css/webandpeople/smartcatalog/smartcatalog.css ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* ============================ */
2
+ /* === Catalog Product List === */
3
+ /* ============================ */
4
+
5
+ .products-grid {
6
+ background: none;
7
+ border: none;
8
+ }
9
+ .products-grid.smart li.item {
10
+ display: block;
11
+ }
12
+ .products-grid .item-content {
13
+ padding-bottom: 60px;
14
+
15
+ }
16
+ .products-grid .product-image {
17
+ width: auto;
18
+ height: auto;
19
+ }
20
+ .products-grid .actions {
21
+ text-align: left;
22
+ position: absolute;
23
+ bottom: 0;
24
+ }
25
+ .smartcolumns-splash {
26
+ font-size: 0;
27
+ width: 33px;
28
+ height: 11px;
29
+ background-repeat: no-repeat;
30
+ background-position: 0 0;
31
+ background-image: url(data:image/gif;base64,R0lGODlhIQALANU8AP///8zMzDMzM+zs7Ovr6/r6+vPz8+/v7/X19c3NzeXl5erq6vv7+87OztfX1/z8/NHR0f7+/s/Pz9bW1uHh4eTk5LW1tb6+vq2traurq/Hx8V5eXtra2tXV1fn5+fT09NDQ0ElJSfj4+DU1NePj4z09PZOTk4eHh9nZ2ZWVlefn5+Dg4NTU1JGRke7u7kFBQT8/P21tbfb29rCwsPLy8lxcXFdXV4WFhf39/ZiYmNvb27y8vP///wAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6ODIzMjNBQzcwMjU3MTFFMUFDREJEQzhBMEE2MEE2QUMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6ODIzMjNBQzgwMjU3MTFFMUFDREJEQzhBMEE2MEE2QUMiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4MjMyM0FDNTAyNTcxMUUxQUNEQkRDOEEwQTYwQTZBQyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4MjMyM0FDNjAyNTcxMUUxQUNEQkRDOEEwQTYwQTZBQyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PgH//v38+/r5+Pf29fTz8vHw7+7t7Ovq6ejn5uXk4+Lh4N/e3dzb2tnY19bV1NPS0dDPzs3My8rJyMfGxcTDwsHAv769vLu6ubi3trW0s7KxsK+urayrqqmop6alpKOioaCfnp2cm5qZmJeWlZSTkpGQj46NjIuKiYiHhoWEg4KBgH9+fXx7enl4d3Z1dHNycXBvbm1sa2ppaGdmZWRjYmFgX15dXFtaWVhXVlVUU1JRUE9OTUxLSklIR0ZFRENCQUA/Pj08Ozo5ODc2NTQzMjEwLy4tLCsqKSgnJiUkIyIhIB8eHRwbGhkYFxYVFBMSERAPDg0MCwoJCAcGBQQDAgEAACH5BAUoADwALAAAAAAhAAsAAAaSQIBwSCwaj0jcJYUZGB8DxeBhLBAUh0hRtRF4SxaiARIoQwzEQaMccHiIXa93NBEyQOwyiCFEJPJtQzpyhCdCC4BlC0IUiQEIQjuEcjFCJI4kQhyOB0Iok143h46LAI2JkEI1kyMsdhKAEnwAH395dUMKNnIlM2JkZjREBGtlHSJFBRcmTU8DFVNVBBVZSNbX1kEAIfkEBRQAPAAsAQABABQACQAABlxAHi9yUBAKwiTPYMlZDEmPI0BtDJSSkGAbkginVGoCIdS8tuiXRhZuU4QZtDzjaoc5wpYc3ULYqStwe1sZPBN2CR9lMHswGjwiHWENBFhaXAlJRBVHSkJMJk9CQQAh+QQFKAA8ACwMAAEAFAAJAAAGX0Ae7zFQDB7CJG+ASV0KSQMkQIUYlJaSYLtR8RggqhjEEE5G2/SGtxC7F8JTeo4iucUkYWyevrTvAXA8cnwCEwwSdxJlPCxoczVCUmIQNEozWls2CklEFUdKQkwmT0JBADs=);
32
+ /*background-image: url(../../../images/webandpeople/smartcatalog/loader.gif);*/
33
+ margin-left: auto;
34
+ margin-right: auto;
35
+ text-indent: -999px; /* IE7 fix */
36
+ }
37
+ .hide {
38
+ visibility: hidden;
39
+ }
40
+
41
+ .ajax-filter-update,
42
+ .ajax-page-update {
43
+ position: relative;
44
+ height: 100%;
45
+ }
46
+
47
+ #wp-x-overlay-list {
48
+ display: none;
49
+ width: 100%;
50
+ height: 100%;
51
+ background-color: #FFFFFF;
52
+ z-index: 99999;
53
+ opacity: 0.5;
54
+ filter: progid:DXImageTransform.Microsoft.Alpha(opacity = 50);
55
+ position: absolute;
56
+ top: 0;
57
+ left: 0;
58
+ background-repeat: no-repeat;
59
+ background-position: 45% 100px;
60
+ background-image: url(data:image/gif;base64,R0lGODlhIAAgAPUAAP///wAAAPr6+sTExOjo6PDw8NDQ0H5+fpqamvb29ubm5vz8/JKSkoaGhuLi4ri4uKCgoOzs7K6urtzc3D4+PlZWVmBgYHx8fKioqO7u7kpKSmxsbAwMDAAAAM7OzsjIyNjY2CwsLF5eXh4eHkxMTLCwsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAIAAgAAAG/0CAcEgkFjgcR3HJJE4SxEGnMygKmkwJxRKdVocFBRRLfFAoj6GUOhQoFAVysULRjNdfQFghLxrODEJ4Qm5ifUUXZwQAgwBvEXIGBkUEZxuMXgAJb1dECWMABAcHDEpDEGcTBQMDBQtvcW0RbwuECKMHELEJF5NFCxm1AAt7cH4NuAOdcsURy0QCD7gYfcWgTQUQB6Zkr66HoeDCSwIF5ucFz3IC7O0CC6zx8YuHhW/3CvLyfPX4+OXozKnDssBdu3G/xIHTpGAgOUPrZimAJCfDPYfDin2TQ+xeBnWbHi37SC4YIYkQhdy7FvLdpwWvjA0JyU/ISyIx4xS6sgfkNS4me2rtVKkgw0JCb8YMZdjwqMQ2nIY8BbcUQNVCP7G4MQq1KRivR7tiDEuEFrggACH5BAkKAAAALAAAAAAgACAAAAb/QIBwSCQmNBpCcckkEgREA4ViKA6azM8BEZ1Wh6LOBls0HA5fgJQ6HHQ6InKRcWhA1d5hqMMpyIkOZw9Ca18Qbwd/RRhnfoUABRwdI3IESkQFZxB4bAdvV0YJQwkDAx9+bWcECQYGCQ5vFEQCEQoKC0ILHqUDBncCGA5LBiHCAAsFtgqoQwS8Aw64f8m2EXdFCxO8INPKomQCBgPMWAvL0n/ff+jYAu7vAuxy8O/myvfX8/f7/Arq+v0W0HMnr9zAeE0KJlQkJIGCfE0E+PtDq9qfDMogDkGmrIBCbNQUZIDosNq1kUsEZJBW0dY/b0ZsLViQIMFMW+RKKgjFzp4fNokPIdki+Y8JNVxA79jKwHAI0G9JGw5tCqDWTiFRhVhtmhVA16cMJTJ1OnVIMo1cy1KVI5NhEAAh+QQJCgAAACwAAAAAIAAgAAAG/0CAcEgkChqNQnHJJCYWRMfh4CgamkzFwBOdVocNCgNbJAwGhKGUOjRQKA1y8XOGAtZfgIWiSciJBWcTQnhCD28Qf0UgZwJ3XgAJGhQVcgKORmdXhRBvV0QMY0ILCgoRmIRnCQIODgIEbxtEJSMdHZ8AGaUKBXYLIEpFExZpAG62HRRFArsKfn8FIsgjiUwJu8FkJLYcB9lMCwUKqFgGHSJ5cnZ/uEULl/CX63/x8KTNu+RkzPj9zc/0/Cl4V0/APDIE6x0csrBJwybX9DFhBhCLgAilIvzRVUriKHGlev0JtyuDvmsZUZlcIiCDnYu7KsZ0UmrBggRP7n1DqcDJEzciOgHwcwTyZEUmIKEMFVIqgyIjpZ4tjdTxqRCMPYVMBYDV6tavUZ8yczpkKwBxHsVWtaqo5tMgACH5BAkKAAAALAAAAAAgACAAAAb/QIBwSCQuBgNBcck0FgvIQtHRZCYUGSJ0IB2WDo9qUaBQKIXbLsBxOJTExUh5mB4iDo0zXEhWJNBRQgZtA3tPZQsAdQINBwxwAnpCC2VSdQNtVEQSEkOUChGSVwoLCwUFpm0QRAMVFBQTQxllCqh0kkIECF0TG68UG2O0foYJDb8VYVa0alUXrxoQf1WmZnsTFA0EhgCJhrFMC5Hjkd57W0jpDsPDuFUDHfHyHRzstNN78PPxHOLk5dwcpBuoaYk5OAfhXHG3hAy+KgLkgNozqwzDbgWYJQyXsUwGXKNA6fnYMIO3iPeIpBwyqlSCBKUqEQk5E6YRmX2UdAT5kEnHKkQ5hXjkNqTPtKAARl1sIrGoxSFNuSEFMNWoVCxEpiqyRlQY165wEHELAgAh+QQJCgAAACwAAAAAIAAgAAAG/0CAcEgsKhSLonJJTBIFR0GxwFwmFJlnlAgaTKpFqEIqFJMBhcEABC5GjkPz0KN2tsvHBH4sJKgdd1NHSXILah9tAmdCC0dUcg5qVEQfiIxHEYtXSACKnWoGXAwHBwRDGUcKBXYFi0IJHmQEEKQHEGGpCnp3AiW1DKFWqZNgGKQNA65FCwV8bQQHJcRtds9MC4rZitVgCQbf4AYEubnKTAYU6eoUGuSpu3fo6+ka2NrbgQAE4eCmS9xVAOW7Yq7IgA4Hpi0R8EZBhDshOnTgcOtfM0cAlTigILFDiAFFNjk8k0GZgAxOBozouIHIOyKbFixIkECmIyIHOEiEWbPJTTQ5FxcVOMCgzUVCWwAcyZJvzy45ADYVZNIwTlIAVfNB7XRVDLxEWLQ4E9JsKq+rTdsMyhcEACH5BAkKAAAALAAAAAAgACAAAAb/QIBwSCwqFIuicklMEgVHQVHKVCYUmWeUWFAkqtOtEKqgAsgFcDFyHJLNmbZa6x2Lyd8595h8C48RagJmQgtHaX5XZUYKQ4YKEYSKfVKPaUMZHwMDeQBxh04ABYSFGU4JBpsDBmFHdXMLIKofBEyKCpdgspsOoUsLXaRLCQMgwky+YJ1FC4POg8lVAg7U1Q5drtnHSw4H3t8HDdnZy2Dd4N4Nzc/QeqLW1bnM7rXuV9tEBhQQ5UoCbJDmWKBAQcMDZNhwRVNCYANBChZYEbkVCZOwASEcCDFQ4SEDIq6WTVqQIMECBx06iCACQQPBiSabHDqzRUTKARMhSFCDrc+WNQIcOoRw5+ZIHj8ADqSEQBQAwKKLhIzowEEeGKQ0owIYkPKjHihZoBKi0KFE01b4zg7h4y4IACH5BAkKAAAALAAAAAAgACAAAAb/QIBwSCwqFIuicklMEgVHQVHKVCYUmWeUWFAkqtOtEKqgAsgFcDFyHJLNmbZa6x2Lyd8595h8C48RagJmQgtHaX5XZUUJeQCGChGEin1SkGlubEhDcYdOAAWEhRlOC12HYUd1eqeRokOKCphgrY5MpotqhgWfunqPt4PCg71gpgXIyWSqqq9MBQPR0tHMzM5L0NPSC8PCxVUCyeLX38+/AFfXRA4HA+pjmoFqCAcHDQa3rbxzBRD1BwgcMFIlidMrAxYICHHA4N8DIqpsUWJ3wAEBChQaEBnQoB6RRr0uARjQocMAAA0w4nMz4IOaU0lImkSngYKFc3ZWyTwJAALGK4fnNA3ZOaQCBQ22wPgRQlSIAYwSfkHJMrQkTyEbKFzFydQq15ccOAjUEwQAIfkECQoAAAAsAAAAACAAIAAABv9AgHBILCoUi6JySUwSBUdBUcpUJhSZZ5RYUCSq060QqqACyAVwMXIcks2ZtlrrHYvJ3zn3mHwLjxFqAmZCC0dpfldlRQl5AIYKEYSKfVKQaW5sSENxh04ABYSFGU4LXYdhR3V6p5GiQ4oKmGCtjkymi2qGBZ+6eo+3g8KDvYLDxKrJuXNkys6qr0zNygvHxL/V1sVD29K/AFfRRQUDDt1PmoFqHgPtBLetvMwG7QMes0KxkkIFIQNKDhBgKvCh3gQiqmxt6NDBAAEIEAgUOHCgBBEH9Yg06uWAIQUABihQMACgBEUHTRwoUEOBIcqQI880OIDgm5ABDA8IgUkSwAAyij1/jejAARPPIQwONBCnBAJDCEOOCnFA8cOvEh1CEJEqBMIBEDaLcA3LJIEGDe/0BAEAIfkECQoAAAAsAAAAACAAIAAABv9AgHBILCoUi6JySUwSBUdBUcpUJhSZZ5RYUCSq060QqqACyAVwMXIcks2ZtlrrHYvJ3zn3mHwLjxFqAmZCC0dpfldlRQl5AIYKEYSKfVKQaW5sSENxh04ABYSFGU4LXYdhR3V6p5GiQ4oKmGCtjkymi2qGBZ+6eo+3g8KDvYLDxKrJuXNkys6qr0zNygvHxL/V1sVDDti/BQccA8yrYBAjHR0jc53LRQYU6R0UBnO4RxmiG/IjJUIJFuoVKeCBigBN5QCk43BgFgMKFCYUGDAgFEUQRGIRYbCh2xACEDcAcHDgQDcQFGf9s7VkA0QCI0t2W0DRw68h8ChAEELSJE8xijBvVqCgIU9PjwA+UNzG5AHEB9xkDpk4QMGvARQsEDlKxMCALDeLcA0rqEEDlWCCAAAh+QQJCgAAACwAAAAAIAAgAAAG/0CAcEgsKhSLonJJTBIFR0FRylQmFJlnlFhQJKrTrRCqoALIBXAxchySzZm2Wusdi8nfOfeYfAuPEWoCZkILR2l+V2VFCXkAhgoRhIp9UpBpbmxIQ3GHTgAFhIUZTgtdh2FHdXqnkaJDigqYYK2OTKaLaoYFn7p6j0wOA8PEAw6/Z4PKUhwdzs8dEL9kqqrN0M7SetTVCsLFw8d6C8vKvUQEv+dVCRAaBnNQtkwPFRQUFXOduUoTG/cUNkyYg+tIBlEMAFYYMAaBuCekxmhaJeSeBgiOHhw4QECAAwcCLhGJRUQCg3RDCmyUVmBYmlOiGqmBsPGlyz9YkAlxsJEhqCubABS9AsPgQAMqLQfM0oTMwEZ4QpLOwvMLxAEEXIBG5aczqtaut4YNXRIEACH5BAkKAAAALAAAAAAgACAAAAb/QIBwSCwqFIuicklMEgVHQVHKVCYUmWeUWFAkqtOtEKqgAsgFcDFyHJLNmbZa6x2Lyd8595h8C48RahAQRQtHaX5XZUUJeQAGHR0jA0SKfVKGCmlubEhCBSGRHSQOQwVmQwsZTgtdh0UQHKIHm2quChGophuiJHO3jkwOFB2UaoYFTnMGegDKRQQG0tMGBM1nAtnaABoU3t8UD81kR+UK3eDe4nrk5grR1NLWegva9s9czfhVAgMNpWqgBGNigMGBAwzmxBGjhACEgwcgzAPTqlwGXQ8gMgAhZIGHWm5WjelUZ8jBBgPMTBgwIMGCRgsygVSkgMiHByD7DWDmx5WuMkZqDLCU4gfAq2sACrAEWFSRLjUfWDopCqDTNQIsJ1LF0yzDAA90UHV5eo0qUjB8mgUBACH5BAkKAAAALAAAAAAgACAAAAb/QIBwSCwqFIuickk0FIiCo6A4ZSoZnRBUSiwoEtYipNOBDKOKKgD9DBNHHU4brc4c3cUBeSOk949geEQUZA5rXABHEW4PD0UOZBSHaQAJiEMJgQATFBQVBkQHZKACUwtHbX0RR0mVFp0UFwRCBSQDSgsZrQteqEUPGrAQmmG9ChFqRAkMsBd4xsRLBBsUoG6nBa14E4IA2kUFDuLjDql4peilAA0H7e4H1udH8/Ps7+3xbmj0qOTj5mEWpEP3DUq3glYWOBgAcEmUaNI+DBjwAY+dS0USGJg4wABEXMYyJNvE8UOGISKVCNClah4xjg60WUKyINOCUwrMzVRARMGENWQ4n/jpNTKTm15J/CTK2e0MoD+UKmHEs4onVDVVmyqdpAbNR4cKTjqNSots07EjzzJh1S0IADsAAAAAAAAAAAA=);
61
+ /*background-image: url(../../../images/webandpeople/smartcatalog/ajax-update.gif);*/
62
+ }
63
+
64
+ #wp-x-overlay-filter {
65
+ display: none;
66
+ width: 100%;
67
+ height: 100%;
68
+ background-color: #FFFFFF;
69
+ z-index: 99999;
70
+ opacity: 0.5;
71
+ filter: progid:DXImageTransform.Microsoft.Alpha(opacity = 50);
72
+ position: absolute;
73
+ top: 0;
74
+ left: 0;
75
+ }
skin/frontend/default/default/images/webandpeople/smartcatalog/loader.gif ADDED
Binary file
skin/frontend/default/default/js/webandpeople/custommenu/custommenu.js ADDED
@@ -0,0 +1,263 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ function wpShowMenuPopup(objMenu, event, popupId)
2
+ {
3
+ if (typeof wpCustommenuTimerHide[popupId] != 'undefined') clearTimeout(wpCustommenuTimerHide[popupId]);
4
+ objMenu = $(objMenu.id); var popup = $(popupId); if (!popup) return;
5
+ if (!!wpActiveMenu) {
6
+ wpHideMenuPopup(objMenu, event, wpActiveMenu.popupId, wpActiveMenu.menuId);
7
+ }
8
+ wpActiveMenu = {menuId: objMenu.id, popupId: popupId};
9
+ if (!objMenu.hasClassName('active')) {
10
+ wpCustommenuTimerShow[popupId] = setTimeout(function() {
11
+ objMenu.addClassName('active');
12
+ var popupWidth = CUSTOMMENU_POPUP_WIDTH;
13
+ if (!popupWidth) popupWidth = popup.getWidth();
14
+ var pos = wpPopupPos(objMenu, popupWidth);
15
+ popup.style.top = pos.top + 'px';
16
+ popup.style.left = pos.left + 'px';
17
+ wpSetPopupZIndex(popup);
18
+ if (CUSTOMMENU_POPUP_WIDTH)
19
+ popup.style.width = CUSTOMMENU_POPUP_WIDTH + 'px';
20
+ // --- Static Block width ---
21
+ var block2 = $(popupId).select('div.block2');
22
+ if (typeof block2[0] != 'undefined') {
23
+ var wStart = block2[0].id.indexOf('_w');
24
+ if (wStart > -1) {
25
+ var w = block2[0].id.substr(wStart+2);
26
+ } else {
27
+ var w = 0;
28
+ $(popupId).select('div.block1 div.column').each(function(item) {
29
+ w += $(item).getWidth();
30
+ });
31
+ }
32
+ if (w) block2[0].style.width = w + 'px';
33
+ }
34
+ // --- change href ---
35
+ var wpMenuAnchor = $(objMenu.select('a')[0]);
36
+ wpChangeTopMenuHref(wpMenuAnchor, true);
37
+ // --- show popup ---
38
+ if (typeof jQuery == 'undefined') {
39
+ popup.style.display = 'block';
40
+ } else {
41
+ jQuery('#' + popupId).stop(true, true).fadeIn();
42
+ }
43
+ }, CUSTOMMENU_POPUP_DELAY_BEFORE_DISPLAYING);
44
+ }
45
+ }
46
+
47
+ function wpHideMenuPopup(element, event, popupId, menuId)
48
+ {
49
+ if (typeof wpCustommenuTimerShow[popupId] != 'undefined') clearTimeout(wpCustommenuTimerShow[popupId]);
50
+ var element = $(element); var objMenu = $(menuId) ;var popup = $(popupId); if (!popup) return;
51
+ var wpCurrentMouseTarget = getCurrentMouseTarget(event);
52
+ if (!!wpCurrentMouseTarget) {
53
+ if (!wpIsChildOf(element, wpCurrentMouseTarget) && element != wpCurrentMouseTarget) {
54
+ if (!wpIsChildOf(popup, wpCurrentMouseTarget) && popup != wpCurrentMouseTarget) {
55
+ if (objMenu.hasClassName('active')) {
56
+ wpCustommenuTimerHide[popupId] = setTimeout(function() {
57
+ objMenu.removeClassName('active');
58
+ // --- change href ---
59
+ var wpMenuAnchor = $(objMenu.select('a')[0]);
60
+ wpChangeTopMenuHref(wpMenuAnchor, false);
61
+ // --- hide popup ---
62
+ if (typeof jQuery == 'undefined') {
63
+ popup.style.display = 'none';
64
+ } else {
65
+ jQuery('#' + popupId).stop(true, true).fadeOut();
66
+ }
67
+ }, CUSTOMMENU_POPUP_DELAY_BEFORE_HIDING);
68
+ }
69
+ }
70
+ }
71
+ }
72
+ }
73
+
74
+ function wpPopupOver(element, event, popupId, menuId)
75
+ {
76
+ if (typeof wpCustommenuTimerHide[popupId] != 'undefined') clearTimeout(wpCustommenuTimerHide[popupId]);
77
+ }
78
+
79
+ function wpPopupPos(objMenu, w)
80
+ {
81
+ var pos = objMenu.cumulativeOffset();
82
+ var wraper = $('custommenu');
83
+ var posWraper = wraper.cumulativeOffset();
84
+ var xTop = pos.top - posWraper.top
85
+ if (CUSTOMMENU_POPUP_TOP_OFFSET) {
86
+ xTop += CUSTOMMENU_POPUP_TOP_OFFSET;
87
+ } else {
88
+ xTop += objMenu.getHeight();
89
+ }
90
+ var res = {'top': xTop};
91
+ if (CUSTOMMENU_RTL_MODE) {
92
+ var xLeft = pos.left - posWraper.left - w + objMenu.getWidth();
93
+ if (xLeft < 0) xLeft = 0;
94
+ res.left = xLeft;
95
+ } else {
96
+ var wWraper = wraper.getWidth();
97
+ var xLeft = pos.left - posWraper.left;
98
+ if ((xLeft + w) > wWraper) xLeft = wWraper - w;
99
+ if (xLeft < 0) xLeft = 0;
100
+ res.left = xLeft;
101
+ }
102
+ return res;
103
+ }
104
+
105
+ function wpChangeTopMenuHref(wpMenuAnchor, state)
106
+ {
107
+ if (state) {
108
+ wpMenuAnchor.href = wpMenuAnchor.rel;
109
+ } else if (wpIsMobile.any()) {
110
+ wpMenuAnchor.href = 'javascript:void(0);';
111
+ }
112
+ }
113
+
114
+ function wpIsChildOf(parent, child)
115
+ {
116
+ if (child != null) {
117
+ while (child.parentNode) {
118
+ if ((child = child.parentNode) == parent) {
119
+ return true;
120
+ }
121
+ }
122
+ }
123
+ return false;
124
+ }
125
+
126
+ function wpSetPopupZIndex(popup)
127
+ {
128
+ $$('.wp-custom-menu-popup').each(function(item){
129
+ item.style.zIndex = '9999';
130
+ });
131
+ popup.style.zIndex = '10000';
132
+ }
133
+
134
+ function getCurrentMouseTarget(xEvent)
135
+ {
136
+ var wpCurrentMouseTarget = null;
137
+ if (xEvent.toElement) {
138
+ wpCurrentMouseTarget = xEvent.toElement;
139
+ } else if (xEvent.relatedTarget) {
140
+ wpCurrentMouseTarget = xEvent.relatedTarget;
141
+ }
142
+ return wpCurrentMouseTarget;
143
+ }
144
+
145
+ function getCurrentMouseTargetMobile(xEvent)
146
+ {
147
+ if (!xEvent) var xEvent = window.event;
148
+ var wpCurrentMouseTarget = null;
149
+ if (xEvent.target) wpCurrentMouseTarget = xEvent.target;
150
+ else if (xEvent.srcElement) wpCurrentMouseTarget = xEvent.srcElement;
151
+ if (wpCurrentMouseTarget.nodeType == 3) // defeat Safari bug
152
+ wpCurrentMouseTarget = wpCurrentMouseTarget.parentNode;
153
+ return wpCurrentMouseTarget;
154
+ }
155
+
156
+ /* Mobile */
157
+ function wpMenuButtonToggle()
158
+ {
159
+ $('menu-content').toggle();
160
+ }
161
+
162
+ function wpGetMobileSubMenuLevel(id)
163
+ {
164
+ var rel = $(id).readAttribute('rel');
165
+ return parseInt(rel.replace('level', ''));
166
+ }
167
+
168
+ function wpSubMenuToggle(obj, activeMenuId, activeSubMenuId)
169
+ {
170
+ var currLevel = wpGetMobileSubMenuLevel(activeSubMenuId);
171
+ // --- hide submenus ---
172
+ $$('.wp-custom-menu-submenu').each(function(item) {
173
+ if (item.id == activeSubMenuId) return;
174
+ var xLevel = wpGetMobileSubMenuLevel(item.id);
175
+ if (xLevel >= currLevel) {
176
+ $(item).hide();
177
+ }
178
+ });
179
+ // --- reset button state ---
180
+ $('custommenu-mobile').select('span.button').each(function(xItem) {
181
+ var subMenuId = $(xItem).readAttribute('rel');
182
+ if (!$(subMenuId).visible()) {
183
+ $(xItem).removeClassName('open');
184
+ }
185
+ });
186
+ // ---
187
+ if ($(activeSubMenuId).getStyle('display') == 'none') {
188
+ $(activeSubMenuId).show();
189
+ $(obj).addClassName('open');
190
+ } else {
191
+ $(activeSubMenuId).hide();
192
+ $(obj).removeClassName('open');
193
+ }
194
+ }
195
+
196
+ function wpResetMobileMenuState()
197
+ {
198
+ $('menu-content').hide();
199
+ $$('.wp-custom-menu-submenu').each(function(item) {
200
+ $(item).hide();
201
+ });
202
+ $('custommenu-mobile').select('span.button').each(function(item) {
203
+ $(item).removeClassName('open');
204
+ });
205
+ }
206
+
207
+ function wpCustomMenuMobileToggle()
208
+ {
209
+ var w = window,
210
+ d = document,
211
+ e = d.documentElement,
212
+ g = d.getElementsByTagName('body')[0],
213
+ x = w.innerWidth || e.clientWidth || g.clientWidth,
214
+ y = w.innerHeight|| e.clientHeight|| g.clientHeight;
215
+
216
+ if ((x < 800 || wpIsMobile.any()) && wpMobileMenuEnabled) {
217
+ $('custommenu').hide();
218
+ $('custommenu-mobile').show();
219
+ // --- ajax load ---
220
+ if (wpMoblieMenuAjaxUrl) {
221
+ new Ajax.Updater({success: 'menu-content'}, wpMoblieMenuAjaxUrl, {
222
+ method: 'get',
223
+ asynchronous: true
224
+ });
225
+ wpMoblieMenuAjaxUrl = null;
226
+ }
227
+ } else {
228
+ $('custommenu-mobile').hide();
229
+ wpResetMobileMenuState();
230
+ $('custommenu').show();
231
+ // --- ajax load ---
232
+ if (wpMenuAjaxUrl) {
233
+ new Ajax.Updater({success: 'custommenu'}, wpMenuAjaxUrl, {
234
+ method: 'get',
235
+ asynchronous: true
236
+ });
237
+ wpMenuAjaxUrl = null;
238
+ }
239
+ }
240
+
241
+ if ($('custommenu-loading')) $('custommenu-loading').remove();
242
+ }
243
+
244
+ var wpIsMobile = {
245
+ Android: function() {
246
+ return navigator.userAgent.match(/Android/i);
247
+ },
248
+ BlackBerry: function() {
249
+ return navigator.userAgent.match(/BlackBerry/i);
250
+ },
251
+ iOS: function() {
252
+ return navigator.userAgent.match(/iPhone|iPad|iPod/i);
253
+ },
254
+ Opera: function() {
255
+ return navigator.userAgent.match(/Opera Mini/i);
256
+ },
257
+ Windows: function() {
258
+ return navigator.userAgent.match(/IEMobile/i);
259
+ },
260
+ any: function() {
261
+ return (wpIsMobile.Android() || wpIsMobile.BlackBerry() || wpIsMobile.iOS() || wpIsMobile.Opera() || wpIsMobile.Windows());
262
+ }
263
+ };
skin/frontend/default/default/js/webandpeople/smartcatalog/jquery.smartCatalog.js ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ; // make JS merging easier
2
+
3
+ // ---------------------
4
+ // --- smart columns ---
5
+ // ---------------------
6
+
7
+ (function($){
8
+ var WpSmartColumns = function(element, options) {
9
+ var el = $(element);
10
+ var saveWd = 0;
11
+ var saveWd2 = 0;
12
+
13
+ var settings = $.extend({
14
+ columnWidth : 200,
15
+ oneRow : false,
16
+ splashClass : '.smartcolumns-splash',
17
+ loadNextClass : '.load-next-page-ajax',
18
+ addListCssClass : 'products-grid'
19
+ }, options || {});
20
+
21
+ var getColumnsCount = function(width) {
22
+ var c = Math.floor(width / settings.columnWidth);
23
+ return c > 0 ? c : 1;
24
+ }
25
+
26
+ var showResult = function() {
27
+ $(settings.splashClass).each(function() {
28
+ $(this).css({'display': 'none'});
29
+ });
30
+ }
31
+
32
+ var getViewport = function() {
33
+ var e = window;
34
+ var a = 'inner';
35
+ if (!('innerWidth' in window)) {
36
+ a = 'client';
37
+ e = document.documentElement || document.body;
38
+ }
39
+ return { width : e[ a+'Width' ] , height : e[ a+'Height' ] }
40
+ };
41
+
42
+ var rebuildList = this.rebuildList = function() {
43
+ saveWd = getViewport().width;
44
+ saveWd2 = el.actual('width');
45
+ //console.log(saveWd);
46
+ //console.log(saveWd2);
47
+ var xList = el.find('ul.smart');
48
+ xList.css({'width': '100%', 'padding': 0, 'margin': 0});
49
+ //var xWrapWidth = xList.outerWidth();
50
+ var xWrapWidth = xList.actual('outerWidth');
51
+ //console.log(xWrapWidth);
52
+ var xColCount = getColumnsCount(xWrapWidth);
53
+ var xWidth = Math.floor(xWrapWidth / xColCount);
54
+ var xItems = xList.children('li');
55
+ //console.log(xItems.length);
56
+ var xBlocksCount = Math.max(1, Math.ceil(xItems.length / xColCount));
57
+ //console.log(xBlocksCount);
58
+ var k = 0;
59
+ for (var j = 0; j < xBlocksCount; j++) {
60
+ var xBlock = $('<ul></ul>');
61
+ xBlock.addClass(settings.addListCssClass);
62
+ xBlock.addClass('smart');
63
+ xBlock.width(xWrapWidth);
64
+ xBlock.css({'padding': 0, 'margin': 0});
65
+ if (settings.oneRow && j > 0) {
66
+ xBlock.css({'display': 'none'});
67
+ }
68
+ for (var i = 0; i < xColCount; i++) {
69
+ if (typeof xItems[k] == 'undefined') break;
70
+ var xItem = $(xItems[k]);
71
+ xItem.width(xWidth);
72
+ xItem.css({'padding': 0, 'margin': 0});
73
+ xItem.find('div.item-content div.actions').width(xWidth);
74
+ xBlock.append(xItem);
75
+ k++;
76
+ }
77
+ el.append(xBlock);
78
+ }
79
+ xList.remove();
80
+ // --- decorate ---
81
+ el.wpDecorateLists();
82
+ // --- show ---
83
+ showResult();
84
+ }
85
+
86
+ $(window).bind('debouncedresize', function(event) {
87
+ if (getViewport().width != saveWd) {
88
+ rebuildList();
89
+ }
90
+ });
91
+
92
+ // --- fix: respond.js on IE8 ---
93
+ el.bind('resize', function(event) {
94
+ if (el.actual('width') != saveWd2) {
95
+ rebuildList();
96
+ }
97
+ });
98
+ // jqSmartCatalog(document).trigger('sc-rebuild-list');
99
+ $(document).bind('sc-rebuild-list', function() {
100
+ rebuildList();
101
+ });
102
+ // --- / fix: respond.js on IE8 ---
103
+
104
+ rebuildList();
105
+ };
106
+
107
+ $.fn.wpSmartColumns = function(options) {
108
+ return this.each(function() {
109
+ var element = $(this);
110
+ if (element.data('wpSmartColumns')) return;
111
+ var wpSmartColumns = new WpSmartColumns(this, options);
112
+ element.data('wpSmartColumns', wpSmartColumns);
113
+ });
114
+ };
115
+
116
+ })(jqSmartCatalog);
117
+
118
+
119
+ // ----------------------------
120
+ // --- some service actions ---
121
+ // ----------------------------
122
+
123
+ (function($){
124
+ $.fn.wpDecorateLists = function(options) {
125
+ options = $.extend({
126
+ type: 'grid'
127
+ }, options);
128
+
129
+ var decorate = function() {
130
+ var el = $(this);
131
+ if (options.type == 'list') {
132
+ // --- li only ---
133
+ el.find('>li').removeClass('odd even first last');
134
+ el.find('>li:odd').addClass('odd');
135
+ el.find('>li:even').addClass('even');
136
+ el.find('>li:first-child').addClass('first');
137
+ el.find('>li:last-child').addClass('last');
138
+ } else {
139
+ // --- ul --
140
+ el.find('>ul').removeClass('odd even first last');
141
+ el.find('>ul:odd').addClass('odd');
142
+ el.find('>ul:even').addClass('even');
143
+ el.find('>ul').first().addClass('first');
144
+ el.find('>ul').last().addClass('last');
145
+ // --- li ---
146
+ el.find('>ul>li').removeClass('odd even first last');
147
+ el.find('>ul>li:odd').addClass('odd');
148
+ el.find('>ul>li:even').addClass('even');
149
+ el.find('>ul>li:first-child').addClass('first');
150
+ el.find('>ul>li:last-child').addClass('last');
151
+ }
152
+ };
153
+
154
+ return this.each(decorate);
155
+ };
156
+ })(jqSmartCatalog);
skin/frontend/default/grayscale/css/color.css ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*COLOR*/
2
+ /*headings*/
3
+ h1, h2, h3, h4, h5, h6, .col-main dl dt {
4
+ color: #555;
5
+ }
6
+ /*border-color*/
7
+ .checkout-progress li.active {
8
+ border-color: #dadada;
9
+ }
10
+ /*background - color*/
11
+ .nav-container{
12
+ background-color: #333333;
13
+ }
14
+ .product-options {background-color: #f5f5f5;}
15
+ .tier-prices, .tier-prices .price, .price-box-bundle, .price-box-bundle .price, .error-msg, .success-msg, .note-msg, .notice-msg {background-color: #d14937; color: #ffffff; }
16
+ /*text color*/
17
+ a:link, a:visited {
18
+ color: #000;
19
+ text-decoration:none;
20
+ }
21
+ .price, #checkout-review-table tfoot tr.last .price, #product_comparison .price, #shopping-cart-totals-table .price, #shopping-cart-totals-table tfoot .price, .product-view .product-shop .full-product-price .price, .product-essential .price-as-configured .price, .block .regular-price .price, .block .regular-price, .data-table td.last .price, label.required em, a.more:hover, .form-search .search-autocomplete li:hover, h2.desc_head, #checkout-review-table td.last .price, a.level1:link, a.level1:visited, .menu-mobile a:active, div.tabs_block h5 a:link, div.tabs_block h5 a:active, div.tabs_block h5 a:visited, div.tabs_info a:link, div.tabs_info a:active, div.tabs_info a:visited {
22
+ color: #000;
23
+ }
24
+ a:hover, div.menu a:hover, a.level1:hover,
25
+ a.level2:hover, a.level3:hover {
26
+ text-decoration:none;
27
+ color: #5d5d5d;
28
+ }
29
+ /*orange*/
30
+ .validation-advice {
31
+ color: #ff7200;
32
+ z-index: 999;
33
+ }
34
+ .error-msg {
35
+ color: #ff7200;
36
+ }
37
+ /*standard navigation*/
38
+ #nav li a:hover {
39
+ color:#555;
40
+ }
41
+ #nav ul li a:hover, .over {
42
+ background:#999 !important;
43
+ }
44
+ #nav ul ul li a:hover {
45
+ background:#999 !important;
46
+ }
47
+ /* slider active button*/
48
+ .stripNav a.activeSlide, .stripNav a.activeSlide:hover, .stripNav a.activeSlide {
49
+ background-color:#555;
50
+ border:1px solid #555;
51
+ color: #555;
52
+ }
53
+ /*any button*/
54
+ button.button span span {
55
+ color: #ffffff;
56
+ }
57
+ /*product page button, checkout button*/
58
+ .product-shop .add-to-cart button.button span, .checkout-types button.button span, #review-buttons-container button.button span, .product-options-bottom button.button span {
59
+ color: #ffffff;
60
+ }
61
+ /*product page button, checkout button - hover*/
62
+ .product-shop .add-to-cart button.button:hover span, #review-buttons-container button.button:hover span, .product-options-bottom button.button:hover span, .checkout-types button.button:hover span {
63
+ color: #fff;
64
+ }
skin/frontend/default/grayscale/css/media-480.css ADDED
@@ -0,0 +1,378 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @media all and (min-width:480px) and (max-width:899px) {
2
+ #search_mini_form, .form-search, div.search, .header-container, .submenu, .main-container, .home_page_header_block,
3
+ .header .links, .nav-container, .footer, .footer_block .links_block div, .footer ul.links, .col3-layout .col-wrapper, .col2-set .col-1, .col2-set .col-2, .col2-set .col-narrow ,
4
+ .col2-set .col-wide, .pager .pages, .pager p.amount, .pager .limiter, .product-view .product-img-box,
5
+ .product-view .product-shop, .cart .cart-collaterals .col2-set,
6
+ .cart .cart-collaterals .col2-set .col-2,
7
+ .col2-set .col-1, .cart .cart-collaterals .col2-set .col-2 {
8
+ width: 100%;
9
+ }
10
+ .welcome-msg, ul.links-advanced, .block-cart-top .qty, .block-cart-top .price, .upper-header .sp, div.block-cart-top p.amount,
11
+ .sorter .view-mode label, div.block-cart-top .actions {
12
+ display: none;
13
+ }
14
+ h2 {
15
+ font-weight: 600;
16
+ }
17
+ .form-search input.input-text {
18
+ width: 79%;
19
+ height: 20px;
20
+ margin: 0px 0px 0px 0px;
21
+ padding: 0px 0px 0px 0px;
22
+ text-indent: 1%;
23
+ }
24
+ #search_mini_form {
25
+ clear: both;
26
+ float: left;
27
+ }
28
+ .form-search {
29
+ height: 22px;
30
+ }
31
+ div.search {
32
+ margin: 3px 0px 10px 0px;
33
+ float: left;
34
+ }
35
+ .form-search button.button {
36
+ width: 20%;
37
+ max-width: 35px;
38
+ }
39
+ .block-currency {
40
+ float: left;
41
+ margin-left: 2px;
42
+ margin-bottom: 4px;
43
+ }
44
+ div.wp_stylish_languages_switcher_flags {
45
+ margin-right: 5px;
46
+ }
47
+ div.block-cart-top {
48
+ float: left;
49
+ margin-left: 0px;
50
+ }
51
+ .upper-header {
52
+ float: left;
53
+ clear: both;
54
+ width: 99%;
55
+ }
56
+ div.block-cart-top {
57
+ clear: both;
58
+ width: 99%;
59
+ padding-left: 1%;
60
+ }
61
+ div.block-cart-top .cart-link a:link, div.block-cart-top .cart-link a:visited {
62
+ display: block;
63
+ background: #dadada;
64
+ padding: 2px 5px !important;
65
+ border-radius: 3px;
66
+ color: #000;
67
+ text-align: center;
68
+ margin-left: 0;
69
+ float: left;
70
+ }
71
+ .header .quick-access {
72
+ float:left;
73
+ padding-left: 1%;
74
+ width: 99%;
75
+ }
76
+ .header .links {
77
+ float: left;
78
+ margin: 0;
79
+ padding: 0;
80
+ }
81
+ .header .links li {
82
+ padding:0px 0px 0px 0px;
83
+ margin: 0px 10px 10px 0px;
84
+ }
85
+ .header .links a:link, .header .links a:visited {
86
+ text-decoration: none;
87
+ padding: 2px 5px !important;
88
+ border-radius: 3px;
89
+ background-color: #dadada;
90
+ display: block;
91
+ text-align: center;
92
+ }
93
+ div.block-cart-top .cart-link a:hover, .header .links a:hover {
94
+ background: #eaeaea;
95
+ }
96
+ /*********************************Footer ******************************/
97
+ .footer .footer_block {
98
+ padding-top: 0;
99
+ }
100
+ .footer_block .links_block div {
101
+ float: none;
102
+ }
103
+ .footer ul.links {
104
+ text-align: left;
105
+ padding-left: 0;
106
+ padding-right: 0;
107
+ padding-top: 0;
108
+ }
109
+ .footer_block h4.title {
110
+ padding-top: 15px;
111
+ }
112
+ .footer_block .links_block div ul li a:link, .footer_block .links_block div ul li a:visited {
113
+ display: block;
114
+ }
115
+ .footer_block .links_block div ul li a:hover {
116
+ color: #000;
117
+ }
118
+ .footer ul.links li, .footer_block .links_block div ul li {
119
+ display: block;
120
+ margin-bottom: 0px;
121
+ text-align: left;
122
+ font-size: 14px;
123
+ padding-bottom: 7px;
124
+ padding-top: 7px;
125
+ }
126
+ .footer ul.links li a {
127
+ display: block
128
+ }
129
+ /* Base Columns */
130
+ .col-left, .col-right {
131
+ width: 98%;
132
+ padding-left: 1%;
133
+ padding-right: 1%;
134
+ float: none;
135
+ text-align: center;
136
+ overflow: hidden;
137
+ }
138
+ .col2-left-layout .col-main, .col2-right-layout .col-main, .col1-layout .col-main {
139
+ width: 98%;
140
+ padding-left: 1%;
141
+ padding-right: 1%;
142
+ float: none;
143
+ overflow: hidden;
144
+ }
145
+ .col2-right-layout .col-main, .col2-left-layout .col-main {
146
+ float: none;
147
+ margin-bottom: 1%;
148
+ }
149
+ .col3-layout .col-left {
150
+ clear: both;
151
+ }
152
+ /* Content Columns */
153
+
154
+ .col2-set .col-1, .col2-set .col-2 {
155
+ float:left;
156
+ margin-bottom: 5%;
157
+ }
158
+ .col3-set .col-1 {
159
+ float:left;
160
+ width:32%;
161
+ }
162
+ .col3-set .col-2 {
163
+ float:left;
164
+ width:32%;
165
+ margin-left:2%;
166
+ }
167
+ .col3-set .col-3 {
168
+ float:right;
169
+ width:32%;
170
+ }
171
+ .col4-set .col-1 {
172
+ float:left;
173
+ width:23.5%;
174
+ }
175
+ .col4-set .col-2 {
176
+ float:left;
177
+ width:23.5%;
178
+ margin:0 2%;
179
+ }
180
+ .col4-set .col-3 {
181
+ float:left;
182
+ width:23.5%;
183
+ }
184
+ .col4-set .col-4 {
185
+ float:right;
186
+ width:23.5%;
187
+ }
188
+ /*img*/
189
+ .products-grid .product-image img, .category-image img {
190
+ max-width: 100%;
191
+ height: auto;
192
+ }
193
+ /*Toolbar*/
194
+ .pager .pages {
195
+ clear: both;
196
+ margin: 0;
197
+ padding: 0;
198
+ background: #dadada;
199
+ border-radius: 3px;
200
+ padding: 3px 0px;
201
+ color: #000;
202
+ }
203
+ .pager .pages li a:link, .pager .pages li a:visited {
204
+ border-bottom: 2px solid #dadada;
205
+ }
206
+ .pager .pages strong, .sorter label, .pager .amount {
207
+ color: #000;
208
+ }
209
+ .pager p.amount, .pager .limiter {
210
+ padding: 3px 0px;
211
+ text-align: center;
212
+ font-size: 12px;
213
+ color: #000;
214
+ }
215
+ .sorter .view-mode {
216
+ font-size: 12px;
217
+ }
218
+ /************************PRODUCT************/
219
+ .product-shop .product-name {
220
+ display: none;
221
+ }
222
+ .product-view .product-shop .price-box {
223
+ float: left;
224
+ margin-right: 5%;
225
+ width: 50%;
226
+ }
227
+ .product-view .product-shop .price-box-bundle .price-box {
228
+ float: none;
229
+ }
230
+ .add-to-box .add-to-cart {
231
+ padding-top: 15px;
232
+ float: right;
233
+ }
234
+ .links_list {
235
+ clear: both;
236
+ }
237
+ .product-view .product-shop .add-to-links {
238
+ padding: 0;
239
+ clear: both;
240
+ }
241
+ .product-options-bottom .add-to-cart {
242
+ float:left;
243
+ padding-top: 5%;
244
+ clear: both;
245
+ }
246
+ .box-collateral img, .compare-table img, .std img {
247
+ max-width: 100%;
248
+ height: auto;
249
+ }
250
+ .product-view {
251
+ margin-top: 5px;
252
+ border: 0;
253
+ padding: 0;
254
+ }
255
+ .product-essential {
256
+ padding: 0;
257
+ }
258
+ .product-view .product-shop .grouped-items-table .product-pricing-grouped li {
259
+ display: table-cell;
260
+ text-align: left;
261
+ }
262
+ .product-collateral {
263
+ padding: 15px 0px 25px 0px;
264
+ }
265
+ .product-options dl dd .input-box {
266
+ margin-bottom: 5%;
267
+ }
268
+ .add-to-box .or {
269
+ display: none;
270
+ }
271
+ .tabs {
272
+ border-top: 3px solid #dadada;
273
+ }
274
+ .tabs li, .tabs li.active a, .tabs li.active a:hover, .tabs a {
275
+ width: 100%;
276
+ border-bottom: 1px solid #fff;
277
+ border-left: 0;
278
+ }
279
+ .tabs li.active a, .tabs li.active a:hover {
280
+ font-weight: bold;
281
+ }
282
+ .tabs li.active a, .tabs li.active a:hover {
283
+ font-weight: bold;
284
+ }
285
+ .tabs li a:after {
286
+ content: "";
287
+ width: 0;
288
+ height: 0;
289
+ border-left: 5px solid transparent;
290
+ border-right: 5px solid transparent;
291
+ border-top: 3px solid #aaa;
292
+ margin: -5px 5px 0px 5px;
293
+ padding: 0;
294
+ font-size: 0;
295
+ }
296
+ .tabs li.active a:after {
297
+ content: " ";
298
+ border: 0;
299
+ }
300
+ .more-views h4 {
301
+ display: none
302
+ }
303
+ .product-view .box-up-sell .products-grid td, .product-view .box-up-sell .products-grid .product-image {
304
+ text-align: left;
305
+ }
306
+ /****************CART ********************/
307
+ .cart-table .btn-continue, .cart-table .btn-update, .cart-table .btn-empty {
308
+ float: left;
309
+ margin-bottom: 10px;
310
+ margin-right: 10px;
311
+ }
312
+ .data-table tr.first th {
313
+ padding: 10px 0px 10px 0px;
314
+ }
315
+ .buttons-set {
316
+ margin-bottom: 4em;
317
+ margin-top: 0em;
318
+ }
319
+ /* Sitemap */
320
+ .page-sitemap .links {
321
+ text-align:center;
322
+ }
323
+ /***************ACCOUNT***********/
324
+ .account-login .content h2 {
325
+ margin-top: 3%;
326
+ }
327
+ .block-account .block-content li a, .block-account .block-content li.current strong {
328
+ display: block;
329
+ width: 100%;
330
+ padding: 10px 0px;
331
+ }
332
+ .my-account {
333
+ padding-bottom: 20px;
334
+ }
335
+ .block {
336
+ width: 48%;
337
+ float: left;
338
+ margin-right: 1%;
339
+ }
340
+ .sidebar .sidebar {
341
+ max-width: 48%;
342
+ float: left;
343
+ margin-right: 1%;
344
+ }
345
+ .block-account {
346
+ width: 100%;
347
+ float: none;
348
+ }
349
+ .sidebar_banner {
350
+ width: 48%;
351
+ float: left;
352
+ margin-right: 1%;
353
+ }
354
+ .sidebar_banner img {
355
+ max-width: 100%;
356
+ height: auto;
357
+ width: auto\9; /* ie8 */
358
+ }
359
+ .block .block-title {
360
+ text-align: center;
361
+ }
362
+
363
+ /******************HOME PAGE ************************/
364
+
365
+ /*trisha*/
366
+ div.tabs_ul li {
367
+ float: none;
368
+ }
369
+ div.tabs_ul li a:after {
370
+ content: " >";
371
+ font-size: 14px;
372
+ }
373
+ div.tabs_ul li.ui-tabs-selected a:after {
374
+ content: " ";
375
+ font-size: 0px;
376
+ }
377
+
378
+ }
skin/frontend/default/grayscale/css/media-800.css ADDED
@@ -0,0 +1,376 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @media all and (min-width:900px) and (max-width:1199px) {
2
+ .panel {
3
+ width: 100%;
4
+ float: right;
5
+ margin-bottom: 1%;
6
+ }
7
+
8
+ .sform {
9
+ width: 100%;
10
+ float: right;
11
+ }
12
+ .switchers {
13
+ clear: both;
14
+ }
15
+ }
16
+
17
+ @media all and (min-width:1200px) {
18
+ .panel {
19
+ width: 60%;
20
+ float: right;
21
+ }
22
+
23
+ .sform {
24
+ width: 40%;
25
+ float: right;
26
+ }
27
+
28
+ }
29
+
30
+ @media all and (min-width:900px) {
31
+
32
+ /******* DESKTOP SITE WIDTH *******/
33
+ .header-container, .submenu, .main-container, .home_page_header_block, .top_toolbar_container, .footer, .nav-container {
34
+ width: 100%;
35
+ margin-left: auto;
36
+ margin-right: auto;
37
+ }
38
+ .cart, .customer-account-create .main, .checkout-onepage-success .main, .customer-account-logoutsuccess .main, .checkout-onepage-index .main, .my-account, .customer-account-login .main, .checkout-multishipping-login .main, .checkout-multishipping-addresses .main, .checkout-multishipping-shipping .main, .checkout-multishipping-billing .main, .checkout-multishipping-overview .main, .checkout-multishipping-success .main, .checkout-cart-index .main {
39
+ max-width: 1200px;
40
+ margin-left: auto;
41
+ margin-right: auto;
42
+ }
43
+ /******* DESKTOP SITE WIDTH *******/
44
+ .welcome-msg {
45
+ display: block;
46
+ width: 50%;
47
+ float: left;
48
+ text-align: left
49
+ }
50
+ .form-search input.input-text {
51
+ width: 300px;
52
+ height: 20px;
53
+ margin: 0px 0px 0px 3px;
54
+ padding: 0px 0px 0px 6px;
55
+ }
56
+ .header .quick-access, .upper-header, div.block-cart-top, .block-currency, .header .links, #search_mini_form, div.search {
57
+ float: right;
58
+ }
59
+ #search_mini_form {
60
+ width: 350px;
61
+ }
62
+ .form-search {
63
+ width: 345px;
64
+ height: 22px;
65
+ }
66
+ div.search {
67
+ margin: 0% 0% 0% 1%;
68
+ }
69
+ .form-search button.button {
70
+ width: 20px;
71
+ }
72
+ .block-currency,
73
+ div.block-cart-top {
74
+ margin-left: 10px;
75
+ }
76
+ .upper-header {
77
+ margin-bottom: 10px;
78
+ margin-top: 5px;
79
+ }
80
+ .header .links li {
81
+ padding:0px 0px 0px 20px;
82
+ }
83
+ .header .links a:link, .header .links a:visited {
84
+ text-decoration: none;
85
+ font: 11px Arial, sans-serif;
86
+ background-color: transparent;
87
+ background-image: url(../images/sprite.png);
88
+ background-position: -78px 5px;
89
+ background-repeat: no-repeat;
90
+ padding: 0px 0px 0px 7px;
91
+ }
92
+ div.block-cart-top a.title:link, div.block-cart-top a.title:visited {
93
+ background-color: transparent;
94
+ background-image: url(../images/sprite.png);
95
+ background-position: 0px 1px;
96
+ background-repeat: no-repeat;
97
+ font-size: 0;
98
+ display: block;
99
+ float: left;
100
+ color: transparent;
101
+ width: 16px;
102
+ height: 16px;
103
+ }
104
+ div.block-cart-top .cart-link {
105
+ display: none;
106
+ }
107
+
108
+ /*********************************Footer ******************************/
109
+ .footer_block .links_block div {
110
+ float: left;
111
+ width: 30%;
112
+ margin-right: 20px;
113
+ }
114
+ .footer_block .links_block div.last {
115
+ margin-right: 0;
116
+ margin-left: 8px;
117
+ }
118
+
119
+ .footer ul.links li {
120
+ float: left;
121
+ }
122
+ .footer ul.links li a:link, .footer ul.links li a:visited {
123
+ color: #000;
124
+ }
125
+ .footer_block .links_block div ul li a:hover, .footer ul.links li a:hover {
126
+ color: #888;
127
+ }
128
+ /*Headings */
129
+ h1, .page-title h2, .postTitle h2 {
130
+ font-size: 2.5em;
131
+ }
132
+ .page-title h1, .page-title h2 {
133
+ margin: 0% 0% 3% 0%;
134
+ }
135
+ h2 {
136
+ font-size: 1.4em;
137
+ font-weight: 600;
138
+ }
139
+ h3 {
140
+ font-size: 1.125em;
141
+ font-weight: 600;
142
+ }
143
+ h4 {
144
+ font-size: 1em;
145
+ font-weight: 600;
146
+ }
147
+ h5 {
148
+ font-size: 0.875em;
149
+ font-weight: 500;
150
+ font-family: "Segoe UI", "Myriad Pro", Arial, sans-serif;
151
+ }
152
+ h6 {
153
+ font-size: 0.75em;
154
+ font-weight:bold;
155
+ }
156
+ /* Base Columns */
157
+ .col-left, .col-right {
158
+ width: 18%;
159
+ padding-left: 1%;
160
+ padding-right: 1%;
161
+ float: right;
162
+ text-align: center;
163
+ overflow: hidden;
164
+ }
165
+ .col2-left-layout .col-main, .col2-right-layout .col-main {
166
+ width: 78%;
167
+ padding-left: 1%;
168
+ padding-right: 1%;
169
+ }
170
+ /* 1 Column Layout */
171
+ .col1-layout .col-main {
172
+ float:none;
173
+ width:auto;
174
+ padding-left: 10px;
175
+ padding-right: 10px;
176
+ }
177
+ /* 2 Columns left Layout */
178
+ .col2-right-layout .col-main,
179
+ .col2-left-layout .col-main {
180
+ float: right;
181
+ }
182
+ /* 2 Columns right Layout */
183
+ .col2-right-layout .col-main {
184
+ float: left;
185
+ }
186
+ /* 3 Columns Layout */
187
+ .col3-layout .col-wrapper {
188
+ float: left;
189
+ width: 80%;
190
+ padding:0;
191
+ }
192
+ .col3-layout .col-main {
193
+ width: 76%;
194
+ padding-left: 0%;
195
+ padding-right: 0%;
196
+ margin-left: 0;
197
+ float: right;
198
+ overflow: hidden;
199
+ }
200
+ .col3-layout .col-left {
201
+ width: 22%;
202
+ }
203
+ /* Content Columns */
204
+ .col2-set .col-1 {
205
+ float: left;
206
+ width:48%;
207
+ }
208
+ .col2-set .col-2 {
209
+ float:right;
210
+ width:48.5%;
211
+ }
212
+ .col2-set .col-narrow {
213
+ width:32%;
214
+ }
215
+ .col2-set .col-wide {
216
+ width:65%;
217
+ }
218
+ .col3-set .col-1 {
219
+ float:left;
220
+ width:32%;
221
+ }
222
+ .col3-set .col-2 {
223
+ float:left;
224
+ width:32%;
225
+ margin-left:2%;
226
+ }
227
+ .col3-set .col-3 {
228
+ float:right;
229
+ width:32%;
230
+ }
231
+ .col4-set .col-1 {
232
+ float:left;
233
+ width:23.5%;
234
+ }
235
+ .col4-set .col-2 {
236
+ float:left;
237
+ width:23.5%;
238
+ margin:0 2%;
239
+ }
240
+ .col4-set .col-3 {
241
+ float:left;
242
+ width:23.5%;
243
+ }
244
+ .col4-set .col-4 {
245
+ float:right;
246
+ width:23.5%;
247
+ }
248
+ .sidebar_banner img {
249
+ max-width: 100%;
250
+ height: auto;
251
+ width: auto\9; /* ie8 */
252
+ }
253
+ .block, .sidebar_banner {
254
+ width: 100%;
255
+ float: none;
256
+ margin-left: auto;
257
+ margin-right: auto;
258
+ display: block;
259
+ }
260
+ .block .block-title {
261
+ text-align: left;
262
+ background: transparent;
263
+ }
264
+ /***********************************CATALOG********************************/
265
+ .products-grid .product-image {
266
+ margin-bottom: 10px;
267
+ }
268
+ /**/
269
+ .raiting_cat ul.products-grid li {
270
+ padding-bottom: 20px;
271
+ }
272
+ /*Toolbar*/
273
+ .pager .pages {
274
+ margin:0 140px;
275
+ }
276
+ .pager .pages li a:link, .pager .pages li a:visited {
277
+ border-bottom: 2px solid #fff;
278
+ }
279
+ .pager .pages strong, .sorter label, .pager .amount {
280
+ color: #9a9a9a;
281
+ }
282
+ .short_cat ul.products-grid li {
283
+ padding-bottom: 0px !important;
284
+ }
285
+ /************************PRODUCT************/
286
+ .product-options, .product-options-bottom {
287
+ width: 53%;
288
+ float: right;
289
+ margin: 0px 0px 3px 0px;
290
+ padding: 1% 1%;
291
+ border-width: 1px;
292
+ border-style: solid;
293
+ }
294
+ .product-view .product-img-box {
295
+ width: 44%;
296
+ }
297
+ .product-view .product-shop {
298
+ width: 55%;
299
+ float: right;
300
+ }
301
+ .product-img-box .product-name {
302
+ display: none;
303
+ }
304
+
305
+ .product-options-bottom .add-to-cart {
306
+ float: right;
307
+ padding-top: 4px;
308
+ }
309
+ .padder {
310
+ border-right: 1px solid #c5c5c5;
311
+ border-bottom: 1px solid #c5c5c5;
312
+ border-left: 1px solid #c5c5c5;
313
+ border-radius: 0px 2px 2px 2px;
314
+ padding: 5px 10px 5px 10px;
315
+ border-top: 1px solid #dadada;
316
+ margin-top: -1px;
317
+ }
318
+ .product-view .box-up-sell .products-grid td, .product-view .box-up-sell .products-grid .product-image {
319
+ text-align: left;
320
+ }
321
+ /*****************************SHOPPIMG CART PAGE********/
322
+ #shopping-cart-table {
323
+ margin-left: auto;
324
+ margin-right: auto;
325
+ }
326
+ .cart .cart-collaterals .col2-set {
327
+ width: 63%;
328
+ }
329
+ .cart .cart-collaterals .col2-set .col-2 {
330
+ width: 36%;
331
+ }
332
+ .data-table tr.first th {
333
+ padding: 10px 10px 10px 0px;
334
+ }
335
+ /******************ACCOUNT*********************/
336
+ .account-login .content {
337
+ min-height:240px;
338
+ }
339
+ .block-account .block-content li a, .block-account .block-content li.current strong, .block-account .block-content li.current {
340
+ border: 0 !important;
341
+ }
342
+ .dashboard .welcome-msg {
343
+ margin:0 8em 1.5em 0;
344
+ }
345
+ .box-account .box-head h2 {
346
+ float:left;
347
+ margin:0;
348
+ }
349
+ .box-account .box-head {
350
+ text-align:right;
351
+ }
352
+ /******************HOME PAGE ************************/
353
+ /*trisha*/
354
+ div.tabs_ul li {
355
+ float: left;
356
+ }
357
+
358
+ /*lightbox*/
359
+ #outerImageContainer {
360
+ max-width: 520px;
361
+ }
362
+ #prevLink, #nextLink, #imageData #bottomNavClose {
363
+ opacity: 0.4;
364
+
365
+ }
366
+ #prevLink:hover, #nextLink:hover, #imageData #bottomNavClose:hover {
367
+ opacity: 1;
368
+ }
369
+ #prevLink, #nextLink, #imageData #bottomNavClose{
370
+ -webkit-transition: all .3s linear;
371
+ -moz-transition: all .3s linear;
372
+ -ms-transition: all .3s linear;
373
+ transition: all .3s linear;
374
+ }
375
+
376
+ }
skin/frontend/default/grayscale/css/media-small.css ADDED
@@ -0,0 +1,396 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @media all and (max-width:479px) {
2
+ #search_mini_form, .form-search, div.search, .header-container, .submenu, .main-container, .home_page_header_block, .nav-container, .product-view .product-img-box,
3
+ .product-view .product-shop {
4
+ width: 100%;
5
+ }
6
+ .welcome-msg, ul.links-advanced, .block-cart-top .qty, .block-cart-top .price, .upper-header .sp, .seotext,
7
+ #review-form .data-table tr.first th, .header .logo strong, .data-table th, div.block-cart-top p.amount, .sorter .view-mode label, .product-shop .product-name,
8
+ .add-to-box .or, .more-views h4, .sc-toolbar {
9
+ display: none;
10
+ }
11
+ .form-search input.input-text {
12
+ width:79%;
13
+ height: 20px;
14
+ margin: 0px 0px 0px 0px;
15
+ padding: 0px 0px 0px 0px;
16
+ text-indent: 1%;
17
+ }
18
+ #search_mini_form {
19
+ clear: both;
20
+ }
21
+ .form-search {
22
+ height: 22px;
23
+ }
24
+ div.search {
25
+ margin: 3px 0px 10px 0px;
26
+ float: left;
27
+ }
28
+ #search_mini_form {
29
+ float: left;
30
+ }
31
+ .form-search button.button {
32
+ width: 20%;
33
+ max-width: 35px;
34
+ }
35
+ .block-currency {
36
+ float: left;
37
+ margin-bottom: 3%;
38
+ }
39
+ div.wp_stylish_languages_switcher_flags {
40
+ margin-right: 1%;
41
+ }
42
+ .header a.logo {
43
+ margin: 0% auto 5% auto;
44
+ }
45
+ div.block-cart-top {
46
+ float: left;
47
+ margin-left: 1%;
48
+ }
49
+ .upper-header {
50
+ float: left;
51
+ margin-bottom: 1%;
52
+ clear: both;
53
+ width: 99%;
54
+ }
55
+ .div.block-cart-top {
56
+ clear: both;
57
+ padding-left: 1%;
58
+ }
59
+ div.block-cart-top .cart-link a:link, div.block-cart-top .cart-link a:visited {
60
+ color: #000;
61
+ display: block;
62
+ background: #dadada;
63
+ padding: 2px 5px !important;
64
+ border-radius: 3px;
65
+ color: #000;
66
+ text-align: center;
67
+ margin-left: 0;
68
+ float: left;
69
+ }
70
+ .header .quick-access {
71
+ float:left;
72
+ padding-left: 1%;
73
+ width: 99%;
74
+ }
75
+ .header .links {
76
+ float: left;
77
+ margin: 0px 0px 10px 0px;
78
+ padding: 0;
79
+ width: 100%;
80
+ }
81
+ .header .links li {
82
+ padding:0;
83
+ margin: 1% 5%;
84
+ }
85
+ .header .links a:link, .header .links a:visited {
86
+ color: #000;
87
+ text-decoration: none;
88
+ padding: 2px 5px !important;
89
+ border-radius: 3px;
90
+ background: #dadada;
91
+ display: block;
92
+ text-align: center;
93
+ }
94
+ div.block-cart-top .cart-link a:hover, .header .links a:hover {
95
+ background: #eaeaea;
96
+ }
97
+ /*********************************Footer ******************************/
98
+ .footer, .footer_block .links_block div {
99
+ width: 100%;
100
+ margin-left: auto;
101
+ margin-right: auto;
102
+ }
103
+ .footer ul.links {
104
+ text-align: left;
105
+ padding-left: 0;
106
+ padding-right: 0;
107
+ width: 100%;
108
+ padding-top: 0;
109
+ }
110
+ .footer_block h4.title {
111
+ padding-top: 10px;
112
+ }
113
+ .footer_block .links_block div ul li a:link, .footer_block .links_block div ul li a:visited {
114
+ display: block;
115
+ }
116
+ .footer_block .links_block div ul li a:hover {
117
+ color: #000;
118
+ }
119
+ .footer ul.links li, .footer_block .links_block div ul li {
120
+ display: block;
121
+ margin-bottom: 0px;
122
+ text-align: left;
123
+ font-size: 14px;
124
+ padding-bottom: 10px;
125
+ padding-top: 10px;
126
+ }
127
+ .footer ul.links li a {
128
+ display: block;
129
+ }
130
+ /* Base Columns */
131
+ .col-left, .col-right {
132
+ width: 98%;
133
+ padding-left: 1%;
134
+ padding-right: 1%;
135
+ float: none;
136
+ text-align: center;
137
+ overflow: hidden;
138
+ }
139
+ .col2-left-layout .col-main, .col2-right-layout .col-main, .col1-layout .col-main {
140
+ width: 98%;
141
+ padding-left: 1%;
142
+ padding-right: 1%;
143
+ float: none;
144
+ overflow: hidden;
145
+ }
146
+ .col2-right-layout .col-main, .col2-left-layout .col-main {
147
+ float: none;
148
+ margin-bottom: 1%;
149
+ }
150
+ .col3-layout .col-wrapper {
151
+ float: none;
152
+ width: 100%;
153
+ padding:0;
154
+ }
155
+ /***********************************CATALOG********************************/
156
+ /*img*/
157
+ .products-grid .product-image img, .category-image img {
158
+ max-width: 100%;
159
+ height: auto;
160
+ }
161
+ /*Toolbar*/
162
+ .pager .pages {
163
+ clear: both;
164
+ margin: 0;
165
+ width: 100%;
166
+ padding: 0;
167
+ background: #dadada;
168
+ border-radius: 3px;
169
+ padding: 3px 0px;
170
+ color: #000;
171
+ }
172
+ .pager .pages li a:link, .pager .pages li a:visited {
173
+ border-bottom: 2px solid #dadada;
174
+ }
175
+ .pager .pages strong, .sorter label, .pager .amount {
176
+ color: #000;
177
+ }
178
+ .pager p.amount, .pager .limiter {
179
+ width: 100%;
180
+ padding: 3px 0px;
181
+ text-align: center;
182
+ font-size: 12px;
183
+ color: #000;
184
+ }
185
+ .sorter .view-mode {
186
+ font-size: 12px;
187
+ }
188
+ /************************PRODUCT************/
189
+ .product-img-box img {
190
+ max-width: 100%;
191
+ height: auto;
192
+ }
193
+ .product-view .product-shop .price-box {
194
+ float: left;
195
+ margin-right: 5%;
196
+ }
197
+ .product-view .product-shop .price-box-bundle .price-box {
198
+ float: none;
199
+ }
200
+ .add-to-box .add-to-cart {
201
+ padding-top: 15px;
202
+ float: left;
203
+ }
204
+ .product-shop .add-to-box {
205
+ text-align: left;
206
+ clear: both;
207
+ float: left;
208
+ margin-top: 0;
209
+ margin-bottom: 2em;
210
+ }
211
+ .product-view .product-shop .add-to-links {
212
+ padding: 0;
213
+ clear: both;
214
+ }
215
+ .product-view .product-shop .grouped-items-table .product-pricing-grouped li {
216
+ display: table-cell;
217
+ text-align: left;
218
+ }
219
+ .product-options dl dd .input-box, .product-options dd select {
220
+ margin-bottom: 5%;
221
+ }
222
+ .product-options-bottom .add-to-cart {
223
+ float:left;
224
+ padding-top: 5%;
225
+ clear: both;
226
+ }
227
+ .links_list {
228
+ clear: both;
229
+ }
230
+ .product-collateral {
231
+ padding: 15px 0px 25px 0px;
232
+ }
233
+ .tabs {
234
+ border-top: 3px solid #dadada;
235
+ }
236
+ .tabs li, .tabs li.active a, .tabs li.active a:hover, .tabs a {
237
+ width: 100%;
238
+ border: 0;
239
+ }
240
+ .tabs li.active a, .tabs li.active a:hover {
241
+ font-weight: bold;
242
+ }
243
+ .tabs li a:after {
244
+ content: " >";
245
+ font-size: 12px;
246
+ }
247
+ .tabs li.active a:after {
248
+ content: " ";
249
+ }
250
+ .box-collateral img, .compare-table img, .std img {
251
+ max-width: 100%;
252
+ height: auto;
253
+ }
254
+ .product-view {
255
+ margin-top: 5px;
256
+ border: 1px solid #dadada;
257
+ padding: 5px 5px 0px 5px;
258
+ }
259
+ .product-essential {
260
+ padding: 0;
261
+ }
262
+ .product-view .box-up-sell .products-grid td, .brand td {
263
+ display: inline-block;
264
+ width: 100%;
265
+ text-align: center ;
266
+ }
267
+ .box-up-sell .products-grid .product-image {
268
+ text-align: center !important;
269
+ }
270
+ .product-view .box-up-sell .products-grid .ratings .rating-box {
271
+ margin-left: auto;
272
+ margin-right: auto;
273
+ }
274
+ /****************CART ********************/
275
+ .cart .cart-collaterals .col2-set {
276
+ width: 100%;
277
+ }
278
+ .cart .cart-collaterals .col2-set .col-2 {
279
+ width:100%;
280
+ }
281
+ .account-login h2 {
282
+ font-size: 1em;
283
+ }
284
+ .col2-set .col-1 {
285
+ float:left;
286
+ width:98%;
287
+ margin-bottom: 5%;
288
+ }
289
+ .col2-set .col-2 {
290
+ float:left;
291
+ width:98%;
292
+ }
293
+ .col2-set .col-narrow {
294
+ width:32%;
295
+ }
296
+ .col2-set .col-wide {
297
+ width:65%;
298
+ }
299
+ .cart .cart-collaterals .col2-set .col-2 {
300
+ width: 100%;
301
+ }
302
+ /*data table*/
303
+ .data-table td, table.products-grid td, table.brand td {
304
+ width: 90%;
305
+ display: block;
306
+ clear: both;
307
+ border: 0 !important;
308
+ float: left;
309
+ padding-left: 5%;
310
+ padding-right: 5%;
311
+ }
312
+ .data-table td {
313
+ text-align: left !important;
314
+ }
315
+ .data-table textarea {
316
+ display: block;
317
+ width: 90%;
318
+ height: auto;
319
+ }
320
+ .data-table .btn-remove2 {
321
+ font-size: 12px;
322
+ line-height: 14px;
323
+ width: auto;
324
+ font-weight: bold;
325
+ text-indent: 16px;
326
+ }
327
+ .data-table .buttons-set {
328
+ margin-top: 5%;
329
+ margin-bottom: 5%;
330
+ padding-left: 5%;
331
+ padding-right: 5%;
332
+ width: 90%;
333
+ }
334
+ .data-table .buttons-set button {
335
+ margin-bottom: 5%;
336
+ margin-left: 0;
337
+ float: left;
338
+ clear: both;
339
+ }
340
+ #shopping-cart-table button {
341
+ clear: both;
342
+ display: block;
343
+ margin-bottom: 5%;
344
+ }
345
+ /***************ACCOUNT***********/
346
+ .account-login .content h2 {
347
+ margin-top: 3%;
348
+ }
349
+ .block-account .block-content li a, .block-account .block-content li.current strong {
350
+ display: block;
351
+ width: 100%;
352
+ padding: 10px 0px;
353
+ }
354
+ .my-account {
355
+ padding-bottom: 20px;
356
+ }
357
+ .block .block-title {
358
+ text-align: center;
359
+ }
360
+ .buttons-set {
361
+ margin-bottom: 4em;
362
+ margin-top: 0em;
363
+ }
364
+ .buttons-set button {
365
+ clear: both;
366
+ display: block;
367
+ margin-bottom: 5%;
368
+ }
369
+ /* Sitemap */
370
+ .page-sitemap .links {
371
+ text-align:center;
372
+ }
373
+
374
+ /*trisha*/
375
+ div.tabs_ul li {
376
+ float: none;
377
+ }
378
+ .home-tabs.products-grid li {
379
+ float: none;
380
+ width: 100% !important;
381
+ }
382
+ div.tabs_ul li a:after {
383
+ content: " >";
384
+ font-size: 14px;
385
+ }
386
+ div.tabs_ul li.ui-tabs-selected a:after {
387
+ content: " ";
388
+ font-size: 0px;
389
+ }
390
+ /*cutom menu*/
391
+ #menu-button a:link, #menu-button a:visited {
392
+ margin-left: 40%;
393
+ }
394
+ }
395
+
396
+
skin/frontend/default/grayscale/css/skin.css ADDED
@@ -0,0 +1,2105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ * {
2
+ -webkit-text-size-adjust: none;
3
+ outline: none;
4
+ -webkit-touch-callout: none;
5
+ -webkit-tap-highlight-color:rgba(0, 0, 0, 0);
6
+ }
7
+ /* Clearfix */
8
+ .clearfix:after {
9
+ content: ".";
10
+ display: block;
11
+ clear: both;
12
+ visibility: hidden;
13
+ line-height: 0;
14
+ height: 0;
15
+ background: url(../images/i_pager-next.gif);
16
+ }
17
+ .clearfix {
18
+ display: inline-block;
19
+ }
20
+ html[xmlns] .clearfix {
21
+ display: block;
22
+ }
23
+ * html .clearfix {
24
+ height: 1%;
25
+ }
26
+ /* end Clearfix */
27
+ body {
28
+ background: #ffffff;
29
+ font: normal 100% "Lucida Grande",Helvetica,Arial, sans-serif;
30
+ color: #555555;
31
+ text-align: center;
32
+ }
33
+ .header-container, .main-container, .home_page_header_block {
34
+ background-color: #ffffff;
35
+ }
36
+ .slides-wrapper a {
37
+ opacity: 1;
38
+ filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);
39
+ }
40
+ .sp, .clear {
41
+ clear: both;
42
+ margin:0;
43
+ padding: 0;
44
+ height: 0;
45
+ overflow: hidden;
46
+ }
47
+ .sp span, .clear span {
48
+ display: none;
49
+ }
50
+ /* Headings */
51
+ h1, h2, h3, h4, h5, h6 {
52
+ font-family: Arial, sans-serif;
53
+ }
54
+ h1, .page-title h1, .page-title h2, .product-view .product-shop .product-name h1, .postTitle h2 {
55
+ font-family: "Lucida Grande",Helvetica, Arial, sans-serif;
56
+ font-weight: normal;
57
+ }
58
+ .category-title {
59
+ margin:0 0 10px;
60
+ }
61
+ p {
62
+ font-size: 0.8125em;
63
+ line-height: 1.25em;
64
+ margin-bottom: 0.9em;
65
+ }
66
+ /*any pages styles*/
67
+ .col-main dl dt {
68
+ font-size: 14px;
69
+ font-weight: normal;
70
+ }
71
+ .col-main h3 {
72
+ font-size: 18px;
73
+ }
74
+ ul.bullet, ol.bullet {
75
+ margin-bottom: 10px;
76
+ }
77
+ .col-main dl, .col-main ol {
78
+ padding: 5px 0px 20px 0px;
79
+ }
80
+ .col-main dl dt {
81
+ font-size: 18px;
82
+ line-height: 22px;
83
+ font-family: Arial, sans-serif;
84
+ }
85
+ ul.bullet li {
86
+ padding-left: 10px;
87
+ background: url(../images/pager_arrow_right.gif) no-repeat 0px 4px;
88
+ margin-bottom: 5px;
89
+ }
90
+ ul.bullet_big li {
91
+ padding-left: 10px;
92
+ background: url(../images/pager_arrow_right.gif) no-repeat 0px 4px;
93
+ margin-bottom: 15px;
94
+ font-size: 16px;
95
+ }
96
+ .col-main ol li {
97
+ list-style-type: decimal;
98
+ list-style-position: inside;
99
+ margin-bottom: 5px;
100
+ }
101
+ .col-main .opc li {
102
+ list-style-type: none;
103
+ }
104
+ hr {
105
+ clear: both;
106
+ position: relative;
107
+ border: 1px solid #e4e4e4;
108
+ margin-top: 10px;
109
+ margin-bottom: 10px;
110
+ }
111
+ .pic-right {
112
+ float: right;
113
+ position: relative;
114
+ margin: 0px 0px 10px 10px;
115
+ }
116
+ .pic-left {
117
+ float: left;
118
+ position: relative;
119
+ margin: 0px 10px 10px 0px;
120
+ }
121
+ .slider-wrap img { max-width: 100%;
122
+ height: auto;
123
+ width: auto\9; /* ie8 */}
124
+ /* Layout ================================================================================ */
125
+ .main-container {
126
+ clear: both;
127
+ }
128
+ .main {
129
+ padding: 10px 0px 10px 0px;
130
+ background-color: transparent;
131
+ width: 100%;
132
+ }
133
+ .wishlist-index-index .main {
134
+ padding-top: 15px;
135
+ }
136
+ .home_page_header_block {
137
+ padding-top: 2px;
138
+ clear: both;
139
+ }
140
+ .cms-index-index .home_page_header_block p, .cms-home .home_page_header_block p {
141
+ margin: 0;
142
+ }
143
+ /* Global Styles ========================================================================= */
144
+ /*top toolbar*/
145
+ .form-search .search-autocomplete ul {
146
+ border: 0;
147
+ border-radius: 15px;
148
+ }
149
+ .form-search .search-autocomplete {
150
+ background: #f5f5f5;
151
+ z-index:999;
152
+ position:relative;
153
+ }
154
+ .form-search .search-autocomplete ul, .form-search .search-autocomplete li {
155
+ text-align: left;
156
+ padding: 3px 5px 3px 5px;
157
+ font-weight: normal;
158
+ }
159
+ .form-search .search-autocomplete li:hover {
160
+ cursor: pointer;
161
+ background: #fff;
162
+ }
163
+ .form-search .search-autocomplete {
164
+ margin-left: 0px;
165
+ margin-top: 2px;
166
+ }
167
+ .search-autocomplete .amount {
168
+ float: right;
169
+ font-weight: normal;
170
+ }
171
+ .form-search .search-autocomplete li {
172
+ border: none;
173
+ }
174
+ .top_toolbar_static {
175
+ float: right;
176
+ position: relative;
177
+ margin-left: 10px;
178
+ }
179
+ /*header*/
180
+ .header-container .top-container {
181
+ position: relative;
182
+ }
183
+ .header {
184
+ padding: 1% 1% 0% 1%;
185
+ text-align: right;
186
+ width: 98%;
187
+ position: relative;
188
+ z-index:10;
189
+ }
190
+ div.block-cart-top {
191
+ position: relative;
192
+ text-align: left;
193
+ }
194
+ div.block-cart-top a.title:hover {
195
+ opacity: .6;
196
+ filter: alpha(opacity=60);
197
+ }
198
+ div.block-cart-top p, div.block-cart-top .price {
199
+ margin-bottom: 0;
200
+ text-transform: uppercase;
201
+ line-height: 16px;
202
+ }
203
+ div.block-cart-top button {
204
+ background: none;
205
+ border: 0;
206
+ line-height: 14px;
207
+ height: 14px;
208
+ position: relative;
209
+ padding: 0;
210
+ overflow: visible;
211
+ }
212
+ div.block-cart-top button::-moz-focus-inner /*FF fix*/ {
213
+ border: none;
214
+ }
215
+ .button-small:hover {
216
+ cursor: pointer;
217
+ }
218
+ .button-small span {
219
+ padding: 0px 0px 0px 12px;
220
+ line-height: 14px;
221
+ height: 14px;
222
+ margin: 0;
223
+ position: relative;
224
+ display: block;
225
+ white-space: nowrap;
226
+ }
227
+ .button-small span span {
228
+ line-height: 14px;
229
+ height: 14px;
230
+ color: #fff;
231
+ background-color: #333;
232
+ border-radius: 2px;
233
+ font-size: 10px;
234
+ padding: 0px 5px 0px 5px;
235
+ text-transform: lowercase;
236
+ margin: 0;
237
+ }
238
+ .button-small span span:hover { background-color: #555;}
239
+ /*Form-search*/
240
+ div.search {
241
+ position: relative;
242
+ }
243
+ #search_mini_form {
244
+ display: block;
245
+ position: relative;
246
+ clear: both;
247
+ }
248
+ .form-search {
249
+ position: relative;
250
+ float: right;
251
+ }
252
+ .form-search label {
253
+ display: none;
254
+ }
255
+ .form-search input.input-text {
256
+ background: #fff;
257
+ float: left;
258
+ position: relative;
259
+ border: 1px solid #d9d9d9;
260
+ color: #898989;
261
+ border-radius: 3px;
262
+ font:11px Arial, sans-serif;
263
+ }
264
+ .form-search input.input-text:focus {
265
+ color: #000;
266
+ font-size: 14px;
267
+ border: 1px solid #999999;
268
+ }
269
+ .form-search button.button {
270
+ float: right;
271
+ height: 18px;
272
+ display: block;
273
+ margin: 3px 0px 0px 0px;
274
+ padding: 0;
275
+ background-color: transparent;
276
+ background-image: url(../images/sprite.png);
277
+ background-position: -36px 0px;
278
+ background-repeat: no-repeat;
279
+ }
280
+ .form-search button.button:hover {
281
+ opacity: 1;
282
+ filter: alpha(opacity=100);
283
+ }
284
+ .form-search button.button span {
285
+ display: none;
286
+ }
287
+
288
+ /*header links*/
289
+ .header .quick-access {
290
+ position: relative;
291
+ margin-bottom: 1%;
292
+ }
293
+ .top_toolbar_container .welcome-msg {
294
+ float: left;
295
+ line-height: 22px;
296
+ margin: 0;
297
+ }
298
+ .header .links li {
299
+ float:left;
300
+ display: block;
301
+ }
302
+ .header .links a:link, .header .links a:visited {
303
+ text-transform: uppercase;
304
+ }
305
+ .header .links a:hover {
306
+ text-decoration: none;
307
+ }
308
+ /*currency*/
309
+ .sidebar .block-currency {
310
+ display: none;
311
+ }
312
+ /*switchers*/
313
+ .header .switchers {
314
+ text-align: right;
315
+ float: right;
316
+ position: relative;
317
+ }
318
+ .header .switchers label {
319
+ font-size: 11px;
320
+ }
321
+ div.store-switcher {
322
+ float: right;
323
+ position: relative;
324
+ padding: 5px 5px 0px 0px;
325
+ }
326
+ div.store-switcher select {
327
+ margin-left: 5px;
328
+ float: right;
329
+ padding: 0 !important;
330
+ }
331
+ .header .form-language {
332
+ float: right;
333
+ position: relative;
334
+ padding: 0px 0px 0px 10px;
335
+ }
336
+ /*Navigation*/
337
+ .nav-container {
338
+ clear: both;
339
+ border-radius: 2px;
340
+ }
341
+ #nav {
342
+ padding:0px 0px 0px 0px;
343
+ width: 980px;
344
+ margin:0;
345
+ font-size:13px;
346
+ }
347
+ #nav li a, #nav li a:hover {
348
+ padding: 8px 15px 6px 15px;
349
+ font-weight: normal;
350
+ font-size: 12px;
351
+ font-family: Tahoma;
352
+ text-transform: uppercase;
353
+ text-decoration: none;
354
+ }
355
+ #nav li a {
356
+ color: #fff;
357
+ }
358
+ #nav ul {
359
+ background: #f5f5f5;
360
+ margin-top: 0px;
361
+ border-top: 0;
362
+ box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.3);
363
+ }
364
+ #nav ul ul {
365
+ background: #f5f5f5;
366
+ padding-top: 0px;
367
+ }
368
+ #nav ul li a {
369
+ padding: 3px 0px 3px 0px !important;
370
+ text-transform: none !important;
371
+ font-size: 12px !important;
372
+ font-weight: normal !important;
373
+ background: none !important;
374
+ color: #000000;
375
+ }
376
+ #nav ul li.parent li a {
377
+ background: none !important;
378
+ }
379
+ #nav ul li a:hover, #nav ul ul li a:hover {
380
+ color: #fff;
381
+ }
382
+ /*breadcrumbs*/
383
+ .breadcrumbs {
384
+ clear: both;
385
+ padding: 0 0 0 1%;
386
+ margin-bottom: 5px;
387
+ display: inline-block;
388
+ }
389
+ .breadcrumbs:after {
390
+ content: ".";
391
+ display: block;
392
+ clear: both;
393
+ visibility: hidden;
394
+ line-height: 0;
395
+ height: 0;
396
+ }
397
+ html[xmlns] .breadcrumbs {
398
+ display: block;
399
+ }
400
+ * html .breadcrumbs {
401
+ height: 1%;
402
+ }
403
+ .breadcrumbs li {
404
+ margin-right: 5px;
405
+ float: left;
406
+ font-size: 0.75em;
407
+ }
408
+ .breadcrumbs strong {
409
+ font-weight: normal !important;
410
+ }
411
+ .breadcrumbs a:link, .breadcrumbs a:visited {
412
+ text-decoration: none;
413
+ display: block;
414
+ position: relative;
415
+ float: left;
416
+ }
417
+ .breadcrumbs span {
418
+ float: left;
419
+ width: 0;
420
+ height: 0;
421
+ padding: 0;
422
+ border-top: 3px solid transparent;
423
+ border-left: 3px solid #aaaaaa;
424
+ border-bottom: 3px solid transparent;
425
+ margin: 5px 5px 0px 5px;
426
+ opacity: 0.7;
427
+ color: #f1f1f1;
428
+ }
429
+ /*------------------Footer-------------------*/
430
+ .footer-container {
431
+ border-top: 0;
432
+ width: 100%;
433
+ }
434
+ .footer {
435
+ overflow: hidden;
436
+ padding: 15px 0px 5px 0px;
437
+ border-radius: 5px 5px 0px 0px;
438
+ background: #f5f5f5;
439
+ }
440
+ .footer .footer_content {
441
+ padding: 0px 20px;
442
+ }
443
+ .footer .footer_block {
444
+ margin-left: 0px;
445
+ padding: 20px 0px 10px 0px;
446
+ }
447
+ .footer_block .links_block {
448
+ clear: both;
449
+ margin-bottom: 10px;
450
+ }
451
+ .footer_block h4.title {
452
+ display: block;
453
+ text-align: left;
454
+ font-size: 16px;
455
+ font-weight: normal;
456
+ line-height: 1.25em;
457
+ margin-bottom: .65em;
458
+ font-family: Arial, sans-serif;
459
+ }
460
+ .footer_block .links_block div ul {
461
+ display: block;
462
+ }
463
+ .footer_block .links_block div ul li {
464
+ display: block;
465
+ text-align: left;
466
+ margin-bottom: .65em;
467
+ }
468
+ .footer_block .links_block div ul li a:link, .footer_block .links_block div ul li a:visited {
469
+ font-size: 14px;
470
+ text-decoration: none;
471
+ font-family: Arial, sans-serif;
472
+ -webkit-transition: all .2s linear;
473
+ -moz-transition: all .2s linear;
474
+ -ms-transition: all .2s linear;
475
+ transition: all .2s linear;
476
+ }
477
+ .footer .seotext {
478
+ padding: 10px 0px 5px 0px;
479
+ text-align: left;
480
+ }
481
+ .footer .seotext p {
482
+ color: #808080;
483
+ font: normal 12px Arial, sans-serif;
484
+ }
485
+ .footer ul.links {
486
+ margin-bottom: 15px;
487
+ display: block;
488
+ float: left;
489
+ }
490
+ .footer ul.links li {
491
+ font-size: 13px;
492
+ text-decoration: none;
493
+ font-family: Arial, sans-serif;
494
+ margin-right: 20px;
495
+ }
496
+ .footer ul.links li a:link, .footer ul.links li a:visited {
497
+ -webkit-transition: all .2s linear;
498
+ -moz-transition: all .2s linear;
499
+ -ms-transition: all .2s linear;
500
+ transition: all .2s linear;
501
+ }
502
+ .footer address {
503
+ padding-top: 0px;
504
+ color: #787878;
505
+ font: normal 12px Arial, sans-serif;
506
+ text-align: left;
507
+ clear: both;
508
+ margin-bottom: 5px;
509
+ }
510
+ .design-by {
511
+ font-size: 11px;
512
+ text-align: left;
513
+ }
514
+ /*-------------------------------------------------------SIDE BARS-----------*/
515
+ .block {
516
+ text-align: left;
517
+ margin-bottom: 10px;
518
+ background: #fff;
519
+ border: 1px solid #d9d9d9;
520
+ border-radius: 3px;
521
+ }
522
+ .block .block-title strong {
523
+ padding: 2% 5%;
524
+ font: bold 12px Arial, sans-serif;
525
+ color: #000;
526
+ text-transform: uppercase;
527
+ border-bottom: 1px dotted #c7c7c7;
528
+ }
529
+ .block .block-content {
530
+ padding: 5%;
531
+ }
532
+ .block-content .block-subtitle {
533
+ margin: 0;
534
+ padding: 0px 0px 5px 0px;
535
+ }
536
+ .block-cart .actions {
537
+ padding-right: 60px;
538
+ }
539
+ .block-payment-options .block-content {
540
+ padding-left: 9px;
541
+ }
542
+ .block li.odd {
543
+ background: transparent;
544
+ }
545
+ .block-progress dt {
546
+ font-size:11px;
547
+ color: #000;
548
+ padding: 2px 0px;
549
+ }
550
+ .block .btn-remove {
551
+ margin: 6px 0 2px 5px;
552
+ }
553
+ .sidebar_banner {
554
+ margin-bottom: 10px;
555
+ overflow: hidden;
556
+ }
557
+ .block-service dt {
558
+ font-weight: bold;
559
+ font-size: 12px;
560
+ margin-bottom: 5px;
561
+ }
562
+ .block-service dt strong {
563
+ color: #000;
564
+ }
565
+ .block-service dd {
566
+ margin-bottom: 10px;
567
+ font-size: 11px;
568
+ }
569
+ ul#vertnav {
570
+ text-align: left;
571
+ }
572
+ /*shop by, category*/
573
+ .block-layered-nav .block-subtitle {
574
+ display: none;
575
+ }
576
+ .block-layered-nav dt {
577
+ background: none;
578
+ font: bold 12px Arial, sans-serif;
579
+ padding: 4px 0px 3px 0px;
580
+ text-transform: uppercase;
581
+ }
582
+ .block-layered-nav li {
583
+ margin-bottom: 4px;
584
+ color: #777;
585
+ font: normal 11px/16px Arial, sans-serif;
586
+ }
587
+ .block-layered-nav a:link, .block-layered-nav a:visited, .block-layered-nav .price {
588
+ font: normal 14px/16px Arial, sans-serif;
589
+ text-decoration: none;
590
+ }
591
+ .block-layered-nav dd {
592
+ background: none;
593
+ }
594
+ .block-layered-nav .currently .label {
595
+ background:none;
596
+ font-weight:bold;
597
+ padding-left:0px;
598
+ text-transform:none;
599
+ }
600
+ .block-layered-nav .currently .label span {
601
+ font-weight:normal;
602
+ }
603
+ /*account*/
604
+ .block-account .block-title strong {
605
+ display: none;
606
+ }
607
+ .block-account .block-content {
608
+ padding: 1% 1%;
609
+ }
610
+ /*blocks*/
611
+ .block-cart .block-title strong span {
612
+ background-color: transparent;
613
+ background-image: url(data:image/gif;base64,R0lGODlhDgAQAPQcALS0tLKysvv7+/f39/b29vr6+q+vr/j4+PT09Pn5+fDw8Pz8/PPz8/39/aurq/7+/uzs7Kenp4qKipSUlKKioo+Pj4aGhoODg52dnYCAgJmZmf///wAAAAAAAAAAAAAAACH5BAUAABwALAAAAAAOABAAAAVqICdyw2ZuAzSOxwa8wHasnLIFgYlvyspsho1AANwwRIiCyXHaMDcFBGETqVqvG0KJwu16UYkNZkwubxJEjXrNFi42k7h8vlk0NpW8fr9pPDYSgYKDG38bFoiJik0XjY6PTRmSk5RNlpcbIQA7);
614
+ background-position:0% 40%;
615
+ background-repeat: no-repeat;
616
+ padding-left: 20px;
617
+ }
618
+ .block-subscribe .block-content {
619
+ padding-top: 6px;
620
+ }
621
+ .block-subscribe label {
622
+ font-family: Arial, sans-serif;
623
+ font-size: 12px;
624
+ }
625
+ .block-subscribe input.input-text {
626
+ width: 100%;
627
+ height: 19px;
628
+ font-family: Arial, sans-serif;
629
+ font-size: 11px;
630
+ font-weight: normal;
631
+ border: 1px solid #dadada;
632
+ margin: 0;
633
+ padding: 0px;
634
+ text-indent:5px;
635
+ }
636
+ .block-subscribe input.input-text:focus {
637
+ color: #000;
638
+ }
639
+ .block-subscribe .input-box {
640
+ float: none;
641
+ position: relative;
642
+ margin: 0px 0px 7px 0px;
643
+ padding: 8px 0px 0px 0px;
644
+ }
645
+ .block-subscribe .actions {
646
+ float: left;
647
+ position: relative;
648
+ margin: 0;
649
+ padding: 0;
650
+ }
651
+ /*side-bar items*/
652
+ .block .block-content li.item {
653
+ padding: 5px 0px;
654
+ border-radius: 3px;
655
+ }
656
+ /*side-bar prices*/
657
+ .old-price .price-label, .old-price .price {
658
+ color:#696969;
659
+ }
660
+ .special-price {
661
+ padding-top: 0;
662
+ }
663
+ /*reccently view*/
664
+ #recently-viewed-items li {
665
+ padding-top: 1px;
666
+ padding-bottom: 2px;
667
+ }
668
+ #recently-viewed-items a {
669
+ font-weight: normal;
670
+ text-decoration: none;
671
+ }
672
+ /*most popular, related */
673
+ .block-content .old-price .price-label, .block-content .special-price .price-label {
674
+ display: none;
675
+ }
676
+ .block-content .special-price .price, .block .regular-price, .block .regular-price .price, .block-content .price-box .price {
677
+ font-weight: bold;
678
+ font-size: 15px;
679
+ }
680
+ .old-price .price, .block-content .old-price .price, .price-box a .label {
681
+ color: #696969;
682
+ text-decoration: none;
683
+ font-size: 12px;
684
+ }
685
+ .block-content .old-price .price {
686
+ text-decoration: line-through;
687
+ }
688
+ /*****************************************************************************CATALOG****************/
689
+ /*pager*/
690
+ .toolbar .pager {
691
+ border: none;
692
+ }
693
+ .pager .amount, .pager .amount strong, .pager .limiter, .sorter, .sorter strong {
694
+ font-weight: normal;
695
+ color: #808080;
696
+ }
697
+ .pager .pages {
698
+ position: relative;
699
+ padding-left: 20px;
700
+ color: #808080;
701
+ }
702
+ /*catalog toolbar*/
703
+ div.pages strong {
704
+ font-weight: normal;
705
+ }
706
+ .pager .pages li a:link, .pager .pages li a:visited {
707
+ padding: 0px 8px;
708
+ font-size: 15px;
709
+ line-height: 22px;
710
+ font-weight: normal;
711
+ }
712
+ .pager .pages li a:hover {
713
+ border-bottom: 2px solid #555;
714
+ }
715
+ div.pages li.current {
716
+ font-size: 15px;
717
+ font-weight: normal;
718
+ border-bottom: 2px solid #555;
719
+ color: #000;
720
+ padding: 0px 8px;
721
+ }
722
+ .toolbar, .toolbar select {
723
+ font-size: 11px;
724
+ }
725
+ .pager .pages strong, .sorter label, .pager .amount {
726
+ font-weight: normal;
727
+ font-family: Arial;
728
+ font-size: 11px;
729
+ }
730
+ .sorter strong {
731
+ color: #000;
732
+ }
733
+ .pager .limiter {
734
+ padding-right: 24px;
735
+ text-align: left;
736
+ }
737
+ .pager .limiter select, .sorter .sort-by select {
738
+ background:none repeat scroll 0 0 #f8f8f8;
739
+ border:1px solid #dcdfe5;
740
+ color: #000;
741
+ }
742
+ .pager .limiter select {
743
+ margin-left: 12px;
744
+ margin-right: 6px;
745
+ width: 50px;
746
+ }
747
+ .sorter .sort-by select {
748
+ margin-left: 12px;
749
+ width: 96px;
750
+ }
751
+ .sort-by {
752
+ float: right;
753
+ position: relative;
754
+ }
755
+ .sorter .sort-by {
756
+ width: 166px;
757
+ padding-right: 0;
758
+ text-align: left;
759
+ }
760
+ /*product name*/
761
+ h2.product-name, h3.product-name {
762
+ line-height: 100%;
763
+ margin-bottom: 5%;
764
+ font-size: 14px;
765
+ font-weight: normal;
766
+ text-transform: none;
767
+ text-decoration: none;
768
+ margin-bottom: 0;
769
+ font-family: Arial, sans-serif;
770
+ }
771
+ p.product-name {
772
+ line-height: 100%;
773
+ margin-bottom: 5%;
774
+ font-size: 12px;
775
+ font-weight: normal;
776
+ text-transform: none;
777
+ text-decoration: none;
778
+ margin-bottom: 0;
779
+ font-family: Arial, sans-serif;
780
+ }
781
+
782
+ /*product decription*/
783
+ .products-list .desc {
784
+ font:11px Arial, sans-serif;
785
+ line-height: 130%;
786
+ }
787
+ .col-main .mini-products-list li {
788
+ list-style-type: none;
789
+ }
790
+ .mini-products-list p.product-name {
791
+ padding-left: 0px !important;
792
+ line-height: 100%;
793
+ font-family: Arial, sans-serif;
794
+ }
795
+ .mini-products-list .product-image {
796
+ width: 50px;
797
+ }
798
+ .mini-products-list .product-details {
799
+ margin-left: 62px;
800
+ }
801
+ .block-popular-big .mini-products-list li.item {
802
+ padding: 0;
803
+ }
804
+ .block-popular-big .mini-products-list p.product-name {
805
+ padding-left: 0px !important;
806
+ line-height: 100%;
807
+ font-family: Arial, sans-serif;
808
+ }
809
+ .block-popular-big .mini-products-list .product-image {
810
+ width: 100%;
811
+ float: none;
812
+ margin-left: auto;
813
+ margin-right: auto;
814
+ margin-bottom: 2px;
815
+ }
816
+ .block-popular-big .mini-products-list .product-image img {
817
+ max-width: 100%;
818
+ height: auto;
819
+ width: auto\9;
820
+ }
821
+ .block-popular-big .mini-products-list .product {
822
+ text-align: center;
823
+ }
824
+ .block-popular-big .mini-products-list .product-details {
825
+ margin-left: auto;
826
+ }
827
+ /*Prices*/
828
+ .mini-products-list .product-details .price-box {
829
+ margin: 0px 0 5px 0;
830
+ }
831
+ .products-grid .price-box {
832
+ margin: 4px 0 4px 0;
833
+ }
834
+ /*catalog price*/
835
+ .regular-price {
836
+ color:#000000;
837
+ }
838
+ .price {
839
+ font-size: 15px;
840
+ font-weight: bold;
841
+ font-family: Arial, sans-serif;
842
+ }
843
+ .old-price .price {
844
+ font-size: 12px;
845
+ }
846
+ /*product price*/
847
+ .product-view .product-shop .special-price .price, .product-view .product-shop .regular-price .price, .product-view .product-shop .full-product-price .price, .product-essential .price-as-configured .price, .product-options-bottom .price {
848
+ font-size: 24px;
849
+ line-height: 24px;
850
+ font-weight: bold;
851
+ }
852
+ .price-as-configured {
853
+ line-height: 28px;
854
+ }
855
+ /*CATALOG*/
856
+ .products-grid .product-image {
857
+ text-align: center;
858
+ }
859
+ .products-grid .product-image img {
860
+ max-width: 100%;
861
+ height: auto;
862
+ width: auto\9; /* ie8 */
863
+ }
864
+ ul.products-grid {
865
+ margin-bottom: 10px !important;
866
+ }
867
+ .products-grid .rate {
868
+ padding-bottom: 20px;
869
+ }
870
+ .products-grid .short {
871
+ padding-bottom: 0px;
872
+ }
873
+ .tabs_block ul.products-grid, .tabs_block ul.products-grid * {
874
+ padding-bottom: 2px !important;
875
+ }
876
+ ul.products-grid li * {
877
+ text-align: center;
878
+ }
879
+ .products-grid .actions li {
880
+ width: 100%;
881
+ text-transform: uppercase;
882
+ }
883
+ .short-description {
884
+ font-size: 11px;
885
+ }
886
+ .products-grid li:hover button.button {
887
+ -webkit-transition: all .2s linear;
888
+ -moz-transition: all .2s linear;
889
+ -ms-transition: all .2s linear;
890
+ transition: all .2s linear;
891
+ }
892
+ .products-grid li:hover button.button {
893
+ -webkit-transition: all .2s linear;
894
+ -moz-transition: all .2s linear;
895
+ -ms-transition: all .2s linear;
896
+ transition: all .2s linear;
897
+ }
898
+
899
+ .products-grid .add-to-links {
900
+ margin-left: auto;
901
+ margin-right: auto;
902
+ }
903
+
904
+ /*rating*/
905
+ .products-grid .ratings .amount, .item-content .ratings .amount {
906
+ display: none;
907
+ }
908
+ .products-grid .ratings .rating-box {
909
+ float: none;
910
+ margin-left: auto;
911
+ margin-right: auto;
912
+ }
913
+ .products-grid .rating-links {
914
+ display: none;
915
+ }
916
+ .ratings {
917
+ line-height: 1;
918
+ margin: 2px 0px 4px 0px;
919
+ }
920
+ /*full */
921
+ .full_cat ul.products-grid li {
922
+ padding-bottom: 60px;
923
+ }
924
+ /*rate*/
925
+ .raiting_cat ul.products-grid li {
926
+ padding-bottom: 35px;
927
+ }
928
+ /*shot*/
929
+ .short_cat ul.products-grid li {
930
+ padding-bottom: 0px;
931
+ }
932
+ /*new*/
933
+ .subtitle {
934
+ margin: 8px 0 6px 0;
935
+ padding: 5px 0 0 0px;
936
+ height: 22px;
937
+ line-height: 24px;
938
+ font: normal 18px Arial, sans-serif;
939
+ background: none;
940
+ text-transform: uppercase;
941
+ }
942
+ .new_cat_img {
943
+ display: block;
944
+ position: relative;
945
+ }
946
+ .i_new {
947
+ border:0;
948
+ display: block;
949
+ margin: 0px;
950
+ padding: 0px;
951
+ position: absolute;
952
+ bottom: 0px;
953
+ left: 40%;
954
+ vertical-align: top;
955
+ z-index: 99;
956
+ }
957
+ /* Form Elements */
958
+ select, textarea {
959
+ font-size: 11px;
960
+ line-height: 14px;
961
+ font-weight: normal;
962
+ }
963
+ input.input-text, select, textarea {
964
+ background:#f8f8f8;
965
+ border:1px solid #dfdfdf;
966
+ font-size: 14px;
967
+ border-radius: 2px;
968
+ padding: 2px;
969
+ }
970
+ input.input-text:focus, textarea:focus {border:1px solid #777;}
971
+ .block-currency select {
972
+ font-size: 11px;
973
+ }
974
+ .sort-by select {
975
+ width: 128px;
976
+ }
977
+ /* Form */
978
+ label.required em {
979
+ margin-right: 2px;
980
+ font-style:normal;
981
+ padding-left: 2px;
982
+ float: left;
983
+ color: #fe4e00;
984
+ }
985
+ .form-list label.required em {
986
+ right: -10px;
987
+ }
988
+ .form-alt .input-box {
989
+ margin: 0 0 8px;
990
+ }
991
+ /* REQUIRED BUTTON STYLES: */
992
+ button.button {
993
+ position: relative;
994
+ padding: 0px 0px 0px 7px;
995
+ text-align: center;
996
+ background-color: transparent;
997
+ background-image: url(../images/sprite.png);
998
+ background-position: 0px -74px;
999
+ background-repeat: no-repeat;
1000
+ height: 22px;
1001
+ }
1002
+ button.button::-moz-focus-inner {
1003
+ border: none;
1004
+ }
1005
+ button.button span {
1006
+ position: relative;
1007
+ }
1008
+ button.button span span {
1009
+ text-transform: uppercase;
1010
+ font: bold 12px Arial, sans-serif;
1011
+ padding: 4px 7px 0px 0px;
1012
+ background-image: url(../images/sprite.png);
1013
+ background-position: 100% 100%;
1014
+ background-repeat: no-repeat;
1015
+ white-space: nowrap;
1016
+ height: 18px;
1017
+ line-height: 16px;
1018
+ }
1019
+ button.button {
1020
+ opacity: .6;
1021
+ }
1022
+ button.button:hover, button.buttonHover {
1023
+ opacity: 1;
1024
+ }
1025
+ /*catalog button*/
1026
+ .products-grid li:hover button.button, .item-content:hover button.button {
1027
+ opacity: .8;
1028
+ }
1029
+ .products-grid li:hover button.button:hover, .item-content:hover button.button:hover {
1030
+ opacity: 1;
1031
+ }
1032
+ /********** Orange button ************/
1033
+ .product-shop .add-to-cart button.button, .checkout-types button.button, #review-buttons-container button.button, .product-options-bottom button.button {
1034
+ background-image: url(../images/sprite.png);
1035
+ background-position: 0px -52px;
1036
+ background-repeat: no-repeat;
1037
+ opacity: .8;
1038
+ }
1039
+ .product-shop .add-to-cart button.button span span, .checkout-types button.button span span, #review-buttons-container button.button span span, .product-options-bottom button.button span span {
1040
+ background-image: url(../images/sprite.png);
1041
+ background-position: 100% 0%;
1042
+ background-repeat: no-repeat;
1043
+ }
1044
+ .product-shop .add-to-cart button.button:hover, .product-shop .add-to-cart button.buttonHover, .checkout-types button.button:hover, .checkout-types button.buttonHover, #review-buttons-container button.button:hover, #review-buttons-container button.buttonHover, .product-options-bottom button.button:hover, .product-options-bottom button.buttonHover {
1045
+ opacity: 1;
1046
+ }
1047
+ .product-view .box-tags .form-add .input-box {
1048
+ margin-right: 8px;
1049
+ }
1050
+ .product-view .box-tags .form-add .input-box input {
1051
+ height: 14px;
1052
+ background: #ffffff;
1053
+ border: 1px solid #cecece;
1054
+ }
1055
+ div.toolbar div.pager {
1056
+ padding: 3px 0 3px 0;
1057
+ }
1058
+ div.toolbar div.sorter {
1059
+ padding: 3px 10px 11px 0;
1060
+ }
1061
+ .toolbar-bottom {
1062
+ margin-top: 30px;
1063
+ }
1064
+ div.toolbar-bottom div.sorter {
1065
+ display: block;
1066
+ }
1067
+ div.toolbar-bottom .view-mode {
1068
+ padding-right: 20px;
1069
+ }
1070
+ div.toolbar-bottom .limiter {
1071
+ float: right;
1072
+ }
1073
+ /*catalog list */
1074
+ .products-list .product-image {
1075
+ width: auto;
1076
+ height: auto;
1077
+ display: block;
1078
+ float: left;
1079
+ padding-right: 5%;
1080
+ }
1081
+ .products-list .product-shop {
1082
+ float: left;
1083
+ padding-top: 10px;
1084
+ }
1085
+ /**************************************************************PRODUCT******************/
1086
+ .product-img-box img {
1087
+ max-width: 100%;
1088
+ height: auto;
1089
+ }
1090
+ .product-view {
1091
+
1092
+ }
1093
+ .product-view .product-shop {
1094
+ text-align: left;
1095
+ }
1096
+ .product-essential {
1097
+ text-align: left;
1098
+ }
1099
+ .product-view .product-shop {
1100
+ text-align: left;
1101
+ }
1102
+ .product-view .product-img-box {
1103
+ margin-top: 10px;
1104
+ }
1105
+ .more-views {
1106
+ padding-top: 4px;
1107
+ }
1108
+ .product-view .product-img-box .product-image {
1109
+ margin-bottom: 5px;
1110
+ }
1111
+ .product-view .product-img-box .zoom #track {
1112
+ background:#dadada;
1113
+ }
1114
+ .product-view .product-shop .availability {
1115
+ font-size: 11px;
1116
+ }
1117
+ .product-view .product-img-box .more-views li {
1118
+ margin:0 0 8px 12px;
1119
+ }
1120
+ .product-view .product-img-box .more-views li a {
1121
+ border: 0px solid #ffffff !important;
1122
+ }
1123
+ .product-view p.old-price {
1124
+ margin-bottom: 5px;
1125
+ }
1126
+ .add-to-cart {
1127
+ margin-right: 10px;
1128
+ }
1129
+ .add-to-cart label {
1130
+ font-family: Arial;
1131
+ font-size: 16px;
1132
+ }
1133
+ .product-view .product-shop .short-description {
1134
+ line-height: 130%;
1135
+ clear: both;
1136
+ }
1137
+ .product-collateral .box-collateral, .no-rating {
1138
+ margin-bottom: 5px;
1139
+ }
1140
+ .product-view .box-up-sell .products-grid {
1141
+ margin-bottom: 10px;
1142
+ }
1143
+ .product-view .box-up-sell .products-grid td {
1144
+ padding:0px 5px 0px 0px;
1145
+ }
1146
+ .product-shop .tier-prices, .product-options, .price-box-bundle {
1147
+ border-radius: 3px 3px 3px 3px;
1148
+ padding: 12px;
1149
+ border: 0;
1150
+ }
1151
+ .product-shop .tier-prices {
1152
+ float: left;
1153
+ }
1154
+ #product_tabs_description_tabbed_contents {
1155
+ font-size: 14px;
1156
+ line-height: 150%;
1157
+ text-align: left;
1158
+ }
1159
+ #product_tabs_related_tabbed_contents ol li {
1160
+ list-style-type: none;
1161
+ }
1162
+ #product_tabs_related_tabbed_contents .link-cart {
1163
+ font-weight: normal;
1164
+ font-size: 11px;
1165
+ }
1166
+ .product-options dd {
1167
+ border-bottom: 1px dotted #DADADA;
1168
+ }
1169
+ .dedicated-review-box p {
1170
+ font-style: italic;
1171
+ font-size: 14px;
1172
+ line-height: 150%;
1173
+ }
1174
+ .benefit, .price-box-bundle {
1175
+ font-size: 18px;
1176
+ font-weight: normal;
1177
+ }
1178
+ .product-shop .add-to-box {
1179
+ text-align: center;
1180
+ clear: both;
1181
+ }
1182
+ .add-to-cart button span {
1183
+ font-weight: bold !important;
1184
+ }
1185
+ .product-shop .add-to-links li {
1186
+ margin-right: 10px;
1187
+ }
1188
+ .add-to-links a.link-wishlist:link, .add-to-links a.link-wishlist:visited, .actions a.link-wishlist:link, .actions a.link-wishlist:visited,
1189
+ .add-to-links a.link-compare:link, .add-to-links a.link-compare:visited, .actions a.link-compare:link, .actions a.link-compare:visited {
1190
+ font-size: 10px;
1191
+ font-family: Arial, sans-serif;
1192
+ }
1193
+ .products-grid .add-to-links {
1194
+ line-height: 11px;
1195
+ }
1196
+ /*titles on product page*/
1197
+ .product-view .box-up-sell h2, .product-essential h2, .product-view .product-img-box .more-views h2, .product-collateral h2, .dedicated-review-box strong, #product_tabs_related_tabbed_contents p strong {
1198
+ font: 18px Arial, sans-serif;
1199
+ font-weight: normal;
1200
+ text-transform: none;
1201
+ margin: 5px 0px 7px 0px;
1202
+ }
1203
+ /*messages*/
1204
+ .error-msg, .success-msg, .note-msg, .notice-msg {
1205
+ border-radius: 3px;
1206
+ min-height:24px !important;
1207
+ padding: 8px !important;
1208
+ font-size: 16px;
1209
+ }
1210
+ .add-to-box .or {
1211
+ color:#808080;
1212
+ font-weight:normal;
1213
+ line-height: 48px;
1214
+ font-size: 11px;
1215
+ }
1216
+
1217
+ .product-collateral p {
1218
+ font-size: 1em;
1219
+ }
1220
+ .product-view .box-tags .form-add label {
1221
+ color: #808080 !important;
1222
+ font-weight: normal !important;
1223
+ font-size: 11px;
1224
+ }
1225
+ .product-view .box-tags .form-add .input-box {
1226
+ padding:0;
1227
+ }
1228
+ .product-view .box-tags .note {
1229
+ padding:0;
1230
+ }
1231
+ .product-options p.required {
1232
+ padding-top: 0;
1233
+ }
1234
+ /*product opions*/
1235
+ .product-options dd {
1236
+ border-bottom: 1px dotted #DADADA;
1237
+ }
1238
+ .product-options p.required {
1239
+ margin: 0;
1240
+ padding: 0;
1241
+ font-size: 11px;
1242
+ font-style: italic;
1243
+ }
1244
+ .product-options dl {
1245
+ margin: 0;
1246
+ padding: 0 !important;
1247
+ }
1248
+ .product-options dt {
1249
+ padding: 5px 0px 2px 0px;
1250
+ font-weight: bold !important;
1251
+ font-size: 11px;
1252
+ }
1253
+ .product-options dd {
1254
+ padding: 0px 10px 10px 0px;
1255
+ margin: 0% 0% 1% 0%;
1256
+ }
1257
+ .product-view .product-shop .add-to-links li {
1258
+ padding-right: 10px;
1259
+ }
1260
+ .product-shop .product-options-bottom .price-box {
1261
+ float: left;
1262
+ margin: 0 10px 5px;
1263
+ }
1264
+ .product-options-bottom .price-label, .product-options-bottom label, .product-shop label {
1265
+ font-weight: normal;
1266
+ color: #454545;
1267
+ }
1268
+ .product-options-bottom .price-as-configured .price {
1269
+ padding-right: 20px;
1270
+ }
1271
+ .product-view button.button {
1272
+ margin-top: 0px;
1273
+ }
1274
+ .product-options-bottom .qty, .product-shop .qty {
1275
+ margin-top: 0px;
1276
+ float: left;
1277
+ padding: 2px 2px;
1278
+ font: normal 14px Arial, sans-serif;
1279
+ margin-right: 10px;
1280
+ }
1281
+ .col-main .product-options dl dt label {
1282
+ font-size: 18px;
1283
+ font-family: Arial, sans-serif;
1284
+ }
1285
+ .col-main .product-options dl dt {
1286
+ background: none;
1287
+ padding-left: 0;
1288
+ }
1289
+ .product-product .product-shop .product-options-bottom .add-to-cart, .add-to-box .add-to-cart, .product-product .product-shop .product-options-bottom .add-to-cart .qty {
1290
+ float: none;
1291
+ }
1292
+ .product-options-bottom .add-to-cart label, .product-options-bottom .add-to-cart .qty {
1293
+ float: left;
1294
+ }
1295
+ .add-to-box .add-to-links {
1296
+ float: none;
1297
+ font-size:12px !important;
1298
+ line-height:1.25 !important;
1299
+ margin: 15px 0 0 0 !important;
1300
+ text-align:left !important;
1301
+ }
1302
+ .product-view .product-shop .add-to-links a {
1303
+ font-weight:normal !important;
1304
+ font:14px Arial, sans-serif;
1305
+ }
1306
+ .product-options-bottom .add-to-links {
1307
+ display: none;
1308
+ }
1309
+
1310
+ .product-view .product-shop .add-to-links {
1311
+ text-align: left;
1312
+ padding: 0px 0px 10px 0px;
1313
+ float: left;
1314
+ -webkit-transition: all .3s ease-in-out;
1315
+ -moz-transition: all .3s ease-in-out;
1316
+ -ms-transition: all .3s ease-in-out;
1317
+ transition: all .3s ease-in-out;
1318
+ }
1319
+ .product-view .product-shop .add-to-links li {
1320
+ float: left;
1321
+ margin-right: 10px;
1322
+ }
1323
+ .product-view .product-shop a.link-wishlist, .product-view .product-shop a.link-compare , .data-table a.link-wishlist, .product-details a.link-wishlist,
1324
+ p.email-friend a:link, p.email-friend a:visited {
1325
+ background-color: transparent;
1326
+ background-image: url(../images/sprite.png);
1327
+ background-position: 0px -24px;
1328
+ background-repeat: no-repeat;
1329
+ display: block;
1330
+ margin: 0;
1331
+ padding-left: 15px;
1332
+ line-height: 15px;
1333
+ width: auto;
1334
+ height: auto;
1335
+ text-align: left;
1336
+ }
1337
+ .compare-table a.link-wishlist {
1338
+ background-image: none;
1339
+ padding: 2px 0 2px 0px;
1340
+ }
1341
+ .product-details a.link-wishlist {
1342
+ font-size: 0;
1343
+ color: #fff;
1344
+ }
1345
+ .crosssell .product-details a.link-wishlist, .crosssell .product-details a.link-compare {
1346
+ padding: 0px;
1347
+ background-image: none;
1348
+ }
1349
+ p.email-friend {
1350
+ float: left;
1351
+ }
1352
+
1353
+ .product-details a.link-wishlist, .product-details a.link-compare {
1354
+ display: none;
1355
+ }
1356
+ /*product review*/
1357
+ .dedicated-review-box ol li, .product-view .box-reviews dd {
1358
+ margin-bottom: 20px;
1359
+ }
1360
+ .dedicated-review-box ol li strong, .box-reviews dl dt a {
1361
+ font-size: 18px;
1362
+ font-weight: normal;
1363
+ }
1364
+ .box-reviews dl dt {
1365
+ color: #000;
1366
+ }
1367
+ .product-view .box-reviews dl {
1368
+ margin: 0px 0;
1369
+ padding: 0;
1370
+ }
1371
+ .ratings-list .rating-box {
1372
+ margin-left: 10px;
1373
+ margin-top: 3px;
1374
+ }
1375
+ table.ratings-list {
1376
+ margin-bottom: 10px;
1377
+ }
1378
+ table.ratings-list strong {
1379
+ font-size: 12px !important;
1380
+ font-weight: normal;
1381
+ }
1382
+ .grouped-items-table td {
1383
+ line-height: 30px;
1384
+ }
1385
+ .product-view .product-shop .grouped-items-table .price {
1386
+ font-size: 18px;
1387
+ line-height: 18px;
1388
+ }
1389
+ .product-view .product-shop .grouped-items-table .product-pricing-grouped .price {
1390
+ font-size: 14px;
1391
+ line-height: 14px;
1392
+ font-style: italic;
1393
+ }
1394
+ .product-view .product-shop .grouped-items-table .product-pricing-grouped {
1395
+ font-style: italic;
1396
+ line-height: 14px;
1397
+ }
1398
+ /***************************************************************CART**********************************/
1399
+ /* Tax Details Row */
1400
+ tr.tax-total {
1401
+ cursor:pointer;
1402
+ }
1403
+ tr.tax-total .tax-collapse {
1404
+ float:right;
1405
+ text-align:right;
1406
+ padding-left:20px;
1407
+ background-position: 0 5px;
1408
+ background-repeat: no-repeat;
1409
+ background-image: url(data:image/gif;base64,R0lGODlhCQBCAPABALq6ugAAACH5BAUAAAEALAAAAAAJAEIAAAIyRIwXy2z7lGsI2DSz3A2qFHXiSJbmiabqyrbuC8fyTNf2jefUx5OhJqpcOJ2fx8dDFAAAOw==);
1410
+ cursor:pointer;
1411
+ }
1412
+ tr.show-details .tax-collapse {
1413
+ background-position:0 -52px;
1414
+ }
1415
+ .cart .page-title h1 {
1416
+ margin-top: 4px;
1417
+ }
1418
+ .cart .page-title .checkout-types li {
1419
+ margin-bottom: 0;
1420
+ margin-top: 5px;
1421
+ float:left;
1422
+ }
1423
+ .data-table thead th {
1424
+ font:11px Arial, sans-serif;
1425
+ font-weight: bold;
1426
+ }
1427
+ .cart .discount input.input-text {
1428
+ border: 1px solid #cecece;
1429
+ width: 126px;
1430
+ padding: 3px;
1431
+ float: left;
1432
+ }
1433
+ .cart .discount .input-box {
1434
+ width: auto;
1435
+ }
1436
+ .cart .discount .input-box input {
1437
+ margin-bottom: 10px;
1438
+ width: 100%;
1439
+ max-width: 254px;
1440
+ float: none;
1441
+ }
1442
+ .cart .totals tfoot td strong {
1443
+ font-family: Arial, sans-serif;
1444
+ font-weight: normal;
1445
+ font-size: 18px;
1446
+ }
1447
+ .cart .discount .buttons-set {
1448
+ margin-top: 0;
1449
+ margin-left: 0px;
1450
+ float: left;
1451
+ clear: none;
1452
+ margin-bottom: 10px;
1453
+ }
1454
+ .discounts {
1455
+ width: 50%;
1456
+ float: left;
1457
+ position: relative;
1458
+ }
1459
+ .form-list label {
1460
+ margin-bottom: 3px;
1461
+ }
1462
+ .form-list li {
1463
+ margin: 0 0 20px;
1464
+ }
1465
+ .link-reorder {
1466
+ color: #dc6809 !important;
1467
+ }
1468
+ .form-list .input-box select {
1469
+ border: 1px solid #cecece;
1470
+ }
1471
+ .checkout-progress li {
1472
+ border-top-color: #dadada;
1473
+ }
1474
+ .cart .crosssell {
1475
+ padding: 11px 15px 12px 15px;
1476
+ }
1477
+ .cart .discount {
1478
+ margin-bottom: 10%;
1479
+ }
1480
+ .crosssell h3, .crosssell .product-name a:link, .crosssell .product-name a:visited {
1481
+ padding-left: 0px !important;
1482
+ line-height: 100%;
1483
+ font-family: Arial, sans-serif;
1484
+ font-size: 13px;
1485
+ font-weight: normal;
1486
+ }
1487
+ .crosssell .add-to-links {
1488
+ text-transform: uppercase;
1489
+ }
1490
+ .crosssell h2, .discount h2, .shipping h2 {
1491
+ font-size: 18px;
1492
+ line-height: 100%;
1493
+ font-weight: normal;
1494
+ }
1495
+ .cart .crosssell li.item {
1496
+ padding: 5px;
1497
+ border-radius: 3px;
1498
+ margin: 0px 0px 5px 0px;
1499
+ }
1500
+ .cart .crosssell li.item .add-to-links {
1501
+ opacity: 0;
1502
+ filter: alpha(opacity=0);
1503
+ }
1504
+ .cart .crosssell li.item:hover .add-to-links {
1505
+ opacity: 1;
1506
+ filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);
1507
+ }
1508
+ .item-options {
1509
+ font-size: 12px;
1510
+ line-height: 100%;
1511
+ font-family: Arial, sans-serif;
1512
+ }
1513
+ .item-options dd {
1514
+ padding-left: 0px;
1515
+ margin: 0 0 10px;
1516
+ font-style: italic;
1517
+ font-size: 14px;
1518
+ }
1519
+ .col-main .item-options dt {
1520
+ font-size: 12px !important;
1521
+ line-height: 100%;
1522
+ font-weight: normal;
1523
+ font-family: Arial, sans-serif;
1524
+ background: none;
1525
+ padding-left: 0px;
1526
+ font-style: normal;
1527
+ }
1528
+ .col-main .product-shop .item-options dt {
1529
+ font-size: 12px !important;
1530
+ font-weight: bold;
1531
+ color: #000;
1532
+ }
1533
+ .product-shop .item-options dd {
1534
+ padding-left: 0px;
1535
+ margin: 0 0 10px;
1536
+ font-style: normal;
1537
+ font-size: 16px;
1538
+ }
1539
+ .data-table tr:hover .item-options {
1540
+ color: #000;
1541
+ }
1542
+ .crosssell-div {
1543
+ clear: both;
1544
+ }
1545
+ #shopping-cart-table button {
1546
+ margin-left: 10px;
1547
+ }
1548
+ .data-table {
1549
+ border-collapse: inherit;
1550
+ }
1551
+ #shopping-cart-table {
1552
+ border: 1px solid #dadada;
1553
+ }
1554
+ .data-table thead th {
1555
+ border-top: 0;
1556
+ border-right: 0;
1557
+ border-left: 0;
1558
+ padding: 9px 12px 9px 12px;
1559
+ }
1560
+ #product-review-table tr.first th {
1561
+ border-bottom: 0px;
1562
+ }
1563
+ .data-table td {
1564
+ border-top: 0;
1565
+ border-right: 0;
1566
+ border-left: 0;
1567
+ background: #fcfcfc;
1568
+ }
1569
+ .cart-table tr:hover td {
1570
+ background: #f2f2f2;
1571
+ }
1572
+ .data-table td .product-name a:link, .data-table td .product-name a:visited {
1573
+ font-size: 15px;
1574
+ text-decoration: none;
1575
+ font-weight: normal;
1576
+ }
1577
+ .data-table td .product-name a:hover {
1578
+ text-decoration: none;
1579
+ }
1580
+ .data-table td input.qty {
1581
+ color: #000;
1582
+ font-weight: normal;
1583
+ font-size: 14px;
1584
+ border: 1px solid #e0dbc7;
1585
+ background: #fcfcfc;
1586
+ padding: 3px;
1587
+ border-radius: 2px;
1588
+ }
1589
+ .data-table tfoot {
1590
+ border-bottom: 1px solid #cecece;
1591
+ }
1592
+ .data-table tfoot tr td {
1593
+ padding: 12px 10px 12px 13px;
1594
+ border: 0px solid #ffffff;
1595
+ background: #ffffff;
1596
+ }
1597
+ .compare-table .product-shop-row th, .compare-table .product-shop-row td, .compare-table tbody th, .compare-table tbody td {
1598
+ border-color: #dadada !important;
1599
+ }
1600
+
1601
+ /***********************************************************CHECKOUT, ACCOUNT********************************/
1602
+
1603
+ .order-items {
1604
+ width: 100%;
1605
+ overflow: visible;
1606
+ }
1607
+ .title-buttons {
1608
+ font-size: 18px;
1609
+ line-height: 50px;
1610
+ }
1611
+ .fieldset .legend {
1612
+ padding: 0px;
1613
+ font-size: 18px;
1614
+ line-height: 100%;
1615
+ font-weight: normal;
1616
+ border-radius: 2px;
1617
+ margin: 0px 0px 10px 0px;
1618
+ float: none;
1619
+ border: 0;
1620
+ }
1621
+ #opc-review .buttons-set p {
1622
+ margin: 0;
1623
+ line-height: 100%;
1624
+ }
1625
+ .dashboard .box-reviews .number {
1626
+ background: #fff;
1627
+ border: 1px solid #dadada !important;
1628
+ color: #999999;
1629
+ border-radius: 3px;
1630
+ }
1631
+ .dashboard .box-reviews .details {
1632
+ margin-left: 25px;
1633
+ padding-top: 3px;
1634
+ }
1635
+ .box-account .box-head h2, .account-login .new-users h2, .account-login .registered-users h2 {
1636
+ background: none;
1637
+ }
1638
+ .title-buttons .button {
1639
+ margin-top: 5px;
1640
+ }
1641
+ .advanced-search-summary strong {
1642
+ padding-left: 0;
1643
+ }
1644
+ .block-progress {
1645
+ margin-top: 0;
1646
+ }
1647
+ .block-progress dt {
1648
+ font-size:12px;
1649
+ padding-left:0px;
1650
+ }
1651
+ .block-progress dd {
1652
+ border: 0;
1653
+ padding: 8px 0px;
1654
+ margin: 0 0 6px;
1655
+ }
1656
+ .block-account .block-content li a, .page-sitemap .links a {
1657
+ text-decoration: none;
1658
+ }
1659
+ .checkout-onepage-index .data-table tfoot tr td, .subtotal td, .shipping td {
1660
+ background: #fcfcfc none !important;
1661
+ }
1662
+ #opc-review .buttons-set {
1663
+ padding: 20px 0px;
1664
+ border: 0;
1665
+ }
1666
+ .opc .step-title h2 {
1667
+ font-size: 18px;
1668
+ font-weight: normal;
1669
+ line-height: 25px;
1670
+ }
1671
+ .opc .active .step-title .number {
1672
+ background: #999;
1673
+ border: 0;
1674
+ color: #fff;
1675
+ border-radius: 50%;
1676
+ padding: 5px 10px;
1677
+ margin: 0 5px 0 0;
1678
+ font: bold 10px/14px arial, helvetica, sans-serif;
1679
+ }
1680
+ .opc .step-title .number {
1681
+ background: #fff;
1682
+ border: 1px solid #c3c3c3;
1683
+ color: #000;
1684
+ border-radius: 50%;
1685
+ padding: 5px 10px;
1686
+ font: bold 11px/14px arial, helvetica, sans-serif;
1687
+ }
1688
+ .form-list label {
1689
+ font-size: 16px;
1690
+ font-weight: normal;
1691
+ }
1692
+ .col-main .step li, .col-main .step li {
1693
+ list-style-type: none;
1694
+ list-style-position: inside;
1695
+ margin-bottom: 5px;
1696
+ }
1697
+ .col-main .step dl dt {
1698
+ background:none;
1699
+ padding-left: 0px;
1700
+ }
1701
+ .checkout-multishipping-shipping .box-sp-methods {
1702
+ padding: 0;
1703
+ }
1704
+ .multiple-checkout h2 {
1705
+ font-size: 18px;
1706
+ }
1707
+ .col-main .box-content dl dt {
1708
+ background: none;
1709
+ padding-left: 0px;
1710
+ }
1711
+ /*****order and returns***********/
1712
+ .col1-layout .form-alt {
1713
+ padding: 5% 5% 10% 5%;
1714
+ }
1715
+ .form-alt .input-box {
1716
+ margin-bottom: 20px;
1717
+ max-width: 90%;
1718
+ }
1719
+ .form-alt .input-text {
1720
+ max-width: 90%;
1721
+ }
1722
+ /**************************************************************HOME PAGE v1 ***********************************/
1723
+
1724
+ .col_left, .col_cent {
1725
+ float: left;
1726
+ position: relative;
1727
+ width: 240px;
1728
+ text-align: center;
1729
+ background: url(../images/top_sp.gif) no-repeat 100% 50%;
1730
+ }
1731
+ .col_right {
1732
+ float: right;
1733
+ position: relative;
1734
+ width: 240px;
1735
+ text-align: center;
1736
+ }
1737
+ .data-table tr td .product-name a {
1738
+ padding-top: 5px;
1739
+ font-weight: bold;
1740
+ }
1741
+ /******************HOME PAGE V0*****************/
1742
+ /*Compare*/
1743
+ .compare-table .btn-remove {
1744
+ height: 11px;
1745
+ width: 57px;
1746
+ margin: 3px 0px 3px 0px;
1747
+ background-color: transparent;
1748
+ background-image: url(data:image/gif;base64,R0lGODdhSAAPAPYAAPX19X19fX9/f93d3YCAgPLy8oGBgXx8fN/f335+ft7e3vDw8PHx8eDg4Hl5eXt7e+zs7Hp6etzc3OHh4dvb24KCgu7u7u/v7+rq6u3t7ePj44SEhOLi4oODg5OTk3d3d3h4eOjo6OTk5Nra2ouLi5SUlOvr65mZmenp6ZCQkObm5uXl5XZ2dtnZ2Y+Pj4iIiJKSkoeHh3V1dZaWloqKioaGhnR0dJeXl5iYmNjY2Jubm/Pz8/T09Pb29vj4+Pn5+fr6+vf39/z8/Pv7+/7+/v39/f///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAASAAPAAAH/4BGQ0VGhEYYCgoDHAOJCggUGjkNjQ0SEwgNFBMDmgoTLQidmAqMEqKMAwiiChIUohIaIxOvIxoSrQMTEka9vj0oQES9hMNGQkK9Q0ZEwz69w8NAvoXLRMu+P4KFRtq904XDRUSGy0IIvslGJhBBDDw7PTwMAAU8QQU7AD48PwtCPBYA2PGDQZEFBYP8CBLERw+GFhYU4QHkghAIRXYs6AHgR4EhG+9x5AcgCAJDw4KE0LfDRxB4Rgo49DFkRxEGDQsAcdjjB0ULPxwCYNCjx46aPIhwfKiP4YIhBYIMFHKhpUweJd9NIHYMggUfQH4A6OgDQoUDHRwIkDfEqI94Rf+G8iPyskfbIEMu/BCyY8c9mVB9vMX7coiIDEaGqhCCT4gPBdCM7AjRE++QsD+KCOgAYMgBAUUYDhHyA0gPITuB7Ej9bEcQI0UF/RgkuNtrHriJYCCBY8WCEjRUSDbigwKzYxkkCnOZGW+AA0WEEHCQuAMBENMCPEggwICACgBgV/j+WoAD0gEC/PjxfAODb0MgnLDhwcWHGRC6heVwzAgPDOYMscw0RRThXQLaGQGEAAkMYYB6ARBgRAACDNGdDwY8QEQEEvoQA4cNGiFAAENEUIEPPxAxDQoeHJCAB/n1oKARAxijwWvF9JLMNNw5SEAyCbgYgAE/JCBhhEUcYID/EA5sUMR0vTxH4TEEIPgAAdH1l0EJDxgAAwaF7NjAMBZc0J8w4xRTxHPMgCCAEBsIMIyMV/ogAAtGECCDEQZ8wCd1QnjH4TLbEaLOMQCc8IEHJESgw3u+NKBgCNq8poyOxAWp4AZYTvicAEZEcIARDnSwZgRRgvAAN0NUYAAhhDhwQA3URZPBCzdg8EMKKSBWIBGSRpSOMdf4QggPRry2jCGHJtMMcbAN28wwyPQ3hDfHxWRmYgtwVcQARZgg46UF+qJUtsck41gvBRxHDqvfGNNLbcdYw0y1/RWBLRCGGNEABO0yIy+sxjDbHzWECEPNgMkyg40x4HSzTcENb4PtJDIIiKBNwgWCs4ylCAvC7zasPnxcZsZoQ6AQ0lDzbsPFkkxjIAA7);
1749
+ background-repeat: no-repeat;
1750
+ background-position: 0 0;
1751
+ }
1752
+ .compare-table .btn-remove:hover {
1753
+ background-color: transparent;
1754
+ background-image: url(data:image/gif;base64,R0lGODdhSAAPAPYAAPX19X19fX9/f93d3YCAgPLy8oGBgXx8fN/f335+ft7e3vDw8PHx8eDg4Hl5eXt7e+zs7Hp6etzc3OHh4dvb24KCgu7u7u/v7+rq6u3t7ePj44SEhOLi4oODg5OTk3d3d3h4eOjo6OTk5Nra2ouLi5SUlOvr65mZmenp6ZCQkObm5uXl5XZ2dtnZ2Y+Pj4iIiJKSkoeHh3V1dZaWloqKioaGhnR0dJeXl5iYmNjY2Jubm/Pz8/T09Pb29vj4+Pn5+fr6+vf39/z8/Pv7+/7+/v39/f///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAASAAPAAAH/4BGQ0VGhEYYCgoDHAOJCggUGjkNjQ0SEwgNFBMDmgoTLQidmAqMEqKMAwiiChIUohIaIxOvIxoSrQMTEka9vj0oQES9hMNGQkK9Q0ZEwz69w8NAvoXLRMu+P4KFRtq904XDRUSGy0IIvslGJhBBDDw7PTwMAAU8QQU7AD48PwtCPBYA2PGDQZEFBYP8CBLERw+GFhYU4QHkghAIRXYs6AHgR4EhG+9x5AcgCAJDw4KE0LfDRxB4Rgo49DFkRxEGDQsAcdjjB0ULPxwCYNCjx46aPIhwfKiP4YIhBYIMFHKhpUweJd9NIHYMggUfQH4A6OgDQoUDHRwIkDfEqI94Rf+G8iPyskfbIEMu/BCyY8c9mVB9vMX7coiIDEaGqhCCT4gPBdCM7AjRE++QsD+KCOgAYMgBAUUYDhHyA0gPITuB7Ej9bEcQI0UF/RgkuNtrHriJYCCBY8WCEjRUSDbigwKzYxkkCnOZGW+AA0WEEHCQuAMBENMCPEggwICACgBgV/j+WoAD0gEC/PjxfAODb0MgnLDhwcWHGRC6heVwzAgPDOYMscw0RRThXQLaGQGEAAkMYYB6ARBgRAACDNGdDwY8QEQEEvoQA4cNGiFAAENEUIEPPxAxDQoeHJCAB/n1oKARAxijwWvF9JLMNNw5SEAyCbgYgAE/JCBhhEUcYID/EA5sUMR0vTxH4TEEIPgAAdH1l0EJDxgAAwaF7NjAMBZc0J8w4xRTxHPMgCCAEBsIMIyMV/ogAAtGECCDEQZ8wCd1QnjH4TLbEaLOMQCc8IEHJESgw3u+NKBgCNq8poyOxAWp4AZYTvicAEZEcIARDnSwZgRRgvAAN0NUYAAhhDhwQA3URZPBCzdg8EMKKSBWIBGSRpSOMdf4QggPRry2jCGHJtMMcbAN28wwyPQ3hDfHxWRmYgtwVcQARZgg46UF+qJUtsck41gvBRxHDqvfGNNLbcdYw0y1/RWBLRCGGNEABO0yIy+sxjDbHzWECEPNgMkyg40x4HSzTcENb4PtJDIIiKBNwgWCs4ylCAvC7zasPnxcZsZoQ6AQ0lDzbsPFkkxjIAA7);
1755
+ background-repeat: no-repeat;
1756
+ background-position: 0 0;
1757
+ }
1758
+ .cart .totals .checkout-types li a {
1759
+ font-size: 11px;
1760
+ }
1761
+ .page-popup .link-print {
1762
+ color: #000000;
1763
+ }
1764
+ .link-cart {
1765
+ font-weight: 700;
1766
+ }
1767
+ /*customer service*/
1768
+ #recently-viewed-items li {
1769
+ padding-left: 0;
1770
+ }
1771
+ .buttons-set .back-link a:link, .buttons-set .back-link a:visited, .mini-products-list .link-cart, .block-service a.more:link, .block-service a.more:visited {
1772
+ background: #dbdbdb;
1773
+ border: 0;
1774
+ text-transform: uppercase;
1775
+ padding: 4px 5px 2px 5px;
1776
+ border-radius: 3px;
1777
+ color: #454545;
1778
+ font: 12px Arial, sans-serif;
1779
+ height: 17px;
1780
+ white-space: nowrap;
1781
+ }
1782
+ .buttons-set .back-link a:hover, .block-service a.more:hover {
1783
+ background: #c4c4c4;
1784
+ color: #000;
1785
+ }
1786
+ /*easy tabs*/
1787
+ .tabs {
1788
+ width: 100%;
1789
+ margin: 15px 0 0 0 !important;
1790
+ overflow: hidden;
1791
+ border-bottom: 0 !important;
1792
+ }
1793
+ .tabs li {
1794
+ border-right: 0;
1795
+ border-left: 0;
1796
+ margin-right: 0px;
1797
+ }
1798
+ .tabs a {
1799
+ font-size: 15px;
1800
+ font-weight: normal;
1801
+ float: left;
1802
+ text-align: center;
1803
+ padding: 10px 12px 10px 12px !important;
1804
+ outline: none;
1805
+ text-decoration:none;
1806
+ -webkit-transition: all .3s ease-in-out;
1807
+ -moz-transition: all .3s ease-in-out;
1808
+ -ms-transition: all .3s ease-in-out;
1809
+ transition: all .3s ease-in-out;
1810
+ background-color: #fff;
1811
+ border-left: 1px solid #fff;
1812
+ border-right: 1px solid #fff;
1813
+ border-top: 1px solid #fff;
1814
+ border-bottom: 1px solid #dadada;
1815
+ display: block;
1816
+ }
1817
+ .tabs li.active a, .tabs li.active a:hover {
1818
+ background: #fff !important;
1819
+ font-weight: normal;
1820
+ color: #000 !important;
1821
+ border-radius: 3px 3px 0px 0px;
1822
+ border-left: 1px solid #ccc;
1823
+ border-right: 1px solid #ccc;
1824
+ border-top: 1px solid #ccc;
1825
+ border-bottom: 1px solid #fff;
1826
+ }
1827
+
1828
+ #product_tabs_related_tabbed_contents li {
1829
+ width: 18%;
1830
+ min-height: 200px;
1831
+ }
1832
+ .product-view .box-up-sell .products-grid td, .product-view .box-up-sell .products-grid .product-image {
1833
+ text-align: left;
1834
+ }
1835
+ .related-checkbox {
1836
+ margin-right: 5px;
1837
+ }
1838
+ .padder {
1839
+ overflow: hidden;
1840
+ border-radius: 0px 2px 2px 2px;
1841
+ }
1842
+ .products-grid .actions li {
1843
+ padding: 0 !important;
1844
+ float: left;
1845
+ }
1846
+ .products-grid .actions .add-to-links {
1847
+ padding-top: 0;
1848
+ }
1849
+ p.link {
1850
+ font-style: normal;
1851
+ text-align: left;
1852
+ padding: 3px 0px 0px 0px;
1853
+ margin: 0;
1854
+ border-top: 1px dotted #999;
1855
+ }
1856
+ a.more {
1857
+ background: #fff;
1858
+ color: #000;
1859
+ font-weight: normal;
1860
+ }
1861
+
1862
+ #outerImageContainer {
1863
+ width: 100%!important;
1864
+ }
1865
+ #popup-login-form {
1866
+ width: 100%!important;
1867
+ max-width: 400px;
1868
+ }
1869
+ /*Custom Menu additional styles*/
1870
+ p.menu_img a {
1871
+ float: left;
1872
+ position: relative;
1873
+ overflow: hidden;
1874
+ }
1875
+ p.menu_img {
1876
+ float: left;
1877
+ position: relative;
1878
+ max-width: 44%;
1879
+ margin-right: 1%;
1880
+ overflow: hidden;
1881
+ }
1882
+ p.menu_img img {
1883
+ margin-right: 20px;
1884
+ }
1885
+ .items {
1886
+ float: left;
1887
+ }
1888
+ .single_menu_product .separate_product_view {
1889
+ float: left;
1890
+ position: relative;
1891
+ clear: none;
1892
+ }
1893
+ div.menu_image {
1894
+ float: left;
1895
+ width: 44%;
1896
+ margin-right: 1%;
1897
+ overflow: hidden;
1898
+ }
1899
+ div.menu_image img {
1900
+ margin-bottom: 10px;
1901
+ max-width: 100%;
1902
+ height: auto;
1903
+ width: auto\9; /* ie8 */
1904
+ }
1905
+ div.menu_image h2 {
1906
+ font-size: 14px;
1907
+ }
1908
+ .best_sellers {
1909
+ text-transform: uppercase;
1910
+ font: 16px/20px "Lucida Grande",Helvetica,Arial, sans-serif;
1911
+ background: #f5f5f5;
1912
+ padding: 0.5% 1%;
1913
+ margin-bottom: 1%;
1914
+ border-radius: 3px;
1915
+ }
1916
+ .category-products {
1917
+ margin-bottom: 3%;
1918
+ }
1919
+ /*AW blog*/
1920
+ .block-blog .block-title strong {
1921
+ background: none;
1922
+ }
1923
+ .postTitle h3 {
1924
+ font-size: 11px !important;
1925
+ font-weight: normal !important;
1926
+ text-transform: none;
1927
+ }
1928
+ .block-blog .menu-categories, .block-blog .menu-recent {
1929
+ padding: 0;
1930
+ margin: 0;
1931
+ }
1932
+ .block-blog ul {
1933
+ margin-bottom: 10px;
1934
+ }
1935
+ .block-blog .menu-categories ul li, .block-blog .menu-recent ul li {
1936
+ margin-left: 0px;
1937
+ margin-bottom: 5px;
1938
+ }
1939
+ .block-blog .menu-recent ul li a, .block-blog .menu-categories ul li a, .block-blog .menu-tags ul li a {
1940
+ font-size: 14px;
1941
+ }
1942
+ .block-blog .menu-tags UL LI {
1943
+ display: inline;
1944
+ margin-left: 0px;
1945
+ padding: 2px;
1946
+ }
1947
+ .menu-tags, .menu-categories, .menu-recent {
1948
+ margin: auto;
1949
+ }
1950
+ .blog {
1951
+ border: 0;
1952
+ margin: 0 0 10px;
1953
+ background: url(../images/block_bg.gif) repeat-y 0 0;
1954
+ }
1955
+ .blog .head {
1956
+ border-bottom: 0px;
1957
+ padding: 0px 0px 1px 0px;
1958
+ background: #ffffff url(../images/block_head_line.gif) no-repeat 50% 100%;
1959
+ }
1960
+ .blog .head h4 {
1961
+ font: bold 12px Tahoma, sans-serif;
1962
+ padding: 6px 10px 6px 10px;
1963
+ margin-bottom: 0px;
1964
+ text-transform: none;
1965
+ background: #ffffff url(../images/block_head.png) no-repeat 50% 0% !important;
1966
+ }
1967
+ .menu-tags h5 {
1968
+ margin-bottom: 0;
1969
+ padding-top: 3px;
1970
+ }
1971
+ .breadcrumbs .blog {
1972
+ background: transparent none;
1973
+ }
1974
+ /*Capcha*/
1975
+ .captcha-img {
1976
+ height: 50px;
1977
+ }
1978
+
1979
+ /*CSS3 Transition*/
1980
+ .form-search button.button, .header .links li a, .block-cart-top a.title, .promo a, .submenu .block-header-subscribe button.button, a.link-wishlist, a.link-compare, .product-name a, a.more, .pager .pages li a, .sorter a, #crosssell-products-list li.item:hover button.button, .product-shop .add-to-cart button.button, .checkout-types button.button, .data-table tr:hover td, .data-table button.button, .buttons-set button.button, .block-blog a {
1981
+ -webkit-transition: all .3s linear;
1982
+ -moz-transition: all .3s linear;
1983
+ -ms-transition: all .3s linear;
1984
+ transition: all .3s linear;
1985
+ }
1986
+ /*Non transition*/
1987
+ .cart .crosssell li.item .add-to-links {
1988
+ -webkit-transition: all .0s linear;
1989
+ -moz-transition: all .0s linear;
1990
+ -ms-transition: all .0s linear;
1991
+ transition: all .0s linear;
1992
+ }
1993
+ /*IE7 fix */
1994
+ *+html .upper-header {
1995
+ width: 300px;
1996
+ }
1997
+ *+html div.search {
1998
+ width: 480px;
1999
+ }
2000
+ /*end IE7 fix */
2001
+ @media all and (max-width: 800px) {
2002
+ .bo_docklink {
2003
+ display: none!important;
2004
+ }
2005
+ }
2006
+ #popup-calculator-form {
2007
+ width: 100%!important;
2008
+ max-width: 700px;
2009
+ }
2010
+ #outerImageContainer {
2011
+ width: 100%!important;
2012
+ }
2013
+ #popup-login-form {
2014
+ width: 100%!important;
2015
+ max-width: 400px;
2016
+ }
2017
+
2018
+ /*Fixed width catalog*/
2019
+ ul.products-grid li {
2020
+ padding-bottom: 60px;
2021
+ }
2022
+ ul.products-grid li .add-to-links li {
2023
+ width: 100%;
2024
+ text-align: center;
2025
+ }
2026
+ ul.products-grid li .actions {
2027
+ bottom: 0;
2028
+ position: absolute;
2029
+ display: block;
2030
+ }
2031
+ .category-column-count-2 ul.products-grid li, .category-column-count-2 .actions {
2032
+ width: 50%;
2033
+ }
2034
+ .category-column-count-3 ul.products-grid li, .category-column-count-3 .actions {
2035
+ width: 33%;
2036
+ }
2037
+ .category-column-count-4 ul.products-grid li, .category-column-count-4 .actions {
2038
+ width: 25%;
2039
+ }
2040
+ .category-column-count-5 ul.products-grid li, .category-column-count-5 .actions {
2041
+ width: 20%;
2042
+ }
2043
+ .category-column-count-6 ul.products-grid li, .category-column-count-6 .actions {
2044
+ width: 16%;
2045
+ }
2046
+ .category-column-count-7 ul.products-grid li, .category-column-count-7 .actions {
2047
+ width: 14%;
2048
+ }
2049
+ .category-column-count-8 ul.products-grid li, .category-column-count-8 .actions {
2050
+ width: 12%;
2051
+ }
2052
+ /************************************************************** TEXT *********************************************/
2053
+ .link-wishlist, .link-compare, .old-price .price-label, .special-price .price-label {
2054
+ font-weight: normal;
2055
+ }
2056
+ .block-account .block-content li a, .page-sitemap .links a {
2057
+ font-weight: normal !important;
2058
+ }
2059
+ .old-price .price-label, .special-price .price-label, .block-shipping-calculator .block-content li label, .validation-advice, .block-shipping-results li {
2060
+ font-size: 11px;
2061
+ }
2062
+ .price-as-configured .price-label, .block-progress dt.complete {
2063
+ font-weight: bold;
2064
+ }
2065
+ .std ul.disc {
2066
+ list-style-type: circle;
2067
+ }
2068
+ /**********************************************************BACKGOUND*****************************************************/
2069
+ /*background- forms */
2070
+ .tool-tip, .data-table, .data-table tfoot tr, .data-table .odd, .data-table .even, .fieldset .legend, .advanced-search-summary, .data-table tbody.odd tr, .data-table tbody.odd tr td, .tags-list, .header .form-search .search-autocomplete {
2071
+ background-color:#ffffff;
2072
+ }
2073
+ /*background- foocus */
2074
+ input.input-text:focus, select:focus, textarea:focus {
2075
+ background-color: #ffffff;
2076
+ }
2077
+ /*background-title*/
2078
+ .addresses-list li.item, .pager, .account-login .buttons-set, .block-cart .subtotal, .product-options-bottom, .order-info, .validation-advice {
2079
+ background-color: #fcfcfc;
2080
+ }
2081
+ /*border - forms */
2082
+ .add-to-cart .qty {
2083
+ border: 1px solid #cacaca;
2084
+ }
2085
+ .addresses-list li.item, .advanced-search-summary, .account-login .content, .account-login .buttons-set, .account-login h2, .block-cart .subtotal, .product-options, .product-options-bottom, .order-info, .order-info-box, .tags-list, .header .form-search .search-autocomplete ul, .header .form-search .search-autocomplete li, .fieldset, .fieldset .legend, .wp-shipping-calculator-popup, .sales-guest-form .col1-layout .block-content, .multiple-checkout .col2-set, .multiple-checkout .col3-set, .multiple-checkout .col2-set h2.legend, .checkout-multishipping-shipping .box-sp-methods {
2086
+ border-color: #d9d9d9 !important;
2087
+ border-radius: 3px;
2088
+ background: #fff;
2089
+ }
2090
+ .validation-failed {
2091
+ background-color: #cfcfd0 !important;
2092
+ }
2093
+ /*grayscale color*/
2094
+ .product-view .box-reviews .form-add h3 {
2095
+ color: #808080;
2096
+ }
2097
+ .title-buttons a.link-reorder, .title-buttons a.link-print, .price-as-configured .price-label, .data-table .price {
2098
+ color: #000000;
2099
+ }
2100
+ .data-table .product-name a:hover, .data-table td .product-name a:hover, .sp-methods label, .product-options dt label, .block-shipping-calculator .block-content li label {
2101
+ color: #000000 !important;
2102
+ }
2103
+ .block-shipping-results, .block-shipping-results .price {
2104
+ color: #ffffff;
2105
+ }
skin/frontend/default/grayscale/css/slider.css ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*to remove numbers delete / * * / below */
2
+ /*
3
+ .stripNav {
4
+ display: none;
5
+ }*/
6
+
7
+ /*to show arrows insert / * * / below */
8
+ /*.stripNavL, .stripNavR {
9
+ display: none;
10
+ }*/
11
+
12
+ /********************************************************************/
13
+ #slider-content {
14
+ height: 330px;
15
+ width: 100%;
16
+ }
17
+ .slider-wrap img {
18
+ max-width: 100%;
19
+ height: auto;
20
+ width: auto\9; /* ie8 */
21
+ }
22
+ p#cross-links {
23
+ text-align: center
24
+ }
25
+ p#cross-links {
26
+ border-bottom: 1px solid #ccc;
27
+ margin-bottom: 30px;
28
+ padding-bottom: 30px
29
+ }
30
+ noscript p, noscript ol {
31
+ color: #a00;
32
+ font-size: 13px;
33
+ line-height: 1.4em;
34
+ text-align: left
35
+ }
36
+ noscript ol {
37
+ margin-left: 25px;
38
+ }
39
+ a:focus {
40
+ outline:none
41
+ }
42
+ img {
43
+ border: 0
44
+ }
45
+ .stripViewer .panelContainer .panel ul {
46
+ text-align: left;
47
+ margin: 0;
48
+ }
49
+ .slider-wrap {
50
+ margin: 0px 0px 0px 0px;
51
+ position: relative;
52
+ width: 100%;
53
+ z-index: 0;
54
+ }
55
+ .slider-wrap .slider-wrap {
56
+ width: 100%;
57
+ height: 100%;
58
+ }
59
+ .csw {
60
+ width: 100%;
61
+ height: 280px;
62
+ background: #fff;
63
+ overflow: hidden;
64
+ $display: none;
65
+ }
66
+ .csw .loading {
67
+ margin: 200px 0 300px 0;
68
+ text-align: center;
69
+ $display: none;
70
+ }
71
+ .stripViewer {
72
+ position: relative;
73
+ overflow: hidden;
74
+ border: 0px solid #000;
75
+ margin: auto;
76
+ width: 950px;
77
+ height: 280px;
78
+ clear: both;
79
+ background: #ffffff;
80
+ }
81
+ .stripViewer .panelContainer {
82
+ position: relative;
83
+ left: 0;
84
+ top: 0;
85
+ width: 100%;
86
+ list-style-type: none;
87
+ }
88
+ .stripViewer .panelContainer .panel {
89
+ float:left;
90
+ height: 100%;
91
+ position: relative;
92
+ width: 950px;
93
+ }
94
+ .stripViewer .panelContainer .panel .wrapper {
95
+ padding: 0px !important;
96
+ width: 950px !important;
97
+ min-width: 950px !important;
98
+ background: #ffffff !important;
99
+ }
100
+ .stripViewer .panelContainer .panel .wrapper p {
101
+ margin: 0 !important;
102
+ padding: 0 !important;
103
+ }
104
+ .stripNav {
105
+ margin: 0px 0px 0px 0px;
106
+ position: absolute;
107
+ bottom: 10px;
108
+ right: 10px;
109
+ z-index: 100;
110
+ }
111
+ .stripNav ul {
112
+ list-style: none;
113
+ }
114
+ .stripNav ul li {
115
+ float: left;
116
+ margin-right: 2px;
117
+ }
118
+ .stripNav a {
119
+ font-size: 12px;
120
+ font-weight: normal;
121
+ text-align: center;
122
+ line-height: 12px;
123
+ background: #fff;
124
+ color: #fff;
125
+ text-decoration: none;
126
+ display: block;
127
+ padding: 0;
128
+ width: 12px;
129
+ height: 12px;
130
+ border: 1px solid #999;
131
+ opacity: 0.6;
132
+ filter:progid:DXImageTransform.Microsoft.Alpha(opacity=60);
133
+ float: left;
134
+ margin-right: 2px;
135
+ border-radius: 50%;
136
+ }
137
+ .stripNav a:hover {
138
+ opacity: 0.8;
139
+ filter:progid:DXImageTransform.Microsoft.Alpha(opacity=80);
140
+ }
141
+ .stripNav a.activeSlide {
142
+ opacity: 1;
143
+ filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);
144
+ }
145
+ .stripNav li a:hover {
146
+ opacity: 1;
147
+ filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);
148
+ }
149
+ .stripNav li a.current {
150
+ }
151
+ .stripNavL, .stripNavR {
152
+ position: absolute;
153
+ top: 5%;
154
+ text-indent: -9000em;
155
+ z-index: 120;
156
+ width: 20px;
157
+ opacity: 0.4;
158
+ filter:progid:DXImageTransform.Microsoft.Alpha(opacity=40);
159
+ }
160
+ .stripNavL a, .stripNavR a {
161
+ display: block;
162
+ height: 32px;
163
+ width: 20px;
164
+ margin: 0;
165
+ padding: 0;
166
+ }
167
+ .stripNavL:hover, .stripNavR:hover {
168
+ opacity: 0.6;
169
+ filter:progid:DXImageTransform.Microsoft.Alpha(opacity=60);
170
+ }
171
+ .stripNavL {
172
+ left: 0px;
173
+ }
174
+ .stripNavR {
175
+ right: 0px;
176
+ }
177
+ .stripNavL {
178
+ background: url(../images/slider/arr_right.png) no-repeat center;
179
+ }
180
+ .stripNavR {
181
+ background: url(../images/slider/arr_left.png) no-repeat center;
182
+ }
183
+ .stripNavL, .stripNavR {
184
+ display: none;
185
+ }
186
+ /*sidebar slider*/
187
+ .sidebar .stripNav a {
188
+ font-size: 6px;
189
+ line-height: 6px;
190
+ width: 6px;
191
+ height: 6px;
192
+ }
193
+ .sidebar .stripNav {
194
+ margin: 0px 0px 0px 0px;
195
+ position: absolute;
196
+ bottom: 3px;
197
+ left: 3px;
198
+ z-index: 100;
199
+ }
200
+
skin/frontend/default/grayscale/css/styles-ie.css ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Doubled Margin Fixes */
2
+ .product-view .product-img-box .more-views li, .product-view .box-tags .form-add .input-box, .sp-methods select.month {
3
+ display:inline;
4
+ }
5
+ /********** < Navigation styles */
6
+ #nav li, #nav li a {
7
+ zoom:1;
8
+ }
9
+ #nav li {
10
+ vertical-align:top;
11
+ }
12
+ /********** < Navigation styles */
13
+
14
+ select {
15
+ margin-bottom:1px;
16
+ }
17
+ input.radio {
18
+ width:13px;
19
+ height:13px;
20
+ }
21
+ input.checkbox {
22
+ width:13px;
23
+ height:13px;
24
+ }
25
+ #opc-review .sp-methods .input-box {
26
+ float:left;
27
+ }
28
+ .form-list label {
29
+ position:relative;
30
+ z-index:0;
31
+ }
32
+ .form-list label.required em {
33
+ position:absolute;
34
+ top:0;
35
+ right:-8px;
36
+ }
37
+ table {
38
+ scrollbar-face-color:expression(runtimeStyle.scrollbarFaceColor = '#fff', cellSpacing = 0);
39
+ }
40
+ .product-view .product-img-box .zoom.disabled {
41
+ filter:alpha(opacity=30);
42
+ }
43
+ .gift-messages-form {
44
+ position:relative;
45
+ zoom:1;
46
+ }
47
+ .tool-tip .btn-close a {
48
+ margin:0;
49
+ }
50
+ .product-view .box-tags .product-tags li, .footer li {
51
+ padding:0 4px 0 7px;
52
+ }
53
+ .product-options dd .time-picker select {
54
+ margin:0;
55
+ padding:0;
56
+ }
57
+ /* Clearer */
58
+ .clearer {
59
+ display:block;
60
+ clear:both;
61
+ font-size:0;
62
+ line-height:0;
63
+ height:0;
64
+ overflow:hidden;
65
+ }
66
+ .checkout-agreements .discount {
67
+ clear: both;
68
+ }
69
+ /* Clears and hasLayout fixes */
70
+ .header-container, .header-container .top-container, .header, .header .quick-access, #nav, .main, .footer, .footer-container .bottom-container, .col-main, .col2-set, .col3-set, .col3-layout .product-options-bottom .price-box, .col4-set, .messages li, .search-autocomplete li, .block, .block .block-content, .block .actions, .block li.item, .block-poll li, .block-poll .label, .block-layered-nav .currently li, .block-account .block-content li a, .mini-products-list .product-details, .page-title, .rss-title h1, .products-grid, .products-list li.item, .box-account .box-head, .dashboard .box .box-title, .box-reviews li.item, .box-tags li.item, .pager, .sorter, .ratings, .add-to-box, .add-to-cart, .product-essential, .product-collateral, .product-view .product-img-box .more-views ul, .product-view .box-tags .form-add, .product-view .product-shop .short-description, .product-view .box-description, .product-options .options-list li, .product-options, .product-options-bottom, .truncated, .truncated .truncated_full_value, .product-review, .cart, .cart-collaterals, .cart .crosssell li.item, .cart .discount, .opc .step-title, .opc .step, .multiple-checkout, .sp-methods, .checkout-progress, .multiple-checkout .place-order, .form-list li, .form-list .field, .group-select li, .buttons-set, .page-print .print-head, .cart-tax-total, .advanced-search-summary, .advanced-search-summary p, .gift-messages-form .item, .send-friend .form-list li p, .centinel .authentication {
71
+ zoom:1;
72
+ }
73
+ /* Hover Fix */
74
+ iframe.hover-fix {
75
+ position:absolute;
76
+ left:-1px;
77
+ top:-1px;
78
+ z-index:-1;
79
+ background:transparent;
80
+ filter:progid:DXImageTransform.Microsoft.Alpha(style=0, opacity=0);
81
+ }
82
+ /************************************************************************IE7 styles*********************************************************/
83
+
84
+ /*4 banners*/
85
+ *:first-child+html div.four div {
86
+ width: 24%;
87
+ padding: 0 0% 0 0%;
88
+ }
89
+
90
+ *:first-child+html .block-cart-top {
91
+ display: none;
92
+ }
93
+ .block-title strong {
94
+ font-size: 12px !important;
95
+ }
96
+ .block-blog .block-title strong {
97
+ background: none !important;
98
+ padding-left: 3% !important;
99
+ }
100
+ .block-blog .menu-categories ul li, .block-blog .menu-recent ul li {
101
+ margin-left: 0px !important;
102
+ margin-bottom: 5px;
103
+ }
104
+ .top_toolbar_container .welcome-msg {
105
+ width: 99% !important;
106
+ }
107
+ *:first-child+html .col3-layout .col-left {
108
+ width: 21%;
109
+ padding-left: 1%;
110
+ padding-right: 1%;
111
+ }
112
+ *:first-child+html .page {
113
+ width: 1200px;
114
+ }
115
+ *:first-child+html .col2-left-layout .col-main, *:first-child+html .col2-right-layout .col-main {
116
+ width: 920px;
117
+ }
118
+ *:first-child+html .products-grid .actions {
119
+ text-align: left !important;
120
+ margin-left: -40px !important;
121
+ }
122
+ *:first-child+html .products-grid .add-to-links, *:first-child+html .products-grid .add-to-links li {
123
+ clear: both !important;
124
+ margin-left: 0 !important;
125
+ text-align: left !important;
126
+ }
127
+ *:first-child+html div.wp-custom-menu-popup {
128
+ overflow: hidden;
129
+ }
130
+ *:first-child+html div.wp-custom-menu-popup {
131
+ background-color: #f1f1f1 !important;
132
+ background-image: none !important;
133
+ }
134
+ div.wp-one-page-checkout-popup.opc .active .step-title .number, #popup-onepagecheckout-error_btn_close {
135
+ background-image: url(data:image/gif;base64,R0lGODlhFAASAOYAAP39/ba2t8DAwbe3uPX19cHBwru7vbW1tv7+/vDw8Ojo6fLy8+3t7fHx8dra2re3t8HBwdDQ0dbW18PDw9TU1fPz89LS09vb29HR0t3d3u7u79zc3PPz9Ofn57y8vr+/wPj4+dXV1crKy8XFxsjIycvLzO7u7sLCw9LS0vv7+9fX1+Tk5d3d3fj4+Ozs7NnZ2b6+v/7+/cfHx9fX2L+/v7q6vLe3ufT09L29vcnJyri4ub29vrm5urq6u////7u7vLy8vQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAAAAAAALAAAAAAUABIAAAfsgBUUBUA/hj+FiYc/BTMEFwNAPYhAiomVPZIUIjyGlTWViKKIkz8TOTqFPzo0OodAPJWdkjsksT8DEi0XDz87OgINDQKZPzg5sUABKz4+LA82EBXNI6m+yIWZDM0bAhw+ABiphTvYkzwGJj4IIOsWB57Xt6Q9LggxABEH2eTmiDwfEjQD4CDSj2LlbgEBdsNHigXNHASIl7AQDwgQw/XQ0OzFOHmVAnQAZyFADwPbfMiwVnFVhAQo9sHyoEABDISoVHWyRopHj1I9dpToRMlApVBHJRWakCFSqUVQDx5UQSBEgR1Jsx79cUICgUAAOw==) !important;
136
+ }
skin/frontend/default/grayscale/css/styles.css ADDED
@@ -0,0 +1,2977 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*font*/
2
+ @font-face {
3
+ font-family: 'Ubuntu';
4
+ font-style: normal;
5
+ font-weight: bold;
6
+ src: url('ubuntu.eot');
7
+ src: url('ubuntu.eot?#iefix') format('embedded-opentype'), url('ubuntu.ttf') format('truetype'), url('ubuntu.svg#Ubuntu') format('svg');
8
+ font-weight: 300;
9
+ font-style: normal;
10
+ }
11
+ @font-face {
12
+ font-family: 'Ubuntu';
13
+ font-style: normal;
14
+ font-weight: normal;
15
+ src: url('ubuntu.eot');
16
+ src: url('ubuntu.eot?#iefix') format('embedded-opentype'), url('ubuntu.ttf') format('truetype'), url('ubuntu.svg#Ubuntu') format('svg');
17
+ }
18
+ @font-face {
19
+ font-family: 'UbuntuCondensed';
20
+ font-weight: 300;
21
+ font-style: normal;
22
+ src: url('ubuntu_cond.eot');
23
+ src: url('ubuntu_cond.eot?#iefix') format('embedded-opentype'), url('ubuntu_cond.ttf') format('truetype'), url('ubuntu_cond.svg#UbuntuCondensed') format('svg');
24
+ }
25
+ /* Reset ================================================================================= */
26
+ * {
27
+ margin:0;
28
+ padding:0;
29
+ }
30
+ img {
31
+ border:0;
32
+ vertical-align:top;
33
+ }
34
+ a {
35
+ outline: none;
36
+ }
37
+ a:hover {
38
+ outline: none;
39
+ }
40
+ :focus {
41
+ outline:0;
42
+ }
43
+ a:active {
44
+ outline: none;
45
+ }
46
+ /* Forms */
47
+ form {
48
+ display:inline;
49
+ }
50
+ fieldset {
51
+ border:0;
52
+ }
53
+ legend {
54
+ display:none;
55
+ }
56
+ /* Table */
57
+ table {
58
+ border:0; /*border-collapse:collapse;*/
59
+ border-spacing:0;
60
+ empty-cells:show;
61
+ font-size:100%;
62
+ }
63
+ caption, th, td {
64
+ vertical-align:top;
65
+ text-align:left;
66
+ }
67
+ /* Content */
68
+ address {
69
+ font-style:normal;
70
+ line-height:1.35;
71
+ }
72
+ cite {
73
+ font-style:normal;
74
+ }
75
+ q, blockquote {
76
+ quotes:none;
77
+ }
78
+ q:before, q:after {
79
+ content:'';
80
+ }
81
+ /* Lists */
82
+ ul, ol {
83
+ list-style:none;
84
+ }
85
+ /* Tools */
86
+ .hidden {
87
+ display:block !important;
88
+ border:0 !important;
89
+ margin:0 !important;
90
+ padding:0 !important;
91
+ font-size:0 !important;
92
+ line-height:0 !important;
93
+ width:0 !important;
94
+ height:0 !important;
95
+ overflow:hidden !important;
96
+ }
97
+ .nobr {
98
+ white-space:nowrap !important;
99
+ }
100
+ .wrap {
101
+ white-space:normal !important;
102
+ }
103
+ .a-left {
104
+ text-align:left !important;
105
+ }
106
+ .a-center {
107
+ text-align:center !important;
108
+ }
109
+ .a-right {
110
+ text-align:right !important;
111
+ }
112
+ .v-top {
113
+ vertical-align:top;
114
+ }
115
+ .v-middle {
116
+ vertical-align:middle;
117
+ }
118
+ .f-left, .left {
119
+ float:left !important;
120
+ }
121
+ .f-right, .right {
122
+ float:right !important;
123
+ }
124
+ .f-none {
125
+ float:none !important;
126
+ }
127
+ .f-fix {
128
+ float:left;
129
+ width:100%;
130
+ }
131
+ .no-display {
132
+ display:none;
133
+ }
134
+ .no-margin {
135
+ margin:0 !important;
136
+ }
137
+ .no-padding {
138
+ padding:0 !important;
139
+ }
140
+ .no-bg {
141
+ background:none !important;
142
+ }
143
+ .sp {
144
+ display:block !important;
145
+ border:0 !important;
146
+ margin:0 !important;
147
+ padding:0 !important;
148
+ font-size:0 !important;
149
+ line-height:0 !important;
150
+ height:0 !important;
151
+ overflow:hidden !important;
152
+ clear: both;
153
+ }
154
+ /* Layout ================================================================================ */
155
+ .page-print {
156
+ background:#ffffff;
157
+ padding:25px 30px;
158
+ text-align:left;
159
+ }
160
+ .page-empty {
161
+ background:#ffffff;
162
+ padding:20px;
163
+ text-align:left;
164
+ }
165
+ .page-popup {
166
+ background:#ffffff;
167
+ padding:20px;
168
+ text-align:left;
169
+ }
170
+ .page-popup img {
171
+ max-width: 100%;
172
+ height: auto;
173
+ width: auto\9;
174
+ }
175
+ .main {
176
+ margin:0 auto;
177
+ text-align:left;
178
+ }
179
+ /* Global Styles ========================================================================= */
180
+ /* Form Elements */
181
+ input, select, textarea, button {
182
+ vertical-align:middle;
183
+ }
184
+ select {
185
+ padding:0px;
186
+ }
187
+ select option {
188
+ padding-right:10px;
189
+ }
190
+ select.multiselect option {
191
+ padding:2px 5px;
192
+ }
193
+ select.multiselect option:last-child {
194
+ border-bottom:0;
195
+ }
196
+ textarea {
197
+ overflow:auto;
198
+ }
199
+ input.radio {
200
+ margin-right:3px;
201
+ }
202
+ input.checkbox {
203
+ margin-right:3px;
204
+ }
205
+ input.qty {
206
+ width:2.5em;
207
+ }
208
+ button.button::-moz-focus-inner {
209
+ padding:0;
210
+ border:0;
211
+ } /* FF Fix */
212
+ button.button {
213
+ -webkit-border-fit:lines;
214
+ } /* <- Safari & Google Chrome Fix */
215
+ button.button {
216
+ overflow:visible;
217
+ width:auto;
218
+ border:0;
219
+ cursor:pointer;
220
+ }
221
+ button.button span {
222
+ display:block;
223
+ white-space:nowrap;
224
+ }
225
+ button.disabled span {
226
+ border:0;
227
+ }
228
+ p.control input.checkbox, p.control input.radio {
229
+ margin-right:6px;
230
+ }
231
+ .form-list li {
232
+ margin:0 0 8px;
233
+ }
234
+ .form-list label {
235
+ float:left;
236
+ position:relative;
237
+ z-index:0;
238
+ }
239
+ .form-list label.required {
240
+ }
241
+ .form-list label.required em {
242
+ float:right;
243
+ font-style:normal;
244
+ position:absolute;
245
+ top:0;
246
+ right:-8px;
247
+ }
248
+ .form-list li.control label {
249
+ float:none;
250
+ }
251
+ .form-list li.control input.radio, .form-list li.control input.checkbox {
252
+ margin-right:6px;
253
+ }
254
+ .form-list li.control .input-box {
255
+ clear:none;
256
+ display:inline;
257
+ width:auto;
258
+ }
259
+ .form-list .input-box {
260
+ display:block;
261
+ clear:both;
262
+ width: 95%;
263
+ margin-right: 5%;
264
+ max-width: 260px;
265
+ }
266
+ .form-list .field {
267
+ float:left;
268
+ }
269
+ .form-list input.input-text {
270
+ width: 100%;
271
+ }
272
+ .form-list textarea {
273
+ width: 100%;
274
+ max-width: 254px;
275
+ height:10em;
276
+ }
277
+ .form-list select {
278
+ width: 100%;
279
+ }
280
+ .form-list li.wide .input-box {
281
+ width:535px;
282
+ }
283
+ .form-list li.wide input.input-text {
284
+ width:529px;
285
+ }
286
+ .form-list li.wide textarea {
287
+ width:529px;
288
+ }
289
+ .form-list li.wide select {
290
+ width:535px;
291
+ }
292
+ .form-list li.additional-row {
293
+ border-top:1px solid #ccc;
294
+ margin-top:10px;
295
+ padding-top:7px;
296
+ }
297
+ .form-list li.additional-row .btn-remove {
298
+ float:right;
299
+ margin:5px 0 0;
300
+ }
301
+ .form-list .input-range input.input-text {
302
+ width:74px;
303
+ }
304
+ /* Customer */
305
+ .form-list .customer-name-prefix .input-box, .form-list .customer-name-suffix .input-box, .form-list .customer-name-prefix-suffix .input-box, .form-list .customer-name-prefix-middlename .input-box, .form-list .customer-name-middlename-suffix .input-box, .form-list .customer-name-prefix-middlename-suffix .input-box {
306
+ width:auto;
307
+ }
308
+ .form-list .name-prefix {
309
+ width:65px;
310
+ }
311
+ .form-list .name-prefix select {
312
+ width:55px;
313
+ }
314
+ .form-list .name-prefix input.input-text {
315
+ width:49px;
316
+ }
317
+ .form-list .name-suffix {
318
+ width:65px;
319
+ }
320
+ .form-list .name-suffix select {
321
+ width:55px;
322
+ }
323
+ .form-list .name-suffix input.input-text {
324
+ width:49px;
325
+ }
326
+ .form-list .name-middlename {
327
+ width:70px;
328
+ }
329
+ .form-list .name-middlename input.input-text {
330
+ width:49px;
331
+ }
332
+ .form-list .customer-name-prefix-middlename-suffix .name-firstname, .form-list .customer-name-prefix-middlename .name-firstname {
333
+ width:140px;
334
+ }
335
+ .form-list .customer-name-prefix-middlename-suffix .name-firstname input.input-text, .form-list .customer-name-prefix-middlename .name-firstname input.input-text {
336
+ width:124px;
337
+ }
338
+ .form-list .customer-name-prefix-middlename-suffix .name-lastname {
339
+ width:205px;
340
+ }
341
+ .form-list .customer-name-prefix-middlename-suffix .name-lastname input.input-text {
342
+ width:189px;
343
+ }
344
+ .form-list .customer-name-prefix-suffix .name-firstname {
345
+ width:210px;
346
+ }
347
+ .form-list .customer-name-prefix-suffix .name-lastname {
348
+ width:205px;
349
+ }
350
+ .form-list .customer-name-prefix-suffix .name-firstname input.input-text, .form-list .customer-name-prefix-suffix .name-lastname input.input-text {
351
+ width:189px;
352
+ }
353
+ .form-list .customer-name-prefix-suffix .name-firstname {
354
+ width:210px;
355
+ }
356
+ .form-list .customer-name-prefix-suffix .name-lastname {
357
+ width:205px;
358
+ }
359
+ .form-list .customer-name-prefix-suffix .name-firstname input.input-text, .form-list .customer-name-prefix-suffix .name-lastname input.input-text {
360
+ width:189px;
361
+ }
362
+ .form-list .customer-name-prefix .name-firstname, .form-list .customer-name-middlename .name-firstname {
363
+ width:210px;
364
+ }
365
+ .form-list .customer-name-suffix .name-lastname, .form-list .customer-name-middlename .name-firstname, .form-list .customer-name-middlename-suffix .name-firstname, .form-list .customer-name-middlename-suffix .name-lastname {
366
+ width:205px;
367
+ }
368
+ .form-list .customer-name-prefix .name-firstname input.input-text, .form-list .customer-name-suffix .name-lastname input.input-text, .form-list .customer-name-middlename .name-firstname input.input-text, .form-list .customer-name-middlename-suffix .name-firstname input.input-text, .form-list .customer-name-middlename-suffix .name-lastname input.input-text {
369
+ width:189px;
370
+ }
371
+ .form-list .customer-dob .dob-month, .form-list .customer-dob .dob-day, .form-list .customer-dob .dob-year {
372
+ float:left;
373
+ width:85px;
374
+ }
375
+ .form-list .customer-dob input.input-text {
376
+ display:block;
377
+ width:74px;
378
+ }
379
+ .form-list .customer-dob label {
380
+ font-size:10px;
381
+ }
382
+ .form-list .customer-dob .dob-day, .form-list .customer-dob .dob-month {
383
+ width:60px;
384
+ }
385
+ .form-list .customer-dob .dob-day input.input-text, .form-list .customer-dob .dob-month input.input-text {
386
+ width:46px;
387
+ }
388
+ .form-list .customer-dob .dob-year {
389
+ width:140px;
390
+ }
391
+ .form-list .customer-dob .dob-year input.input-text {
392
+ width:134px;
393
+ }
394
+ .buttons-set {
395
+ clear:both;
396
+ margin:1% 0 0 0;
397
+ padding:1% 0 0 0;
398
+ text-align:right;
399
+ }
400
+ .buttons-set p.required {
401
+ margin:0 0 10px;
402
+ }
403
+ .buttons-set .back-link {
404
+ float:left;
405
+ margin:0;
406
+ }
407
+ .buttons-set button.button {
408
+ float:right;
409
+ margin-left:5px;
410
+ }
411
+ .buttons-set-order {
412
+ margin:10px 0 0;
413
+ }
414
+ .buttons-set-order .please-wait {
415
+ padding:12px 7px 0 0;
416
+ }
417
+ .fieldset {
418
+ border:1px solid;
419
+ padding:22px 25px 12px 33px;
420
+ margin:28px 0;
421
+ }
422
+ .fieldset .legend {
423
+ float:left;
424
+ border:1px solid;
425
+ margin:-33px 0 0 -10px;
426
+ padding:0 8px;
427
+ position:relative;
428
+ }
429
+ /* Form Validation */
430
+ .validation-advice {
431
+ clear:both;
432
+ min-height:13px;
433
+ margin:3px 0 0;
434
+ line-height:13px;
435
+ }
436
+ .validation-failed {
437
+ border:0 !important;
438
+ background:#faebe7 !important;
439
+ }
440
+ p.required {
441
+ text-align:right;
442
+ }
443
+ /* Expiration date and CVV number validation fix */
444
+ .v-fix {
445
+ float:left;
446
+ }
447
+ .v-fix .validation-advice {
448
+ display:block;
449
+ width:12em;
450
+ margin-right:-12em;
451
+ position:relative;
452
+ }
453
+ /* Global Messages */
454
+ .messages, .messages ul {
455
+ list-style:none !important;
456
+ margin:0 !important;
457
+ padding:0 !important;
458
+ }
459
+ .messages {
460
+ width:100%;
461
+ overflow:hidden;
462
+ }
463
+ .messages li {
464
+ margin:0 0 10px !important;
465
+ }
466
+ .messages li li {
467
+ margin:0 0 3px !important;
468
+ }
469
+ .error-msg, .success-msg, .note-msg, .notice-msg {
470
+ min-height: 16px;
471
+ padding:1% 5%;
472
+ }
473
+ /* Page Heading */
474
+ .page-title {
475
+ width:100%;
476
+ overflow:hidden;
477
+ }
478
+ .page-title h1, .page-title h2 {
479
+ margin:0;
480
+ }
481
+ .page-title .separator {
482
+ margin:0 3px;
483
+ }
484
+ .page-title .link-rss {
485
+ float:right;
486
+ margin:7px 0 0;
487
+ }
488
+ .title-buttons {
489
+ text-align:right;
490
+ }
491
+ .title-buttons h1, .title-buttons h2, .title-buttons h3, .title-buttons h4, .title-buttons h5, .title-buttons h6 {
492
+ float:left;
493
+ }
494
+ .subtitle {
495
+ clear:both;
496
+ padding:15px 0 0;
497
+ margin:0 0 6px;
498
+ }
499
+ /* Pager */
500
+ .pager {
501
+ padding:4px 8px;
502
+ text-align:center;
503
+ }
504
+ .pager .amount {
505
+ float:left;
506
+ margin:0;
507
+ }
508
+ .pager .limiter {
509
+ float:right;
510
+ }
511
+ .pager .limiter label {
512
+ vertical-align:middle;
513
+ }
514
+ .pager .limiter select {
515
+ padding:0;
516
+ margin:0 0 1px;
517
+ vertical-align:middle;
518
+ }
519
+ .pager .pages ol {
520
+ display:inline;
521
+ }
522
+ .pager .pages li {
523
+ display:inline;
524
+ margin:0 2px;
525
+ }
526
+ .pager .pages .current {
527
+ }
528
+ /* Sorter */
529
+ .sorter {
530
+ padding:3px 8px;
531
+ }
532
+ .sorter .view-mode {
533
+ float:left;
534
+ margin:0;
535
+ }
536
+ .sorter .sort-by {
537
+ float:right;
538
+ padding-right:36px;
539
+ }
540
+ .sorter .sort-by label {
541
+ vertical-align:middle;
542
+ }
543
+ .sorter .sort-by select {
544
+ padding:0;
545
+ margin:0 0 1px;
546
+ vertical-align:middle;
547
+ }
548
+ /* Toolbar */
549
+ .toolbar .pager {
550
+ padding:3px 8px;
551
+ }
552
+ /* Data Table */
553
+ .data-table {
554
+ width:100%;
555
+ }
556
+ .data-table td.last, .data-table th.last {
557
+ border-right:0;
558
+ }
559
+ .data-table th {
560
+ padding:3px 8px;
561
+ }
562
+ .data-table td {
563
+ padding:3px 8px;
564
+ }
565
+ .data-table thead th {
566
+ padding:2px 8px;
567
+ white-space:nowrap;
568
+ vertical-align:middle;
569
+ }
570
+ .data-table thead th.wrap {
571
+ white-space:normal;
572
+ }
573
+ .data-table thead th .tax-flag {
574
+ white-space:nowrap;
575
+ }
576
+ .data-table tfoot td {
577
+ padding-top:1px;
578
+ padding-bottom:1px;
579
+ border-bottom:0;
580
+ }
581
+ /* Bundle products tables */
582
+ .data-table tbody.odd tr td, .data-table tbody.even tr td {
583
+ border-bottom:0;
584
+ }
585
+ .data-table tbody td .option-label {
586
+ font-style:italic;
587
+ }
588
+ .data-table tbody td .option-value {
589
+ padding-left:10px;
590
+ }
591
+ /* Generic Info Box */
592
+ .info-box {
593
+ padding:12px 15px;
594
+ margin:0 0 15px;
595
+ }
596
+ .info-table th {
597
+ padding:2px 15px 2px 0;
598
+ }
599
+ .info-table td {
600
+ padding:2px 0;
601
+ }
602
+ /* Shopping cart total summary row expandable to details */
603
+ tr.summary-total {
604
+ cursor:pointer;
605
+ }
606
+ tr.summary-total .summary-collapse {
607
+ float:right;
608
+ text-align:right;
609
+ padding-left:20px;
610
+ background-position: 0 5px;
611
+ background-image: url(data:image/gif;base64,R0lGODlhCQBCAPABALq6ugAAACH5BAUAAAEALAAAAAAJAEIAAAIyRIwXy2z7lGsI2DSz3A2qFHXiSJbmiabqyrbuC8fyTNf2jefUx5OhJqpcOJ2fx8dDFAAAOw==);
612
+ background-repeat: no-repeat;
613
+ cursor:pointer;
614
+ }
615
+ tr.show-details .summary-collapse {
616
+ background-position:0 -52px;
617
+ }
618
+ tr.summary-details-excluded {
619
+ font-style:italic;
620
+ }
621
+ /* Shopping cart tax info */
622
+ .cart-tax-info {
623
+ display:block;
624
+ }
625
+ .cart-tax-info, .cart-tax-info .cart-price {
626
+ padding-right:20px;
627
+ }
628
+ .cart-tax-total {
629
+ display:block;
630
+ padding-right:20px;
631
+ background-repeat: no-repeat;
632
+ background-image: url(data:image/gif;base64,R0lGODlhCQBCAPABALq6ugAAACH5BAUAAAEALAAAAAAJAEIAAAIyRIwXy2z7lGsI2DSz3A2qFHXiSJbmiabqyrbuC8fyTNf2jefUx5OhJqpcOJ2fx8dDFAAAOw==);
633
+ background-position: 100% 5px;
634
+ cursor:pointer;
635
+ }
636
+ .cart-tax-info .price, .cart-tax-total .price {
637
+ display:inline !important;
638
+ }
639
+ .cart-tax-total-expanded {
640
+ background-position:100% -52px;
641
+ }
642
+ /* Class: std - styles for admin-controlled content */
643
+ .std .subtitle {
644
+ padding:0;
645
+ }
646
+ .std ol.ol {
647
+ list-style:decimal outside;
648
+ padding-left:1.5em;
649
+ }
650
+ .std ul.disc {
651
+ list-style:disc outside;
652
+ padding-left:18px;
653
+ margin:0 0 10px;
654
+ }
655
+ .std dl dd {
656
+ margin:0 0 10px;
657
+ }
658
+ /* Misc */
659
+ .link-rss {
660
+ background-color: transparent;
661
+ background-image: url(data:image/gif;base64,R0lGODdhDAAMAPUAAPR5P/iykPm+ofWGUvN1OfNtLfiphPNzNvWJVfNvMfN4PvR4PfN/R/ebb/m6nP738/emf/ivjfJoJviui/NuL/WNXPzh1PWLWf3k2fehePingP3n3PeccfNyNPaWaPeedPiwjvaabfJqKvNwMviqhvaYbPWMWvR6QPWFUP749f7v6P7u5/N0OPR/R/fczvN3O/WETvSBS/R7QvSASfSDTPR+Rv///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAADAAMAAAGe0CXAiCrtWI0GG0mHHlaxNosiWKwWDbbSoCgImWvhmBjUzVQMWkNIPjMDKlUqHYyyrIqEie1or1kaQgBKjYGGjYBBwtLGQEmKisnKxgJBEopNiATNiUONgUsAzAWDxUXNhEQNgMUM2h0LwcJBSISLy4MLTM1MgsELB23QQA7);
662
+ background-position: 0 2px;
663
+ background-repeat: no-repeat;
664
+ padding-left:18px;
665
+ line-height:14px;
666
+ white-space:nowrap;
667
+ }
668
+ .btn-remove {
669
+ display:block;
670
+ width:11px;
671
+ height:11px;
672
+ font-size:0;
673
+ line-height:0;
674
+ background-color: transparent;
675
+ background-image: url(data:image/gif;base64,R0lGODlhCAAIAMQdAH9/f3x8fM/Pz5OTk4ODg9ra2pCQkODg4JWVlaenp6ampoyMjKysrI2NjZqamuHh4YqKipeXl4eHh9vb26GhoYGBgX5+ftLS0oiIiI6OjqKiotDQ0P///////wAAAAAAACH5BAEAAB0ALAAAAAAIAAgAAAU2IGAJXSdYABYQ20YEWIFUklQhBTdFEBRNnM7FMRg4Lp1NI0OhZBqbhUHzeGgMGYbiwOEcEpoQADs=);
676
+ background-position: 0 0;
677
+ background-repeat: no-repeat;
678
+ text-indent:-999em;
679
+ overflow:hidden;
680
+ }
681
+ .btn-remove2 {
682
+ display:block;
683
+ width:16px;
684
+ height:16px;
685
+ font-size:0;
686
+ line-height:0;
687
+ background-color: transparent;
688
+ background-image: url(data:image/gif;base64,R0lGODlhDQANANUAAIaGhqCgoL29vXZ2dn9/f5GRkZCQkLi4uJOTk4aGhp2dnbOzs7u7u56enr29vY6OjoGBgfT09JeXl6CgoH9/f62tra2trYmJiYqKipubm2tra4SEhJSUlJ+fn4WFhbm5ucvLy9DQ0KWlpcLCwrW1tbS0tHh4eJaWlvPz85qamv///////0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHRyH5BAEAACsALAAAAAANAA0AAAZ0wJVwSCSiSsVVCSVEQTQpYkoDYR5MlEFGmBlQTIeVyoIBmBQKEwBjUQlVi8eFQLg8Fu6hqlQwGAoleUQVCCcnCBVJEwknKSknCRNEARscKQICKRwbAUIjHhINDCoqDA0SAB9iJB0OeSoOASIRbyGCYiARbkEAOw==);
689
+ background-repeat: no-repeat;
690
+ background-position: 0 0;
691
+ text-indent:-999em;
692
+ overflow:hidden;
693
+ }
694
+ .separator {
695
+ margin:0 3px;
696
+ }
697
+ .divider {
698
+ clear:both;
699
+ display:block;
700
+ font-size:0;
701
+ line-height:0;
702
+ height:1px;
703
+ margin:10px 0;
704
+ background-position: 0 50%;
705
+ background-repeat: repeat-x;
706
+ background-image: url(data:image/gif;base64,R0lGODlhAwABAPABALq6ugAAACH5BAUAAAEALAAAAAADAAEAAAICRFIAOw==);
707
+ text-indent:-999em;
708
+ overflow:hidden;
709
+ }
710
+ /* Noscript Notice */
711
+ .noscript {
712
+ border:1px solid;
713
+ border-width:0 0 1px;
714
+ line-height:1.25;
715
+ text-align:center;
716
+ }
717
+ .noscript .noscript-inner {
718
+ width:950px;
719
+ margin:0 auto;
720
+ padding:12px 0 12px;
721
+ }
722
+ .noscript p {
723
+ margin:0;
724
+ }
725
+ /* Header ================================================================================ */
726
+ .header .logo {
727
+ float:left;
728
+ text-decoration:none;
729
+ clear: both;
730
+ margin-bottom: 10px;
731
+ }
732
+ .header .logo strong {
733
+ position:absolute;
734
+ top:-999em;
735
+ left:-999em;
736
+ width:0;
737
+ height:0;
738
+ font-size:0;
739
+ line-height:0;
740
+ text-indent:-999em;
741
+ overflow:hidden;
742
+ }
743
+ .logo img {
744
+ max-width: 100%;
745
+ height: auto;
746
+ width: auto\9; /* ie8 */
747
+ }
748
+ .header h1.logo, .header h2.logo {
749
+ margin:0;
750
+ }
751
+ .header .form-search label {
752
+ float:left;
753
+ width:24px;
754
+ height:21px;
755
+ text-align:left;
756
+ text-indent:-999em;
757
+ overflow:hidden;
758
+ }
759
+ .header .form-search input.input-text {
760
+ float: left;
761
+ }
762
+ .header .form-search button.button {
763
+ float:left;
764
+ }
765
+ .header .form-search button.button span {
766
+ border:0;
767
+ height:21px;
768
+ padding:0 0 0 0px;
769
+ }
770
+ .header .form-search button.button span span {
771
+ background-position:100% 0;
772
+ padding:0 6px 0 3px;
773
+ }
774
+ .header .form-search .search-autocomplete {
775
+ z-index:999;
776
+ left:20px;
777
+ top:22px !important;
778
+ }
779
+ .header .form-search .search-autocomplete ul {
780
+ border:1px solid;
781
+ border-bottom: 0;
782
+ }
783
+ .header .form-search .search-autocomplete li {
784
+ text-align:left;
785
+ border-bottom:1px solid;
786
+ padding:2px 8px 1px 8px;
787
+ cursor:pointer;
788
+ }
789
+ .header .form-search .search-autocomplete li .amount {
790
+ float:right;
791
+ }
792
+ .header .form-language {
793
+ text-align:right;
794
+ }
795
+ .header .form-language label {
796
+ vertical-align:middle;
797
+ }
798
+ .header .form-language select {
799
+ padding:0;
800
+ }
801
+ .header .form-language select.flags option {
802
+ background-position:4px 50%;
803
+ background-repeat:no-repeat;
804
+ padding-left:25px;
805
+ }
806
+ .header-container .top-container {
807
+ clear:both;
808
+ text-align:right;
809
+ }
810
+ /********** < Navigation */
811
+ #nav {
812
+ margin: 0 auto;
813
+ padding: 0 0px;
814
+ }
815
+ /* All Levels */ /* Style consistent throughout all nav levels */
816
+ #nav li {
817
+ position:relative;
818
+ text-align:left;
819
+ }
820
+ #nav li.over {
821
+ z-index:998;
822
+ }
823
+ #nav a, #nav a:hover {
824
+ display:block;
825
+ }
826
+ #nav span {
827
+ display:block;
828
+ cursor:pointer;
829
+ white-space:nowrap;
830
+ }
831
+ #nav li ul span {
832
+ white-space:normal;
833
+ }
834
+ /* 0 Level */
835
+ #nav li {
836
+ float:left;
837
+ }
838
+ #nav a {
839
+ float:left;
840
+ }
841
+ /* 1st Level */
842
+ #nav ul li, #nav ul li.active {
843
+ float:none;
844
+ margin:0;
845
+ padding-bottom:1px;
846
+ }
847
+ #nav ul li.last {
848
+ padding-bottom:0;
849
+ }
850
+ #nav ul a, #nav ul a:hover {
851
+ float:none;
852
+ padding:0;
853
+ }
854
+ /* 2nd Level */
855
+ #nav ul, #nav div {
856
+ position:absolute;
857
+ width:15em;
858
+ top:27px;
859
+ left:-10000px;
860
+ }
861
+ #nav div ul {
862
+ position:static;
863
+ width:auto;
864
+ border:none;
865
+ }
866
+ /* 3rd+ Level */
867
+ #nav ul ul, #nav ul div {
868
+ top:5px;
869
+ }
870
+ #nav ul span, #nav ul li.last li span {
871
+ padding:3px 15px 4px 15px;
872
+ }
873
+ /* Show menu */
874
+ #nav li ul.shown-sub, #nav li div.shown-sub {
875
+ left:0;
876
+ z-index:999;
877
+ }
878
+ #nav li .shown-sub ul.shown-sub, #nav li .shown-sub li div.shown-sub {
879
+ left:100px;
880
+ }
881
+ /*1.4.1.0*/
882
+ /* Show menu */
883
+ #nav li.over > ul {
884
+ left:0;
885
+ }
886
+ #nav li.over > ul li.over > ul {
887
+ left:100px;
888
+ }
889
+ #nav li.over ul ul {
890
+ left:-10000px;
891
+ }
892
+ /* Sidebar =============================================================================== */
893
+
894
+ .block .block-title strong {
895
+ display:block;
896
+ }
897
+ .block .block-subtitle {
898
+ margin:0;
899
+ padding:5px 9px;
900
+ }
901
+ .block .btn-remove {
902
+ float:right;
903
+ margin:1px 0 2px 5px;
904
+ }
905
+ .block .actions a {
906
+ float:left;
907
+ font-size: 0.75em;
908
+ }
909
+ .block .actions button.button {
910
+ float:right;
911
+ }
912
+ .block .empty {
913
+ margin:0;
914
+ }
915
+ /* Mini Blocks */
916
+ .block-cart, .block-wishlist, .block-subscribe, .block-compare, .block-reorder, .block-poll, .block-viewed, .block-compared, .block-related, .block-tags, .block-login {
917
+ line-height:1.25;
918
+ }
919
+ .block-cart .block-title strong, .block-wishlist .block-title strong, .block-subscribe .block-title strong, .block-compare .block-title strong, .block-reorder .block-title strong, .block-poll .block-title strong, .block-viewed .block-title strong, .block-compared .block-title strong, .block-related .block-title strong, .block-tags .block-title strong, .block-login .block-title strong {
920
+ background-position:0 0;
921
+ background-repeat:no-repeat;
922
+ }
923
+ /* Mini Products List */
924
+ .mini-products-list .product-image {
925
+ float:left;
926
+ }
927
+ /* Block: Account */
928
+ .block-account .block-title {
929
+ border:0;
930
+ padding:3px 10px;
931
+ }
932
+ .block-account .block-title strong {
933
+ }
934
+ .block-account .block-content {
935
+ padding:7px 10px 7px;
936
+ }
937
+ .block-account .block-content li a {
938
+ display:block;
939
+ padding:3px 0;
940
+ }
941
+ .block-account .block-content li.last a {
942
+ border-bottom:0;
943
+ }
944
+ .block-account .block-content li.current {
945
+ padding:3px 0;
946
+ }
947
+ .block-account .block-content li.current.last {
948
+ border-bottom:0;
949
+ }
950
+ /* Block: Currency Switcher */
951
+ .block-currency {
952
+ border:0;
953
+ height:auto;
954
+ }
955
+ .block-currency .block-title {
956
+ background:none;
957
+ border:0;
958
+ padding:0;
959
+ margin:0 0 0px;
960
+ }
961
+ .block-currency .block-content {
962
+ background:none;
963
+ padding:6px 0px 6px 0px;
964
+ }
965
+ .block-currency .block-content select {
966
+ width: auto;
967
+ padding:0;
968
+ display: block;
969
+ margin:0;
970
+ }
971
+ /* Block: Layered Navigation */
972
+
973
+ .block-layered-nav dd.last {
974
+ background:none;
975
+ }
976
+ .block-layered-nav .currently li {
977
+ padding:4px 0px 4px 0px;
978
+ }
979
+ .block-layered-nav .currently .btn-remove {
980
+ margin:3px 0 0;
981
+ }
982
+ .block-layered-nav .actions {
983
+ padding:4px 9px;
984
+ text-align:right;
985
+ }
986
+ .block-layered-nav .actions a {
987
+ float:none;
988
+ }
989
+ /* Block: Cart */
990
+ .block-cart .summary {
991
+ padding:2px 8px 8px;
992
+ margin:-1px 0 0;
993
+ position:relative;
994
+ z-index:1;
995
+ }
996
+ .block-cart .amount {
997
+ margin:0;
998
+ }
999
+ .block-cart .amount a {
1000
+ }
1001
+ .block-cart .subtotal {
1002
+ margin:5px 0 0;
1003
+ padding:2px 0;
1004
+ text-align:center;
1005
+ }
1006
+ /* Block: Wishlist */
1007
+ .block-wishlist .actions {
1008
+ text-align:right;
1009
+ }
1010
+ .block-wishlist .actions a {
1011
+ float:none;
1012
+ }
1013
+ /* Block: Related */
1014
+ .block-related input.checkbox {
1015
+ float:left;
1016
+ }
1017
+ .block-related .product {
1018
+ margin-left:5%;
1019
+ }
1020
+ /* Block: Compare Products */
1021
+ .page-popup .link-print {
1022
+ background-color: transparent;
1023
+ background-image: url(data:image/gif;base64,R0lGODlhEAAQAPZXAI6Ojvr6+t7e3ujo6NXV1c/Pz9TU1KOjo8vLy/v7+/39/ZOTk+7u7qKiov7+/tDQ0Pn5+Wtra/X19YuLi/Ly8nx8fJiYmJ+fn+bm5u3t7ZKSkvHx8eDg4JCQkMHBwenp6fDw8Le3t8PDw/Pz862trb6+vn9/f6ysrLGxsYODg0NDQ4SEhOPj49/f34eHhycnJ7m5uSgoKOXl5aCgoC4uLtHR0erq6tfX1+vr61BQUJ6enrq6usLCwldXV4qKipubm7CwsHp6enh4eKurq5eXly0tLV9fX5GRkZaWlvf394yMjPj4+OTk5KSkpNjY2JWVlSUlJdra2vT09H5+fkdHR/z8/IiIiAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAUAAFcALAAAAAAQABAAAAfUgFeCAiELGhYWHR6CjIwAEAkBARAUJU0OjYJPCQwMGQMKICIwmVcLCSAgGTZSEEsumQ4aCRQUniwcCRMKjBw/AAkjFBsMAxgJVhE1VxlAAkcBIyMbIDgfCUo3KS0kTBIA4OHiEk5BRA4OApLr61HoJh0KCjwMAvb3DDvyERMDAyQfDAgcOOCAPxUrHjxogKGAw4cykCgsMgUBgiELFvioEKEHFSoVLMYQUgLBAhEEUqr0QAMBCighJhi5UAWCzSQSRijQ8SLHCUYzDgg90KDogQuMAgEAOw==);
1024
+ background-position: 0 2px;
1025
+ background-repeat: no-repeat;
1026
+ padding:2px 0 2px 25px;
1027
+ }
1028
+ .compare-table {
1029
+ border:0;
1030
+ }
1031
+ .compare-table thead tr.first th, .compare-table thead tr.first td {
1032
+ border:0;
1033
+ background:none;
1034
+ padding:0;
1035
+ font-size:0;
1036
+ line-height:0;
1037
+ }
1038
+ .compare-table .btn-remove {
1039
+ float:right;
1040
+ background-color: transparent;
1041
+ background-image: url(data:image/gif;base64,R0lGODdhSAAPAPYAAPX19X19fX9/f93d3YCAgPLy8oGBgXx8fN/f335+ft7e3vDw8PHx8eDg4Hl5eXt7e+zs7Hp6etzc3OHh4dvb24KCgu7u7u/v7+rq6u3t7ePj44SEhOLi4oODg5OTk3d3d3h4eOjo6OTk5Nra2ouLi5SUlOvr65mZmenp6ZCQkObm5uXl5XZ2dtnZ2Y+Pj4iIiJKSkoeHh3V1dZaWloqKioaGhnR0dJeXl5iYmNjY2Jubm/Pz8/T09Pb29vj4+Pn5+fr6+vf39/z8/Pv7+/7+/v39/f///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAASAAPAAAH/4BGQ0VGhEYYCgoDHAOJCggUGjkNjQ0SEwgNFBMDmgoTLQidmAqMEqKMAwiiChIUohIaIxOvIxoSrQMTEka9vj0oQES9hMNGQkK9Q0ZEwz69w8NAvoXLRMu+P4KFRtq904XDRUSGy0IIvslGJhBBDDw7PTwMAAU8QQU7AD48PwtCPBYA2PGDQZEFBYP8CBLERw+GFhYU4QHkghAIRXYs6AHgR4EhG+9x5AcgCAJDw4KE0LfDRxB4Rgo49DFkRxEGDQsAcdjjB0ULPxwCYNCjx46aPIhwfKiP4YIhBYIMFHKhpUweJd9NIHYMggUfQH4A6OgDQoUDHRwIkDfEqI94Rf+G8iPyskfbIEMu/BCyY8c9mVB9vMX7coiIDEaGqhCCT4gPBdCM7AjRE++QsD+KCOgAYMgBAUUYDhHyA0gPITuB7Ej9bEcQI0UF/RgkuNtrHriJYCCBY8WCEjRUSDbigwKzYxkkCnOZGW+AA0WEEHCQuAMBENMCPEggwICACgBgV/j+WoAD0gEC/PjxfAODb0MgnLDhwcWHGRC6heVwzAgPDOYMscw0RRThXQLaGQGEAAkMYYB6ARBgRAACDNGdDwY8QEQEEvoQA4cNGiFAAENEUIEPPxAxDQoeHJCAB/n1oKARAxijwWvF9JLMNNw5SEAyCbgYgAE/JCBhhEUcYID/EA5sUMR0vTxH4TEEIPgAAdH1l0EJDxgAAwaF7NjAMBZc0J8w4xRTxHPMgCCAEBsIMIyMV/ogAAtGECCDEQZ8wCd1QnjH4TLbEaLOMQCc8IEHJESgw3u+NKBgCNq8poyOxAWp4AZYTvicAEZEcIARDnSwZgRRgvAAN0NUYAAhhDhwQA3URZPBCzdg8EMKKSBWIBGSRpSOMdf4QggPRry2jCGHJtMMcbAN28wwyPQ3hDfHxWRmYgtwVcQARZgg46UF+qJUtsck41gvBRxHDqvfGNNLbcdYw0y1/RWBLRCGGNEABO0yIy+sxjDbHzWECEPNgMkyg40x4HSzTcENb4PtJDIIiKBNwgWCs4ylCAvC7zasPnxcZsZoQ6AQ0lDzbsPFkkxjIAA7);
1042
+ background-repeat: no-repeat;
1043
+ background-position: 0 0;
1044
+ width:72px;
1045
+ height:15px;
1046
+ }
1047
+ .compare-table tbody th, .compare-table tbody td {
1048
+ padding:10px;
1049
+ border:0;
1050
+ border-top:1px solid;
1051
+ border-left:1px solid;
1052
+ }
1053
+ .compare-table tbody td.last {
1054
+ border-right:1px solid;
1055
+ }
1056
+ .compare-table tbody tr.last th, .compare-table tbody tr.last td {
1057
+ border-bottom:1px solid;
1058
+ }
1059
+ .compare-table tr.add-to-row td {
1060
+ text-align:center;
1061
+ }
1062
+ .compare-table tr.first td {
1063
+ text-align:center;
1064
+ }
1065
+ .compare-table tr.first td .product-name {
1066
+ margin:0 0 5px;
1067
+ }
1068
+ .compare-table tr.first td .product-name a {
1069
+ }
1070
+ .compare-table tr.first td .ratings {
1071
+ width:69px;
1072
+ margin:0 auto;
1073
+ }
1074
+ .compare-table tr.first td p, .compare-table tr.add-to-row td p {
1075
+ margin:0;
1076
+ }
1077
+
1078
+ /* Block: Poll */
1079
+ .block-poll input.radio {
1080
+ float:left;
1081
+ margin:1px -18px 0 0;
1082
+ }
1083
+ .block-poll .label {
1084
+ display:block;
1085
+ margin-left:18px;
1086
+ }
1087
+ .block-poll li {
1088
+ padding:3px 9px;
1089
+ }
1090
+ .block-poll .actions {
1091
+ margin:5px 0 0;
1092
+ }
1093
+ .block-poll .votes {
1094
+ float:right;
1095
+ margin-left:10px;
1096
+ }
1097
+ /* Block: Tags */
1098
+ .block-tags .block-content ul {
1099
+ padding:0px 5px 0px 5px;
1100
+ }
1101
+ .block-tags .block-content li {
1102
+ display:inline;
1103
+ padding-right:4px;
1104
+ }
1105
+ .block-tags .block-content a {
1106
+ }
1107
+ .block-tags .actions {
1108
+ text-align:right;
1109
+ }
1110
+ .block-tags .actions a {
1111
+ float:none;
1112
+ }
1113
+ /* Block: Subscribe */
1114
+ .block-subscribe .block-content {
1115
+ padding:5px 10px;
1116
+ }
1117
+ .block-subscribe input.input-text {
1118
+ display:block;
1119
+ width:167px;
1120
+ margin:3px 0;
1121
+ }
1122
+ .block-subscribe .actions {
1123
+ text-align:left;
1124
+ }
1125
+ .block-subscribe .actions button.button {
1126
+ float:none;
1127
+ }
1128
+ /* Block: Reorder */
1129
+ .block-reorder input.checkbox {
1130
+ float:left;
1131
+ margin:2px -20px 0 0;
1132
+ }
1133
+ .block-reorder .product-name {
1134
+ margin-left:20px;
1135
+ }
1136
+ .block-reorder .validation-advice {
1137
+ margin:3px 9px 7px;
1138
+ }
1139
+ /* Block: Banner */
1140
+ .block-banner {
1141
+ border:0;
1142
+ }
1143
+ .block-banner .block-content {
1144
+ padding:0;
1145
+ text-align:center;
1146
+ }
1147
+ /* Block: Login */
1148
+ .block-login .block-content {
1149
+ padding:5px 10px;
1150
+ }
1151
+ .block-login input.input-text {
1152
+ display:block;
1153
+ width:167px;
1154
+ margin:3px 0;
1155
+ }
1156
+ .block-login .actions {
1157
+ background:none;
1158
+ padding:0;
1159
+ margin:3px 0 0;
1160
+ }
1161
+ /* Paypal */
1162
+ .sidebar .paypal-logo {
1163
+ display:block;
1164
+ margin:10px 0;
1165
+ text-align:center;
1166
+ }
1167
+ .sidebar .paypal-logo a {
1168
+ float:none;
1169
+ }
1170
+ /* Category Page ========================================================================= */
1171
+ .category-image {
1172
+ width:100%;
1173
+ overflow:hidden;
1174
+ margin:0 0 10px;
1175
+ text-align:center;
1176
+ }
1177
+ .category-image img {
1178
+ max-width: 100%;
1179
+ height: auto;
1180
+ width: auto\9; /* ie8 */
1181
+ }
1182
+ .category-description {
1183
+ margin:0 0 10px;
1184
+ width: 100%;
1185
+ }
1186
+
1187
+ /* View Type: Grid */
1188
+ .products-grid {
1189
+ position:relative;
1190
+ }
1191
+ .products-grid.last {
1192
+ border-bottom:0;
1193
+ }
1194
+ .products-grid li.item {
1195
+ float:left;
1196
+ }
1197
+ .products-grid .product-image {
1198
+ display:block;
1199
+ }
1200
+ .products-grid .product-name {
1201
+ margin:0 0 5px;
1202
+ }
1203
+ .products-grid .product-name a {
1204
+ }
1205
+ .products-grid .price-box {
1206
+ margin:5px 0;
1207
+ }
1208
+ .products-grid .availability {
1209
+ line-height:21px;
1210
+ }
1211
+ .products-grid .actions {
1212
+ }
1213
+ .col2-left-layout .products-grid, .col2-right-layout .products-grid {
1214
+ margin:0 auto;
1215
+ }
1216
+ .col1-layout .products-grid {
1217
+ margin:0 auto;
1218
+ }
1219
+ /* View Type: List */
1220
+ .products-list li.item {
1221
+ padding:12px 10px;
1222
+ }
1223
+ .products-list li.item.last {
1224
+ border-bottom:0;
1225
+ }
1226
+ .products-list .product-image {
1227
+ float:left;
1228
+ margin:0 0 10px;
1229
+ }
1230
+ .products-list .product-name {
1231
+ margin:0 0 5px;
1232
+ }
1233
+ .products-list .price-box {
1234
+ float:left;
1235
+ margin:3px 13px 5px 0;
1236
+ }
1237
+ .products-list .availability {
1238
+ float:left;
1239
+ margin:3px 0 0;
1240
+ }
1241
+ .products-list .desc {
1242
+ clear:both;
1243
+ padding:6px 0 0;
1244
+ margin:0 0 15px;
1245
+ line-height:1.35;
1246
+ }
1247
+ .products-list .add-to-links {
1248
+ clear:both;
1249
+ }
1250
+ .products-list .add-to-links li {
1251
+ display:inline;
1252
+ }
1253
+ .products-list .add-to-links .separator {
1254
+ display:inline;
1255
+ margin:0 2px;
1256
+ }
1257
+ /* Product View ========================================================================== */
1258
+ /* Rating */
1259
+ .no-rating {
1260
+ margin:0;
1261
+ }
1262
+ .ratings {
1263
+ line-height:1.25;
1264
+ margin:7px 0;
1265
+ }
1266
+ .ratings strong {
1267
+ float:left;
1268
+ margin:1px 3px 0 0;
1269
+ }
1270
+ .ratings .rating-links {
1271
+ margin:0;
1272
+ }
1273
+ .ratings .rating-links .separator {
1274
+ margin:0 2px;
1275
+ }
1276
+ .rating-box {
1277
+ width:69px;
1278
+ height:13px;
1279
+ font-size:0;
1280
+ line-height:0;
1281
+ background-position: 0 0;
1282
+ background-repeat: repeat-x;
1283
+ background-image: url(data:image/gif;base64,R0lGODlhDgDVAOYAAKOhn/tVEqelo9HHwaWin++gfv9fHLGuqf9oLKqqqNXQz7Crqv9YFsa/usS9uP9yN6SioNvGvNbKxMfCu/9xNcjBwMG8ufKbdLazruqpjfxWE/9+SeO2o8G6taWjof9XFP99RuG7rOivlv9eHv9tMMvEv7Wwr/9nKv98ROmqkPiNYr63tLCwrP94P/9jI+2ihLSvrLqzsKuko/2DUq+qp/SUbqqlpM3Fv/91POK6ptzCubOwrayppO+hgLOuqf9aGLq3tP9kJf90OsC5tgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAEQALAAAAAAOANUAAAfxgESCg0AVg4eHAx4LiI0mAAANjYM3EJA8iCUdGDQCkJAyBzEOAxifp6cEkjCopxAOgwetkEOHEp6oO40ErSyIA7MJiBOQCxMrNgACiBY+hoMWCRKT1NXW19jZ2tvc3d7f4OHi4+Tl5ufo6err7O3u7/Dx8vP09fb3+Pn6+/z9/v8AAwocSLCgwYMIEypcyLChw4cQI0qcSPGbCg7XIvygcA1EgAAZqoXQ8PEEohwXNpAw8PGjiwczXkTY0LJmTQYhW9is+aHHoAc7A2i4cEgBS5soGjHYKQSRjqAIEIn4SCFFjSABRiAqgAPjoAIIFAgKBAA7);
1284
+ text-indent:-999em;
1285
+ overflow:hidden;
1286
+ }
1287
+ .rating-box .rating {
1288
+ float:left;
1289
+ height:13px;
1290
+ background-position: 0 100%;
1291
+ background-repeat: repeat-x;
1292
+ background-image: url(data:image/gif;base64,R0lGODlhDgDVAOYAAKOhn/tVEqelo9HHwaWin++gfv9fHLGuqf9oLKqqqNXQz7Crqv9YFsa/usS9uP9yN6SioNvGvNbKxMfCu/9xNcjBwMG8ufKbdLazruqpjfxWE/9+SeO2o8G6taWjof9XFP99RuG7rOivlv9eHv9tMMvEv7Wwr/9nKv98ROmqkPiNYr63tLCwrP94P/9jI+2ihLSvrLqzsKuko/2DUq+qp/SUbqqlpM3Fv/91POK6ptzCubOwrayppO+hgLOuqf9aGLq3tP9kJf90OsC5tgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAEQALAAAAAAOANUAAAfxgESCg0AVg4eHAx4LiI0mAAANjYM3EJA8iCUdGDQCkJAyBzEOAxifp6cEkjCopxAOgwetkEOHEp6oO40ErSyIA7MJiBOQCxMrNgACiBY+hoMWCRKT1NXW19jZ2tvc3d7f4OHi4+Tl5ufo6err7O3u7/Dx8vP09fb3+Pn6+/z9/v8AAwocSLCgwYMIEypcyLChw4cQI0qcSPGbCg7XIvygcA1EgAAZqoXQ8PEEohwXNpAw8PGjiwczXkTY0LJmTQYhW9is+aHHoAc7A2i4cEgBS5soGjHYKQSRjqAIEIn4SCFFjSABRiAqgAPjoAIIFAgKBAA7);
1293
+ }
1294
+ .ratings .rating-box {
1295
+ float:left;
1296
+ margin-right:3px;
1297
+ }
1298
+ .ratings-table th, .ratings-table td {
1299
+ line-height:1.15;
1300
+ padding:3px 0;
1301
+ }
1302
+ .ratings-table th {
1303
+ padding-right:8px;
1304
+ }
1305
+ /* Availability */
1306
+ .availability {
1307
+ margin:0;
1308
+ }
1309
+ .availability-only {
1310
+ margin:10px 0 7px;
1311
+ line-height:16px;
1312
+ }
1313
+ .availability-only span, .availability-only a {
1314
+ border-bottom:1px dashed #751d02;
1315
+ cursor:help;
1316
+ }
1317
+ .availability-only a {
1318
+ cursor:pointer;
1319
+ }
1320
+ .availability-only .expanded {
1321
+ background-position:100% -15px;
1322
+ }
1323
+ .availability-only-details {
1324
+ margin:0 0 7px;
1325
+ }
1326
+ .availability-only-details th {
1327
+ font-size:10px;
1328
+ padding:0 8px;
1329
+ }
1330
+ .availability-only-details td {
1331
+ border-bottom:1px solid;
1332
+ padding:2px 8px 1px;
1333
+ }
1334
+ /* Email to a Friend */
1335
+ .email-friend {
1336
+ margin:0;
1337
+ }
1338
+ /* Alerts */
1339
+ .alert-price {
1340
+ margin:0;
1341
+ }
1342
+ .alert-stock {
1343
+ margin:0;
1344
+ }
1345
+ /********** < Product Prices */
1346
+ .price {
1347
+ white-space:nowrap !important;
1348
+ }
1349
+ .price-box {
1350
+ margin:5px 0;
1351
+ }
1352
+ /* Old price */
1353
+ .old-price {
1354
+ margin:0;
1355
+ }
1356
+ .old-price .price-label {
1357
+ white-space:nowrap;
1358
+ }
1359
+ .old-price .price {
1360
+ text-decoration:line-through;
1361
+ }
1362
+ /* Special price */
1363
+ .special-price {
1364
+ margin:0;
1365
+ padding:3px 0;
1366
+ }
1367
+ .special-price .price-label {
1368
+ white-space:nowrap;
1369
+ }
1370
+ /* Minimal price (as low as) */
1371
+ .minimal-price {
1372
+ margin:0;
1373
+ }
1374
+ .minimal-price .price-label {
1375
+ white-space:nowrap;
1376
+ }
1377
+ .minimal-price-link {
1378
+ display:block;
1379
+ }
1380
+ /* Excluding tax */
1381
+ .price-excluding-tax {
1382
+ display:block;
1383
+ }
1384
+ .price-excluding-tax .label {
1385
+ white-space:nowrap;
1386
+ }
1387
+ /* Including tax */
1388
+ .price-including-tax {
1389
+ display:block;
1390
+ }
1391
+ .price-including-tax .label {
1392
+ white-space:nowrap;
1393
+ }
1394
+ /* FPT */
1395
+ .weee {
1396
+ display:block;
1397
+ }
1398
+ /* Excl tax (for order tables) */
1399
+ .price-excl-tax {
1400
+ display:block;
1401
+ }
1402
+ .price-excl-tax .label {
1403
+ display:block;
1404
+ white-space:nowrap;
1405
+ }
1406
+ .price-excl-tax .price {
1407
+ display:block;
1408
+ }
1409
+ /* Incl tax (for order tables) */
1410
+ .price-incl-tax {
1411
+ display:block;
1412
+ }
1413
+ .price-incl-tax .label {
1414
+ display:block;
1415
+ white-space:nowrap;
1416
+ }
1417
+ .price-incl-tax .price {
1418
+ display:block;
1419
+ }
1420
+ /* Price range */
1421
+ .price-from {
1422
+ margin:0;
1423
+ }
1424
+ .price-from .price-label {
1425
+ white-space:nowrap;
1426
+ }
1427
+ .price-to {
1428
+ margin:0;
1429
+ }
1430
+ .price-to .price-label {
1431
+ white-space:nowrap;
1432
+ }
1433
+ /* Price notice next to the options */
1434
+ .price-notice {
1435
+ padding-left:10px;
1436
+ }
1437
+ /* Price as configured */
1438
+ .price-as-configured {
1439
+ margin:0;
1440
+ }
1441
+ .price-as-configured .price-label {
1442
+ white-space:nowrap;
1443
+ }
1444
+ .price-box-bundle {
1445
+ padding:0 0 10px 0;
1446
+ }
1447
+ .price-box-bundle .price-box {
1448
+ margin:0 !important;
1449
+ padding:0 !important;
1450
+ }
1451
+ .price-box-bundle .price {
1452
+ }
1453
+ /********** Product Prices > */
1454
+
1455
+ /* Tier Prices */
1456
+ .tier-prices {
1457
+ margin:10px 0;
1458
+ padding:10px;
1459
+ border:1px solid;
1460
+ }
1461
+ .tier-prices li {
1462
+ line-height:1.4;
1463
+ padding:2px 0 2px 0px;
1464
+ }
1465
+ .tier-prices .benefit {
1466
+ font-style:italic;
1467
+ }
1468
+ .tier-prices-grouped li {
1469
+ padding:2px 0;
1470
+ }
1471
+ /* Add to Links */
1472
+ .add-to-links {
1473
+ margin:5px 0 0;
1474
+ }
1475
+ .add-to-links .separator {
1476
+ display:none;
1477
+ }
1478
+ /* Add to Cart */
1479
+ .add-to-cart label {
1480
+ float:left;
1481
+ margin-right:5px;
1482
+ }
1483
+ .add-to-cart button.button {
1484
+ float:left;
1485
+ }
1486
+ .add-to-cart .paypal-logo {
1487
+ clear:left;
1488
+ margin:0;
1489
+ padding:10px 0 0;
1490
+ text-align:right;
1491
+ }
1492
+ /* Add to Links + Add to Cart */
1493
+ .add-to-box {
1494
+ margin:10px 0;
1495
+ }
1496
+ .add-to-box .add-to-cart {
1497
+ float:left;
1498
+ }
1499
+ .add-to-box .or {
1500
+ float:left;
1501
+ margin:0 7px;
1502
+ }
1503
+ .add-to-box .add-to-links {
1504
+ float:left;
1505
+ margin:0;
1506
+ line-height:1.25;
1507
+ text-align:left;
1508
+ }
1509
+ .add-to-box .add-to-links li {
1510
+ display:block;
1511
+ }
1512
+ .add-to-box .add-to-links li .separator {
1513
+ display:none !important;
1514
+ }
1515
+ .product-collateral h2 {
1516
+ padding:0 0 1px;
1517
+ margin:0 0 5px;
1518
+ }
1519
+ .product-collateral .box-collateral {
1520
+ margin:0 0 25px;
1521
+ }
1522
+ /* Product Images */
1523
+ .product-view .product-img-box {
1524
+ float:left;
1525
+ width:267px;
1526
+ }
1527
+ .col3-layout .product-view .product-img-box {
1528
+ float:none;
1529
+ margin:0 auto;
1530
+ }
1531
+ .product-view .product-img-box .product-image {
1532
+ margin:0 0 13px;
1533
+ }
1534
+ .product-view .product-img-box .product-image-zoom {
1535
+ position:relative;
1536
+ width:265px;
1537
+ height:265px;
1538
+ overflow:hidden;
1539
+ z-index:9;
1540
+ }
1541
+ .product-view .product-img-box .product-image-zoom img {
1542
+ position:absolute;
1543
+ left:0;
1544
+ top:0;
1545
+ cursor:move;
1546
+ }
1547
+ .product-view .product-img-box .zoom-notice {
1548
+ margin:0 0 5px;
1549
+ text-align:center;
1550
+ }
1551
+ .product-view .product-img-box .zoom {
1552
+ position:relative;
1553
+ z-index:9;
1554
+ height:18px;
1555
+ margin:0 auto 13px;
1556
+ padding:0 28px;
1557
+ cursor:pointer;
1558
+ }
1559
+ .product-view .product-img-box .zoom.disabled {
1560
+ -moz-opacity:.3;
1561
+ -webkit-opacity:.3;
1562
+ -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";/*IE8*/
1563
+ opacity:.3;
1564
+ }
1565
+ .product-view .product-img-box .zoom #track {
1566
+ position:relative;
1567
+ height:18px;
1568
+ }
1569
+ .product-view .product-img-box .zoom #handle {
1570
+ position:absolute;
1571
+ left:0;
1572
+ top:-1px;
1573
+ width:9px;
1574
+ height:22px;
1575
+ background-color: transparent;
1576
+ background-image: url(data:image/gif;base64,R0lGODlhBAAWAPECAL6+vl1dXf///wAAACH5BAUAAAIALAAAAAAEABYAAAIShB2BCrnfmItwWolrpgeID34FADs=);
1577
+ background-position: 0 0;
1578
+ background-repeat: no-repeat;
1579
+ }
1580
+ .product-view .product-img-box .zoom .btn-zoom-out {
1581
+ position:absolute;
1582
+ left:2px;
1583
+ top:0;
1584
+ }
1585
+ .product-view .product-img-box .zoom .btn-zoom-in {
1586
+ position:absolute;
1587
+ right:2px;
1588
+ top:0;
1589
+ }
1590
+ .product-view .product-img-box .more-views h2 {
1591
+ margin:0 0 8px;
1592
+ }
1593
+ .product-view .product-img-box .more-views ul {
1594
+ margin-left:-9px
1595
+ }
1596
+ .product-view .product-img-box .more-views li {
1597
+ float:left;
1598
+ margin:0 0 8px 9px;
1599
+ }
1600
+ .product-view .product-img-box .more-views li a {
1601
+ float:left;
1602
+ width:56px;
1603
+ height:56px;
1604
+ overflow:hidden;
1605
+ }
1606
+ .product-image-popup {
1607
+ margin:0 auto;
1608
+ }
1609
+ .product-image-popup .nav {
1610
+ text-align:center;
1611
+ }
1612
+ .product-image-popup .image {
1613
+ display:block;
1614
+ margin:10px 0;
1615
+ }
1616
+ .product-image-popup .image-label {
1617
+ margin:0 0 10px;
1618
+ }
1619
+ /* Product Shop */
1620
+ .col3-layout .product-view .product-shop {
1621
+ float:none;
1622
+ width:auto;
1623
+ }
1624
+ .product-view .product-shop .product-name {
1625
+ margin:0 0 5px;
1626
+ }
1627
+ .product-view .product-shop .product-name h1 {
1628
+ margin:0;
1629
+ }
1630
+ .product-view .product-shop .availability {
1631
+ margin:10px 0;
1632
+ }
1633
+ .product-view .product-shop .short-description {
1634
+ margin:10px 0;
1635
+ background-position: 0 0;
1636
+ background-repeat: repeat-x;
1637
+ background-image: url(data:image/gif;base64,R0lGODlhAwABAPABALq6ugAAACH5BAUAAAEALAAAAAADAAEAAAICRFIAOw==);
1638
+ padding:10px 0 0;
1639
+ }
1640
+ .product-view .product-shop .price-box {
1641
+ margin:10px 0;
1642
+ clear:both
1643
+ }
1644
+ .product-view .product-shop .add-to-links {
1645
+ margin:0;
1646
+ }
1647
+ .product-view .product-shop .add-to-links li {
1648
+ display:inline;
1649
+ }
1650
+ .product-view .product-shop .add-to-links li .separator {
1651
+ display: none;
1652
+ }
1653
+ /* Product Options */
1654
+ .product-options {
1655
+ margin:20px 0 0;
1656
+ padding:10px 15px 20px;
1657
+ border:1px solid;
1658
+ }
1659
+ .product-options dt {
1660
+ padding:10px 0 0;
1661
+ }
1662
+ .product-options dt span.required {
1663
+ color:#eb340a;
1664
+ }
1665
+ .product-options dt .qty-holder {
1666
+ float:right;
1667
+ margin-right:15px;
1668
+ }
1669
+ .product-options dt .qty-holder label {
1670
+ vertical-align:middle;
1671
+ }
1672
+ .product-options dt .qty-disabled {
1673
+ background:none;
1674
+ border:0;
1675
+ padding:3px;
1676
+ }
1677
+ .product-options dd {
1678
+ padding:5px 10px 15px;
1679
+ margin:0 0 5px;
1680
+ border-bottom:1px solid;
1681
+ }
1682
+ .product-options dl.last dd.last {
1683
+ border-bottom:0;
1684
+ padding-bottom:5px;
1685
+ margin-bottom:0;
1686
+ }
1687
+ .product-options dd input.input-text {
1688
+ width:98%;
1689
+ }
1690
+ .product-options dd input.datetime-picker {
1691
+ width:150px;
1692
+ }
1693
+ .product-options dd .time-picker {
1694
+ display:-moz-inline-box;
1695
+ display:inline-block;
1696
+ padding:2px 0;
1697
+ vertical-align:middle;
1698
+ }
1699
+ .product-options dd textarea {
1700
+ width:98%;
1701
+ height:8em;
1702
+ }
1703
+ .product-options dd select {
1704
+ width:99%;
1705
+ }
1706
+ .product-options dd .multiselect option {
1707
+ border-bottom:1px dotted;
1708
+ padding:2px 4px;
1709
+ }
1710
+ .product-options ul.options-list {
1711
+ margin-right:5px;
1712
+ }
1713
+ .product-options ul.options-list li {
1714
+ line-height:1.5;
1715
+ padding:2px 0;
1716
+ }
1717
+ .product-options ul.options-list input.radio {
1718
+ float:left;
1719
+ margin-top:3px;
1720
+ }
1721
+ .product-options ul.options-list input.checkbox {
1722
+ float:left;
1723
+ margin-top:3px;
1724
+ }
1725
+ .product-options ul.options-list .label {
1726
+ display:block;
1727
+ margin-left:18px;
1728
+ }
1729
+ .product-options ul.validation-failed {
1730
+ padding:0 7px;
1731
+ }
1732
+ .product-options p.note {
1733
+ margin:0;
1734
+ }
1735
+ .product-options p.required {
1736
+ margin-bottom:0;
1737
+ padding:15px 0 0;
1738
+ }
1739
+ .product-options-bottom .tier-prices {
1740
+ margin:0;
1741
+ padding:0 0 10px;
1742
+ border:0;
1743
+ background:0;
1744
+ }
1745
+ .product-options-bottom .tier-prices li {
1746
+ background:0;
1747
+ padding:2px 0;
1748
+ }
1749
+ .product-options-bottom .price-box {
1750
+ float:left;
1751
+ margin:0;
1752
+ padding:0;
1753
+ }
1754
+ .col3-layout .product-options-bottom .price-box {
1755
+ float:none;
1756
+ padding:0 0 5px;
1757
+ }
1758
+ .product-options-bottom .price-label {
1759
+ float:left;
1760
+ padding-right:5px;
1761
+ }
1762
+ .product-options-bottom .price-tax {
1763
+ float:left;
1764
+ }
1765
+ .product-shop .product-options-bottom {
1766
+ margin:0 0 10px;
1767
+ }
1768
+ .product-shop .product-options-bottom .price-box {
1769
+ float:none;
1770
+ margin:0 0 5px;
1771
+ }
1772
+ .product-shop .product-options-bottom .price-label {
1773
+ float:none;
1774
+ padding-right:0;
1775
+ }
1776
+ .product-shop .product-options-bottom .price-tax {
1777
+ float:none;
1778
+ }
1779
+ .product-shop .product-options-bottom .add-to-cart-box {
1780
+ clear:both;
1781
+ float:left;
1782
+ padding-top:12px;
1783
+ }
1784
+ /* Grouped Product */
1785
+ .product-view .grouped-items-table .price-box {
1786
+ margin:0;
1787
+ padding:0;
1788
+ }
1789
+ /* Block: Additional */
1790
+ .product-view .box-additional .data-table th, .product-view .box-additional .data-table td {
1791
+ line-height:1.25;
1792
+ }
1793
+ /* Block: Upsell */
1794
+ .product-view .box-up-sell h2 {
1795
+ border-bottom:0;
1796
+ padding:0;
1797
+ margin:0 0 8px;
1798
+ }
1799
+ .product-view .box-up-sell .products-grid {
1800
+ width:100%;
1801
+ }
1802
+ .product-view .box-up-sell .products-grid td {
1803
+ width:25%;
1804
+ padding:15px 10px 12px;
1805
+ line-height:1.6em;
1806
+ }
1807
+ .product-view .box-up-sell .products-grid .product-image {
1808
+ text-align:center;
1809
+ border: 0;
1810
+ }
1811
+ .product-view .box-up-sell .products-grid td.empty {
1812
+ border-right:0;
1813
+ }
1814
+ .product-view .box-up-sell .products-grid .ratings .rating-box {
1815
+ float:none;
1816
+ display:block;
1817
+ margin:0 0 3px;
1818
+ }
1819
+ /* Block: Tags */
1820
+ .product-view .box-tags {
1821
+ margin:0;
1822
+ }
1823
+ .product-view .box-tags .product-tags {
1824
+ display:block;
1825
+ margin:0 0 15px;
1826
+ }
1827
+ .product-view .box-tags .product-tags li {
1828
+ display:inline;
1829
+ }
1830
+ .product-view .box-tags .product-tags li.first {
1831
+ padding-left:0;
1832
+ }
1833
+ .product-view .box-tags .product-tags li.last {
1834
+ background:none;
1835
+ padding-right:0;
1836
+ }
1837
+ .product-view .box-tags .form-add label {
1838
+ display:block;
1839
+ margin:0 0 5px;
1840
+ }
1841
+ .product-view .box-tags .form-add .input-box {
1842
+ float:left;
1843
+ width:305px;
1844
+ margin:0 5px 0 0;
1845
+ padding:0 0 0 0px;
1846
+ }
1847
+ .product-view .box-tags .form-add input.input-text {
1848
+ width:299px;
1849
+ }
1850
+ .product-view .box-tags .note {
1851
+ margin:3px 0 0;
1852
+ padding:0 0 0 0px;
1853
+ }
1854
+ /* Block: Reviews */
1855
+ .product-view .box-reviews dl {
1856
+ margin:15px 0;
1857
+ }
1858
+ .product-view .box-reviews dt a, .product-view .box-reviews dt span {
1859
+ }
1860
+ .product-view .box-reviews dd {
1861
+ margin:0 0 15px;
1862
+ }
1863
+ .product-view .box-reviews dd small {
1864
+ font-style:italic;
1865
+ }
1866
+ .product-view .box-reviews .form-add {
1867
+ margin:15px 0 0;
1868
+ }
1869
+ .product-view .box-reviews .form-add .data-table td {
1870
+ text-align:center;
1871
+ }
1872
+ .product-view .box-reviews .form-add .form-list {
1873
+ margin:15px 0 0;
1874
+ }
1875
+ #review-form .input-box {
1876
+ width: 98%;
1877
+ max-width: 600px;
1878
+ }
1879
+ #review-form input.input-text,
1880
+ #review-form textarea {
1881
+ max-width: 600px;
1882
+ }
1883
+ /* Send a Friend */
1884
+ .send-friend .form-list {
1885
+ width:615px;
1886
+ overflow:hidden;
1887
+ }
1888
+ .send-friend .form-list li {
1889
+ margin-right:-15px;
1890
+ }
1891
+ .send-friend .form-list li p {
1892
+ margin:0 15px 0 0;
1893
+ }
1894
+ .send-friend .form-list .field {
1895
+ width:315px;
1896
+ }
1897
+ .send-friend .form-list .input-box {
1898
+ width:300px;
1899
+ }
1900
+ .send-friend .form-list input.input-text, .send-friend .form-list textarea {
1901
+ width:294px;
1902
+ }
1903
+ .send-friend .form-list li.wide .input-box {
1904
+ width:612px;
1905
+ }
1906
+ .send-friend .form-list li.wide textarea {
1907
+ width:609px;
1908
+ }
1909
+ .send-friend .buttons-set .limit {
1910
+ float:right;
1911
+ margin:0 7px 0 0;
1912
+ line-height:21px;
1913
+ }
1914
+ /* Content Styles ================================================================= */
1915
+ .product-name {
1916
+ margin:0;
1917
+ }
1918
+ /* Product Tags */
1919
+ .tags-list {
1920
+ display:block;
1921
+ border:1px solid;
1922
+ padding: 5px;
1923
+ }
1924
+ .tags-list li {
1925
+ display:inline !important;
1926
+ margin:0 4px 0 0;
1927
+ font-size: 14px;
1928
+ }
1929
+ /* Advanced Search */
1930
+ .advanced-search .form-list label {
1931
+ width:160px;
1932
+ padding-right:10px;
1933
+ }
1934
+ .advanced-search .form-list .input-box, .advanced-search .form-list .input-range {
1935
+ float:left;
1936
+ clear:none;
1937
+ }
1938
+ .advanced-search-amount {
1939
+ margin:0 0 10px;
1940
+ }
1941
+ .advanced-search-summary {
1942
+ margin:10px 0;
1943
+ border:1px solid;
1944
+ padding:10px;
1945
+ }
1946
+ .advanced-search-summary ul {
1947
+ float:left;
1948
+ width:49%;
1949
+ }
1950
+ .advanced-search-summary p {
1951
+ clear:both;
1952
+ margin:0;
1953
+ }
1954
+ /* Sitemap */
1955
+ .page-sitemap .links {
1956
+ text-align:right;
1957
+ }
1958
+ .page-sitemap .links a {
1959
+ position:relative;
1960
+ }
1961
+ .page-sitemap .sitemap {
1962
+ margin:12px;
1963
+ }
1964
+ .page-sitemap .sitemap li {
1965
+ margin:3px 0;
1966
+ }
1967
+ .page-sitemap .sitemap li.level-0 {
1968
+ margin:10px 0 0;
1969
+ }
1970
+ /* RSS */
1971
+ .rss-title h1 {
1972
+ background-color: transparent;
1973
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAACKklEQVR42qWUD2SUYRzHrxtBCEkQQiGUjcr0vzOTJoYTQO8SxIwACqUrQ1HTaXNdrZ1wEdlanXVTudxYq6a6uVVyO01JdXe99969f567/Xp+z3l+zzu3ym4PH57f9/k+H68HrwfXfJfnPCfPgQbBuxrJcsFD4CROAYsfBTbWvjye+sGMafCztxnFnR60WzE/OI98K8KIHkFhBoVgDx/g7AcnfgxYsgec5ydwXh4jPkCXEFr3dwsqM2Fwr+rXBLBXF8Eabsfz/6GEZnSngL0PwZLLKQJLhbDzL5SwfLeFMO/tA+vJSWBv+6Gam3Vr+fwBzAcdsluHEt7Z9lesWBdUv70k6YKtgzniX6qrhKXwVoHzOlj7kl9pYKkIlKNtrrPrSlqch1JkF+ZulNAY2Cywp/rqn+/dIJRut9TOkwF3jpkbJSwGNwlKQ3vAnrwK7PPY4rf7MQNGaDt23Ge8vxcziRLq1zbWYdxqhcqXCbpsvwnLvC6TkPD3lQ1EMbQDoZl9ekwCY8i3KKt8T7nvKmGhd53AHD9Dl8uj3SLTbzSrL5oaqPXi1MNZooT5wFrBgllQ71bIUu7MjoqMzb0QczHSIWu4p54SnlsjYJkEFZ30Q8rNZ5cox1nvb1XCwcOyp4S5s6sF+cB6MJN9CO4p12+2QXn8AiIzmguXt8iMhPlsjxfmTjetiGy3F4XTKNTS2iqY0LwQP97UEJP87kfu4K6D8q/dyclwoEGmpewPaktpTxPJpisAAAAASUVORK5CYII=);
1974
+ background-position: 0 4px;
1975
+ background-repeat: no-repeat;
1976
+ padding-left:27px;
1977
+ }
1978
+ .rss-table .link-rss {
1979
+ display:block;
1980
+ line-height:1.55;
1981
+ background-position:0 4px;
1982
+ }
1983
+ /* Shopping Cart ========================================================================= */
1984
+ .cart .page-title {
1985
+ border-bottom:0;
1986
+ margin:0 0 12px;
1987
+ }
1988
+ /* Checkout Types */
1989
+ .cart .title-buttons .checkout-types {
1990
+ float:right;
1991
+ }
1992
+ /* Shopping Cart Table */
1993
+ .cart-table th {
1994
+ padding:2px 10px;
1995
+ }
1996
+ .cart-table td {
1997
+ padding:10px;
1998
+ }
1999
+ .cart-table .product-name {
2000
+ margin:0 0 5px;
2001
+ }
2002
+ .cart-table .item-msg {
2003
+ margin:5px 0;
2004
+ }
2005
+ .cart-table tfoot td {
2006
+ padding:5px 10px;
2007
+ }
2008
+ /* Shopping Cart Collateral boxes */
2009
+ .cart .cart-collaterals {
2010
+ padding:25px 0 0;
2011
+ }
2012
+ .cart .cart-collaterals .col2-set {
2013
+ float:left;/*width:605px;*/
2014
+ }
2015
+ .cart .crosssell {
2016
+ padding:12px 15px;
2017
+ }
2018
+ .cart .crosssell .product-image {
2019
+ float:left;
2020
+ width:75px;
2021
+ height:75px;
2022
+ }
2023
+ .cart .crosssell .product-details {
2024
+ margin-left:90px;
2025
+ }
2026
+ .cart .crosssell li.item {
2027
+ margin:12px 0;
2028
+ }
2029
+ /* Discount Codes & Estimate Shipping and Tax Boxes */
2030
+ .cart .discount, .cart .shipping {
2031
+ padding: 3%;
2032
+ }
2033
+ .cart .discount h2, .cart .shipping h2 {
2034
+ padding:0;
2035
+ clear: both;
2036
+ }
2037
+ .cart .discount .buttons-set, .cart .shipping .buttons-set {
2038
+ margin:10px 0 0;
2039
+ border:0;
2040
+ padding:0;
2041
+ text-align:left;
2042
+ }
2043
+ .cart .discount .buttons-set button.button, .cart .shipping .buttons-set button.button {
2044
+ float:none;
2045
+ margin-left:0;
2046
+ }
2047
+ .cart .discount .input-box {
2048
+ margin:8px 0 0;
2049
+ width:260px;
2050
+ }
2051
+ .cart .discount input.input-text {
2052
+ width:254px;
2053
+ }
2054
+ .cart .shipping .sp-methods {
2055
+ margin:10px 0 0;
2056
+ padding:5px 0 0;
2057
+ }
2058
+ /* Shopping Cart Totals */
2059
+ .cart .totals {
2060
+ float:right;
2061
+ max-width:268px;
2062
+ width: 100%;
2063
+ border:0;
2064
+ }
2065
+ .cart .totals table {
2066
+ width:100%;
2067
+ margin:7px 0;
2068
+ }
2069
+ .cart .totals td {
2070
+ padding:1px 15px 1px 7px;
2071
+ }
2072
+ .cart .totals tfoot th {
2073
+ padding:5px 15px 5px 7px;
2074
+ }
2075
+ .cart .totals tfoot td {
2076
+ padding-top:5px;
2077
+ padding-bottom:5px;
2078
+ }
2079
+ .cart .totals .checkout-types {
2080
+ padding:8px 15px 15px;
2081
+ text-align:right;
2082
+ }
2083
+ .cart .totals .checkout-types li {
2084
+ clear:both;
2085
+ margin:10px 0;
2086
+ }
2087
+ /* Options Tool Tip */
2088
+ .item-options dt {
2089
+ font-style:italic;
2090
+ }
2091
+ .item-options dd {
2092
+ padding-left:10px;
2093
+ margin:0 0 6px;
2094
+ }
2095
+ .truncated {
2096
+ cursor:help;
2097
+ }
2098
+ .truncated a.dots {
2099
+ cursor:help;
2100
+ }
2101
+ .truncated a.details {
2102
+ cursor:help;
2103
+ }
2104
+ .truncated .truncated_full_value {
2105
+ position:relative;
2106
+ z-index:999;
2107
+ }
2108
+ .truncated .truncated_full_value dl {
2109
+ position:absolute;
2110
+ top:-99999em;
2111
+ left:-99999em;
2112
+ z-index:999;
2113
+ width:250px;
2114
+ padding:8px;
2115
+ border:1px solid;
2116
+ }
2117
+ .truncated .show dl {
2118
+ top:-20px;
2119
+ left:50%;
2120
+ }
2121
+ .col-left .truncated .show dl {
2122
+ left:15px;
2123
+ top:7px;
2124
+ }
2125
+ .col-right .truncated .show dl {
2126
+ left:-240px;
2127
+ top:7px;
2128
+ }
2129
+ /* Checkout ============================================================================== */
2130
+ /********** < Common Checkout Styles */
2131
+ /* Shipping and Payment methods */
2132
+ .sp-methods {
2133
+ margin:0 0 8px;
2134
+ }
2135
+ .sp-methods dt {
2136
+ margin:13px 0 5px;
2137
+ }
2138
+ .sp-methods dd li {
2139
+ margin:5px 0;
2140
+ }
2141
+ .sp-methods .form-list {
2142
+ padding-left:20px;
2143
+ }
2144
+ .sp-methods .form-list li {
2145
+ margin:0 0 8px;
2146
+ }
2147
+ .sp-methods select.month {
2148
+ width:154px;
2149
+ margin-right:10px;
2150
+ }
2151
+ .sp-methods select.year {
2152
+ width:96px;
2153
+ }
2154
+ .sp-methods input.cvv {
2155
+ width:3em !important;
2156
+ }
2157
+ .sp-methods .checkmo-list li {
2158
+ margin:0 0 5px;
2159
+ }
2160
+ .sp-methods .checkmo-list label {
2161
+ width:135px;
2162
+ padding-right:10px;
2163
+ text-align:right;
2164
+ }
2165
+ .sp-methods .checkmo-list address {
2166
+ float:left;
2167
+ }
2168
+ .sp-methods .centinel-logos a {
2169
+ margin-right:3px;
2170
+ }
2171
+ .sp-methods .centinel-logos img {
2172
+ vertical-align:middle;
2173
+ }
2174
+ .please-wait {
2175
+ float:right;
2176
+ }
2177
+ .please-wait img {
2178
+ vertical-align:middle;
2179
+ }
2180
+ .cvv-what-is-this {
2181
+ cursor:help;
2182
+ margin-left:10px;
2183
+ }
2184
+ /* Tooltip */
2185
+ .tool-tip {
2186
+ border:1px solid;
2187
+ padding:15px 20px;
2188
+ position:absolute;
2189
+ z-index:9999;
2190
+ }
2191
+ .tool-tip .btn-close {
2192
+ margin:-9px -14px 0;
2193
+ text-align:right;
2194
+ }
2195
+ .tool-tip .btn-close a {
2196
+ display:block;
2197
+ margin:0 0 0 auto;
2198
+ width:15px;
2199
+ height:15px;
2200
+ background-color: transparent;
2201
+ background-image: url(data:image/gif;base64,R0lGODlhDwAPALMAAP///46OjomJieXl5bW1tbOzs7y8vODg4Nzc3IyMjNTU1M7Ozq+vr5iYmNHR0QAAACH5BAEAAA8ALAAAAAAPAA8AAART8IVJK5UI6M0BmtrShRrICEVXCAwADgG6rcHgBhosEAAh1CVcLtb42YKcQUKQOCI3PsGOA9L4Ao4Y73m16bYghXGjU9w0BmfOEDyMOoeAxEKXRwAAOw==);
2202
+ background-position: 100% 0;
2203
+ background-repeat: no-repeat;
2204
+ text-align:left;
2205
+ text-indent:-999em;
2206
+ overflow:hidden;
2207
+ }
2208
+ .tool-tip .tool-tip-content {
2209
+ padding:5px;
2210
+ }
2211
+ /* Gift Messages */
2212
+ .gift-messages-form {
2213
+ position:relative;
2214
+ }
2215
+ .gift-messages-form label {
2216
+ float:none !important;
2217
+ position:static !important;
2218
+ }
2219
+ .gift-messages-form .whole-order {
2220
+ margin:0 0 25px;
2221
+ }
2222
+ .gift-messages-form .item {
2223
+ margin:0 0 10px;
2224
+ }
2225
+ .gift-messages-form .item .product-img-box {
2226
+ float:left;
2227
+ width:75px;
2228
+ }
2229
+ .gift-messages-form .item .product-image {
2230
+ margin:0 0 7px;
2231
+ }
2232
+ .gift-messages-form .item .number {
2233
+ margin:0;
2234
+ text-align:center;
2235
+ }
2236
+ .gift-messages-form .item .details {
2237
+ margin-left:90px;
2238
+ }
2239
+ .gift-messages-form .item .details .product-name {
2240
+ margin:0 0 10px;
2241
+ }
2242
+ .gift-messages-form .item .details .form-list .field {
2243
+ width:255px;
2244
+ }
2245
+ .gift-messages-form .item .details .form-list .input-box {
2246
+ width:240px;
2247
+ }
2248
+ .gift-messages-form .item .details .form-list input.input-text {
2249
+ width:234px;
2250
+ }
2251
+ .gift-messages-form .item .details .form-list li.wide .input-box {
2252
+ width:500px;
2253
+ }
2254
+ .gift-messages-form .item .details .form-list li.wide textarea {
2255
+ width:494px;
2256
+ }
2257
+ .gift-message-link {
2258
+ background-position: 100% 6px;
2259
+ background-repeat: no-repeat;
2260
+ background-image: url(data:image/gif;base64,R0lGODlhBQAyAPIFAPX19dbW1vz8/MXFxcTExAAAAAAAAAAAACH5BAUAAAUALAAAAAAFADIAAAMjOEM0wQSUNUoBQ9i7u/9gKI5kaZ5oqq6sKllCZDUV1jw0kQAAOw==);
2261
+ padding-right:7px;
2262
+ }
2263
+ .gift-message-link.expanded {
2264
+ background-position:100% -40px;
2265
+ }
2266
+ .gift-message-row .btn-close {
2267
+ float:right;
2268
+ width:16px;
2269
+ height:16px;
2270
+ background-color: transparent;
2271
+ background-image: url(data:image/gif;base64,R0lGODlhEAAQAPIFAPPz8/n5+fz8/O3t7dLS0gAAAAAAAAAAACH5BAUAAAUALAAAAAAQABAAAAM/WLrcLYNIApwCMw/RYv6cEkje5A3LWUzAKIXf2mbVGrum8rV23lOuX+BCwhF6jI+yJlL6GJClRSEAWIfTLCMBADs=);
2272
+ background-position: 0 0;
2273
+ background-repeat: no-repeat;
2274
+ font-size:0;
2275
+ line-height:0;
2276
+ text-indent:-999em;
2277
+ overflow:hidden;
2278
+ }
2279
+ /* Checkout Agreements */
2280
+ .checkout-agreements li {
2281
+ margin:30px 0;
2282
+ }
2283
+ .checkout-agreements .agreement-content {
2284
+ overflow:auto;
2285
+ height:12em;
2286
+ padding:10px;
2287
+ border:1px solid;
2288
+ }
2289
+ .checkout-agreements .agree {
2290
+ margin:0;
2291
+ padding:10px 0 10px 11px;
2292
+ }
2293
+ .checkout-agreements .agree input.checkbox {
2294
+ margin-right:6px;
2295
+ }
2296
+ .opc .checkout-agreements {
2297
+ padding: 1%;
2298
+ }
2299
+ .opc .checkout-agreements li {
2300
+ margin:20px 0 0;
2301
+ }
2302
+ .opc .checkout-agreements .agreement-content {
2303
+ padding:5px;
2304
+ }
2305
+ .opc .checkout-agreements .agree {
2306
+ padding-left:6px;
2307
+ }
2308
+ /* Centinel */
2309
+ .centinel .authentication {
2310
+ border:1px solid;
2311
+ }
2312
+ .centinel .authentication iframe {
2313
+ width:99%;
2314
+ height:400px;
2315
+ background:transparent !important;
2316
+ margin:0 !important;
2317
+ padding:0 !important;
2318
+ border:0 !important;
2319
+ }
2320
+ .opc .centinel {
2321
+ border:1px solid;
2322
+ border-width:0 1px 1px;
2323
+ padding:10px 30px;
2324
+ }
2325
+ /* Generic Info Set */
2326
+ .info-set {
2327
+ border:1px solid;
2328
+ margin:0 0 25px;
2329
+ padding:20px;
2330
+ }
2331
+ .info-set h2 {
2332
+ margin:0 0 10px;
2333
+ }
2334
+ .info-set h2.legend {
2335
+ margin:-20px -20px 15px;
2336
+ padding:5px 10px;
2337
+ border-bottom:1px solid;
2338
+ position:relative;
2339
+ }
2340
+ .info-set h3.legend {
2341
+ margin:0 0 10px;
2342
+ }
2343
+ .info-set .divider {
2344
+ margin:0 -20px;
2345
+ padding:25px 0;
2346
+ position:relative;
2347
+ }
2348
+ .info-set .box {
2349
+ margin:0 0 15px;
2350
+ }
2351
+ .info-set .data-table .item-options {
2352
+ margin:5px 0 0;
2353
+ }
2354
+ /********** Common Checkout Styles > */
2355
+
2356
+ /* One Page Checkout */
2357
+ .block-progress {
2358
+ border:0;
2359
+ margin:0;
2360
+ }
2361
+ .block-progress .block-title {
2362
+ background:none;
2363
+ border:0;
2364
+ padding:0;
2365
+ margin:0 0 5px;
2366
+ }
2367
+ .block-progress dt {
2368
+ line-height:1.35;
2369
+ margin:0 0 6px;
2370
+ padding:2px 8px;
2371
+ }
2372
+ .block-progress dd {
2373
+ border-top:0;
2374
+ padding:8px 13px;
2375
+ margin:0 0 6px;
2376
+ }
2377
+ .block-progress dt.complete {
2378
+ margin:0;
2379
+ }
2380
+ .block-progress p {
2381
+ margin:0;
2382
+ }
2383
+ .opc .buttons-set {
2384
+ margin-top:0;
2385
+ padding-top:2em;
2386
+ }
2387
+ .opc .buttons-set p.required {
2388
+ margin:0;
2389
+ padding:0 0 10px;
2390
+ }
2391
+ .opc .buttons-set .back-link small {
2392
+ display:none;
2393
+ }
2394
+ .opc .buttons-set.disabled button.button {
2395
+ display:none;
2396
+ }
2397
+ .opc .buttons-set .please-wait {
2398
+ height:21px;
2399
+ line-height:21px;
2400
+ }
2401
+ .opc .ul {
2402
+ list-style:disc outside;
2403
+ padding-left:18px;
2404
+ }
2405
+ .opc {
2406
+ position:relative;
2407
+ }
2408
+ .opc .step-title {
2409
+ padding: 1%;
2410
+ text-align:right;
2411
+ }
2412
+ .opc .step-title .number {
2413
+ float:left;
2414
+ padding:0 4px;
2415
+ margin:0 5px 0 0;
2416
+ }
2417
+ .opc .step-title h2 {
2418
+ float:left;
2419
+ margin:0;
2420
+ }
2421
+ .opc .step-title a {
2422
+ display:none;
2423
+ float:right;
2424
+ }
2425
+ .opc .allow .step-title {
2426
+ border-bottom:0;
2427
+ cursor:pointer;
2428
+ }
2429
+ .opc .active .step-title {
2430
+ padding-bottom:5px;
2431
+ cursor:default;
2432
+ }
2433
+ .opc .step {
2434
+ padding:15px 30px;
2435
+ position:relative;
2436
+ }
2437
+ .opc .step .tool-tip {
2438
+ right:30px;
2439
+ }
2440
+ #opc-login .buttons-set {
2441
+ border-top:0;
2442
+ }
2443
+ #opc-login h3 {
2444
+ padding-bottom:2px;
2445
+ }
2446
+ #opc-login h4 {
2447
+ margin:0;
2448
+ }
2449
+ #opc-shipping_method .buttons-set {
2450
+ border-top:0;
2451
+ }
2452
+ .opc .gift-messages-form .inner-box {
2453
+ padding:5px;
2454
+ height:260px;
2455
+ overflow:auto;
2456
+ }
2457
+ #opc-review .step {
2458
+ border:0;
2459
+ padding:0;
2460
+ }
2461
+ #opc-review .item-options {
2462
+ margin:5px 0 0;
2463
+ }
2464
+ #opc-review .buttons-set {
2465
+ padding:1% 3%;
2466
+ }
2467
+ #opc-review .buttons-set p {
2468
+ margin:0;
2469
+ line-height:40px;
2470
+ }
2471
+ #opc-review .buttons-set .please-wait {
2472
+ height:40px;
2473
+ line-height:40px;
2474
+ }
2475
+ /* Multiple Addresses Checkout */
2476
+ .checkout-progress {
2477
+ padding:0 90px;
2478
+ margin:0 0 20px;
2479
+ }
2480
+ .checkout-progress li {
2481
+ float:left;
2482
+ width:19%;
2483
+ margin:0 3px 0 0;
2484
+ border-top:10px solid;
2485
+ padding:2px 0 0;
2486
+ text-align:center;
2487
+ }
2488
+ .checkout-progress li.active {
2489
+ }
2490
+ .multiple-checkout h2 {
2491
+ margin:0 0 10px;
2492
+ }
2493
+ .multiple-checkout .data-table .item-options {
2494
+ margin:5px 0 0;
2495
+ }
2496
+ .multiple-checkout .gift-messages {
2497
+ margin:15px 0 0;
2498
+ }
2499
+ .multiple-checkout .tool-tip {
2500
+ top:50%;
2501
+ margin-top:-120px;
2502
+ right:20px;
2503
+ }
2504
+ .multiple-checkout .col2-set, .multiple-checkout .col3-set {
2505
+ border:1px solid;
2506
+ margin:0 0 25px;
2507
+ padding:20px;
2508
+ }
2509
+ .multiple-checkout .col2-set h2.legend {
2510
+ margin:-20px -20px 15px;
2511
+ padding:5px 10px;
2512
+ border-bottom:1px solid;
2513
+ position:relative;
2514
+ }
2515
+ .multiple-checkout .col2-set h3.legend {
2516
+ margin:0 0 10px;
2517
+ }
2518
+ .multiple-checkout .col2-set .divider {
2519
+ margin:0 -20px;
2520
+ padding:25px 0;
2521
+ position:relative;
2522
+ }
2523
+ .multiple-checkout .box {
2524
+ margin:0 0 15px;
2525
+ }
2526
+ .multiple-checkout .place-order .please-wait {
2527
+ float:right;
2528
+ padding:27px 7px 0 0;
2529
+ }
2530
+ .multiple-checkout .place-order .grand-total {
2531
+ float:right;
2532
+ height:71px;
2533
+ font-size:1.5em;
2534
+ padding:0 0 0 0px;
2535
+ overflow:hidden;
2536
+ }
2537
+ .multiple-checkout .place-order .grand-total .inner {
2538
+ float:left;
2539
+ height:57px;
2540
+ padding:14px 0px 0 0;
2541
+ }
2542
+ .multiple-checkout .place-order .grand-total .inner div {
2543
+ display:inline;
2544
+ }
2545
+ .multiple-checkout .place-order .grand-total big {
2546
+ display:inline;
2547
+ margin-right:12px;
2548
+ }
2549
+ .multiple-checkout .place-order .grand-total button.button span span {
2550
+ padding:0 45px 0 36px;
2551
+ }
2552
+ /* Step 1 */
2553
+ #multiship-addresses-table td {
2554
+ padding:10px;
2555
+ }
2556
+ #multiship-addresses-table tfoot td {
2557
+ padding:5px 10px;
2558
+ }
2559
+ /* Step 2 */
2560
+ .multiple-checkout .gift-messages-form .item .details .form-list {
2561
+ width:100%;
2562
+ overflow:hidden;
2563
+ }
2564
+ .multiple-checkout .gift-messages-form .item .details .form-list li {
2565
+ margin-right:-15px;
2566
+ }
2567
+ .multiple-checkout .gift-messages-form .item .details .form-list .field {
2568
+ width:230px;
2569
+ }
2570
+ .multiple-checkout .gift-messages-form .item .details .form-list .input-box {
2571
+ width:215px;
2572
+ }
2573
+ .multiple-checkout .gift-messages-form .item .details .form-list input.input-text {
2574
+ width:209px;
2575
+ }
2576
+ .multiple-checkout .gift-messages-form .item .details .form-list li.wide .input-box {
2577
+ width:445px;
2578
+ }
2579
+ .multiple-checkout .gift-messages-form .item .details .form-list li.wide textarea {
2580
+ width:439px;
2581
+ }
2582
+ .checkout-multishipping-shipping .box-sp-methods {
2583
+ border:1px solid;
2584
+ padding:13px;
2585
+ position:relative;
2586
+ }
2587
+ .checkout-multishipping-shipping .box-sp-methods .pointer {
2588
+ position:absolute;
2589
+ top:-20px;
2590
+ right:-40px;
2591
+ width:178px;
2592
+ height:41px;
2593
+ overflow:hidden;
2594
+ }
2595
+ /* Step 3 */
2596
+ .checkout-multishipping-billing .multiple-checkout {
2597
+ position:relative;
2598
+ }
2599
+ /* Account Login/Create Pages ============================================================ */
2600
+ .account-login .content h2 {
2601
+ margin:0 0 14px;
2602
+ padding:0 0 5px 0px;
2603
+ border-bottom:1px solid;
2604
+ background-position:0 1px;
2605
+ background-repeat:no-repeat;
2606
+ }
2607
+ .account-login .buttons-set {
2608
+ border-top:0;
2609
+ margin:0;
2610
+ }
2611
+ .account-login {
2612
+ margin-bottom: 3%;
2613
+ }
2614
+ /* My Account ============================================================================= */
2615
+ .my-account .title-buttons .link-rss {
2616
+ float:none;
2617
+ margin:0;
2618
+ }
2619
+ /********** < Dashboard */
2620
+ .dashboard .col2-set {
2621
+ margin:0 0 15px;
2622
+ }
2623
+ /* General Box */
2624
+ .box-account {
2625
+ margin: 0 0 20px;
2626
+ }
2627
+ .box-account .box-head {
2628
+ margin:0 0 1% 0;
2629
+ }
2630
+ .dashboard .box .box-title {
2631
+ padding:0 0 2px;
2632
+ margin:0 0 8px;
2633
+ text-align:right;
2634
+ }
2635
+ .dashboard .box .box-title h3, .dashboard .box .box-title h4 {
2636
+ float:left;
2637
+ margin:0;
2638
+ }
2639
+ /* Block: Reviews */
2640
+ .dashboard .box-reviews .number {
2641
+ float:left;
2642
+ font-size:10px;
2643
+ line-height:1;
2644
+ color:#fff;
2645
+ margin:3px -20px 0 0;
2646
+ padding:2px 3px;
2647
+ }
2648
+ .dashboard .box-reviews .details {
2649
+ margin-left:20px;
2650
+ }
2651
+ .dashboard .box-reviews li.item {
2652
+ margin:0 0 7px;
2653
+ }
2654
+ .dashboard .box-reviews li.item.last {
2655
+ margin:0;
2656
+ }
2657
+ .dashboard .box-reviews .ratings {
2658
+ margin:7px 0 0;
2659
+ }
2660
+ /* Block: Tags */
2661
+ .dashboard .box-tags .number {
2662
+ float:left;
2663
+ font-size:10px;
2664
+ line-height:1;
2665
+ color:#fff;
2666
+ margin:3px -20px 0 0;
2667
+ padding:2px 3px;
2668
+ }
2669
+ .dashboard .box-tags .details {
2670
+ margin-left:20px;
2671
+ }
2672
+ .dashboard .box-tags li.item {
2673
+ margin:0 0 7px;
2674
+ }
2675
+ .dashboard .box-tags li.item.last {
2676
+ margin:0;
2677
+ }
2678
+ .dashboard .box-tags .tags strong, .dashboard .box-tags .tags ul, .dashboard .box-tags .tags ul li {
2679
+ display:inline;
2680
+ }
2681
+ /********** Dashboard > */
2682
+ /* Address Book */
2683
+ .addresses-list address {
2684
+ margin:0 0 3px;
2685
+ }
2686
+ .addresses-list p {
2687
+ margin:0;
2688
+ }
2689
+ .addresses-list .separator {
2690
+ margin:0 3px;
2691
+ }
2692
+ .addresses-list li.item {
2693
+ border:1px solid;
2694
+ padding:10px 13px;
2695
+ margin:0 0 10px;
2696
+ }
2697
+ .addresses-list li.empty {
2698
+ background:none;
2699
+ border:0;
2700
+ padding:0;
2701
+ }
2702
+ .addresses-list li.empty p {
2703
+ }
2704
+ .addresses-list .addresses-additional li.item {
2705
+ background:none;
2706
+ border:0;
2707
+ padding:0;
2708
+ }
2709
+ /* Order View */
2710
+ .order-info {
2711
+ border:1px solid;
2712
+ padding:4px 8px;
2713
+ margin:0 0 8px;
2714
+ }
2715
+ .order-info dt, .order-info dd, .order-info ul, .order-info li {
2716
+ display:inline;
2717
+ }
2718
+ .order-info li {
2719
+ margin:0 3px;
2720
+ }
2721
+ .order-date {
2722
+ margin:10px 0;
2723
+ }
2724
+ .order-info-box {
2725
+ border:1px solid;
2726
+ padding:12px 15px;
2727
+ margin:0 0 15px;
2728
+ }
2729
+ .order-info-box .box-payment p {
2730
+ margin:0 0 3px;
2731
+ }
2732
+ .order-info-box .box-payment th {
2733
+ padding-right:7px;
2734
+ }
2735
+ .order-items {
2736
+ width:100%;
2737
+ overflow-x:auto;
2738
+ }
2739
+ .order-items .link-print {
2740
+ float:right;
2741
+ }
2742
+ .order-items p .link-print {
2743
+ float:none;
2744
+ }
2745
+ .order-gift-message {
2746
+ margin:15px 0;
2747
+ }
2748
+ .gift-message dd {
2749
+ margin:5px 0 0;
2750
+ }
2751
+ .order-about {
2752
+ margin:15px 0;
2753
+ }
2754
+ .order-about dd {
2755
+ margin:0 0 7px;
2756
+ }
2757
+ .tracking-table {
2758
+ margin:0 0 15px;
2759
+ }
2760
+ .tracking-table th {
2761
+ white-space:nowrap;
2762
+ }
2763
+ .tracking-table th, .tracking-table td {
2764
+ padding:1px 5px 0 0;
2765
+ }
2766
+ .tracking-table-popup {
2767
+ width:100%;
2768
+ }
2769
+ .tracking-table-popup th {
2770
+ white-space:nowrap;
2771
+ }
2772
+ .tracking-table-popup th, .tracking-table-popup td {
2773
+ padding:1px 8px;
2774
+ }
2775
+ /* Order Print Pages */
2776
+ .page-print .print-head {
2777
+ margin:0 0 15px;
2778
+ }
2779
+ .page-print .print-head .logo {
2780
+ float:left;
2781
+ }
2782
+ .page-print .print-head address {
2783
+ float:left;
2784
+ margin-left:15px;
2785
+ }
2786
+ .page-print .order-date {
2787
+ padding:0 0 10px;
2788
+ margin:0 0 10px;
2789
+ }
2790
+ .page-print .col2-set {
2791
+ margin:0 0 10px;
2792
+ }
2793
+ /* Price Rewrites */
2794
+ .page-print .gift-message-link {
2795
+ display:none;
2796
+ }
2797
+ .page-print .price-excl-tax, .page-print .price-incl-tax {
2798
+ display:block;
2799
+ white-space:nowrap;
2800
+ }
2801
+ .page-print .cart-price, .page-print .price-excl-tax .label, .page-print .price-incl-tax .label, .page-print .price-excl-tax .price, .page-print .price-incl-tax .price {
2802
+ display:inline;
2803
+ }
2804
+ /* My Wishlist */
2805
+ .my-wishlist .data-table td {
2806
+ padding:10px;
2807
+ }
2808
+ .my-wishlist .product-image {
2809
+ display:block;
2810
+ width:113px;
2811
+ height:113px;
2812
+ margin:0 0 5px;
2813
+ }
2814
+ .my-wishlist textarea {
2815
+ display:block;
2816
+ width:97%;
2817
+ height:109px;
2818
+ }
2819
+ .my-wishlist .buttons-set {
2820
+ margin-top:2em;
2821
+ }
2822
+ .my-wishlist .buttons-set button.button {
2823
+ float:none;
2824
+ }
2825
+ #wishlist-table .add-to-links {
2826
+ white-space:nowrap;
2827
+ }
2828
+ /* My Tags */
2829
+ .my-tag-edit {
2830
+ float:left;
2831
+ margin:0 0 10px;
2832
+ }
2833
+ .my-tag-edit .btn-remove {
2834
+ float:right;
2835
+ margin:5px 0 0 5px;
2836
+ }
2837
+ #my-tags-table {
2838
+ clear:both;
2839
+ }
2840
+ #my-tags-table td {
2841
+ padding:10px;
2842
+ }
2843
+ #my-tags-table .add-to-links {
2844
+ white-space:nowrap;
2845
+ }
2846
+ /* My Reviews */
2847
+ #my-reviews-table td {
2848
+ padding:10px;
2849
+ }
2850
+ .product-review .product-img-box {
2851
+ float:left;
2852
+ width:140px;
2853
+ }
2854
+ .product-review .product-img-box .product-image {
2855
+ display:block;
2856
+ width:125px;
2857
+ height:125px;
2858
+ }
2859
+ .product-review .product-img-box .label {
2860
+ margin:0 0 3px;
2861
+ }
2862
+ .product-review .product-img-box .ratings .rating-box {
2863
+ float:none;
2864
+ display:block;
2865
+ margin:0 0 3px;
2866
+ }
2867
+ .product-review .product-details {
2868
+ margin-left:150px;
2869
+ }
2870
+ .product-review .product-name {
2871
+ margin:0 0 10px;
2872
+ }
2873
+ .product-review h3 {
2874
+ margin:0 0 3px;
2875
+ }
2876
+ .product-review .ratings-table {
2877
+ margin:0 0 10px;
2878
+ }
2879
+ .product-review dd {
2880
+ margin:5px 0 0;
2881
+ }
2882
+ /* Billing Agreements */
2883
+ .billing-agreements .form-list li select {
2884
+ float:left;
2885
+ }
2886
+ .billing-agreements .form-list li button.button {
2887
+ float:left;
2888
+ margin-left:10px;
2889
+ }
2890
+ /* Footer ================================================================================ */
2891
+ .footer .store-switcher {
2892
+ display:inline;
2893
+ margin:0 5px 0 0;
2894
+ }
2895
+ .footer .store-switcher label {
2896
+ vertical-align:middle;
2897
+ }
2898
+ .footer .store-switcher select {
2899
+ padding:0;
2900
+ vertical-align:middle;
2901
+ }
2902
+ .footer .bugs {
2903
+ margin:13px 0 0;
2904
+ }
2905
+ .footer address {
2906
+ margin:0 0 0px;
2907
+ }
2908
+ /*.footer ul { display:inline; }*/
2909
+ .footer ul.links {
2910
+ display:block;
2911
+ }
2912
+ .footer ul.links {
2913
+ display:inline;
2914
+ }
2915
+ .footer li.last {
2916
+ background:none;
2917
+ }
2918
+ .footer-container .bottom-container {
2919
+ margin:0 0 5px;
2920
+ }
2921
+ /* Sample Data============================================================================ */
2922
+ .home-callout {
2923
+ margin-bottom:12px;
2924
+ }
2925
+ .home-callout img {
2926
+ display:block
2927
+ }
2928
+ .home-spot {
2929
+ float:left;
2930
+ width:470px;
2931
+ margin-left:20px;
2932
+ }
2933
+ .best-selling h3 {
2934
+ margin:12px 0 6px 0;
2935
+ }
2936
+ .best-selling table {
2937
+ border-top:1px solid;
2938
+ }
2939
+ .best-selling td {
2940
+ width:50%;
2941
+ border-bottom:1px solid;
2942
+ padding:8px 10px 8px 8px;
2943
+ }
2944
+ .best-selling .product-img {
2945
+ float:left;
2946
+ border:2px solid;
2947
+ }
2948
+ .best-selling .product-description {
2949
+ margin-left:107px;
2950
+ line-height:1.3em;
2951
+ }
2952
+ /* Clears ================================================================================ */
2953
+ .clearer:after, .header-container:after, .header-container .top-container:after, .header:after, .header .quick-access:after, #nav:after, .main:after, .footer:after, .footer-container .bottom-container:after, .col-main:after, .col2-set:after, .col3-set:after, .col3-layout .product-options-bottom .price-box:after, .col4-set:after, .search-autocomplete li:after, .block .block-content:after, .block .actions:after, .block li.item:after, .block-poll li:after, .block-layered-nav .currently li:after, .page-title:after, .products-grid:after, .products-list li.item:after, .box-account .box-head:after, .dashboard .box .box-title:after, .box-reviews li.item:after, .box-tags li.item:after, .pager:after, .sorter:after, .ratings:after, .add-to-box:after, .add-to-cart:after, .product-essential:after, .product-collateral:after, .product-view .product-img-box .more-views ul:after, .product-view .box-tags .form-add:after, .product-options .options-list li:after, .product-options-bottom:after, .product-review:after, .cart:after, .cart-collaterals:after, .cart .crosssell li.item:after, .opc .step-title:after, .checkout-progress:after, .multiple-checkout .place-order:after, .group-select li:after, .form-list li:after, .form-list .field:after, .buttons-set:after, .page-print .print-head:after, .advanced-search-summary:after, .gift-messages-form .item:after, .send-friend .form-list li p:after {
2954
+ display:block;
2955
+ content:".";
2956
+ clear:both;
2957
+ font-size:0;
2958
+ line-height:0;
2959
+ height:0;
2960
+ overflow:hidden;
2961
+ }
2962
+ /* ======================================================================================= */
2963
+ .demo-notice {
2964
+ margin: 0;
2965
+ padding: 6px 10px;
2966
+ background: #d75f07;
2967
+ font-size: 12px;
2968
+ line-height: 1.15;
2969
+ border: 0;
2970
+ text-align: center;
2971
+ }
2972
+ .demo-notice .notice-inner p {
2973
+ padding: 0;
2974
+ border: 0;
2975
+ margin: 0;
2976
+ color: #fff;
2977
+ }
skin/frontend/default/grayscale/css/webandpeople/backtotopbutton/backtotopbutton.css ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ a.go-to-top {
2
+ visibility: visible;
3
+ position: fixed;
4
+ right: 100px;
5
+ bottom: 50px;
6
+ padding: 0;
7
+ display: block;
8
+ z-index: 9999;
9
+ -webkit-transition: all .3s linear;
10
+ -moz-transition: all .3s linear;
11
+ -ms-transition: all .3s linear;
12
+ transition: all .3s linear;
13
+ opacity: .5;
14
+ filter: alpha(opacity=50);
15
+ text-indent: -9999px;
16
+ width: 33px;
17
+ height: 33px;
18
+ background-color: transparent;
19
+ background-repeat: no-repeat;
20
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAhCAYAAABX5MJvAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAodJREFUeNrMWDFoGlEY/vM8RMwQcHA6SUEMIkLAIUu4LA5OdjBbNgmZmw4u7VZIF4emcyluXUoWFycRPOKQQQhIh0wNBkQQ5IaKuNj/t/+Ty8l572yb84OPx52P+77737v3vufOfD4HFVSr1V1sDOQR8hB5gNSRe0gL+YR8QN4j75BmpVL5pfLsHS8TKP4Km1Pka+QJqKONrCNv0MzPjU2ggXNsyshj2By3yBoa+erLBIrvY3OJfEN94O9BIp+R12jm0dMEGshg8x55Bv8e35BXaOSHqwmuwEdVA6VSCRKJBPR6PWg2m36MvLNXRDg6XKoayOVykEwmIRwOQzabhXQ6rWrijHVWK8GT8IvKHMjn8wsTdsxmMzBNE7rdruocuZCTVdg+w7KKARKXBkiYMBgMFhUxDEO1IqRTZt3lcJyqfIYkTkIEeuN+v780QfOCjBSLxZUqueCYdSG0i8D2A3LfywANQygUWgi2221IpVIQi8UWJuiaHhWPx0HXdbAsC0ajkZeRSKfT+a7xUnyiWgEy0Gg0VvpMp9PlfZqohUIBotGo1xwhXUPjvcDTAJWaDLRarbWvJn8nI/ahW4MjwZuRK5wG6I3XQVZEzpFMJuM1JIca74auoIcRfCxGy4oMh0OYTCZeXQ803o5d4VfcXhHFNUMXnAeCxJ7gQBIkLMGJKEg8CY5kQeJBcCYMEveCQ2mQuCMTJofSIEC6puBYXg/IRJ305VZ+w6n4JXHLun/yBJ8Lapx41D9w3K4p2IzH403Sd02eR5xB95Mz/60NA5HIs2XaByj6v5UXmvNHZFw17PoUtqfta/uNZ2mbY/gVd/wfkOeOx+0/gW3NWXSrTuUv9f/EbwEGADqkL+Vp3VTGAAAAAElFTkSuQmCC);
21
+ }
22
+ a.go-to-top:hover {
23
+ opacity: 1;
24
+ filter: alpha(opacity=100);
25
+ background-color: transparent;
26
+ }
27
+ a.go-to-top.hidden {
28
+ visibility: hidden;
29
+ }
30
+ @media all and (max-width:799px) {
31
+ a.go-to-top {
32
+ display: none !important;
33
+ }
34
+ }
35
+ /*POSITION*/
36
+ a.go-to-top {
37
+ right: 50%;
38
+ bottom: 50px;
39
+ }
skin/frontend/default/grayscale/css/webandpeople/custommenu/custommenu.css ADDED
@@ -0,0 +1,383 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #custommenu {
2
+ position: relative;
3
+ font-size: 12px;
4
+ border-radius: 2px;
5
+ height: auto;
6
+ width: 100%;
7
+ }
8
+ /*IE7 fix*/
9
+ *:first-child+html #custommenu {
10
+ z-index: 998;
11
+ }
12
+ div.menu {
13
+ float: left;
14
+ }
15
+ div.menu a:link, div.menu a:visited {
16
+ display: block;
17
+ height: 38px;
18
+ padding-left: 15px;
19
+ padding-right: 15px;
20
+ }
21
+ div.menu a span {
22
+ display: block;
23
+ height: 24px;
24
+ padding-right: 0px;
25
+ padding-top: 14px;
26
+ }
27
+ div.menu a span:hover {
28
+ cursor: pointer;
29
+ }
30
+ div.wp-custom-menu-popup {
31
+ position: absolute;
32
+ z-index: 1000;
33
+ display: none;
34
+ text-align: left;
35
+ padding: 0px 0px 10px 0px;
36
+ border-top: 0;
37
+
38
+ margin-top: -1px;
39
+ }
40
+ div.menu a, div.wp-custom-menu-popup a {
41
+ text-decoration: none;
42
+ display:block;
43
+ cursor: pointer;
44
+ _height: 0;
45
+ height: auto;
46
+ line-height:13px;
47
+ }
48
+ div.level1 {
49
+ margin-bottom: 5px;
50
+ }
51
+ div.level2 {
52
+ margin-bottom: 5px;
53
+ }
54
+ div.level3 {
55
+ margin-bottom: 5px;
56
+ padding: 5px;
57
+ }
58
+ div.block2 {
59
+ padding-top: 0px;
60
+ padding-left: 10px;
61
+ padding-right: 10px;
62
+ display: block;
63
+ }
64
+ a.level1:link, a.level1:visited {
65
+ margin-top: 15px;
66
+ margin-bottom: 5px;
67
+ padding: 3px 10px;
68
+ border-radius: 2px;
69
+ }
70
+ a.level2:link, a.level2:visited {
71
+ padding: 3px 10px;
72
+ border-radius: 2px;
73
+ }
74
+ a.level3:link, a.level3:visited {
75
+ padding: 3px 7px;
76
+ }
77
+ /* Clearfix */
78
+ div.block2:after {
79
+ content: ".";
80
+ display: block;
81
+ clear: both;
82
+ visibility: hidden;
83
+ line-height: 0;
84
+ height: 0;
85
+ }
86
+ html[xmlns] div.block2 {
87
+ display: block;
88
+ }
89
+ * html div.block2 {
90
+ height: 1%;
91
+ }
92
+ div.block2 p {
93
+ margin-bottom: 3px;
94
+ line-height: 120%;
95
+ color: #000;
96
+ font-size: 11px;
97
+ }
98
+ div.block2 p a {
99
+ display: inline;
100
+ }
101
+ div.block2 a img {
102
+ opacity: .9;
103
+ filter: alpha(opacity=90);
104
+ }
105
+ div.block2 a:hover img {
106
+ opacity: 1;
107
+ filter: alpha(opacity=100);
108
+ -webkit-transition: all .2s ease-in-out;
109
+ -moz-transition: all .2s ease-in-out;
110
+ -ms-transition: all .2s ease-in-out;
111
+ transition: all .2s ease-in-out;
112
+ }
113
+ div.block2 .brand a:hover img {
114
+ -webkit-transition: all 0;
115
+ -moz-transition: all 0;
116
+ -ms-transition: all 0;
117
+ transition: all 0;
118
+ }
119
+ div.wp-custom-menu-popup hr {
120
+ margin: 0px 0px 10px 0px;
121
+ }
122
+ /******************************************* COLUMN WIDTH ***************************** */
123
+ div.column {
124
+ float: left;
125
+ width: 23%; /* for 4 columns*/
126
+ padding: 0px 1%;
127
+ margin: 0px 0px 0px 0px;
128
+ }
129
+ /*end COLUMN WIDTH */
130
+ div.itemSubMenu {
131
+ margin-left: 0px;
132
+ }
133
+ .clearBoth {
134
+ clear:both;
135
+ height: 0;
136
+ overflow: hidden;
137
+ }
138
+ div.level1 {
139
+ margin-bottom: 0px;
140
+ }
141
+ /*BG*/
142
+ div.wp-custom-menu-popup {
143
+ background: #f1f1f1;
144
+ box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.3);
145
+ }
146
+ div.menu a:link, div.menu a:visited {
147
+ }
148
+ div.menu a:hover {
149
+ background: #f1f1f1;
150
+ }
151
+
152
+ div.menu a, div.wp-custom-menu-popup a {
153
+ -webkit-transition: all .1s linear;
154
+ -moz-transition: all .1s linear;
155
+ -ms-transition: all .1s linear;
156
+ transition: all .1s linear;
157
+ }
158
+ div.menu .brand a, div.wp-custom-menu-popup .brand a {
159
+ -webkit-transition: all 0s linear;
160
+ -moz-transition: all 0s linear;
161
+ -ms-transition: all 0s linear;
162
+ transition: all 0s linear;
163
+ }
164
+ div.menu.active a {
165
+ background: #f1f1f1 !important;
166
+ color: #000 !important;
167
+ }
168
+
169
+ /*FONTS*/
170
+ div.menu {
171
+ font-weight: normal;
172
+ font-size: 13px;
173
+ text-transform: uppercase;
174
+ font-family: Arial, sans-serif;
175
+ }
176
+ a.level1:link, a.level1:visited {
177
+ text-transform: none;
178
+ font-weight: bold;
179
+ }
180
+ a.level2:link, a.level2:visited {
181
+ font-weight: normal;
182
+ font-size: 12px;
183
+ line-height: 16px;
184
+ }
185
+ a.level3:link, a.level3:visited {
186
+ font-size: 11px;
187
+ font-weight: normal;
188
+ line-height: 100%;
189
+ margin-bottom: 0px;
190
+ }
191
+ /*COLOR*/
192
+ div.menu a:link, div.menu a:visited {
193
+ color: #ffffff;
194
+ }
195
+ a.level2:link, a.level2:visited,
196
+ a.level3:link, a.level3:visited {
197
+ color: #000;
198
+ }
199
+ a.level1:hover,
200
+ a.level2:hover, a.level3:hover {
201
+ background: #ffffff;
202
+ }
203
+ .block2 table.brand {
204
+ float: left;
205
+ }
206
+ .block2 .single_menu_product {
207
+ float: left;
208
+ position: relative;
209
+ max-width: 150px;
210
+ overflow: hidden;
211
+ margin-right: 20px;
212
+ margin-left: 0px;
213
+ }
214
+ /*MOBILE MENU STYLES*/
215
+ #menu-button, .parentMenu {
216
+ display: inline-block;
217
+ }
218
+ html[xmlns] #menu-button, html[xmlns] .parentMenu {
219
+ display: block;
220
+ }
221
+ * html #menu-button, * html .parentMenu {
222
+ height: 1%;
223
+ }
224
+ #menu-button:after, .parentMenu:after {
225
+ content: ".";
226
+ display: block;
227
+ clear: both;
228
+ visibility: hidden;
229
+ line-height: 0;
230
+ height: 0;
231
+ }
232
+ #custommenu-mobile {
233
+ position:relative;
234
+ margin: 0 auto;
235
+ padding: 0;
236
+ z-index: 999;
237
+ border-bottom: 2px solid #dadada;
238
+ }
239
+ #menu-button {
240
+ float: none;
241
+ padding: 10px 0px 10px 0px;
242
+ margin: 0px 0px 0px 0px;
243
+ width: 100%;
244
+ border-bottom: 1px solid #fff;
245
+ text-transform: uppercase;
246
+ }
247
+ #menu-button a:link, #menu-button a:visited {
248
+ color: #fff;
249
+ display: block;
250
+ float: left;
251
+ margin-left: 45%;
252
+ position: relative;
253
+ padding: 0px 10px;
254
+ }
255
+ #menu-button a span:after {
256
+ display: block;
257
+ position: relative;
258
+ content: "";
259
+ width: 0;
260
+ height: 0;
261
+ border-left: 5px solid transparent;
262
+ border-right: 5px solid transparent;
263
+ border-top: 4px solid #dadada;
264
+ margin: 8px 0px 0px 5px;
265
+ float: right;
266
+ opacity: 0.7;
267
+ }
268
+ #menu-button:hover {
269
+ cursor: pointer;
270
+ }
271
+ #menu-button:hover a:after {
272
+ opacity: 1;
273
+ }
274
+ .menu-mobile div.column {
275
+ float:none;
276
+ padding:5px;
277
+ background: #fff;
278
+ }
279
+ .menu-mobile a.itemMenuName {
280
+ display: block;
281
+ text-align: left;
282
+ }
283
+ .menu-mobile div.menu-button, .menu-mobile div.menu-mobile {
284
+ float: none;
285
+ padding: 0px 0px 0px 0px;
286
+ margin: 0px 0px 0px 0px;
287
+ width: 100%;
288
+ border-bottom: 1px solid #fff;
289
+ }
290
+ .menu-mobile div.column {
291
+ float: none;
292
+ width: 100%;
293
+ padding: 0px 0;
294
+ margin: 0px 0px 0px 0px;
295
+ }
296
+ .menu-mobile a.level1:link, .menu-mobile a.level1:visited {
297
+ margin-top: 0px;
298
+ margin-bottom: 0;
299
+ padding: 10px 10px;
300
+ border-radius: 2px;
301
+ color: #000;
302
+ font-weight: normal;
303
+ }
304
+ .menu-mobile a.level2:link, .menu-mobile a.level2:visited {
305
+ padding: 10px 10px;
306
+ border-radius: 2px;
307
+
308
+ }
309
+ .menu-mobile a.level1:link, .menu-mobile a.level1:visited {
310
+ color: #555;
311
+ }
312
+ .menu-mobile a.level1:hover {
313
+ background-color: #f1f1f1;
314
+ }
315
+ .menu-mobile .parent {
316
+ background-color: #fff;
317
+ }
318
+ /*buttons level 01*/
319
+ .menu-mobile .parentMenu {
320
+ padding: 0px 0px;
321
+ display: block;
322
+ text-align: left;
323
+ border-bottom: 1px solid #dadada;
324
+ }
325
+ .menu-mobile .parentMenu a:link, .menu-mobile .parentMenu a:visited {
326
+ padding: 10px 0px 10px 10px;
327
+ margin-right: 80px;
328
+ color: #000;
329
+ display: block;
330
+ }
331
+ .menu-mobile .parentMenu:hover {
332
+ cursor: pointer;
333
+ }
334
+ .parentMenu {
335
+ position: relative;
336
+ }
337
+ .parentMenu a {
338
+ display: block;
339
+ }
340
+ #menu-button {
341
+ cursor: pointer;
342
+ }
343
+ .menu-mobile div.level2 {
344
+ margin-bottom: 0;
345
+ }
346
+ #custommenu-mobile .button {
347
+ cursor: pointer;
348
+ position: absolute;
349
+ right: 1%;
350
+ top: 0px;
351
+ display: block;
352
+ width: 80px;
353
+ height: 38px;
354
+ background-color: transparent;
355
+ background-repeat: no-repeat;
356
+ background-position: 90% 50%;
357
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJxJREFUeNpi/P//PwM66O3tBVF1UNwEwsXFxRjqmBhwg3wgZobSWAE+zcxoNEmaCQKKNDP29PTgkvsAxPxA/BGIBXDZ3A7Ef4D4Pxrmh6rhxyL3E4gbQZqL8AUKDsAG0gfS3AfEf0nU/AuIJ4I0VwIxC8j/aPgjVOFHLHLsQFzDiCeFoQQYqSmMtvGMT/NfNJokzQug9HRcCgACDAC34CnSSWx3zwAAAABJRU5ErkJggg==);
358
+ }
359
+ #custommenu-mobile .button.open {
360
+ background-color: transparent;
361
+ background-repeat: no-repeat;
362
+ background-position: 90% 50%;
363
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAE5JREFUeNpi/P//PwO5gImBAjBENbP09vZSZHM7EP8B4v8k4J9A3AjSXATEzCRaygbSB9LcB8R/SdT8C4gnsgCJSigmGTCOpjDSAECAAQBI6RqpQRaDFgAAAABJRU5ErkJggg==);
364
+ }
365
+ #custommenu-mobile .level1 .button {
366
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIxJREFUeNpi/P//PwO5gAWbYG9vL4ZYcXExhhgTAwUAn+YJQAzyUxcuBYwwP2Nx6k8gZgPid0AsjM0L+Gxmg9LMxDob5lTkKOBHEuvCpzmZQBgl4NNcD8SvcWgEiTfhi+c+KGZAcvpHIBbAG9pYEglKaJOaSCqB+BrUK8QnTyxeYCDa2dRIngQBQIABAGG6KfxEmzSnAAAAAElFTkSuQmCC);
367
+ }
368
+ #custommenu-mobile .level1 .button.open {
369
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAE1JREFUeNpi/P//PwO5gImBAjBwmllgjN7eXqI1FRcXU9/ZE4D4Px7chU9zMgHLEvBprgfi1zg0gsSbsAYYFPRBMVGAcQSmMIo0AwQYAIYUFeQ3G04OAAAAAElFTkSuQmCC);
370
+ }
371
+ /*BG*/
372
+ #custommenu-mobile .parentMenu:hover a:link, #custommenu-mobile .parentMenu:hover a:visited, #custommenu-mobile .parentMenu:hover {
373
+ background-color: #ffffff;
374
+ }
375
+ #custommenu-mobile .level0 {
376
+ background-color: #ffffff;
377
+ }
378
+ #custommenu-mobile .level1 {
379
+ background-color: #f1f1f1;
380
+ }
381
+ #custommenu-mobile .level2 {
382
+ background-color: #ffffff;
383
+ }
skin/frontend/default/grayscale/css/webandpeople/smartcatalog/smartcatalog.css ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* ============================ */
2
+ /* === Catalog Product List === */
3
+ /* ============================ */
4
+
5
+ .products-grid {
6
+ background: none;
7
+ border: none;
8
+ }
9
+ .products-grid.smart li.item {
10
+ display: block;
11
+ }
12
+ .products-grid .item-content {
13
+ padding-bottom: 60px;
14
+
15
+ }
16
+ .products-grid .product-image {
17
+ width: auto;
18
+ height: auto;
19
+ }
20
+ .products-grid .actions {
21
+ text-align: center;
22
+ position: absolute;
23
+ bottom: 0;
24
+ }
25
+ .smartcolumns-splash {
26
+ font-size: 0;
27
+ width: 33px;
28
+ height: 11px;
29
+ background-repeat: no-repeat;
30
+ background-position: 0 0;
31
+ background-image: url(data:image/gif;base64,R0lGODlhIQALANU8AP///8zMzDMzM+zs7Ovr6/r6+vPz8+/v7/X19c3NzeXl5erq6vv7+87OztfX1/z8/NHR0f7+/s/Pz9bW1uHh4eTk5LW1tb6+vq2traurq/Hx8V5eXtra2tXV1fn5+fT09NDQ0ElJSfj4+DU1NePj4z09PZOTk4eHh9nZ2ZWVlefn5+Dg4NTU1JGRke7u7kFBQT8/P21tbfb29rCwsPLy8lxcXFdXV4WFhf39/ZiYmNvb27y8vP///wAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6ODIzMjNBQzcwMjU3MTFFMUFDREJEQzhBMEE2MEE2QUMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6ODIzMjNBQzgwMjU3MTFFMUFDREJEQzhBMEE2MEE2QUMiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4MjMyM0FDNTAyNTcxMUUxQUNEQkRDOEEwQTYwQTZBQyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4MjMyM0FDNjAyNTcxMUUxQUNEQkRDOEEwQTYwQTZBQyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PgH//v38+/r5+Pf29fTz8vHw7+7t7Ovq6ejn5uXk4+Lh4N/e3dzb2tnY19bV1NPS0dDPzs3My8rJyMfGxcTDwsHAv769vLu6ubi3trW0s7KxsK+urayrqqmop6alpKOioaCfnp2cm5qZmJeWlZSTkpGQj46NjIuKiYiHhoWEg4KBgH9+fXx7enl4d3Z1dHNycXBvbm1sa2ppaGdmZWRjYmFgX15dXFtaWVhXVlVUU1JRUE9OTUxLSklIR0ZFRENCQUA/Pj08Ozo5ODc2NTQzMjEwLy4tLCsqKSgnJiUkIyIhIB8eHRwbGhkYFxYVFBMSERAPDg0MCwoJCAcGBQQDAgEAACH5BAUoADwALAAAAAAhAAsAAAaSQIBwSCwaj0jcJYUZGB8DxeBhLBAUh0hRtRF4SxaiARIoQwzEQaMccHiIXa93NBEyQOwyiCFEJPJtQzpyhCdCC4BlC0IUiQEIQjuEcjFCJI4kQhyOB0Iok143h46LAI2JkEI1kyMsdhKAEnwAH395dUMKNnIlM2JkZjREBGtlHSJFBRcmTU8DFVNVBBVZSNbX1kEAIfkEBRQAPAAsAQABABQACQAABlxAHi9yUBAKwiTPYMlZDEmPI0BtDJSSkGAbkginVGoCIdS8tuiXRhZuU4QZtDzjaoc5wpYc3ULYqStwe1sZPBN2CR9lMHswGjwiHWENBFhaXAlJRBVHSkJMJk9CQQAh+QQFKAA8ACwMAAEAFAAJAAAGX0Ae7zFQDB7CJG+ASV0KSQMkQIUYlJaSYLtR8RggqhjEEE5G2/SGtxC7F8JTeo4iucUkYWyevrTvAXA8cnwCEwwSdxJlPCxoczVCUmIQNEozWls2CklEFUdKQkwmT0JBADs=);
32
+ /*background-image: url(../../../images/webandpeople/smartcatalog/loader.gif);*/
33
+ margin-left: auto;
34
+ margin-right: auto;
35
+ text-indent: -999px; /* IE7 fix */
36
+ }
37
+ .hide {
38
+ visibility: hidden;
39
+ }
40
+
41
+ .ajax-filter-update,
42
+ .ajax-page-update {
43
+ position: relative;
44
+ height: 100%;
45
+ }
46
+
47
+ #wp-x-overlay-list {
48
+ display: none;
49
+ width: 100%;
50
+ height: 100%;
51
+ background-color: #FFFFFF;
52
+ z-index: 99999;
53
+ opacity: 0.5;
54
+ filter: progid:DXImageTransform.Microsoft.Alpha(opacity = 50);
55
+ position: absolute;
56
+ top: 0;
57
+ left: 0;
58
+ background-repeat: no-repeat;
59
+ background-position: 45% 100px;
60
+ background-image: url(data:image/gif;base64,R0lGODlhIAAgAPUAAP///wAAAPr6+sTExOjo6PDw8NDQ0H5+fpqamvb29ubm5vz8/JKSkoaGhuLi4ri4uKCgoOzs7K6urtzc3D4+PlZWVmBgYHx8fKioqO7u7kpKSmxsbAwMDAAAAM7OzsjIyNjY2CwsLF5eXh4eHkxMTLCwsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAIAAgAAAG/0CAcEgkFjgcR3HJJE4SxEGnMygKmkwJxRKdVocFBRRLfFAoj6GUOhQoFAVysULRjNdfQFghLxrODEJ4Qm5ifUUXZwQAgwBvEXIGBkUEZxuMXgAJb1dECWMABAcHDEpDEGcTBQMDBQtvcW0RbwuECKMHELEJF5NFCxm1AAt7cH4NuAOdcsURy0QCD7gYfcWgTQUQB6Zkr66HoeDCSwIF5ucFz3IC7O0CC6zx8YuHhW/3CvLyfPX4+OXozKnDssBdu3G/xIHTpGAgOUPrZimAJCfDPYfDin2TQ+xeBnWbHi37SC4YIYkQhdy7FvLdpwWvjA0JyU/ISyIx4xS6sgfkNS4me2rtVKkgw0JCb8YMZdjwqMQ2nIY8BbcUQNVCP7G4MQq1KRivR7tiDEuEFrggACH5BAkKAAAALAAAAAAgACAAAAb/QIBwSCQmNBpCcckkEgREA4ViKA6azM8BEZ1Wh6LOBls0HA5fgJQ6HHQ6InKRcWhA1d5hqMMpyIkOZw9Ca18Qbwd/RRhnfoUABRwdI3IESkQFZxB4bAdvV0YJQwkDAx9+bWcECQYGCQ5vFEQCEQoKC0ILHqUDBncCGA5LBiHCAAsFtgqoQwS8Aw64f8m2EXdFCxO8INPKomQCBgPMWAvL0n/ff+jYAu7vAuxy8O/myvfX8/f7/Arq+v0W0HMnr9zAeE0KJlQkJIGCfE0E+PtDq9qfDMogDkGmrIBCbNQUZIDosNq1kUsEZJBW0dY/b0ZsLViQIMFMW+RKKgjFzp4fNokPIdki+Y8JNVxA79jKwHAI0G9JGw5tCqDWTiFRhVhtmhVA16cMJTJ1OnVIMo1cy1KVI5NhEAAh+QQJCgAAACwAAAAAIAAgAAAG/0CAcEgkChqNQnHJJCYWRMfh4CgamkzFwBOdVocNCgNbJAwGhKGUOjRQKA1y8XOGAtZfgIWiSciJBWcTQnhCD28Qf0UgZwJ3XgAJGhQVcgKORmdXhRBvV0QMY0ILCgoRmIRnCQIODgIEbxtEJSMdHZ8AGaUKBXYLIEpFExZpAG62HRRFArsKfn8FIsgjiUwJu8FkJLYcB9lMCwUKqFgGHSJ5cnZ/uEULl/CX63/x8KTNu+RkzPj9zc/0/Cl4V0/APDIE6x0csrBJwybX9DFhBhCLgAilIvzRVUriKHGlev0JtyuDvmsZUZlcIiCDnYu7KsZ0UmrBggRP7n1DqcDJEzciOgHwcwTyZEUmIKEMFVIqgyIjpZ4tjdTxqRCMPYVMBYDV6tavUZ8yczpkKwBxHsVWtaqo5tMgACH5BAkKAAAALAAAAAAgACAAAAb/QIBwSCQuBgNBcck0FgvIQtHRZCYUGSJ0IB2WDo9qUaBQKIXbLsBxOJTExUh5mB4iDo0zXEhWJNBRQgZtA3tPZQsAdQINBwxwAnpCC2VSdQNtVEQSEkOUChGSVwoLCwUFpm0QRAMVFBQTQxllCqh0kkIECF0TG68UG2O0foYJDb8VYVa0alUXrxoQf1WmZnsTFA0EhgCJhrFMC5Hjkd57W0jpDsPDuFUDHfHyHRzstNN78PPxHOLk5dwcpBuoaYk5OAfhXHG3hAy+KgLkgNozqwzDbgWYJQyXsUwGXKNA6fnYMIO3iPeIpBwyqlSCBKUqEQk5E6YRmX2UdAT5kEnHKkQ5hXjkNqTPtKAARl1sIrGoxSFNuSEFMNWoVCxEpiqyRlQY165wEHELAgAh+QQJCgAAACwAAAAAIAAgAAAG/0CAcEgsKhSLonJJTBIFR0GxwFwmFJlnlAgaTKpFqEIqFJMBhcEABC5GjkPz0KN2tsvHBH4sJKgdd1NHSXILah9tAmdCC0dUcg5qVEQfiIxHEYtXSACKnWoGXAwHBwRDGUcKBXYFi0IJHmQEEKQHEGGpCnp3AiW1DKFWqZNgGKQNA65FCwV8bQQHJcRtds9MC4rZitVgCQbf4AYEubnKTAYU6eoUGuSpu3fo6+ka2NrbgQAE4eCmS9xVAOW7Yq7IgA4Hpi0R8EZBhDshOnTgcOtfM0cAlTigILFDiAFFNjk8k0GZgAxOBozouIHIOyKbFixIkECmIyIHOEiEWbPJTTQ5FxcVOMCgzUVCWwAcyZJvzy45ADYVZNIwTlIAVfNB7XRVDLxEWLQ4E9JsKq+rTdsMyhcEACH5BAkKAAAALAAAAAAgACAAAAb/QIBwSCwqFIuicklMEgVHQVHKVCYUmWeUWFAkqtOtEKqgAsgFcDFyHJLNmbZa6x2Lyd8595h8C48RagJmQgtHaX5XZUYKQ4YKEYSKfVKPaUMZHwMDeQBxh04ABYSFGU4JBpsDBmFHdXMLIKofBEyKCpdgspsOoUsLXaRLCQMgwky+YJ1FC4POg8lVAg7U1Q5drtnHSw4H3t8HDdnZy2Dd4N4Nzc/QeqLW1bnM7rXuV9tEBhQQ5UoCbJDmWKBAQcMDZNhwRVNCYANBChZYEbkVCZOwASEcCDFQ4SEDIq6WTVqQIMECBx06iCACQQPBiSabHDqzRUTKARMhSFCDrc+WNQIcOoRw5+ZIHj8ADqSEQBQAwKKLhIzowEEeGKQ0owIYkPKjHihZoBKi0KFE01b4zg7h4y4IACH5BAkKAAAALAAAAAAgACAAAAb/QIBwSCwqFIuicklMEgVHQVHKVCYUmWeUWFAkqtOtEKqgAsgFcDFyHJLNmbZa6x2Lyd8595h8C48RagJmQgtHaX5XZUUJeQCGChGEin1SkGlubEhDcYdOAAWEhRlOC12HYUd1eqeRokOKCphgrY5MpotqhgWfunqPt4PCg71gpgXIyWSqqq9MBQPR0tHMzM5L0NPSC8PCxVUCyeLX38+/AFfXRA4HA+pjmoFqCAcHDQa3rbxzBRD1BwgcMFIlidMrAxYICHHA4N8DIqpsUWJ3wAEBChQaEBnQoB6RRr0uARjQocMAAA0w4nMz4IOaU0lImkSngYKFc3ZWyTwJAALGK4fnNA3ZOaQCBQ22wPgRQlSIAYwSfkHJMrQkTyEbKFzFydQq15ccOAjUEwQAIfkECQoAAAAsAAAAACAAIAAABv9AgHBILCoUi6JySUwSBUdBUcpUJhSZZ5RYUCSq060QqqACyAVwMXIcks2ZtlrrHYvJ3zn3mHwLjxFqAmZCC0dpfldlRQl5AIYKEYSKfVKQaW5sSENxh04ABYSFGU4LXYdhR3V6p5GiQ4oKmGCtjkymi2qGBZ+6eo+3g8KDvYLDxKrJuXNkys6qr0zNygvHxL/V1sVD29K/AFfRRQUDDt1PmoFqHgPtBLetvMwG7QMes0KxkkIFIQNKDhBgKvCh3gQiqmxt6NDBAAEIEAgUOHCgBBEH9Yg06uWAIQUABihQMACgBEUHTRwoUEOBIcqQI880OIDgm5ABDA8IgUkSwAAyij1/jejAARPPIQwONBCnBAJDCEOOCnFA8cOvEh1CEJEqBMIBEDaLcA3LJIEGDe/0BAEAIfkECQoAAAAsAAAAACAAIAAABv9AgHBILCoUi6JySUwSBUdBUcpUJhSZZ5RYUCSq060QqqACyAVwMXIcks2ZtlrrHYvJ3zn3mHwLjxFqAmZCC0dpfldlRQl5AIYKEYSKfVKQaW5sSENxh04ABYSFGU4LXYdhR3V6p5GiQ4oKmGCtjkymi2qGBZ+6eo+3g8KDvYLDxKrJuXNkys6qr0zNygvHxL/V1sVDDti/BQccA8yrYBAjHR0jc53LRQYU6R0UBnO4RxmiG/IjJUIJFuoVKeCBigBN5QCk43BgFgMKFCYUGDAgFEUQRGIRYbCh2xACEDcAcHDgQDcQFGf9s7VkA0QCI0t2W0DRw68h8ChAEELSJE8xijBvVqCgIU9PjwA+UNzG5AHEB9xkDpk4QMGvARQsEDlKxMCALDeLcA0rqEEDlWCCAAAh+QQJCgAAACwAAAAAIAAgAAAG/0CAcEgsKhSLonJJTBIFR0FRylQmFJlnlFhQJKrTrRCqoALIBXAxchySzZm2Wusdi8nfOfeYfAuPEWoCZkILR2l+V2VFCXkAhgoRhIp9UpBpbmxIQ3GHTgAFhIUZTgtdh2FHdXqnkaJDigqYYK2OTKaLaoYFn7p6j0wOA8PEAw6/Z4PKUhwdzs8dEL9kqqrN0M7SetTVCsLFw8d6C8vKvUQEv+dVCRAaBnNQtkwPFRQUFXOduUoTG/cUNkyYg+tIBlEMAFYYMAaBuCekxmhaJeSeBgiOHhw4QECAAwcCLhGJRUQCg3RDCmyUVmBYmlOiGqmBsPGlyz9YkAlxsJEhqCubABS9AsPgQAMqLQfM0oTMwEZ4QpLOwvMLxAEEXIBG5aczqtaut4YNXRIEACH5BAkKAAAALAAAAAAgACAAAAb/QIBwSCwqFIuicklMEgVHQVHKVCYUmWeUWFAkqtOtEKqgAsgFcDFyHJLNmbZa6x2Lyd8595h8C48RahAQRQtHaX5XZUUJeQAGHR0jA0SKfVKGCmlubEhCBSGRHSQOQwVmQwsZTgtdh0UQHKIHm2quChGophuiJHO3jkwOFB2UaoYFTnMGegDKRQQG0tMGBM1nAtnaABoU3t8UD81kR+UK3eDe4nrk5grR1NLWegva9s9czfhVAgMNpWqgBGNigMGBAwzmxBGjhACEgwcgzAPTqlwGXQ8gMgAhZIGHWm5WjelUZ8jBBgPMTBgwIMGCRgsygVSkgMiHByD7DWDmx5WuMkZqDLCU4gfAq2sACrAEWFSRLjUfWDopCqDTNQIsJ1LF0yzDAA90UHV5eo0qUjB8mgUBACH5BAkKAAAALAAAAAAgACAAAAb/QIBwSCwqFIuickk0FIiCo6A4ZSoZnRBUSiwoEtYipNOBDKOKKgD9DBNHHU4brc4c3cUBeSOk949geEQUZA5rXABHEW4PD0UOZBSHaQAJiEMJgQATFBQVBkQHZKACUwtHbX0RR0mVFp0UFwRCBSQDSgsZrQteqEUPGrAQmmG9ChFqRAkMsBd4xsRLBBsUoG6nBa14E4IA2kUFDuLjDql4peilAA0H7e4H1udH8/Ps7+3xbmj0qOTj5mEWpEP3DUq3glYWOBgAcEmUaNI+DBjwAY+dS0USGJg4wABEXMYyJNvE8UOGISKVCNClah4xjg60WUKyINOCUwrMzVRARMGENWQ4n/jpNTKTm15J/CTK2e0MoD+UKmHEs4onVDVVmyqdpAbNR4cKTjqNSots07EjzzJh1S0IADsAAAAAAAAAAAA=);
61
+ /*background-image: url(../../../images/webandpeople/smartcatalog/ajax-update.gif);*/
62
+ }
63
+
64
+ #wp-x-overlay-filter {
65
+ display: none;
66
+ width: 100%;
67
+ height: 100%;
68
+ background-color: #FFFFFF;
69
+ z-index: 99999;
70
+ opacity: 0.5;
71
+ filter: progid:DXImageTransform.Microsoft.Alpha(opacity = 50);
72
+ position: absolute;
73
+ top: 0;
74
+ left: 0;
75
+ }
skin/frontend/default/grayscale/favicon.ico ADDED
Binary file
skin/frontend/default/grayscale/images/btn.png ADDED
Binary file
skin/frontend/default/grayscale/images/btn_cart.png ADDED
Binary file
skin/frontend/default/grayscale/images/gift-message-collapse.gif ADDED
Binary file
skin/frontend/default/grayscale/images/gift-message-expand.gif ADDED
Binary file
skin/frontend/default/grayscale/images/i_asc_arrow.gif ADDED
Binary file
skin/frontend/default/grayscale/images/i_desc_arrow.gif ADDED
Binary file
skin/frontend/default/grayscale/images/i_pager-next.gif ADDED
Binary file
skin/frontend/default/grayscale/images/i_pager-prev.gif ADDED
Binary file
skin/frontend/default/grayscale/images/i_print.gif ADDED
Binary file
skin/frontend/default/grayscale/images/i_rss-big.png ADDED
Binary file
skin/frontend/default/grayscale/images/i_rss.gif ADDED
Binary file
skin/frontend/default/grayscale/images/icon_big_rss.png ADDED
Binary file
skin/frontend/default/grayscale/images/icon_feed.png ADDED
Binary file
skin/frontend/default/grayscale/images/icon_layer.gif ADDED
Binary file
skin/frontend/default/grayscale/images/icon_news.gif ADDED
Binary file
skin/frontend/default/grayscale/images/icon_rss.gif ADDED
Binary file
skin/frontend/default/grayscale/images/logo.gif ADDED
Binary file
skin/frontend/default/grayscale/images/magnifier_handle.gif ADDED
Binary file
skin/frontend/default/grayscale/images/more.png ADDED
Binary file
skin/frontend/default/grayscale/images/nav_arrow.gif ADDED
Binary file
skin/frontend/default/grayscale/images/new.png ADDED
Binary file
skin/frontend/default/grayscale/images/pager_arrow_left.gif ADDED
Binary file
skin/frontend/default/grayscale/images/pager_arrow_right.gif ADDED
Binary file
skin/frontend/default/grayscale/images/slider_btn_zoom_in.gif ADDED
Binary file
skin/frontend/default/grayscale/images/slider_btn_zoom_out.gif ADDED
Binary file
skin/frontend/default/grayscale/images/sort_asc_arrow.gif ADDED
Binary file
skin/frontend/default/grayscale/images/sort_desc_arrow.gif ADDED
Binary file
skin/frontend/default/grayscale/images/sprite.png ADDED
Binary file
skin/frontend/default/grayscale/js/cycle-fade-effect.js ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * jQuery Cycle Plugin (with Transition Definitions)
3
+ * Examples and documentation at: http://jquery.malsup.com/cycle/
4
+ * Copyright (c) 2007-2010 M. Alsup
5
+ * Version: 2.9995 (09-AUG-2011)
6
+ * Dual licensed under the MIT and GPL licenses.
7
+ * http://jquery.malsup.com/license.html
8
+ * Requires: jQuery v1.3.2 or later
9
+ */
10
+ (function(d){var l="2.9995";if(d.support==undefined){d.support={opacity:!(d.browser.msie)}}function a(t){d.fn.cycle.debug&&g(t)}function g(){window.console&&console.log&&console.log("[cycle] "+Array.prototype.join.call(arguments," "))}d.expr[":"].paused=function(s){return s.cyclePause};d.fn.cycle=function(t,s){var u={s:this.selector,c:this.context};if(this.length===0&&t!="stop"){if(!d.isReady&&u.s){g("DOM not ready, queuing slideshow");d(function(){d(u.s,u.c).cycle(t,s)});return this}g("terminating; zero elements found by selector"+(d.isReady?"":" (DOM not ready)"));return this}return this.each(function(){var y=n(this,t,s);if(y===false){return}y.updateActivePagerLink=y.updateActivePagerLink||d.fn.cycle.updateActivePagerLink;if(this.cycleTimeout){clearTimeout(this.cycleTimeout)}this.cycleTimeout=this.cyclePause=0;var z=d(this);var A=y.slideExpr?d(y.slideExpr,this):z.children();var w=A.get();var v=k(z,A,w,y,u);if(v===false){return}if(w.length<2){g("terminating; too few slides: "+w.length);return}var x=v.continuous?10:i(w[v.currSlide],w[v.nextSlide],v,!v.backwards);if(x){x+=(v.delay||0);if(x<10){x=10}a("first timeout: "+x);this.cycleTimeout=setTimeout(function(){f(w,v,0,!y.backwards)},x)}})};function m(s,v,u){var w=d(s).data("cycle.opts");var t=!!s.cyclePause;if(t&&w.paused){w.paused(s,w,v,u)}else{if(!t&&w.resumed){w.resumed(s,w,v,u)}}}function n(s,v,t){if(s.cycleStop==undefined){s.cycleStop=0}if(v===undefined||v===null){v={}}if(v.constructor==String){switch(v){case"destroy":case"stop":var x=d(s).data("cycle.opts");if(!x){return false}s.cycleStop++;if(s.cycleTimeout){clearTimeout(s.cycleTimeout)}s.cycleTimeout=0;x.elements&&d(x.elements).stop();d(s).removeData("cycle.opts");if(v=="destroy"){r(x)}return false;case"toggle":s.cyclePause=(s.cyclePause===1)?0:1;w(s.cyclePause,t,s);m(s);return false;case"pause":s.cyclePause=1;m(s);return false;case"resume":s.cyclePause=0;w(false,t,s);m(s);return false;case"prev":case"next":var x=d(s).data("cycle.opts");if(!x){g('options not found, "prev/next" ignored');return false}d.fn.cycle[v](x);return false;default:v={fx:v}}return v}else{if(v.constructor==Number){var u=v;v=d(s).data("cycle.opts");if(!v){g("options not found, can not advance slide");return false}if(u<0||u>=v.elements.length){g("invalid slide index: "+u);return false}v.nextSlide=u;if(s.cycleTimeout){clearTimeout(s.cycleTimeout);s.cycleTimeout=0}if(typeof t=="string"){v.oneTimeFx=t}f(v.elements,v,1,u>=v.currSlide);return false}}return v;function w(z,A,y){if(!z&&A===true){var B=d(y).data("cycle.opts");if(!B){g("options not found, can not resume");return false}if(y.cycleTimeout){clearTimeout(y.cycleTimeout);y.cycleTimeout=0}f(B.elements,B,1,!B.backwards)}}}function b(s,t){if(!d.support.opacity&&t.cleartype&&s.style.filter){try{s.style.removeAttribute("filter")}catch(u){}}}function r(s){if(s.next){d(s.next).unbind(s.prevNextEvent)}if(s.prev){d(s.prev).unbind(s.prevNextEvent)}if(s.pager||s.pagerAnchorBuilder){d.each(s.pagerAnchors||[],function(){this.unbind().remove()})}s.pagerAnchors=null;if(s.destroy){s.destroy(s)}}function k(B,O,y,x,I){var G=d.extend({},d.fn.cycle.defaults,x||{},d.metadata?B.metadata():d.meta?B.data():{});var E=d.isFunction(B.data)?B.data(G.metaAttr):null;if(E){G=d.extend(G,E)}if(G.autostop){G.countdown=G.autostopCount||y.length}var t=B[0];B.data("cycle.opts",G);G.$cont=B;G.stopCount=t.cycleStop;G.elements=y;G.before=G.before?[G.before]:[];G.after=G.after?[G.after]:[];if(!d.support.opacity&&G.cleartype){G.after.push(function(){b(this,G)})}if(G.continuous){G.after.push(function(){f(y,G,0,!G.backwards)})}o(G);if(!d.support.opacity&&G.cleartype&&!G.cleartypeNoBg){h(O)}if(B.css("position")=="static"){B.css("position","relative")}if(G.width){B.width(G.width)}if(G.height&&G.height!="auto"){B.height(G.height)}if(G.startingSlide){G.startingSlide=parseInt(G.startingSlide,10)}else{if(G.backwards){G.startingSlide=y.length-1}}if(G.random){G.randomMap=[];for(var M=0;M<y.length;M++){G.randomMap.push(M)}G.randomMap.sort(function(Q,w){return Math.random()-0.5});G.randomIndex=1;G.startingSlide=G.randomMap[1]}else{if(G.startingSlide>=y.length){G.startingSlide=0}}G.currSlide=G.startingSlide||0;var A=G.startingSlide;O.css({position:"absolute",top:0,left:0}).hide().each(function(w){var Q;if(G.backwards){Q=A?w<=A?y.length+(w-A):A-w:y.length-w}else{Q=A?w>=A?y.length-(w-A):A-w:y.length-w}d(this).css("z-index",Q)});d(y[A]).css("opacity",1).show();b(y[A],G);if(G.fit){if(!G.aspect){if(G.width){O.width(G.width)}if(G.height&&G.height!="auto"){O.height(G.height)}}else{O.each(function(){var Q=d(this);var w=(G.aspect===true)?Q.width()/Q.height():G.aspect;if(G.width&&Q.width()!=G.width){Q.width(G.width);Q.height(G.width/w)
11
+ }if(G.height&&Q.height()<G.height){Q.height(G.height);Q.width(G.height*w)}})}}if(G.center&&((!G.fit)||G.aspect)){O.each(function(){var w=d(this);w.css({"margin-left":G.width?((G.width-w.width())/2)+"px":0,"margin-top":G.height?((G.height-w.height())/2)+"px":0})})}if(G.center&&!G.fit&&!G.slideResize){O.each(function(){var w=d(this);w.css({"margin-left":G.width?((G.width-w.width())/2)+"px":0,"margin-top":G.height?((G.height-w.height())/2)+"px":0})})}var H=G.containerResize&&!B.innerHeight();if(H){var z=0,F=0;for(var K=0;K<y.length;K++){var s=d(y[K]),P=s[0],D=s.outerWidth(),N=s.outerHeight();if(!D){D=P.offsetWidth||P.width||s.attr("width")}if(!N){N=P.offsetHeight||P.height||s.attr("height")}z=D>z?D:z;F=N>F?N:F}if(z>0&&F>0){B.css({width:z+"px",height:F+"px"})}}var v=false;if(G.pause){B.hover(function(){v=true;this.cyclePause++;m(t,true)},function(){v&&this.cyclePause--;m(t,true)})}if(c(G)===false){return false}var u=false;x.requeueAttempts=x.requeueAttempts||0;O.each(function(){var S=d(this);this.cycleH=(G.fit&&G.height)?G.height:(S.height()||this.offsetHeight||this.height||S.attr("height")||0);this.cycleW=(G.fit&&G.width)?G.width:(S.width()||this.offsetWidth||this.width||S.attr("width")||0);if(S.is("img")){var Q=(d.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);var T=(d.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete);var R=(d.browser.opera&&((this.cycleW==42&&this.cycleH==19)||(this.cycleW==37&&this.cycleH==17))&&!this.complete);var w=(this.cycleH==0&&this.cycleW==0&&!this.complete);if(Q||T||R||w){if(I.s&&G.requeueOnImageNotLoaded&&++x.requeueAttempts<100){g(x.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){d(I.s,I.c).cycle(x)},G.requeueTimeout);u=true;return false}else{g("could not determine size of image: "+this.src,this.cycleW,this.cycleH)}}}return true});if(u){return false}G.cssBefore=G.cssBefore||{};G.cssAfter=G.cssAfter||{};G.cssFirst=G.cssFirst||{};G.animIn=G.animIn||{};G.animOut=G.animOut||{};O.not(":eq("+A+")").css(G.cssBefore);d(O[A]).css(G.cssFirst);if(G.timeout){G.timeout=parseInt(G.timeout,10);if(G.speed.constructor==String){G.speed=d.fx.speeds[G.speed]||parseInt(G.speed,10)}if(!G.sync){G.speed=G.speed/2}var J=G.fx=="none"?0:G.fx=="shuffle"?500:250;while((G.timeout-G.speed)<J){G.timeout+=G.speed}}if(G.easing){G.easeIn=G.easeOut=G.easing}if(!G.speedIn){G.speedIn=G.speed}if(!G.speedOut){G.speedOut=G.speed}G.slideCount=y.length;G.currSlide=G.lastSlide=A;if(G.random){if(++G.randomIndex==y.length){G.randomIndex=0}G.nextSlide=G.randomMap[G.randomIndex]}else{if(G.backwards){G.nextSlide=G.startingSlide==0?(y.length-1):G.startingSlide-1}else{G.nextSlide=G.startingSlide>=(y.length-1)?0:G.startingSlide+1}}if(!G.multiFx){var L=d.fn.cycle.transitions[G.fx];if(d.isFunction(L)){L(B,O,G)}else{if(G.fx!="custom"&&!G.multiFx){g("unknown transition: "+G.fx,"; slideshow terminating");return false}}}var C=O[A];if(!G.skipInitializationCallbacks){if(G.before.length){G.before[0].apply(C,[C,C,G,true])}if(G.after.length){G.after[0].apply(C,[C,C,G,true])}}if(G.next){d(G.next).bind(G.prevNextEvent,function(){return q(G,1)})}if(G.prev){d(G.prev).bind(G.prevNextEvent,function(){return q(G,0)})}if(G.pager||G.pagerAnchorBuilder){e(y,G)}j(G,y);return G}function o(s){s.original={before:[],after:[]};s.original.cssBefore=d.extend({},s.cssBefore);s.original.cssAfter=d.extend({},s.cssAfter);s.original.animIn=d.extend({},s.animIn);s.original.animOut=d.extend({},s.animOut);d.each(s.before,function(){s.original.before.push(this)});d.each(s.after,function(){s.original.after.push(this)})}function c(y){var w,u,t=d.fn.cycle.transitions;if(y.fx.indexOf(",")>0){y.multiFx=true;y.fxs=y.fx.replace(/\s*/g,"").split(",");for(w=0;w<y.fxs.length;w++){var x=y.fxs[w];u=t[x];if(!u||!t.hasOwnProperty(x)||!d.isFunction(u)){g("discarding unknown transition: ",x);y.fxs.splice(w,1);w--}}if(!y.fxs.length){g("No valid transitions named; slideshow terminating.");return false}}else{if(y.fx=="all"){y.multiFx=true;y.fxs=[];for(p in t){u=t[p];if(t.hasOwnProperty(p)&&d.isFunction(u)){y.fxs.push(p)}}}}if(y.multiFx&&y.randomizeEffects){var v=Math.floor(Math.random()*20)+30;for(w=0;w<v;w++){var s=Math.floor(Math.random()*y.fxs.length);y.fxs.push(y.fxs.splice(s,1)[0])}a("randomized fx sequence: ",y.fxs)}return true}function j(t,s){t.addSlide=function(v,w){var u=d(v),x=u[0];if(!t.autostopCount){t.countdown++}s[w?"unshift":"push"](x);if(t.els){t.els[w?"unshift":"push"](x)}t.slideCount=s.length;u.css("position","absolute");u[w?"prependTo":"appendTo"](t.$cont);if(w){t.currSlide++;t.nextSlide++}if(!d.support.opacity&&t.cleartype&&!t.cleartypeNoBg){h(u)}if(t.fit&&t.width){u.width(t.width)}if(t.fit&&t.height&&t.height!="auto"){u.height(t.height)}x.cycleH=(t.fit&&t.height)?t.height:u.height();x.cycleW=(t.fit&&t.width)?t.width:u.width();u.css(t.cssBefore);if(t.pager||t.pagerAnchorBuilder){d.fn.cycle.createPagerAnchor(s.length-1,x,d(t.pager),s,t)}if(d.isFunction(t.onAddSlide)){t.onAddSlide(u)
12
+ }else{u.hide()}}}d.fn.cycle.resetState=function(t,s){s=s||t.fx;t.before=[];t.after=[];t.cssBefore=d.extend({},t.original.cssBefore);t.cssAfter=d.extend({},t.original.cssAfter);t.animIn=d.extend({},t.original.animIn);t.animOut=d.extend({},t.original.animOut);t.fxFn=null;d.each(t.original.before,function(){t.before.push(this)});d.each(t.original.after,function(){t.after.push(this)});var u=d.fn.cycle.transitions[s];if(d.isFunction(u)){u(t.$cont,d(t.elements),t)}};function f(z,s,y,B){if(y&&s.busy&&s.manualTrump){a("manualTrump in go(), stopping active transition");d(z).stop(true,true);s.busy=0}if(s.busy){a("transition active, ignoring new tx request");return}var w=s.$cont[0],D=z[s.currSlide],C=z[s.nextSlide];if(w.cycleStop!=s.stopCount||w.cycleTimeout===0&&!y){return}if(!y&&!w.cyclePause&&!s.bounce&&((s.autostop&&(--s.countdown<=0))||(s.nowrap&&!s.random&&s.nextSlide<s.currSlide))){if(s.end){s.end(s)}return}var A=false;if((y||!w.cyclePause)&&(s.nextSlide!=s.currSlide)){A=true;var x=s.fx;D.cycleH=D.cycleH||d(D).height();D.cycleW=D.cycleW||d(D).width();C.cycleH=C.cycleH||d(C).height();C.cycleW=C.cycleW||d(C).width();if(s.multiFx){if(B&&(s.lastFx==undefined||++s.lastFx>=s.fxs.length)){s.lastFx=0}else{if(!B&&(s.lastFx==undefined||--s.lastFx<0)){s.lastFx=s.fxs.length-1}}x=s.fxs[s.lastFx]}if(s.oneTimeFx){x=s.oneTimeFx;s.oneTimeFx=null}d.fn.cycle.resetState(s,x);if(s.before.length){d.each(s.before,function(E,F){if(w.cycleStop!=s.stopCount){return}F.apply(C,[D,C,s,B])})}var u=function(){s.busy=0;d.each(s.after,function(E,F){if(w.cycleStop!=s.stopCount){return}F.apply(C,[D,C,s,B])})};a("tx firing("+x+"); currSlide: "+s.currSlide+"; nextSlide: "+s.nextSlide);s.busy=1;if(s.fxFn){s.fxFn(D,C,s,u,B,y&&s.fastOnEvent)}else{if(d.isFunction(d.fn.cycle[s.fx])){d.fn.cycle[s.fx](D,C,s,u,B,y&&s.fastOnEvent)}else{d.fn.cycle.custom(D,C,s,u,B,y&&s.fastOnEvent)}}}if(A||s.nextSlide==s.currSlide){s.lastSlide=s.currSlide;if(s.random){s.currSlide=s.nextSlide;if(++s.randomIndex==z.length){s.randomIndex=0}s.nextSlide=s.randomMap[s.randomIndex];if(s.nextSlide==s.currSlide){s.nextSlide=(s.currSlide==s.slideCount-1)?0:s.currSlide+1}}else{if(s.backwards){var v=(s.nextSlide-1)<0;if(v&&s.bounce){s.backwards=!s.backwards;s.nextSlide=1;s.currSlide=0}else{s.nextSlide=v?(z.length-1):s.nextSlide-1;s.currSlide=v?0:s.nextSlide+1}}else{var v=(s.nextSlide+1)==z.length;if(v&&s.bounce){s.backwards=!s.backwards;s.nextSlide=z.length-2;s.currSlide=z.length-1}else{s.nextSlide=v?0:s.nextSlide+1;s.currSlide=v?z.length-1:s.nextSlide-1}}}}if(A&&s.pager){s.updateActivePagerLink(s.pager,s.currSlide,s.activePagerClass)}var t=0;if(s.timeout&&!s.continuous){t=i(z[s.currSlide],z[s.nextSlide],s,B)}else{if(s.continuous&&w.cyclePause){t=10}}if(t>0){w.cycleTimeout=setTimeout(function(){f(z,s,0,!s.backwards)},t)}}d.fn.cycle.updateActivePagerLink=function(s,u,t){d(s).each(function(){d(this).children().removeClass(t).eq(u).addClass(t)})};function i(x,v,w,u){if(w.timeoutFn){var s=w.timeoutFn.call(x,x,v,w,u);while(w.fx!="none"&&(s-w.speed)<250){s+=w.speed}a("calculated timeout: "+s+"; speed: "+w.speed);if(s!==false){return s}}return w.timeout}d.fn.cycle.next=function(s){q(s,1)};d.fn.cycle.prev=function(s){q(s,0)};function q(v,u){var y=u?1:-1;var t=v.elements;var x=v.$cont[0],w=x.cycleTimeout;if(w){clearTimeout(w);x.cycleTimeout=0}if(v.random&&y<0){v.randomIndex--;if(--v.randomIndex==-2){v.randomIndex=t.length-2}else{if(v.randomIndex==-1){v.randomIndex=t.length-1}}v.nextSlide=v.randomMap[v.randomIndex]}else{if(v.random){v.nextSlide=v.randomMap[v.randomIndex]}else{v.nextSlide=v.currSlide+y;if(v.nextSlide<0){if(v.nowrap){return false}v.nextSlide=t.length-1}else{if(v.nextSlide>=t.length){if(v.nowrap){return false}v.nextSlide=0}}}}var s=v.onPrevNextEvent||v.prevNextClick;if(d.isFunction(s)){s(y>0,v.nextSlide,t[v.nextSlide])}f(t,v,1,u);return false}function e(t,u){var s=d(u.pager);d.each(t,function(v,w){d.fn.cycle.createPagerAnchor(v,w,s,t,u)});u.updateActivePagerLink(u.pager,u.startingSlide,u.activePagerClass)}d.fn.cycle.createPagerAnchor=function(x,u,z,w,t){var A;if(d.isFunction(t.pagerAnchorBuilder)){A=t.pagerAnchorBuilder(x,u);a("pagerAnchorBuilder("+x+", el) returned: "+A)}else{A='<a href="#">'+(x+1)+"</a>"}if(!A){return}var v=d(A);if(v.parents("body").length===0){var y=[];if(z.length>1){z.each(function(){var D=v.clone(true);d(this).append(D);y.push(D[0])});v=d(y)}else{v.appendTo(z)}}t.pagerAnchors=t.pagerAnchors||[];t.pagerAnchors.push(v);var B=function(G){G.preventDefault();t.nextSlide=x;var F=t.$cont[0],E=F.cycleTimeout;if(E){clearTimeout(E);F.cycleTimeout=0}var D=t.onPagerEvent||t.pagerClick;if(d.isFunction(D)){D(t.nextSlide,w[t.nextSlide])}f(w,t,1,t.currSlide<x)};if(/mouseenter|mouseover/i.test(t.pagerEvent)){v.hover(B,function(){})}else{v.bind(t.pagerEvent,B)}if(!/^click/.test(t.pagerEvent)&&!t.allowPagerClickBubble){v.bind("click.cycle",function(){return false})}var C=t.$cont[0];var s=false;if(t.pauseOnPagerHover){v.hover(function(){s=true;C.cyclePause++;m(C,true,true)},function(){s&&C.cyclePause--;
13
+ m(C,true,true)})}};d.fn.cycle.hopsFromLast=function(v,u){var t,s=v.lastSlide,w=v.currSlide;if(u){t=w>s?w-s:v.slideCount-s}else{t=w<s?s-w:s+v.slideCount-w}return t};function h(u){a("applying clearType background-color hack");function t(v){v=parseInt(v,10).toString(16);return v.length<2?"0"+v:v}function s(y){for(;y&&y.nodeName.toLowerCase()!="html";y=y.parentNode){var w=d.css(y,"background-color");if(w&&w.indexOf("rgb")>=0){var x=w.match(/\d+/g);return"#"+t(x[0])+t(x[1])+t(x[2])}if(w&&w!="transparent"){return w}}return"#ffffff"}u.each(function(){d(this).css("background-color",s(this))})}d.fn.cycle.commonReset=function(y,v,x,t,u,s){d(x.elements).not(y).hide();if(typeof x.cssBefore.opacity=="undefined"){x.cssBefore.opacity=1}x.cssBefore.display="block";if(x.slideResize&&t!==false&&v.cycleW>0){x.cssBefore.width=v.cycleW}if(x.slideResize&&u!==false&&v.cycleH>0){x.cssBefore.height=v.cycleH}x.cssAfter=x.cssAfter||{};x.cssAfter.display="none";d(y).css("zIndex",x.slideCount+(s===true?1:0));d(v).css("zIndex",x.slideCount+(s===true?0:1))};d.fn.cycle.custom=function(E,y,s,v,x,t){var D=d(E),z=d(y);var u=s.speedIn,C=s.speedOut,w=s.easeIn,B=s.easeOut;z.css(s.cssBefore);if(t){if(typeof t=="number"){u=C=t}else{u=C=1}w=B=null}var A=function(){z.animate(s.animIn,u,w,function(){v()})};D.animate(s.animOut,C,B,function(){D.css(s.cssAfter);if(!s.sync){A()}});if(s.sync){A()}};d.fn.cycle.transitions={fade:function(t,u,s){u.not(":eq("+s.currSlide+")").css("opacity",0);s.before.push(function(x,v,w){d.fn.cycle.commonReset(x,v,w);w.cssBefore.opacity=0});s.animIn={opacity:1};s.animOut={opacity:0};s.cssBefore={top:0,left:0}}};d.fn.cycle.ver=function(){return l};d.fn.cycle.defaults={activePagerClass:"activeSlide",after:null,allowPagerClickBubble:false,animIn:null,animOut:null,aspect:false,autostop:0,autostopCount:0,backwards:false,before:null,center:null,cleartype:!d.support.opacity,cleartypeNoBg:false,containerResize:1,continuous:0,cssAfter:null,cssBefore:null,delay:0,easeIn:null,easeOut:null,easing:null,end:null,fastOnEvent:0,fit:0,fx:"fade",fxFn:null,height:"auto",manualTrump:true,metaAttr:"cycle",next:null,nowrap:0,onPagerEvent:null,onPrevNextEvent:null,pager:null,pagerAnchorBuilder:null,pagerEvent:"click.cycle",pause:0,pauseOnPagerHover:0,prev:null,prevNextEvent:"click.cycle",random:0,randomizeEffects:1,requeueOnImageNotLoaded:true,requeueTimeout:250,rev:0,shuffle:null,skipInitializationCallbacks:false,slideExpr:null,slideResize:1,speed:1000,speedIn:null,speedOut:null,startingSlide:0,sync:1,timeout:4000,timeoutFn:null,updateActivePagerLink:null,width:null}})(jQuery);
14
+ /*!
15
+ * jQuery Cycle Plugin Transition Definitions
16
+ * This script is a plugin for the jQuery Cycle Plugin
17
+ * Examples and documentation at: http://malsup.com/jquery/cycle/
18
+ * Copyright (c) 2007-2010 M. Alsup
19
+ * Version: 2.73
20
+ * Dual licensed under the MIT and GPL licenses:
21
+ * http://www.opensource.org/licenses/mit-license.php
22
+ * http://www.gnu.org/licenses/gpl.html
23
+ */
24
+ (function(a){a.fn.cycle.transitions.none=function(c,d,b){b.fxFn=function(g,e,f,h){a(e).show();a(g).hide();h()}};a.fn.cycle.transitions.fadeout=function(c,d,b){d.not(":eq("+b.currSlide+")").css({display:"block",opacity:1});b.before.push(function(k,i,j,f,g,e){a(k).css("zIndex",j.slideCount+(!e===true?1:0));a(i).css("zIndex",j.slideCount+(!e===true?0:1))});b.animIn.opacity=1;b.animOut.opacity=0;b.cssBefore.opacity=1;b.cssBefore.display="block";b.cssAfter.zIndex=0};a.fn.cycle.transitions.scrollUp=function(d,e,c){d.css("overflow","hidden");c.before.push(a.fn.cycle.commonReset);var b=d.height();c.cssBefore.top=b;c.cssBefore.left=0;c.cssFirst.top=0;c.animIn.top=0;c.animOut.top=-b};a.fn.cycle.transitions.scrollDown=function(d,e,c){d.css("overflow","hidden");c.before.push(a.fn.cycle.commonReset);var b=d.height();c.cssFirst.top=0;c.cssBefore.top=-b;c.cssBefore.left=0;c.animIn.top=0;c.animOut.top=b};a.fn.cycle.transitions.scrollLeft=function(d,e,c){d.css("overflow","hidden");c.before.push(a.fn.cycle.commonReset);var b=d.width();c.cssFirst.left=0;c.cssBefore.left=b;c.cssBefore.top=0;c.animIn.left=0;c.animOut.left=0-b};a.fn.cycle.transitions.scrollRight=function(d,e,c){d.css("overflow","hidden");c.before.push(a.fn.cycle.commonReset);var b=d.width();c.cssFirst.left=0;c.cssBefore.left=-b;c.cssBefore.top=0;c.animIn.left=0;c.animOut.left=b};a.fn.cycle.transitions.scrollHorz=function(c,d,b){c.css("overflow","hidden").width();b.before.push(function(h,f,g,e){if(g.rev){e=!e}a.fn.cycle.commonReset(h,f,g);g.cssBefore.left=e?(f.cycleW-1):(1-f.cycleW);g.animOut.left=e?-h.cycleW:h.cycleW});b.cssFirst.left=0;b.cssBefore.top=0;b.animIn.left=0;b.animOut.top=0};a.fn.cycle.transitions.scrollVert=function(c,d,b){c.css("overflow","hidden");b.before.push(function(h,f,g,e){if(g.rev){e=!e}a.fn.cycle.commonReset(h,f,g);g.cssBefore.top=e?(1-f.cycleH):(f.cycleH-1);g.animOut.top=e?h.cycleH:-h.cycleH});b.cssFirst.top=0;b.cssBefore.left=0;b.animIn.top=0;b.animOut.left=0};a.fn.cycle.transitions.slideX=function(c,d,b){b.before.push(function(g,e,f){a(f.elements).not(g).hide();
25
+ a.fn.cycle.commonReset(g,e,f,false,true);f.animIn.width=e.cycleW});b.cssBefore.left=0;b.cssBefore.top=0;b.cssBefore.width=0;b.animIn.width="show";b.animOut.width=0};a.fn.cycle.transitions.slideY=function(c,d,b){b.before.push(function(g,e,f){a(f.elements).not(g).hide();a.fn.cycle.commonReset(g,e,f,true,false);f.animIn.height=e.cycleH});b.cssBefore.left=0;b.cssBefore.top=0;b.cssBefore.height=0;b.animIn.height="show";b.animOut.height=0};a.fn.cycle.transitions.shuffle=function(e,f,d){var c,b=e.css("overflow","visible").width();f.css({left:0,top:0});d.before.push(function(i,g,h){a.fn.cycle.commonReset(i,g,h,true,true,true)});if(!d.speedAdjusted){d.speed=d.speed/2;d.speedAdjusted=true}d.random=0;d.shuffle=d.shuffle||{left:-b,top:15};d.els=[];for(c=0;c<f.length;c++){d.els.push(f[c])}for(c=0;c<d.currSlide;c++){d.els.push(d.els.shift())}d.fxFn=function(m,j,l,g,i){if(l.rev){i=!i}var h=i?a(m):a(j);a(j).css(l.cssBefore);var k=l.slideCount;h.animate(l.shuffle,l.speedIn,l.easeIn,function(){var o=a.fn.cycle.hopsFromLast(l,i);for(var q=0;q<o;q++){i?l.els.push(l.els.shift()):l.els.unshift(l.els.pop())}if(i){for(var r=0,n=l.els.length;r<n;r++){a(l.els[r]).css("z-index",n-r+k)}}else{var s=a(m).css("z-index");h.css("z-index",parseInt(s,10)+1+k)}h.animate({left:0,top:0},l.speedOut,l.easeOut,function(){a(i?this:m).hide();if(g){g()}})})};a.extend(d.cssBefore,{display:"block",opacity:1,top:0,left:0})};a.fn.cycle.transitions.turnUp=function(c,d,b){b.before.push(function(g,e,f){a.fn.cycle.commonReset(g,e,f,true,false);f.cssBefore.top=e.cycleH;f.animIn.height=e.cycleH;f.animOut.width=e.cycleW});b.cssFirst.top=0;b.cssBefore.left=0;b.cssBefore.height=0;b.animIn.top=0;b.animOut.height=0};a.fn.cycle.transitions.turnDown=function(c,d,b){b.before.push(function(g,e,f){a.fn.cycle.commonReset(g,e,f,true,false);f.animIn.height=e.cycleH;f.animOut.top=g.cycleH});b.cssFirst.top=0;b.cssBefore.left=0;b.cssBefore.top=0;b.cssBefore.height=0;b.animOut.height=0};a.fn.cycle.transitions.turnLeft=function(c,d,b){b.before.push(function(g,e,f){a.fn.cycle.commonReset(g,e,f,false,true);f.cssBefore.left=e.cycleW;f.animIn.width=e.cycleW});b.cssBefore.top=0;b.cssBefore.width=0;b.animIn.left=0;b.animOut.width=0};a.fn.cycle.transitions.turnRight=function(c,d,b){b.before.push(function(g,e,f){a.fn.cycle.commonReset(g,e,f,false,true);f.animIn.width=e.cycleW;f.animOut.left=g.cycleW});a.extend(b.cssBefore,{top:0,left:0,width:0});b.animIn.left=0;b.animOut.width=0};a.fn.cycle.transitions.zoom=function(c,d,b){b.before.push(function(g,e,f){a.fn.cycle.commonReset(g,e,f,false,false,true);f.cssBefore.top=e.cycleH/2;f.cssBefore.left=e.cycleW/2;a.extend(f.animIn,{top:0,left:0,width:e.cycleW,height:e.cycleH});a.extend(f.animOut,{width:0,height:0,top:g.cycleH/2,left:g.cycleW/2})});b.cssFirst.top=0;b.cssFirst.left=0;b.cssBefore.width=0;b.cssBefore.height=0};a.fn.cycle.transitions.fadeZoom=function(c,d,b){b.before.push(function(g,e,f){a.fn.cycle.commonReset(g,e,f,false,false);f.cssBefore.left=e.cycleW/2;f.cssBefore.top=e.cycleH/2;a.extend(f.animIn,{top:0,left:0,width:e.cycleW,height:e.cycleH})});b.cssBefore.width=0;b.cssBefore.height=0;b.animOut.opacity=0};a.fn.cycle.transitions.blindX=function(d,e,c){var b=d.css("overflow","hidden").width();c.before.push(function(h,f,g){a.fn.cycle.commonReset(h,f,g);g.animIn.width=f.cycleW;g.animOut.left=h.cycleW});c.cssBefore.left=b;c.cssBefore.top=0;c.animIn.left=0;c.animOut.left=b};a.fn.cycle.transitions.blindY=function(d,e,c){var b=d.css("overflow","hidden").height();c.before.push(function(h,f,g){a.fn.cycle.commonReset(h,f,g);g.animIn.height=f.cycleH;g.animOut.top=h.cycleH});c.cssBefore.top=b;c.cssBefore.left=0;c.animIn.top=0;c.animOut.top=b};a.fn.cycle.transitions.blindZ=function(e,f,d){var c=e.css("overflow","hidden").height();var b=e.width();d.before.push(function(i,g,h){a.fn.cycle.commonReset(i,g,h);h.animIn.height=g.cycleH;h.animOut.top=i.cycleH});d.cssBefore.top=c;d.cssBefore.left=b;d.animIn.top=0;d.animIn.left=0;d.animOut.top=c;d.animOut.left=b};a.fn.cycle.transitions.growX=function(c,d,b){b.before.push(function(g,e,f){a.fn.cycle.commonReset(g,e,f,false,true);f.cssBefore.left=this.cycleW/2;f.animIn.left=0;f.animIn.width=this.cycleW;f.animOut.left=0});b.cssBefore.top=0;b.cssBefore.width=0};a.fn.cycle.transitions.growY=function(c,d,b){b.before.push(function(g,e,f){a.fn.cycle.commonReset(g,e,f,true,false);f.cssBefore.top=this.cycleH/2;f.animIn.top=0;f.animIn.height=this.cycleH;f.animOut.top=0});b.cssBefore.height=0;b.cssBefore.left=0};a.fn.cycle.transitions.curtainX=function(c,d,b){b.before.push(function(g,e,f){a.fn.cycle.commonReset(g,e,f,false,true,true);f.cssBefore.left=e.cycleW/2;f.animIn.left=0;f.animIn.width=this.cycleW;f.animOut.left=g.cycleW/2;f.animOut.width=0});b.cssBefore.top=0;b.cssBefore.width=0};a.fn.cycle.transitions.curtainY=function(c,d,b){b.before.push(function(g,e,f){a.fn.cycle.commonReset(g,e,f,true,false,true);f.cssBefore.top=e.cycleH/2;f.animIn.top=0;f.animIn.height=e.cycleH;f.animOut.top=g.cycleH/2;f.animOut.height=0});
26
+ b.cssBefore.height=0;b.cssBefore.left=0};a.fn.cycle.transitions.cover=function(f,g,e){var i=e.direction||"left";var b=f.css("overflow","hidden").width();var c=f.height();e.before.push(function(j,d,h){a.fn.cycle.commonReset(j,d,h);if(i=="right"){h.cssBefore.left=-b}else{if(i=="up"){h.cssBefore.top=c}else{if(i=="down"){h.cssBefore.top=-c}else{h.cssBefore.left=b}}}});e.animIn.left=0;e.animIn.top=0;e.cssBefore.top=0;e.cssBefore.left=0};a.fn.cycle.transitions.uncover=function(f,g,e){var i=e.direction||"left";var b=f.css("overflow","hidden").width();var c=f.height();e.before.push(function(j,d,h){a.fn.cycle.commonReset(j,d,h,true,true,true);if(i=="right"){h.animOut.left=b}else{if(i=="up"){h.animOut.top=-c}else{if(i=="down"){h.animOut.top=c}else{h.animOut.left=-b}}}});e.animIn.left=0;e.animIn.top=0;e.cssBefore.top=0;e.cssBefore.left=0};a.fn.cycle.transitions.toss=function(e,f,d){var b=e.css("overflow","visible").width();var c=e.height();d.before.push(function(i,g,h){a.fn.cycle.commonReset(i,g,h,true,true,true);if(!h.animOut.left&&!h.animOut.top){a.extend(h.animOut,{left:b*2,top:-c/2,opacity:0})}else{h.animOut.opacity=0}});d.cssBefore.left=0;d.cssBefore.top=0;d.animIn.left=0};a.fn.cycle.transitions.wipe=function(s,m,e){var q=s.css("overflow","hidden").width();var j=s.height();e.cssBefore=e.cssBefore||{};var g;if(e.clip){if(/l2r/.test(e.clip)){g="rect(0px 0px "+j+"px 0px)"}else{if(/r2l/.test(e.clip)){g="rect(0px "+q+"px "+j+"px "+q+"px)"}else{if(/t2b/.test(e.clip)){g="rect(0px "+q+"px 0px 0px)"}else{if(/b2t/.test(e.clip)){g="rect("+j+"px "+q+"px "+j+"px 0px)"}else{if(/zoom/.test(e.clip)){var o=parseInt(j/2,10);var f=parseInt(q/2,10);g="rect("+o+"px "+f+"px "+o+"px "+f+"px)"}}}}}}e.cssBefore.clip=e.cssBefore.clip||g||"rect(0px 0px 0px 0px)";var k=e.cssBefore.clip.match(/(\d+)/g);var u=parseInt(k[0],10),c=parseInt(k[1],10),n=parseInt(k[2],10),i=parseInt(k[3],10);e.before.push(function(w,h,t){if(w==h){return}var d=a(w),b=a(h);a.fn.cycle.commonReset(w,h,t,true,true,false);t.cssAfter.display="block";var r=1,l=parseInt((t.speedIn/13),10)-1;(function v(){var y=u?u-parseInt(r*(u/l),10):0;var z=i?i-parseInt(r*(i/l),10):0;var A=n<j?n+parseInt(r*((j-n)/l||1),10):j;var x=c<q?c+parseInt(r*((q-c)/l||1),10):q;b.css({clip:"rect("+y+"px "+x+"px "+A+"px "+z+"px)"});(r++<=l)?setTimeout(v,13):d.css("display","none")})()});a.extend(e.cssBefore,{display:"block",opacity:1,top:0,left:0});e.animIn={left:0};e.animOut={left:0}}})(jQuery);
skin/frontend/default/grayscale/js/jquery-1.5.2.min.js ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * jQuery JavaScript Library v1.5.2
3
+ * http://jquery.com/
4
+ *
5
+ * Copyright 2011, John Resig
6
+ * Dual licensed under the MIT or GPL Version 2 licenses.
7
+ * http://jquery.org/license
8
+ *
9
+ * Includes Sizzle.js
10
+ * http://sizzlejs.com/
11
+ * Copyright 2011, The Dojo Foundation
12
+ * Released under the MIT, BSD, and GPL Licenses.
13
+ *
14
+ * Date: Thu Mar 31 15:28:23 2011 -0400
15
+ */
16
+ (function(aR,aP){function af(b){return aL.isWindow(b)?b:b.nodeType===9?b.defaultView||b.parentWindow:!1}function al(e){if(!cn[e]){var d=aL("<"+e+">").appendTo("body"),f=d.css("display");d.remove();if(f==="none"||f===""){f="block"}cn[e]=f}return cn[e]}function an(e,d){var f={};aL.each(ao.concat.apply([],ao.slice(0,d)),function(){f[this]=e});return f}function c2(){try{return new aR.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}}function cu(){try{return new aR.XMLHttpRequest}catch(a){}}function cw(){aL(aR).unload(function(){for(var b in cz){cz[b](0,1)}})}function cI(B,A){B.dataFilter&&(A=B.dataFilter(A,B.dataType));var z=B.dataTypes,y={},x,w,v=z.length,u,t=z[0],s,r,q,d,b;for(x=1;x<v;x++){if(x===1){for(w in B.converters){typeof w==="string"&&(y[w.toLowerCase()]=B.converters[w])}}s=t,t=z[x];if(t==="*"){t=s}else{if(s!=="*"&&s!==t){r=s+" "+t,q=y[r]||y["* "+t];if(!q){b=aP;for(d in y){u=d.split(" ");if(u[0]===s||u[0]==="*"){b=y[u[1]+" "+t];if(b){d=y[d],d===!0?q=b:b===!0&&(q=d);break}}}}!q&&!b&&aL.error("No conversion from "+r.replace(" "," to ")),q!==!0&&(A=q?q(A):b(d(A)))}}}return A}function cJ(t,s,r){var q=t.contents,p=t.dataTypes,o=t.responseFields,n,m,l,b;for(m in o){m in r&&(s[o[m]]=r[m])}while(p[0]==="*"){p.shift(),n===aP&&(n=t.mimeType||s.getResponseHeader("content-type"))}if(n){for(m in q){if(q[m]&&q[m].test(n)){p.unshift(m);break}}}if(p[0] in r){l=p[0]}else{for(m in r){if(!p[0]||t.converters[m+" "+p[0]]){l=m;break}b||(b=m)}l=l||b}if(l){l!==p[0]&&p.unshift(l);return r[l]}}function cK(g,d,j,i){if(aL.isArray(d)&&d.length){aL.each(d,function(a,c){j||aQ.test(g)?i(g,c):cK(g+"["+(typeof c==="object"||aL.isArray(c)?a:"")+"]",c,j,i)})}else{if(j||d==null||typeof d!=="object"){i(g,d)}else{if(aL.isArray(d)||aL.isEmptyObject(d)){i(g,"")}else{for(var h in d){cK(g+"["+h+"]",d[h],j,i)}}}}}function cL(v,u,t,s,r,q){r=r||u.dataTypes[0],q=q||{},q[r]=!0;var p=v[r],o=0,n=p?p.length:0,m=v===cR,b;for(;o<n&&(m||!b);o++){b=p[o](u,t,s),typeof b==="string"&&(!m||q[b]?b=aP:(u.dataTypes.unshift(b),b=cL(v,u,t,s,b,q)))}(m||!b)&&!q["*"]&&(b=cL(v,u,t,s,"*",q));return b}function cM(b){return function(a,p){typeof a!=="string"&&(p=a,a="*");if(aL.isFunction(p)){var o=a.toLowerCase().split(cX),n=0,m=o.length,l,k,d;for(;n<m;n++){l=o[n],d=/^\+/.test(l),d&&(l=l.substr(1)||"*"),k=b[l]=b[l]||[],k[d?"unshift":"push"](p)}}}}function aU(g,d,j){var i=d==="width"?a1:aZ,h=d==="width"?g.offsetWidth:g.offsetHeight;if(j==="border"){return h}aL.each(i,function(){j||(h-=parseFloat(aL.css(g,"padding"+this))||0),j==="margin"?h+=parseFloat(aL.css(g,"margin"+this))||0:h-=parseFloat(aL.css(g,"border"+this+"Width"))||0});return h}function b7(d,c){c.src?aL.ajax({url:c.src,async:!1,dataType:"script"}):aL.globalEval(c.text||c.textContent||c.innerHTML||""),c.parentNode&&c.parentNode.removeChild(c)}function b9(b){return"getElementsByTagName" in b?b.getElementsByTagName("*"):"querySelectorAll" in b?b.querySelectorAll("*"):[]}function ck(e,d){if(d.nodeType===1){var f=d.nodeName.toLowerCase();d.clearAttributes(),d.mergeAttributes(e);if(f==="object"){d.outerHTML=e.outerHTML}else{if(f!=="input"||e.type!=="checkbox"&&e.type!=="radio"){if(f==="option"){d.selected=e.defaultSelected}else{if(f==="input"||f==="textarea"){d.defaultValue=e.defaultValue}}}else{e.checked&&(d.defaultChecked=d.checked=e.checked),d.value!==e.value&&(d.value=e.value)}}d.removeAttribute(aL.expando)}}function aT(r,q){if(q.nodeType===1&&aL.hasData(r)){var p=aL.expando,o=aL.data(r),n=aL.data(q,o);if(o=o[p]){var m=o.events;n=n[p]=aL.extend({},o);if(m){delete n.handle,n.events={};for(var l in m){for(var k=0,d=m[l].length;k<d;k++){aL.event.add(q,l+(m[l][k].namespace?".":"")+m[l][k].namespace,m[l][k],m[l][k].data)}}}}}}function c1(d,c){return aL.nodeName(d,"table")?d.getElementsByTagName("tbody")[0]||d.appendChild(d.ownerDocument.createElement("tbody")):d}function b8(f,d,h){if(aL.isFunction(d)){return aL.grep(f,function(b,i){var c=!!d.call(b,i,b);return c===h})}if(d.nodeType){return aL.grep(f,function(b,c){return b===d===h})}if(typeof d==="string"){var g=aL.grep(f,function(b){return b.nodeType===1});if(cp.test(d)){return aL.filter(d,g,!h)}d=aL.filter(d,g)}return aL.grep(f,function(b,c){return aL.inArray(b,d)>=0===h})}function cj(b){return !b||!b.parentNode||b.parentNode.nodeType===11}function ct(d,c){return(d&&d!=="*"?d+".":"")+c.replace(aj,"`").replace(ah,"&")}function cv(J){var I,H,G,F,E,D,C,B,A,z,y,x,w,v=[],u=[],r=aL._data(this,"events");if(J.liveFired!==this&&r&&r.live&&!J.target.disabled&&(!J.button||J.type!=="click")){J.namespace&&(x=new RegExp("(^|\\.)"+J.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),J.liveFired=this;var d=r.live.slice(0);for(C=0;
17
+ C<d.length;C++){E=d[C],E.origType.replace(am,"")===J.type?u.push(E.selector):d.splice(C--,1)}F=aL(J.target).closest(u,J.currentTarget);for(B=0,A=F.length;B<A;B++){y=F[B];for(C=0;C<d.length;C++){E=d[C];if(y.selector===E.selector&&(!x||x.test(E.namespace))&&!y.elem.disabled){D=y.elem,G=null;if(E.preType==="mouseenter"||E.preType==="mouseleave"){J.type=E.preType,G=aL(J.relatedTarget).closest(E.selector)[0]}(!G||G!==D)&&v.push({elem:D,handleObj:E,level:y.level})}}}for(B=0,A=v.length;B<A;B++){F=v[B];if(H&&F.level>H){break}J.currentTarget=F.elem,J.data=F.handleObj.data,J.handleObj=F.handleObj,w=F.handleObj.origHandler.apply(F.elem,arguments);if(w===!1||J.isPropagationStopped()){H=F.level,w===!1&&(I=!1);if(J.isImmediatePropagationStopped()){break}}}return I}}function cA(b,h,g){var d=aL.extend({},g[0]);d.type=b,d.originalEvent={},d.liveFired=aP,aL.event.handle.call(h,d),d.isDefaultPrevented()&&g[0].preventDefault()}function ab(){return !0}function ac(){return !1}function aB(d){for(var c in d){if(c!=="toJSON"){return !1}}return !0}function aD(b,h,g){if(g===aP&&b.nodeType===1){g=b.getAttribute("data-"+h);if(typeof g==="string"){try{g=g==="true"?!0:g==="false"?!1:g==="null"?null:aL.isNaN(g)?aF.test(g)?aL.parseJSON(g):g:parseFloat(g)}catch(d){}aL.data(b,h,g)}else{g=aP}}return g}var aN=aR.document,aL=function(){function J(){if(!bh.isReady){try{aN.documentElement.doScroll("left")}catch(d){setTimeout(J,1);return}bh.ready()}}var bh=function(e,d){return new bh.fn.init(e,d,be)},bg=aR.jQuery,bf=aR.$,be,bd=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,bc=/\S/,bb=/^\s+/,ba=/\s+$/,Z=/\d/,Y=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,X=/^[\],:{}\s]*$/,W=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,V=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,T=/(?:^|:|,)(?:\s*\[)+/g,R=/(webkit)[ \/]([\w.]+)/,P=/(opera)(?:.*version)?[ \/]([\w.]+)/,N=/(msie) ([\w.]+)/,L=/(mozilla)(?:.*? rv:([\w.]+))?/,I=navigator.userAgent,H,c,b,a=Object.prototype.toString,U=Object.prototype.hasOwnProperty,S=Array.prototype.push,Q=Array.prototype.slice,O=String.prototype.trim,M=Array.prototype.indexOf,K={};bh.fn=bh.prototype={constructor:bh,init:function(d,p,o){var n,m,l,h;if(!d){return this}if(d.nodeType){this.context=this[0]=d,this.length=1;return this}if(d==="body"&&!p&&aN.body){this.context=aN,this[0]=aN.body,this.selector="body",this.length=1;return this}if(typeof d==="string"){n=bd.exec(d);if(!n||!n[1]&&p){return !p||p.jquery?(p||o).find(d):this.constructor(p).find(d)}if(n[1]){p=p instanceof bh?p[0]:p,h=p?p.ownerDocument||p:aN,l=Y.exec(d),l?bh.isPlainObject(p)?(d=[aN.createElement(l[1])],bh.fn.attr.call(d,p,!0)):d=[h.createElement(l[1])]:(l=bh.buildFragment([n[1]],[h]),d=(l.cacheable?bh.clone(l.fragment):l.fragment).childNodes);return bh.merge(this,d)}m=aN.getElementById(n[2]);if(m&&m.parentNode){if(m.id!==n[2]){return o.find(d)}this.length=1,this[0]=m}this.context=aN,this.selector=d;return this}if(bh.isFunction(d)){return o.ready(d)}d.selector!==aP&&(this.selector=d.selector,this.context=d.context);return bh.makeArray(d,this)},selector:"",jquery:"1.5.2",length:0,size:function(){return this.length},toArray:function(){return Q.call(this,0)},get:function(d){return d==null?this.toArray():d<0?this[this.length+d]:this[d]},pushStack:function(f,d,h){var g=this.constructor();bh.isArray(f)?S.apply(g,f):bh.merge(g,f),g.prevObject=this,g.context=this.context,d==="find"?g.selector=this.selector+(this.selector?" ":"")+h:d&&(g.selector=this.selector+"."+d+"("+h+")");return g},each:function(e,d){return bh.each(this,e,d)},ready:function(d){bh.bindReady(),c.done(d);return this},eq:function(d){return d===-1?this.slice(d):this.slice(d,+d+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(Q.apply(this,arguments),"slice",Q.call(arguments).join(","))},map:function(d){return this.pushStack(bh.map(this,function(e,f){return d.call(e,f,e)}))},end:function(){return this.prevObject||this.constructor(null)},push:S,sort:[].sort,splice:[].splice},bh.fn.init.prototype=bh.fn,bh.extend=bh.fn.extend=function(){var u,t,s,r,q,p,o=arguments[0]||{},n=1,m=arguments.length,d=!1;typeof o==="boolean"&&(d=o,o=arguments[1]||{},n=2),typeof o!=="object"&&!bh.isFunction(o)&&(o={}),m===n&&(o=this,--n);for(;n<m;n++){if((u=arguments[n])!=null){for(t in u){s=o[t],r=u[t];if(o===r){continue}d&&r&&(bh.isPlainObject(r)||(q=bh.isArray(r)))?(q?(q=!1,p=s&&bh.isArray(s)?s:[]):p=s&&bh.isPlainObject(s)?s:{},o[t]=bh.extend(d,p,r)):r!==aP&&(o[t]=r)}}}return o},bh.extend({noConflict:function(d){aR.$=bf,d&&(aR.jQuery=bg);return bh},isReady:!1,readyWait:1,ready:function(d){d===!0&&bh.readyWait--;if(!bh.readyWait||d!==!0&&!bh.isReady){if(!aN.body){return setTimeout(bh.ready,1)}bh.isReady=!0;if(d!==!0&&--bh.readyWait>0){return}c.resolveWith(aN,[bh]),bh.fn.trigger&&bh(aN).trigger("ready").unbind("ready")}},bindReady:function(){if(!c){c=bh._Deferred();if(aN.readyState==="complete"){return setTimeout(bh.ready,1)}if(aN.addEventListener){aN.addEventListener("DOMContentLoaded",b,!1),aR.addEventListener("load",bh.ready,!1)
18
+ }else{if(aN.attachEvent){aN.attachEvent("onreadystatechange",b),aR.attachEvent("onload",bh.ready);var d=!1;try{d=aR.frameElement==null}catch(f){}aN.documentElement.doScroll&&d&&J()}}}},isFunction:function(d){return bh.type(d)==="function"},isArray:Array.isArray||function(d){return bh.type(d)==="array"},isWindow:function(d){return d&&typeof d==="object"&&"setInterval" in d},isNaN:function(d){return d==null||!Z.test(d)||isNaN(d)},type:function(d){return d==null?String(d):K[a.call(d)]||"object"},isPlainObject:function(d){if(!d||bh.type(d)!=="object"||d.nodeType||bh.isWindow(d)){return !1}if(d.constructor&&!U.call(d,"constructor")&&!U.call(d.constructor.prototype,"isPrototypeOf")){return !1}var e;for(e in d){}return e===aP||U.call(d,e)},isEmptyObject:function(e){for(var d in e){return !1}return !0},error:function(d){throw d},parseJSON:function(d){if(typeof d!=="string"||!d){return null}d=bh.trim(d);if(X.test(d.replace(W,"@").replace(V,"]").replace(T,""))){return aR.JSON&&aR.JSON.parse?aR.JSON.parse(d):(new Function("return "+d))()}bh.error("Invalid JSON: "+d)},parseXML:function(d,g,f){aR.DOMParser?(f=new DOMParser,g=f.parseFromString(d,"text/xml")):(g=new ActiveXObject("Microsoft.XMLDOM"),g.async="false",g.loadXML(d)),f=g.documentElement,(!f||!f.nodeName||f.nodeName==="parsererror")&&bh.error("Invalid XML: "+d);return g},noop:function(){},globalEval:function(f){if(f&&bc.test(f)){var d=aN.head||aN.getElementsByTagName("head")[0]||aN.documentElement,g=aN.createElement("script");bh.support.scriptEval()?g.appendChild(aN.createTextNode(f)):g.text=f,d.insertBefore(g,d.firstChild),d.removeChild(g)}},nodeName:function(e,d){return e.nodeName&&e.nodeName.toUpperCase()===d.toUpperCase()},each:function(d,q,p){var o,n=0,m=d.length,l=m===aP||bh.isFunction(d);if(p){if(l){for(o in d){if(q.apply(d[o],p)===!1){break}}}else{for(;n<m;){if(q.apply(d[n++],p)===!1){break}}}}else{if(l){for(o in d){if(q.call(d[o],o,d[o])===!1){break}}}else{for(var k=d[0];n<m&&q.call(k,n,k)!==!1;k=d[++n]){}}}return d},trim:O?function(d){return d==null?"":O.call(d)}:function(d){return d==null?"":(d+"").replace(bb,"").replace(ba,"")},makeArray:function(f,d){var h=d||[];if(f!=null){var g=bh.type(f);f.length==null||g==="string"||g==="function"||g==="regexp"||bh.isWindow(f)?S.call(h,f):bh.merge(h,f)}return h},inArray:function(f,e){if(e.indexOf){return e.indexOf(f)}for(var h=0,g=e.length;h<g;h++){if(e[h]===f){return h}}return -1},merge:function(g,k){var j=g.length,i=0;if(typeof k.length==="number"){for(var h=k.length;i<h;i++){g[j++]=k[i]}}else{while(k[i]!==aP){g[j++]=k[i++]}}g.length=j;return g},grep:function(i,h,n){var m=[],l;n=!!n;for(var k=0,j=i.length;k<j;k++){l=!!h(i[k],k),n!==l&&m.push(i[k])}return m},map:function(i,h,n){var m=[],l;for(var k=0,j=i.length;k<j;k++){l=h(i[k],k,n),l!=null&&(m[m.length]=l)}return m.concat.apply([],m)},guid:1,proxy:function(d,g,f){arguments.length===2&&(typeof g==="string"?(f=d,d=f[g],g=aP):g&&!bh.isFunction(g)&&(f=g,g=aP)),!g&&d&&(g=function(){return d.apply(f||this,arguments)}),d&&(g.guid=d.guid=d.guid||g.guid||bh.guid++);return g},access:function(s,r,q,p,o,n){var m=s.length;if(typeof r==="object"){for(var l in r){bh.access(s,l,r[l],p,o,q)}return s}if(q!==aP){p=!n&&p&&bh.isFunction(q);for(var d=0;d<m;d++){o(s[d],r,p?q.call(s[d],d,o(s[d],r)):q,n)}return s}return m?o(s[0],r):aP},now:function(){return(new Date).getTime()},uaMatch:function(e){e=e.toLowerCase();var d=R.exec(e)||P.exec(e)||N.exec(e)||e.indexOf("compatible")<0&&L.exec(e)||[];return{browser:d[1]||"",version:d[2]||"0"}},sub:function(){function f(e,h){return new f.fn.init(e,h)}bh.extend(!0,f,this),f.superclass=this,f.fn=f.prototype=this(),f.fn.constructor=f,f.subclass=this.subclass,f.fn.init=function d(e,h){h&&h instanceof bh&&!(h instanceof f)&&(h=f(h));return bh.fn.init.call(this,e,h,g)},f.fn.init.prototype=f.fn;var g=f(aN);return f},browser:{}}),bh.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(e,d){K["[object "+d+"]"]=d.toLowerCase()}),H=bh.uaMatch(I),H.browser&&(bh.browser[H.browser]=!0,bh.browser.version=H.version),bh.browser.webkit&&(bh.browser.safari=!0),M&&(bh.inArray=function(e,d){return M.call(d,e)}),bc.test(" ")&&(bb=/^[\s\xA0]+/,ba=/[\s\xA0]+$/),be=bh(aN),aN.addEventListener?b=function(){aN.removeEventListener("DOMContentLoaded",b,!1),bh.ready()}:aN.attachEvent&&(b=function(){aN.readyState==="complete"&&(aN.detachEvent("onreadystatechange",b),bh.ready())});return bh}(),aJ="then done fail isResolved isRejected promise".split(" "),aH=[].slice;aL.extend({_Deferred:function(){var g=[],d,j,i,h={done:function(){if(!i){var m=arguments,l,f,e,b,a;d&&(a=d,d=0);for(l=0,f=m.length;l<f;l++){e=m[l],b=aL.type(e),b==="array"?h.done.apply(h,e):b==="function"&&g.push(e)}a&&h.resolveWith(a[0],a[1])}return this},resolveWith:function(b,a){if(!i&&!d&&!j){a=a||[],j=1;try{while(g[0]){g.shift().apply(b,a)}}finally{d=[b,a],j=0}}return this},resolve:function(){h.resolveWith(this,arguments);return this},isResolved:function(){return j||d},cancel:function(){i=1,g=[];
19
+ return this}};return h},Deferred:function(e){var d=aL._Deferred(),h=aL._Deferred(),g;aL.extend(d,{then:function(b,f){d.done(b).fail(f);return this},fail:h.done,rejectWith:h.resolveWith,reject:h.resolve,isRejected:h.isResolved,promise:function(b){if(b==null){if(g){return g}g=b={}}var f=aJ.length;while(f--){b[aJ[f]]=d[aJ[f]]}return b}}),d.done(h.cancel).fail(d.cancel),delete d.cancel,e&&e.call(d,d);return d},when:function(f){function j(b){return function(a){d[b]=arguments.length>1?aH.call(arguments,0):a,--l||k.resolveWith(k,aH.call(d,0))}}var d=arguments,n=0,m=d.length,l=m,k=m<=1&&f&&aL.isFunction(f.promise)?f:aL.Deferred();if(m>1){for(;n<m;n++){d[n]&&aL.isFunction(d[n].promise)?d[n].promise().then(j(n),k.reject):--l}l||k.resolveWith(k,d)}else{k!==f&&k.resolveWith(k,m?[f]:[])}return k.promise()}}),function(){aL.support={};var v=aN.createElement("div");v.style.display="none",v.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var u=v.getElementsByTagName("*"),t=v.getElementsByTagName("a")[0],s=aN.createElement("select"),r=s.appendChild(aN.createElement("option")),q=v.getElementsByTagName("input")[0];if(u&&u.length&&t){aL.support={leadingWhitespace:v.firstChild.nodeType===3,tbody:!v.getElementsByTagName("tbody").length,htmlSerialize:!!v.getElementsByTagName("link").length,style:/red/.test(t.getAttribute("style")),hrefNormalized:t.getAttribute("href")==="/a",opacity:/^0.55$/.test(t.style.opacity),cssFloat:!!t.style.cssFloat,checkOn:q.value==="on",optSelected:r.selected,deleteExpando:!0,optDisabled:!1,checkClone:!1,noCloneEvent:!0,noCloneChecked:!0,boxModel:null,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableHiddenOffsets:!0,reliableMarginRight:!0},q.checked=!0,aL.support.noCloneChecked=q.cloneNode(!0).checked,s.disabled=!0,aL.support.optDisabled=!r.disabled;var p=null;aL.support.scriptEval=function(){if(p===null){var h=aN.documentElement,k=aN.createElement("script"),j="script"+aL.now();try{k.appendChild(aN.createTextNode("window."+j+"=1;"))}catch(i){}h.insertBefore(k,h.firstChild),aR[j]?(p=!0,delete aR[j]):p=!1,h.removeChild(k)}return p};try{delete v.test}catch(o){aL.support.deleteExpando=!1}!v.addEventListener&&v.attachEvent&&v.fireEvent&&(v.attachEvent("onclick",function d(){aL.support.noCloneEvent=!1,v.detachEvent("onclick",d)}),v.cloneNode(!0).fireEvent("onclick")),v=aN.createElement("div"),v.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";var c=aN.createDocumentFragment();c.appendChild(v.firstChild),aL.support.checkClone=c.cloneNode(!0).cloneNode(!0).lastChild.checked,aL(function(){var g=aN.createElement("div"),f=aN.getElementsByTagName("body")[0];if(f){g.style.width=g.style.paddingLeft="1px",f.appendChild(g),aL.boxModel=aL.support.boxModel=g.offsetWidth===2,"zoom" in g.style&&(g.style.display="inline",g.style.zoom=1,aL.support.inlineBlockNeedsLayout=g.offsetWidth===2,g.style.display="",g.innerHTML="<div style='width:4px;'></div>",aL.support.shrinkWrapBlocks=g.offsetWidth!==2),g.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";var h=g.getElementsByTagName("td");aL.support.reliableHiddenOffsets=h[0].offsetHeight===0,h[0].style.display="",h[1].style.display="none",aL.support.reliableHiddenOffsets=aL.support.reliableHiddenOffsets&&h[0].offsetHeight===0,g.innerHTML="",aN.defaultView&&aN.defaultView.getComputedStyle&&(g.style.width="1px",g.style.marginRight="0",aL.support.reliableMarginRight=(parseInt(aN.defaultView.getComputedStyle(g,null).marginRight,10)||0)===0),f.removeChild(g).style.display="none",g=h=null}});var a=function(f){var e=aN.createElement("div");f="on"+f;if(!e.attachEvent){return !0}var g=f in e;g||(e.setAttribute(f,"return;"),g=typeof e[f]==="function");return g};aL.support.submitBubbles=a("submit"),aL.support.changeBubbles=a("change"),v=u=t=null}}();var aF=/^(?:\{.*\}|\[.*\])$/;aL.extend({cache:{},uuid:0,expando:"jQuery"+(aL.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(b){b=b.nodeType?aL.cache[b[aL.expando]]:b[aL.expando];return !!b&&!aB(b)},data:function(t,s,r,q){if(aL.acceptData(t)){var p=aL.expando,o=typeof s==="string",n,m=t.nodeType,d=m?aL.cache:t,b=m?t[aL.expando]:t[aL.expando]&&aL.expando;if((!b||q&&b&&!d[b][p])&&o&&r===aP){return}b||(m?t[aL.expando]=b=++aL.uuid:b=aL.expando),d[b]||(d[b]={},m||(d[b].toJSON=aL.noop));if(typeof s==="object"||typeof s==="function"){q?d[b][p]=aL.extend(d[b][p],s):d[b]=aL.extend(d[b],s)}n=d[b],q&&(n[p]||(n[p]={}),n=n[p]),r!==aP&&(n[s]=r);if(s==="events"&&!n[s]){return n[p]&&n[p].events}return o?n[s]:n}},removeData:function(r,q,p){if(aL.acceptData(r)){var o=aL.expando,n=r.nodeType,m=n?aL.cache:r,i=n?r[aL.expando]:aL.expando;if(!m[i]){return}if(q){var d=p?m[i][o]:m[i];if(d){delete d[q];if(!aB(d)){return}}}if(p){delete m[i][o];if(!aB(m[i])){return}}var a=m[i][o];aL.support.deleteExpando||m!=aR?delete m[i]:m[i]=null,a?(m[i]={},n||(m[i].toJSON=aL.noop),m[i][o]=a):n&&(aL.support.deleteExpando?delete r[aL.expando]:r.removeAttribute?r.removeAttribute(aL.expando):r[aL.expando]=null)
20
+ }},_data:function(e,d,f){return aL.data(e,d,f,!0)},acceptData:function(d){if(d.nodeName){var c=aL.noData[d.nodeName.toLowerCase()];if(c){return c!==!0&&d.getAttribute("classid")===c}}return !0}}),aL.fn.extend({data:function(b,p){var o=null;if(typeof b==="undefined"){if(this.length){o=aL.data(this[0]);if(this[0].nodeType===1){var n=this[0].attributes,m;for(var l=0,h=n.length;l<h;l++){m=n[l].name,m.indexOf("data-")===0&&(m=m.substr(5),aD(this[0],m,o[m]))}}}return o}if(typeof b==="object"){return this.each(function(){aL.data(this,b)})}var d=b.split(".");d[1]=d[1]?"."+d[1]:"";if(p===aP){o=this.triggerHandler("getData"+d[1]+"!",[d[0]]),o===aP&&this.length&&(o=aL.data(this[0],b),o=aD(this[0],b,o));return o===aP&&d[1]?this.data(d[0]):o}return this.each(function(){var a=aL(this),c=[d[0],p];a.triggerHandler("setData"+d[1]+"!",c),aL.data(this,b,p),a.triggerHandler("changeData"+d[1]+"!",c)})},removeData:function(b){return this.each(function(){aL.removeData(this,b)})}}),aL.extend({queue:function(f,d,h){if(f){d=(d||"fx")+"queue";var g=aL._data(f,d);if(!h){return g||[]}!g||aL.isArray(h)?g=aL._data(f,d,aL.makeArray(h)):g.push(h);return g}},dequeue:function(f,d){d=d||"fx";var h=aL.queue(f,d),g=h.shift();g==="inprogress"&&(g=h.shift()),g&&(d==="fx"&&h.unshift("inprogress"),g.call(f,function(){aL.dequeue(f,d)})),h.length||aL.removeData(f,d+"queue",!0)}}),aL.fn.extend({queue:function(b,d){typeof b!=="string"&&(d=b,b="fx");if(d===aP){return aL.queue(this[0],b)}return this.each(function(a){var c=aL.queue(this,b,d);b==="fx"&&c[0]!=="inprogress"&&aL.dequeue(this,b)})},dequeue:function(b){return this.each(function(){aL.dequeue(this,b)})},delay:function(d,c){d=aL.fx?aL.fx.speeds[d]||d:d,c=c||"fx";return this.queue(c,function(){var a=this;setTimeout(function(){aL.dequeue(a,c)},d)})},clearQueue:function(b){return this.queue(b||"fx",[])}});var aA=/[\n\t\r]/g,az=/\s+/,ay=/\r/g,ax=/^(?:href|src|style)$/,aw=/^(?:button|input)$/i,au=/^(?:button|input|object|select|textarea)$/i,ar=/^a(?:rea)?$/i,ap=/^(?:radio|checkbox)$/i;aL.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"},aL.fn.extend({attr:function(d,c){return aL.access(this,d,c,!0,aL.attr)},removeAttr:function(d,c){return this.each(function(){aL.attr(this,d,""),this.nodeType===1&&this.removeAttribute(d)})},addClass:function(r){if(aL.isFunction(r)){return this.each(function(a){var e=aL(this);e.addClass(r.call(this,a,e.attr("class")))})}if(r&&typeof r==="string"){var q=(r||"").split(az);for(var p=0,o=this.length;p<o;p++){var n=this[p];if(n.nodeType===1){if(n.className){var m=" "+n.className+" ",l=n.className;for(var k=0,d=q.length;k<d;k++){m.indexOf(" "+q[k]+" ")<0&&(l+=" "+q[k])}n.className=aL.trim(l)}else{n.className=r}}}}return this},removeClass:function(d){if(aL.isFunction(d)){return this.each(function(a){var e=aL(this);e.removeClass(d.call(this,a,e.attr("class")))})}if(d&&typeof d==="string"||d===aP){var p=(d||"").split(az);for(var o=0,n=this.length;o<n;o++){var m=this[o];if(m.nodeType===1&&m.className){if(d){var k=(" "+m.className+" ").replace(aA," ");for(var j=0,b=p.length;j<b;j++){k=k.replace(" "+p[j]+" "," ")}m.className=aL.trim(k)}else{m.className=""}}}}return this},toggleClass:function(f,d){var h=typeof f,g=typeof d==="boolean";if(aL.isFunction(f)){return this.each(function(b){var a=aL(this);a.toggleClass(f.call(this,b,a.attr("class"),d),d)})}return this.each(function(){if(h==="string"){var k,e=0,c=aL(this),b=d,a=f.split(az);while(k=a[e++]){b=g?b:!c.hasClass(k),c[b?"addClass":"removeClass"](k)}}else{if(h==="undefined"||h==="boolean"){this.className&&aL._data(this,"__className__",this.className),this.className=this.className||f===!1?"":aL._data(this,"__className__")||""}}})},hasClass:function(f){var e=" "+f+" ";for(var h=0,g=this.length;h<g;h++){if((" "+this[h].className+" ").replace(aA," ").indexOf(e)>-1){return !0}}return !1},val:function(v){if(!arguments.length){var u=this[0];if(u){if(aL.nodeName(u,"option")){var t=u.attributes.value;return !t||t.specified?u.value:u.text}if(aL.nodeName(u,"select")){var s=u.selectedIndex,r=[],q=u.options,p=u.type==="select-one";if(s<0){return null}for(var o=p?s:0,l=p?s+1:q.length;o<l;o++){var d=q[o];if(d.selected&&(aL.support.optDisabled?!d.disabled:d.getAttribute("disabled")===null)&&(!d.parentNode.disabled||!aL.nodeName(d.parentNode,"optgroup"))){v=aL(d).val();if(p){return v}r.push(v)}}if(p&&!r.length&&q.length){return aL(q[s]).val()}return r}if(ap.test(u.type)&&!aL.support.checkOn){return u.getAttribute("value")===null?"on":u.value}return(u.value||"").replace(ay,"")}return aP}var b=aL.isFunction(v);return this.each(function(a){var i=aL(this),h=v;if(this.nodeType===1){b&&(h=v.call(this,a,i.val())),h==null?h="":typeof h==="number"?h+="":aL.isArray(h)&&(h=aL.map(h,function(c){return c==null?"":c+""}));if(aL.isArray(h)&&ap.test(this.type)){this.checked=aL.inArray(i.val(),h)>=0}else{if(aL.nodeName(this,"select")){var g=aL.makeArray(h);
21
+ aL("option",this).each(function(){this.selected=aL.inArray(aL(this).val(),g)>=0}),g.length||(this.selectedIndex=-1)}else{this.value=h}}}})}}),aL.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(t,s,r,q){if(!t||t.nodeType===3||t.nodeType===8||t.nodeType===2){return aP}if(q&&s in aL.attrFn){return aL(t)[s](r)}var p=t.nodeType!==1||!aL.isXMLDoc(t),o=r!==aP;s=p&&aL.props[s]||s;if(t.nodeType===1){var n=ax.test(s);if(s==="selected"&&!aL.support.optSelected){var m=t.parentNode;m&&(m.selectedIndex,m.parentNode&&m.parentNode.selectedIndex)}if((s in t||t[s]!==aP)&&p&&!n){o&&(s==="type"&&aw.test(t.nodeName)&&t.parentNode&&aL.error("type property can't be changed"),r===null?t.nodeType===1&&t.removeAttribute(s):t[s]=r);if(aL.nodeName(t,"form")&&t.getAttributeNode(s)){return t.getAttributeNode(s).nodeValue}if(s==="tabIndex"){var d=t.getAttributeNode("tabIndex");return d&&d.specified?d.value:au.test(t.nodeName)||ar.test(t.nodeName)&&t.href?0:aP}return t[s]}if(!aL.support.style&&p&&s==="style"){o&&(t.style.cssText=""+r);return t.style.cssText}o&&t.setAttribute(s,""+r);if(!t.attributes[s]&&(t.hasAttribute&&!t.hasAttribute(s))){return aP}var b=!aL.support.hrefNormalized&&p&&n?t.getAttribute(s,2):t.getAttribute(s);return b===null?aP:b}o&&(t[s]=r);return t[s]}});var am=/\.(.*)$/,ak=/^(?:textarea|input|select)$/i,aj=/\./g,ah=/ /g,ae=/[^\w\s.|`]/g,ad=function(b){return b.replace(ae,"\\$&")};aL.event={add:function(D,C,B,A){if(D.nodeType!==3&&D.nodeType!==8){try{aL.isWindow(D)&&(D!==aR&&!D.frameElement)&&(D=aR)}catch(z){}if(B===!1){B=ac}else{if(!B){return}}var y,x;B.handler&&(y=B,B=y.handler),B.guid||(B.guid=aL.guid++);var w=aL._data(D);if(!w){return}var v=w.events,u=w.handle;v||(w.events=v={}),u||(w.handle=u=function(c){return typeof aL!=="undefined"&&aL.event.triggered!==c.type?aL.event.handle.apply(u.elem,arguments):aP}),u.elem=D,C=C.split(" ");var t,s=0,d;while(t=C[s++]){x=y?aL.extend({},y):{handler:B,data:A},t.indexOf(".")>-1?(d=t.split("."),t=d.shift(),x.namespace=d.slice(0).sort().join(".")):(d=[],x.namespace=""),x.type=t,x.guid||(x.guid=B.guid);var b=v[t],a=aL.event.special[t]||{};if(!b){b=v[t]=[];if(!a.setup||a.setup.call(D,A,d,u)===!1){D.addEventListener?D.addEventListener(t,u,!1):D.attachEvent&&D.attachEvent("on"+t,u)}}a.add&&(a.add.call(D,x),x.handler.guid||(x.handler.guid=B.guid)),b.push(x),aL.event.global[t]=!0}D=null}},global:{},remove:function(L,K,J,I){if(L.nodeType!==3&&L.nodeType!==8){J===!1&&(J=ac);var H,G,F,E,D=0,C,B,A,z,y,x,w,v=aL.hasData(L)&&aL._data(L),d=v&&v.events;if(!v||!d){return}K&&K.type&&(J=K.handler,K=K.type);if(!K||typeof K==="string"&&K.charAt(0)==="."){K=K||"";for(G in d){aL.event.remove(L,G+K)}return}K=K.split(" ");while(G=K[D++]){w=G,x=null,C=G.indexOf(".")<0,B=[],C||(B=G.split("."),G=B.shift(),A=new RegExp("(^|\\.)"+aL.map(B.slice(0).sort(),ad).join("\\.(?:.*\\.)?")+"(\\.|$)")),y=d[G];if(!y){continue}if(!J){for(E=0;E<y.length;E++){x=y[E];if(C||A.test(x.namespace)){aL.event.remove(L,w,x.handler,E),y.splice(E--,1)}}continue}z=aL.event.special[G]||{};for(E=I||0;E<y.length;E++){x=y[E];if(J.guid===x.guid){if(C||A.test(x.namespace)){I==null&&y.splice(E--,1),z.remove&&z.remove.call(L,x)}if(I!=null){break}}}if(y.length===0||I!=null&&y.length===1){(!z.teardown||z.teardown.call(L,B)===!1)&&aL.removeEvent(L,G,v.handle),H=null,delete d[G]}}if(aL.isEmptyObject(d)){var b=v.handle;b&&(b.elem=null),delete v.events,delete v.handle,aL.isEmptyObject(v)&&aL.removeData(L,aP,!0)}}},trigger:function(B,A,z){var y=B.type||B,x=arguments[3];if(!x){B=typeof B==="object"?B[aL.expando]?B:aL.extend(aL.Event(y),B):aL.Event(y),y.indexOf("!")>=0&&(B.type=y=y.slice(0,-1),B.exclusive=!0),z||(B.stopPropagation(),aL.event.global[y]&&aL.each(aL.cache,function(){var a=aL.expando,c=this[a];c&&c.events&&c.events[y]&&aL.event.trigger(B,A,c.handle.elem)}));if(!z||z.nodeType===3||z.nodeType===8){return aP}B.result=aP,B.target=z,A=aL.makeArray(A),A.unshift(B)}B.currentTarget=z;var w=aL._data(z,"handle");w&&w.apply(z,A);var v=z.parentNode||z.ownerDocument;try{z&&z.nodeName&&aL.noData[z.nodeName.toLowerCase()]||z["on"+y]&&z["on"+y].apply(z,A)===!1&&(B.result=!1,B.preventDefault())}catch(u){}if(!B.isPropagationStopped()&&v){aL.event.trigger(B,A,v,!0)}else{if(!B.isDefaultPrevented()){var t,s=B.target,r=y.replace(am,""),q=aL.nodeName(s,"a")&&r==="click",d=aL.event.special[r]||{};if((!d._default||d._default.call(z,B)===!1)&&!q&&!(s&&s.nodeName&&aL.noData[s.nodeName.toLowerCase()])){try{s[r]&&(t=s["on"+r],t&&(s["on"+r]=null),aL.event.triggered=B.type,s[r]())}catch(b){}t&&(s["on"+r]=t),aL.event.triggered=aP}}}},handle:function(x){var w,v,u,t,s,r=[],q=aL.makeArray(arguments);x=q[0]=aL.event.fix(x||aR.event),x.currentTarget=this,w=x.type.indexOf(".")<0&&!x.exclusive,w||(u=x.type.split("."),x.type=u.shift(),r=u.slice(0).sort(),t=new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.)?")+"(\\.|$)")),x.namespace=x.namespace||r.join("."),s=aL._data(this,"events"),v=(s||{})[x.type];if(s&&v){v=v.slice(0);for(var p=0,d=v.length;
22
+ p<d;p++){var b=v[p];if(w||t.test(b.namespace)){x.handler=b.handler,x.data=b.data,x.handleObj=b;var a=b.handler.apply(this,q);a!==aP&&(x.result=a,a===!1&&(x.preventDefault(),x.stopPropagation()));if(x.isImmediatePropagationStopped()){break}}}}return x.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(b){if(b[aL.expando]){return b}var l=b;b=aL.Event(l);for(var k=this.props.length,j;k;){j=this.props[--k],b[j]=l[j]}b.target||(b.target=b.srcElement||aN),b.target.nodeType===3&&(b.target=b.target.parentNode),!b.relatedTarget&&b.fromElement&&(b.relatedTarget=b.fromElement===b.target?b.toElement:b.fromElement);if(b.pageX==null&&b.clientX!=null){var d=aN.documentElement,c=aN.body;b.pageX=b.clientX+(d&&d.scrollLeft||c&&c.scrollLeft||0)-(d&&d.clientLeft||c&&c.clientLeft||0),b.pageY=b.clientY+(d&&d.scrollTop||c&&c.scrollTop||0)-(d&&d.clientTop||c&&c.clientTop||0)}b.which==null&&(b.charCode!=null||b.keyCode!=null)&&(b.which=b.charCode!=null?b.charCode:b.keyCode),!b.metaKey&&b.ctrlKey&&(b.metaKey=b.ctrlKey),!b.which&&b.button!==aP&&(b.which=b.button&1?1:b.button&2?3:b.button&4?2:0);return b},guid:100000000,proxy:aL.proxy,special:{ready:{setup:aL.bindReady,teardown:aL.noop},live:{add:function(b){aL.event.add(this,ct(b.origType,b.selector),aL.extend({},b,{handler:cv,guid:b.handler.guid}))},remove:function(b){aL.event.remove(this,ct(b.origType,b.selector),b)}},beforeunload:{setup:function(e,d,f){aL.isWindow(this)&&(this.onbeforeunload=f)},teardown:function(d,c){this.onbeforeunload===c&&(this.onbeforeunload=null)}}}},aL.removeEvent=aN.removeEventListener?function(e,d,f){e.removeEventListener&&e.removeEventListener(d,f,!1)}:function(e,d,f){e.detachEvent&&e.detachEvent("on"+d,f)},aL.Event=function(b){if(!this.preventDefault){return new aL.Event(b)}b&&b.type?(this.originalEvent=b,this.type=b.type,this.isDefaultPrevented=b.defaultPrevented||b.returnValue===!1||b.getPreventDefault&&b.getPreventDefault()?ab:ac):this.type=b,this.timeStamp=aL.now(),this[aL.expando]=!0},aL.Event.prototype={preventDefault:function(){this.isDefaultPrevented=ab;var b=this.originalEvent;b&&(b.preventDefault?b.preventDefault():b.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=ab;var b=this.originalEvent;b&&(b.stopPropagation&&b.stopPropagation(),b.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=ab,this.stopPropagation()},isDefaultPrevented:ac,isPropagationStopped:ac,isImmediatePropagationStopped:ac};var aa=function(d){var c=d.relatedTarget;try{if(c&&c!==aN&&!c.parentNode){return}while(c&&c!==this){c=c.parentNode}c!==this&&(d.type=d.data,aL.event.handle.apply(this,arguments))}catch(f){}},cH=function(b){b.type=b.data,aL.event.handle.apply(this,arguments)};aL.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(d,c){aL.event.special[d]={setup:function(a){aL.event.add(this,c,a&&a.selector?cH:aa,d)},teardown:function(b){aL.event.remove(this,c,b&&b.selector?cH:aa)}}}),aL.support.submitBubbles||(aL.event.special.submit={setup:function(d,c){if(this.nodeName&&this.nodeName.toLowerCase()!=="form"){aL.event.add(this,"click.specialSubmit",function(f){var e=f.target,g=e.type;(g==="submit"||g==="image")&&aL(e).closest("form").length&&cA("submit",this,arguments)}),aL.event.add(this,"keypress.specialSubmit",function(f){var e=f.target,g=e.type;(g==="text"||g==="password")&&aL(e).closest("form").length&&f.keyCode===13&&cA("submit",this,arguments)})}else{return !1}},teardown:function(b){aL.event.remove(this,".specialSubmit")}});if(!aL.support.changeBubbles){var cG,cE=function(e){var d=e.type,f=e.value;d==="radio"||d==="checkbox"?f=e.checked:d==="select-multiple"?f=e.selectedIndex>-1?aL.map(e.options,function(b){return b.selected}).join("-"):"":e.nodeName.toLowerCase()==="select"&&(f=e.selectedIndex);return f},cC=function cC(b){var h=b.target,g,d;if(ak.test(h.nodeName)&&!h.readOnly){g=aL._data(h,"_change_data"),d=cE(h),(b.type!=="focusout"||h.type!=="radio")&&aL._data(h,"_change_data",d);if(g===aP||d===g){return}if(g!=null||d){b.type="change",b.liveFired=aP,aL.event.trigger(b,arguments[1],h)}}};aL.event.special.change={filters:{focusout:cC,beforedeactivate:cC,click:function(e){var d=e.target,f=d.type;(f==="radio"||f==="checkbox"||d.nodeName.toLowerCase()==="select")&&cC.call(this,e)},keydown:function(e){var d=e.target,f=d.type;(e.keyCode===13&&d.nodeName.toLowerCase()!=="textarea"||e.keyCode===32&&(f==="checkbox"||f==="radio")||f==="select-multiple")&&cC.call(this,e)},beforeactivate:function(d){var c=d.target;aL._data(c,"_change_data",cE(c))}},setup:function(e,d){if(this.type==="file"){return !1}for(var f in cG){aL.event.add(this,f+".specialChange",cG[f])}return ak.test(this.nodeName)},teardown:function(b){aL.event.remove(this,".specialChange");
23
+ return ak.test(this.nodeName)}},cG=aL.event.special.change.filters,cG.focus=cG.beforeactivate}aN.addEventListener&&aL.each({focus:"focusin",blur:"focusout"},function(d,c){function g(b){var e=aL.event.fix(b);e.type=c,e.originalEvent={},aL.event.trigger(e,null,e.target),e.isDefaultPrevented()&&b.preventDefault()}var h=0;aL.event.special[c]={setup:function(){h++===0&&aN.addEventListener(d,g,!0)},teardown:function(){--h===0&&aN.removeEventListener(d,g,!0)}}}),aL.each(["bind","one"],function(b,d){aL.fn[d]=function(c,p,o){if(typeof c==="object"){for(var n in c){this[d](n,p,c[n],o)}return this}if(aL.isFunction(p)||p===!1){o=p,p=aP}var m=d==="one"?aL.proxy(o,function(e){aL(this).unbind(e,m);return o.apply(this,arguments)}):o;if(c==="unload"&&d!=="one"){this.one(c,p,o)}else{for(var l=0,k=this.length;l<k;l++){aL.event.add(this[l],c,m,p)}}return this}}),aL.fn.extend({unbind:function(g,d){if(typeof g!=="object"||g.preventDefault){for(var i=0,h=this.length;i<h;i++){aL.event.remove(this[i],g,d)}}else{for(var j in g){this.unbind(j,g[j])}}return this},delegate:function(f,e,h,g){return this.live(e,h,g,f)},undelegate:function(e,d,f){return arguments.length===0?this.unbind("live"):this.die(d,null,f,e)},trigger:function(d,c){return this.each(function(){aL.event.trigger(d,c,this)})},triggerHandler:function(e,d){if(this[0]){var f=aL.Event(e);f.preventDefault(),f.stopPropagation(),aL.event.trigger(f,d,this[0]);return f.result}},toggle:function(e){var d=arguments,f=1;while(f<d.length){aL.proxy(e,d[f++])}return this.click(aL.proxy(e,function(b){var a=(aL._data(this,"lastToggle"+e.guid)||0)%f;aL._data(this,"lastToggle"+e.guid,a+1),b.preventDefault();return d[a].apply(this,arguments)||!1}))},hover:function(d,c){return this.mouseenter(d).mouseleave(c||d)}});var cy={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};aL.each(["live","die"],function(b,d){aL.fn[d]=function(D,C,B,A){var z,y=0,x,w,v,u=A||this.selector,t=A?this:aL(this.context);if(typeof D==="object"&&!D.preventDefault){for(var s in D){t[d](s,C,D[s],u)}return this}aL.isFunction(C)&&(B=C,C=aP),D=(D||"").split(" ");while((z=D[y++])!=null){x=am.exec(z),w="",x&&(w=x[0],z=z.replace(am,""));if(z==="hover"){D.push("mouseenter"+w,"mouseleave"+w);continue}v=z,z==="focus"||z==="blur"?(D.push(cy[z]+w),z=z+w):z=(cy[z]||z)+w;if(d==="live"){for(var r=0,c=t.length;r<c;r++){aL.event.add(t[r],"live."+ct(z,u),{data:C,selector:u,handler:B,origType:z,origHandler:B,preType:v})}}else{t.unbind("live."+ct(z,u),B)}}return this}}),aL.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(d,c){aL.fn[c]=function(b,e){e==null&&(e=b,b=null);return arguments.length>0?this.bind(c,b,e):this.trigger(c)},aL.attrFn&&(aL.attrFn[c]=!0)}),function(){function c(t,s,r,q,p,o){for(var n=0,m=q.length;n<m;n++){var l=q[n];if(l){var k=!1;l=l[t];while(l){if(l.sizcache===r){k=q[l.sizset];break}if(l.nodeType===1){o||(l.sizcache=r,l.sizset=n);if(typeof s!=="string"){if(l===s){k=!0;break}}else{if(E.filter(s,[l]).length>0){k=l;break}}}l=l[t]}q[n]=k}}}function d(t,s,r,q,p,o){for(var n=0,m=q.length;n<m;n++){var l=q[n];if(l){var k=!1;l=l[t];while(l){if(l.sizcache===r){k=q[l.sizset];break}l.nodeType===1&&!o&&(l.sizcache=r,l.sizset=n);if(l.nodeName.toLowerCase()===s){k=l;break}l=l[t]}q[n]=k}}}var L=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,K=0,J=Object.prototype.toString,I=!1,H=!0,G=/\\/g,F=/\W/;[0,0].sort(function(){H=!1;return 0});var E=function(Q,O,N,M){N=N||[],O=O||aN;var v=O;if(O.nodeType!==1&&O.nodeType!==9){return[]}if(!Q||typeof Q!=="string"){return N}var p,m,l,k,f,a,V,U,T=!0,S=E.isXML(O),R=[],P=Q;do{L.exec(""),p=L.exec(P);if(p){P=p[3],R.push(p[1]);if(p[2]){k=p[3];break}}}while(p);if(R.length>1&&C.exec(Q)){if(R.length===2&&D.relative[R[0]]){m=b(R[0]+R[1],O)}else{m=D.relative[R[0]]?[O]:E(R.shift(),O);while(R.length){Q=R.shift(),D.relative[Q]&&(Q+=R.shift()),m=b(Q,m)}}}else{!M&&R.length>1&&O.nodeType===9&&!S&&D.match.ID.test(R[0])&&!D.match.ID.test(R[R.length-1])&&(f=E.find(R.shift(),O,S),O=f.expr?E.filter(f.expr,f.set)[0]:f.set[0]);if(O){f=M?{expr:R.pop(),set:z(M)}:E.find(R.pop(),R.length===1&&(R[0]==="~"||R[0]==="+")&&O.parentNode?O.parentNode:O,S),m=f.expr?E.filter(f.expr,f.set):f.set,R.length>0?l=z(m):T=!1;while(R.length){a=R.pop(),V=a,D.relative[a]?V=R.pop():a="",V==null&&(V=O),D.relative[a](l,V,S)}}else{l=R=[]}}l||(l=m),l||E.error(a||Q);if(J.call(l)==="[object Array]"){if(T){if(O&&O.nodeType===1){for(U=0;l[U]!=null;U++){l[U]&&(l[U]===!0||l[U].nodeType===1&&E.contains(O,l[U]))&&N.push(m[U])}}else{for(U=0;l[U]!=null;U++){l[U]&&l[U].nodeType===1&&N.push(m[U])}}}else{N.push.apply(N,l)}}else{z(l,N)}k&&(E(k,v,N,M),E.uniqueSort(N));return N};E.uniqueSort=function(f){if(x){I=H,f.sort(x);if(I){for(var e=1;e<f.length;e++){f[e]===f[e-1]&&f.splice(e--,1)}}}return f
24
+ },E.matches=function(f,e){return E(f,null,null,e)},E.matchesSelector=function(f,e){return E(e,null,null,[f]).length>0},E.find=function(r,q,p){var o;if(!r){return[]}for(var n=0,m=D.order.length;n<m;n++){var l,k=D.order[n];if(l=D.leftMatch[k].exec(r)){var i=l[1];l.splice(1,1);if(i.substr(i.length-1)!=="\\"){l[1]=(l[1]||"").replace(G,""),o=D.find[k](l,q,p);if(o!=null){r=r.replace(D.match[k],"");break}}}}o||(o=typeof q.getElementsByTagName!=="undefined"?q.getElementsByTagName("*"):[]);return{set:o,expr:r}},E.filter=function(W,V,U,T){var S,R,Q=W,P=[],O=V,N=V&&V[0]&&E.isXML(V[0]);while(W&&V.length){for(var M in D.filter){if((S=D.leftMatch[M].exec(W))!=null&&S[2]){var v,u,l=D.filter[M],k=S[1];R=!1,S.splice(1,1);if(k.substr(k.length-1)==="\\"){continue}O===P&&(P=[]);if(D.preFilter[M]){S=D.preFilter[M](S,O,U,P,T,N);if(S){if(S===!0){continue}}else{R=v=!0}}if(S){for(var Y=0;(u=O[Y])!=null;Y++){if(u){v=l(u,S,Y,O);var X=T^!!v;U&&v!=null?X?R=!0:O[Y]=!1:X&&(P.push(u),R=!0)}}}if(v!==aP){U||(O=P),W=W.replace(D.match[M],"");if(!R){return[]}break}}}if(W===Q){if(R==null){E.error(W)}else{break}}Q=W}return O},E.error=function(e){throw"Syntax error, unrecognized expression: "+e};var D=E.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(e){return e.getAttribute("href")},type:function(e){return e.getAttribute("type")}},relative:{"+":function(j,i){var p=typeof i==="string",o=p&&!F.test(i),n=p&&!o;o&&(i=i.toLowerCase());for(var m=0,l=j.length,k;m<l;m++){if(k=j[m]){while((k=k.previousSibling)&&k.nodeType!==1){}j[m]=n||k&&k.nodeName.toLowerCase()===i?k||!1:k===i}}n&&E.filter(i,j,!0)},">":function(i,h){var n,m=typeof h==="string",l=0,k=i.length;if(m&&!F.test(h)){h=h.toLowerCase();for(;l<k;l++){n=i[l];if(n){var j=n.parentNode;i[l]=j.nodeName.toLowerCase()===h?j:!1}}}else{for(;l<k;l++){n=i[l],n&&(i[l]=m?n.parentNode:n.parentNode===h)}m&&E.filter(h,i,!0)}},"":function(h,e,l){var k,j=K++,i=c;typeof e==="string"&&!F.test(e)&&(e=e.toLowerCase(),k=e,i=d),i("parentNode",e,j,h,k,l)},"~":function(h,e,l){var k,j=K++,i=c;typeof e==="string"&&!F.test(e)&&(e=e.toLowerCase(),k=e,i=d),i("previousSibling",e,j,h,k,l)}},find:{ID:function(f,e,h){if(typeof e.getElementById!=="undefined"&&!h){var g=e.getElementById(f[1]);return g&&g.parentNode?[g]:[]}},NAME:function(h,g){if(typeof g.getElementsByName!=="undefined"){var l=[],k=g.getElementsByName(h[1]);for(var j=0,i=k.length;j<i;j++){k[j].getAttribute("name")===h[1]&&l.push(k[j])}return l.length===0?null:l}},TAG:function(f,e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName(f[1])}}},preFilter:{CLASS:function(j,i,p,o,n,m){j=" "+j[1].replace(G,"")+" ";if(m){return j}for(var l=0,k;(k=i[l])!=null;l++){k&&(n^(k.className&&(" "+k.className+" ").replace(/[\t\n\r]/g," ").indexOf(j)>=0)?p||o.push(k):p&&(i[l]=!1))}return !1},ID:function(e){return e[1].replace(G,"")},TAG:function(f,e){return f[1].replace(G,"").toLowerCase()},CHILD:function(f){if(f[1]==="nth"){f[2]||E.error(f[0]),f[2]=f[2].replace(/^\+|\s*/g,"");var e=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(f[2]==="even"&&"2n"||f[2]==="odd"&&"2n+1"||!/\D/.test(f[2])&&"0n+"+f[2]||f[2]);f[2]=e[1]+(e[2]||1)-0,f[3]=e[3]-0}else{f[2]&&E.error(f[0])}f[0]=K++;return f},ATTR:function(i,h,n,m,l,k){var j=i[1]=i[1].replace(G,"");!k&&D.attrMap[j]&&(i[1]=D.attrMap[j]),i[4]=(i[4]||i[5]||"").replace(G,""),i[2]==="~="&&(i[4]=" "+i[4]+" ");return i},PSEUDO:function(a,l,k,j,i){if(a[1]==="not"){if((L.exec(a[3])||"").length>1||/^\w/.test(a[3])){a[3]=E(a[3],null,null,l)}else{var h=E.filter(a[3],l,k,!0^i);k||j.push.apply(j,h);return !1}}else{if(D.match.POS.test(a[0])||D.match.CHILD.test(a[0])){return !0}}return a},POS:function(e){e.unshift(!0);return e}},filters:{enabled:function(e){return e.disabled===!1&&e.type!=="hidden"},disabled:function(e){return e.disabled===!0},checked:function(e){return e.checked===!0},selected:function(e){e.parentNode&&e.parentNode.selectedIndex;return e.selected===!0},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(f,e,g){return !!E(g[3],f).length},header:function(e){return/h\d/i.test(e.nodeName)},text:function(f){var e=f.getAttribute("type"),g=f.type;return"text"===g&&(e===g||e===null)},radio:function(e){return"radio"===e.type},checkbox:function(e){return"checkbox"===e.type},file:function(e){return"file"===e.type},password:function(e){return"password"===e.type},submit:function(e){return"submit"===e.type
25
+ },image:function(e){return"image"===e.type},reset:function(e){return"reset"===e.type},button:function(e){return"button"===e.type||e.nodeName.toLowerCase()==="button"},input:function(e){return/input|select|textarea|button/i.test(e.nodeName)}},setFilters:{first:function(f,e){return e===0},last:function(f,e,h,g){return e===g.length-1},even:function(f,e){return e%2===0},odd:function(f,e){return e%2===1},lt:function(f,e,g){return e<g[3]-0},gt:function(f,e,g){return e>g[3]-0},nth:function(f,e,g){return g[3]-0===e},eq:function(f,e,g){return g[3]-0===e}},filter:{PSEUDO:function(r,q,p,o){var n=q[1],m=D.filters[n];if(m){return m(r,p,q,o)}if(n==="contains"){return(r.textContent||r.innerText||E.getText([r])||"").indexOf(q[3])>=0}if(n==="not"){var l=q[3];for(var k=0,j=l.length;k<j;k++){if(l[k]===r){return !1}}return !0}E.error(n)},CHILD:function(t,s){var r=s[1],q=t;switch(r){case"only":case"first":while(q=q.previousSibling){if(q.nodeType===1){return !1}}if(r==="first"){return !0}q=t;case"last":while(q=q.nextSibling){if(q.nodeType===1){return !1}}return !0;case"nth":var p=s[2],o=s[3];if(p===1&&o===0){return !0}var n=s[0],m=t.parentNode;if(m&&(m.sizcache!==n||!t.nodeIndex)){var l=0;for(q=m.firstChild;q;q=q.nextSibling){q.nodeType===1&&(q.nodeIndex=++l)}m.sizcache=n}var k=t.nodeIndex-o;return p===0?k===0:k%p===0&&k/p>=0}},ID:function(f,e){return f.nodeType===1&&f.getAttribute("id")===e},TAG:function(f,e){return e==="*"&&f.nodeType===1||f.nodeName.toLowerCase()===e},CLASS:function(f,e){return(" "+(f.className||f.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(i,h){var n=h[1],m=D.attrHandle[n]?D.attrHandle[n](i):i[n]!=null?i[n]:i.getAttribute(n),l=m+"",k=h[2],j=h[4];return m==null?k==="!=":k==="="?l===j:k==="*="?l.indexOf(j)>=0:k==="~="?(" "+l+" ").indexOf(j)>=0:j?k==="!="?l!==j:k==="^="?l.indexOf(j)===0:k==="$="?l.substr(l.length-j.length)===j:k==="|="?l===j||l.substr(0,j.length+1)===j+"-":!1:l&&m!==!1},POS:function(h,g,l,k){var j=g[2],i=D.setFilters[j];if(i){return i(h,l,g,k)}}}},C=D.match.POS,B=function(f,e){return"\\"+(e-0+1)};for(var A in D.match){D.match[A]=new RegExp(D.match[A].source+/(?![^\[]*\])(?![^\(]*\))/.source),D.leftMatch[A]=new RegExp(/(^(?:.|\r|\n)*?)/.source+D.match[A].source.replace(/\\(\d+)/g,B))}var z=function(f,e){f=Array.prototype.slice.call(f,0);if(e){e.push.apply(e,f);return e}return f};try{Array.prototype.slice.call(aN.documentElement.childNodes,0)[0].nodeType}catch(y){z=function(g,f){var j=0,i=f||[];if(J.call(g)==="[object Array]"){Array.prototype.push.apply(i,g)}else{if(typeof g.length==="number"){for(var h=g.length;j<h;j++){i.push(g[j])}}else{for(;g[j];j++){i.push(g[j])}}}return i}}var x,w;aN.documentElement.compareDocumentPosition?x=function(f,e){if(f===e){I=!0;return 0}if(!f.compareDocumentPosition||!e.compareDocumentPosition){return f.compareDocumentPosition?-1:1}return f.compareDocumentPosition(e)&4?-1:1}:(x=function(t,s){var r,q,p=[],o=[],n=t.parentNode,m=s.parentNode,l=n;if(t===s){I=!0;return 0}if(n===m){return w(t,s)}if(!n){return -1}if(!m){return 1}while(l){p.unshift(l),l=l.parentNode}l=m;while(l){o.unshift(l),l=l.parentNode}r=p.length,q=o.length;for(var g=0;g<r&&g<q;g++){if(p[g]!==o[g]){return w(p[g],o[g])}}return g===r?w(t,o[g],-1):w(p[g],s,1)},w=function(f,e,h){if(f===e){return h}var g=f.nextSibling;while(g){if(g===e){return -1}g=g.nextSibling}return 1}),E.getText=function(f){var e="",h;for(var g=0;f[g];g++){h=f[g],h.nodeType===3||h.nodeType===4?e+=h.nodeValue:h.nodeType!==8&&(e+=E.getText(h.childNodes))}return e},function(){var f=aN.createElement("div"),h="script"+(new Date).getTime(),g=aN.documentElement;f.innerHTML="<a name='"+h+"'/>",g.insertBefore(f,g.firstChild),aN.getElementById(h)&&(D.find.ID=function(i,l,k){if(typeof l.getElementById!=="undefined"&&!k){var j=l.getElementById(i[1]);return j?j.id===i[1]||typeof j.getAttributeNode!=="undefined"&&j.getAttributeNode("id").nodeValue===i[1]?[j]:aP:[]}},D.filter.ID=function(i,e){var j=typeof i.getAttributeNode!=="undefined"&&i.getAttributeNode("id");return i.nodeType===1&&j&&j.nodeValue===e}),g.removeChild(f),g=f=null}(),function(){var e=aN.createElement("div");e.appendChild(aN.createComment("")),e.getElementsByTagName("*").length>0&&(D.find.TAG=function(g,f){var j=f.getElementsByTagName(g[1]);if(g[1]==="*"){var i=[];for(var h=0;j[h];h++){j[h].nodeType===1&&i.push(j[h])}j=i}return j}),e.innerHTML="<a href='#'></a>",e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"&&(D.attrHandle.href=function(f){return f.getAttribute("href",2)}),e=null}(),aN.querySelectorAll&&function(){var g=E,f=aN.createElement("div"),i="__sizzle__";f.innerHTML="<p class='TEST'></p>";if(!f.querySelectorAll||f.querySelectorAll(".TEST").length!==0){E=function(Q,P,O,N){P=P||aN;if(!N&&!E.isXML(P)){var M=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(Q);if(M&&(P.nodeType===1||P.nodeType===9)){if(M[1]){return z(P.getElementsByTagName(Q),O)}if(M[2]&&D.find.CLASS&&P.getElementsByClassName){return z(P.getElementsByClassName(M[2]),O)
26
+ }}if(P.nodeType===9){if(Q==="body"&&P.body){return z([P.body],O)}if(M&&M[3]){var v=P.getElementById(M[3]);if(!v||!v.parentNode){return z([],O)}if(v.id===M[3]){return z([v],O)}}try{return z(P.querySelectorAll(Q),O)}catch(u){}}else{if(P.nodeType===1&&P.nodeName.toLowerCase()!=="object"){var t=P,p=P.getAttribute("id"),l=p||i,k=P.parentNode,a=/^\s*[+~]/.test(Q);p?l=l.replace(/'/g,"\\$&"):P.setAttribute("id",l),a&&k&&(P=P.parentNode);try{if(!a||k){return z(P.querySelectorAll("[id='"+l+"'] "+Q),O)}}catch(R){}finally{p||t.removeAttribute("id")}}}}return g(Q,P,O,N)};for(var h in g){E[h]=g[h]}f=null}}(),function(){var h=aN.documentElement,g=h.matchesSelector||h.mozMatchesSelector||h.webkitMatchesSelector||h.msMatchesSelector;if(g){var k=!g.call(aN.createElement("div"),"div"),j=!1;try{g.call(aN.documentElement,"[test!='']:sizzle")}catch(i){j=!0}E.matchesSelector=function(e,n){n=n.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!E.isXML(e)){try{if(j||!D.match.PSEUDO.test(n)&&!/!=/.test(n)){var m=g.call(e,n);if(m||!k||e.document&&e.document.nodeType!==11){return m}}}catch(l){}}return E(n,null,null,[e]).length>0}}}(),function(){var e=aN.createElement("div");e.innerHTML="<div class='test e'></div><div class='test'></div>";if(e.getElementsByClassName&&e.getElementsByClassName("e").length!==0){e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}D.order.splice(1,0,"CLASS"),D.find.CLASS=function(g,f,h){if(typeof f.getElementsByClassName!=="undefined"&&!h){return f.getElementsByClassName(g[1])}},e=null}}(),aN.documentElement.contains?E.contains=function(f,e){return f!==e&&(f.contains?f.contains(e):!0)}:aN.documentElement.compareDocumentPosition?E.contains=function(f,e){return !!(f.compareDocumentPosition(e)&16)}:E.contains=function(){return !1},E.isXML=function(f){var e=(f?f.ownerDocument||f:0).documentElement;return e?e.nodeName!=="HTML":!1};var b=function(j,i){var p,o=[],n="",m=i.nodeType?[i]:i;while(p=D.match.PSEUDO.exec(j)){n+=p[0],j=j.replace(D.match.PSEUDO,"")}j=D.relative[j]?j+"*":j;for(var l=0,k=m.length;l<k;l++){E(j,m[l],o)}return E.filter(n,o)};aL.find=E,aL.expr=E.selectors,aL.expr[":"]=aL.expr.filters,aL.unique=E.uniqueSort,aL.text=E.getText,aL.isXMLDoc=E.isXML,aL.contains=E.contains}();var cs=/Until$/,cr=/^(?:parents|prevUntil|prevAll)/,cq=/,/,cp=/^.[^:#\[\.,]*$/,co=Array.prototype.slice,cm=aL.expr.match.POS,cl={children:!0,contents:!0,next:!0,prev:!0};aL.fn.extend({find:function(i){var d=this.pushStack("","find",i),n=0;for(var m=0,l=this.length;m<l;m++){n=d.length,aL.find(i,this[m],d);if(m>0){for(var k=n;k<d.length;k++){for(var j=0;j<n;j++){if(d[j]===d[k]){d.splice(k--,1);break}}}}}return d},has:function(d){var c=aL(d);return this.filter(function(){for(var b=0,e=c.length;b<e;b++){if(aL.contains(this,c[b])){return !0}}})},not:function(b){return this.pushStack(b8(this,b,!1),"not",b)},filter:function(b){return this.pushStack(b8(this,b,!0),"filter",b)},is:function(b){return !!b&&aL.filter(b,this).length>0},closest:function(v,u){var t=[],s,r,q=this[0];if(aL.isArray(v)){var p,o,n={},m=1;if(q&&v.length){for(s=0,r=v.length;s<r;s++){o=v[s],n[o]||(n[o]=aL.expr.match.POS.test(o)?aL(o,u||this.context):o)}while(q&&q.ownerDocument&&q!==u){for(o in n){p=n[o],(p.jquery?p.index(q)>-1:aL(q).is(p))&&t.push({selector:o,elem:q,level:m})}q=q.parentNode,m++}}return t}var d=cm.test(v)?aL(v,u||this.context):null;for(s=0,r=this.length;s<r;s++){q=this[s];while(q){if(d?d.index(q)>-1:aL.find.matchesSelector(q,v)){t.push(q);break}q=q.parentNode;if(!q||!q.ownerDocument||q===u){break}}}t=t.length>1?aL.unique(t):t;return this.pushStack(t,"closest",v)},index:function(b){if(!b||typeof b==="string"){return aL.inArray(this[0],b?aL(b):this.parent().children())}return aL.inArray(b.jquery?b[0]:b,this)},add:function(f,d){var h=typeof f==="string"?aL(f,d):aL.makeArray(f),g=aL.merge(this.get(),h);return this.pushStack(cj(h[0])||cj(g[0])?g:aL.unique(g))},andSelf:function(){return this.add(this.prevObject)}}),aL.each({parent:function(d){var c=d.parentNode;return c&&c.nodeType!==11?c:null},parents:function(b){return aL.dir(b,"parentNode")},parentsUntil:function(e,d,f){return aL.dir(e,"parentNode",f)},next:function(b){return aL.nth(b,2,"nextSibling")},prev:function(b){return aL.nth(b,2,"previousSibling")},nextAll:function(b){return aL.dir(b,"nextSibling")},prevAll:function(b){return aL.dir(b,"previousSibling")},nextUntil:function(e,d,f){return aL.dir(e,"nextSibling",f)},prevUntil:function(e,d,f){return aL.dir(e,"previousSibling",f)},siblings:function(b){return aL.sibling(b.parentNode.firstChild,b)},children:function(b){return aL.sibling(b.firstChild)},contents:function(b){return aL.nodeName(b,"iframe")?b.contentDocument||b.contentWindow.document:aL.makeArray(b.childNodes)}},function(d,c){aL.fn[d]=function(i,h){var b=aL.map(this,c,i),a=co.call(arguments);cs.test(d)||(h=i),h&&typeof h==="string"&&(b=aL.filter(h,b)),b=this.length>1&&!cl[d]?aL.unique(b):b,(this.length>1||cq.test(h))&&cr.test(d)&&(b=b.reverse());return this.pushStack(b,d,a.join(","))
27
+ }}),aL.extend({filter:function(e,d,f){f&&(e=":not("+e+")");return d.length===1?aL.find.matchesSelector(d[0],e)?[d[0]]:[]:aL.find.matches(e,d)},dir:function(b,j,i){var h=[],d=b[j];while(d&&d.nodeType!==9&&(i===aP||d.nodeType!==1||!aL(d).is(i))){d.nodeType===1&&h.push(d),d=d[j]}return h},nth:function(g,f,j,i){f=f||1;var h=0;for(;g;g=g[j]){if(g.nodeType===1&&++h===f){break}}return g},sibling:function(e,d){var f=[];for(;e;e=e.nextSibling){e.nodeType===1&&e!==d&&f.push(e)}return f}});var b6=/ jQuery\d+="(?:\d+|null)"/g,b4=/^\s+/,b2=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,b0=/<([\w:]+)/,a8=/<tbody/i,a6=/<|&#?\w+;/,a4=/<(?:script|object|embed|option|style)/i,a2=/checked\s*(?:[^=]|=\s*.checked.)/i,a0={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,"",""]};a0.optgroup=a0.option,a0.tbody=a0.tfoot=a0.colgroup=a0.caption=a0.thead,a0.th=a0.td,aL.support.htmlSerialize||(a0._default=[1,"div<div>","</div>"]),aL.fn.extend({text:function(b){if(aL.isFunction(b)){return this.each(function(a){var d=aL(this);d.text(b.call(this,a,d.text()))})}if(typeof b!=="object"&&b!==aP){return this.empty().append((this[0]&&this[0].ownerDocument||aN).createTextNode(b))}return aL.text(this)},wrapAll:function(d){if(aL.isFunction(d)){return this.each(function(a){aL(this).wrapAll(d.call(this,a))})}if(this[0]){var c=aL(d,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&c.insertBefore(this[0]),c.map(function(){var b=this;while(b.firstChild&&b.firstChild.nodeType===1){b=b.firstChild}return b}).append(this)}return this},wrapInner:function(b){if(aL.isFunction(b)){return this.each(function(a){aL(this).wrapInner(b.call(this,a))})}return this.each(function(){var a=aL(this),d=a.contents();d.length?d.wrapAll(b):a.append(b)})},wrap:function(b){return this.each(function(){aL(this).wrapAll(b)})},unwrap:function(){return this.parent().each(function(){aL.nodeName(this,"body")||aL(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(b){this.nodeType===1&&this.appendChild(b)})},prepend:function(){return this.domManip(arguments,!0,function(b){this.nodeType===1&&this.insertBefore(b,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,!1,function(c){this.parentNode.insertBefore(c,this)})}if(arguments.length){var b=aL(arguments[0]);b.push.apply(b,this.toArray());return this.pushStack(b,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,!1,function(c){this.parentNode.insertBefore(c,this.nextSibling)})}if(arguments.length){var b=this.pushStack(this,"after",arguments);b.push.apply(b,aL(arguments[0]).toArray());return b}},remove:function(f,d){for(var h=0,g;(g=this[h])!=null;h++){if(!f||aL.filter(f,[g]).length){!d&&g.nodeType===1&&(aL.cleanData(g.getElementsByTagName("*")),aL.cleanData([g])),g.parentNode&&g.parentNode.removeChild(g)}}return this},empty:function(){for(var d=0,c;(c=this[d])!=null;d++){c.nodeType===1&&aL.cleanData(c.getElementsByTagName("*"));while(c.firstChild){c.removeChild(c.firstChild)}}return this},clone:function(d,c){d=d==null?!1:d,c=c==null?d:c;return this.map(function(){return aL.clone(this,d,c)})},html:function(b){if(b===aP){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(b6,""):null}if(typeof b!=="string"||a4.test(b)||!aL.support.leadingWhitespace&&b4.test(b)||a0[(b0.exec(b)||["",""])[1].toLowerCase()]){aL.isFunction(b)?this.each(function(a){var e=aL(this);e.html(b.call(this,a,e.html()))}):this.empty().append(b)}else{b=b.replace(b2,"<$1></$2>");try{for(var h=0,g=this.length;h<g;h++){this[h].nodeType===1&&(aL.cleanData(this[h].getElementsByTagName("*")),this[h].innerHTML=b)}}catch(d){this.empty().append(b)}}return this},replaceWith:function(b){if(this[0]&&this[0].parentNode){if(aL.isFunction(b)){return this.each(function(a){var f=aL(this),d=f.html();f.replaceWith(b.call(this,a,d))})}typeof b!=="string"&&(b=aL(b).detach());return this.each(function(){var a=this.nextSibling,d=this.parentNode;aL(this).remove(),a?aL(a).before(b):aL(d).append(b)})}return this.length?this.pushStack(aL(aL.isFunction(b)?b():b),"replaceWith",b):this},detach:function(b){return this.remove(b,!0)},domManip:function(x,w,v){var u,t,s,r,q=x[0],p=[];if(!aL.support.checkClone&&arguments.length===3&&typeof q==="string"&&a2.test(q)){return this.each(function(){aL(this).domManip(x,w,v,!0)})}if(aL.isFunction(q)){return this.each(function(c){var a=aL(this);x[0]=q.call(this,c,w?a.html():aP),a.domManip(x,w,v)})}if(this[0]){r=q&&q.parentNode,aL.support.parentNode&&r&&r.nodeType===11&&r.childNodes.length===this.length?u={fragment:r}:u=aL.buildFragment(x,this,p),s=u.fragment,s.childNodes.length===1?t=s=s.firstChild:t=s.firstChild;
28
+ if(t){w=w&&aL.nodeName(t,"tr");for(var o=0,d=this.length,b=d-1;o<d;o++){v.call(w?c1(this[o],t):this[o],u.cacheable||d>1&&o<b?aL.clone(s,!0,!0):s)}}p.length&&aL.each(p,b7)}return this}}),aL.buildFragment=function(d,c,n){var m,l,k,j=c&&c[0]?c[0].ownerDocument||c[0]:aN;d.length===1&&typeof d[0]==="string"&&d[0].length<512&&j===aN&&d[0].charAt(0)==="<"&&!a4.test(d[0])&&(aL.support.checkClone||!a2.test(d[0]))&&(l=!0,k=aL.fragments[d[0]],k&&(k!==1&&(m=k))),m||(m=j.createDocumentFragment(),aL.clean(d,j,m,n)),l&&(aL.fragments[d[0]]=k?m:1);return{fragment:m,cacheable:l}},aL.fragments={},aL.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(d,c){aL.fn[d]=function(o){var n=[],m=aL(o),l=this.length===1&&this[0].parentNode;if(l&&l.nodeType===11&&l.childNodes.length===1&&m.length===1){m[c](this[0]);return this}for(var k=0,b=m.length;k<b;k++){var a=(k>0?this.clone(!0):this).get();aL(m[k])[c](a),n=n.concat(a)}return this.pushStack(n,d,m.selector)}}),aL.extend({clone:function(i,d,n){var m=i.cloneNode(!0),l,k,j;if((!aL.support.noCloneEvent||!aL.support.noCloneChecked)&&(i.nodeType===1||i.nodeType===11)&&!aL.isXMLDoc(i)){ck(i,m),l=b9(i),k=b9(m);for(j=0;l[j];++j){ck(l[j],k[j])}}if(d){aT(i,m);if(n){l=b9(i),k=b9(m);for(j=0;l[j];++j){aT(l[j],k[j])}}}return m},clean:function(B,A,z,y){A=A||aN,typeof A.createElement==="undefined"&&(A=A.ownerDocument||A[0]&&A[0].ownerDocument||aN);var x=[];for(var w=0,v;(v=B[w])!=null;w++){typeof v==="number"&&(v+="");if(!v){continue}if(typeof v!=="string"||a6.test(v)){if(typeof v==="string"){v=v.replace(b2,"<$1></$2>");var u=(b0.exec(v)||["",""])[1].toLowerCase(),t=a0[u]||a0._default,s=t[0],r=A.createElement("div");r.innerHTML=t[1]+v+t[2];while(s--){r=r.lastChild}if(!aL.support.tbody){var q=a8.test(v),d=u==="table"&&!q?r.firstChild&&r.firstChild.childNodes:t[1]==="<table>"&&!q?r.childNodes:[];for(var c=d.length-1;c>=0;--c){aL.nodeName(d[c],"tbody")&&!d[c].childNodes.length&&d[c].parentNode.removeChild(d[c])}}!aL.support.leadingWhitespace&&b4.test(v)&&r.insertBefore(A.createTextNode(b4.exec(v)[0]),r.firstChild),v=r.childNodes}}else{v=A.createTextNode(v)}v.nodeType?x.push(v):x=aL.merge(x,v)}if(z){for(w=0;x[w];w++){!y||!aL.nodeName(x[w],"script")||x[w].type&&x[w].type.toLowerCase()!=="text/javascript"?(x[w].nodeType===1&&x.splice.apply(x,[w+1,0].concat(aL.makeArray(x[w].getElementsByTagName("script")))),z.appendChild(x[w])):y.push(x[w].parentNode?x[w].parentNode.removeChild(x[w]):x[w])}}return x},cleanData:function(t){var s,r,q=aL.cache,p=aL.expando,o=aL.event.special,n=aL.support.deleteExpando;for(var m=0,l;(l=t[m])!=null;m++){if(l.nodeName&&aL.noData[l.nodeName.toLowerCase()]){continue}r=l[aL.expando];if(r){s=q[r]&&q[r][p];if(s&&s.events){for(var d in s.events){o[d]?aL.event.remove(l,d):aL.removeEvent(l,d,s.handle)}s.handle&&(s.handle.elem=null)}n?delete l[aL.expando]:l.removeAttribute&&l.removeAttribute(aL.expando),delete q[r]}}}});var b5=/alpha\([^)]*\)/i,b3=/opacity=([^)]*)/,b1=/-([a-z])/ig,a9=/([A-Z]|^ms)/g,a7=/^-?\d+(?:px)?$/i,a5=/^-?\d/,a3={position:"absolute",visibility:"hidden",display:"block"},a1=["Left","Right"],aZ=["Top","Bottom"],aY,aX,aW,aV=function(d,c){return c.toUpperCase()};aL.fn.css=function(b,d){if(arguments.length===2&&d===aP){return this}return aL.access(this,b,d,!0,function(f,h,g){return g!==aP?aL.style(f,h,g):aL.css(f,h)})},aL.extend({cssHooks:{opacity:{get:function(e,d){if(d){var f=aY(e,"opacity","opacity");return f===""?"1":f}return e.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0},cssProps:{"float":aL.support.cssFloat?"cssFloat":"styleFloat"},style:function(r,q,p,o){if(r&&r.nodeType!==3&&r.nodeType!==8&&r.style){var n,m=aL.camelCase(q),l=r.style,d=aL.cssHooks[m];q=aL.cssProps[m]||m;if(p===aP){if(d&&"get" in d&&(n=d.get(r,!1,o))!==aP){return n}return l[q]}if(typeof p==="number"&&isNaN(p)||p==null){return}typeof p==="number"&&!aL.cssNumber[m]&&(p+="px");if(!d||!("set" in d)||(p=d.set(r,p))!==aP){try{l[q]=p}catch(b){}}}},css:function(b,l,k){var j,i=aL.camelCase(l),d=aL.cssHooks[i];l=aL.cssProps[i]||i;if(d&&"get" in d&&(j=d.get(b,!0,k))!==aP){return j}if(aY){return aY(b,l,i)}},swap:function(g,f,j){var i={};for(var h in f){i[h]=g.style[h],g.style[h]=f[h]}j.call(g);for(h in f){g.style[h]=i[h]}},camelCase:function(b){return b.replace(b1,aV)}}),aL.curCSS=aL.css,aL.each(["height","width"],function(d,c){aL.cssHooks[c]={get:function(b,i,h){var g;if(i){b.offsetWidth!==0?g=aU(b,c,h):aL.swap(b,a3,function(){g=aU(b,c,h)});if(g<=0){g=aY(b,c,c),g==="0px"&&aW&&(g=aW(b,c,c));if(g!=null){return g===""||g==="auto"?"0px":g}}if(g<0||g==null){g=b.style[c];return g===""||g==="auto"?"0px":g}return typeof g==="string"?g:g+"px"}},set:function(f,e){if(!a7.test(e)){return e}e=parseFloat(e);if(e>=0){return e+"px"}}}}),aL.support.opacity||(aL.cssHooks.opacity={get:function(d,c){return b3.test((c&&d.currentStyle?d.currentStyle.filter:d.style.filter)||"")?parseFloat(RegExp.$1)/100+"":c?"1":""},set:function(g,d){var j=g.style;
29
+ j.zoom=1;var i=aL.isNaN(d)?"":"alpha(opacity="+d*100+")",h=j.filter||"";j.filter=b5.test(h)?h.replace(b5,i):j.filter+" "+i}}),aL(function(){aL.support.reliableMarginRight||(aL.cssHooks.marginRight={get:function(e,d){var f;aL.swap(e,{display:"inline-block"},function(){d?f=aY(e,"margin-right","marginRight"):f=e.style.marginRight});return f}})}),aN.defaultView&&aN.defaultView.getComputedStyle&&(aX=function(b,l,k){var j,i,d;k=k.replace(a9,"-$1").toLowerCase();if(!(i=b.ownerDocument.defaultView)){return aP}if(d=i.getComputedStyle(b,null)){j=d.getPropertyValue(k),j===""&&!aL.contains(b.ownerDocument.documentElement,b)&&(j=aL.style(b,k))}return j}),aN.documentElement.currentStyle&&(aW=function(h,g){var l,k=h.currentStyle&&h.currentStyle[g],j=h.runtimeStyle&&h.runtimeStyle[g],i=h.style;!a7.test(k)&&a5.test(k)&&(l=i.left,j&&(h.runtimeStyle.left=h.currentStyle.left),i.left=g==="fontSize"?"1em":k||0,k=i.pixelLeft+"px",i.left=l,j&&(h.runtimeStyle.left=j));return k===""?"auto":k}),aY=aX||aW,aL.expr&&aL.expr.filters&&(aL.expr.filters.hidden=function(e){var d=e.offsetWidth,f=e.offsetHeight;return d===0&&f===0||!aL.support.reliableHiddenOffsets&&(e.style.display||aL.css(e,"display"))==="none"},aL.expr.filters.visible=function(b){return !aL.expr.filters.hidden(b)});var aS=/%20/g,aQ=/\[\]$/,aO=/\r?\n/g,aM=/#.*$/,aK=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,aI=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,aG=/^(?:about|app|app\-storage|.+\-extension|file|widget):$/,aE=/^(?:GET|HEAD)$/,aC=/^\/\//,c0=/\?/,cZ=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,cY=/^(?:select|textarea)/i,cX=/\s+/,cW=/([?&])_=[^&]*/,cV=/(^|\-)([a-z])/g,cU=function(e,d,f){return d+f.toUpperCase()},cT=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,cS=aL.fn.load,cR={},cQ={},cP,cO;try{cP=aN.location.href}catch(cN){cP=aN.createElement("a"),cP.href="",cP=cP.href}cO=cT.exec(cP.toLowerCase())||[],aL.fn.extend({load:function(b,n,m){if(typeof b!=="string"&&cS){return cS.apply(this,arguments)}if(!this.length){return this}var l=b.indexOf(" ");if(l>=0){var k=b.slice(l,b.length);b=b.slice(0,l)}var j="GET";n&&(aL.isFunction(n)?(m=n,n=aP):typeof n==="object"&&(n=aL.param(n,aL.ajaxSettings.traditional),j="POST"));var d=this;aL.ajax({url:b,type:j,dataType:"html",data:n,complete:function(f,e,g){g=f.responseText,f.isResolved()&&(f.done(function(c){g=c}),d.html(k?aL("<div>").append(g.replace(cZ,"")).find(k):g)),m&&d.each(m,[g,e,f])}});return this},serialize:function(){return aL.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?aL.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||cY.test(this.nodeName)||aI.test(this.type))}).map(function(e,d){var f=aL(this).val();return f==null?null:aL.isArray(f)?aL.map(f,function(b,g){return{name:d.name,value:b.replace(aO,"\r\n")}}):{name:d.name,value:f.replace(aO,"\r\n")}}).get()}}),aL.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(d,c){aL.fn[c]=function(b){return this.bind(c,b)}}),aL.each(["get","post"],function(b,d){aL[d]=function(c,j,i,h){aL.isFunction(j)&&(h=h||i,i=j,j=aP);return aL.ajax({type:d,url:c,data:j,success:i,dataType:h})}}),aL.extend({getScript:function(b,d){return aL.get(b,aP,d,"script")},getJSON:function(e,d,f){return aL.get(e,d,f,"json")},ajaxSetup:function(e,d){d?aL.extend(!0,e,aL.ajaxSettings,d):(d=e,e=aL.extend(!0,aL.ajaxSettings,d));for(var f in {context:1,url:1}){f in d?e[f]=d[f]:f in aL.ajaxSettings&&(e[f]=aL.ajaxSettings[f])}return e},ajaxSettings:{url:cP,isLocal:aG.test(cO[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":aR.String,"text html":!0,"text json":aL.parseJSON,"text xml":aL.parseXML}},ajaxPrefilter:cM(cR),ajaxTransport:cM(cQ),ajax:function(T,S){function A(m,i,g,f){if(E!==2){E=2,G&&clearTimeout(G),H=aP,J=f||"",B.readyState=m?4:0;var e,r,p,o=g?cJ(R,B,g):aP,k,j;if(m>=200&&m<300||m===304){if(R.ifModified){if(k=B.getResponseHeader("Last-Modified")){aL.lastModified[L]=k}if(j=B.getResponseHeader("Etag")){aL.etag[L]=j}}if(m===304){i="notmodified",e=!0}else{try{r=cI(R,o),i="success",e=!0}catch(h){i="parsererror",p=h}}}else{p=i;if(!i||m){i="error",m<0&&(m=0)}}B.status=m,B.statusText=i,e?O.resolveWith(Q,[r,i,B]):O.rejectWith(Q,[B,i,p]),B.statusCode(M),M=aP,D&&P.trigger("ajax"+(e?"Success":"Error"),[B,R,e?r:p]),N.resolveWith(Q,[B,i]),D&&(P.trigger("ajaxComplete",[B,R]),--aL.active||aL.event.trigger("ajaxStop"))}}typeof T==="object"&&(S=T,T=aP),S=S||{};var R=aL.ajaxSetup({},S),Q=R.context||R,P=Q!==R&&(Q.nodeType||Q instanceof aL)?aL(Q):aL.event,O=aL.Deferred(),N=aL._Deferred(),M=R.statusCode||{},L,K={},J,I,H,G,F,E=0,D,C,B={readyState:0,setRequestHeader:function(e,c){E||(K[e.toLowerCase().replace(cV,cU)]=c);
30
+ return this},getAllResponseHeaders:function(){return E===2?J:null},getResponseHeader:function(e){var f;if(E===2){if(!I){I={};while(f=aK.exec(J)){I[f[1].toLowerCase()]=f[2]}}f=I[e.toLowerCase()]}return f===aP?null:f},overrideMimeType:function(c){E||(R.mimeType=c);return this},abort:function(c){c=c||"abort",H&&H.abort(c),A(0,c);return this}};O.promise(B),B.success=B.done,B.error=B.fail,B.complete=N.done,B.statusCode=function(e){if(e){var c;if(E<2){for(c in e){M[c]=[M[c],e[c]]}}else{c=e[B.status],B.then(c,c)}}return this},R.url=((T||R.url)+"").replace(aM,"").replace(aC,cO[1]+"//"),R.dataTypes=aL.trim(R.dataType||"*").toLowerCase().split(cX),R.crossDomain==null&&(F=cT.exec(R.url.toLowerCase()),R.crossDomain=F&&(F[1]!=cO[1]||F[2]!=cO[2]||(F[3]||(F[1]==="http:"?80:443))!=(cO[3]||(cO[1]==="http:"?80:443)))),R.data&&R.processData&&typeof R.data!=="string"&&(R.data=aL.param(R.data,R.traditional)),cL(cR,R,S,B);if(E===2){return !1}D=R.global,R.type=R.type.toUpperCase(),R.hasContent=!aE.test(R.type),D&&aL.active++===0&&aL.event.trigger("ajaxStart");if(!R.hasContent){R.data&&(R.url+=(c0.test(R.url)?"&":"?")+R.data),L=R.url;if(R.cache===!1){var z=aL.now(),d=R.url.replace(cW,"$1_="+z);R.url=d+(d===R.url?(c0.test(R.url)?"&":"?")+"_="+z:"")}}if(R.data&&R.hasContent&&R.contentType!==!1||S.contentType){K["Content-Type"]=R.contentType}R.ifModified&&(L=L||R.url,aL.lastModified[L]&&(K["If-Modified-Since"]=aL.lastModified[L]),aL.etag[L]&&(K["If-None-Match"]=aL.etag[L])),K.Accept=R.dataTypes[0]&&R.accepts[R.dataTypes[0]]?R.accepts[R.dataTypes[0]]+(R.dataTypes[0]!=="*"?", */*; q=0.01":""):R.accepts["*"];for(C in R.headers){B.setRequestHeader(C,R.headers[C])}if(R.beforeSend&&(R.beforeSend.call(Q,B,R)===!1||E===2)){B.abort();return !1}for(C in {success:1,error:1,complete:1}){B[C](R[C])}H=cL(cQ,R,S,B);if(H){B.readyState=1,D&&P.trigger("ajaxSend",[B,R]),R.async&&R.timeout>0&&(G=setTimeout(function(){B.abort("timeout")},R.timeout));try{E=1,H.send(K,A)}catch(b){status<2?A(-1,b):aL.error(b)}}else{A(-1,"No Transport")}return B},param:function(b,j){var i=[],h=function(e,c){c=aL.isFunction(c)?c():c,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(c)};j===aP&&(j=aL.ajaxSettings.traditional);if(aL.isArray(b)||b.jquery&&!aL.isPlainObject(b)){aL.each(b,function(){h(this.name,this.value)})}else{for(var d in b){cK(d,b[d],j,h)}}return i.join("&").replace(aS,"+")}}),aL.extend({active:0,lastModified:{},etag:{}});var cF=aL.now(),cD=/(\=)\?(&|$)|\?\?/i;aL.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return aL.expando+"_"+cF++}}),aL.ajaxPrefilter("json jsonp",function(v,u,t){var s=typeof v.data==="string";if(v.dataTypes[0]==="jsonp"||u.jsonpCallback||u.jsonp!=null||v.jsonp!==!1&&(cD.test(v.url)||s&&cD.test(v.data))){var r,q=v.jsonpCallback=aL.isFunction(v.jsonpCallback)?v.jsonpCallback():v.jsonpCallback,p=aR[q],o=v.url,n=v.data,d="$1"+q+"$2",a=function(){aR[q]=p,r&&aL.isFunction(p)&&aR[q](r[0])};v.jsonp!==!1&&(o=o.replace(cD,d),v.url===o&&(s&&(n=n.replace(cD,d)),v.data===n&&(o+=(/\?/.test(o)?"&":"?")+v.jsonp+"="+q))),v.url=o,v.data=n,aR[q]=function(b){r=[b]},t.then(a,a),v.converters["script json"]=function(){r||aL.error(q+" was not called");return r[0]},v.dataTypes[0]="json";return"script"}}),aL.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(b){aL.globalEval(b);return b}}}),aL.ajaxPrefilter("script",function(b){b.cache===aP&&(b.cache=!1),b.crossDomain&&(b.type="GET",b.global=!1)}),aL.ajaxTransport("script",function(b){if(b.crossDomain){var f,c=aN.head||aN.getElementsByTagName("head")[0]||aN.documentElement;return{send:function(d,a){f=aN.createElement("script"),f.async="async",b.scriptCharset&&(f.charset=b.scriptCharset),f.src=b.url,f.onload=f.onreadystatechange=function(e,g){if(!f.readyState||/loaded|complete/.test(f.readyState)){f.onload=f.onreadystatechange=null,c&&f.parentNode&&c.removeChild(f),f=aP,g||a(200,"success")}},c.insertBefore(f,c.firstChild)},abort:function(){f&&f.onload(0,1)}}}});var cB=aL.now(),cz,cx;aL.ajaxSettings.xhr=aR.ActiveXObject?function(){return !this.isLocal&&cu()||c2()}:cu,cx=aL.ajaxSettings.xhr(),aL.support.ajax=!!cx,aL.support.cors=cx&&"withCredentials" in cx,cx=aP,aL.support.ajax&&aL.ajaxTransport(function(b){if(!b.crossDomain||aL.support.cors){var d;return{send:function(n,m){var l=b.xhr(),k,c;b.username?l.open(b.type,b.url,b.async,b.username,b.password):l.open(b.type,b.url,b.async);if(b.xhrFields){for(c in b.xhrFields){l[c]=b.xhrFields[c]}}b.mimeType&&l.overrideMimeType&&l.overrideMimeType(b.mimeType),!b.crossDomain&&!n["X-Requested-With"]&&(n["X-Requested-With"]="XMLHttpRequest");try{for(c in n){l.setRequestHeader(c,n[c])}}catch(a){}l.send(b.hasContent&&b.data||null),d=function(v,u){var t,s,r,q,h;try{if(d&&(u||l.readyState===4)){d=aP,k&&(l.onreadystatechange=aL.noop,delete cz[k]);if(u){l.readyState!==4&&l.abort()}else{t=l.status,r=l.getAllResponseHeaders(),q={},h=l.responseXML,h&&h.documentElement&&(q.xml=h),q.text=l.responseText;
31
+ try{s=l.statusText}catch(g){s=""}t||!b.isLocal||b.crossDomain?t===1223&&(t=204):t=q.text?200:404}}}catch(f){u||m(-1,f)}q&&m(t,s,q,r)},b.async&&l.readyState!==4?(cz||(cz={},cw()),k=cB++,l.onreadystatechange=cz[k]=d):d()},abort:function(){d&&d(0,1)}}}});var cn={},av=/^(?:toggle|show|hide)$/,at=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,aq,ao=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];aL.fn.extend({show:function(i,d,n){var m,l;if(i||i===0){return this.animate(an("show",3),i,d,n)}for(var k=0,j=this.length;k<j;k++){m=this[k],l=m.style.display,!aL._data(m,"olddisplay")&&l==="none"&&(l=m.style.display=""),l===""&&aL.css(m,"display")==="none"&&aL._data(m,"olddisplay",al(m.nodeName))}for(k=0;k<j;k++){m=this[k],l=m.style.display;if(l===""||l==="none"){m.style.display=aL._data(m,"olddisplay")||""}}return this},hide:function(h,d,l){if(h||h===0){return this.animate(an("hide",3),h,d,l)}for(var k=0,j=this.length;k<j;k++){var i=aL.css(this[k],"display");i!=="none"&&!aL._data(this[k],"olddisplay")&&aL._data(this[k],"olddisplay",i)}for(k=0;k<j;k++){this[k].style.display="none"}return this},_toggle:aL.fn.toggle,toggle:function(f,d,h){var g=typeof f==="boolean";aL.isFunction(f)&&aL.isFunction(d)?this._toggle.apply(this,arguments):f==null||g?this.each(function(){var a=g?f:aL(this).is(":hidden");aL(this)[a?"show":"hide"]()}):this.animate(an("toggle",3),f,d,h);return this},fadeTo:function(f,e,h,g){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:e},f,h,g)},animate:function(g,d,j,i){var h=aL.speed(d,j,i);if(aL.isEmptyObject(g)){return this.each(h.complete)}return this[h.queue===!1?"each":"queue"](function(){var a=aL.extend({},h),o,n=this.nodeType===1,m=n&&aL(this).is(":hidden"),l=this;for(o in g){var k=aL.camelCase(o);o!==k&&(g[k]=g[o],delete g[o],o=k);if(g[o]==="hide"&&m||g[o]==="show"&&!m){return a.complete.call(this)}if(n&&(o==="height"||o==="width")){a.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(aL.css(this,"display")==="inline"&&aL.css(this,"float")==="none"){if(aL.support.inlineBlockNeedsLayout){var f=al(this.nodeName);f==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1)}else{this.style.display="inline-block"}}}aL.isArray(g[o])&&((a.specialEasing=a.specialEasing||{})[o]=g[o][1],g[o]=g[o][0])}a.overflow!=null&&(this.style.overflow="hidden"),a.curAnim=aL.extend({},g),aL.each(g,function(u,t){var s=new aL.fx(l,a,u);if(av.test(t)){s[t==="toggle"?m?"show":"hide":t](g)}else{var r=at.exec(t),q=s.cur();if(r){var p=parseFloat(r[2]),b=r[3]||(aL.cssNumber[u]?"":"px");b!=="px"&&(aL.style(l,u,(p||1)+b),q=(p||1)/s.cur()*q,aL.style(l,u,q+b)),r[1]&&(p=(r[1]==="-="?-1:1)*p+q),s.custom(q,p,b)}else{s.custom(q,t,"")}}});return !0})},stop:function(e,d){var f=aL.timers;e&&this.queue([]),this.each(function(){for(var b=f.length-1;b>=0;b--){f[b].elem===this&&(d&&f[b](!0),f.splice(b,1))}}),d||this.dequeue();return this}}),aL.each({slideDown:an("show",1),slideUp:an("hide",1),slideToggle:an("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(d,c){aL.fn[d]=function(b,f,e){return this.animate(c,b,f,e)}}),aL.extend({speed:function(f,d,h){var g=f&&typeof f==="object"?aL.extend({},f):{complete:h||!h&&d||aL.isFunction(f)&&f,duration:f,easing:h&&d||d&&!aL.isFunction(d)&&d};g.duration=aL.fx.off?0:typeof g.duration==="number"?g.duration:g.duration in aL.fx.speeds?aL.fx.speeds[g.duration]:aL.fx.speeds._default,g.old=g.complete,g.complete=function(){g.queue!==!1&&aL(this).dequeue(),aL.isFunction(g.old)&&g.old.call(this)};return g},easing:{linear:function(f,e,h,g){return h+g*f},swing:function(f,e,h,g){return(-Math.cos(f*Math.PI)/2+0.5)*g+h}},timers:[],fx:function(e,d,f){this.options=d,this.elem=e,this.prop=f,d.orig||(d.orig={})}}),aL.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(aL.fx.step[this.prop]||aL.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var d,c=aL.css(this.elem,this.prop);return isNaN(d=parseFloat(c))?!c||c==="auto"?0:c:d},custom:function(h,d,l){function i(b){return k.step(b)}var k=this,j=aL.fx;this.startTime=aL.now(),this.start=h,this.end=d,this.unit=l||this.unit||(aL.cssNumber[this.prop]?"":"px"),this.now=this.start,this.pos=this.state=0,i.elem=this.elem,i()&&aL.timers.push(i)&&!aq&&(aq=setInterval(j.tick,j.interval))},show:function(){this.options.orig[this.prop]=aL.style(this.elem,this.prop),this.options.show=!0,this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),aL(this.elem).show()},hide:function(){this.options.orig[this.prop]=aL.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(t){var s=aL.now(),r=!0;if(t||s>=this.options.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),this.options.curAnim[this.prop]=!0;
32
+ for(var q in this.options.curAnim){this.options.curAnim[q]!==!0&&(r=!1)}if(r){if(this.options.overflow!=null&&!aL.support.shrinkWrapBlocks){var p=this.elem,o=this.options;aL.each(["","X","Y"],function(e,c){p.style["overflow"+c]=o.overflow[e]})}this.options.hide&&aL(this.elem).hide();if(this.options.hide||this.options.show){for(var n in this.options.curAnim){aL.style(this.elem,n,this.options.orig[n])}}this.options.complete.call(this.elem)}return !1}var m=s-this.startTime;this.state=m/this.options.duration;var l=this.options.specialEasing&&this.options.specialEasing[this.prop],d=this.options.easing||(aL.easing.swing?"swing":"linear");this.pos=aL.easing[l||d](this.state,m,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update();return !0}},aL.extend(aL.fx,{tick:function(){var d=aL.timers;for(var c=0;c<d.length;c++){d[c]()||d.splice(c--,1)}d.length||aL.fx.stop()},interval:13,stop:function(){clearInterval(aq),aq=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(b){aL.style(b.elem,"opacity",b.now)},_default:function(b){b.elem.style&&b.elem.style[b.prop]!=null?b.elem.style[b.prop]=(b.prop==="width"||b.prop==="height"?Math.max(0,b.now):b.now)+b.unit:b.elem[b.prop]=b.now}}}),aL.expr&&aL.expr.filters&&(aL.expr.filters.animated=function(b){return aL.grep(aL.timers,function(a){return b===a.elem}).length});var ai=/^t(?:able|d|h)$/i,ag=/^(?:body|html)$/i;"getBoundingClientRect" in aN.documentElement?aL.fn.offset=function(B){var A=this[0],z;if(B){return this.each(function(a){aL.offset.setOffset(this,B,a)})}if(!A||!A.ownerDocument){return null}if(A===A.ownerDocument.body){return aL.offset.bodyOffset(A)}try{z=A.getBoundingClientRect()}catch(y){}var x=A.ownerDocument,w=x.documentElement;if(!z||!aL.contains(w,A)){return z?{top:z.top,left:z.left}:{top:0,left:0}}var v=x.body,u=af(x),t=w.clientTop||v.clientTop||0,s=w.clientLeft||v.clientLeft||0,r=u.pageYOffset||aL.support.boxModel&&w.scrollTop||v.scrollTop,q=u.pageXOffset||aL.support.boxModel&&w.scrollLeft||v.scrollLeft,p=z.top+r-t,d=z.left+q-s;return{top:p,left:d}}:aL.fn.offset=function(x){var w=this[0];if(x){return this.each(function(a){aL.offset.setOffset(this,x,a)})}if(!w||!w.ownerDocument){return null}if(w===w.ownerDocument.body){return aL.offset.bodyOffset(w)}aL.offset.initialize();var v,u=w.offsetParent,t=w,s=w.ownerDocument,r=s.documentElement,q=s.body,p=s.defaultView,o=p?p.getComputedStyle(w,null):w.currentStyle,n=w.offsetTop,d=w.offsetLeft;while((w=w.parentNode)&&w!==q&&w!==r){if(aL.offset.supportsFixedPosition&&o.position==="fixed"){break}v=p?p.getComputedStyle(w,null):w.currentStyle,n-=w.scrollTop,d-=w.scrollLeft,w===u&&(n+=w.offsetTop,d+=w.offsetLeft,aL.offset.doesNotAddBorder&&(!aL.offset.doesAddBorderForTableAndCells||!ai.test(w.nodeName))&&(n+=parseFloat(v.borderTopWidth)||0,d+=parseFloat(v.borderLeftWidth)||0),t=u,u=w.offsetParent),aL.offset.subtractsBorderForOverflowNotVisible&&v.overflow!=="visible"&&(n+=parseFloat(v.borderTopWidth)||0,d+=parseFloat(v.borderLeftWidth)||0),o=v}if(o.position==="relative"||o.position==="static"){n+=q.offsetTop,d+=q.offsetLeft}aL.offset.supportsFixedPosition&&o.position==="fixed"&&(n+=Math.max(r.scrollTop,q.scrollTop),d+=Math.max(r.scrollLeft,q.scrollLeft));return{top:n,left:d}},aL.offset={initialize:function(){var d=aN.body,c=aN.createElement("div"),p,o,n,m,l=parseFloat(aL.css(d,"marginTop"))||0,k="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";aL.extend(c.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),c.innerHTML=k,d.insertBefore(c,d.firstChild),p=c.firstChild,o=p.firstChild,m=p.nextSibling.firstChild.firstChild,this.doesNotAddBorder=o.offsetTop!==5,this.doesAddBorderForTableAndCells=m.offsetTop===5,o.style.position="fixed",o.style.top="20px",this.supportsFixedPosition=o.offsetTop===20||o.offsetTop===15,o.style.position=o.style.top="",p.style.overflow="hidden",p.style.position="relative",this.subtractsBorderForOverflowNotVisible=o.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=d.offsetTop!==l,d.removeChild(c),aL.offset.initialize=aL.noop},bodyOffset:function(e){var d=e.offsetTop,f=e.offsetLeft;aL.offset.initialize(),aL.offset.doesNotIncludeMarginInBodyOffset&&(d+=parseFloat(aL.css(e,"marginTop"))||0,f+=parseFloat(aL.css(e,"marginLeft"))||0);return{top:d,left:f}},setOffset:function(z,y,x){var w=aL.css(z,"position");w==="static"&&(z.style.position="relative");var v=aL(z),u=v.offset(),t=aL.css(z,"top"),s=aL.css(z,"left"),r=(w==="absolute"||w==="fixed")&&aL.inArray("auto",[t,s])>-1,q={},p={},o,d;r&&(p=v.position()),o=r?p.top:parseInt(t,10)||0,d=r?p.left:parseInt(s,10)||0,aL.isFunction(y)&&(y=y.call(z,x,u)),y.top!=null&&(q.top=y.top-u.top+o),y.left!=null&&(q.left=y.left-u.left+d),"using" in y?y.using.call(z,q):v.css(q)
33
+ }},aL.fn.extend({position:function(){if(!this[0]){return null}var f=this[0],d=this.offsetParent(),h=this.offset(),g=ag.test(d[0].nodeName)?{top:0,left:0}:d.offset();h.top-=parseFloat(aL.css(f,"marginTop"))||0,h.left-=parseFloat(aL.css(f,"marginLeft"))||0,g.top+=parseFloat(aL.css(d[0],"borderTopWidth"))||0,g.left+=parseFloat(aL.css(d[0],"borderLeftWidth"))||0;return{top:h.top-g.top,left:h.left-g.left}},offsetParent:function(){return this.map(function(){var b=this.offsetParent||aN.body;while(b&&(!ag.test(b.nodeName)&&aL.css(b,"position")==="static")){b=b.offsetParent}return b})}}),aL.each(["Left","Top"],function(b,f){var d="scroll"+f;aL.fn[d]=function(h){var e=this[0],a;if(!e){return null}if(h!==aP){return this.each(function(){a=af(this),a?a.scrollTo(b?aL(a).scrollLeft():h,b?h:aL(a).scrollTop()):this[d]=h})}a=af(e);return a?"pageXOffset" in a?a[b?"pageYOffset":"pageXOffset"]:aL.support.boxModel&&a.document.documentElement[d]||a.document.body[d]:e[d]}}),aL.each(["Height","Width"],function(b,f){var d=f.toLowerCase();aL.fn["inner"+f]=function(){return this[0]?parseFloat(aL.css(this[0],d,"padding")):null},aL.fn["outer"+f]=function(c){return this[0]?parseFloat(aL.css(this[0],d,c?"margin":"border")):null},aL.fn[d]=function(c){var l=this[0];if(!l){return c==null?null:this}if(aL.isFunction(c)){return this.each(function(a){var g=aL(this);g[d](c.call(this,a,g[d]()))})}if(aL.isWindow(l)){var k=l.document.documentElement["client"+f];return l.document.compatMode==="CSS1Compat"&&k||l.document.body["client"+f]||k}if(l.nodeType===9){return Math.max(l.documentElement["client"+f],l.body["scroll"+f],l.documentElement["scroll"+f],l.body["offset"+f],l.documentElement["offset"+f])}if(c===aP){var j=aL.css(l,d),e=parseFloat(j);return aL.isNaN(e)?j:e}return this.css(d,typeof c==="string"?c:c+"px")}}),aR.jQuery=aR.$=aL})(window);
skin/frontend/default/grayscale/js/jquery.standardSlider.js ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (function($){
2
+ var WpInitStandardSlider = function(element, options) {
3
+ var el = $(element);
4
+
5
+ var settings = $.extend({
6
+ baseWidth: 700,
7
+ baseHeight: 350
8
+ }, options || {});
9
+
10
+ var slider_opts = {
11
+ slideResize : true,
12
+ containerResize : false,
13
+ fit : 1,
14
+ fx : 'scrollRight',
15
+ pause : 1,
16
+ pauseOnPagerHover : 1,
17
+ random : 0,
18
+ timeout : 4000,
19
+ speed : 1000,
20
+ pager : '#slider_pager',
21
+ next : '#slider_next',
22
+ prev : '#slider_prev'
23
+ };
24
+ var slider_resize = function() {
25
+ var xWidth = el.parent().width();
26
+ var xHeight = options.baseHeight * xWidth / options.baseWidth;
27
+ slider_opts.width = xWidth;
28
+ slider_opts.height = xHeight;
29
+ el.cycle('destroy');
30
+ el.cycle(slider_opts);
31
+ };
32
+ slider_resize();
33
+ $(window).resize(function() {
34
+ slider_resize();
35
+ });
36
+ };
37
+
38
+ $.fn.wpInitStandardSlider = function(options) {
39
+ return this.each(function() {
40
+ var element = $(this);
41
+ if (element.data('wpInitStandardSlider')) return;
42
+ var wpInitStandardSlider = new WpInitStandardSlider(this, options);
43
+ element.data('wpInitStandardSlider', wpInitStandardSlider);
44
+ });
45
+ };
46
+
47
+ })(jQuery);
skin/frontend/default/grayscale/js/noconflict.js ADDED
@@ -0,0 +1 @@
 
1
+ jQuery.noConflict();
skin/frontend/default/grayscale/js/respond.js ADDED
@@ -0,0 +1,234 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ var scRebuildListTimer = null;
2
+
3
+ /*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas. Dual MIT/BSD license */
4
+ /*! NOTE: If you're already including a window.matchMedia polyfill via Modernizr or otherwise, you don't need this part */
5
+ (function(w) {
6
+ "use strict";
7
+ w.matchMedia = w.matchMedia || function(doc, undefined) {
8
+ var bool, docElem = doc.documentElement, refNode = docElem.firstElementChild || docElem.firstChild, fakeBody = doc.createElement("body"), div = doc.createElement("div");
9
+ div.id = "mq-test-1";
10
+ div.style.cssText = "position:absolute;top:-100em";
11
+ fakeBody.style.background = "none";
12
+ fakeBody.appendChild(div);
13
+ return function(q) {
14
+ div.innerHTML = '&shy;<style media="' + q + '"> #mq-test-1 { width: 42px; }</style>';
15
+ docElem.insertBefore(fakeBody, refNode);
16
+ bool = div.offsetWidth === 42;
17
+ docElem.removeChild(fakeBody);
18
+ return {
19
+ matches: bool,
20
+ media: q
21
+ };
22
+ };
23
+ }(w.document);
24
+ })(this);
25
+
26
+ /*! Respond.js v1.4.0: min/max-width media query polyfill. (c) Scott Jehl. MIT Lic. j.mp/respondjs */
27
+ (function(w) {
28
+ "use strict";
29
+ var respond = {};
30
+ w.respond = respond;
31
+ respond.update = function() {};
32
+ var requestQueue = [], xmlHttp = function() {
33
+ var xmlhttpmethod = false;
34
+ try {
35
+ xmlhttpmethod = new w.XMLHttpRequest();
36
+ } catch (e) {
37
+ xmlhttpmethod = new w.ActiveXObject("Microsoft.XMLHTTP");
38
+ }
39
+ return function() {
40
+ return xmlhttpmethod;
41
+ };
42
+ }(), ajax = function(url, callback) {
43
+ var req = xmlHttp();
44
+ if (!req) {
45
+ return;
46
+ }
47
+ req.open("GET", url, true);
48
+ req.onreadystatechange = function() {
49
+ if (req.readyState !== 4 || req.status !== 200 && req.status !== 304) {
50
+ return;
51
+ }
52
+ callback(req.responseText);
53
+ };
54
+ if (req.readyState === 4) {
55
+ return;
56
+ }
57
+ req.send(null);
58
+ };
59
+ respond.ajax = ajax;
60
+ respond.queue = requestQueue;
61
+ respond.regex = {
62
+ media: /@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,
63
+ keyframes: /@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,
64
+ urls: /(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,
65
+ findStyles: /@media *([^\{]+)\{([\S\s]+?)$/,
66
+ only: /(only\s+)?([a-zA-Z]+)\s?/,
67
+ minw: /\([\s]*min\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/,
68
+ maxw: /\([\s]*max\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/
69
+ };
70
+ respond.mediaQueriesSupported = w.matchMedia && w.matchMedia("only all") !== null && w.matchMedia("only all").matches;
71
+ if (respond.mediaQueriesSupported) {
72
+ return;
73
+ }
74
+ var doc = w.document, docElem = doc.documentElement, mediastyles = [], rules = [], appendedEls = [], parsedSheets = {}, resizeThrottle = 30, head = doc.getElementsByTagName("head")[0] || docElem, base = doc.getElementsByTagName("base")[0], links = head.getElementsByTagName("link"), lastCall, resizeDefer, eminpx, getEmValue = function() {
75
+ var ret, div = doc.createElement("div"), body = doc.body, originalHTMLFontSize = docElem.style.fontSize, originalBodyFontSize = body && body.style.fontSize, fakeUsed = false;
76
+ div.style.cssText = "position:absolute;font-size:1em;width:1em";
77
+ if (!body) {
78
+ body = fakeUsed = doc.createElement("body");
79
+ body.style.background = "none";
80
+ }
81
+ docElem.style.fontSize = "100%";
82
+ body.style.fontSize = "100%";
83
+ body.appendChild(div);
84
+ if (fakeUsed) {
85
+ docElem.insertBefore(body, docElem.firstChild);
86
+ }
87
+ ret = div.offsetWidth;
88
+ if (fakeUsed) {
89
+ docElem.removeChild(body);
90
+ } else {
91
+ body.removeChild(div);
92
+ }
93
+ docElem.style.fontSize = originalHTMLFontSize;
94
+ if (originalBodyFontSize) {
95
+ body.style.fontSize = originalBodyFontSize;
96
+ }
97
+ ret = eminpx = parseFloat(ret);
98
+ return ret;
99
+ }, applyMedia = function(fromResize) {
100
+ var name = "clientWidth", docElemProp = docElem[name], currWidth = doc.compatMode === "CSS1Compat" && docElemProp || doc.body[name] || docElemProp, styleBlocks = {}, lastLink = links[links.length - 1], now = new Date().getTime();
101
+ if (fromResize && lastCall && now - lastCall < resizeThrottle) {
102
+ w.clearTimeout(resizeDefer);
103
+ resizeDefer = w.setTimeout(applyMedia, resizeThrottle);
104
+ return;
105
+ } else {
106
+ lastCall = now;
107
+ }
108
+ for (var i in mediastyles) {
109
+ if (mediastyles.hasOwnProperty(i)) {
110
+ var thisstyle = mediastyles[i], min = thisstyle.minw, max = thisstyle.maxw, minnull = min === null, maxnull = max === null, em = "em";
111
+ if (!!min) {
112
+ min = parseFloat(min) * (min.indexOf(em) > -1 ? eminpx || getEmValue() : 1);
113
+ }
114
+ if (!!max) {
115
+ max = parseFloat(max) * (max.indexOf(em) > -1 ? eminpx || getEmValue() : 1);
116
+ }
117
+ if (!thisstyle.hasquery || (!minnull || !maxnull) && (minnull || currWidth >= min) && (maxnull || currWidth <= max)) {
118
+ if (!styleBlocks[thisstyle.media]) {
119
+ styleBlocks[thisstyle.media] = [];
120
+ }
121
+ styleBlocks[thisstyle.media].push(rules[thisstyle.rules]);
122
+ }
123
+ }
124
+ }
125
+ for (var j in appendedEls) {
126
+ if (appendedEls.hasOwnProperty(j)) {
127
+ if (appendedEls[j] && appendedEls[j].parentNode === head) {
128
+ head.removeChild(appendedEls[j]);
129
+ }
130
+ }
131
+ }
132
+ appendedEls.length = 0;
133
+ for (var k in styleBlocks) {
134
+ if (styleBlocks.hasOwnProperty(k)) {
135
+ var ss = doc.createElement("style"), css = styleBlocks[k].join("\n");
136
+ ss.type = "text/css";
137
+ ss.media = k;
138
+ head.insertBefore(ss, lastLink.nextSibling);
139
+ if (ss.styleSheet) {
140
+ ss.styleSheet.cssText = css;
141
+ } else {
142
+ ss.appendChild(doc.createTextNode(css));
143
+ }
144
+ appendedEls.push(ss);
145
+ }
146
+ }
147
+
148
+ if (typeof jqSmartCatalog != 'undefined') {
149
+ clearTimeout(scRebuildListTimer);
150
+ scRebuildListTimer = setTimeout(function() {
151
+ jqSmartCatalog(document).triggerHandler('sc-rebuild-list');
152
+ }, 1500);
153
+ }
154
+
155
+ }, translate = function(styles, href, media) {
156
+ var qs = styles.replace(respond.regex.keyframes, "").match(respond.regex.media), ql = qs && qs.length || 0;
157
+ href = href.substring(0, href.lastIndexOf("/"));
158
+ var repUrls = function(css) {
159
+ return css.replace(respond.regex.urls, "$1" + href + "$2$3");
160
+ }, useMedia = !ql && media;
161
+ if (href.length) {
162
+ href += "/";
163
+ }
164
+ if (useMedia) {
165
+ ql = 1;
166
+ }
167
+ for (var i = 0; i < ql; i++) {
168
+ var fullq, thisq, eachq, eql;
169
+ if (useMedia) {
170
+ fullq = media;
171
+ rules.push(repUrls(styles));
172
+ } else {
173
+ fullq = qs[i].match(respond.regex.findStyles) && RegExp.$1;
174
+ rules.push(RegExp.$2 && repUrls(RegExp.$2));
175
+ }
176
+ eachq = fullq.split(",");
177
+ eql = eachq.length;
178
+ for (var j = 0; j < eql; j++) {
179
+ thisq = eachq[j];
180
+ mediastyles.push({
181
+ media: thisq.split("(")[0].match(respond.regex.only) && RegExp.$2 || "all",
182
+ rules: rules.length - 1,
183
+ hasquery: thisq.indexOf("(") > -1,
184
+ minw: thisq.match(respond.regex.minw) && parseFloat(RegExp.$1) + (RegExp.$2 || ""),
185
+ maxw: thisq.match(respond.regex.maxw) && parseFloat(RegExp.$1) + (RegExp.$2 || "")
186
+ });
187
+ }
188
+ }
189
+ applyMedia();
190
+ }, makeRequests = function() {
191
+ if (requestQueue.length) {
192
+ var thisRequest = requestQueue.shift();
193
+ ajax(thisRequest.href, function(styles) {
194
+ translate(styles, thisRequest.href, thisRequest.media);
195
+ parsedSheets[thisRequest.href] = true;
196
+ w.setTimeout(function() {
197
+ makeRequests();
198
+ }, 0);
199
+ });
200
+ }
201
+ }, ripCSS = function() {
202
+ for (var i = 0; i < links.length; i++) {
203
+ var sheet = links[i], href = sheet.href, media = sheet.media, isCSS = sheet.rel && sheet.rel.toLowerCase() === "stylesheet";
204
+ if (!!href && isCSS && !parsedSheets[href]) {
205
+ if (sheet.styleSheet && sheet.styleSheet.rawCssText) {
206
+ translate(sheet.styleSheet.rawCssText, href, media);
207
+ parsedSheets[href] = true;
208
+ } else {
209
+ if (!/^([a-zA-Z:]*\/\/)/.test(href) && !base || href.replace(RegExp.$1, "").split("/")[0] === w.location.host) {
210
+ if (href.substring(0, 2) === "//") {
211
+ href = w.location.protocol + href;
212
+ }
213
+ requestQueue.push({
214
+ href: href,
215
+ media: media
216
+ });
217
+ }
218
+ }
219
+ }
220
+ }
221
+ makeRequests();
222
+ };
223
+ ripCSS();
224
+ respond.update = ripCSS;
225
+ respond.getEmValue = getEmValue;
226
+ function callMedia() {
227
+ applyMedia(true);
228
+ }
229
+ if (w.addEventListener) {
230
+ w.addEventListener("resize", callMedia, false);
231
+ } else if (w.attachEvent) {
232
+ w.attachEvent("onresize", callMedia);
233
+ }
234
+ })(this);