Zero1_ThemePerfumeShop - Version 1.0.0.0

Version Notes

Magento 1.5+ package only

Download this release

Release Info

Developer Magento Core Team
Extension Zero1_ThemePerfumeShop
Version 1.0.0.0
Comparing to
See all releases


Version 1.0.0.0

Files changed (76) hide show
  1. app/design/frontend/default/perfume/layout/catalog.xml +428 -0
  2. app/design/frontend/default/perfume/layout/catalogsearch.xml +130 -0
  3. app/design/frontend/default/perfume/layout/checkout.xml +410 -0
  4. app/design/frontend/default/perfume/layout/cms.xml +105 -0
  5. app/design/frontend/default/perfume/layout/customer.xml +265 -0
  6. app/design/frontend/default/perfume/layout/newsletter.xml +69 -0
  7. app/design/frontend/default/perfume/layout/page.xml +200 -0
  8. app/design/frontend/default/perfume/template/catalog/layer/view.phtml +56 -0
  9. app/design/frontend/default/perfume/template/catalog/product/list.phtml +120 -0
  10. app/design/frontend/default/perfume/template/catalog/product/list/toolbar.phtml +71 -0
  11. app/design/frontend/default/perfume/template/catalog/product/view.phtml +149 -0
  12. app/design/frontend/default/perfume/template/catalog/product/view/media.phtml +56 -0
  13. app/design/frontend/default/perfume/template/catalog/product/view/tabs.phtml +78 -0
  14. app/design/frontend/default/perfume/template/catalogsearch/form.mini.phtml +41 -0
  15. app/design/frontend/default/perfume/template/checkout/cart.phtml +136 -0
  16. app/design/frontend/default/perfume/template/checkout/cart/cart-top.phtml +90 -0
  17. app/design/frontend/default/perfume/template/customer/form/login.phtml +88 -0
  18. app/design/frontend/default/perfume/template/newsletter/subscribe.phtml +47 -0
  19. app/design/frontend/default/perfume/template/page/2columns-left.phtml +59 -0
  20. app/design/frontend/default/perfume/template/page/html/breadcrumbs.phtml +48 -0
  21. app/design/frontend/default/perfume/template/page/html/footer.phtml +40 -0
  22. app/design/frontend/default/perfume/template/page/html/head.phtml +46 -0
  23. app/design/frontend/default/perfume/template/page/html/header.phtml +48 -0
  24. app/design/frontend/default/perfume/template/page/html/pager.phtml +111 -0
  25. app/design/frontend/default/perfume/template/persistent/customer/form/login.phtml +93 -0
  26. package.xml +18 -0
  27. skin/frontend/default/perfume/css/print.css +39 -0
  28. skin/frontend/default/perfume/css/styles-ie.css +136 -0
  29. skin/frontend/default/perfume/css/styles.css +1420 -0
  30. skin/frontend/default/perfume/images/bg-blocktitle.gif +0 -0
  31. skin/frontend/default/perfume/images/bg-cart-down.gif +0 -0
  32. skin/frontend/default/perfume/images/bg-filter.gif +0 -0
  33. skin/frontend/default/perfume/images/bg-nav-parent.gif +0 -0
  34. skin/frontend/default/perfume/images/bg-opa10.png +0 -0
  35. skin/frontend/default/perfume/images/bg-opa50w.png +0 -0
  36. skin/frontend/default/perfume/images/bg-search-button.gif +0 -0
  37. skin/frontend/default/perfume/images/bg-search.gif +0 -0
  38. skin/frontend/default/perfume/images/bg-tab.gif +0 -0
  39. skin/frontend/default/perfume/images/bg.gif +0 -0
  40. skin/frontend/default/perfume/images/bkg_button.gif +0 -0
  41. skin/frontend/default/perfume/images/bkg_collapse.gif +0 -0
  42. skin/frontend/default/perfume/images/bkg_rating.gif +0 -0
  43. skin/frontend/default/perfume/images/btn_remove.gif +0 -0
  44. skin/frontend/default/perfume/images/btn_trash.gif +0 -0
  45. skin/frontend/default/perfume/images/btn_window_close.gif +0 -0
  46. skin/frontend/default/perfume/images/cvv.gif +0 -0
  47. skin/frontend/default/perfume/images/email.png +0 -0
  48. skin/frontend/default/perfume/images/fam_book_open.png +0 -0
  49. skin/frontend/default/perfume/images/i_asc_arrow.gif +0 -0
  50. skin/frontend/default/perfume/images/i_availability_only_arrow.gif +0 -0
  51. skin/frontend/default/perfume/images/i_desc_arrow.gif +0 -0
  52. skin/frontend/default/perfume/images/i_msg-error.gif +0 -0
  53. skin/frontend/default/perfume/images/i_msg-note.gif +0 -0
  54. skin/frontend/default/perfume/images/i_msg-success.gif +0 -0
  55. skin/frontend/default/perfume/images/i_notice.gif +0 -0
  56. skin/frontend/default/perfume/images/i_pager-next.gif +0 -0
  57. skin/frontend/default/perfume/images/i_pager-prev.gif +0 -0
  58. skin/frontend/default/perfume/images/i_print.gif +0 -0
  59. skin/frontend/default/perfume/images/i_rss-big.png +0 -0
  60. skin/frontend/default/perfume/images/i_rss.gif +0 -0
  61. skin/frontend/default/perfume/images/logo.gif +0 -0
  62. skin/frontend/default/perfume/images/logo_email.gif +0 -0
  63. skin/frontend/default/perfume/images/logo_print.gif +0 -0
  64. skin/frontend/default/perfume/images/magnifier_handle.gif +0 -0
  65. skin/frontend/default/perfume/images/opc-ajax-loader.gif +0 -0
  66. skin/frontend/default/perfume/images/pager_arrow_left.gif +0 -0
  67. skin/frontend/default/perfume/images/pager_arrow_right.gif +0 -0
  68. skin/frontend/default/perfume/images/pencil.png +0 -0
  69. skin/frontend/default/perfume/images/slider_bg.gif +0 -0
  70. skin/frontend/default/perfume/images/slider_btn_zoom_in.gif +0 -0
  71. skin/frontend/default/perfume/images/slider_btn_zoom_out.gif +0 -0
  72. skin/frontend/default/perfume/images/spacer.gif +0 -0
  73. skin/frontend/default/perfume/images/validation_advice_bg.gif +0 -0
  74. skin/frontend/default/perfume/js/fragonline.js +23 -0
  75. skin/frontend/default/perfume/js/jquery-1.7.1.min.js +4 -0
  76. skin/frontend/default/perfume/js/jquery.cycle.all.min.js +21 -0
app/design/frontend/default/perfume/layout/catalog.xml ADDED
@@ -0,0 +1,428 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package base_default
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+
28
+ Supported layout update handles (action):
29
+ - catalog_product_gallery
30
+ - catalog_product_compare_index
31
+
32
+ Supported layout update handles (special):
33
+ - default
34
+ - catalog_category_default
35
+ - catalog_category_layered
36
+ - catalog_product_view
37
+
38
+ -->
39
+ <layout version="0.1.0">
40
+
41
+ <!--
42
+ Default layout, loads most of the pages
43
+ -->
44
+
45
+ <default>
46
+
47
+ <!-- Mage_Catalog -->
48
+ <reference name="top.menu">
49
+ <block type="catalog/navigation" name="catalog.topnav" template="catalog/navigation/top.phtml"/>
50
+ </reference>
51
+
52
+ <reference name="footer_links">
53
+ <action method="addLink" translate="label title" module="catalog" ifconfig="catalog/seo/site_map"><label>Site Map</label><url helper="catalog/map/getCategoryUrl" /><title>Site Map</title></action>
54
+ </reference>
55
+ <block type="catalog/product_price_template" name="catalog_product_price_template" />
56
+
57
+ </default>
58
+
59
+
60
+ <!--
61
+ Category default layout
62
+ -->
63
+
64
+ <catalog_category_default translate="label">
65
+ <label>Catalog Category (Non-Anchor)</label>
66
+ <reference name="left">
67
+ <block type="catalog/navigation" name="catalog.leftnav" after="currency" template="catalog/navigation/left.phtml"/>
68
+ </reference>
69
+ <reference name="content">
70
+ <block type="catalog/category_view" name="category.products" template="catalog/category/view.phtml">
71
+ <block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml"><action method="setColumnCount"><columns>4</columns></action>
72
+ <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
73
+ <block type="page/html_pager" name="product_list_toolbar_pager"/>
74
+ <!-- The following code shows how to set your own pager increments -->
75
+ <!--
76
+ <action method="setDefaultListPerPage"><limit>4</limit></action>
77
+ <action method="setDefaultGridPerPage"><limit>9</limit></action>
78
+ <action method="addPagerLimit"><mode>list</mode><limit>2</limit></action>
79
+ <action method="addPagerLimit"><mode>list</mode><limit>4</limit></action>
80
+ <action method="addPagerLimit"><mode>list</mode><limit>6</limit></action>
81
+ <action method="addPagerLimit"><mode>list</mode><limit>8</limit></action>
82
+ <action method="addPagerLimit" translate="label"><mode>list</mode><limit>all</limit><label>All</label></action>
83
+ -->
84
+ </block>
85
+ <action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
86
+ <action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
87
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
88
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
89
+ <action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action>
90
+ <action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
91
+ </block>
92
+ </block>
93
+ </reference>
94
+ </catalog_category_default>
95
+
96
+ <!--
97
+ Category layered navigation layout
98
+ -->
99
+
100
+ <catalog_category_layered translate="label">
101
+ <label>Catalog Category (Anchor)</label>
102
+ <reference name="left">
103
+ <block type="catalog/layer_view" name="catalog.leftnav" before="currency" template="catalog/layer/view.phtml"/>
104
+ </reference>
105
+ <reference name="content">
106
+ <block type="catalog/category_view" name="category.products" template="catalog/category/view.phtml">
107
+ <block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml"><action method="setColumnCount"><columns>4</columns></action>
108
+ <!-- <action method="addReviewSummaryTemplate"><type>default</type><template>review/helper/su.phtml</template></action> -->
109
+ <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
110
+ <block type="page/html_pager" name="product_list_toolbar_pager"/>
111
+ <!-- The following code shows how to set your own pager increments -->
112
+ <!--
113
+ <action method="setDefaultListPerPage"><limit>4</limit></action>
114
+ <action method="setDefaultGridPerPage"><limit>3</limit></action>
115
+ <action method="addPagerLimit"><mode>list</mode><limit>2</limit></action>
116
+ <action method="addPagerLimit"><mode>list</mode><limit>4</limit></action>
117
+ <action method="addPagerLimit"><mode>list</mode><limit>6</limit></action>
118
+ <action method="addPagerLimit"><mode>list</mode><limit>8</limit></action>
119
+ <action method="addPagerLimit" translate="label"><mode>list</mode><limit>all</limit><label>All</label></action>
120
+ <action method="addPagerLimit"><mode>grid</mode><limit>3</limit></action>
121
+ <action method="addPagerLimit"><mode>grid</mode><limit>6</limit></action>
122
+ <action method="addPagerLimit"><mode>grid</mode><limit>9</limit></action>
123
+ <action method="addPagerLimit" translate="label"><mode>grid</mode><limit>all</limit><label>All</label></action>
124
+ -->
125
+ </block>
126
+ <action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
127
+ <action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
128
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
129
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
130
+ <action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action>
131
+ <action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
132
+ </block>
133
+ </block>
134
+ </reference>
135
+ </catalog_category_layered>
136
+
137
+ <catalog_category_layered_nochildren translate="label">
138
+ <label>Catalog Category (Without Subcategories)</label>
139
+ <remove name="right.reports.product.viewed" />
140
+ <reference name="right">
141
+ <block type="reports/product_viewed" before="right.permanent.callout" name="left.reports.product.viewed" template="reports/product_viewed.phtml" />
142
+ </reference>
143
+ </catalog_category_layered_nochildren>
144
+
145
+ <!--
146
+ Compare products page
147
+ -->
148
+
149
+ <catalog_product_compare_index translate="label">
150
+ <label>Catalog Product Compare List</label>
151
+ <!-- Mage_Catalog -->
152
+ <reference name="root">
153
+ <action method="setTemplate"><template>page/popup.phtml</template></action>
154
+ </reference>
155
+ <reference name="head">
156
+ <action method="addJs"><script>scriptaculous/scriptaculous.js</script></action>
157
+ <action method="addJs"><script>varien/product.js</script></action>
158
+ </reference>
159
+ <reference name="content">
160
+ <block type="catalog/product_compare_list" name="catalog.compare.list" template="catalog/product/compare/list.phtml"/>
161
+ </reference>
162
+ </catalog_product_compare_index>
163
+
164
+ <customer_account_index>
165
+ <reference name="right">
166
+ <action method="unsetChild"><name>catalog.compare.sidebar</name></action>
167
+ </reference>
168
+ </customer_account_index>
169
+
170
+ <!--
171
+ Product view
172
+ -->
173
+
174
+ <catalog_product_view translate="label">
175
+ <label>Catalog Product View (Any)</label>
176
+ <!-- Mage_Catalog -->
177
+ <reference name="root">
178
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
179
+ </reference>
180
+ <reference name="head">
181
+ <action method="addJs"><script>varien/product.js</script></action>
182
+
183
+ <action method="addItem"><type>js_css</type><name>calendar/calendar-win2k-1.css</name><params/><!--<if/><condition>can_load_calendar_js</condition>--></action>
184
+ <action method="addItem"><type>js</type><name>calendar/calendar.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
185
+ <action method="addItem"><type>js</type><name>calendar/calendar-setup.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
186
+ </reference>
187
+ <reference name="content">
188
+ <block type="catalog/product_view" name="product.info" template="catalog/product/view.phtml">
189
+ <!--
190
+ <action method="addReviewSummaryTemplate"><type>default</type><template>review/helper/summary.phtml</template></action>
191
+ <action method="addReviewSummaryTemplate"><type>short</type><template>review/helper/summary_short.phtml</template></action>
192
+ <action method="addReviewSummaryTemplate"><type>...</type><template>...</template></action>
193
+ -->
194
+ <block type="catalog/product_view_media" name="product.info.media" as="media" template="catalog/product/view/media.phtml"/>
195
+ <block type="core/text_list" name="alert.urls" as="alert_urls" translate="label">
196
+ <label>Alert Urls</label>
197
+ </block>
198
+
199
+ <action method="setTierPriceTemplate"><template>catalog/product/view/tierprices.phtml</template></action>
200
+
201
+ <block type="catalog/product_list_upsell" name="product.info.upsell" as="upsell_products" template="catalog/product/list/upsell.phtml">
202
+ <action method="setColumnCount"><columns>4</columns></action>
203
+ <action method="setItemLimit"><type>upsell</type><limit>4</limit></action>
204
+ </block>
205
+
206
+ <block type="catalog/product_view_tabs" name="product.info.tabs" as="info_tabs" template="catalog/product/view/tabs.phtml">
207
+
208
+ <action method="addTab" translate="title" module="catalog"><alias>attributes</alias><title>Additional Information</title><block>catalog/product_view_attributes</block><template>catalog/product/view/attributes.phtml</template></action>
209
+ <action method="addTab" translate="title" module="catalog"><alias>upsell_products</alias><title>You Might Also Like</title><block>catalog/product_list_upsell</block><template>catalog/product/list/upsell.phtml</template></action>
210
+ <action method="addTab" translate="title" module="tag"><alias>tags</alias><title>Product Tags</title><block>tag/product_list</block><template>tag/list.phtml</template></action>
211
+
212
+ </block>
213
+
214
+ <block type="catalog/product_view" name="product.info.addto" as="addto" template="catalog/product/view/addto.phtml"/>
215
+ <block type="catalog/product_view" name="product.info.addtocart" as="addtocart" template="catalog/product/view/addtocart.phtml"/>
216
+
217
+ <block type="core/text_list" name="product.info.extrahint" as="extrahint" translate="label">
218
+ <label>Product View Extra Hint</label>
219
+ </block>
220
+
221
+ <block type="catalog/product_view" name="product.info.options.wrapper" as="product_options_wrapper" template="catalog/product/view/options/wrapper.phtml" translate="label">
222
+ <label>Info Column Options Wrapper</label>
223
+ <block type="core/template" name="options_js" template="catalog/product/view/options/js.phtml"/>
224
+ <block type="catalog/product_view_options" name="product.info.options" as="product_options" template="catalog/product/view/options.phtml">
225
+ <action method="addOptionRenderer"><type>text</type><block>catalog/product_view_options_type_text</block><template>catalog/product/view/options/type/text.phtml</template></action>
226
+ <action method="addOptionRenderer"><type>file</type><block>catalog/product_view_options_type_file</block><template>catalog/product/view/options/type/file.phtml</template></action>
227
+ <action method="addOptionRenderer"><type>select</type><block>catalog/product_view_options_type_select</block><template>catalog/product/view/options/type/select.phtml</template></action>
228
+ <action method="addOptionRenderer"><type>date</type><block>catalog/product_view_options_type_date</block><template>catalog/product/view/options/type/date.phtml</template></action>
229
+ </block>
230
+ <block type="core/html_calendar" name="html_calendar" as="html_calendar" template="page/js/calendar.phtml"/>
231
+ </block>
232
+ <block type="catalog/product_view" name="product.info.options.wrapper.bottom" as="product_options_wrapper_bottom" template="catalog/product/view/options/wrapper/bottom.phtml" translate="label">
233
+ <label>Bottom Block Options Wrapper</label>
234
+ <action method="insert"><block>product.tierprices</block></action>
235
+ <block type="catalog/product_view" name="product.clone_prices" as="prices" template="catalog/product/view/price_clone.phtml"/>
236
+ <action method="append"><block>product.info.addtocart</block></action>
237
+ </block>
238
+
239
+ <block type="core/template_facade" name="product.info.container1" as="container1">
240
+ <action method="setDataByKey"><key>alias_in_layout</key><value>container1</value></action>
241
+ <action method="setDataByKeyFromRegistry"><key>options_container</key><key_in_registry>product</key_in_registry></action>
242
+ <action method="append"><block>product.info.options.wrapper</block></action>
243
+ <action method="append"><block>product.info.options.wrapper.bottom</block></action>
244
+ </block>
245
+ <block type="core/template_facade" name="product.info.container2" as="container2">
246
+ <action method="setDataByKey"><key>alias_in_layout</key><value>container2</value></action>
247
+ <action method="setDataByKeyFromRegistry"><key>options_container</key><key_in_registry>product</key_in_registry></action>
248
+ <action method="append"><block>product.info.options.wrapper</block></action>
249
+ <action method="append"><block>product.info.options.wrapper.bottom</block></action>
250
+ </block>
251
+ <action method="unsetCallChild"><child>container1</child><call>ifEquals</call><if>0</if><key>alias_in_layout</key><key>options_container</key></action>
252
+ <action method="unsetCallChild"><child>container2</child><call>ifEquals</call><if>0</if><key>alias_in_layout</key><key>options_container</key></action>
253
+ </block>
254
+ </reference>
255
+ <reference name="right">
256
+ <block type="catalog/product_list_related" name="catalog.product.related" before="-" template="catalog/product/list/related.phtml"/>
257
+ </reference>
258
+ </catalog_product_view>
259
+
260
+ <!--
261
+ Additional block dependant on product type
262
+ -->
263
+ <PRODUCT_TYPE_simple translate="label" module="catalog">
264
+ <label>Catalog Product View (Simple)</label>
265
+ <reference name="product.info">
266
+ <block type="catalog/product_view_type_simple" name="product.info.simple" as="product_type_data" template="catalog/product/view/type/default.phtml">
267
+ <block type="core/text_list" name="product.info.simple.extra" as="product_type_data_extra" translate="label">
268
+ <label>Product Extra Info</label>
269
+ </block>
270
+ </block>
271
+ </reference>
272
+ </PRODUCT_TYPE_simple>
273
+ <PRODUCT_TYPE_configurable translate="label" module="catalog">
274
+ <label>Catalog Product View (Configurable)</label>
275
+ <reference name="product.info">
276
+ <block type="catalog/product_view_type_configurable" name="product.info.configurable" as="product_type_data" template="catalog/product/view/type/default.phtml">
277
+ <block type="core/text_list" name="product.info.configurable.extra" as="product_type_data_extra" translate="label">
278
+ <label>Product Extra Info</label>
279
+ </block>
280
+ </block>
281
+ </reference>
282
+ <reference name="product.info.options.wrapper">
283
+ <block type="catalog/product_view_type_configurable" name="product.info.options.configurable" as="options_configurable" before="-" template="catalog/product/view/type/options/configurable.phtml"/>
284
+ </reference>
285
+ </PRODUCT_TYPE_configurable>
286
+ <PRODUCT_TYPE_grouped translate="label" module="catalog">
287
+ <label>Catalog Product View (Grouped)</label>
288
+ <reference name="product.info">
289
+ <block type="catalog/product_view_type_grouped" name="product.info.grouped" as="product_type_data" template="catalog/product/view/type/grouped.phtml">
290
+ <block type="core/text_list" name="product.info.grouped.extra" as="product_type_data_extra" translate="label">
291
+ <label>Product Extra Info</label>
292
+ </block>
293
+ </block>
294
+ </reference>
295
+ </PRODUCT_TYPE_grouped>
296
+ <PRODUCT_TYPE_virtual translate="label" module="catalog">
297
+ <label>Catalog Product View (Virtual)</label>
298
+ <reference name="product.info">
299
+ <block type="catalog/product_view_type_virtual" name="product.info.virtual" as="product_type_data" template="catalog/product/view/type/default.phtml">
300
+ <block type="core/text_list" name="product.info.virtual.extra" as="product_type_data_extra" translate="label">
301
+ <label>Product Extra Info</label>
302
+ </block>
303
+ </block>
304
+ </reference>
305
+ </PRODUCT_TYPE_virtual>
306
+
307
+
308
+
309
+ <!--
310
+ Product send to friend
311
+ -->
312
+
313
+ <catalog_product_send translate="label">
314
+ <label>Catalog Product Email to a Friend</label>
315
+ <!-- Mage_Catalog -->
316
+ <reference name="root">
317
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
318
+ </reference>
319
+ <reference name="head">
320
+ <action method="addJs"><script>varien/product.js</script></action>
321
+ </reference>
322
+ <reference name="content">
323
+ <block type="catalog/product_send" name="product.send" template="catalog/product/send.phtml">
324
+ </block>
325
+ </reference>
326
+ </catalog_product_send>
327
+
328
+ <!--
329
+ Product additional images gallery popup
330
+ -->
331
+
332
+ <catalog_product_gallery translate="label">
333
+ <label>Catalog Product Image Gallery Popup</label>
334
+ <!-- Mage_Catalog -->
335
+ <reference name="root">
336
+ <action method="setTemplate"><template>page/popup.phtml</template></action>
337
+ </reference>
338
+ <reference name="content">
339
+ <block type="catalog/product_gallery" name="catalog_product_gallery" template="catalog/product/gallery.phtml"/>
340
+ </reference>
341
+ </catalog_product_gallery>
342
+
343
+ <!--
344
+ SEO Site Map
345
+ -->
346
+
347
+ <catalog_seo_sitemap translate="label">
348
+ <label>Catalog Seo Sitemap (Common)</label>
349
+ <remove name="right"/>
350
+ <remove name="left"/>
351
+
352
+ <reference name="root">
353
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
354
+ </reference>
355
+ <reference name="content">
356
+ <block type="page/template_container" name="seo.sitemap.container" template="catalog/seo/sitemap/container.phtml">
357
+ <block type="page/template_links" name="seo.sitemap.links" as="links" template="page/template/links.phtml"/>
358
+ <block type="page/html_pager" name="seo.sitemap.pager.top" as="pager_top" template="page/html/pager.phtml"/>
359
+ <block type="page/html_pager" name="seo.sitemap.pager.bottom" as="pager_bottom" template="page/html/pager.phtml"/>
360
+ </block>
361
+ </reference>
362
+ </catalog_seo_sitemap>
363
+
364
+ <catalog_seo_sitemap_category translate="label">
365
+ <label>Catalog Seo Sitemap (Category List)</label>
366
+ <update handle="catalog_seo_sitemap" />
367
+ <reference name="seo.sitemap.container">
368
+ <action method="setTitle" translate="title" module="catalog"><title>Categories</title></action>
369
+ <block type="catalog/seo_sitemap_category" name="seo.sitemap.sitemap" as="sitemap" after="pager_top" template="catalog/seo/sitemap.phtml">
370
+ <action method="bindPager"><pager>seo.sitemap.pager.top</pager></action>
371
+ <action method="bindPager"><pager>seo.sitemap.pager.bottom</pager></action>
372
+ <action method="setItemsTitle" translate="title" module="catalog"><title>categories</title></action>
373
+ </block>
374
+ </reference>
375
+ <reference name="seo.sitemap.links">
376
+ <action method="addLink" translate="label title" module="catalog"><label>Products Sitemap</label><url helper="catalog/map/getProductUrl"/><title>Products Sitemap</title></action>
377
+ </reference>
378
+ </catalog_seo_sitemap_category>
379
+
380
+ <catalog_seo_sitemap_category_tree translate="label">
381
+ <label>Catalog Seo Sitemap (Category Tree)</label>
382
+ <reference name="seo.sitemap.container">
383
+ <remove name="seo.sitemap.pager.top" />
384
+ <remove name="seo.sitemap.pager.bottom" />
385
+ <block type="catalog/seo_sitemap_tree_pager" name="seo.sitemap.tree.pager.top" as="pager_top" template="page/html/pager.phtml"/>
386
+ <block type="catalog/seo_sitemap_tree_pager" name="seo.sitemap.tree.pager.bottom" as="pager_bottom" template="page/html/pager.phtml"/>
387
+ <remove name="seo.sitemap.sitemap" />
388
+ <block type="catalog/seo_sitemap_tree_category" name="seo.sitemap.sitemap_tree" as="sitemap" after="pager_top" template="catalog/seo/tree.phtml">
389
+ <action method="bindPager"><pager>seo.sitemap.tree.pager.top</pager></action>
390
+ <action method="bindPager"><pager>seo.sitemap.tree.pager.bottom</pager></action>
391
+ </block>
392
+ </reference>
393
+ </catalog_seo_sitemap_category_tree>
394
+
395
+ <catalog_seo_sitemap_product translate="label">
396
+ <label>Catalog Seo Sitemap (Product List)</label>
397
+ <update handle="catalog_seo_sitemap" />
398
+ <reference name="seo.sitemap.container">
399
+ <action method="setTitle" translate="title" module="catalog"><title>Products</title></action>
400
+ <block type="catalog/seo_sitemap_product" name="seo.sitemap.sitemap" as="sitemap" after="pager_top" template="catalog/seo/sitemap.phtml">
401
+ <action method="bindPager"><pager>seo.sitemap.pager.top</pager></action>
402
+ <action method="bindPager"><pager>seo.sitemap.pager.bottom</pager></action>
403
+ <action method="setItemsTitle" translate="title" module="catalog"><title>products</title></action>
404
+ </block>
405
+ </reference>
406
+ <reference name="seo.sitemap.links">
407
+ <action method="addLink" translate="label title" module="catalog"><label>Categories Sitemap</label><url helper="catalog/map/getCategoryUrl"/><title>Categories Sitemap</title></action>
408
+ </reference>
409
+ </catalog_seo_sitemap_product>
410
+
411
+
412
+ <!--
413
+ Catalog search terms block
414
+ -->
415
+
416
+ <catalog_seo_searchterm_popular translate="label">
417
+ <label>Catalog Seo Popular Search Terms</label>
418
+ <remove name="right"/>
419
+ <remove name="left"/>
420
+ <reference name="root">
421
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
422
+ </reference>
423
+ <reference name="content">
424
+ <block type="catalog/seo_searchterm" name="seo.searchterm" template="catalog/seo/searchterm.phtml"/>
425
+ </reference>
426
+ </catalog_seo_searchterm_popular>
427
+
428
+ </layout>
app/design/frontend/default/perfume/layout/catalogsearch.xml ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package base_default
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+
28
+ -->
29
+ <layout version="0.1.0">
30
+
31
+ <default>
32
+ <reference name="header">
33
+ <block type="core/template" name="top.search" as="topSearch" template="catalogsearch/form.mini.phtml"/>
34
+ </reference>
35
+ <reference name="footer_links">
36
+ <action method="addLink" translate="label title" module="catalogsearch" ifconfig="catalog/seo/search_terms">
37
+ <label>Search Terms</label>
38
+ <url helper="catalogsearch/getSearchTermUrl" />
39
+ <title>Search Terms</title>
40
+ </action>
41
+ <action method="addLink" translate="label title" module="catalogsearch">
42
+ <label>Advanced Search</label>
43
+ <url helper="catalogsearch/getAdvancedSearchUrl" />
44
+ <title>Advanced Search</title>
45
+ </action>
46
+ </reference>
47
+ </default>
48
+
49
+ <catalogsearch_result_index translate="label">
50
+ <label>Quick Search Form</label>
51
+
52
+ <reference name="left">
53
+ <block type="catalogsearch/layer" name="catalogsearch.leftnav" after="currency" template="catalog/layer/view.phtml"/>
54
+ </reference>
55
+ <reference name="content">
56
+ <block type="catalogsearch/result" name="search.result" template="catalogsearch/result.phtml">
57
+ <block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml"><action method="setColumnCount"><columns>4</columns></action>
58
+ <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
59
+ <block type="page/html_pager" name="product_list_toolbar_pager"/>
60
+ </block>
61
+ <action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
62
+ <action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
63
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
64
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
65
+ <action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action>
66
+ <action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
67
+ </block>
68
+ <action method="setListOrders"/>
69
+ <action method="setListModes"/>
70
+ <action method="setListCollection"/>
71
+ </block>
72
+ </reference>
73
+ </catalogsearch_result_index>
74
+
75
+ <catalogsearch_advanced_index translate="label">
76
+ <label>Advanced Search Form</label>
77
+ <!-- Mage_Catalogsearch -->
78
+
79
+ <reference name="head">
80
+ <action method="addItem"><type>js_css</type><name>calendar/calendar-win2k-1.css</name><params/><!--<if/><condition>can_load_calendar_js</condition>--></action>
81
+ <action method="addItem"><type>js</type><name>calendar/calendar.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
82
+ <action method="addItem"><type>js</type><name>calendar/calendar-setup.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
83
+ </reference>
84
+ <reference name="content">
85
+ <block type="catalogsearch/advanced_form" name="catalogsearch_advanced_form" template="catalogsearch/advanced/form.phtml"/>
86
+ <block type="core/html_calendar" name="html_calendar" as="html_calendar" template="page/js/calendar.phtml"/>
87
+ </reference>
88
+ </catalogsearch_advanced_index>
89
+
90
+ <!--
91
+ Advanced search results
92
+ -->
93
+
94
+ <catalogsearch_advanced_result translate="label">
95
+ <label>Advanced Search Result</label>
96
+ <update handle="page_two_columns_right" />
97
+ <!-- Mage_Catalogsearch -->
98
+
99
+ <reference name="content">
100
+ <block type="catalogsearch/advanced_result" name="catalogsearch_advanced_result" template="catalogsearch/advanced/result.phtml">
101
+ <block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml"><action method="setColumnCount"><columns>4</columns></action>
102
+ <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
103
+ <block type="page/html_pager" name="product_list_toolbar_pager"/>
104
+ </block>
105
+ <action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
106
+ <action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
107
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
108
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
109
+ <action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action>
110
+ <action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
111
+ </block>
112
+ <action method="setListOrders"/>
113
+ <action method="setListModes"/>
114
+ <action method="setListCollection"/>
115
+ </block>
116
+ </reference>
117
+ </catalogsearch_advanced_result>
118
+
119
+ <catalogsearch_term_popular translate="label">
120
+ <label>Popular Search Terms</label>
121
+ <remove name="right"/>
122
+ <remove name="left"/>
123
+
124
+
125
+ <reference name="content">
126
+ <block type="catalogsearch/term" name="seo.searchterm" template="catalogsearch/term.phtml"/>
127
+ </reference>
128
+ </catalogsearch_term_popular>
129
+
130
+ </layout>
app/design/frontend/default/perfume/layout/checkout.xml ADDED
@@ -0,0 +1,410 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package base_default
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+
28
+ -->
29
+ <layout version="0.1.0">
30
+
31
+ <!--
32
+ Default layout, loads most of the pages
33
+ -->
34
+
35
+ <default>
36
+
37
+ <!-- Mage_Checkout -->
38
+
39
+ </default>
40
+
41
+ <checkout_cart_index translate="label">
42
+ <label>Shopping Cart</label>
43
+ <remove name="right"/>
44
+ <remove name="left"/>
45
+ <!-- Mage_Checkout -->
46
+ <reference name="root">
47
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
48
+ </reference>
49
+ <reference name="content">
50
+ <block type="checkout/cart" name="checkout.cart">
51
+ <action method="setCartTemplate"><value>checkout/cart.phtml</value></action>
52
+ <action method="setEmptyTemplate"><value>checkout/cart/noItems.phtml</value></action>
53
+ <action method="chooseTemplate"/>
54
+ <action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/item/default.phtml</template></action>
55
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/item/default.phtml</template></action>
56
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/item/default.phtml</template></action>
57
+
58
+ <block type="core/text_list" name="checkout.cart.top_methods" as="top_methods" translate="label">
59
+ <label>Payment Methods Before Checkout Button</label>
60
+ <block type="checkout/onepage_link" name="checkout.cart.methods.onepage" template="checkout/onepage/link.phtml"/>
61
+ </block>
62
+
63
+ <block type="page/html_wrapper" name="checkout.cart.form.before" as="form_before" translate="label">
64
+ <label>Shopping Cart Form Before</label>
65
+ </block>
66
+
67
+ <block type="core/text_list" name="checkout.cart.methods" as="methods" translate="label">
68
+ <label>Payment Methods After Checkout Button</label>
69
+ <block type="checkout/onepage_link" name="checkout.cart.methods.onepage" template="checkout/onepage/link.phtml"/>
70
+ <block type="checkout/multishipping_link" name="checkout.cart.methods.multishipping" template="checkout/multishipping/link.phtml"/>
71
+ </block>
72
+
73
+ <block type="checkout/cart_coupon" name="checkout.cart.coupon" as="coupon" template="checkout/cart/coupon.phtml"/>
74
+ <block type="checkout/cart_shipping" name="checkout.cart.shipping" as="shipping" template="checkout/cart/shipping.phtml"/>
75
+ <block type="checkout/cart_crosssell" name="checkout.cart.crosssell" as="crosssell" template="checkout/cart/crosssell.phtml"/>
76
+
77
+ <block type="checkout/cart_totals" name="checkout.cart.totals" as="totals" template="checkout/cart/totals.phtml"/>
78
+ </block>
79
+ </reference>
80
+ <block type="core/text_list" name="additional.product.info" translate="label">
81
+ <label>Additional Product Info</label>
82
+ </block>
83
+ </checkout_cart_index>
84
+
85
+ <!--
86
+ Multi address shipping checkout main layout,
87
+ will be rendered on all checkout pages
88
+ -->
89
+
90
+ <checkout_multishipping translate="label">
91
+ <label>Multishipping Checkout</label>
92
+ <!-- Mage_Checkout -->
93
+ <remove name="right"/>
94
+ <remove name="left"/>
95
+
96
+ <reference name="root">
97
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
98
+ </reference>
99
+ <reference name="content">
100
+ <block type="checkout/multishipping_state" name="checkout_state" template="checkout/multishipping/state.phtml"/>
101
+ </reference>
102
+ </checkout_multishipping>
103
+
104
+ <checkout_multishipping_login>
105
+ <update handle="customer_account_login"/>
106
+ </checkout_multishipping_login>
107
+
108
+ <checkout_multishipping_register>
109
+ <update handle="customer_account_create"/>
110
+ </checkout_multishipping_register>
111
+
112
+ <!--
113
+ Multi address shipping checkout selection of address per item page
114
+ -->
115
+
116
+ <checkout_multishipping_address_select translate="label">
117
+ <label>Multishipping Checkout Shipping Address Selection</label>
118
+ <update handle="checkout_multishipping"/>
119
+ <!-- Mage_Checkout -->
120
+ <reference name="content">
121
+ <block type="checkout/multishipping_address_select" name="checkout_address_select" template="checkout/multishipping/address/select.phtml"/>
122
+ </reference>
123
+ </checkout_multishipping_address_select>
124
+
125
+ <checkout_multishipping_address_selectbilling translate="label">
126
+ <label>Multishipping Checkout Billing Address Selection</label>
127
+ <update handle="checkout_multishipping"/>
128
+ <!-- Mage_Checkout -->
129
+ <reference name="content">
130
+ <block type="checkout/multishipping_address_select" name="checkout_address_select" template="checkout/multishipping/address/select.phtml"/>
131
+ </reference>
132
+ </checkout_multishipping_address_selectbilling>
133
+
134
+
135
+ <checkout_multishipping_address_newshipping translate="label">
136
+ <label>Multishipping Checkout Shipping Address Creation</label>
137
+ <update handle="checkout_multishipping"/>
138
+ <update handle="checkout_multishipping_customer_address"/>
139
+ </checkout_multishipping_address_newshipping>
140
+
141
+ <checkout_multishipping_address_newbilling translate="label">
142
+ <label>Multishipping Checkout Billing Address Creation</label>
143
+ <update handle="checkout_multishipping"/>
144
+ <update handle="checkout_multishipping_customer_address"/>
145
+ </checkout_multishipping_address_newbilling>
146
+
147
+ <checkout_multishipping_address_editshipping translate="label">
148
+ <label>Multishipping Checkout Shipping Address Edit Form</label>
149
+ <update handle="checkout_multishipping"/>
150
+ <update handle="checkout_multishipping_customer_address"/>
151
+ </checkout_multishipping_address_editshipping>
152
+
153
+ <checkout_multishipping_address_editaddress>
154
+ <update handle="checkout_multishipping"/>
155
+ <update handle="checkout_multishipping_customer_address"/>
156
+ </checkout_multishipping_address_editaddress>
157
+
158
+ <checkout_multishipping_address_editbilling translate="label">
159
+ <label>Multishipping Checkout Billing Address Edit Form</label>
160
+ <update handle="checkout_multishipping"/>
161
+ <update handle="checkout_multishipping_customer_address"/>
162
+ </checkout_multishipping_address_editbilling>
163
+
164
+ <checkout_multishipping_customer_address translate="label">
165
+ <label>Multishipping Checkout Customer Address Edit Form</label>
166
+ <reference name="content">
167
+ <block type="customer/address_edit" name="customer_address_edit" template="customer/address/edit.phtml"/>
168
+ </reference>
169
+ </checkout_multishipping_customer_address>
170
+
171
+ <!--
172
+ Multi address shipping checkout address page
173
+ -->
174
+
175
+ <checkout_multishipping_addresses translate="label">
176
+ <label>Multishipping Checkout Address (Any) Form</label>
177
+ <update handle="checkout_multishipping"/>
178
+ <!-- Mage_Checkout -->
179
+ <reference name="content">
180
+ <block type="checkout/multishipping_addresses" name="checkout_addresses" template="checkout/multishipping/addresses.phtml">
181
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
182
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
183
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
184
+ </block>
185
+ </reference>
186
+ </checkout_multishipping_addresses>
187
+
188
+ <!--
189
+ Multi address shipping checkout shipping information
190
+ -->
191
+
192
+ <checkout_multishipping_shipping translate="label">
193
+ <label>Multishipping Checkout Shipping Information Step</label>
194
+ <update handle="checkout_multishipping"/>
195
+ <!-- Mage_Checkout -->
196
+ <reference name="content">
197
+ <block type="checkout/multishipping_shipping" name="checkout_shipping" template="checkout/multishipping/shipping.phtml">
198
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
199
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
200
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
201
+
202
+ <block type="checkout/multishipping_billing_items" name="checkout_billing_items" template="checkout/multishipping/billing/items.phtml">
203
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
204
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
205
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
206
+ </block>
207
+ </block>
208
+ </reference>
209
+ </checkout_multishipping_shipping>
210
+
211
+ <!--
212
+ Multi address shipping checkout billing information
213
+ -->
214
+
215
+ <checkout_multishipping_billing translate="label">
216
+ <label>Multishipping Checkout Billing Information Step</label>
217
+ <update handle="checkout_multishipping"/>
218
+ <!-- Mage_Checkout -->
219
+ <reference name="content">
220
+ <block type="checkout/multishipping_billing" name="checkout_billing" template="checkout/multishipping/billing.phtml">
221
+ <action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
222
+
223
+ <!--<block type="checkout/multishipping_billing_items" name="checkout_billing_items" template="checkout/multishipping/billing/items.phtml">
224
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
225
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
226
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
227
+ </block>-->
228
+
229
+ </block>
230
+ </reference>
231
+ </checkout_multishipping_billing>
232
+
233
+ <!--
234
+ Multi address shipping checkout overview
235
+ -->
236
+
237
+ <checkout_multishipping_overview translate="label">
238
+ <label>Multishipping Checkout Overview</label>
239
+ <update handle="checkout_multishipping"/>
240
+ <!-- Mage_Checkout -->
241
+ <reference name="content">
242
+ <block type="checkout/multishipping_overview" name="checkout_overview" template="checkout/multishipping/overview.phtml">
243
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
244
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
245
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
246
+ <action method="addRowItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/overview/item.phtml</template></action>
247
+ <action method="addRowItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/overview/item.phtml</template></action>
248
+ <block type="checkout/multishipping_payment_info" name="payment_info">
249
+ <action method="setInfoTemplate"><method></method><template></template></action>
250
+ </block>
251
+ <block type="checkout/agreements" name="checkout.multishipping.agreements" as="agreements" template="checkout/multishipping/agreements.phtml"/>
252
+ <block type="checkout/cart_totals" name="totals" />
253
+ <block type="core/text_list" name="checkout.multishipping.overview.items.after" as="items_after" translate="label">
254
+ <label>Overview Items After</label>
255
+ </block>
256
+ </block>
257
+ </reference>
258
+ </checkout_multishipping_overview>
259
+
260
+ <!--
261
+ Multi address shipping checkout success
262
+ -->
263
+
264
+ <checkout_multishipping_success translate="label">
265
+ <label>Multishipping Checkout Success</label>
266
+ <update handle="checkout_multishipping"/>
267
+ <!-- Mage_Checkout -->
268
+ <reference name="content">
269
+ <block type="checkout/multishipping_success" name="checkout_success" template="checkout/multishipping/success.phtml"/>
270
+ </reference>
271
+ </checkout_multishipping_success>
272
+
273
+ <!--
274
+ One page checkout main layout
275
+ -->
276
+
277
+ <checkout_onepage_index translate="label">
278
+ <label>One Page Checkout</label>
279
+ <!-- Mage_Checkout -->
280
+ <remove name="left"/>
281
+
282
+ <reference name="root">
283
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
284
+ </reference>
285
+ <reference name="right">
286
+ <action method="unsetChildren"></action>
287
+ <block type="page/html_wrapper" name="checkout.progress.wrapper" translate="label">
288
+ <label>Checkout Progress Wrapper</label>
289
+ <action method="setElementId"><value>checkout-progress-wrapper</value></action>
290
+ <block type="checkout/onepage_progress" name="checkout.progress" before="-" template="checkout/onepage/progress.phtml"/>
291
+ </block>
292
+ </reference>
293
+ <reference name="content">
294
+ <block type="checkout/onepage" name="checkout.onepage" template="checkout/onepage.phtml">
295
+ <block type="checkout/onepage_login" name="checkout.onepage.login" as="login" template="checkout/onepage/login.phtml">
296
+ <block type="page/html_wrapper" name="checkout.onepage.login.before" as="login_before" translate="label">
297
+ <label>Login/Registration Before</label>
298
+ <action method="setMayBeInvisible"><value>1</value></action>
299
+ </block>
300
+ </block>
301
+ <block type="checkout/onepage_billing" name="checkout.onepage.billing" as="billing" template="checkout/onepage/billing.phtml"/>
302
+ <block type="checkout/onepage_shipping" name="checkout.onepage.shipping" as="shipping" template="checkout/onepage/shipping.phtml"/>
303
+ <block type="checkout/onepage_shipping_method" name="checkout.onepage.shipping_method" as="shipping_method" template="checkout/onepage/shipping_method.phtml">
304
+ <block type="checkout/onepage_shipping_method_available" name="checkout.onepage.shipping_method.available" as="available" template="checkout/onepage/shipping_method/available.phtml"/>
305
+ <block type="checkout/onepage_shipping_method_additional" name="checkout.onepage.shipping_method.additional" as="additional" template="checkout/onepage/shipping_method/additional.phtml"/>
306
+ </block>
307
+ <block type="checkout/onepage_payment" name="checkout.onepage.payment" as="payment" template="checkout/onepage/payment.phtml">
308
+ <block type="checkout/onepage_payment_methods" name="checkout.payment.methods" as="methods" template="checkout/onepage/payment/methods.phtml">
309
+ <action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
310
+ </block>
311
+ </block>
312
+ <block type="checkout/onepage_review" name="checkout.onepage.review" as="review" template="checkout/onepage/review.phtml">
313
+ <block type="checkout/agreements" name="checkout.onepage.agreements" as="agreements" template="checkout/onepage/agreements.phtml"/>
314
+ </block>
315
+ </block>
316
+ </reference>
317
+ </checkout_onepage_index>
318
+
319
+ <!--
320
+ One page checkout progress block
321
+ -->
322
+
323
+ <checkout_onepage_progress>
324
+ <!-- Mage_Checkout -->
325
+ <remove name="right"/>
326
+ <remove name="left"/>
327
+
328
+ <block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress.phtml">
329
+ <block type="checkout/onepage_payment_info" name="payment_info">
330
+ <action method="setInfoTemplate"><method></method><template></template></action>
331
+ </block>
332
+ </block>
333
+ </checkout_onepage_progress>
334
+
335
+ <!--
336
+ One page checkout payment methods block
337
+ -->
338
+ <checkout_onepage_paymentmethod>
339
+ <remove name="right"/>
340
+ <remove name="left"/>
341
+
342
+ <block type="checkout/onepage_payment_methods" name="root" output="toHtml" template="checkout/onepage/payment/methods.phtml">
343
+ <action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
344
+ </block>
345
+ </checkout_onepage_paymentmethod>
346
+
347
+
348
+ <!--
349
+ One page checkout shipping methods block
350
+ -->
351
+
352
+ <checkout_onepage_shippingmethod>
353
+ <!-- Mage_Checkout -->
354
+ <remove name="right"/>
355
+ <remove name="left"/>
356
+
357
+ <block type="checkout/onepage_shipping_method_available" name="root" output="toHtml" template="checkout/onepage/shipping_method/available.phtml"/>
358
+ </checkout_onepage_shippingmethod>
359
+
360
+ <checkout_onepage_additional>
361
+ <!-- Mage_Checkout -->
362
+ <remove name="right"/>
363
+ <remove name="left"/>
364
+
365
+ <block type="checkout/onepage_shipping_method_additional" name="root" output="toHtml" template="checkout/onepage/shipping_method/additional.phtml">
366
+ <action method="setDontDisplayContainer"><param>1</param></action>
367
+ </block>
368
+ </checkout_onepage_additional>
369
+
370
+ <!--
371
+ One page checkout order review block
372
+ -->
373
+
374
+ <checkout_onepage_review translate="label">
375
+ <label>One Page Checkout Overview</label>
376
+ <!-- Mage_Checkout -->
377
+ <remove name="right"/>
378
+ <remove name="left"/>
379
+
380
+ <block type="checkout/onepage_review_info" name="root" output="toHtml" template="checkout/onepage/review/info.phtml">
381
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
382
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/onepage/review/item.phtml</template></action>
383
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/onepage/review/item.phtml</template></action>
384
+ <block type="checkout/cart_totals" name="checkout.onepage.review.info.totals" as="totals" template="checkout/onepage/review/totals.phtml"/>
385
+ <block type="core/text_list" name="checkout.onepage.review.info.items.before" as="items_before" translate="label">
386
+ <label>Items Before</label>
387
+ </block>
388
+ </block>
389
+ </checkout_onepage_review>
390
+
391
+ <checkout_onepage_success translate="label">
392
+ <label>One Page Checkout Success</label>
393
+ <reference name="root">
394
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
395
+ </reference>
396
+ <reference name="content">
397
+ <block type="checkout/onepage_success" name="checkout.success" template="checkout/success.phtml"/>
398
+ </reference>
399
+ </checkout_onepage_success>
400
+ <checkout_onepage_failure translate="label">
401
+ <label>One Page Checkout Failure</label>
402
+ <reference name="root">
403
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
404
+ </reference>
405
+ <reference name="content">
406
+ <block type="checkout/onepage_failure" name="checkout.failure" template="checkout/onepage/failure.phtml"/>
407
+ </reference>
408
+ </checkout_onepage_failure>
409
+ <block type="core/list" name="additional.product.info"/>
410
+ </layout>
app/design/frontend/default/perfume/layout/cms.xml ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package base_default
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+ -->
28
+ <layout version="0.1.0">
29
+ <!--
30
+ Default layout, loads most of the pages
31
+ -->
32
+
33
+ <default>
34
+ <reference name="footer">
35
+ <block type="cms/block" name="cms_footer_links" before="footer_links">
36
+ <!--
37
+ The content of this block is taken from the database by its block_id.
38
+ You can manage it in admin CMS -> Static Blocks
39
+ -->
40
+ <action method="setBlockId"><block_id>footer_links</block_id></action>
41
+ </block>
42
+ </reference>
43
+ </default>
44
+
45
+ <cms_page translate="label">
46
+ <label>CMS Pages (All)</label>
47
+ <reference name="content">
48
+ <block type="core/template" name="page_content_heading" template="cms/content_heading.phtml"/>
49
+ <block type="page/html_wrapper" name="cms.wrapper" translate="label">
50
+ <label>CMS Content Wrapper</label>
51
+ <action method="setElementClass"><value>std</value></action>
52
+ <block type="cms/page" name="cms_page"/>
53
+ </block>
54
+ </reference>
55
+ </cms_page>
56
+
57
+
58
+
59
+ <cms_index_index translate="label">
60
+ <label>CMS Home Page</label>
61
+
62
+ <reference name="head">
63
+ <action method="addItem"><type>skin_js</type><name>js/jquery.cycle.all.min.js</name></action>
64
+ </reference>
65
+
66
+ <reference name="breadcrumbs">
67
+ <block type="cms/block" name="home_banner">
68
+ <action method="setBlockId"><block_id>home_banner</block_id></action>
69
+ </block>
70
+ <block type="cms/block" name="brand_slider">
71
+ <action method="setBlockId"><block_id>brand_slider</block_id></action>
72
+ </block>
73
+ </reference>
74
+
75
+ </cms_index_index>
76
+
77
+ <cms_index_defaultindex>
78
+ <remove name="right"/>
79
+ <remove name="left"/>
80
+
81
+ <reference name="root">
82
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
83
+ </reference>
84
+ <reference name="content">
85
+ <block type="core/template" name="default_home_page" template="cms/default/home.phtml"/>
86
+ </reference>
87
+ </cms_index_defaultindex>
88
+
89
+ <cms_index_noroute translate="label">
90
+ <label>CMS No-Route Page</label>
91
+ </cms_index_noroute>
92
+
93
+ <cms_index_defaultnoroute>
94
+ <remove name="right"/>
95
+ <remove name="left"/>
96
+
97
+ <reference name="root">
98
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
99
+ </reference>
100
+ <reference name="content">
101
+ <block type="core/template" name="default_no_route" template="cms/default/no-route.phtml"/>
102
+ </reference>
103
+ </cms_index_defaultnoroute>
104
+
105
+ </layout>
app/design/frontend/default/perfume/layout/customer.xml ADDED
@@ -0,0 +1,265 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package base_default
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+
28
+ Supported layout update handles (action):
29
+ - customer_account_index
30
+ - customer_address_index
31
+ - customer_address_view
32
+ - customer_account_login
33
+ - customer_account_logoutsuccess
34
+ - customer_account_create
35
+ - customer_account_forgotpassword
36
+ - customer_account_confirmation
37
+ - customer_account_edit
38
+
39
+ Supported layout update handles (special):
40
+ - default
41
+
42
+ -->
43
+ <layout version="0.1.0">
44
+
45
+ <!--
46
+ Default layout, loads most of the pages
47
+ -->
48
+
49
+ <default>
50
+ <!-- Mage_Customer -->
51
+ <reference name="top.links">
52
+ <action method="addLink" translate="label title" module="customer"><label>My Account</label><url helper="customer/getAccountUrl"/><title>My Account</title><prepare/><urlParams/><position>10</position></action>
53
+ </reference>
54
+ </default>
55
+
56
+ <!--
57
+ Load this update on every page when customer is logged in
58
+ -->
59
+
60
+ <customer_logged_in>
61
+ <reference name="top.links">
62
+ <action method="addLink" translate="label title" module="customer"><label>Log Out</label><url helper="customer/getLogoutUrl"/><title>Log Out</title><prepare/><urlParams/><position>11</position></action>
63
+ </reference>
64
+ </customer_logged_in>
65
+
66
+ <!--
67
+ Load this update on every page when customer is logged out
68
+ -->
69
+
70
+ <customer_logged_out>
71
+ <!---<reference name="right">
72
+ <block type="customer/form_login" name="customer_form_mini_login" before="-" template="customer/form/mini.login.phtml"/>
73
+ </reference>-->
74
+ <reference name="top.links">
75
+ <action method="addLink" translate="label title" module="customer"><label>Log In</label><url helper="customer/getLoginUrl"/><title>Log In</title><prepare/><urlParams/><position>11</position></action>
76
+ </reference>
77
+ <remove name="wishlist_sidebar"></remove>
78
+ <remove name="reorder"></remove>
79
+ </customer_logged_out>
80
+
81
+ <!--
82
+ Layout for customer login page
83
+ -->
84
+
85
+ <customer_account_login translate="label">
86
+ <label>Customer Account Login Form</label>
87
+ <!-- Mage_Customer -->
88
+ <remove name="right"/>
89
+ <remove name="left"/>
90
+
91
+ <reference name="root">
92
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
93
+ </reference>
94
+ <reference name="content">
95
+ <block type="customer/form_login" name="customer_form_login" template="customer/form/login.phtml"/>
96
+ </reference>
97
+ </customer_account_login>
98
+
99
+ <!--
100
+ Layout for customer log out page
101
+ -->
102
+
103
+ <customer_account_logoutsuccess translate="label">
104
+ <label>Customer Account Logout Success</label>
105
+ <!-- Mage_Customer -->
106
+ <remove name="right"/>
107
+ <remove name="left"/>
108
+
109
+ <reference name="root">
110
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
111
+ </reference>
112
+ <reference name="content">
113
+ <block type="core/template" name="customer_logout" template="customer/logout.phtml"/>
114
+ </reference>
115
+ </customer_account_logoutsuccess>
116
+
117
+ <!--
118
+ New customer registration
119
+ -->
120
+
121
+ <customer_account_create translate="label">
122
+ <label>Customer Account Registration Form</label>
123
+ <!-- Mage_Customer -->
124
+ <remove name="right"/>
125
+ <remove name="left"/>
126
+
127
+ <reference name="root">
128
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
129
+ </reference>
130
+ <reference name="content">
131
+ <block type="customer/form_register" name="customer_form_register" template="customer/form/register.phtml">
132
+ <block type="page/html_wrapper" name="customer.form.register.fields.before" as="form_fields_before" translate="label">
133
+ <label>Form Fields Before</label>
134
+ </block>
135
+ </block>
136
+ </reference>
137
+ </customer_account_create>
138
+
139
+ <customer_account_forgotpassword translate="label">
140
+ <label>Customer Forgot Password Form</label>
141
+ <remove name="right"/>
142
+ <remove name="left"/>
143
+
144
+ <reference name="root">
145
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
146
+ <action method="setHeaderTitle" translate="title" module="customer"><title>Password forgotten</title></action>
147
+ </reference>
148
+ <reference name="content">
149
+ <!--<block type="core/template" name="forgotPassword" template="customer/form/forgotpassword.phtml"/>-->
150
+ <block type="customer/account_forgotpassword" name="forgotPassword" template="customer/form/forgotpassword.phtml"/>
151
+ </reference>
152
+ </customer_account_forgotpassword>
153
+
154
+ <customer_account_confirmation>
155
+ <remove name="right"/>
156
+ <remove name="left"/>
157
+
158
+ <reference name="root">
159
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
160
+ <action method="setHeaderTitle" translate="title" module="customer"><title>Send confirmation link</title></action>
161
+ </reference>
162
+ <reference name="content">
163
+ <block type="core/template" name="accountConfirmation" template="customer/form/confirmation.phtml"/>
164
+ </reference>
165
+ </customer_account_confirmation>
166
+
167
+ <customer_account_edit translate="label">
168
+ <label>Customer Account Edit Form</label>
169
+ <update handle="customer_account"/>
170
+ <reference name="root">
171
+ <action method="setHeaderTitle" translate="title" module="customer"><title>Edit Account Info</title></action>
172
+ </reference>
173
+ <reference name="my.account.wrapper">
174
+ <block type="customer/form_edit" name="customer_edit" template="customer/form/edit.phtml"/>
175
+ </reference>
176
+
177
+ <reference name="left">
178
+ <action method="unsetChild"><name>left.permanent.callout</name></action>
179
+ </reference>
180
+ </customer_account_edit>
181
+
182
+ <!--
183
+ Customer account pages, rendered for all tabs in dashboard
184
+ -->
185
+
186
+ <customer_account translate="label">
187
+ <label>Customer My Account (All Pages)</label>
188
+ <!--remove name="catalog.compare.sidebar"/>
189
+ <remove name="sale.reorder.sidebar"/-->
190
+ <!-- Mage_Customer -->
191
+ <reference name="root">
192
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
193
+ </reference>
194
+
195
+ <reference name="content">
196
+ <block type="page/html_wrapper" name="my.account.wrapper" translate="label">
197
+ <label>My Account Wrapper</label>
198
+ <action method="setElementClass"><value>my-account</value></action>
199
+ </block>
200
+ </reference>
201
+
202
+ <reference name="left">
203
+ <block type="customer/account_navigation" name="customer_account_navigation" before="-" template="customer/account/navigation.phtml">
204
+ <action method="addLink" translate="label" module="customer"><name>account</name><path>customer/account/</path><label>Account Dashboard</label></action>
205
+ <action method="addLink" translate="label" module="customer"><name>account_edit</name><path>customer/account/edit/</path><label>Account Information</label></action>
206
+ <action method="addLink" translate="label" module="customer"><name>address_book</name><path>customer/address/</path><label>Address Book</label></action>
207
+ </block>
208
+
209
+ <block type="catalog/product_compare_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
210
+ <!-- <block type="sales/reorder_sidebar" name="sale.reorder.sidebar" as="reorder" template="sales/reorder/sidebar.phtml"/>-->
211
+ <remove name="tags_popular"/>
212
+
213
+ </reference>
214
+ </customer_account>
215
+
216
+ <!--
217
+ Customer account home dashboard layout
218
+ -->
219
+
220
+ <customer_account_index translate="label">
221
+ <label>Customer My Account Dashboard</label>
222
+ <update handle="customer_account"/>
223
+ <!-- Mage_Customer -->
224
+ <reference name="root">
225
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
226
+ </reference>
227
+ <reference name="my.account.wrapper">
228
+ <block type="customer/account_dashboard" name="customer_account_dashboard" template="customer/account/dashboard.phtml">
229
+ <block type="customer/account_dashboard_hello" name="customer_account_dashboard_hello" as="hello" template="customer/account/dashboard/hello.phtml"/>
230
+ <block type="core/template" name="customer_account_dashboard_top" as="top" />
231
+ <block type="customer/account_dashboard_info" name="customer_account_dashboard_info" as="info" template="customer/account/dashboard/info.phtml"/>
232
+ <block type="customer/account_dashboard_newsletter" name="customer_account_dashboard_newsletter" as="newsletter" template="customer/account/dashboard/newsletter.phtml"/>
233
+ <block type="customer/account_dashboard_address" name="customer_account_dashboard_address" as="address" template="customer/account/dashboard/address.phtml"/>
234
+ </block>
235
+ </reference>
236
+
237
+ </customer_account_index>
238
+
239
+ <!--
240
+ Customer account address book
241
+ -->
242
+
243
+ <customer_address_index translate="label">
244
+ <label>Customer My Account Address Book</label>
245
+ <!-- Mage_Customer -->
246
+ <update handle="customer_account"/>
247
+ <reference name="my.account.wrapper">
248
+ <block type="customer/address_book" name="address_book" template="customer/address/book.phtml"/>
249
+ </reference>
250
+ </customer_address_index>
251
+
252
+ <!--
253
+ Customer account address edit page
254
+ -->
255
+
256
+ <customer_address_form translate="label">
257
+ <label>Customer My Account Address Edit Form</label>
258
+ <!-- Mage_Customer -->
259
+ <update handle="customer_account"/>
260
+ <reference name="my.account.wrapper">
261
+ <block type="customer/address_edit" name="customer_address_edit" template="customer/address/edit.phtml"/>
262
+ </reference>
263
+ </customer_address_form>
264
+
265
+ </layout>
app/design/frontend/default/perfume/layout/newsletter.xml ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package base_default
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+
28
+ -->
29
+ <layout version="0.1.0">
30
+
31
+ <!--
32
+ Default layout, loads most of the pages
33
+ -->
34
+
35
+ <default>
36
+
37
+ <!-- Mage_Newsletter -->
38
+ <reference name="left">
39
+ <block type="newsletter/subscribe" name="newsletter" template="newsletter/subscribe.phtml" after="-"/>
40
+ </reference>
41
+
42
+ </default>
43
+
44
+ <!--
45
+ Customer account pages, rendered for all tabs in dashboard
46
+ -->
47
+
48
+ <customer_account>
49
+ <!-- Mage_Newsletter -->
50
+ <reference name="customer_account_navigation">
51
+ <action method="addLink" translate="label" module="newsletter"><name>newsletter</name><path>newsletter/manage/</path><label>Newsletter Subscriptions</label></action>
52
+ </reference>
53
+ <remove name="left.newsletter"/>
54
+ </customer_account>
55
+
56
+ <newsletter_manage_index translate="label">
57
+ <label>Customer My Account Newsletter Subscriptions</label>
58
+ <update handle="customer_account"/>
59
+ <reference name="my.account.wrapper">
60
+ <block type="customer/newsletter" name="customer_newsletter">
61
+ <block type="page/html_wrapper" name="customer.newsletter.form.before" as="form_before" translate="label">
62
+ <label>Newsletter Subscription Form Before</label>
63
+ <action method="setMayBeInvisible"><value>1</value></action>
64
+ </block>
65
+ </block>
66
+ </reference>
67
+ </newsletter_manage_index>
68
+
69
+ </layout>
app/design/frontend/default/perfume/layout/page.xml ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package base_default
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+ -->
28
+ <layout version="0.1.0">
29
+ <!--
30
+ Default layout, loads most of the pages
31
+ -->
32
+
33
+ <default translate="label" module="page">
34
+ <label>All Pages</label>
35
+ <block type="page/html" name="root" output="toHtml" template="page/2columns-left.phtml">
36
+
37
+ <block type="page/html_head" name="head" as="head">
38
+ <action method="addJs"><script>prototype/prototype.js</script></action>
39
+ <action method="addJs" ifconfig="dev/js/deprecation"><script>prototype/deprecation.js</script></action>
40
+ <action method="addJs"><script>lib/ccard.js</script></action>
41
+ <action method="addJs"><script>prototype/validation.js</script></action>
42
+ <action method="addJs"><script>scriptaculous/builder.js</script></action>
43
+ <action method="addJs"><script>scriptaculous/effects.js</script></action>
44
+ <action method="addJs"><script>scriptaculous/dragdrop.js</script></action>
45
+ <action method="addJs"><script>scriptaculous/controls.js</script></action>
46
+ <action method="addJs"><script>scriptaculous/slider.js</script></action>
47
+ <action method="addJs"><script>varien/js.js</script></action>
48
+ <action method="addJs"><script>varien/form.js</script></action>
49
+ <action method="addJs"><script>varien/menu.js</script></action>
50
+ <action method="addJs"><script>mage/translate.js</script></action>
51
+ <action method="addJs"><script>mage/cookies.js</script></action>
52
+
53
+ <action method="addCss"><stylesheet>css/styles.css</stylesheet></action>
54
+ <action method="addItem"><type>skin_css</type><name>css/styles-ie.css</name><params/><if>lt IE 8</if></action>
55
+ <action method="addCss"><stylesheet>css/widgets.css</stylesheet></action>
56
+ <action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>
57
+
58
+ <action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
59
+ <action method="addItem"><type>skin_js</type><name>js/ie6.js</name><params/><if>lt IE 7</if></action>
60
+
61
+ <!-- jQuery for shopping bag -->
62
+ <action method="addItem"><type>skin_js</type><name>js/jquery-1.7.1.min.js</name></action>
63
+ <action method="addItem"><type>skin_js</type><name>js/fragonline.js</name></action>
64
+ <!-- -->
65
+ </block>
66
+
67
+ <block type="core/text_list" name="after_body_start" as="after_body_start" translate="label">
68
+ <label>Page Top</label>
69
+ </block>
70
+
71
+ <block type="page/html_notices" name="global_notices" as="global_notices" template="page/html/notices.phtml" />
72
+
73
+ <block type="page/html_header" name="header" as="header">
74
+ <block type="page/template_links" name="top.links" as="topLinks"/>
75
+ <block type="page/switch" name="store_language" as="store_language" template="page/switch/languages.phtml"/>
76
+ <block type="core/text_list" name="top.menu" as="topMenu" translate="label">
77
+ <label>Navigation Bar</label>
78
+ </block>
79
+ <block type="checkout/cart_sidebar" name="cart-top" as="cart-top" template="checkout/cart/cart-top.phtml"/>
80
+ <block type="page/html_wrapper" name="top.container" as="topContainer" translate="label">
81
+ <label>Page Header</label>
82
+ <action method="setElementClass"><value>top-container</value></action>
83
+ </block>
84
+ </block>
85
+
86
+ <block type="page/html_breadcrumbs" name="breadcrumbs" as="breadcrumbs"/>
87
+
88
+ <block type="core/text_list" name="left" as="left" translate="label">
89
+ <label>Left Column</label>
90
+ </block>
91
+
92
+ <block type="core/messages" name="global_messages" as="global_messages"/>
93
+ <block type="core/messages" name="messages" as="messages"/>
94
+
95
+ <block type="core/text_list" name="content" as="content" translate="label">
96
+ <label>Main Content Area</label>
97
+ </block>
98
+
99
+ <block type="core/text_list" name="right" as="right" translate="label">
100
+ <label>Right Column</label>
101
+ </block>
102
+
103
+ <block type="page/html_footer" name="footer" as="footer" template="page/html/footer.phtml">
104
+ <block type="page/html_wrapper" name="bottom.container" as="bottomContainer" translate="label">
105
+ <label>Page Footer</label>
106
+ <action method="setElementClass"><value>bottom-container</value></action>
107
+ </block>
108
+
109
+ <block type="cms/block" name="footer_links_custom">
110
+ <action method="setBlockId"><block_id>footer_links_custom</block_id></action>
111
+ </block>
112
+
113
+
114
+ <block type="page/switch" name="store_switcher" as="store_switcher" template="page/switch/stores.phtml"/>
115
+ <block type="page/template_links" name="footer_links" as="footer_links" template="page/template/links.phtml"/>
116
+ </block>
117
+
118
+ <block type="core/text_list" name="before_body_end" as="before_body_end" translate="label">
119
+ <label>Page Bottom</label>
120
+ </block>
121
+ </block>
122
+
123
+ <block type="core/profiler" output="toHtml" name="core_profiler"/>
124
+ </default>
125
+
126
+ <print translate="label" module="page">
127
+ <label>All Pages (Print Version)</label>
128
+ <!-- Mage_Page -->
129
+ <block type="page/html" name="root" output="toHtml" template="page/print.phtml">
130
+
131
+ <block type="page/html_head" name="head" as="head">
132
+ <action method="addJs"><script>prototype/prototype.js</script></action>
133
+ <action method="addJs"><script>mage/translate.js</script></action>
134
+ <action method="addJs"><script>lib/ccard.js</script></action>
135
+ <action method="addJs"><script>prototype/validation.js</script></action>
136
+ <action method="addJs"><script>varien/js.js</script></action>
137
+
138
+ <action method="addCss"><stylesheet>css/styles.css</stylesheet></action>
139
+ <action method="addItem"><type>skin_css</type><name>css/styles-ie.css</name><params/><if>lt IE 8</if></action>
140
+ <action method="addCss"><stylesheet>css/widgets.css</stylesheet></action>
141
+ <action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>
142
+
143
+ <action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
144
+ <action method="addItem"><type>skin_js</type><name>js/ie6.js</name><params/><if>lt IE 7</if></action>
145
+
146
+ </block>
147
+
148
+ <block type="core/text_list" name="content" as="content" translate="label">
149
+ <label>Main Content Area</label>
150
+ </block>
151
+
152
+ </block>
153
+ </print>
154
+
155
+ <!-- Custom page layout handles -->
156
+ <page_empty translate="label">
157
+ <label>All Empty Layout Pages</label>
158
+ <reference name="root">
159
+ <action method="setTemplate"><template>page/empty.phtml</template></action>
160
+ <!-- Mark root page block that template is applied -->
161
+ <action method="setIsHandle"><applied>1</applied></action>
162
+ </reference>
163
+ </page_empty>
164
+
165
+ <page_one_column translate="label">
166
+ <label>All One-Column Layout Pages</label>
167
+ <reference name="root">
168
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
169
+ <!-- Mark root page block that template is applied -->
170
+ <action method="setIsHandle"><applied>1</applied></action>
171
+ </reference>
172
+ </page_one_column>
173
+
174
+ <page_two_columns_left translate="label">
175
+ <label>All Two-Column Layout Pages (Left Column)</label>
176
+ <reference name="root">
177
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
178
+ <!-- Mark root page block that template is applied -->
179
+ <action method="setIsHandle"><applied>1</applied></action>
180
+ </reference>
181
+ </page_two_columns_left>
182
+
183
+ <page_two_columns_right translate="label">
184
+ <label>All Two-Column Layout Pages (Right Column)</label>
185
+ <reference name="root">
186
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
187
+ <!-- Mark root page block that template is applied -->
188
+ <action method="setIsHandle"><applied>1</applied></action>
189
+ </reference>
190
+ </page_two_columns_right>
191
+
192
+ <page_three_columns translate="label">
193
+ <label>All Three-Column Layout Pages</label>
194
+ <reference name="root">
195
+ <action method="setTemplate"><template>page/3columns.phtml</template></action>
196
+ <!-- Mark root page block that template is applied -->
197
+ <action method="setIsHandle"><applied>1</applied></action>
198
+ </reference>
199
+ </page_three_columns>
200
+ </layout>
app/design/frontend/default/perfume/template/catalog/layer/view.phtml ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * Category layered navigation
30
+ *
31
+ * @see Mage_Catalog_Block_Layer_View
32
+ */
33
+ ?>
34
+ <?php if($this->canShowBlock()): ?>
35
+ <div class="block block-layered-nav">
36
+ <div class="block-title">
37
+ <strong><span><?php echo $this->__('Shop By') ?></span></strong>
38
+ </div>
39
+ <div class="block-content">
40
+ <?php echo $this->getStateHtml() ?>
41
+ <?php if($this->canShowOptions()): ?>
42
+ <p class="block-subtitle"><?php echo $this->__('Shopping Options') ?></p>
43
+ <dl id="narrow-by-list">
44
+ <?php $_filters = $this->getFilters() ?>
45
+ <?php foreach ($_filters as $_filter): ?>
46
+ <?php if($_filter->getItemsCount()): ?>
47
+ <dt class="<?php echo $this->__($_filter->getName()) ?>"><span><?php echo $this->__($_filter->getName()) ?></span></dt>
48
+ <dd class="<?php echo $this->__($_filter->getName()) ?>"><span><?php echo $_filter->getHtml() ?></span></dd>
49
+ <?php endif; ?>
50
+ <?php endforeach; ?>
51
+ </dl>
52
+ <script type="text/javascript">decorateDataList('narrow-by-list')</script>
53
+ <?php endif; ?>
54
+ </div>
55
+ </div>
56
+ <?php endif; ?>
app/design/frontend/default/perfume/template/catalog/product/list.phtml ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ $_productCollection=$this->getLoadedProductCollection();
36
+ $_helper = $this->helper('catalog/output');
37
+ ?>
38
+ <?php if(!$_productCollection->count()): ?>
39
+ <p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
40
+ <?php else: ?>
41
+ <div class="category-products">
42
+ <?php echo $this->getToolbarHtml() ?>
43
+ <?php // List mode ?>
44
+ <?php if($this->getMode()!='grid'): ?>
45
+ <?php $_iterator = 0; ?>
46
+ <ol class="products-list" id="products-list">
47
+ <?php foreach ($_productCollection as $_product): ?>
48
+ <li class="item<?php if( ++$_iterator == sizeof($_productCollection) ): ?> last<?php endif; ?>">
49
+ <?php // Product Image ?>
50
+ <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(135); ?>" width="135" height="135" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" /></a>
51
+ <?php // Product description ?>
52
+ <div class="product-shop">
53
+ <div class="f-fix">
54
+ <?php $_productNameStripped = $this->stripTags($_product->getName(), null, true); ?>
55
+ <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped; ?>"><?php echo $_helper->productAttribute($_product, $_product->getName() , 'name'); ?></a></h2>
56
+ <?php if($_product->getRatingSummary()): ?>
57
+ <?php echo $this->getReviewsSummaryHtml($_product) ?>
58
+ <?php endif; ?>
59
+ <?php echo $this->getPriceHtml($_product, true) ?>
60
+ <?php if($_product->isSaleable()): ?>
61
+ <p class="availability in-stock"><span><?php echo $this->__('In stock') ?></span></p>
62
+ <?php else: ?>
63
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
64
+ <?php endif; ?>
65
+ <div class="desc std">
66
+ <?php echo $_helper->productAttribute($_product, $_product->getShortDescription(), 'short_description') ?>
67
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped ?>" class="link-learn"><?php echo $this->__('Learn More') ?></a>
68
+ </div>
69
+ <ul class="add-to-links">
70
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
71
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
72
+ <?php endif; ?>
73
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
74
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
75
+ <?php endif; ?>
76
+ </ul>
77
+ </div>
78
+ </div>
79
+ </li>
80
+ <?php endforeach; ?>
81
+ </ol>
82
+ <script type="text/javascript">decorateList('products-list', 'none-recursive')</script>
83
+
84
+ <?php else: ?>
85
+
86
+ <?php // Grid Mode ?>
87
+
88
+ <?php $_collectionSize = $_productCollection->count() ?>
89
+ <?php $_columnCount = $this->getColumnCount(); ?>
90
+ <?php $i=0; foreach ($_productCollection as $_product): ?>
91
+ <?php if ($i++%$_columnCount==0): ?>
92
+ <ul class="products-grid">
93
+ <?php endif ?>
94
+ <li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
95
+ <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(146); ?>" width="146" height="146" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" /></a>
96
+ <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>
97
+ <?php if($_product->getRatingSummary()): ?>
98
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
99
+ <?php endif; ?>
100
+ <?php echo $this->getPriceHtml($_product, true) ?>
101
+
102
+ <?php if($_product->isSaleable()): ?>
103
+ <?php // more info ?>
104
+ <?php else: ?>
105
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
106
+ <?php endif; ?>
107
+
108
+ </li>
109
+ <?php if ($i%$_columnCount==0 || $i==$_collectionSize): ?>
110
+ </ul>
111
+ <?php endif ?>
112
+ <?php endforeach ?>
113
+ <script type="text/javascript">decorateGeneric($$('ul.products-grid'), ['odd','even','first','last'])</script>
114
+ <?php endif; ?>
115
+
116
+ <div class="toolbar-bottom">
117
+ <?php echo $this->getToolbarHtml() ?>
118
+ </div>
119
+ </div>
120
+ <?php endif; ?>
app/design/frontend/default/perfume/template/catalog/product/list/toolbar.phtml ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 toolbar
30
+ *
31
+ * @see Mage_Catalog_Block_Product_List_Toolbar
32
+ */
33
+ ?>
34
+ <?php if($this->getCollection()->getSize()): ?>
35
+ <div class="toolbar">
36
+ <div class="pager">
37
+
38
+ <?php if( $this->isExpanded() ): ?>
39
+ <div class="sorter">
40
+
41
+ <div class="sort-by">
42
+ <label><?php echo $this->__('Sort By') ?></label>
43
+ <select onchange="setLocation(this.value)">
44
+ <?php foreach($this->getAvailableOrders() as $_key=>$_order): ?>
45
+ <option value="<?php echo $this->getOrderUrl($_key, 'asc') ?>"<?php if($this->isOrderCurrent($_key)): ?> selected="selected"<?php endif; ?>>
46
+ <?php echo $this->__($_order) ?>
47
+ </option>
48
+ <?php endforeach; ?>
49
+ </select>
50
+ <?php if($this->getCurrentDirection() == 'desc'): ?>
51
+ <a href="<?php echo $this->getOrderUrl(null, 'asc') ?>" title="<?php echo $this->__('Set Ascending Direction') ?>"><img src="<?php echo $this->getSkinUrl('images/i_desc_arrow.gif') ?>" alt="<?php echo $this->__('Set Ascending Direction') ?>" class="v-middle" /></a>
52
+ <?php else: ?>
53
+ <a href="<?php echo $this->getOrderUrl(null, 'desc') ?>" title="<?php echo $this->__('Set Descending Direction') ?>"><img src="<?php echo $this->getSkinUrl('images/i_asc_arrow.gif') ?>" alt="<?php echo $this->__('Set Descending Direction') ?>" class="v-middle" /></a>
54
+ <?php endif; ?>
55
+ </div>
56
+ </div>
57
+ <?php endif; ?>
58
+
59
+ <p class="amount">
60
+ <?php if($this->getLastPageNum()>1): ?>
61
+ <?php echo $this->__('Items %s to %s of %s total', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?>
62
+ <?php else: ?>
63
+ <strong><?php echo $this->__('%s Item(s)', $this->getTotalNum()) ?></strong>
64
+ <?php endif; ?>
65
+ </p>
66
+
67
+ <?php echo $this->getPagerHtml() ?>
68
+
69
+ </div>
70
+ </div>
71
+ <?php endif ?>
app/design/frontend/default/perfume/template/catalog/product/view.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) 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
+ /**
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->getAddToCartUrl($_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
+
50
+ <div class="product-shop">
51
+ <div class="product-name">
52
+ <h1><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></h1>
53
+ </div>
54
+
55
+ <div class="product-tools">
56
+ <?php echo $this->getReviewsSummaryHtml($_product, false, true)?>
57
+
58
+ <?php if ($this->canEmailToFriend()): ?>
59
+ <p class="email-friend"><a href="<?php echo $this->helper('catalog/product')->getEmailToFriendUrl($_product) ?>"><?php echo $this->__('Email to a Friend') ?></a></p>
60
+ <?php endif; ?>
61
+ </div>
62
+
63
+ <?php if(!$_product->isGrouped()):?>
64
+ <?php echo $this->getChildHtml('product_type_data') ?>
65
+ <?php echo $this->getTierPriceHtml() ?>
66
+ <?php echo $this->getChildHtml('extrahint') ?>
67
+
68
+ <?php if (!$this->hasOptions()):?>
69
+ <div class="add-to-box">
70
+ <?php if($_product->isSaleable()): ?>
71
+ <?php echo $this->getChildHtml('addtocart') ?>
72
+ <?php endif; ?>
73
+ <?php echo $this->getChildHtml('addto') ?>
74
+ </div>
75
+ <?php echo $this->getChildHtml('extra_buttons') ?>
76
+ <?php else:?>
77
+ <?php echo $this->getChildHtml('addto') ?>
78
+ <?php endif; ?>
79
+
80
+ <?php endif;?>
81
+
82
+ <?php if ($_product->getShortDescription()):?>
83
+ <p class="short-description"><?php echo $_helper->productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description') ?></p>
84
+ <?php endif;?>
85
+
86
+ <?php if ($_product->getDescription()):?>
87
+ <p class="description"><?php echo $_product->getDescription();?></p>
88
+ <?php endif;?>
89
+
90
+ <?php echo $this->getChildHtml('alert_urls') ?>
91
+ <?php echo $this->getChildHtml('other');?>
92
+
93
+ <?php if ($_product->isSaleable() && $this->hasOptions()):?>
94
+ <?php echo $this->getChildChildHtml('container1', '', true, true) ?>
95
+ <?php endif;?>
96
+
97
+ </div>
98
+
99
+ <div class="product-img-box">
100
+ <?php echo $this->getChildHtml('media') ?>
101
+ </div>
102
+
103
+ <div class="clearer"></div>
104
+
105
+ <?php if($_product->isGrouped()):?>
106
+ <?php echo $this->getChildHtml('product_type_data') ?>
107
+ <?php echo $this->getTierPriceHtml() ?>
108
+ <?php echo $this->getChildHtml('extrahint') ?>
109
+ <?php //echo $this->getChildHtml('addto') ?>
110
+ <?php endif;?>
111
+
112
+
113
+
114
+ <?php if ($_product->isSaleable() && $this->hasOptions()):?>
115
+ <?php echo $this->getChildChildHtml('container2', '', true, true) ?>
116
+ <?php endif;?>
117
+ </form>
118
+ <script type="text/javascript">
119
+ //<![CDATA[
120
+ var productAddToCartForm = new VarienForm('product_addtocart_form');
121
+ productAddToCartForm.submit = function(button){
122
+ if (this.validator.validate()) {
123
+ this.form.submit();
124
+ if (button && button != 'undefined') {
125
+ button.disabled = true;
126
+ }
127
+ }
128
+ }.bind(productAddToCartForm);
129
+ //]]>
130
+ </script>
131
+ </div>
132
+
133
+ <div class="product-collateral">
134
+
135
+ <?php echo $this->getChildHtml('info_tabs') ?>
136
+
137
+
138
+ <?php foreach ($this->getChildGroup('detailed_info', 'getChildHtml') as $alias => $html):?>
139
+ <div class="box-collateral <?php echo "box-{$alias}"?>">
140
+ <?php if ($title = $this->getChildData($alias, 'title')):?>
141
+ <h2><?php echo $this->escapeHtml($title); ?></h2>
142
+ <?php endif;?>
143
+ <?php echo $html; ?>
144
+ </div>
145
+ <?php endforeach;?>
146
+
147
+ <?php echo $this->getChildHtml('product_additional_data') ?>
148
+ </div>
149
+ </div>
app/design/frontend/default/perfume/template/catalog/product/view/media.phtml ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ /**
28
+ * Product media data template
29
+ *
30
+ * @see Mage_Catalog_Block_Product_View_Media
31
+ */
32
+ ?>
33
+ <?php
34
+ $_product = $this->getProduct();
35
+ $_helper = $this->helper('catalog/output');
36
+ ?>
37
+
38
+ <p class="product-image">
39
+ <?php
40
+ $_img = '<img src="'.$this->helper('catalog/image')->init($_product, 'image')->resize(265).'" alt="'.$this->htmlEscape($this->getImageLabel()).'" title="'.$this->htmlEscape($this->getImageLabel()).'" />';
41
+ echo $_helper->productAttribute($_product, $_img, 'image');
42
+ ?>
43
+ </p>
44
+
45
+ <?php if (count($this->getGalleryImages()) > 0): ?>
46
+ <div class="more-views">
47
+ <h4><?php echo $this->__('More Views');?></h4>
48
+ <ul>
49
+ <?php foreach ($this->getGalleryImages() as $_image): ?>
50
+ <li>
51
+ <a href="#" onclick="popWin('<?php echo $this->getGalleryUrl($_image) ?>', 'gallery', 'width=300,height=300,left=0,top=0,location=no,status=yes,scrollbars=yes,resizable=yes'); return false;" title="<?php echo $this->htmlEscape($_image->getLabel()) ?>"><img src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'thumbnail', $_image->getFile())->resize(56); ?>" width="56" height="56" alt="<?php echo $this->htmlEscape($_image->getLabel()) ?>" /></a>
52
+ </li>
53
+ <?php endforeach; ?>
54
+ </ul>
55
+ </div>
56
+ <?php endif; ?>
app/design/frontend/default/perfume/template/catalog/product/view/tabs.phtml ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 default_modern
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
+ /**
28
+ * Product view template
29
+ *
30
+ * @see Mage_Catalog_Block_Product_View
31
+ */
32
+ ?>
33
+ <ul class="product-tabs">
34
+ <?php foreach ($this->getTabs() as $_index => $_tab): ?>
35
+ <?php if($this->getChildHtml($_tab['alias'])): ?>
36
+ <li id="product_tabs_<?php echo $_tab['alias'] ?>" class="<?php echo !$_index?' active first':(($_index==count($this->getTabs())-1)?' last':'')?>"><a href="#"><?php echo $_tab['title']?></a></li>
37
+ <?php endif; ?>
38
+ <?php endforeach; ?>
39
+ </ul>
40
+ <?php foreach ($this->getTabs() as $_index => $_tab): ?>
41
+ <?php if($this->getChildHtml($_tab['alias'])): ?>
42
+ <div class="product-tabs-content" id="product_tabs_<?php echo $_tab['alias'] ?>_contents"><?php echo $this->getChildHtml($_tab['alias']) ?></div>
43
+ <?php endif; ?>
44
+ <?php endforeach; ?>
45
+ <script type="text/javascript">
46
+ //<![CDATA[
47
+ Varien.Tabs = Class.create();
48
+ Varien.Tabs.prototype = {
49
+ initialize: function(selector) {
50
+ var self=this;
51
+ $$(selector+' a').each(this.initTab.bind(this));
52
+ },
53
+
54
+ initTab: function(el) {
55
+ el.href = 'javascript:void(0)';
56
+ if ($(el.parentNode).hasClassName('active')) {
57
+ this.showContent(el);
58
+ }
59
+ el.observe('click', this.showContent.bind(this, el));
60
+ },
61
+
62
+ showContent: function(a) {
63
+ var li = $(a.parentNode), ul = $(li.parentNode);
64
+ ul.select('li', 'ol').each(function(el){
65
+ var contents = $(el.id+'_contents');
66
+ if (el==li) {
67
+ el.addClassName('active');
68
+ contents.show();
69
+ } else {
70
+ el.removeClassName('active');
71
+ contents.hide();
72
+ }
73
+ });
74
+ }
75
+ }
76
+ new Varien.Tabs('.product-tabs');
77
+ //]]>
78
+ </script>
app/design/frontend/default/perfume/template/catalogsearch/form.mini.phtml ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <form id="search_mini_form" action="<?php echo $this->helper('catalogsearch')->getResultUrl() ?>" method="get">
28
+ <div class="form-search">
29
+ <input id="search" type="text" name="<?php echo $this->helper('catalogsearch')->getQueryParamName() ?>" value="<?php echo $this->helper('catalogsearch')->getEscapedQueryText() ?>" class="input-text" />
30
+
31
+ <button type="submit" title="<?php echo $this->__('Search') ?>" class="search-button"></button>
32
+
33
+ <div id="search_autocomplete" class="search-autocomplete"></div>
34
+ <script type="text/javascript">
35
+ //<![CDATA[
36
+ var searchForm = new Varien.searchForm('search_mini_form', 'search', '<?php echo $this->__('Search entire store here...') ?>');
37
+ searchForm.initAutocomplete('<?php echo $this->helper('catalogsearch')->getSuggestUrl() ?>', 'search_autocomplete');
38
+ //]]>
39
+ </script>
40
+ </div>
41
+ </form>
app/design/frontend/default/perfume/template/checkout/cart.phtml ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * Shopping cart template
30
+ *
31
+ * @see Mage_Checkout_Block_Cart
32
+ */
33
+ ?>
34
+ <div class="cart">
35
+ <div class="page-title title-buttons">
36
+ <h1><?php echo $this->__('Shopping Cart') ?></h1>
37
+ <?php if(!$this->hasError()): ?>
38
+ <ul class="checkout-types">
39
+ <?php foreach ($this->getMethods('top_methods') as $method): ?>
40
+ <?php if ($methodHtml = $this->getMethodHtml($method)): ?>
41
+ <li><?php echo $methodHtml; ?></li>
42
+ <?php endif; ?>
43
+ <?php endforeach; ?>
44
+ </ul>
45
+ <?php endif; ?>
46
+ </div>
47
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
48
+ <?php echo $this->getChildHtml('form_before') ?>
49
+ <form action="<?php echo $this->getUrl('checkout/cart/updatePost') ?>" method="post">
50
+ <fieldset>
51
+ <table id="shopping-cart-table" class="data-table cart-table">
52
+ <col width="1" />
53
+ <col />
54
+ <?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
55
+ <col width="1" />
56
+ <?php endif ?>
57
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
58
+ <col width="1" />
59
+ <?php endif; ?>
60
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
61
+ <col width="1" />
62
+ <?php endif; ?>
63
+ <col width="1" />
64
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
65
+ <col width="1" />
66
+ <?php endif; ?>
67
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
68
+ <col width="1" />
69
+ <?php endif; ?>
70
+ <col width="1" />
71
+
72
+ <?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
73
+ <thead>
74
+ <tr>
75
+ <th rowspan="<?php echo $mergedCells; ?>">&nbsp;</th>
76
+ <th rowspan="<?php echo $mergedCells; ?>"><span class="nobr"><?php echo $this->__('Product Name') ?></span></th>
77
+ <?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
78
+ <th rowspan="<?php echo $mergedCells; ?>" class="a-center"><span class="nobr"><?php echo $this->__('Move to Wishlist') ?></span></th>
79
+ <?php endif ?>
80
+ <th class="a-center" colspan="<?php echo $mergedCells; ?>"><span class="nobr"><?php echo $this->__('Unit Price') ?></span></th>
81
+ <th rowspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Qty') ?></th>
82
+ <th class="a-center" colspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Subtotal') ?></th>
83
+ <th rowspan="<?php echo $mergedCells; ?>" class="a-center">&nbsp;</th>
84
+ </tr>
85
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
86
+ <tr>
87
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
88
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
89
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
90
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
91
+ </tr>
92
+ <?php endif; ?>
93
+ </thead>
94
+ <tfoot>
95
+ <tr>
96
+ <td colspan="50" class="a-right">
97
+ <?php if($this->getContinueShoppingUrl()): ?>
98
+ <button type="button" title="<?php echo $this->__('Continue Shopping') ?>" class="button btn-continue" onclick="setLocation('<?php echo $this->getContinueShoppingUrl() ?>')"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
99
+ <?php endif; ?>
100
+ <button type="submit" title="<?php echo $this->__('Update Shopping Cart') ?>" class="button btn-update"><span><span><?php echo $this->__('Update Shopping Cart') ?></span></span></button>
101
+ </td>
102
+ </tr>
103
+ </tfoot>
104
+ <tbody>
105
+ <?php foreach($this->getItems() as $_item): ?>
106
+ <?php echo $this->getItemHtml($_item) ?>
107
+ <?php endforeach ?>
108
+ </tbody>
109
+ </table>
110
+ <script type="text/javascript">decorateTable('shopping-cart-table')</script>
111
+ </fieldset>
112
+ </form>
113
+ <div class="cart-collaterals">
114
+ <div class="col2-set">
115
+ <div class="col-1">
116
+ <?php echo $this->getChildHtml('crosssell') ?>
117
+ </div>
118
+ <div class="col-2">
119
+ <?php echo $this->getChildHtml('coupon') ?>
120
+ <?php if (!$this->getIsVirtual()): echo $this->getChildHtml('shipping'); endif; ?>
121
+ </div>
122
+ </div>
123
+ <div class="totals">
124
+ <?php echo $this->getChildHtml('totals'); ?>
125
+ <?php if(!$this->hasError()): ?>
126
+ <ul class="checkout-types">
127
+ <?php foreach ($this->getMethods('methods') as $method): ?>
128
+ <?php if ($methodHtml = $this->getMethodHtml($method)): ?>
129
+ <li><?php echo $methodHtml; ?></li>
130
+ <?php endif; ?>
131
+ <?php endforeach; ?>
132
+ </ul>
133
+ <?php endif; ?>
134
+ </div>
135
+ </div>
136
+ </div>
app/design/frontend/default/perfume/template/checkout/cart/cart-top.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) 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
+ /**
28
+ * Shoping cart sidebar
29
+ *
30
+ * @see Mage_Checkout_Block_Cart_Sidebar
31
+ */
32
+
33
+ ?>
34
+ <?php $_cartQty = $this->getSummaryCount() ?>
35
+ <div class="cart-top">
36
+
37
+ <div class="summary">
38
+ <!-- always show -->
39
+ <?php if ($_cartQty>0): ?>
40
+ <?php if ($_cartQty==1): ?>
41
+ <span><?php echo $this->__('Shopping Bag <span class="number">(1)</span>', $this->getUrl('checkout/cart')) ?></span>
42
+ <?php else: ?>
43
+ <span><?php echo $this->__('Shopping Bag <span class="number">(<a href="%s">%s</a>)</span>', $this->getUrl('checkout/cart'), $_cartQty) ?></span>
44
+ <?php endif ?>
45
+ <?php else: ?>
46
+ <span><?php echo $this->__('Shopping Bag <span class="number">(0)</span>') ?></span>
47
+ <?php endif ?>
48
+ <!-- -->
49
+ </div>
50
+
51
+ <div class="cart-content">
52
+
53
+ <?php $_items = $this->getRecentItems() ?>
54
+ <?php if(count($_items)): ?>
55
+
56
+ <ol id="cart-sidebar" class="mini-products-list">
57
+ <?php foreach($_items as $_item): ?>
58
+ <?php echo $this->getItemHtml($_item) ?>
59
+ <?php endforeach; ?>
60
+ </ol>
61
+ <script type="text/javascript">decorateList('cart-sidebar', 'none-recursive')</script>
62
+
63
+ <!-- Checkout button here if onepage enabled -->
64
+ <div class="actions">
65
+
66
+ <p class="subtotal">
67
+ <span class="label"><?php echo $this->__('Cart Subtotal:') ?></span> <?php echo Mage::helper('checkout')->formatPrice($this->getSubtotal()) ?>
68
+ <?php if ($_subtotalInclTax = $this->getSubtotalInclTax()): ?>
69
+ <br />(<?php echo Mage::helper('checkout')->formatPrice($_subtotalInclTax) ?> <?php echo Mage::helper('tax')->getIncExcText(true) ?>)
70
+ <?php endif; ?>
71
+ </p>
72
+
73
+ <button type="button" title="<?php echo $this->__('View Bag') ?>" class="button" onclick="setLocation('<?php echo $this->getUrl('checkout/cart') ?>')"><span><span><?php echo $this->__('View Bag') ?></span></span></button>
74
+
75
+
76
+ <?php if($_cartQty && $this->isPossibleOnepageCheckout()): ?>
77
+ <?php echo $this->getChildHtml('extra_actions') ?>
78
+ <button type="button" title="<?php echo $this->__('Checkout') ?>" class="button cart-checkout" onclick="setLocation('<?php echo $this->getCheckoutUrl() ?>')"><span><span><?php echo $this->__('Checkout') ?></span></span></button>
79
+ <?php endif ?>
80
+
81
+ </div>
82
+ <!-- -->
83
+
84
+ <?php else:?>
85
+ <span><strong><?php echo $this->__('Your shopping bag is currently empty.');?></strong></span>
86
+ <?php endif ?>
87
+
88
+ </div>
89
+
90
+ </div>
app/design/frontend/default/perfume/template/customer/form/login.phtml ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * Customer login form template
30
+ *
31
+ * @see Mage_Customer_Block_Form_Login
32
+ */
33
+ ?>
34
+ <div class="account-login">
35
+ <div class="page-title">
36
+ <h1><?php echo $this->__('Login or Create an Account') ?></h1>
37
+ </div>
38
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
39
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form">
40
+ <div class="col2-set">
41
+ <div class="col-1 new-users">
42
+ <div class="content">
43
+ <h2><?php echo $this->__('New Customers') ?></h2>
44
+ <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>
45
+ </div>
46
+
47
+
48
+ <div class="buttons-set">
49
+ <button type="button" title="<?php echo $this->__('Create an Account') ?>" class="button" onclick="window.location='<?php echo $this->getCreateAccountUrl() ?>';"><span><span><?php echo $this->__('Create an Account') ?></span></span></button>
50
+ </div>
51
+
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
+ </ul>
71
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
72
+ </div>
73
+
74
+ <div class="buttons-set">
75
+ <a href="<?php echo $this->getForgotPasswordUrl() ?>" class="f-left"><?php echo $this->__('Forgot Your Password?') ?></a>
76
+ <button type="submit" class="button" title="<?php echo $this->__('Login') ?>" name="send" id="send2"><span><span><?php echo $this->__('Login') ?></span></span></button>
77
+ </div>
78
+
79
+ </div>
80
+ </div>
81
+
82
+ </form>
83
+ <script type="text/javascript">
84
+ //<![CDATA[
85
+ var dataForm = new VarienForm('login-form', true);
86
+ //]]>
87
+ </script>
88
+ </div>
app/design/frontend/default/perfume/template/newsletter/subscribe.phtml ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <div class="block block-subscribe">
28
+ <div class="block-title">
29
+ <strong><span><?php echo $this->__('Newsletter') ?></span></strong>
30
+ </div>
31
+ <form action="<?php echo $this->getFormActionUrl() ?>" method="post" id="newsletter-validate-detail">
32
+ <div class="block-content">
33
+ <label for="newsletter"><?php echo $this->__('Sign Up for Our Newsletter:') ?></label>
34
+ <div class="input-box">
35
+ <input type="text" name="email" id="newsletter" title="<?php echo $this->__('Sign up for our newsletter') ?>" class="input-text required-entry validate-email" />
36
+ </div>
37
+ <div class="actions">
38
+ <button type="submit" title="<?php echo $this->__('Subscribe') ?>" class="button"><span><span><?php echo $this->__('Subscribe') ?></span></span></button>
39
+ </div>
40
+ </div>
41
+ </form>
42
+ <script type="text/javascript">
43
+ //<![CDATA[
44
+ var newsletterSubscriberFormDetail = new VarienForm('newsletter-validate-detail');
45
+ //]]>
46
+ </script>
47
+ </div>
app/design/frontend/default/perfume/template/page/2columns-left.phtml ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * Template for Mage_Page_Block_Html
30
+ */
31
+ ?>
32
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
33
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
34
+ <head>
35
+ <?php echo $this->getChildHtml('head') ?>
36
+ </head>
37
+ <body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
38
+ <?php echo $this->getChildHtml('after_body_start') ?>
39
+ <div class="wrapper">
40
+ <?php echo $this->getChildHtml('global_notices') ?>
41
+ <div class="page">
42
+ <?php echo $this->getChildHtml('header') ?>
43
+ <div class="main-container col2-left-layout">
44
+ <div class="main">
45
+ <?php echo $this->getChildHtml('breadcrumbs') ?>
46
+ <div class="col-main">
47
+ <?php echo $this->getChildHtml('global_messages') ?>
48
+ <?php echo $this->getChildHtml('content') ?>
49
+ </div>
50
+ <div class="col-left sidebar"><?php echo $this->getChildHtml('left') ?></div>
51
+ </div>
52
+ </div>
53
+ <?php echo $this->getChildHtml('footer') ?>
54
+ <?php echo $this->getChildHtml('before_body_end') ?>
55
+ </div>
56
+ </div>
57
+ <?php echo $this->getAbsoluteFooter() ?>
58
+ </body>
59
+ </html>
app/design/frontend/default/perfume/template/page/html/breadcrumbs.phtml ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 if($crumbs && is_array($crumbs)): ?>
28
+ <div class="breadcrumbs">
29
+ <ul>
30
+ <?php foreach($crumbs as $_crumbName=>$_crumbInfo): ?>
31
+ <li class="<?php echo $_crumbName ?>">
32
+ <?php if($_crumbInfo['link']): ?>
33
+ <a href="<?php echo $_crumbInfo['link'] ?>" title="<?php echo $this->htmlEscape($_crumbInfo['title']) ?>"><?php echo $this->htmlEscape($_crumbInfo['label']) ?></a>
34
+ <?php elseif($_crumbInfo['last']): ?>
35
+ <strong><?php echo $this->htmlEscape($_crumbInfo['label']) ?></strong>
36
+ <?php else: ?>
37
+ <?php echo $this->htmlEscape($_crumbInfo['label']) ?>
38
+ <?php endif; ?>
39
+ <?php if(!$_crumbInfo['last']): ?>
40
+ <span>/ </span>
41
+ <?php endif; ?>
42
+ </li>
43
+ <?php endforeach; ?>
44
+ </ul>
45
+ </div>
46
+ <?php endif; ?>
47
+ <?php echo $this->getChildHtml('home_banner') ?>
48
+ <?php echo $this->getChildHtml('brand_slider') ?>
app/design/frontend/default/perfume/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) 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
+ <div class="footer-container">
28
+ <div class="footer">
29
+ <div class="footer-top-block">
30
+ <?php echo $this->getChildHtml('footer_links_custom') ?>
31
+ <?php //echo $this->getChildHtml('newsletter') ?>
32
+ </div>
33
+
34
+ <div class="footer-bot-block">
35
+ <?php echo $this->getChildHtml('footer_links') ?>
36
+ <address><?php echo $this->getCopyright() ?></address>
37
+ </div>
38
+
39
+ </div>
40
+ </div>
app/design/frontend/default/perfume/template/page/html/head.phtml ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <link href='https://fonts.googleapis.com/css?family=PT+Sans:400,700' rel='stylesheet' type='text/css'>
28
+ <title><?php echo $this->getTitle() ?></title>
29
+ <meta http-equiv="Content-Type" content="<?php echo $this->getContentType() ?>" />
30
+ <meta name="description" content="<?php echo htmlspecialchars($this->getDescription()) ?>" />
31
+ <meta name="keywords" content="<?php echo htmlspecialchars($this->getKeywords()) ?>" />
32
+ <meta name="robots" content="<?php echo htmlspecialchars($this->getRobots()) ?>" />
33
+ <link rel="icon" href="<?php echo $this->getFaviconFile(); ?>" type="image/x-icon" />
34
+ <link rel="shortcut icon" href="<?php echo $this->getFaviconFile(); ?>" type="image/x-icon" />
35
+ <!--[if lt IE 7]>
36
+ <script type="text/javascript">
37
+ //<![CDATA[
38
+ var BLANK_URL = '<?php echo $this->helper('core/js')->getJsUrl('blank.html') ?>';
39
+ var BLANK_IMG = '<?php echo $this->helper('core/js')->getJsUrl('spacer.gif') ?>';
40
+ //]]>
41
+ </script>
42
+ <![endif]-->
43
+ <?php echo $this->getCssJsHtml() ?>
44
+ <?php echo $this->getChildHtml() ?>
45
+ <?php echo $this->helper('core/js')->getTranslatorScript() ?>
46
+ <?php echo $this->getIncludes() ?>
app/design/frontend/default/perfume/template/page/html/header.phtml ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * @var Mage_Page_Block_Html_Header $this
28
+ */
29
+ ?>
30
+ <div class="header-container">
31
+ <div class="header">
32
+ <?php if ($this->getIsHomePage()):?>
33
+ <h1 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></h1>
34
+ <?php else:?>
35
+ <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>
36
+ <?php endif?>
37
+ <div class="quick-access">
38
+ <?php echo $this->getChildHtml('topLinks') ?>
39
+ <?php echo $this->getChildHtml('cart-top')?>
40
+ </div>
41
+
42
+ <?php echo $this->getChildHtml('topSearch') ?>
43
+
44
+ <?php echo $this->getChildHtml('topContainer'); ?>
45
+
46
+ </div>
47
+ </div>
48
+ <?php echo $this->getChildHtml('topMenu') ?>
app/design/frontend/default/perfume/template/page/html/pager.phtml ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * Pager template
30
+ *
31
+ * @see Mage_Page_Block_Html_Pager
32
+ */
33
+ ?>
34
+ <?php if($this->getCollection()->getSize()): ?>
35
+
36
+ <?php if($this->getUseContainer()): ?>
37
+ <div class="pager">
38
+ <?php endif ?>
39
+
40
+ <?php if($this->getShowAmounts()): ?>
41
+ <p class="amount">
42
+ <?php if($this->getLastPageNum()>1): ?>
43
+ <?php echo $this->__('Items %s to %s of %s total', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?>
44
+ <?php else: ?>
45
+ <strong><?php echo $this->__('%s Item(s)', $this->getTotalNum()) ?></strong>
46
+ <?php endif; ?>
47
+ </p>
48
+ <?php endif ?>
49
+
50
+
51
+ <div class="pages">
52
+ <?php echo $this->__('Page:') ?>
53
+ <ol>
54
+ <?php if (!$this->isFirstPage()): ?>
55
+ <li>
56
+ <a class="previous<?php if(!$this->getAnchorTextForPrevious()): ?> i-previous<?php endif;?>" href="<?php echo $this->getPreviousPageUrl() ?>" title="<?php echo $this->__('Previous') ?>">
57
+ <?php if(!$this->getAnchorTextForPrevious()): ?>
58
+ <img src="<?php echo $this->getSkinUrl('images/pager_arrow_left.gif') ?>" alt="<?php echo $this->__('Previous') ?>" class="v-middle" />
59
+ <?php else: ?>
60
+ <?php echo $this->getAnchorTextForPrevious() ?>
61
+ <?php endif;?>
62
+ </a>
63
+ </li>
64
+ <?php endif;?>
65
+
66
+ <?php if ($this->canShowFirst()): ?>
67
+ <li><a class="first" href="<?php echo $this->getFirstPageUrl() ?>">1</a></li>
68
+ <?php endif;?>
69
+
70
+ <?php if ($this->canShowPreviousJump()): ?>
71
+ <li><a class="previous_jump" title="" href="<?php echo $this->getPreviousJumpUrl() ?>">...</a></li>
72
+ <?php endif;?>
73
+
74
+ <?php foreach ($this->getFramePages() as $_page): ?>
75
+ <?php if ($this->isPageCurrent($_page)): ?>
76
+ <li class="current"><?php echo $_page ?></li>
77
+ <?php else: ?>
78
+ <li><a href="<?php echo $this->getPageUrl($_page) ?>"><?php echo $_page ?></a></li>
79
+ <?php endif;?>
80
+ <?php endforeach;?>
81
+
82
+
83
+ <?php if ($this->canShowNextJump()): ?>
84
+ <li><a class="next_jump" title="" href="<?php echo $this->getNextJumpUrl() ?>">...</a></li>
85
+ <?php endif;?>
86
+
87
+ <?php if ($this->canShowLast()): ?>
88
+ <li><a class="last" href="<?php echo $this->getLastPageUrl() ?>"><?php echo $this->getLastPageNum() ?></a></li>
89
+ <?php endif;?>
90
+
91
+ <?php if (!$this->isLastPage()): ?>
92
+ <li>
93
+ <a class="next<?php if(!$this->getAnchorTextForNext()): ?> i-next<?php endif; ?>" href="<?php echo $this->getNextPageUrl() ?>" title="<?php echo $this->__('Next') ?>">
94
+ <?php if(!$this->getAnchorTextForNext()): ?>
95
+ <img src="<?php echo $this->getSkinUrl('images/pager_arrow_right.gif') ?>" alt="<?php echo $this->__('Next') ?>" class="v-middle" />
96
+ <?php else: ?>
97
+ <?php echo $this->getAnchorTextForNext() ?>
98
+ <?php endif;?>
99
+ </a>
100
+ </li>
101
+ <?php endif;?>
102
+ </ol>
103
+
104
+ </div>
105
+
106
+
107
+ <?php if($this->getUseContainer()): ?>
108
+ </div>
109
+ <?php endif ?>
110
+
111
+ <?php endif ?>
app/design/frontend/default/perfume/template/persistent/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) 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
+ * 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
+
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
+
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('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
+
76
+ <div class="buttons-set">
77
+ <a href="<?php echo $this->getForgotPasswordUrl() ?>" class="f-left"><?php echo $this->__('Forgot Your Password?') ?></a>
78
+ <button type="submit" class="button" title="<?php echo $this->__('Login') ?>" name="send" id="send2"><span><span><?php echo $this->__('Login') ?></span></span></button>
79
+ </div>
80
+
81
+ </div>
82
+ </div>
83
+
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>
package.xml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>Zero1_ThemePerfumeShop</name>
4
+ <version>1.0.0.0</version>
5
+ <stability>stable</stability>
6
+ <license uri="http://www.opensource.org/licenses/gpl-license.php">OSL v3.0</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>Zero1 Perfume shop theme</summary>
10
+ <description>Zero1 Perfume shop theme</description>
11
+ <notes>Magento 1.5+ package only</notes>
12
+ <authors><author><name>Arron Moss</name><user>auto-converted</user><email>arron.moss@zero1.co.uk</email></author></authors>
13
+ <date>2012-01-15</date>
14
+ <time>20:16:22</time>
15
+ <contents><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="perfume"><dir name="layout"><file name="catalog.xml" hash="63d84cb5207a47b40882b720aede3900"/><file name="catalogsearch.xml" hash="1a4f01801398f7b6b74d20415b032f88"/><file name="checkout.xml" hash="1b8bc6e42b1528006d3cf5082f2cc42f"/><file name="cms.xml" hash="cec74e5ddc143b11bbc31bf189a07341"/><file name="customer.xml" hash="5b73d1e745d7756a48d664416a10865a"/><file name="newsletter.xml" hash="d1bb075f64afe1176d53728888b6473e"/><file name="page.xml" hash="5d9dcf4ed62e4b56882bdd13dc5f4cca"/></dir><dir name="template"><dir name="catalog"><dir name="layer"><file name="view.phtml" hash="6ac4763aa11e2b3ff17a0b840e1c663f"/></dir><dir name="product"><dir name="list"><file name="toolbar.phtml" hash="5eb3032d8ede63ffeb644c2e15086ff5"/></dir><dir name="view"><file name="media.phtml" hash="b1bcdb7fa911b93118e37e0c6f10ce5e"/><file name="tabs.phtml" hash="c61f4cd2f57b2b71f1c3caa61b29b327"/></dir><file name="list.phtml" hash="ba19b00c8c6923edd416f41782dac766"/><file name="view.phtml" hash="a377dd241f6395c10254f517c0e9ff4a"/></dir></dir><dir name="catalogsearch"><file name="form.mini.phtml" hash="8850956a220363813a40a4baba55e4ca"/></dir><dir name="checkout"><dir name="cart"><file name="cart-top.phtml" hash="69235032f1b1536b340fdf5e0060cadf"/></dir><file name="cart.phtml" hash="48634ecc3a8d338c6188a174c4bdc9e7"/></dir><dir name="customer"><dir name="form"><file name="login.phtml" hash="aed405d921fd35d10b49d4ff93e47627"/></dir></dir><dir name="newsletter"><file name="subscribe.phtml" hash="d52c2b9e8e822ecbd833cad2834d9051"/></dir><dir name="page"><dir name="html"><file name="breadcrumbs.phtml" hash="e2ee4913f76e97825f972211ee6e221d"/><file name="footer.phtml" hash="a3cdd516b22796c42340042d0e8fff3f"/><file name="head.phtml" hash="a5a4c312e1c6789a3a4cc20864332efc"/><file name="header.phtml" hash="9e76a9c07359107f9232506269d5ca87"/><file name="pager.phtml" hash="d22c0c0b8eac15dded6a44a15b9090cc"/></dir><file name="2columns-left.phtml" hash="d80c1c3cff41b619fa743cfbdc98573f"/></dir><dir name="persistent"><dir name="customer"><dir name="form"><file name="login.phtml" hash="5f07665a5502155f4e5e89c3cb1be22b"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="perfume"><dir name="css"><file name="print.css" hash="1f8221e35d545cf441ea83d91e1999f8"/><file name="styles-ie.css" hash="f2365a298548027035c452f1d82cca7e"/><file name="styles.css" hash="7759b17f471e78fe77b13f975c1c6983"/></dir><dir name="images"><file name="bg-blocktitle.gif" hash="2dee5388efba54ab5fe9e983d9b1b1af"/><file name="bg-cart-down.gif" hash="dc2dd106c7e2fafc553227b5671b5e17"/><file name="bg-filter.gif" hash="9bfb4b9dc4c42304b0cb7366269946ad"/><file name="bg-nav-parent.gif" hash="092b9aafedd5636500b8db93e4a1abd5"/><file name="bg-opa10.png" hash="2731e109ed0635c768f8c013f481b4f4"/><file name="bg-opa50w.png" hash="9f38fd3f83133ede55606c8ecb75e2f2"/><file name="bg-search-button.gif" hash="5e24a16ecc0349d9ca629542d4f67ff5"/><file name="bg-search.gif" hash="bce6720578f990ca96434e86b29651b8"/><file name="bg-tab.gif" hash="7e4ae5faa2766e10d89a6cad51a5e282"/><file name="bg.gif" hash="7fa05a893d5804259f001ec9899caab3"/><file name="bkg_button.gif" hash="d9a8166e5528755a2fd994a032d4989e"/><file name="bkg_collapse.gif" hash="2333c68e38163ed4656da82b9bcf362b"/><file name="bkg_rating.gif" hash="0a8777c815350ddf1e316a537ad0c335"/><file name="btn_remove.gif" hash="6182e723aa2a253dc6cf334a3dfaaa84"/><file name="btn_trash.gif" hash="bcb22f558a0eb32243a2a36645189e9f"/><file name="btn_window_close.gif" hash="c83f3cbbb2aedfc580dff78d5cfb63ed"/><file name="cvv.gif" hash="ed0f392004a405466291071a760b285d"/><file name="email.png" hash="af58188296abfe7adbf9280a563731f2"/><file name="fam_book_open.png" hash="0ba89b9fbe7e88d4c6896ed0a1f495aa"/><file name="i_asc_arrow.gif" hash="40aa554212d6a1f60593c27d78d85fa3"/><file name="i_availability_only_arrow.gif" hash="0cf32b72fefc94b89b74e4f3f02c2e93"/><file name="i_desc_arrow.gif" hash="92fd194bfae4ce5ae3354e1e47d7ac7d"/><file name="i_msg-error.gif" hash="e4f28607f075a105e53fa3113d84bd26"/><file name="i_msg-note.gif" hash="e774ee481a2820789c1a77112377c4e0"/><file name="i_msg-success.gif" hash="834dfafd5f8b44c4b24a4c00add56fcf"/><file name="i_notice.gif" hash="ebd56dc80b8346e10e93628bc0e6c372"/><file name="i_pager-next.gif" hash="ed4d6640624c2b6edeab4c212314bd6d"/><file name="i_pager-prev.gif" hash="75973b020105dccbaf34e49d7852552d"/><file name="i_print.gif" hash="0aed138181495642e9ab29e55d194d40"/><file name="i_rss-big.png" hash="6cf70e7c52a3f3d7b833ccadb041a555"/><file name="i_rss.gif" hash="e5bbc388d818c142868b4a1df0b48793"/><file name="logo.gif" hash="b5a6b78b9e9da511b09bb3ab746644fa"/><file name="logo_email.gif" hash="c18abd5ecf801b474250ceec1574d0d9"/><file name="logo_print.gif" hash="c18abd5ecf801b474250ceec1574d0d9"/><file name="magnifier_handle.gif" hash="238fbdd7959f517db11c6f57ee4daaf4"/><file name="opc-ajax-loader.gif" hash="e805ea7eca1f34c75ba0f93780d32d38"/><file name="pager_arrow_left.gif" hash="75973b020105dccbaf34e49d7852552d"/><file name="pager_arrow_right.gif" hash="ed4d6640624c2b6edeab4c212314bd6d"/><file name="pencil.png" hash="a34e71ab08a6d1162b948d26321dea50"/><file name="slider_bg.gif" hash="87bc1b46d87de4f6252c7216216627c3"/><file name="slider_btn_zoom_in.gif" hash="ef0fc67f77f30827ee67f4e744b60781"/><file name="slider_btn_zoom_out.gif" hash="68b3d1c28dc5aec4f6b64d70a6996b6f"/><file name="spacer.gif" hash="df3e567d6f16d040326c7a0ea29a4f41"/><file name="validation_advice_bg.gif" hash="b85432906de8985a8b14eeb2dc652d3c"/></dir><dir name="js"><file name="fragonline.js" hash="cf72988e83679473c2bea0471824fdbe"/><file name="jquery-1.7.1.min.js" hash="f9d0a496f4faac94a12a0bf48ffabf0a"/><file name="jquery.cycle.all.min.js" hash="5e8262a6d25506434fce1ec102b8e535"/></dir></dir></dir></dir></target></contents>
16
+ <compatible/>
17
+ <dependencies/>
18
+ </package>
skin/frontend/default/perfume/css/print.css ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Magento
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * This source file is subject to the Academic Free License (AFL 3.0)
7
+ * that is bundled with this package in the file LICENSE_AFL.txt.
8
+ * It is also available through the world-wide-web at this URL:
9
+ * http://opensource.org/licenses/afl-3.0.php
10
+ * If you did not receive a copy of the license and are unable to
11
+ * obtain it through the world-wide-web, please send an email
12
+ * to license@magentocommerce.com so we can send you a copy immediately.
13
+ *
14
+ * DISCLAIMER
15
+ *
16
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
17
+ * versions in the future. If you wish to customize Magento for your
18
+ * needs please refer to http://www.magentocommerce.com for more information.
19
+ *
20
+ * @category design
21
+ * @package default_frag
22
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
23
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
24
+ */
25
+ * { background:none !important; text-align:left !important; }
26
+ body { background:#fff !important; font-size:9pt !important; margin:15px !important; }
27
+ a { color:#2976c9 !important; }
28
+ th,td { color:#2f2f2f !important; border-color:#ccc !important; }
29
+
30
+ .header-container,
31
+ .nav-container,
32
+ .footer-container,
33
+ .pager,
34
+ .toolbar,
35
+ .actions,
36
+ .buttons-set { display:none !important; }
37
+
38
+ .page-print .data-table .cart-tax-total { background-position:100% -54px; }
39
+ .page-print .data-table .cart-tax-info { display:block !important; }
skin/frontend/default/perfume/css/styles-ie.css ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Magento
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * This source file is subject to the Academic Free License (AFL 3.0)
7
+ * that is bundled with this package in the file LICENSE_AFL.txt.
8
+ * It is also available through the world-wide-web at this URL:
9
+ * http://opensource.org/licenses/afl-3.0.php
10
+ * If you did not receive a copy of the license and are unable to
11
+ * obtain it through the world-wide-web, please send an email
12
+ * to license@magentocommerce.com so we can send you a copy immediately.
13
+ *
14
+ * DISCLAIMER
15
+ *
16
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
17
+ * versions in the future. If you wish to customize Magento for your
18
+ * needs please refer to http://www.magentocommerce.com for more information.
19
+ *
20
+ * @category design
21
+ * @package default_frag
22
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
23
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
24
+ */
25
+
26
+ /* IE 6 only */
27
+ * html .validation-advice { height:13px; }
28
+ * html .error-msg,
29
+ * html .success-msg,
30
+ * html .note-msg,
31
+ * html .notice-msg { height:24px; }
32
+ .block li.item,
33
+ .block-poll li,
34
+ .opc li.section { vertical-align:top; }
35
+
36
+ /* Doubled Margin Fixes */
37
+ .product-view .product-img-box .more-views li,
38
+ .product-view .box-tags .form-add .input-box,
39
+ .sp-methods select.month { display:inline; }
40
+
41
+ /********** < Navigation styles */
42
+ #nav li,
43
+ #nav li a { zoom:1; }
44
+ #nav li { vertical-align:top; }
45
+ /********** < Navigation styles */
46
+
47
+ select { margin-bottom:1px; }
48
+ input.radio { width:13px; height:13px; }
49
+ input.checkbox { width:13px; height:13px; }
50
+ button.button { height:21px; }
51
+ button.button span { position:relative; }
52
+ button.btn-checkout {}
53
+ .form-list label { position:relative; z-index:0; }
54
+ .form-list label.required em { position:absolute; top:0; right:-8px; }
55
+
56
+ /*table { scrollbar-face-color:expression(runtimeStyle.scrollbarFaceColor = '#fff', cellSpacing = 0); }*/ /* Cellspacing fix for IE6-7 */
57
+
58
+ .tool-tip .btn-close a { margin:0; }
59
+
60
+ .product-view .product-img-box .zoom.disabled { filter:alpha(opacity=30); }
61
+
62
+ /* Clearer */
63
+ .clearer { display:block; clear:both; font-size:0; line-height:0; height:0; overflow:hidden; }
64
+
65
+ /* Clears and hasLayout fixes */
66
+ .header-container,
67
+ .header-container .top-container,
68
+ .header,
69
+ .header .quick-access,
70
+ #nav,
71
+ .main,
72
+ .footer,
73
+ .footer-container .bottom-container,
74
+ .col-main,
75
+ .col2-set,
76
+ .col3-set,
77
+ .col4-set,
78
+ .messages li,
79
+ .search-autocomplete li,
80
+ .block,
81
+ .block .block-content,
82
+ .block .actions,
83
+ .block li.item,
84
+ .block-poll li,
85
+ .block-poll .label,
86
+ .block-layered-nav .currently li,
87
+ .block-account .block-content li a,
88
+ .mini-products-list .product-details,
89
+ .page-title,
90
+ .rss-title h1,
91
+ .products-grid,
92
+ .products-list li.item,
93
+ .box-account .box-head,
94
+ .dashboard .box .box-title,
95
+ .box-reviews li.item,
96
+ .box-tags li.item,
97
+ .pager,
98
+ .sorter,
99
+ .ratings,
100
+ .add-to-box,
101
+ .add-to-cart,
102
+ .product-essential,
103
+ .product-collateral,
104
+ .product-view .product-img-box .more-views ul,
105
+ .product-view .product-shop .short-description,
106
+ .product-view .box-description,
107
+ .product-view .box-tags .form-add,
108
+ .product-options .options-list li,
109
+ .product-options-bottom,
110
+ .truncated,
111
+ .truncated .truncated_full_value,
112
+ .product-review,
113
+ .cart,
114
+ .cart-collaterals,
115
+ .cart .crosssell li.item,
116
+ .cart .discount,
117
+ .opc .step-title,
118
+ .opc .step,
119
+ .multiple-checkout,
120
+ .sp-methods,
121
+ .checkout-progress,
122
+ .multiple-checkout .place-order,
123
+ .form-list li,
124
+ .form-list .field,
125
+ .group-select li,
126
+ .buttons-set,
127
+ .page-print .print-head,
128
+ .cart-tax-total,
129
+ .advanced-search-summary,
130
+ .advanced-search-summary p,
131
+ .gift-messages-form .item,
132
+ .send-friend .form-list li p,
133
+ .centinel .authentication { zoom:1; }
134
+
135
+ /* Hover Fix */
136
+ iframe.hover-fix { position:absolute; left:-1px; top:-1px; z-index:-1; background:transparent; filter:progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0); }
skin/frontend/default/perfume/css/styles.css ADDED
@@ -0,0 +1,1420 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Magento
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * This source file is subject to the Academic Free License (AFL 3.0)
7
+ * that is bundled with this package in the file LICENSE_AFL.txt.
8
+ * It is also available through the world-wide-web at this URL:
9
+ * http://opensource.org/licenses/afl-3.0.php
10
+ * If you did not receive a copy of the license and are unable to
11
+ * obtain it through the world-wide-web, please send an email
12
+ * to license@magentocommerce.com so we can send you a copy immediately.
13
+ *
14
+ * DISCLAIMER
15
+ *
16
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
17
+ * versions in the future. If you wish to customize Magento for your
18
+ * needs please refer to http://www.magentocommerce.com for more information.
19
+ *
20
+ * @category design
21
+ * @package default_frag
22
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
23
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
24
+ */
25
+
26
+ /* Reset ================================================================================= */
27
+ * { margin:0; padding:0; }
28
+
29
+ body { background: url(../images/bg.gif) 0 0 #e7e7e7; background-attachment: fixed; font: 12px/1.75 Arial, Helvetica, sans-serif; color:#333; text-align:center; }
30
+
31
+ img { border:0; vertical-align:top; }
32
+
33
+ a { color:#CE4365; text-decoration:underline; }
34
+ a:hover { text-decoration:none; }
35
+ :focus { outline:0; }
36
+
37
+ ::selection {background: #d45071; color: #fff;}
38
+ ::-moz-selection {background: #d45071; color: #fff;}
39
+
40
+ /* Headings */
41
+ h1 { font-size:20px; font-weight:normal; line-height:1.15; }
42
+ h2 { font-size:18px; font-weight:normal; line-height:1.25; }
43
+ h3 { font-size:16px; font-weight:bold; line-height:1.25; }
44
+ h4 { font-size:14px; font-weight:bold; }
45
+ h5 { font-size:12px; font-weight:bold; }
46
+ h6 { font-size:11px; font-weight:bold; }
47
+
48
+ /* Forms */
49
+ form { display:inline; }
50
+ fieldset { border:0; }
51
+ legend { display:none; }
52
+
53
+ /* Table */
54
+ table { border:0; border-collapse:collapse; border-spacing:0; empty-cells:show; font-size:100%; }
55
+ caption,th,td { vertical-align:top; text-align:left; font-weight:normal; }
56
+
57
+ /* Content */
58
+ strong { font-weight:bold; }
59
+ address { font-style:normal; }
60
+ cite { font-style:normal; }
61
+ q,
62
+ blockquote { quotes:none; }
63
+ q:before,
64
+ q:after { content:''; }
65
+ small,big { font-size:1em; }
66
+ sup { font-size:1em; vertical-align:top; }
67
+
68
+ /* Lists */
69
+ ul,ol { list-style:none; }
70
+
71
+ /* Tools */
72
+ .hidden { display:block !important; border:0 !important; margin:0 !important; padding:0 !important; font-size:0 !important; line-height:0 !important; width:0 !important; height:0 !important; overflow:hidden !important; }
73
+ .nobr { white-space:nowrap !important; }
74
+ .wrap { white-space:normal !important; }
75
+ .a-left { text-align:left !important; }
76
+ .a-center { text-align:center !important; }
77
+ .a-right { text-align:right !important; }
78
+ .v-top { vertical-align:top; }
79
+ .v-middle { vertical-align:middle; }
80
+ .f-left,
81
+ .left { float:left !important; }
82
+ .f-right,
83
+ .right { float:right !important; }
84
+ .f-none { float:none !important; }
85
+ .f-fix { float:left; width:100%; }
86
+ .no-display { display:none; }
87
+ .no-margin { margin:0 !important; }
88
+ .no-padding { padding:0 !important; }
89
+ .no-bg { background:none !important; }
90
+ /* ======================================================================================= */
91
+
92
+
93
+ /* Layout ================================================================================ */
94
+ .wrapper {}
95
+ .page { width:960px; margin:0 auto; padding:0; text-align:left; }
96
+ .page-print { background:#fff; padding:20px; text-align:left; }
97
+ .page-empty { background:#fff; padding:20px; text-align:left; }
98
+ .page-popup { padding:20px; text-align:left; background: #fff;}
99
+ .main-container {background-image: url(../images/bg-opa10.png); padding: 10px; margin: 10px 0;}
100
+ .main {background: #fff;}
101
+
102
+ /* Base Columns */
103
+ .col-left { float:left; width:200px; padding:10px;}
104
+ .col-main { float:left; width:680px; padding:10px 20px; }
105
+ .col-right { float:right; width:200px; padding:10px; }
106
+
107
+ /* 1 Column Layout */
108
+ .col1-layout .col-main { float:none; width:auto; }
109
+
110
+ /* 2 Columns Layout */
111
+ .col2-left-layout .col-main { float:right; }
112
+ .col2-right-layout .col-main {}
113
+
114
+ /* 3 Columns Layout */
115
+ .col3-layout .col-main { width:484px; margin-left:10px; }
116
+ .col3-layout .col-wrapper { float:left; width:748px; }
117
+ .col3-layout .col-wrapper .col-main { float:right; }
118
+
119
+ /* Content Columns */
120
+ .col2-set .col-1 { float:left; width:49%; }
121
+ .col2-set .col-2 { float:right; width:49%; }
122
+ .col2-set .col-narrow { width:33%; }
123
+ .col2-set .col-wide { width:65%; }
124
+
125
+ .col3-set .col-1 { float:left; width:32%; }
126
+ .col3-set .col-2 { float:left; width:32%; margin-left:2%; }
127
+ .col3-set .col-3 { float:right; width:32%; }
128
+
129
+ .col4-set .col-1 { float:left; width:23.5%; }
130
+ .col4-set .col-2 { float:left; width:23.5%; margin:0 2%; }
131
+ .col4-set .col-3 { float:left; width:23.5%; }
132
+ .col4-set .col-4 { float:right; width:23.5%; }
133
+ /* ======================================================================================= */
134
+
135
+
136
+ /* Global Styles ========================================================================= */
137
+ /* Form Elements */
138
+ input,select,textarea,button { font: 12px Arial, Helvetica, sans-serif; vertical-align:middle; color:#000; }
139
+ input.input-text,select,textarea { background:#fff; border:1px solid #ccc; }
140
+ input.input-text,textarea { padding:6px; }
141
+ select { padding:3px; border:1px solid #ddd;}
142
+ select option { padding-right:10px; }
143
+ select.multiselect option { border-bottom:1px solid #ddd; padding:2px 5px; }
144
+ select.multiselect option:last-child { border-bottom:0; }
145
+ textarea { overflow:auto; border:1px solid #ddd;}
146
+ input.radio { margin-right:3px; }
147
+ input.checkbox { margin-right:3px; }
148
+ input.qty { width:2.5em !important; }
149
+ button.button::-moz-focus-inner { padding:0; border:0; } /* FF Fix */
150
+ button.button { -webkit-border-fit:lines; } /* <- Safari & Google Chrome Fix */
151
+ button.button { overflow:visible; width:auto; border:0; padding:0; margin:0; background:transparent; cursor:pointer; }
152
+ button.button span { float:left; height:17px; background: #53777c; padding:6px 12px; font:bold 14px/17px Arial, Helvetica, sans-serif; text-align:center; white-space:nowrap; color:#fff; text-transform: uppercase; text-shadow: 0px -1px 0px #000;}
153
+ button.button span span {padding: 0; border: 0;}
154
+ button.disabled {}
155
+ button.disabled span {}
156
+
157
+ button.btn-checkout.no-checkout {}
158
+
159
+ button.btn-checkout span,
160
+ button.button.btn-cart span{background: #c5003d; font-size: 16px; font-weight: bold; text-shadow: 1px 1px 2px #5e001d;}
161
+
162
+ button.button.cart-checkout span{background: #c5003d;}
163
+
164
+ p.control input.checkbox,
165
+ p.control input.radio { margin-right:6px; }
166
+ /* Form Highlight */
167
+ /*input.input-text:focus,select:focus,textarea:focus {}*/
168
+ /*.highlight { background:#efefef; }*/
169
+
170
+ /* Form lists */
171
+ /* Grouped fields */
172
+ /*.form-list { width:535px; margin:0 auto; overflow:hidden; }*/
173
+ .form-list li { margin:0 0 8px; }
174
+ .form-list label { float:left; color:#111; font-weight:bold; position:relative; z-index:0; }
175
+ .form-list label.required {}
176
+ .form-list label.required em { float:right; font-style:normal; color:#eb340a; position:absolute; top:0; right:-8px; }
177
+ .form-list li.control label { float:none; }
178
+ .form-list li.control input.radio,
179
+ .form-list li.control input.checkbox { margin-right:6px; }
180
+ .form-list li.control .input-box { clear:none; display:inline; width:auto; }
181
+ /*.form-list li.fields { margin-right:-15px; }*/
182
+ .form-list .input-box { display:block; clear:both; width:260px; }
183
+ .form-list .field { float:left; width:275px; }
184
+ .form-list input.input-text { width:254px; }
185
+ .form-list textarea { width:254px; height:10em; }
186
+ .form-list select { width:260px; }
187
+ .form-list li.wide .input-box { width:535px; }
188
+ .form-list li.wide input.input-text { width:529px; }
189
+ .form-list li.wide textarea { width:529px; }
190
+ .form-list li.wide select { width:535px; }
191
+ .form-list li.additional-row { border-top:1px solid #ccc; margin-top:10px; padding-top:7px; }
192
+ .form-list li.additional-row .btn-remove { float:right; margin:5px 0 0; }
193
+ .form-list .input-range input.input-text { width:74px; }
194
+ /* Customer */
195
+ .form-list .customer-name-prefix .input-box,
196
+ .form-list .customer-name-suffix .input-box,
197
+ .form-list .customer-name-prefix-suffix .input-box,
198
+ .form-list .customer-name-prefix-middlename .input-box,
199
+ .form-list .customer-name-middlename-suffix .input-box,
200
+ .form-list .customer-name-prefix-middlename-suffix .input-box { width:auto; }
201
+
202
+ .form-list .name-prefix { width:65px; }
203
+ .form-list .name-prefix select { width:55px; }
204
+ .form-list .name-prefix input.input-text { width:49px; }
205
+
206
+ .form-list .name-suffix { width:65px; }
207
+ .form-list .name-suffix select { width:55px; }
208
+ .form-list .name-suffix input.input-text { width:49px; }
209
+
210
+ .form-list .name-middlename { width:70px; }
211
+ .form-list .name-middlename input.input-text { width:49px; }
212
+
213
+ .form-list .customer-name-prefix-middlename-suffix .name-firstname,
214
+ .form-list .customer-name-prefix-middlename .name-firstname { width:140px; }
215
+ .form-list .customer-name-prefix-middlename-suffix .name-firstname input.input-text,
216
+ .form-list .customer-name-prefix-middlename .name-firstname input.input-text { width:124px; }
217
+ .form-list .customer-name-prefix-middlename-suffix .name-lastname { width:205px; }
218
+ .form-list .customer-name-prefix-middlename-suffix .name-lastname input.input-text { width:189px; }
219
+
220
+ .form-list .customer-name-prefix-suffix .name-firstname { width:210px; }
221
+ .form-list .customer-name-prefix-suffix .name-lastname { width:205px; }
222
+ .form-list .customer-name-prefix-suffix .name-firstname input.input-text,
223
+ .form-list .customer-name-prefix-suffix .name-lastname input.input-text { width:189px; }
224
+
225
+ .form-list .customer-name-prefix-suffix .name-firstname { width:210px; }
226
+ .form-list .customer-name-prefix-suffix .name-lastname { width:205px; }
227
+ .form-list .customer-name-prefix-suffix .name-firstname input.input-text,
228
+ .form-list .customer-name-prefix-suffix .name-lastname input.input-text { width:189px; }
229
+
230
+ .form-list .customer-name-prefix .name-firstname,
231
+ .form-list .customer-name-middlename .name-firstname { width:210px; }
232
+
233
+ .form-list .customer-name-suffix .name-lastname,
234
+ .form-list .customer-name-middlename .name-firstname,
235
+ .form-list .customer-name-middlename-suffix .name-firstname,
236
+ .form-list .customer-name-middlename-suffix .name-lastname { width:205px; }
237
+
238
+ .form-list .customer-name-prefix .name-firstname input.input-text,
239
+ .form-list .customer-name-suffix .name-lastname input.input-text,
240
+ .form-list .customer-name-middlename .name-firstname input.input-text,
241
+ .form-list .customer-name-middlename-suffix .name-firstname input.input-text,
242
+ .form-list .customer-name-middlename-suffix .name-lastname input.input-text { width:189px; }
243
+
244
+ .form-list .customer-dob .dob-month,
245
+ .form-list .customer-dob .dob-day,
246
+ .form-list .customer-dob .dob-year { float:left; width:85px; }
247
+ .form-list .customer-dob input.input-text { display:block; width:74px; }
248
+ .form-list .customer-dob label { font-size:10px; font-weight:normal; color:#888; }
249
+ .form-list .customer-dob .dob-day,
250
+ .form-list .customer-dob .dob-month { width:60px; }
251
+ .form-list .customer-dob .dob-day input.input-text,
252
+ .form-list .customer-dob .dob-month input.input-text { width:46px; }
253
+ .form-list .customer-dob .dob-year { width:140px; }
254
+ .form-list .customer-dob .dob-year input.input-text { width:134px; }
255
+
256
+ .buttons-set { clear:both; margin:1em 0 0; padding:8px 0 0; border-top:1px solid #e4e4e4; text-align:right; }
257
+ .buttons-set p.required { margin:0 0 10px; }
258
+ .buttons-set .back-link { float:left; margin:0; }
259
+ .buttons-set button.button { float:right; margin-left:5px; }
260
+
261
+ .buttons-set-order {}
262
+
263
+ .fieldset { border:1px solid #ddd; background:#fefefe; padding:22px 25px 12px 33px; margin:28px 0; }
264
+ .fieldset .legend {font-weight:bold; font-size:16px; border-bottom:1px dashed #ccc; color:#333; margin: 0 0 20px; color: #54777d;}
265
+
266
+ /* Form Validation */
267
+ .validation-advice { clear:both; min-height:13px; margin:3px 0 0; padding-left:17px; font-size:10px; line-height:13px; background:url(../images/validation_advice_bg.gif) 2px 1px no-repeat; color:#f00; }
268
+ .validation-failed { border:1px dashed #f00 !important; background:#faebe7 !important; }
269
+ .validation-passed {}
270
+ p.required { font-size:10px; text-align:right; color:#f00; }
271
+ /* Expiration date and CVV number validation fix */
272
+ .v-fix { float:left; }
273
+ .v-fix .validation-advice { display:block; width:12em; margin-right:-12em; position:relative; }
274
+
275
+ /* Global Messages */
276
+ .success { color:#3d6611; font-weight:bold; }
277
+ .error { color:#f00; font-weight:bold; }
278
+ .notice { color:#ccc; }
279
+
280
+ .messages,
281
+ .messages ul { list-style:none !important; margin:0 !important; padding:0 !important; }
282
+ .messages { width:100%; overflow:hidden; }
283
+ .messages li { margin:0 0 10px; }
284
+ .messages li li { margin:0 0 3px; }
285
+ .error-msg,
286
+ .success-msg,
287
+ .note-msg,
288
+ .notice-msg { border-style:dashed !important; border-width:1px !important; background-position:7px 7px !important; background-repeat:no-repeat !important; padding:8px 8px 8px 32px !important; font-size:11px !important; font-weight:bold !important; }
289
+ .error-msg { border-color:#f16048; background-color:#faebe7; background-image:url(../images/i_msg-error.gif); color:#df280a; }
290
+ .success-msg { border-color:#446423; background-color:#eff5ea; background-image:url(../images/i_msg-success.gif); color:#3d6611; }
291
+ .note-msg,
292
+ .notice-msg { border-color:#fcd344; background-color:#fefff0; background-image:url(../images/i_msg-note.gif);}
293
+
294
+ /* BreadCrumbs */
295
+ .breadcrumbs { padding:10px;}
296
+ .breadcrumbs li { display:inline; }
297
+
298
+ /* Page Heading */
299
+ .page-title { border-bottom:1px solid #ddd; padding:0 0 5px; margin:0 0 10px; }
300
+ .page-title h1,
301
+ .page-title h2 { font-size:30px; color:#000; font-family:"PT Sans", Arial, Helvetica, sans-serif;}
302
+ .page-title .separator { margin:0 3px; }
303
+ .page-title .link-rss { float:right; }
304
+ .title-buttons { text-align:right; }
305
+ .title-buttons h1,
306
+ .title-buttons h2,
307
+ .title-buttons h3,
308
+ .title-buttons h4,
309
+ .title-buttons h5,
310
+ .title-buttons h6 { float:left; }
311
+
312
+ .subtitle,
313
+ .sub-title { clear:both; }
314
+
315
+ /* Pager */
316
+ .pager {}
317
+ .pager .amount { float:left; margin-left: 20px;}
318
+ .pager .limiter { float:right; }
319
+ .pager .pages {float: right; text-transform: uppercase;}
320
+
321
+ .pager .pages ol { display:inline; }
322
+ .pager .pages li { display:inline; margin: 0 3px;}
323
+ .pager .pages li a{padding: 3px 6px; border: 1px solid #ccc; background: #fff; text-decoration: none;}
324
+ .pager .pages li a:hover{border-color: #aaa; box-shadow: 0px 0px 3px 0px #ccc;}
325
+
326
+ .pager .pages li a.previous,
327
+ .pager .pages li a.next{padding: 3px 6px; border: 0; background: none; text-decoration: none;}
328
+
329
+ .pager .pages li a.previous:hover,
330
+ .pager .pages li a.next:hover{border: 0; box-shadow: none;}
331
+
332
+ .pager .pages li.current {padding: 3px; font-weight: bold;}
333
+
334
+ /* Sorter */
335
+ .sorter {float: left;}
336
+ .sorter .view-mode { float:left; }
337
+ .sorter .sort-by select{padding: 1px;}
338
+ .sorter .link-feed {}
339
+
340
+ /* Toolbar */
341
+ .toolbar {background: #f4f4f4; padding: 5px; border: 1px solid #ddd; border-width: 1px 0;}
342
+ .toolbar .pager {}
343
+ .toolbar .sorter {}
344
+ .toolbar-bottom {}
345
+
346
+ /* Data Table */
347
+ .data-table { width:100%; }
348
+ .data-table th { padding:5px; border:1px solid #ddd; font-weight:bold; white-space:nowrap; }
349
+ .data-table td { padding:5px; border:1px solid #ddd; }
350
+ .data-table thead { background-color:#f2f2f2; }
351
+ .data-table tbody {}
352
+ .data-table tfoot {}
353
+ .data-table tr.first {}
354
+ .data-table tr.last {}
355
+ .data-table tr.odd {}
356
+ .data-table tr.even { background-color:#f6f6f6; }
357
+ .data-table tbody.odd {}
358
+ .data-table tbody.odd td { border-width:0 1px; }
359
+ .data-table tbody.even { background-color:#f6f6f6; }
360
+ .data-table tbody.even td { border-width:0 1px; }
361
+ .data-table tbody.odd tr.border td,
362
+ .data-table tbody.even tr.border td { border-bottom-width:1px; }
363
+ .data-table th .tax-flag { white-space:nowrap; font-weight:normal; }
364
+ .data-table td.label,
365
+ .data-table th.label { font-weight:bold; background-color:#f6f6f6; }
366
+ .data-table td.value {}
367
+
368
+ /* Shopping cart total summary row expandable to details */
369
+ tr.summary-total { cursor:pointer; }
370
+ tr.summary-total td {}
371
+ tr.summary-total .summary-collapse { float:right; text-align:right; padding-left:20px; background:url(../images/bkg_collapse.gif) 0 4px no-repeat; cursor:pointer; }
372
+ tr.show-details .summary-collapse { background-position:0 -53px; }
373
+ tr.show-details td {}
374
+ tr.summary-details td { font-size:11px; background-color:#dae1e4; color:#626465; }
375
+ tr.summary-details-first td { border-top:1px solid #d2d8db; }
376
+ tr.summary-details-excluded { font-style:italic; }
377
+
378
+ /* Shopping cart tax info */
379
+ .cart-tax-info { display:block; }
380
+ .cart-tax-info,
381
+ .cart-tax-info .cart-price { padding-right:20px; }
382
+ .cart-tax-total { display:block; padding-right:20px; background:url(../images/bkg_collapse.gif) 100% 4px no-repeat; cursor:pointer; }
383
+ .cart-tax-info .price,
384
+ .cart-tax-total .price { display:inline !important; font-weight:normal !important; }
385
+ .cart-tax-total-expanded { background-position:100% -53px; }
386
+
387
+ /* Class: std - styles for admin-controlled content */
388
+ .std .subtitle { padding:0; }
389
+ .std ol.ol { list-style:decimal outside; padding-left:1.5em; }
390
+ .std ul.disc { list-style:disc outside; padding-left:18px; margin:0 0 10px; }
391
+ .std dl dt { font-weight:bold; }
392
+ .std dl dd { margin:0 0 10px; }
393
+ /*.std ul,
394
+ .std ol,
395
+ .std dl,
396
+ .std p,
397
+ .std address,
398
+ .std blockquote { margin:0 0 1em; padding:0; }
399
+ .std ul { list-style:disc outside; padding-left:1.5em; }
400
+ .std ol { list-style:decimal outside; padding-left:1.5em; }
401
+ .std ul ul { list-style-type:circle; }
402
+ .std ul ul,
403
+ .std ol ol,
404
+ .std ul ol,
405
+ .std ol ul { margin:.5em 0; }
406
+ .std dt { font-weight:bold; }
407
+ .std dd { padding:0 0 0 1.5em; }
408
+ .std blockquote { font-style:italic; padding:0 0 0 1.5em; }
409
+ .std address { font-style:normal; }
410
+ .std b,
411
+ .std strong { font-weight:bold; }
412
+ .std i,
413
+ .std em { font-style:italic; }*/
414
+
415
+ /* Misc */
416
+ .links li { display:inline; }
417
+ .links li.first { padding-left:0 !important; }
418
+ .links li.last { background:none !important; padding-right:0 !important; }
419
+
420
+ .link-cart { font-weight:bold; color:#f00; }
421
+ .link-wishlist { font-weight:bold; }
422
+ .link-reorder { font-weight:bold; }
423
+ .link-compare { font-weight:bold; }
424
+ .link-print { background:url(../images/i_print.gif) 0 2px no-repeat; padding:2px 0 2px 25px; }
425
+ .link-rss { background:url(../images/i_rss.gif) 0 1px no-repeat; padding-left:18px; white-space:nowrap; }
426
+ .btn-remove { display:block; width:11px; height:11px; font-size:0; line-height:0; background:url(../images/btn_remove.gif) 0 0 no-repeat; text-indent:-999em; overflow:hidden; }
427
+ .btn-remove2 { display:block; width:16px; height:16px; font-size:0; line-height:0; background:url(../images/btn_trash.gif) 0 0 no-repeat; text-indent:-999em; overflow:hidden; }
428
+
429
+ .separator { margin:0 3px; }
430
+
431
+ .divider { clear:both; display:block; font-size:0; line-height:0; height:1px; margin:10px 0; background:#ddd; text-indent:-999em; overflow:hidden; }
432
+
433
+ /* Noscript Notice */
434
+ .noscript { border:1px solid #ddd; border-width:0 0 1px; background:#ffff90; font-size:12px; line-height:1.25; text-align:center; color:#2f2f2f; }
435
+ .noscript .noscript-inner { width:1000px; margin:0 auto; padding:12px 0 12px; background:url(../images/i_notice.gif) 20px 50% no-repeat; }
436
+ .noscript p { margin:0; }
437
+
438
+ /* Demo Notice */
439
+ .demo-notice { margin:0; padding:6px 10px; background:#d75f07; font-size:12px; line-height:1.15; text-align:center; color:#fff; }
440
+ /* ======================================================================================= */
441
+
442
+
443
+ /* Header ================================================================================ */
444
+ .logo { float:left; }
445
+ .header-container {}
446
+ .header {}
447
+ .header .logo { float:left; text-decoration:none !important; }
448
+ .header .logo strong { position:absolute; top:-999em; left:-999em; width:0; height:0; font-size:0; line-height:0; text-indent:-999em; overflow:hidden; }
449
+ .header h1.logo { margin:0; padding:0; }
450
+ .header .welcome-msg { font-weight:bold; text-align:right; }
451
+
452
+ .header .quick-access{float: right;}
453
+
454
+ .header .links {float: left; background-image: url(../images/bg-opa50w.png); padding: 0 15px;}
455
+ .header .links li{line-height: 30px;}
456
+ .header .links li a{font: 10px Verdana, Geneva, sans-serif; color: #333; text-decoration: none; padding: 5px;}
457
+ .header .links li a:hover{color: #000; background: #fff;}
458
+
459
+ .header .cart-top{background-color: #333; color: #fff; float: right; position: relative;}
460
+ .header .cart-top .summary{line-height: 24px; padding: 3px 25px 3px 15px; font-family: Verdana, Geneva, sans-serif; font-size: 11px; background-image: url(../images/bg-cart-down.gif); background-repeat: no-repeat; background-position: 94% 13px; }
461
+ .header .cart-top .summary:hover{cursor: pointer; background-color: #444;}
462
+ .header .cart-top .summary .number{color: #cccccc;}
463
+ .header .cart-top .summary .number a{color: #cccccc; text-decoration: none;}
464
+ .header .cart-top .cart-content{display: none; background: #000; position: absolute; top: 30px; right: 0; z-index: 999; width: 300px; padding: 20px;}
465
+
466
+ .header .cart-top .cart-content .actions{margin: 10px 0 0; padding: 10px 0 0;border-top: 1px dashed #333;}
467
+ .header .cart-top .cart-content .product-name a{color: #fff; font-size: 16px; font-weight: bold; text-decoration: none; line-height: 16px;}
468
+ .header .cart-top .cart-content .btn-remove{float: right;}
469
+ .header .cart-top .cart-content .btn-edit{display: none; float: right; clear: right;}
470
+ .header .cart-top .cart-content .subtotal{font-size: 16px; font-weight: bold;}
471
+
472
+ .header .form-search {clear: right; float: right; background-image: url(../images/bg-opa10.png); padding: 5px; margin-top: 15px;}
473
+ .header .form-search .input-text{color: #888; padding: 8px 4px; width: 240px; float: left;}
474
+ .header .form-search button.search-button{background: url(../images/bg-search-button.gif) 50% 50% no-repeat #54777d; width: 40px; height: 33px; border: 0; float: left;}
475
+ .header .form-search button.search-button:hover{cursor: pointer;}
476
+ .form-search .search-autocomplete { z-index:999; }
477
+ .form-search .search-autocomplete ul { border:1px solid #999; background-color:#f9f5f0; }
478
+ .form-search .search-autocomplete li { text-align:left; border-bottom:1px solid #f4eee7; padding:2px 8px 1px 8px; cursor:pointer; }
479
+ .form-search .search-autocomplete li .amount { float:right; font-weight:bold; }
480
+ .form-search .search-autocomplete li.odd { background-color:#f6f6f6; }
481
+ .form-search .search-autocomplete li.selected { background-color:#ecf9ea; }
482
+
483
+ .header .form-language { clear:both; text-align:right; }
484
+ .header-container .top-container { clear:both; text-align:right; }
485
+
486
+ /********** < Navigation */
487
+ .nav-container {width: 960px; background: #333; margin: 0 auto;}
488
+ #nav {padding:0; margin:0; font-size:14px; }
489
+
490
+ /* All Levels */
491
+ #nav li { text-align:left; position:relative; }
492
+ #nav li.over { z-index:998; }
493
+ #nav li.parent {}
494
+ #nav li a { display:block; text-decoration:none; }
495
+ #nav li a:hover { text-decoration:none; }
496
+ #nav li a span { display:block; white-space:nowrap; cursor:pointer; }
497
+ #nav li ul a span { white-space:normal; }
498
+
499
+ /* 1st Level */
500
+ #nav li { float:left; }
501
+ #nav li a { float:left; padding:10px 15px; color:#fff; font-family: "PT Sans", Arial, Helvetica, sans-serif;}
502
+ #nav li a:hover {color: #ce4365; background-color: #fff;}
503
+ #nav li.over a,
504
+ #nav li.active a {color: #ce4365; background-color: #fff;}
505
+
506
+ /* 2nd Level */
507
+ #nav ul,
508
+ #nav div { position:absolute; width:15em; top:38px; left:-10000px; background-color:#fff; padding: 5px 0; box-shadow: 0px 2px 3px 0px #ddd;}
509
+ #nav div ul { position:static; width:auto; border:none; }
510
+
511
+ /* 3rd+ leven */
512
+ #nav ul ul,
513
+ #nav ul div { top:1px;}
514
+
515
+ #nav ul li { float:none; /*border-bottom:1px dashed #666;*/}
516
+ #nav ul li.last { border-bottom:0; }
517
+ #nav ul li a { float:none; padding:10px 20px; font-weight:normal; color:#333 !important; text-transform: uppercase; font-size: 11px;}
518
+
519
+ /* Parent */
520
+ #nav ul li.parent a,
521
+ #nav ul.level1 li.parent a{background-image: url(../images/bg-nav-parent.gif); background-position: 95% 50%; background-repeat: no-repeat;}
522
+
523
+ #nav ul.level1 li a{background-image: none;}
524
+ #nav ul.level2 li.level3 a{background-image: none;}
525
+ /* */
526
+
527
+ #nav ul li a:hover { color:#ce4365 !important; background-color: #f4f4f4;}
528
+ #nav ul li.active > a,
529
+ #nav ul li.over > a { color:#ce4365 !important; background-color: #f4f4f4;}
530
+
531
+ /* Show menu */
532
+ #nav li ul.shown-sub,
533
+ #nav li div.shown-sub {left:0; z-index:999; }
534
+ #nav li .shown-sub ul.shown-sub,
535
+ #nav li .shown-sub li div.shown-sub { left:180px;}
536
+
537
+ /* Added */
538
+ #nav ul.level0.shown-sub{border: 1px solid #ddd; border-top:0; border-left: 0;}
539
+ #nav ul.level1.shown-sub,
540
+ #nav ul.level2.shown-sub{border: 1px solid #ddd;}
541
+
542
+ /********** Navigation > */
543
+ /* ======================================================================================= */
544
+
545
+
546
+ /* Sidebar =============================================================================== */
547
+ .block {margin:0 0 10px; }
548
+ .block .block-title { border-bottom:1px solid #e0e0e0; padding:10px; background: url(../images/bg-blocktitle.gif) bottom left repeat-x #f4f4f4;}
549
+ .block .block-title strong { font-size:12px; font-weight: normal; text-transform: uppercase; font-family: "PT Sans", Arial, Helvetica, sans-serif; text-shadow: 0px 1px 0px #ffffff;}
550
+ .block .block-title strong span {}
551
+ .block .block-title a { text-decoration:none !important; }
552
+ .block .block-subtitle { font-size:13px; font-weight:bold; }
553
+ .block .block-content { padding:10px; border-bottom: 1px solid #e0e0e0; background: #f4f4f4}
554
+ .block .block-content li.item { padding:5px 0; }
555
+ .block .btn-remove { float:right; }
556
+ .block .actions { text-align:right; }
557
+ .block .actions a { float:left; }
558
+ .block .empty {}
559
+
560
+ .block li.odd {}
561
+ .block li.even { background-color:#f6f6f6; }
562
+
563
+ /* Mini Products List */
564
+ .mini-products-list li { padding:5px 0; }
565
+ .mini-products-list .product-image { float:left; width:50px; }
566
+ .mini-products-list .product-details { margin-left:65px; }
567
+ .mini-products-list .product-details h4 { font-size:1em; font-weight:bold; margin:0; }
568
+
569
+ /* Block: Account */
570
+ .block-account {}
571
+
572
+ /* Block: Currency Switcher */
573
+ .block-currency {}
574
+ .block-currency select { width:100%; border:1px solid #888; }
575
+
576
+ /* Block: Layered Navigation */
577
+ .block-layered-nav {}
578
+ .block-layered-nav .block-subtitle{display: none;}
579
+ .block-layered-nav dt { font-weight:bold; }
580
+ .block-layered-nav .currently {margin: 0 0 15px;padding: 0 0 10px;}
581
+ .block-layered-nav .currently li{margin: 3px -10px; padding: 5px 10px; background: #dbf2c3; font-style: italic;}
582
+ .block-layered-nav .btn-remove { /*float:left; margin:3px 5px 0 0; */ margin: 3px 0 0 0;}
583
+ .block-layered-nav .block-content{}
584
+
585
+ /* Custom jQuery controlled filter */
586
+ .block-layered-nav #narrow-by-list dt{padding: 10px 0; margin: 0; border-bottom: 1px dashed #ddd; text-transform: uppercase; font: 14px "PT Sans", Arial, Helvetica, sans-serif;}
587
+ .block-layered-nav #narrow-by-list dt span{background-image: url(../images/bg-filter.gif); background-position: 0 0; background-repeat: no-repeat; padding-left: 20px;}
588
+ .block-layered-nav #narrow-by-list dt:hover{cursor: pointer; background-color: #f9f9f9;}
589
+
590
+ .block-layered-nav #narrow-by-list dt.active{border-bottom: 0;}
591
+ .block-layered-nav #narrow-by-list dt.active span{background-position: 0 -18px;}
592
+
593
+ .block-layered-nav #narrow-by-list dt.Category{border-bottom: 0;}
594
+ .block-layered-nav #narrow-by-list dt.Category span{background-position: 0 -18px;}
595
+ .block-layered-nav #narrow-by-list dt.Category.active{border-bottom: 1px dashed #ddd;}
596
+ .block-layered-nav #narrow-by-list dt.Category.active span{background-position: 0 0;}
597
+
598
+ .block-layered-nav #narrow-by-list dd{display: none; padding: 5px 10px 10px; border-bottom: 1px dashed #ccc;}
599
+
600
+ /* Block: Cart */
601
+ .block-cart {}
602
+ .block-cart .summary {}
603
+ .block-cart .amount {}
604
+ .block-cart .subtotal { text-align:center; }
605
+ .block-cart .actions .paypal-logo { float:left; width:100%; margin:3px 0 0; text-align:right; }
606
+ .block-cart .actions .paypal-logo .paypal-or { clear:both; display:block; padding:0 55px 5px 0; }
607
+
608
+ /* Block: Wishlist */
609
+ .block-wishlist {}
610
+
611
+ /* Block: Related */
612
+ .block-related {}
613
+ .block-related li { padding:5px 0; }
614
+ .block-related input.checkbox { float:left; margin-right:-20px; }
615
+ .block-related .product { margin-left:20px; }
616
+ .block-related .product .product-image { float:left; margin-right:-65px; }
617
+ .block-related .product .product-details { margin-left:65px; }
618
+
619
+ /* Block: Compare Products */
620
+ .block-compare {}
621
+ .block-compare li { padding:5px 0; }
622
+
623
+ /* Block: Recently Viewed */
624
+ .block-viewed {}
625
+
626
+ /* Block: Recently Compared */
627
+ .block-compared {}
628
+
629
+ /* Block: Poll */
630
+ .block-poll label {}
631
+ .block-poll input.radio { float:left; margin:1px -18px 0 0; }
632
+ .block-poll .label { display:block; margin-left:18px; }
633
+ .block-poll li { padding:3px 9px; }
634
+ .block-poll .actions { margin:5px 0 0; }
635
+ .block-poll .answer { font-weight:bold; }
636
+ .block-poll .votes { float:right; margin-left:10px; }
637
+
638
+ /* Block: Tags */
639
+ .block-tags ul,
640
+ .block-tags li { display:inline; }
641
+
642
+ /* Block: Subscribe */
643
+ .block-subscribe {}
644
+ .block-subscribe .block-content .input-text{width: 167px;}
645
+ .block-subscribe .block-content label,
646
+ .block-subscribe .block-content button{margin: 5px 0;}
647
+
648
+ /* Block: Reorder */
649
+ .block-reorder {}
650
+ .block-reorder li { padding:5px 0; }
651
+ .block-reorder input.checkbox { float:left; margin:3px -20px 0 0; }
652
+ .block-reorder .product-name { margin-left:20px; }
653
+
654
+ /* Block: Banner */
655
+ .block-banner {}
656
+ .block-banner .block-content { text-align:center; }
657
+
658
+ /* Block: Login */
659
+ .block-login label { font-weight:bold; color:#666; }
660
+ .block-login input.input-text { display:block; width:167px; margin:3px 0; }
661
+
662
+ /* Paypal */
663
+ .sidebar .paypal-logo { display:block; margin:10px 0; text-align:center; }
664
+ .sidebar .paypal-logo a { float:none; }
665
+ /* ======================================================================================= */
666
+
667
+
668
+ /* Category Page ========================================================================= */
669
+ .category-title { border:0; margin:0 0 7px; background: #333; padding: 20px 10px 0 10px;}
670
+ .category-title h1{ color: #fff;}
671
+ .category-image { width:100%; overflow:hidden; margin:0 0 10px; text-align:center; }
672
+ .category-image img {}
673
+ .category-description { margin:0 0 10px; }
674
+ .category-products {}
675
+
676
+ /* View Type: Grid */
677
+ .products-grid { border-bottom:1px solid #ddd; position:relative; padding: 5px 0;}
678
+ .products-grid.last { border-bottom:0; }
679
+ .products-grid li.item { float:left; width:146px; padding:10px; border: 1px solid #fff;}
680
+ .products-grid li.item:hover {border: 1px solid #ccc; cursor: pointer;}
681
+ .products-grid .product-image { display:block; width:150px; height:150px; margin:0 0 10px; }
682
+ .products-grid .product-name { margin:0 0 5px; font-weight:bold; font-size:16px; }
683
+ .products-grid .product-name a {text-decoration: none; color: #333;}
684
+ .products-grid .product-name a:hover {color: #666;}
685
+ .products-grid .price-box { margin:5px 0; }
686
+ .products-grid .price-box .price{font-size: 20px; font-weight: normal;}
687
+ .products-grid .availability { line-height:21px; }
688
+ .products-grid .actions { position:absolute; bottom:12px; }
689
+ .col2-left-layout .products-grid,
690
+ .col2-right-layout .products-grid {}
691
+ .col1-layout .products-grid {}
692
+
693
+ /* View Type: List */
694
+ .products-list li.item { border-bottom:1px solid #ddd; padding:12px 10px; }
695
+ .products-list li.item.last { border-bottom:0; }
696
+ .products-list .product-image { float:left; width:135px; height:135px; margin:0 0 10px; }
697
+ .products-list .product-shop { margin-left:150px; }
698
+ .products-list .product-name { margin:0 0 5px; font-weight:bold; font-size:16px; }
699
+ .products-list .product-name a {text-decoration: none; color: #333;}
700
+ .products-list .product-name a:hover {color: #666;}
701
+ .products-list .price-box {margin:3px; }
702
+ .products-list .availability {}
703
+ .products-list .desc { clear:both; padding:6px 0 0; margin:0 0 15px; line-height:1.35; }
704
+ .products-list .desc .link-learn {}
705
+ .products-list .add-to-links { clear:both; }
706
+ .products-list .add-to-links li { display:inline; }
707
+ .products-list .add-to-links .separator { display:inline; margin:0 2px; }
708
+ /* ======================================================================================= */
709
+
710
+
711
+ /* Product View ========================================================================== */
712
+ /* Rating */
713
+ .no-rating { margin:0; }
714
+
715
+ .ratings { font-size:11px; line-height:1.25; margin:7px 0; }
716
+ .ratings strong { float:left; margin:1px 3px 0 0; }
717
+ .ratings .rating-links { margin:0; }
718
+ .ratings .rating-links .separator { margin:0 2px; }
719
+ .ratings dt {}
720
+ .ratings dd {}
721
+ .rating-box { width:69px; height:13px; font-size:0; line-height:0; background:url(../images/bkg_rating.gif) 0 0 repeat-x; text-indent:-999em; overflow:hidden; }
722
+ .rating-box .rating { float:left; height:13px; background:url(../images/bkg_rating.gif) 0 100% repeat-x; }
723
+ .ratings .rating-box { float:left; margin-right:3px; }
724
+ .ratings .amount {}
725
+
726
+ .ratings-table th,
727
+ .ratings-table td { font-size:11px; line-height:1.15; padding:3px 0; }
728
+ .ratings-table th { font-weight:bold; padding-right:8px; }
729
+
730
+ /* Availability */
731
+ .availability { margin:0; }
732
+ .availability span { font-weight:bold; }
733
+ .availability.in-stock span {}
734
+ .availability.out-of-stock span { color:#d83820; }
735
+
736
+ .availability-only { margin:0 0 7px; }
737
+ .availability-only a { background:url(../images/i_availability_only_arrow.gif) 100% 0 no-repeat; cursor:pointer; padding-right:15px; }
738
+ .availability-only .expanded { background-position:100% -15px; }
739
+ .availability-only strong {}
740
+
741
+ .availability-only-details { margin:0 0 7px; }
742
+ .availability-only-details th { background:#f2f2f2; font-size:10px; padding:0 8px; }
743
+ .availability-only-details td { border-bottom:1px solid #ddd; font-size:11px; padding:2px 8px 1px; }
744
+ .availability-only-details tr.odd td.last {}
745
+
746
+ /* Email to a Friend */
747
+ .email-friend {}
748
+
749
+ /* Alerts */
750
+ .alert-price {}
751
+ .alert-stock {}
752
+
753
+ /********** < Product Prices */
754
+ .price { white-space:nowrap !important; }
755
+
756
+ .price-box {}
757
+ .price-box .price { font-weight:bold; color: #CE4365;}
758
+
759
+
760
+ /* Regular price */
761
+ .regular-price {}
762
+ .regular-price .price { font-weight:bold; }
763
+
764
+ /* Old price */
765
+ .old-price {}
766
+ .old-price .price-label { white-space:nowrap; }
767
+ .old-price .price { font-weight:bold; text-decoration:line-through; }
768
+
769
+ /* Special price */
770
+ .special-price {}
771
+ .special-price .price-label { font-weight:bold; white-space:nowrap; }
772
+ .special-price .price { font-weight:bold; }
773
+
774
+ /* Minimal price (as low as) */
775
+ .minimal-price {}
776
+ .minimal-price .price-label { font-weight:bold; white-space:nowrap; }
777
+
778
+ .minimal-price-link { display:block; }
779
+ .minimal-price-link .label {}
780
+ .minimal-price-link .price { font-weight:normal; }
781
+
782
+ /* Excluding tax */
783
+ .price-excluding-tax { display:block; }
784
+ .price-excluding-tax .label { white-space:nowrap; }
785
+ .price-excluding-tax .price { font-weight:normal; }
786
+
787
+ /* Including tax */
788
+ .price-including-tax { display:block; }
789
+ .price-including-tax .label { white-space:nowrap; }
790
+ .price-including-tax .price { font-weight:bold; }
791
+
792
+ /* FPT */
793
+ .weee { display:block; font-size:11px; color:#444; }
794
+ .weee .price { font-size:11px; font-weight:normal; }
795
+
796
+ /* Excl tax (for order tables) */
797
+ .price-excl-tax { display:block; }
798
+ .price-excl-tax .label { display:block; white-space:nowrap; }
799
+ .price-excl-tax .price { display:block; }
800
+
801
+ /* Incl tax (for order tables) */
802
+ .price-incl-tax { display:block; }
803
+ .price-incl-tax .label { display:block; white-space:nowrap; }
804
+ .price-incl-tax .price { display:block; font-weight:bold; }
805
+
806
+ /* Price range */
807
+ .price-from {}
808
+ .price-from .price-label { font-weight:bold; white-space:nowrap; }
809
+
810
+ .price-to {}
811
+ .price-to .price-label { font-weight:bold; white-space:nowrap; }
812
+
813
+ /* Price notice next to the options */
814
+ .price-notice { padding-left:10px; }
815
+ .price-notice .price { font-weight:bold; }
816
+
817
+ /* Price as configured */
818
+ .price-as-configured {}
819
+ .price-as-configured .price-label { font-weight:bold; white-space:nowrap; }
820
+
821
+ .price-box-bundle {}
822
+ /********** Product Prices > */
823
+
824
+ /* Tier Prices */
825
+ .tier-prices .price { font-weight:bold; }
826
+ .tier-prices .benefit {}
827
+
828
+ .tier-prices-grouped {}
829
+
830
+ /* Add to Links */
831
+ .add-to-links .separator { display:none; }
832
+ .add-to-links a{font-size: 11px; font-family: Verdana, Geneva, sans-serif; font-weight: normal;}
833
+
834
+ /* Add to Cart */
835
+ .add-to-cart label { float:left; margin-right:5px; }
836
+ .add-to-cart .qty { float:left; }
837
+ .add-to-cart button.button { float:left; margin-left:5px; }
838
+ .add-to-cart .paypal-logo { clear:left; text-align:right; }
839
+ .add-to-cart .paypal-logo .paypal-or { clear:both; display:block; margin:5px 60px 5px 0; }
840
+ .product-view .add-to-cart .paypal-logo { margin:0; }
841
+
842
+ /* Add to Links + Add to Cart */
843
+ .add-to-box {}
844
+ .add-to-box .add-to-cart { float:left; }
845
+ .add-to-box .or { float:left; margin:0 10px; }
846
+ .add-to-box .add-to-links {clear: both; margin: 5px 0 0;}
847
+ .add-to-box .add-to-links li{display: inline; margin-right: 10px;}
848
+
849
+
850
+ .product-view {}
851
+
852
+ .product-essential {}
853
+
854
+ .product-collateral .box-collateral { margin:0 0 15px; }
855
+
856
+ /* Product Images */
857
+ .product-view .product-img-box { float:left; width:267px; }
858
+ .col3-layout .product-view .product-img-box { float:none; margin:0 auto; }
859
+ .product-view .product-img-box .product-image {}
860
+ .product-view .product-img-box .product-image-zoom { position:relative; width:265px; height:265px; overflow:hidden; z-index:9; }
861
+ .product-view .product-img-box .product-image-zoom img { position:absolute; left:0; top:0; cursor:move; }
862
+ .product-view .product-img-box .zoom-notice { text-align:center; }
863
+ .product-view .product-img-box .zoom { position:relative; z-index:9; height:18px; margin:0 auto 13px; padding:0 28px; background:url(../images/slider_bg.gif) 50% 50% no-repeat; cursor:pointer; }
864
+ .product-view .product-img-box .zoom.disabled { -moz-opacity:.3; -webkit-opacity:.3; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";/*IE8*/ opacity:.3; }
865
+ .product-view .product-img-box .zoom #track { position:relative; height:18px; }
866
+ .product-view .product-img-box .zoom #handle { position:absolute; left:0; top:-1px; width:9px; height:22px; background:url(../images/magnifier_handle.gif) 0 0 no-repeat; }
867
+ .product-view .product-img-box .zoom .btn-zoom-out { position:absolute; left:2px; top:0; }
868
+ .product-view .product-img-box .zoom .btn-zoom-in { position:absolute; right:2px; top:0; }
869
+ .product-view .product-img-box .more-views h4 {display: none;}
870
+ .product-view .product-img-box .more-views ul { margin-top: 5px; }
871
+ .product-view .product-img-box .more-views li { float:left; padding:1px; background-color:#ddd; margin:0 4px 8px 0 ; }
872
+
873
+ .product-image-popup { margin:0 auto; }
874
+ .product-image-popup .buttons-set { float:right; clear:none; border:0; margin:0; padding:0; }
875
+ .product-image-popup .nav { margin:0 100px; text-align:center; }
876
+ .product-image-popup .image { display:block; }
877
+ .product-image-popup .image-label {}
878
+
879
+ /* Product Shop */
880
+ .product-view .product-shop { float:right; width:400px; }
881
+ .col1-layout .product-view .product-shop { float:right; width:700px; }
882
+ .col3-layout .product-view .product-shop { float:none; width:auto; }
883
+
884
+ .product-view .product-name h1{font-size: 30px;}
885
+ .product-view .short-description {}
886
+
887
+ .product-shop .short-description{font-weight: bold;}
888
+ .product-shop .description{}
889
+ .product-shop p{margin: 8px 0;}
890
+
891
+ .product-shop .price-box{margin: 0 0 10px;}
892
+ .product-shop .price-box .price {font-size: 18px;}
893
+
894
+ .product-shop .product-tools{margin: 15px 0 10px;}
895
+ .product-shop .product-tools p{font: 11px Verdana, Geneva, sans-serif;}
896
+ .product-shop .product-tools p a{color: #325964; text-decoration: none;}
897
+ .product-shop .product-tools p a:hover{text-decoration: underline;}
898
+ .product-shop .product-tools p.email-friend{padding-left: 22px; background: url(../images/email.png) 0 50% no-repeat;}
899
+ .product-shop .product-tools p.no-rating{padding-left: 22px; background: url(../images/pencil.png) 0 50% no-repeat;}
900
+
901
+ /* Product Options */
902
+ .product-options { padding:10px; margin:10px 0 0; border:1px solid #ddd; background-color:#f6f6f6; }
903
+ .product-options dt label { font-weight:bold; }
904
+ .product-options dt .qty-holder { float:right; }
905
+ .product-options dt .qty-holder label { vertical-align:middle; }
906
+ .product-options dt .qty-disabled { background:none; border:0; padding:3px; color:#000; }
907
+ .product-options dd { margin:10px 0; }
908
+ .product-options dl.last dd.last {}
909
+ .product-options dd input.input-text { width:98%; }
910
+ .product-options dd input.datetime-picker { width:150px; }
911
+ .product-options dd .time-picker { display:-moz-inline-box; display:inline-block; padding:2px 0; vertical-align:middle; }
912
+ .product-options dd textarea { width:98%; height:8em; }
913
+ .product-options dd select { width:100%; }
914
+ .product-options .options-list {}
915
+ .product-options .options-list input.radio { float:left; margin:3px -18px 0 0; }
916
+ .product-options .options-list input.checkbox { float:left; margin:3px -20px 0 0; }
917
+ .product-options .options-list .label { display:block; margin-left:20px; }
918
+ .product-options ul.validation-failed { padding:0 7px; }
919
+ .product-options p.required { padding:15px 0 0; }
920
+
921
+ .product-options-bottom { padding:10px; border:1px solid #ddd; border-top:0; }
922
+ .product-options-bottom .price-box { margin:10px 0; }
923
+
924
+ /* Product tabs */
925
+ .product-tabs {margin: 10px 0 5px; padding-top: 10px; position: relative; border-top: 1px dashed #ccc;}
926
+ .product-tabs li { float:left; margin-right: 15px; /*border:1px solid #dddddd;*/ font-size:14px; line-height:16px; font-family: "PT Sans", Arial, Helvetica, sans-serif; padding-right: 20px; background-image: url(../images/bg-tab.gif); background-position: 97% -28px; background-repeat: no-repeat;}
927
+ .product-tabs li.first {}
928
+ .product-tabs li.last { }
929
+ .product-tabs a { display:block; padding:6px 0; color: #666; text-decoration: none;}
930
+ .product-tabs a:hover {color: #444;}
931
+ .product-tabs li.active{background-position: 97% 0;}
932
+ .product-tabs li.active a{ /*background-color:#fff; position: relative; top: 1px;*/ font-weight: bold; color: #333; font-size: 16px;}
933
+ .product-tabs li.active a:hover { background-color:#fff;}
934
+ .product-tabs-content {/*border: 1px solid #dddddd; padding: 15px 20px 10px;*/ line-height: 18px; padding: 10px 0; border-bottom: 1px dashed #ccc;}
935
+ .product-tabs-content h2 { display:none; font-size:12px; font-weight:bold;}
936
+
937
+ /* Grouped Product */
938
+ .product-view .grouped-items-table {margin: 10px 0;}
939
+ .product-view .grouped-items-table .price{font-size: 16px;}
940
+
941
+ /* Block: Description */
942
+ .product-view .box-description {}
943
+
944
+ /* Block: Additional */
945
+ .product-view .box-additional {}
946
+
947
+ /* Block: Upsell */
948
+ .product-view .box-up-sell {}
949
+ .product-view .box-up-sell .products-grid{border-bottom: 0;}
950
+ .product-view .box-up-sell .products-grid td { width:25%; }
951
+
952
+ /* Block: Tags */
953
+ .product-view .box-tags {}
954
+ .product-view .box-tags .form-add label { float:left; }
955
+ .product-view .box-tags .form-add .input-box { float:left; width:260px; margin:0 5px; }
956
+ .product-view .box-tags .form-add input.input-text { width:254px; }
957
+ .product-view .box-tags .form-add p { clear:both; }
958
+
959
+ /* Block: Reviews */
960
+ .product-view .box-reviews {}
961
+ .product-view .box-reviews .form-add {}
962
+
963
+ /* Send a Friend */
964
+ .send-friend {}
965
+ /* ======================================================================================= */
966
+
967
+
968
+ /* Content Styles ================================================================= */
969
+ .product-name { font-size:1em; font-weight:normal; font-family: "PT Sans", Arial, Helvetica, sans-serif;}
970
+ .product-name a {}
971
+
972
+ /* Product Tags */
973
+ .tags-list li { display:inline; }
974
+
975
+ /* Advanced Search */
976
+ .advanced-search {}
977
+ .advanced-search-amount {}
978
+ .advanced-search-summary {}
979
+
980
+ /* CMS Home Page */
981
+ .cms-home .subtitle {}
982
+ .cms-index-index .subtitle {}
983
+
984
+ /* Sitemap */
985
+ .page-sitemap .links { text-align:right; margin:0 8px -22px 0; }
986
+ .page-sitemap .links a { text-decoration:none; position:relative; }
987
+ .page-sitemap .links a:hover { text-decoration:underline; }
988
+ .page-sitemap .sitemap { margin:12px; }
989
+ .page-sitemap .sitemap a {}
990
+ .page-sitemap .sitemap li { margin:3px 0; }
991
+ .page-sitemap .sitemap li.level-0 { margin:10px 0 0; font-weight:bold; }
992
+ .page-sitemap .sitemap li.level-0 a {}
993
+
994
+ /* RSS */
995
+ .rss-title h1 { background:url(../images/i_rss-big.png) 0 4px no-repeat; padding-left:27px; }
996
+ .rss-table .link-rss { display:block; line-height:1.35; background-position:0 2px; }
997
+ /* ======================================================================================= */
998
+
999
+
1000
+ /* Shopping Cart ========================================================================= */
1001
+ .cart {}
1002
+
1003
+ .cart h2.product-name{font-size: 16px;}
1004
+
1005
+ /* Checkout Types */
1006
+ .cart .checkout-types { float:right; text-align:right; }
1007
+ .cart .title-buttons .checkout-types li { float:left; margin:0 0 5px 5px; }
1008
+ .cart .checkout-types .paypal-or { margin:0 8px; line-height:2.3; }
1009
+ .cart .totals .checkout-types .paypal-or { clear:both; display:block; padding:3px 55px 8px 0; line-height:1.0; font-size:11px; }
1010
+
1011
+ /* Shopping Cart Table */
1012
+ .cart-table .item-msg { font-size:10px; }
1013
+
1014
+ /* Shopping Cart Collateral boxes */
1015
+ .cart .cart-collaterals { padding:25px 0 0; }
1016
+ .cart .cart-collaterals .col2-set { float:left; width:600px; }
1017
+
1018
+ .cart .crosssell {}
1019
+ .cart .crosssell h2 { font-size:13px; font-weight:bold; }
1020
+ .cart .crosssell .product-image { float:left; width:75px; height:75px; border:1px solid #ddd; }
1021
+ .cart .crosssell .product-details { margin-left:90px; }
1022
+ .cart .crosssell li.item { margin:12px 0; }
1023
+
1024
+ /* Discount Codes & Estimate Shipping and Tax Boxes */
1025
+ .cart .discount,
1026
+ .cart .shipping {border: 1px solid #ccc; padding: 10px; margin: 0 0 10px;}
1027
+
1028
+ .cart .discount{background: #dcf2eb; border-style: dashed;}
1029
+ .cart .shipping{}
1030
+
1031
+ .cart .discount .input-text,
1032
+ .cart .shipping .input-text{width: 256px;}
1033
+
1034
+ /* Shopping Cart Totals */
1035
+ .cart .totals { float:right; background: #fff2c7; padding: 20px; font-size: 16px;}
1036
+ .cart .totals table { width:100%; }
1037
+ .cart .totals table th,
1038
+ .cart .totals table td { padding:5px; }
1039
+ .cart .totals table th { font-weight:bold; }
1040
+ .cart .totals table tfoot th {}
1041
+
1042
+ .cart .totals .checkout-types{margin: 10px 0 0;}
1043
+
1044
+ /* Options Tool Tip */
1045
+ .item-options dt { font-weight:bold; font-style:italic; }
1046
+ .item-options dd { padding-left:10px; }
1047
+ .truncated { cursor:help; }
1048
+ .truncated a.dots { cursor:help; }
1049
+ .truncated a.details { cursor:help; }
1050
+ .truncated .truncated_full_value { position:relative; z-index:999; }
1051
+ .truncated .truncated_full_value dl { position:absolute; top:-99999em; left:-99999em; z-index:999; width:250px; padding:8px; border:1px solid #ddd; background-color:#f6f6f6; }
1052
+ .truncated .show dl { top:-20px; left:50%; }
1053
+ .col-left .truncated .show dl { left:30px; top:7px; }
1054
+ .col-right .truncated .show dl { left:-240px; top:7px; }
1055
+ /* ======================================================================================= */
1056
+
1057
+
1058
+ /* Checkout ============================================================================== */
1059
+ /********** < Common Checkout Styles */
1060
+ /* Shipping and Payment methods */
1061
+ .sp-methods dt { font-weight:bold; }
1062
+ .sp-methods .price { font-weight:bold; }
1063
+ .sp-methods .form-list { padding-left:20px; }
1064
+ .sp-methods select.month { width:150px; margin-right:10px; }
1065
+ .sp-methods select.year { width:96px; }
1066
+ .sp-methods input.cvv { width:3em !important; }
1067
+
1068
+ .sp-methods .checkmo-list li { margin:0 0 5px; }
1069
+ .sp-methods .checkmo-list label { width:135px; padding-right:10px; text-align:right; }
1070
+ .sp-methods .checkmo-list address { float:left; }
1071
+
1072
+ .sp-methods .centinel-logos a { margin-right:3px; }
1073
+ .sp-methods .centinel-logos img { vertical-align:middle; }
1074
+
1075
+ .please-wait { float:right; margin-right:5px; }
1076
+ .please-wait img { vertical-align:middle; }
1077
+ .cvv-what-is-this { cursor:help; margin-left:5px; }
1078
+
1079
+ /* Tooltip */
1080
+ .tool-tip { border:1px solid #ddd; background-color:#f6f6f6; padding:5px; position:absolute; z-index:9999; }
1081
+ .tool-tip .btn-close { text-align:right; }
1082
+ .tool-tip .btn-close a { display:block; margin:0 0 0 auto; width:15px; height:15px; background:url(../images/btn_window_close.gif) 100% 0 no-repeat; text-align:left; text-indent:-999em; overflow:hidden; }
1083
+ .tool-tip .tool-tip-content { padding:5px; }
1084
+
1085
+ /* Gift Messages */
1086
+ .gift-messages {}
1087
+ .gift-messages-form { border:1px solid #ddd; background-color:#f5f5f5; }
1088
+ .gift-messages-form { position:relative; }
1089
+ .gift-messages-form label { float:none !important; position:static !important; }
1090
+ .gift-messages-form h4 {}
1091
+ .gift-messages-form .whole-order {}
1092
+ .gift-messages-form .item { margin:0 0 10px; }
1093
+ .gift-messages-form .item .product-img-box { float:left; width:75px; }
1094
+ .gift-messages-form .item .product-image { margin:0 0 7px; }
1095
+ .gift-messages-form .item .number { margin:0; font-weight:bold; text-align:center; }
1096
+ .gift-messages-form .item .details { margin-left:90px; }
1097
+ .gift-messages-form .item .details .product-name {}
1098
+
1099
+ .gift-message-link { display:block; background:url(../images/bkg_collapse.gif) 0 4px no-repeat; padding-left:20px; }
1100
+ .gift-message-link.expanded { background-position:0 -53px; }
1101
+ .gift-message-row {}
1102
+ .gift-message-row .btn-close { float:right; }
1103
+ .gift-message dt strong { font-weight:bold; }
1104
+
1105
+ /* Checkout Agreements */
1106
+ .checkout-agreements {}
1107
+ .checkout-agreements li { margin:10px 0; }
1108
+ .checkout-agreements .agreement-content { border:1px solid #ddd; background-color:#f6f6f6; padding:5px; height:10em; overflow:auto; }
1109
+ .checkout-agreements .agree { padding:6px; }
1110
+
1111
+ /* Centinel */
1112
+ .centinel {}
1113
+ .centinel .authentication { border:1px solid #ddd; background:#fff; }
1114
+ .centinel .authentication iframe { width:99%; height:400px; background:transparent !important; margin:0 !important; padding:0 !important; border:0 !important; }
1115
+
1116
+ /* Generic Info Set */
1117
+ .info-set {}
1118
+ /********** Common Checkout Styles > */
1119
+
1120
+ /* One Page Checkout */
1121
+ .block-progress {}
1122
+ .block-progress dt { font-weight:bold; }
1123
+ .block-progress dt.complete{}
1124
+ .block-progress dd.complete {margin-bottom: 10px;}
1125
+
1126
+ .opc { border-bottom:1px solid #ddd; position:relative; }
1127
+ .opc li.section { border:1px solid #ddd; border-bottom:0; }
1128
+
1129
+ .opc .buttons-set.disabled button.button { display:none; }
1130
+ .opc .buttons-set .please-wait { height:21px; line-height:21px; }
1131
+
1132
+ .opc .step-title { background-color:#ddd; color: #666; padding:5px 10px; text-align:right; border-bottom: 1px solid #ccc;}
1133
+ .opc .step-title .number { float:left; line-height:22px; margin-right:10px; font-weight: bold; padding: 0 8px;}
1134
+ .opc .step-title h2 { float:left; font-family: "PT Sans", Arial, Helvetica, sans-serif;}
1135
+ .opc .step-title a { display:none; float:right; }
1136
+
1137
+ .opc .allow .step-title { cursor:pointer; background-color: #eee; border-bottom: 1px solid #ddd;}
1138
+ .opc .allow .step-title:hover {background-color: #f4f4f4;}
1139
+ /*.opc .allow .step-title a { display:block; }*/
1140
+
1141
+ .opc .active .step-title { background-color:#54777d; cursor:default; color: #fff; font-weight: bold;}
1142
+ .opc .active .step-title:hover { background-color:#54777d;}
1143
+ .opc .active .step-title .number { background: #fff; color: #54777d;}
1144
+ /*.opc .active .step-title a { display:none; }*/
1145
+
1146
+ /*.opc .allow .step-title { background-color:#eee; }*/
1147
+
1148
+ .opc .step { border-top:1px solid #ddd; padding:10px; position:relative; }
1149
+ .opc .step .tool-tip { right:10px; }
1150
+
1151
+ .opc .order-review {}
1152
+
1153
+ /* Multiple Addresses Checkout */
1154
+ .checkout-progress { padding:0 50px; margin:10px 0; }
1155
+ .checkout-progress li { float:left; width:20%; border-top:5px solid #ccc; text-align:center; color:#ccc; }
1156
+ .checkout-progress li.active { border-top-color:#000; color:#000; }
1157
+
1158
+ .multiple-checkout { position:relative; }
1159
+ .multiple-checkout .tool-tip { top:50%; margin-top:-120px; right:10px; }
1160
+ .multiple-checkout .grand-total { font-size:1.5em; text-align:right; }
1161
+ .multiple-checkout .grand-total big {}
1162
+ .multiple-checkout .grand-total .price {}
1163
+ /* ======================================================================================= */
1164
+
1165
+
1166
+ /* Account Login/Create Pages ============================================================ */
1167
+ .account-login {}
1168
+ .account-login .new-users {width: 24%;}
1169
+ .account-login .new-users .buttons-set{margin-top: 5em;}
1170
+ .account-login .registered-users {width: 60%}
1171
+
1172
+ .account-login .new-users,
1173
+ .account-login .registered-users{border: 1px solid #ddd; padding: 30px; }
1174
+
1175
+ .account-create {}
1176
+ /* Account Login/Create Pages ============================================================ */
1177
+
1178
+
1179
+ /* My Account ============================================================================= */
1180
+ .my-account .title-buttons .link-rss { float:none; margin:0; }
1181
+
1182
+ /********** < Dashboard */
1183
+ .dashboard {}
1184
+ .dashboard .welcome-msg {}
1185
+
1186
+ /* General Box */
1187
+ .box-account { margin:0 0 15px; }
1188
+ .box-account .box-head { margin:10px 0 5px; text-align:right; }
1189
+ .box-account .box-head h2 { float:left; margin:0; font-size:14px; font-weight:bold;}
1190
+ .box-account .box-head a { font-size:10px; text-transform:uppercase; }
1191
+
1192
+ .dashboard .box .box-title { background:#f1f1f1; padding:2px 10px; margin:0 0 12px; text-align:right; }
1193
+ .dashboard .box .box-title h3,
1194
+ .dashboard .box .box-title h4 { float:left; margin:0; font-size:12px; font-weight:bold; line-height:1.35; }
1195
+ .dashboard .box .box-title a { font-size:10px; text-transform:uppercase; }
1196
+ .dashboard .box .box-content { padding:0 10px; }
1197
+
1198
+ /* Block: Recent Orders */
1199
+ .dashboard .box-recent {}
1200
+
1201
+ /* Block: Account Information */
1202
+ .dashboard .box-info {}
1203
+ .dashboard .box-info h4 { font-size:11px; font-weight:bold; }
1204
+
1205
+ /* Block: Reviews */
1206
+ .dashboard .box-reviews .number { float:left; font-size:10px; font-weight:bold; line-height:1; color:#fff; margin:3px -20px 0 0; padding:2px 3px; background:#ddd; }
1207
+ .dashboard .box-reviews .details { margin-left:20px; }
1208
+
1209
+ /* Block: Tags */
1210
+ .dashboard .box-tags .number { float:left; font-size:10px; font-weight:bold; line-height:1; color:#fff; margin:3px -20px 0 0; padding:2px 3px; background:#ddd; }
1211
+ .dashboard .box-tags .details { margin-left:20px; }
1212
+ /********** Dashboard > */
1213
+
1214
+ /* Address Book */
1215
+ .addresses-list h2 { background:#f1f1f1; padding:2px 10px; margin:0 0 12px; font-size:13px; font-weight:bold; line-height:1.25; }
1216
+ .addresses-list h3 { font-weight:bold; font-size:12px; }
1217
+ .addresses-list address { margin:0 0 3px; }
1218
+ .addresses-list p { margin:0; }
1219
+ .addresses-list a { font-weight:bold; }
1220
+ .addresses-list .link-remove {}
1221
+ .addresses-list .separator { margin:0 3px; }
1222
+ .addresses-list li.item { padding:0 10px; margin:0 0 12px; }
1223
+ .addresses-list li.empty {}
1224
+ .addresses-list li.empty p { font-weight:bold; }
1225
+ .addresses-list .addresses-additional li.item {}
1226
+
1227
+ /* Order View */
1228
+ .order-info dt { display:none; }
1229
+ .order-info ul { margin-bottom:15px; border-bottom:1px solid #333; }
1230
+ .order-info li{float: left;}
1231
+ .order-info li.first { border-left:0; }
1232
+ .order-info li.last { border-right:0; }
1233
+ .order-info li a { display:block; padding:6px 15px; color:#444; }
1234
+ .order-info li a:hover { background-color:#ddd; text-decoration:none; color:#444; }
1235
+ .order-info li.current { background-color:#333; font-weight:bold; padding:6px 15px; color:#fff; }
1236
+
1237
+ .order-date { margin:10px 0; font-weight: bold;}
1238
+
1239
+ .order-info-box { margin:0 0 15px; }
1240
+ .order-info-box h2 { font-size:13px; font-weight:bold; border-bottom:1px solid #ddd; margin:0 0 8px; }
1241
+ .order-info-box .box-payment p { margin:0 0 3px; }
1242
+ .order-info-box .box-payment th { font-weight:bold; padding-right:7px; }
1243
+
1244
+ .order-items { width:100%; overflow-x:auto; }
1245
+ .order-items h2,
1246
+ .order-items h3 { clear:none; font-weight:bold; font-size:13px; padding:0; margin:0 0 .45em; }
1247
+ .order-items h3 { font-size:12px; }
1248
+ .order-items .product-name { font-weight:bold !important; }
1249
+ .order-items .link-print { font-size:10px; text-transform:uppercase; }
1250
+ .order-items .order-links { text-align:right; }
1251
+ .order-items .order-links .link-print { font-weight:bold; font-size:11px; text-transform:none; }
1252
+
1253
+ .order-additional { margin:15px 0; }
1254
+ /* Order Gift Message */
1255
+ .gift-message dt strong { color:#555; }
1256
+ .gift-message dd { font-size:13px; margin:5px 0 0; }
1257
+ /* Order Comments */
1258
+ .order-about dt { font-weight:bold; }
1259
+ .order-about dd { font-size:13px; margin:0 0 7px; }
1260
+
1261
+ .tracking-table { margin:0 0 15px; }
1262
+ .tracking-table th { font-weight:bold; white-space:nowrap; }
1263
+
1264
+ .tracking-table-popup { width:100%; }
1265
+ .tracking-table-popup th { font-weight:bold; white-space:nowrap; }
1266
+ .tracking-table-popup th,
1267
+ .tracking-table-popup td { padding:1px 8px; }
1268
+
1269
+ /* Order Print Pages */
1270
+ .page-print .print-head { margin:0 0 15px; }
1271
+ .page-print .print-head .logo { float:left; }
1272
+ .page-print .print-head address { float:left; margin-left:15px; }
1273
+ .page-print h1 { font-size:15px; font-weight:bold; }
1274
+ .page-print h2,
1275
+ .page-print h3 { font-size:12px; font-weight:bold; }
1276
+ .page-print h2.h2 { font-size:15px; font-weight:bold; text-align:right; }
1277
+ .page-print .order-date { border-bottom:1px solid #ccc; padding:0 0 10px; margin:0 0 10px; }
1278
+ .page-print .col2-set { margin:0 0 10px; }
1279
+ /* Price Rewrites */
1280
+ .page-print .gift-message-link { display:none; }
1281
+ .page-print .price-excl-tax,
1282
+ .page-print .price-incl-tax { display:block; white-space:nowrap; }
1283
+ .page-print .cart-price,
1284
+ .page-print .price-excl-tax .label,
1285
+ .page-print .price-incl-tax .label,
1286
+ .page-print .price-excl-tax .price,
1287
+ .page-print .price-incl-tax .price { display:inline; }
1288
+
1289
+ /* My Wishlist */
1290
+ .my-wishlist .data-table td { padding:10px; }
1291
+ .my-wishlist .product-image { display:block; width:113px; height:113px; margin:0 0 5px; }
1292
+ .my-wishlist textarea { display:block; width:97%; height:109px; }
1293
+ .my-wishlist .buttons-set { border:0; padding:0; margin:0 0 -3em; }
1294
+ .my-wishlist .buttons-set button.button { float:none; }
1295
+ .my-wishlist .buttons-set .btn-add span,
1296
+ .my-wishlist .buttons-set .btn-share span {}
1297
+ #wishlist-table .add-to-links { white-space:nowrap; }
1298
+
1299
+ /* My Tags */
1300
+ .my-tag-edit { float:left; margin:0 0 10px; }
1301
+ .my-tag-edit .btn-remove { float:right; margin:4px 0 0 5px; }
1302
+ #my-tags-table { clear:both; }
1303
+ #my-tags-table td { padding:10px; }
1304
+ #my-tags-table .add-to-links { white-space:nowrap; }
1305
+
1306
+ /* My Reviews */
1307
+ #my-reviews-table td { padding:10px; }
1308
+ #my-reviews-table .rating-box { margin:3px 0 0; }
1309
+
1310
+ .product-review .product-img-box { float:left; width:140px; }
1311
+ .product-review .product-img-box .product-image { display:block; width:125px; height:125px; }
1312
+ .product-review .product-img-box .label { font-size:11px; margin:0 0 3px; }
1313
+ .product-review .product-img-box .ratings .rating-box { float:none; display:block; margin:0 0 3px; }
1314
+ .product-review .product-details { margin-left:150px; }
1315
+ .product-review .product-name { font-size:16px; font-weight:bold; margin:0 0 10px; }
1316
+ .product-review h3 { font-size:12px; margin:0 0 3px; color:#2f2f2f; }
1317
+ .product-review .ratings-table { margin:0 0 10px; }
1318
+ .product-review dt { font-weight:bold; }
1319
+ .product-review dd { font-size:13px; margin:5px 0 0; }
1320
+
1321
+ /* Billing Agreements */
1322
+ .billing-agreements .info-box{ margin:15px 0; }
1323
+ .billing-agreements .info-box p { margin:0 0 5px; }
1324
+ .billing-agreements .form-list li select { float:left; margin:3px 10px 0 0; }
1325
+ .billing-agreements .table-caption { font-weight:bold; font-size:13px; }
1326
+
1327
+ /* ======================================================================================= */
1328
+
1329
+
1330
+ /* Footer ================================================================================ */
1331
+ .footer {padding: 10px 0;}
1332
+ .footer p {}
1333
+ .footer h3 {font-size: 12px; text-transform: uppercase; color: #444; margin: 0 0 10px;}
1334
+ .footer a {color: #666; cursor: pointer; font-size: 11px; text-decoration: none;}
1335
+ .footer a:hover {text-decoration: underline;}
1336
+
1337
+ .footer .footer-top-block .col {float: left; width: 200px;}
1338
+ .footer .footer-top-block ul {}
1339
+ .footer .footer-top-block ul li { display:block; line-height: 18px;}
1340
+
1341
+ .footer-top-block .footer-subscribe{float: right; padding: 0 40px; width: 230px;}
1342
+ .footer-top-block .footer-subscribe label{display: block;}
1343
+ .footer-top-block .footer-subscribe .input-text{width: 100%;}
1344
+ .footer-top-block .footer-subscribe button.button{display: block; margin: 5px 0 0;}
1345
+ .footer-top-block .footer-subscribe button.button span{font-size: 11px; padding: 5px; line-height: 11px;}
1346
+
1347
+ .footer-bot-block{border-top: 1px dashed #ccc; margin: 20px 0 0;}
1348
+ .footer-bot-block address{float: right;text-transform: uppercase; font-size: 10px; color: #888; text-shadow: 0px 1px 0px #ffffff;}
1349
+ .footer-bot-block .links{float: left;}
1350
+
1351
+ .footer-container {margin: 0 auto; width: 960px;}
1352
+ .bottom-container { text-align:center; }
1353
+ /* ======================================================================================= */
1354
+
1355
+
1356
+ /* Clears ================================================================================ */
1357
+ .clearer:after,
1358
+ .header-container:after,
1359
+ .header-container .top-container:after,
1360
+ .header:after,
1361
+ .header .quick-access:after,
1362
+ #nav:after,
1363
+ .main:after,
1364
+ .footer:after,
1365
+ .footer-container .bottom-container:after,
1366
+ .col-main:after,
1367
+ .col2-set:after,
1368
+ .col3-set:after,
1369
+ .col4-set:after,
1370
+ .search-autocomplete li:after,
1371
+ .block .block-content:after,
1372
+ .block .actions:after,
1373
+ .block li.item:after,
1374
+ .block-poll li:after,
1375
+ .block-layered-nav .currently li:after,
1376
+ .page-title:after,
1377
+ .products-grid:after,
1378
+ .products-list li.item:after,
1379
+ .box-account .box-head:after,
1380
+ .dashboard .box .box-title:after,
1381
+ .box-reviews li.item:after,
1382
+ .box-tags li.item:after,
1383
+ .pager:after,
1384
+ .sorter:after,
1385
+ .ratings:after,
1386
+ .add-to-box:after,
1387
+ .add-to-cart:after,
1388
+ .product-essential:after,
1389
+ .product-collateral:after,
1390
+ .product-view .product-img-box .more-views ul:after,
1391
+ .product-view .product-shop .short-description:after,
1392
+ .product-view .box-description:after,
1393
+ .product-view .box-tags .form-add:after,
1394
+ .product-options .options-list li:after,
1395
+ .product-options-bottom:after,
1396
+ .product-review:after,
1397
+ .cart:after,
1398
+ .cart-collaterals:after,
1399
+ .cart .crosssell li.item:after,
1400
+ .opc .step-title:after,
1401
+ .checkout-progress:after,
1402
+ .multiple-checkout .place-order:after,
1403
+ .group-select li:after,
1404
+ .form-list li:after,
1405
+ .form-list .field:after,
1406
+ .buttons-set:after,
1407
+ .page-print .print-head:after,
1408
+ .advanced-search-summary:after,
1409
+ .gift-messages-form .item:after,
1410
+ .product-shop .product-tools:after,
1411
+ .product-tabs:after,
1412
+ .order-info ul:after,
1413
+ .footer-top-block:after,
1414
+ .footer-bot-block:after,
1415
+ .send-friend .form-list li p:after { display:block; content:"."; clear:both; font-size:0; line-height:0; height:0; overflow:hidden; }
1416
+ /* ======================================================================================= */
1417
+
1418
+ .brand_slider{border-color: #e5e5e5; border-width: 1px 0; border-style: solid; width: 940px; overflow: hidden; height: 60px; margin: 10px 0;}
1419
+ .brand_slider .slide{width: 940px; height: 58px; padding: 0; text-align: center;}
1420
+ .brand_slider .slide img{padding: 0 15px;}
skin/frontend/default/perfume/images/bg-blocktitle.gif ADDED
Binary file
skin/frontend/default/perfume/images/bg-cart-down.gif ADDED
Binary file
skin/frontend/default/perfume/images/bg-filter.gif ADDED
Binary file
skin/frontend/default/perfume/images/bg-nav-parent.gif ADDED
Binary file
skin/frontend/default/perfume/images/bg-opa10.png ADDED
Binary file
skin/frontend/default/perfume/images/bg-opa50w.png ADDED
Binary file
skin/frontend/default/perfume/images/bg-search-button.gif ADDED
Binary file
skin/frontend/default/perfume/images/bg-search.gif ADDED
Binary file
skin/frontend/default/perfume/images/bg-tab.gif ADDED
Binary file
skin/frontend/default/perfume/images/bg.gif ADDED
Binary file
skin/frontend/default/perfume/images/bkg_button.gif ADDED
Binary file
skin/frontend/default/perfume/images/bkg_collapse.gif ADDED
Binary file
skin/frontend/default/perfume/images/bkg_rating.gif ADDED
Binary file
skin/frontend/default/perfume/images/btn_remove.gif ADDED
Binary file
skin/frontend/default/perfume/images/btn_trash.gif ADDED
Binary file
skin/frontend/default/perfume/images/btn_window_close.gif ADDED
Binary file
skin/frontend/default/perfume/images/cvv.gif ADDED
Binary file
skin/frontend/default/perfume/images/email.png ADDED
Binary file
skin/frontend/default/perfume/images/fam_book_open.png ADDED
Binary file
skin/frontend/default/perfume/images/i_asc_arrow.gif ADDED
Binary file
skin/frontend/default/perfume/images/i_availability_only_arrow.gif ADDED
Binary file
skin/frontend/default/perfume/images/i_desc_arrow.gif ADDED
Binary file
skin/frontend/default/perfume/images/i_msg-error.gif ADDED
Binary file
skin/frontend/default/perfume/images/i_msg-note.gif ADDED
Binary file
skin/frontend/default/perfume/images/i_msg-success.gif ADDED
Binary file
skin/frontend/default/perfume/images/i_notice.gif ADDED
Binary file
skin/frontend/default/perfume/images/i_pager-next.gif ADDED
Binary file
skin/frontend/default/perfume/images/i_pager-prev.gif ADDED
Binary file
skin/frontend/default/perfume/images/i_print.gif ADDED
Binary file
skin/frontend/default/perfume/images/i_rss-big.png ADDED
Binary file
skin/frontend/default/perfume/images/i_rss.gif ADDED
Binary file
skin/frontend/default/perfume/images/logo.gif ADDED
Binary file
skin/frontend/default/perfume/images/logo_email.gif ADDED
Binary file
skin/frontend/default/perfume/images/logo_print.gif ADDED
Binary file
skin/frontend/default/perfume/images/magnifier_handle.gif ADDED
Binary file
skin/frontend/default/perfume/images/opc-ajax-loader.gif ADDED
Binary file
skin/frontend/default/perfume/images/pager_arrow_left.gif ADDED
Binary file
skin/frontend/default/perfume/images/pager_arrow_right.gif ADDED
Binary file
skin/frontend/default/perfume/images/pencil.png ADDED
Binary file
skin/frontend/default/perfume/images/slider_bg.gif ADDED
Binary file
skin/frontend/default/perfume/images/slider_btn_zoom_in.gif ADDED
Binary file
skin/frontend/default/perfume/images/slider_btn_zoom_out.gif ADDED
Binary file
skin/frontend/default/perfume/images/spacer.gif ADDED
Binary file
skin/frontend/default/perfume/images/validation_advice_bg.gif ADDED
Binary file
skin/frontend/default/perfume/js/fragonline.js ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery(document).ready(function() {
2
+
3
+ jQuery(".cart-top .summary").click( function() {
4
+ jQuery(".cart-content").slideToggle("fast");
5
+ });
6
+
7
+ // Shopping by
8
+ jQuery('#narrow-by-list dt').each(function() {
9
+ var here = jQuery(this), state = false, answer = here.next('dd').slideUp();
10
+ here.click(function() {
11
+ state = !state;
12
+ answer.slideToggle(state);
13
+ here.toggleClass('active',state);
14
+ });
15
+ jQuery('dd.Category').show();
16
+ });
17
+
18
+ jQuery(".products-grid li.item").click(function(){
19
+ window.location = jQuery(this).find("a").attr("href");
20
+ preventDefault();
21
+ });
22
+
23
+ });
skin/frontend/default/perfume/js/jquery-1.7.1.min.js ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ /*! jQuery v1.7.1 jquery.com | jquery.org/license */
2
+ (function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>"),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return ck[a]}function cu(a,b){var c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ci(){try{return new a.XMLHttpRequest}catch(b){}}function cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h=="string"&&(e[h.toLowerCase()]=a.converters[h]);l=k,k=d[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=e[m]||e["* "+k];if(!n){p=b;for(o in e){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=e[j[1]+" "+k];if(p){o=e[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&f.error("No conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function cb(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function ca(a,b,c,d){if(f.isArray(b))f.each(b,function(b,e){c||bE.test(a)?d(a,e):ca(a+"["+(typeof e=="object"||f.isArray(e)?b:"")+"]",e,c,d)});else if(!c&&b!=null&&typeof b=="object")for(var e in b)ca(a+"["+e+"]",b[e],c,d);else d(a,b)}function b_(a,c){var d,e,g=f.ajaxSettings.flatOptions||{};for(d in c)c[d]!==b&&((g[d]?a:e||(e={}))[d]=c[d]);e&&f.extend(!0,a,e)}function b$(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bT,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l=="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=b$(a,c,d,e,l,g)));(k||!l)&&!g["*"]&&(l=b$(a,c,d,e,"*",g));return l}function bZ(a){return function(b,c){typeof b!="string"&&(c=b,b="*");if(f.isFunction(c)){var d=b.toLowerCase().split(bP),e=0,g=d.length,h,i,j;for(;e<g;e++)h=d[e],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bC(a,b,c){var d=b==="width"?a.offsetWidth:a.offsetHeight,e=b==="width"?bx:by,g=0,h=e.length;if(d>0){if(c!=="border")for(;g<h;g++)c||(d-=parseFloat(f.css(a,"padding"+e[g]))||0),c==="margin"?d+=parseFloat(f.css(a,c+e[g]))||0:d-=parseFloat(f.css(a,"border"+e[g]+"Width"))||0;return d+"px"}d=bz(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parseFloat(d)||0;if(c)for(;g<h;g++)d+=parseFloat(f.css(a,"padding"+e[g]))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+e[g]+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+e[g]))||0);return d+"px"}function bp(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(bf,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function bo(a){var b=c.createElement("div");bh.appendChild(b),b.innerHTML=a.outerHTML;return b.firstChild}function bn(a){var b=(a.nodeName||"").toLowerCase();b==="input"?bm(a):b!=="script"&&typeof a.getElementsByTagName!="undefined"&&f.grep(a.getElementsByTagName("input"),bm)}function bm(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bl(a){return typeof a.getElementsByTagName!="undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!="undefined"?a.querySelectorAll("*"):[]}function bk(a,b){var c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(f.expando)}}function bj(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c,d,e,g=f._data(a),h=f._data(b,g),i=g.events;if(i){delete h.handle,h.events={};for(c in i)for(d=0,e=i[c].length;d<e;d++)f.event.add(b,c+(i[c][d].namespace?".":"")+i[c][d].namespace,i[c][d],i[c][d].data)}h.data&&(h.data=f.extend({},h.data))}}function bi(a,b){return f.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function U(a){var b=V.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function T(a,b,c){b=b||0;if(f.isFunction(b))return f.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return f.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=f.grep(a,function(a){return a.nodeType===1});if(O.test(b))return f.filter(b,d,!c);b=f.filter(b,d)}return f.grep(a,function(a,d){return f.inArray(a,b)>=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c<d;c++)b[a[c]]=!0;return b}var c=a.document,d=a.navigator,e=a.location,f=function(){function J(){if(!e.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(J,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){d=i[c],f=a[c];if(i===f)continue;l&&f&&(e.isPlainObject(f)||(g=e.isArray(f)))?(g?(g=!1,h=d&&e.isArray(d)?d:[]):h=d&&e.isPlainObject(d)?d:{},i[c]=e.extend(l,h,f)):f!==b&&(i[c]=f)}return i},e.extend({noConflict:function(b){a.$===e&&(a.$=g),b&&a.jQuery===e&&(a.jQuery=f);return e},isReady:!1,readyWait:1,holdReady:function(a){a?e.readyWait++:e.ready(!0)},ready:function(a){if(a===!0&&!--e.readyWait||a!==!0&&!e.isReady){if(!c.body)return setTimeout(e.ready,1);e.isReady=!0;if(a!==!0&&--e.readyWait>0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g<h;)if(c.apply(a[g++],d)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(;g<h;)if(c.call(a[g],g,a[g++])===!1)break;return a},trim:G?function(a){return a==null?"":G.call(a)}:function(a){return a==null?"":(a+"").replace(k,"").replace(l,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var d=e.type(a);a.length==null||d==="string"||d==="function"||d==="regexp"||e.isWindow(a)?E.call(c,a):e.merge(c,a)}return c},inArray:function(a,b,c){var d;if(b){if(H)return H.call(b,a,c);d=b.length,c=c?c<0?Math.max(0,d+c):c:0;for(;c<d;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length=="number")for(var f=c.length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,c,d){var f,g,h=[],i=0,j=a.length,k=a instanceof e||j!==b&&typeof j=="number"&&(j>0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i<j;i++)f=c(a[i],i,d),f!=null&&(h[h.length]=f);else for(g in a)f=c(a[g],g,d),f!=null&&(h[h.length]=f);return h.concat.apply([],h)},guid:1,proxy:function(a,c){if(typeof c=="string"){var d=a[c];c=a,a=d}if(!e.isFunction(a))return b;var f=F.call(arguments,2),g=function(){return a.apply(c,f.concat(F.call(arguments)))};g.guid=a.guid=a.guid||g.guid||e.guid++;return g},access:function(a,c,d,f,g,h){var i=a.length;if(typeof c=="object"){for(var j in c)e.access(a,j,c[j],f,g,d);return a}if(d!==b){f=!h&&f&&e.isFunction(d);for(var k=0;k<i;k++)g(a[k],c,f?d.call(a[k],k,g(a[k],c)):d,h);return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();var b=r.exec(a)||s.exec(a)||t.exec(a)||a.indexOf("compatible")<0&&u.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}e.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function(d,f){f&&f instanceof e&&!(f instanceof a)&&(f=a(f));return e.fn.init.call(this,d,f,b)},a.fn.init.prototype=a.fn;var b=a(c);return a},browser:{}}),e.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){I["[object "+b+"]"]=b.toLowerCase()}),z=e.uaMatch(y),z.browser&&(e.browser[z.browser]=!0,e.browser.version=z.version),e.browser.webkit&&(e.browser.safari=!0),j.test(" ")&&(k=/^[\s\xA0]+/,l=/[\s\xA0]+$/),h=e(c),c.addEventListener?B=function(){c.removeEventListener("DOMContentLoaded",B,!1),e.ready()}:c.attachEvent&&(B=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",B),e.ready())});return e}(),g={};f.Callbacks=function(a){a=a?g[a]||h(a):{};var c=[],d=[],e,i,j,k,l,m=function(b){var d,e,g,h,i;for(d=0,e=b.length;d<e;d++)g=b[d],h=f.type(g),h==="array"?m(g):h==="function"&&(!a.unique||!o.has(g))&&c.push(g)},n=function(b,f){f=f||[],e=!a.memory||[b,f],i=!0,l=j||0,j=0,k=c.length;for(;c&&l<k;l++)if(c[l].apply(b,f)===!1&&a.stopOnFalse){e=!0;break}i=!1,c&&(a.once?e===!0?o.disable():c=[]:d&&d.length&&(e=d.shift(),o.fireWith(e[0],e[1])))},o={add:function(){if(c){var a=c.length;m(arguments),i?k=c.length:e&&e!==!0&&(j=a,n(e[0],e[1]))}return this},remove:function(){if(c){var b=arguments,d=0,e=b.length;for(;d<e;d++)for(var f=0;f<c.length;f++)if(b[d]===c[f]){i&&f<=k&&(k--,f<=l&&l--),c.splice(f--,1);if(a.unique)break}}return this},has:function(a){if(c){var b=0,d=c.length;for(;b<d;b++)if(a===c[b])return!0}return!1},empty:function(){c=[];return this},disable:function(){c=d=e=b;return this},disabled:function(){return!c},lock:function(){d=b,(!e||e===!0)&&o.disable();return this},locked:function(){return!d},fireWith:function(b,c){d&&(i?a.once||d.push([b,c]):(!a.once||!e)&&n(b,c));return this},fire:function(){o.fireWith(this,arguments);return this},fired:function(){return!!e}};return o};var i=[].slice;f.extend({Deferred:function(a){var b=f.Callbacks("once memory"),c=f.Callbacks("once memory"),d=f.Callbacks("memory"),e="pending",g={resolve:b,reject:c,notify:d},h={done:b.add,fail:c.add,progress:d.add,state:function(){return e},isResolved:b.fired,isRejected:c.fired,then:function(a,b,c){i.done(a).fail(b).progress(c);return this},always:function(){i.done.apply(i,arguments).fail.apply(i,arguments);return this},pipe:function(a,b,c){return f.Deferred(function(d){f.each({done:[a,"resolve"],fail:[b,"reject"],progress:[c,"notify"]},function(a,b){var c=b[0],e=b[1],g;f.isFunction(c)?i[a](function(){g=c.apply(this,arguments),g&&f.isFunction(g.promise)?g.promise().then(d.resolve,d.reject,d.notify):d[e+"With"](this===i?d:this,[g])}):i[a](d[e])})}).promise()},promise:function(a){if(a==null)a=h;else for(var b in h)a[b]=h[b];return a}},i=h.promise({}),j;for(j in g)i[j]=g[j].fire,i[j+"With"]=g[j].fireWith;i.done(function(){e="resolved"},c.disable,d.lock).fail(function(){e="rejected"},b.disable,d.lock),a&&a.call(i,i);return i},when:function(a){function m(a){return function(b){e[a]=arguments.length>1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c<d;c++)b[c]&&b[c].promise&&f.isFunction(b[c].promise)?b[c].promise().then(l(c),j.reject,m(c)):--g;g||j.resolveWith(j,b)}else j!==a&&j.resolveWith(j,d?[a]:[]);return k}}),f.support=function(){var b,d,e,g,h,i,j,k,l,m,n,o,p,q=c.createElement("div"),r=c.documentElement;q.setAttribute("className","t"),q.innerHTML=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="<div "+n+"><div></div></div>"+"<table "+n+" cellpadding='0' cellspacing='0'>"+"<tr><td></td></tr></table>",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="<div style='width:4px;'></div>",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e<g;e++)delete d[b[e]];if(!(c?m:f.isEmptyObject)(d))return}}if(!c){delete j[k].data;if(!m(j[k]))return}f.support.deleteExpando||!j.setInterval?delete j[k]:j[k]=null,i&&(f.support.deleteExpando?delete a[h]:a.removeAttribute?a.removeAttribute(h):a[h]=null)}},_data:function(a,b,c){return f.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=f.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),f.fn.extend({data:function(a,c){var d,e,g,h=null;if(typeof a=="undefined"){if(this.length){h=f.data(this[0]);if(this[0].nodeType===1&&!f._data(this[0],"parsedAttrs")){e=this[0].attributes;for(var i=0,j=e.length;i<j;i++)g=e[i].name,g.indexOf("data-")===0&&(g=f.camelCase(g.substring(5)),l(this[0],g,h[g]));f._data(this[0],"parsedAttrs",!0)}}return h}if(typeof a=="object")return this.each(function(){f.data(this,a)});d=a.split("."),d[1]=d[1]?"."+d[1]:"";if(c===b){h=this.triggerHandler("getData"+d[1]+"!",[d[0]]),h===b&&this.length&&(h=f.data(this[0],a),h=l(this[0],a,h));return h===b&&d[1]?this.data(d[0]):h}return this.each(function(){var b=f(this),e=[d[0],c];b.triggerHandler("setData"+d[1]+"!",e),f.data(this,a,c),b.triggerHandler("changeData"+d[1]+"!",e)})},removeData:function(a){return this.each(function(){f.removeData(this,a)})}}),f.extend({_mark:function(a,b){a&&(b=(b||"fx")+"mark",f._data(a,b,(f._data(a,b)||0)+1))},_unmark:function(a,b,c){a!==!0&&(c=b,b=a,a=!1);if(b){c=c||"fx";var d=c+"mark",e=a?0:(f._data(b,d)||1)-1;e?f._data(b,d,e):(f.removeData(b,d,!0),n(b,c,"mark"))}},queue:function(a,b,c){var d;if(a){b=(b||"fx")+"queue",d=f._data(a,b),c&&(!d||f.isArray(c)?d=f._data(a,b,f.makeArray(c)):d.push(c));return d||[]}},dequeue:function(a,b){b=b||"fx";var c=f.queue(a,b),d=c.shift(),e={};d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),f._data(a,b+".run",e),d.call(a,function(){f.dequeue(a,b)},e)),c.length||(f.removeData(a,b+"queue "+b+".run",!0),n(a,b,"queue"))}}),f.fn.extend({queue:function(a,c){typeof a!="string"&&(c=a,a="fx");if(c===b)return f.queue(this[0],a);return this.each(function(){var b=f.queue(this,a,c);a==="fx"&&b[0]!=="inprogress"&&f.dequeue(this,a)})},dequeue:function(a){return this.each(function(){f.dequeue(this,a)})},delay:function(a,b){a=f.fx?f.fx.speeds[a]||a:a,b=b||"fx";return this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,c){function m(){--h||d.resolveWith(e,[e])}typeof a!="string"&&(c=a,a=b),a=a||"fx";var d=f.Deferred(),e=this,g=e.length,h=1,i=a+"defer",j=a+"queue",k=a+"mark",l;while(g--)if(l=f.data(e[g],i,b,!0)||(f.data(e[g],j,b,!0)||f.data(e[g],k,b,!0))&&f.data(e[g],i,f.Callbacks("once memory"),!0))h++,l.add(m);m();return d.promise()}});var o=/[\n\t\r]/g,p=/\s+/,q=/\r/g,r=/^(?:button|input)$/i,s=/^(?:button|input|object|select|textarea)$/i,t=/^a(?:rea)?$/i,u=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,v=f.support.getSetAttribute,w,x,y;f.fn.extend({attr:function(a,b){return f.access(this,a,b,!0,f.attr)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return f.access(this,a,b,!0,f.prop)},removeProp:function(a){a=f.propFix[a]||a;return this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,g,h,i;if(f.isFunction(a))return this.each(function(b){f(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(p);for(c=0,d=this.length;c<d;c++){e=this[c];if(e.nodeType===1)if(!e.className&&b.length===1)e.className=a;else{g=" "+e.className+" ";for(h=0,i=b.length;h<i;h++)~g.indexOf(" "+b[h]+" ")||(g+=b[h]+" ");e.className=f.trim(g)}}}return this},removeClass:function(a){var c,d,e,g,h,i,j;if(f.isFunction(a))return this.each(function(b){f(this).removeClass(a.call(this,b,this.className))});if(a&&typeof a=="string"||a===b){c=(a||"").split(p);for(d=0,e=this.length;d<e;d++){g=this[d];if(g.nodeType===1&&g.className)if(a){h=(" "+g.className+" ").replace(o," ");for(i=0,j=c.length;i<j;i++)h=h.replace(" "+c[i]+" "," ");g.className=f.trim(h)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";if(f.isFunction(a))return this.each(function(c){f(this).toggleClass(a.call(this,c,this.className,b),b)});return this.each(function(){if(c==="string"){var e,g=0,h=f(this),i=b,j=a.split(p);while(e=j[g++])i=d?i:!h.hasClass(e),h[i?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&f._data(this,"__className__",this.className),this.className=this.className||a===!1?"":f._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ",c=0,d=this.length;for(;c<d;c++)if(this[c].nodeType===1&&(" "+this[c].className+" ").replace(o," ").indexOf(b)>-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c<d;c++){e=i[c];if(e.selected&&(f.support.optDisabled?!e.disabled:e.getAttribute("disabled")===null)&&(!e.parentNode.disabled||!f.nodeName(e.parentNode,"optgroup"))){b=f(e).val();if(j)return b;h.push(b)}}if(j&&!h.length&&i.length)return f(i[g]).val();return h},set:function(a,b){var c=f.makeArray(b);f(a).find("option").each(function(){this.selected=f.inArray(f(this).val(),c)>=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h<g;h++)e=d[h],e&&(c=f.propFix[e]||e,f.attr(a,e,""),a.removeAttribute(v?e:c),u.test(e)&&c in a&&(a[c]=!1))}},attrHooks:{type:{set:function(a,b){if(r.test(a.nodeName)&&a.parentNode)f.error("type property can't be changed");else if(!f.support.radioValue&&b==="radio"&&f.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b),c&&(a.value=c);return b}}},value:{get:function(a,b){if(w&&f.nodeName(a,"button"))return w.get(a,b);return b in a?a.value:null},set:function(a,b,c){if(w&&f.nodeName(a,"button"))return w.set(a,b,c);a.value=b}}},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(a,c,d){var e,g,h,i=a.nodeType;if(!!a&&i!==3&&i!==8&&i!==2){h=i!==1||!f.isXMLDoc(a),h&&(c=f.propFix[c]||c,g=f.propHooks[c]);return d!==b?g&&"set"in g&&(e=g.set(a,d,c))!==b?e:a[c]=d:g&&"get"in g&&(e=g.get(a,c))!==null?e:a[c]}},propHooks:{tabIndex:{get:function(a){var c=a.getAttributeNode("tabindex");return c&&c.specified?parseInt(c.value,10):s.test(a.nodeName)||t.test(a.nodeName)&&a.href?0:b}}}}),f.attrHooks.tabindex=f.propHooks.tabIndex,x={get:function(a,c){var d,e=f.prop(a,c);return e===!0||typeof e!="boolean"&&(d=a.getAttributeNode(c))&&d.nodeValue!==!1?c.toLowerCase():b},set:function(a,b,c){var d;b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase()));return c}},v||(y={name:!0,id:!0},w=f.valHooks.button={get:function(a,c){var d;d=a.getAttributeNode(c);return d&&(y[c]?d.nodeValue!=="":d.specified)?d.nodeValue:b},set:function(a,b,d){var e=a.getAttributeNode(d);e||(e=c.createAttribute(d),a.setAttributeNode(e));return e.nodeValue=b+""}},f.attrHooks.tabindex.set=w.set,f.each(["width","height"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks[b],{set:function(a,c){if(c===""){a.setAttribute(b,"auto");return c}}})}),f.attrHooks.contenteditable={get:w.get,set:function(a,b,c){b===""&&(b="false"),w.set(a,b,c)}}),f.support.hrefNormalized||f.each(["href","src","width","height"],function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),f.support.style||(f.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=""+b}}),f.support.optSelected||(f.propHooks.selected=f.extend(f.propHooks.selected,{get:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex);return null}})),f.support.enctype||(f.propFix.enctype="encoding"),f.support.checkOn||f.each(["radio","checkbox"],function(){f.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.isArray(b))return a.checked=f.inArray(f(a).val(),b)>=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/\bhover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")};
3
+ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k<c.length;k++){l=A.exec(c[k])||[],m=l[1],n=(l[2]||"").split(".").sort(),s=f.event.special[m]||{},m=(g?s.delegateType:s.bindType)||m,s=f.event.special[m]||{},o=f.extend({type:m,origType:l[1],data:e,handler:d,guid:d.guid,selector:g,quick:G(g),namespace:n.join(".")},p),r=j[m];if(!r){r=j[m]=[],r.delegateCount=0;if(!s.setup||s.setup.call(a,e,n,i)===!1)a.addEventListener?a.addEventListener(m,i,!1):a.attachEvent&&a.attachEvent("on"+m,i)}s.add&&(s.add.call(a,o),o.handler.guid||(o.handler.guid=d.guid)),g?r.splice(r.delegateCount++,0,o):r.push(o),f.event.global[m]=!0}a=null}},global:{},remove:function(a,b,c,d,e){var g=f.hasData(a)&&f._data(a),h,i,j,k,l,m,n,o,p,q,r,s;if(!!g&&!!(o=g.events)){b=f.trim(I(b||"")).split(" ");for(h=0;h<b.length;h++){i=A.exec(b[h])||[],j=k=i[1],l=i[2];if(!j){for(j in o)f.event.remove(a,j+b[h],c,d,!0);continue}p=f.event.special[j]||{},j=(d?p.delegateType:p.bindType)||j,r=o[j]||[],m=r.length,l=l?new RegExp("(^|\\.)"+l.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;for(n=0;n<r.length;n++)s=r[n],(e||k===s.origType)&&(!c||c.guid===s.guid)&&(!l||l.test(s.namespace))&&(!d||d===s.selector||d==="**"&&s.selector)&&(r.splice(n--,1),s.selector&&r.delegateCount--,p.remove&&p.remove.call(a,s));r.length===0&&m!==r.length&&((!p.teardown||p.teardown.call(a,l)===!1)&&f.removeEvent(a,j,g.handle),delete o[j])}f.isEmptyObject(o)&&(q=g.handle,q&&(q.elem=null),f.removeData(a,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,d,e,g){if(!e||e.nodeType!==3&&e.nodeType!==8){var h=c.type||c,i=[],j,k,l,m,n,o,p,q,r,s;if(E.test(h+f.event.triggered))return;h.indexOf("!")>=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;l<r.length&&!c.isPropagationStopped();l++)m=r[l][0],c.type=r[l][1],q=(f._data(m,"events")||{})[c.type]&&f._data(m,"handle"),q&&q.apply(m,d),q=o&&m[o],q&&f.acceptData(m)&&q.apply(m,d)===!1&&c.preventDefault();c.type=h,!g&&!c.isDefaultPrevented()&&(!p._default||p._default.apply(e.ownerDocument,d)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)&&o&&e[h]&&(h!=="focus"&&h!=="blur"||c.target.offsetWidth!==0)&&!f.isWindow(e)&&(n=e[o],n&&(e[o]=null),f.event.triggered=h,e[h](),f.event.triggered=b,n&&(e[o]=n));return c.result}},dispatch:function(c){c=f.event.fix(c||a.event);var d=(f._data(this,"events")||{})[c.type]||[],e=d.delegateCount,g=[].slice.call(arguments,0),h=!c.exclusive&&!c.namespace,i=[],j,k,l,m,n,o,p,q,r,s,t;g[0]=c,c.delegateTarget=this;if(e&&!c.target.disabled&&(!c.button||c.type!=="click")){m=f(this),m.context=this.ownerDocument||this;for(l=c.target;l!=this;l=l.parentNode||this){o={},q=[],m[0]=l;for(j=0;j<e;j++)r=d[j],s=r.selector,o[s]===b&&(o[s]=r.quick?H(l,r.quick):m.is(s)),o[s]&&q.push(r);q.length&&i.push({elem:l,matches:q})}}d.length>e&&i.push({elem:this,matches:d.slice(e)});for(j=0;j<i.length&&!c.isPropagationStopped();j++){p=i[j],c.currentTarget=p.elem;for(k=0;k<p.matches.length&&!c.isImmediatePropagationStopped();k++){r=p.matches[k];if(h||!c.namespace&&!r.namespace||c.namespace_re&&c.namespace_re.test(r.namespace))c.data=r.data,c.handleObj=r,n=((f.event.special[r.origType]||{}).handle||r.handler).apply(p.elem,g),n!==b&&(c.result=n,n===!1&&(c.preventDefault(),c.stopPropagation()))}}return c.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(a,b){a.which==null&&(a.which=b.charCode!=null?b.charCode:b.keyCode);return a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,d){var e,f,g,h=d.button,i=d.fromElement;a.pageX==null&&d.clientX!=null&&(e=a.target.ownerDocument||c,f=e.documentElement,g=e.body,a.pageX=d.clientX+(f&&f.scrollLeft||g&&g.scrollLeft||0)-(f&&f.clientLeft||g&&g.clientLeft||0),a.pageY=d.clientY+(f&&f.scrollTop||g&&g.scrollTop||0)-(f&&f.clientTop||g&&g.clientTop||0)),!a.relatedTarget&&i&&(a.relatedTarget=i===a.target?d.toElement:i),!a.which&&h!==b&&(a.which=h&1?1:h&2?3:h&4?2:0);return a}},fix:function(a){if(a[f.expando])return a;var d,e,g=a,h=f.event.fixHooks[a.type]||{},i=h.props?this.props.concat(h.props):this.props;a=f.Event(g);for(d=i.length;d;)e=i[--d],a[e]=g[e];a.target||(a.target=g.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),a.metaKey===b&&(a.metaKey=a.ctrlKey);return h.filter?h.filter(a,g):a},special:{ready:{setup:f.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(a,b,c){f.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}},simulate:function(a,b,c,d){var e=f.extend(new f.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?f.event.trigger(e,null,b):f.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},f.event.handle=f.event.dispatch,f.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},f.Event=function(a,b){if(!(this instanceof f.Event))return new f.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?K:J):this.type=a,b&&f.extend(this,b),this.timeStamp=a&&a.timeStamp||f.now(),this[f.expando]=!0},f.Event.prototype={preventDefault:function(){this.isDefaultPrevented=K;var a=this.originalEvent;!a||(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=K;var a=this.originalEvent;!a||(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=K,this.stopPropagation()},isDefaultPrevented:J,isPropagationStopped:J,isImmediatePropagationStopped:J},f.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){f.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c=this,d=a.relatedTarget,e=a.handleObj,g=e.selector,h;if(!d||d!==c&&!f.contains(c,d))a.type=e.origType,h=e.handler.apply(this,arguments),a.type=b;return h}}}),f.support.submitBubbles||(f.event.special.submit={setup:function(){if(f.nodeName(this,"form"))return!1;f.event.add(this,"click._submit keypress._submit",function(a){var c=a.target,d=f.nodeName(c,"input")||f.nodeName(c,"button")?c.form:b;d&&!d._submit_attached&&(f.event.add(d,"submit._submit",function(a){this.parentNode&&!a.isTrigger&&f.event.simulate("submit",this.parentNode,a,!0)}),d._submit_attached=!0)})},teardown:function(){if(f.nodeName(this,"form"))return!1;f.event.remove(this,"._submit")}}),f.support.changeBubbles||(f.event.special.change={setup:function(){if(z.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio")f.event.add(this,"propertychange._change",function(a){a.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),f.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1,f.event.simulate("change",this,a,!0))});return!1}f.event.add(this,"beforeactivate._change",function(a){var b=a.target;z.test(b.nodeName)&&!b._change_attached&&(f.event.add(b,"change._change",function(a){this.parentNode&&!a.isSimulated&&!a.isTrigger&&f.event.simulate("change",this.parentNode,a,!0)}),b._change_attached=!0)})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)},teardown:function(){f.event.remove(this,"._change");return z.test(this.nodeName)}}),f.support.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){var d=0,e=function(a){f.event.simulate(b,a.target,f.event.fix(a),!0)};f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.fn.extend({on:function(a,c,d,e,g){var h,i;if(typeof a=="object"){typeof c!="string"&&(d=c,c=b);for(i in a)this.on(i,c,d,a[i],g);return this}d==null&&e==null?(e=c,d=c=b):e==null&&(typeof c=="string"?(e=d,d=b):(e=d,d=c,c=b));if(e===!1)e=J;else if(!e)return this;g===1&&(h=e,e=function(a){f().off(a);return h.apply(this,arguments)},e.guid=h.guid||(h.guid=f.guid++));return this.each(function(){f.event.add(this,a,e,d,c)})},one:function(a,b,c,d){return this.on.call(this,a,b,c,d,1)},off:function(a,c,d){if(a&&a.preventDefault&&a.handleObj){var e=a.handleObj;f(a.delegateTarget).off(e.namespace?e.type+"."+e.namespace:e.type,e.selector,e.handler);return this}if(typeof a=="object"){for(var g in a)this.off(g,c,a[g]);return this}if(c===!1||typeof c=="function")d=c,c=b;d===!1&&(d=J);return this.each(function(){f.event.remove(this,a,d,c)})},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},live:function(a,b,c){f(this.context).on(a,this.selector,b,c);return this},die:function(a,b){f(this.context).off(a,this.selector||"**",b);return this},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return arguments.length==1?this.off(a,"**"):this.off(b,a,c)},trigger:function(a,b){return this.each(function(){f.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return f.event.trigger(a,b,this[0],!0)},toggle:function(a){var b=arguments,c=a.guid||f.guid++,d=0,e=function(c){var e=(f._data(this,"lastToggle"+a.guid)||0)%d;f._data(this,"lastToggle"+a.guid,e+1),c.preventDefault();return b[e].apply(this,arguments)||!1};e.guid=c;while(d<b.length)b[d++].guid=c;return this.click(e)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),f.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(a,b){f.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}if(j.nodeType===1){g||(j[d]=c,j.sizset=h);if(typeof b!="string"){if(j===b){k=!0;break}}else if(m.filter(b,[j]).length>0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}j.nodeType===1&&!g&&(j[d]=c,j.sizset=h);if(j.nodeName.toLowerCase()===b){k=j;break}j=j[a]}e[h]=k}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},m.matches=function(a,b){return m(a,null,null,b)},m.matchesSelector=function(a,b){return m(b,null,null,[a]).length>0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e<f;e++){h=o.order[e];if(g=o.leftMatch[h].exec(a)){i=g[1],g.splice(1,1);if(i.substr(i.length-1)!=="\\"){g[1]=(g[1]||"").replace(j,""),d=o.find[h](g,b,c);if(d!=null){a=a.replace(o.match[h],"");break}}}}d||(d=typeof b.getElementsByTagName!="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},m.filter=function(a,c,d,e){var f,g,h,i,j,k,l,n,p,q=a,r=[],s=c,t=c&&c[0]&&m.isXML(c[0]);while(a&&c.length){for(h in o.filter)if((f=o.leftMatch[h].exec(a))!=null&&f[2]){k=o.filter[h],l=f[1],g=!1,f.splice(1,1);if(l.substr(l.length-1)==="\\")continue;s===r&&(r=[]);if(o.preFilter[h]){f=o.preFilter[h](f,s,d,r,e,t);if(!f)g=i=!0;else if(f===!0)continue}if(f)for(n=0;(j=s[n])!=null;n++)j&&(i=k(j,f,n,s),p=e^i,d&&i!=null?p?g=!0:s[n]=!1:p&&(r.push(j),g=!0));if(i!==b){d||(s=r),a=a.replace(o.match[h],"");if(!g)return[];break}}if(a===q)if(g==null)m.error(a);else break;q=a}return s},m.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)};var n=m.getText=function(a){var b,c,d=a.nodeType,e="";if(d){if(d===1||d===9){if(typeof a.textContent=="string")return a.textContent;if(typeof a.innerText=="string")return a.innerText.replace(k,"");for(a=a.firstChild;a;a=a.nextSibling)e+=n(a)}else if(d===3||d===4)return a.nodeValue}else for(b=0;c=a[b];b++)c.nodeType!==8&&(e+=n(c));return e},o=m.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(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b=="string",d=c&&!l.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1);a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&m.filter(b,a,!0)},">":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&m.filter(b,a,!0)}},"":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("parentNode",b,f,a,d,c)},"~":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("previousSibling",b,f,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(j,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}m.error(e)},CHILD:function(a,b){var c,e,f,g,h,i,j,k=b[1],l=a;switch(k){case"only":case"first":while(l=l.previousSibling)if(l.nodeType===1)return!1;if(k==="first")return!0;l=a;case"last":while(l=l.nextSibling)if(l.nodeType===1)return!1;return!0;case"nth":c=b[2],e=b[3];if(c===1&&e===0)return!0;f=b[0],g=a.parentNode;if(g&&(g[d]!==f||!a.nodeIndex)){i=0;for(l=g.firstChild;l;l=l.nextSibling)l.nodeType===1&&(l.nodeIndex=++i);g[d]=f}j=a.nodeIndex-e;return c===0?j===0:j%c===0&&j/c>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var u,v;c.documentElement.compareDocumentPosition?u=function(a,b){if(a===b){h=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(u=function(a,b){if(a===b){h=!0;return 0}if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var c,d,e=[],f=[],g=a.parentNode,i=b.parentNode,j=g;if(g===i)return v(a,b);if(!g)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return v(e[k],f[k]);return k===c?v(a,f[k],-1):v(e[k],b,1)},v=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h<i;h++)m(a,g[h],e,c);return m.filter(f,e)};m.attr=f.attr,m.selectors.attrMap={},f.find=m,f.expr=m.selectors,f.expr[":"]=f.expr.filters,f.unique=m.uniqueSort,f.text=m.getText,f.isXMLDoc=m.isXML,f.contains=m.contains}();var L=/Until$/,M=/^(?:parents|prevUntil|prevAll)/,N=/,/,O=/^.[^:#\[\.,]*$/,P=Array.prototype.slice,Q=f.expr.match.POS,R={children:!0,contents:!0,next:!0,prev:!0};f.fn.extend({find:function(a){var b=this,c,d;if(typeof a!="string")return f(a).filter(function(){for(c=0,d=b.length;c<d;c++)if(f.contains(b[c],this))return!0});var e=this.pushStack("","find",a),g,h,i;for(c=0,d=this.length;c<d;c++){g=e.length,f.find(a,this[c],e);if(c>0)for(h=g;h<e.length;h++)for(i=0;i<g;i++)if(e[i]===e[h]){e.splice(h--,1);break}}return e},has:function(a){var b=f(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(f.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(T(this,a,!1),"not",a)},filter:function(a){return this.pushStack(T(this,a,!0),"filter",a)},is:function(a){return!!a&&(typeof a=="string"?Q.test(a)?f(a,this.context).index(this[0])>=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d<a.length;d++)f(g).is(a[d])&&c.push({selector:a[d],elem:g,level:h});g=g.parentNode,h++}return c}var i=Q.test(a)||typeof a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d<e;d++){g=this[d];while(g){if(i?i.index(g)>-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/<tbody/i,_=/<|&#?\w+;/,ba=/<(?:script|style)/i,bb=/<(?:script|object|embed|option|style)/i,bc=new RegExp("<(?:"+V+")","i"),bd=/checked\s*(?:[^=]|=\s*.checked.)/i,be=/\/(java|ecma)script/i,bf=/^\s*<!(?:\[CDATA\[|\-\-)/,bg={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,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div<div>","</div>"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function()
4
+ {for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1></$2>");try{for(var c=0,d=this.length;c<d;c++)this[c].nodeType===1&&(f.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a)}catch(e){this.empty().append(a)}}else f.isFunction(a)?this.each(function(b){var c=f(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(f.isFunction(a))return this.each(function(b){var c=f(this),d=c.html();c.replaceWith(a.call(this,b,d))});typeof a!="string"&&(a=f(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;f(this).remove(),b?f(b).before(a):f(c).append(a)})}return this.length?this.pushStack(f(f.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,d){var e,g,h,i,j=a[0],k=[];if(!f.support.checkClone&&arguments.length===3&&typeof j=="string"&&bd.test(j))return this.each(function(){f(this).domManip(a,c,d,!0)});if(f.isFunction(j))return this.each(function(e){var g=f(this);a[0]=j.call(this,e,c?g.html():b),g.domManip(a,c,d)});if(this[0]){i=j&&j.parentNode,f.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?e={fragment:i}:e=f.buildFragment(a,this,k),h=e.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&f.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)d.call(c?bi(this[l],g):this[l],e.cacheable||m>1&&l<n?f.clone(h,!0,!0):h)}k.length&&f.each(k,bp)}return this}}),f.buildFragment=function(a,b,d){var e,g,h,i,j=a[0];b&&b[0]&&(i=b[0].ownerDocument||b[0]),i.createDocumentFragment||(i=c),a.length===1&&typeof j=="string"&&j.length<512&&i===c&&j.charAt(0)==="<"&&!bb.test(j)&&(f.support.checkClone||!bd.test(j))&&(f.support.html5Clone||!bc.test(j))&&(g=!0,h=f.fragments[j],h&&h!==1&&(e=h)),e||(e=i.createDocumentFragment(),f.clean(a,i,e,d)),g&&(f.fragments[j]=h?e:1);return{fragment:e,cacheable:g}},f.fragments={},f.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){f.fn[a]=function(c){var d=[],e=f(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&e.length===1){e[b](this[0]);return this}for(var h=0,i=e.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||!bc.test("<"+a.nodeName)?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!_.test(k))k=b.createTextNode(k);else{k=k.replace(Y,"<$1></$2>");var l=(Z.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");b===c?bh.appendChild(o):U(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=$.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]==="<table>"&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createTextNode(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i<r;i++)bn(k[i]);else bn(k);k.nodeType?h.push(k):h=f.merge(h,k)}if(d){g=function(a){return!a.type||be.test(a.type)};for(j=0;h[j];j++)if(e&&f.nodeName(h[j],"script")&&(!h[j].type||h[j].type.toLowerCase()==="text/javascript"))e.push(h[j].parentNode?h[j].parentNode.removeChild(h[j]):h[j]);else{if(h[j].nodeType===1){var s=f.grep(h[j].getElementsByTagName("script"),g);h.splice.apply(h,[j+1,0].concat(s))}d.appendChild(h[j])}}return h},cleanData:function(a){var b,c,d=f.cache,e=f.event.special,g=f.support.deleteExpando;for(var h=0,i;(i=a[h])!=null;h++){if(i.nodeName&&f.noData[i.nodeName.toLowerCase()])continue;c=i[f.expando];if(c){b=d[c];if(b&&b.events){for(var j in b.events)e[j]?f.event.remove(i,j):f.removeEvent(i,j,b.handle);b.handle&&(b.handle.elem=null)}g?delete i[f.expando]:i.removeAttribute&&i.removeAttribute(f.expando),delete d[c]}}}});var bq=/alpha\([^)]*\)/i,br=/opacity=([^)]*)/,bs=/([A-Z]|^ms)/g,bt=/^-?\d+(?:px)?$/i,bu=/^-?\d/,bv=/^([\-+])=([\-+.\de]+)/,bw={position:"absolute",visibility:"hidden",display:"block"},bx=["Left","Right"],by=["Top","Bottom"],bz,bA,bB;f.fn.css=function(a,c){if(arguments.length===2&&c===b)return this;return f.access(this,a,c,!0,function(a,c,d){return d!==b?f.style(a,c,d):f.css(a,c)})},f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bz(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":f.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!!a&&a.nodeType!==3&&a.nodeType!==8&&!!a.style){var g,h,i=f.camelCase(c),j=a.style,k=f.cssHooks[i];c=f.cssProps[i]||i;if(d===b){if(k&&"get"in k&&(g=k.get(a,!1,e))!==b)return g;return j[c]}h=typeof d,h==="string"&&(g=bv.exec(d))&&(d=+(g[1]+1)*+g[2]+parseFloat(f.css(a,c)),h="number");if(d==null||h==="number"&&isNaN(d))return;h==="number"&&!f.cssNumber[i]&&(d+="px");if(!k||!("set"in k)||(d=k.set(a,d))!==b)try{j[c]=d}catch(l){}}},css:function(a,c,d){var e,g;c=f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c==="cssFloat"&&(c="float");if(g&&"get"in g&&(e=g.get(a,!0,d))!==b)return e;if(bz)return bz(a,c)},swap:function(a,b,c){var d={};for(var e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]}}),f.curCSS=f.css,f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,d){var e;if(c){if(a.offsetWidth!==0)return bC(a,b,d);f.swap(a,bw,function(){e=bC(a,b,d)});return e}},set:function(a,b){if(!bt.test(b))return b;b=parseFloat(b);if(b>=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return br.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bq,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bq.test(g)?g.replace(bq,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,b){var c,d,e;b=b.replace(bs,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b)));return c}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bt.test(f)&&bu.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bD=/%20/g,bE=/\[\]$/,bF=/\r?\n/g,bG=/#.*$/,bH=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bI=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bK=/^(?:GET|HEAD)$/,bL=/^\/\//,bM=/\?/,bN=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bO=/^(?:select|textarea)/i,bP=/\s+/,bQ=/([?&])_=[^&]*/,bR=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bS=f.fn.load,bT={},bU={},bV,bW,bX=["*/"]+["*"];try{bV=e.href}catch(bY){bV=c.createElement("a"),bV.href="",bV=bV.href}bW=bR.exec(bV.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bS)return bS.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("<div>").append(c.replace(bN,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bO.test(this.nodeName)||bI.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bF,"\r\n")}}):{name:b.name,value:c.replace(bF,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b_(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b_(a,b);return a},ajaxSettings:{url:bV,isLocal:bJ.test(bW[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","*":bX},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bZ(bT),ajaxTransport:bZ(bU),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cc(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bH.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bG,"").replace(bL,bW[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bP),d.crossDomain==null&&(r=bR.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bW[1]&&r[2]==bW[2]&&(r[3]||(r[1]==="http:"?80:443))==(bW[3]||(bW[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bT,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bK.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bM.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bQ,"$1_="+x);d.url=y+(y===d.url?(bM.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bX+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bU,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)ca(g,a[g],c,e);return d.join("&").replace(bD,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cd=f.now(),ce=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cd++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ce.test(b.url)||e&&ce.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ce,l),b.url===j&&(e&&(k=k.replace(ce,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cf=a.ActiveXObject?function(){for(var a in ch)ch[a](0,1)}:!1,cg=0,ch;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ci()||cj()}:ci,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cf&&delete ch[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cg,cf&&(ch||(ch={},f(a).unload(cf)),ch[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var ck={},cl,cm,cn=/^(?:toggle|show|hide)$/,co=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cp,cq=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cr;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)d=this[g],d.style&&(e=d.style.display,!f._data(d,"olddisplay")&&e==="none"&&(e=d.style.display=""),e===""&&f.css(d,"display")==="none"&&f._data(d,"olddisplay",cv(d.nodeName)));for(g=0;g<h;g++){d=this[g];if(d.style){e=d.style.display;if(e===""||e==="none")d.style.display=f._data(d,"olddisplay")||""}}return this},hide:function(a,b,c){if(a||a===0)return this.animate(cu("hide",3),a,b,c);var d,e,g=0,h=this.length;for(;g<h;g++)d=this[g],d.style&&(e=f.css(d,"display"),e!=="none"&&!f._data(d,"olddisplay")&&f._data(d,"olddisplay",e));for(g=0;g<h;g++)this[g].style&&(this[g].style.display="none");return this},_toggle:f.fn.toggle,toggle:function(a,b,c){var d=typeof a=="boolean";f.isFunction(a)&&f.isFunction(b)?this._toggle.apply(this,arguments):a==null||d?this.each(function(){var b=d?a:f(this).is(":hidden");f(this)[b?"show":"hide"]()}):this.animate(cu("toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){function g(){e.queue===!1&&f._mark(this);var b=f.extend({},e),c=this.nodeType===1,d=c&&f(this).is(":hidden"),g,h,i,j,k,l,m,n,o;b.animatedProperties={};for(i in a){g=f.camelCase(i),i!==g&&(a[g]=a[i],delete a[i]),h=a[g],f.isArray(h)?(b.animatedProperties[g]=h[1],h=a[g]=h[0]):b.animatedProperties[g]=b.specialEasing&&b.specialEasing[g]||b.easing||"swing";if(h==="hide"&&d||h==="show"&&!d)return b.complete.call(this);c&&(g==="height"||g==="width")&&(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],f.css(this,"display")==="inline"&&f.css(this,"float")==="none"&&(!f.support.inlineBlockNeedsLayout||cv(this.nodeName)==="inline"?this.style.display="inline-block":this.style.zoom=1))}b.overflow!=null&&(this.style.overflow="hidden");for(i in a)j=new f.fx(this,b,i),h=a[i],cn.test(h)?(o=f._data(this,"toggle"+i)||(h==="toggle"?d?"show":"hide":0),o?(f._data(this,"toggle"+i,o==="show"?"hide":"show"),j[o]()):j[h]()):(k=co.exec(h),l=j.cur(),k?(m=parseFloat(k[2]),n=k[3]||(f.cssNumber[i]?"":"px"),n!=="px"&&(f.style(this,i,(m||1)+n),l=(m||1)/j.cur()*l,f.style(this,i,l+n)),k[1]&&(m=(k[1]==="-="?-1:1)*m+l),j.custom(l,m,n)):j.custom(l,h,""));return!0}var e=f.speed(b,c,d);if(f.isEmptyObject(a))return this.each(e.complete,[!1]);a=f.extend({},a);return e.queue===!1?this.each(g):this.queue(e.queue,g)},stop:function(a,c,d){typeof a!="string"&&(d=c,c=a,a=b),c&&a!==!1&&this.queue(a||"fx",[]);return this.each(function(){function h(a,b,c){var e=b[c];f.removeData(a,c,!0),e.stop(d)}var b,c=!1,e=f.timers,g=f._data(this);d||f._unmark(!0,this);if(a==null)for(b in g)g[b]&&g[b].stop&&b.indexOf(".run")===b.length-4&&h(this,g,b);else g[b=a+".run"]&&g[b].stop&&h(this,g,b);for(b=e.length;b--;)e[b].elem===this&&(a==null||e[b].queue===a)&&(d?e[b](!0):e[b].saveState(),c=!0,e.splice(b,1));(!d||!c)&&f.dequeue(this,a)})}}),f.each({slideDown:cu("show",1),slideUp:cu("hide",1),slideToggle:cu("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){f.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),f.extend({speed:function(a,b,c){var d=a&&typeof a=="object"?f.extend({},a):{complete:c||!c&&b||f.isFunction(a)&&a,duration:a,easing:c&&b||b&&!f.isFunction(b)&&b};d.duration=f.fx.off?0:typeof d.duration=="number"?d.duration:d.duration in f.fx.speeds?f.fx.speeds[d.duration]:f.fx.speeds._default;if(d.queue==null||d.queue===!0)d.queue="fx";d.old=d.complete,d.complete=function(a){f.isFunction(d.old)&&d.old.call(this),d.queue?f.dequeue(this,d.queue):a!==!1&&f._unmark(this)};return d},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig=b.orig||{}}}),f.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(f.fx.step[this.prop]||f.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=f.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,c,d){function h(a){return e.step(a)}var e=this,g=f.fx;this.startTime=cr||cs(),this.end=c,this.now=this.start=a,this.pos=this.state=0,this.unit=d||this.unit||(f.cssNumber[this.prop]?"":"px"),h.queue=this.options.queue,h.elem=this.elem,h.saveState=function(){e.options.hide&&f._data(e.elem,"fxshow"+e.prop)===b&&f._data(e.elem,"fxshow"+e.prop,e.start)},h()&&f.timers.push(h)&&!cp&&(cp=setInterval(g.tick,g.interval))},show:function(){var a=f._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=a||f.style(this.elem,this.prop),this.options.show=!0,a!==b?this.custom(this.cur(),a):this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),f(this.elem).show()},hide:function(){this.options.orig[this.prop]=f._data(this.elem,"fxshow"+this.prop)||f.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b,c,d,e=cr||cs(),g=!0,h=this.elem,i=this.options;if(a||e>=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c<b.length;c++)a=b[c],!a()&&b[c]===a&&b.splice(c--,1);b.length||f.fx.stop()},interval:13,stop:function(){clearInterval(cp),cp=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){f.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=a.now+a.unit:a.elem[a.prop]=a.now}}}),f.each(["width","height"],function(a,b){f.fx.step[b]=function(a){f.style(a.elem,b,Math.max(0,a.now)+a.unit)}}),f.expr&&f.expr.filters&&(f.expr.filters.animated=function(a){return f.grep(f.timers,function(b){return a===b.elem}).length});var cw=/^t(?:able|d|h)$/i,cx=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?f.fn.offset=function(a){var b=this[0],c;if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);try{c=b.getBoundingClientRect()}catch(d){}var e=b.ownerDocument,g=e.documentElement;if(!c||!f.contains(g,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var h=e.body,i=cy(e),j=g.clientTop||h.clientTop||0,k=g.clientLeft||h.clientLeft||0,l=i.pageYOffset||f.support.boxModel&&g.scrollTop||h.scrollTop,m=i.pageXOffset||f.support.boxModel&&g.scrollLeft||h.scrollLeft,n=c.top+l-j,o=c.left+m-k;return{top:n,left:o}}:f.fn.offset=function(a){var b=this[0];if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);var c,d=b.offsetParent,e=b,g=b.ownerDocument,h=g.documentElement,i=g.body,j=g.defaultView,k=j?j.getComputedStyle(b,null):b.currentStyle,l=b.offsetTop,m=b.offsetLeft;while((b=b.parentNode)&&b!==i&&b!==h){if(f.support.fixedPosition&&k.position==="fixed")break;c=j?j.getComputedStyle(b,null):b.currentStyle,l-=b.scrollTop,m-=b.scrollLeft,b===d&&(l+=b.offsetTop,m+=b.offsetLeft,f.support.doesNotAddBorder&&(!f.support.doesAddBorderForTableAndCells||!cw.test(b.nodeName))&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),e=d,d=b.offsetParent),f.support.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),k=c}if(k.position==="relative"||k.position==="static")l+=i.offsetTop,m+=i.offsetLeft;f.support.fixedPosition&&k.position==="fixed"&&(l+=Math.max(h.scrollTop,i.scrollTop),m+=Math.max(h.scrollLeft,i.scrollLeft));return{top:l,left:m}},f.offset={bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;f.support.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(f.css(a,"marginTop"))||0,c+=parseFloat(f.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var d=f.css(a,"position");d==="static"&&(a.style.position="relative");var e=f(a),g=e.offset(),h=f.css(a,"top"),i=f.css(a,"left"),j=(d==="absolute"||d==="fixed")&&f.inArray("auto",[h,i])>-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cy(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cy(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window);jQuery.noConflict();
skin/frontend/default/perfume/js/jquery.cycle.all.min.js ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.97 (14-FEB-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($){var ver="2.97";if($.support==undefined){$.support={opacity:!($.browser.msie)};}function debug(s){$.fn.cycle.debug&&log(s);}function log(){window.console&&console.log&&console.log("[cycle] "+Array.prototype.join.call(arguments," "));}$.expr[":"].paused=function(el){return el.cyclePause;};$.fn.cycle=function(options,arg2){var o={s:this.selector,c:this.context};if(this.length===0&&options!="stop"){if(!$.isReady&&o.s){log("DOM not ready, queuing slideshow");$(function(){$(o.s,o.c).cycle(options,arg2);});return this;}log("terminating; zero elements found by selector"+($.isReady?"":" (DOM not ready)"));return this;}return this.each(function(){var opts=handleArguments(this,options,arg2);if(opts===false){return;}opts.updateActivePagerLink=opts.updateActivePagerLink||$.fn.cycle.updateActivePagerLink;if(this.cycleTimeout){clearTimeout(this.cycleTimeout);}this.cycleTimeout=this.cyclePause=0;var $cont=$(this);var $slides=opts.slideExpr?$(opts.slideExpr,this):$cont.children();var els=$slides.get();if(els.length<2){log("terminating; too few slides: "+els.length);return;}var opts2=buildOptions($cont,$slides,els,opts,o);if(opts2===false){return;}var startTime=opts2.continuous?10:getTimeout(els[opts2.currSlide],els[opts2.nextSlide],opts2,!opts2.backwards);if(startTime){startTime+=(opts2.delay||0);if(startTime<10){startTime=10;}debug("first timeout: "+startTime);this.cycleTimeout=setTimeout(function(){go(els,opts2,0,!opts.backwards);},startTime);}});};function handleArguments(cont,options,arg2){if(cont.cycleStop==undefined){cont.cycleStop=0;}if(options===undefined||options===null){options={};}if(options.constructor==String){switch(options){case"destroy":case"stop":var opts=$(cont).data("cycle.opts");if(!opts){return false;}cont.cycleStop++;if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);}cont.cycleTimeout=0;$(cont).removeData("cycle.opts");if(options=="destroy"){destroy(opts);}return false;case"toggle":cont.cyclePause=(cont.cyclePause===1)?0:1;checkInstantResume(cont.cyclePause,arg2,cont);return false;case"pause":cont.cyclePause=1;return false;case"resume":cont.cyclePause=0;checkInstantResume(false,arg2,cont);return false;case"prev":case"next":var opts=$(cont).data("cycle.opts");if(!opts){log('options not found, "prev/next" ignored');return false;}$.fn.cycle[options](opts);return false;default:options={fx:options};}return options;}else{if(options.constructor==Number){var num=options;options=$(cont).data("cycle.opts");if(!options){log("options not found, can not advance slide");return false;}if(num<0||num>=options.elements.length){log("invalid slide index: "+num);return false;}options.nextSlide=num;if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);cont.cycleTimeout=0;}if(typeof arg2=="string"){options.oneTimeFx=arg2;}go(options.elements,options,1,num>=options.currSlide);return false;}}return options;function checkInstantResume(isPaused,arg2,cont){if(!isPaused&&arg2===true){var options=$(cont).data("cycle.opts");if(!options){log("options not found, can not resume");return false;}if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);cont.cycleTimeout=0;}go(options.elements,options,1,!options.backwards);}}}function removeFilter(el,opts){if(!$.support.opacity&&opts.cleartype&&el.style.filter){try{el.style.removeAttribute("filter");}catch(smother){}}}function destroy(opts){if(opts.next){$(opts.next).unbind(opts.prevNextEvent);}if(opts.prev){$(opts.prev).unbind(opts.prevNextEvent);}if(opts.pager||opts.pagerAnchorBuilder){$.each(opts.pagerAnchors||[],function(){this.unbind().remove();});}opts.pagerAnchors=null;if(opts.destroy){opts.destroy(opts);}}function buildOptions($cont,$slides,els,options,o){var opts=$.extend({},$.fn.cycle.defaults,options||{},$.metadata?$cont.metadata():$.meta?$cont.data():{});if(opts.autostop){opts.countdown=opts.autostopCount||els.length;}var cont=$cont[0];$cont.data("cycle.opts",opts);opts.$cont=$cont;opts.stopCount=cont.cycleStop;opts.elements=els;opts.before=opts.before?[opts.before]:[];opts.after=opts.after?[opts.after]:[];if(!$.support.opacity&&opts.cleartype){opts.after.push(function(){removeFilter(this,opts);});}if(opts.continuous){opts.after.push(function(){go(els,opts,0,!opts.backwards);});}saveOriginalOpts(opts);if(!$.support.opacity&&opts.cleartype&&!opts.cleartypeNoBg){clearTypeFix($slides);}if($cont.css("position")=="static"){$cont.css("position","relative");}if(opts.width){$cont.width(opts.width);}if(opts.height&&opts.height!="auto"){$cont.height(opts.height);}if(opts.startingSlide){opts.startingSlide=parseInt(opts.startingSlide);}else{if(opts.backwards){opts.startingSlide=els.length-1;}}if(opts.random){opts.randomMap=[];for(var i=0;i<els.length;i++){opts.randomMap.push(i);}opts.randomMap.sort(function(a,b){return Math.random()-0.5;});opts.randomIndex=1;opts.startingSlide=opts.randomMap[1];}else{if(opts.startingSlide>=els.length){opts.startingSlide=0;}}opts.currSlide=opts.startingSlide||0;var first=opts.startingSlide;$slides.css({position:"absolute",top:0,left:0}).hide().each(function(i){var z;if(opts.backwards){z=first?i<=first?els.length+(i-first):first-i:els.length-i;}else{z=first?i>=first?els.length-(i-first):first-i:els.length-i;}$(this).css("z-index",z);});$(els[first]).css("opacity",1).show();removeFilter(els[first],opts);if(opts.fit&&opts.width){$slides.width(opts.width);}if(opts.fit&&opts.height&&opts.height!="auto"){$slides.height(opts.height);}var reshape=opts.containerResize&&!$cont.innerHeight();if(reshape){var maxw=0,maxh=0;for(var j=0;j<els.length;j++){var $e=$(els[j]),e=$e[0],w=$e.outerWidth(),h=$e.outerHeight();if(!w){w=e.offsetWidth||e.width||$e.attr("width");}if(!h){h=e.offsetHeight||e.height||$e.attr("height");}maxw=w>maxw?w:maxw;maxh=h>maxh?h:maxh;}if(maxw>0&&maxh>0){$cont.css({width:maxw+"px",height:maxh+"px"});}}if(opts.pause){$cont.hover(function(){this.cyclePause++;},function(){this.cyclePause--;});}if(supportMultiTransitions(opts)===false){return false;}var requeue=false;options.requeueAttempts=options.requeueAttempts||0;$slides.each(function(){var $el=$(this);this.cycleH=(opts.fit&&opts.height)?opts.height:($el.height()||this.offsetHeight||this.height||$el.attr("height")||0);this.cycleW=(opts.fit&&opts.width)?opts.width:($el.width()||this.offsetWidth||this.width||$el.attr("width")||0);if($el.is("img")){var loadingIE=($.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);var loadingFF=($.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete);var loadingOp=($.browser.opera&&((this.cycleW==42&&this.cycleH==19)||(this.cycleW==37&&this.cycleH==17))&&!this.complete);var loadingOther=(this.cycleH==0&&this.cycleW==0&&!this.complete);if(loadingIE||loadingFF||loadingOp||loadingOther){if(o.s&&opts.requeueOnImageNotLoaded&&++options.requeueAttempts<100){log(options.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){$(o.s,o.c).cycle(options);},opts.requeueTimeout);requeue=true;return false;}else{log("could not determine size of image: "+this.src,this.cycleW,this.cycleH);}}}return true;});if(requeue){return false;}opts.cssBefore=opts.cssBefore||{};opts.cssAfter=opts.cssAfter||{};opts.cssFirst=opts.cssFirst||{};opts.animIn=opts.animIn||{};opts.animOut=opts.animOut||{};$slides.not(":eq("+first+")").css(opts.cssBefore);$($slides[first]).css(opts.cssFirst);if(opts.timeout){opts.timeout=parseInt(opts.timeout);if(opts.speed.constructor==String){opts.speed=$.fx.speeds[opts.speed]||parseInt(opts.speed);}if(!opts.sync){opts.speed=opts.speed/2;}var buffer=opts.fx=="none"?0:opts.fx=="shuffle"?500:250;while((opts.timeout-opts.speed)<buffer){opts.timeout+=opts.speed;}}if(opts.easing){opts.easeIn=opts.easeOut=opts.easing;}if(!opts.speedIn){opts.speedIn=opts.speed;}if(!opts.speedOut){opts.speedOut=opts.speed;}opts.slideCount=els.length;opts.currSlide=opts.lastSlide=first;if(opts.random){if(++opts.randomIndex==els.length){opts.randomIndex=0;}opts.nextSlide=opts.randomMap[opts.randomIndex];}else{if(opts.backwards){opts.nextSlide=opts.startingSlide==0?(els.length-1):opts.startingSlide-1;}else{opts.nextSlide=opts.startingSlide>=(els.length-1)?0:opts.startingSlide+1;}}if(!opts.multiFx){var init=$.fn.cycle.transitions[opts.fx];if($.isFunction(init)){init($cont,$slides,opts);}else{if(opts.fx!="custom"&&!opts.multiFx){log("unknown transition: "+opts.fx,"; slideshow terminating");return false;}}}var e0=$slides[first];if(opts.before.length){opts.before[0].apply(e0,[e0,e0,opts,true]);}if(opts.after.length>1){opts.after[1].apply(e0,[e0,e0,opts,true]);}if(opts.next){$(opts.next).bind(opts.prevNextEvent,function(){return advance(opts,1);});}if(opts.prev){$(opts.prev).bind(opts.prevNextEvent,function(){return advance(opts,0);});}if(opts.pager||opts.pagerAnchorBuilder){buildPager(els,opts);}exposeAddSlide(opts,els);return opts;}function saveOriginalOpts(opts){opts.original={before:[],after:[]};opts.original.cssBefore=$.extend({},opts.cssBefore);opts.original.cssAfter=$.extend({},opts.cssAfter);opts.original.animIn=$.extend({},opts.animIn);opts.original.animOut=$.extend({},opts.animOut);$.each(opts.before,function(){opts.original.before.push(this);});$.each(opts.after,function(){opts.original.after.push(this);});}function supportMultiTransitions(opts){var i,tx,txs=$.fn.cycle.transitions;if(opts.fx.indexOf(",")>0){opts.multiFx=true;opts.fxs=opts.fx.replace(/\s*/g,"").split(",");for(i=0;i<opts.fxs.length;i++){var fx=opts.fxs[i];tx=txs[fx];if(!tx||!txs.hasOwnProperty(fx)||!$.isFunction(tx)){log("discarding unknown transition: ",fx);opts.fxs.splice(i,1);i--;}}if(!opts.fxs.length){log("No valid transitions named; slideshow terminating.");return false;}}else{if(opts.fx=="all"){opts.multiFx=true;opts.fxs=[];for(p in txs){tx=txs[p];if(txs.hasOwnProperty(p)&&$.isFunction(tx)){opts.fxs.push(p);}}}}if(opts.multiFx&&opts.randomizeEffects){var r1=Math.floor(Math.random()*20)+30;for(i=0;i<r1;i++){var r2=Math.floor(Math.random()*opts.fxs.length);opts.fxs.push(opts.fxs.splice(r2,1)[0]);}debug("randomized fx sequence: ",opts.fxs);}return true;}function exposeAddSlide(opts,els){opts.addSlide=function(newSlide,prepend){var $s=$(newSlide),s=$s[0];if(!opts.autostopCount){opts.countdown++;}els[prepend?"unshift":"push"](s);if(opts.els){opts.els[prepend?"unshift":"push"](s);}opts.slideCount=els.length;$s.css("position","absolute");$s[prepend?"prependTo":"appendTo"](opts.$cont);if(prepend){opts.currSlide++;opts.nextSlide++;}if(!$.support.opacity&&opts.cleartype&&!opts.cleartypeNoBg){clearTypeFix($s);}if(opts.fit&&opts.width){$s.width(opts.width);}if(opts.fit&&opts.height&&opts.height!="auto"){$s.height(opts.height);}s.cycleH=(opts.fit&&opts.height)?opts.height:$s.height();s.cycleW=(opts.fit&&opts.width)?opts.width:$s.width();$s.css(opts.cssBefore);if(opts.pager||opts.pagerAnchorBuilder){$.fn.cycle.createPagerAnchor(els.length-1,s,$(opts.pager),els,opts);}if($.isFunction(opts.onAddSlide)){opts.onAddSlide($s);}else{$s.hide();}};}$.fn.cycle.resetState=function(opts,fx){fx=fx||opts.fx;opts.before=[];opts.after=[];opts.cssBefore=$.extend({},opts.original.cssBefore);opts.cssAfter=$.extend({},opts.original.cssAfter);opts.animIn=$.extend({},opts.original.animIn);opts.animOut=$.extend({},opts.original.animOut);opts.fxFn=null;$.each(opts.original.before,function(){opts.before.push(this);});$.each(opts.original.after,function(){opts.after.push(this);});var init=$.fn.cycle.transitions[fx];if($.isFunction(init)){init(opts.$cont,$(opts.elements),opts);}};function go(els,opts,manual,fwd){if(manual&&opts.busy&&opts.manualTrump){debug("manualTrump in go(), stopping active transition");$(els).stop(true,true);opts.busy=0;}if(opts.busy){debug("transition active, ignoring new tx request");return;}var p=opts.$cont[0],curr=els[opts.currSlide],next=els[opts.nextSlide];if(p.cycleStop!=opts.stopCount||p.cycleTimeout===0&&!manual){return;}if(!manual&&!p.cyclePause&&!opts.bounce&&((opts.autostop&&(--opts.countdown<=0))||(opts.nowrap&&!opts.random&&opts.nextSlide<opts.currSlide))){if(opts.end){opts.end(opts);}return;}var changed=false;if((manual||!p.cyclePause)&&(opts.nextSlide!=opts.currSlide)){changed=true;var fx=opts.fx;curr.cycleH=curr.cycleH||$(curr).height();curr.cycleW=curr.cycleW||$(curr).width();next.cycleH=next.cycleH||$(next).height();next.cycleW=next.cycleW||$(next).width();if(opts.multiFx){if(opts.lastFx==undefined||++opts.lastFx>=opts.fxs.length){opts.lastFx=0;}fx=opts.fxs[opts.lastFx];opts.currFx=fx;}if(opts.oneTimeFx){fx=opts.oneTimeFx;opts.oneTimeFx=null;}$.fn.cycle.resetState(opts,fx);if(opts.before.length){$.each(opts.before,function(i,o){if(p.cycleStop!=opts.stopCount){return;}o.apply(next,[curr,next,opts,fwd]);});}var after=function(){opts.busy=0;$.each(opts.after,function(i,o){if(p.cycleStop!=opts.stopCount){return;}o.apply(next,[curr,next,opts,fwd]);});};debug("tx firing("+fx+"); currSlide: "+opts.currSlide+"; nextSlide: "+opts.nextSlide);opts.busy=1;if(opts.fxFn){opts.fxFn(curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}else{if($.isFunction($.fn.cycle[opts.fx])){$.fn.cycle[opts.fx](curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}else{$.fn.cycle.custom(curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}}}if(changed||opts.nextSlide==opts.currSlide){opts.lastSlide=opts.currSlide;if(opts.random){opts.currSlide=opts.nextSlide;if(++opts.randomIndex==els.length){opts.randomIndex=0;}opts.nextSlide=opts.randomMap[opts.randomIndex];if(opts.nextSlide==opts.currSlide){opts.nextSlide=(opts.currSlide==opts.slideCount-1)?0:opts.currSlide+1;}}else{if(opts.backwards){var roll=(opts.nextSlide-1)<0;if(roll&&opts.bounce){opts.backwards=!opts.backwards;opts.nextSlide=1;opts.currSlide=0;}else{opts.nextSlide=roll?(els.length-1):opts.nextSlide-1;opts.currSlide=roll?0:opts.nextSlide+1;}}else{var roll=(opts.nextSlide+1)==els.length;if(roll&&opts.bounce){opts.backwards=!opts.backwards;opts.nextSlide=els.length-2;opts.currSlide=els.length-1;}else{opts.nextSlide=roll?0:opts.nextSlide+1;opts.currSlide=roll?els.length-1:opts.nextSlide-1;}}}}if(changed&&opts.pager){opts.updateActivePagerLink(opts.pager,opts.currSlide,opts.activePagerClass);}var ms=0;if(opts.timeout&&!opts.continuous){ms=getTimeout(els[opts.currSlide],els[opts.nextSlide],opts,fwd);}else{if(opts.continuous&&p.cyclePause){ms=10;}}if(ms>0){p.cycleTimeout=setTimeout(function(){go(els,opts,0,!opts.backwards);},ms);}}$.fn.cycle.updateActivePagerLink=function(pager,currSlide,clsName){$(pager).each(function(){$(this).children().removeClass(clsName).eq(currSlide).addClass(clsName);});};function getTimeout(curr,next,opts,fwd){if(opts.timeoutFn){var t=opts.timeoutFn.call(curr,curr,next,opts,fwd);while(opts.fx!="none"&&(t-opts.speed)<250){t+=opts.speed;}debug("calculated timeout: "+t+"; speed: "+opts.speed);if(t!==false){return t;}}return opts.timeout;}$.fn.cycle.next=function(opts){advance(opts,1);};$.fn.cycle.prev=function(opts){advance(opts,0);};function advance(opts,moveForward){var val=moveForward?1:-1;var els=opts.elements;var p=opts.$cont[0],timeout=p.cycleTimeout;if(timeout){clearTimeout(timeout);p.cycleTimeout=0;}if(opts.random&&val<0){opts.randomIndex--;if(--opts.randomIndex==-2){opts.randomIndex=els.length-2;}else{if(opts.randomIndex==-1){opts.randomIndex=els.length-1;}}opts.nextSlide=opts.randomMap[opts.randomIndex];}else{if(opts.random){opts.nextSlide=opts.randomMap[opts.randomIndex];}else{opts.nextSlide=opts.currSlide+val;if(opts.nextSlide<0){if(opts.nowrap){return false;}opts.nextSlide=els.length-1;}else{if(opts.nextSlide>=els.length){if(opts.nowrap){return false;}opts.nextSlide=0;}}}}var cb=opts.onPrevNextEvent||opts.prevNextClick;if($.isFunction(cb)){cb(val>0,opts.nextSlide,els[opts.nextSlide]);}go(els,opts,1,moveForward);return false;}function buildPager(els,opts){var $p=$(opts.pager);$.each(els,function(i,o){$.fn.cycle.createPagerAnchor(i,o,$p,els,opts);});opts.updateActivePagerLink(opts.pager,opts.startingSlide,opts.activePagerClass);}$.fn.cycle.createPagerAnchor=function(i,el,$p,els,opts){var a;if($.isFunction(opts.pagerAnchorBuilder)){a=opts.pagerAnchorBuilder(i,el);debug("pagerAnchorBuilder("+i+", el) returned: "+a);}else{a='<a href="#">'+(i+1)+"</a>";}if(!a){return;}var $a=$(a);if($a.parents("body").length===0){var arr=[];if($p.length>1){$p.each(function(){var $clone=$a.clone(true);$(this).append($clone);arr.push($clone[0]);});$a=$(arr);}else{$a.appendTo($p);}}opts.pagerAnchors=opts.pagerAnchors||[];opts.pagerAnchors.push($a);$a.bind(opts.pagerEvent,function(e){e.preventDefault();opts.nextSlide=i;var p=opts.$cont[0],timeout=p.cycleTimeout;if(timeout){clearTimeout(timeout);p.cycleTimeout=0;}var cb=opts.onPagerEvent||opts.pagerClick;if($.isFunction(cb)){cb(opts.nextSlide,els[opts.nextSlide]);}go(els,opts,1,opts.currSlide<i);});if(!/^click/.test(opts.pagerEvent)&&!opts.allowPagerClickBubble){$a.bind("click.cycle",function(){return false;});}if(opts.pauseOnPagerHover){$a.hover(function(){opts.$cont[0].cyclePause++;},function(){opts.$cont[0].cyclePause--;});}};$.fn.cycle.hopsFromLast=function(opts,fwd){var hops,l=opts.lastSlide,c=opts.currSlide;if(fwd){hops=c>l?c-l:opts.slideCount-l;}else{hops=c<l?l-c:l+opts.slideCount-c;}return hops;};function clearTypeFix($slides){debug("applying clearType background-color hack");function hex(s){s=parseInt(s).toString(16);return s.length<2?"0"+s:s;}function getBg(e){for(;e&&e.nodeName.toLowerCase()!="html";e=e.parentNode){var v=$.css(e,"background-color");if(v.indexOf("rgb")>=0){var rgb=v.match(/\d+/g);return"#"+hex(rgb[0])+hex(rgb[1])+hex(rgb[2]);}if(v&&v!="transparent"){return v;}}return"#ffffff";}$slides.each(function(){$(this).css("background-color",getBg(this));});}$.fn.cycle.commonReset=function(curr,next,opts,w,h,rev){$(opts.elements).not(curr).hide();if(typeof opts.cssBefore.opacity=="undefined"){opts.cssBefore.opacity=1;}opts.cssBefore.display="block";if(opts.slideResize&&w!==false&&next.cycleW>0){opts.cssBefore.width=next.cycleW;}if(opts.slideResize&&h!==false&&next.cycleH>0){opts.cssBefore.height=next.cycleH;}opts.cssAfter=opts.cssAfter||{};opts.cssAfter.display="none";$(curr).css("zIndex",opts.slideCount+(rev===true?1:0));$(next).css("zIndex",opts.slideCount+(rev===true?0:1));};$.fn.cycle.custom=function(curr,next,opts,cb,fwd,speedOverride){var $l=$(curr),$n=$(next);var speedIn=opts.speedIn,speedOut=opts.speedOut,easeIn=opts.easeIn,easeOut=opts.easeOut;$n.css(opts.cssBefore);if(speedOverride){if(typeof speedOverride=="number"){speedIn=speedOut=speedOverride;}else{speedIn=speedOut=1;}easeIn=easeOut=null;}var fn=function(){$n.animate(opts.animIn,speedIn,easeIn,function(){cb();});};$l.animate(opts.animOut,speedOut,easeOut,function(){$l.css(opts.cssAfter);if(!opts.sync){fn();}});if(opts.sync){fn();}};$.fn.cycle.transitions={fade:function($cont,$slides,opts){$slides.not(":eq("+opts.currSlide+")").css("opacity",0);opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.opacity=0;});opts.animIn={opacity:1};opts.animOut={opacity:0};opts.cssBefore={top:0,left:0};}};$.fn.cycle.ver=function(){return ver;};$.fn.cycle.defaults={activePagerClass:"activeSlide",after:null,allowPagerClickBubble:false,animIn:null,animOut:null,autostop:0,autostopCount:0,backwards:false,before:null,cleartype:!$.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,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,slideExpr:null,slideResize:1,speed:1000,speedIn:null,speedOut:null,startingSlide:0,sync:1,timeout:4000,timeoutFn:null,updateActivePagerLink:null};})(jQuery);
11
+ /*
12
+ * jQuery Cycle Plugin Transition Definitions
13
+ * This script is a plugin for the jQuery Cycle Plugin
14
+ * Examples and documentation at: http://malsup.com/jquery/cycle/
15
+ * Copyright (c) 2007-2010 M. Alsup
16
+ * Version: 2.73
17
+ * Dual licensed under the MIT and GPL licenses:
18
+ * http://www.opensource.org/licenses/mit-license.php
19
+ * http://www.gnu.org/licenses/gpl.html
20
+ */
21
+ ;(function($){$.fn.cycle.transitions.none=function($cont,$slides,opts){opts.fxFn=function(curr,next,opts,after){$(next).show();$(curr).hide();after();};};$.fn.cycle.transitions.fadeout=function($cont,$slides,opts){$slides.not(":eq("+opts.currSlide+")").css({display:"block",opacity:1});opts.before.push(function(curr,next,opts,w,h,rev){$(curr).css("zIndex",opts.slideCount+(!rev===true?1:0));$(next).css("zIndex",opts.slideCount+(!rev===true?0:1));});opts.animIn.opacity=1;opts.animOut.opacity=0;opts.cssBefore.opacity=1;opts.cssBefore.display="block";opts.cssAfter.zIndex=0;};$.fn.cycle.transitions.scrollUp=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var h=$cont.height();opts.cssBefore.top=h;opts.cssBefore.left=0;opts.cssFirst.top=0;opts.animIn.top=0;opts.animOut.top=-h;};$.fn.cycle.transitions.scrollDown=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var h=$cont.height();opts.cssFirst.top=0;opts.cssBefore.top=-h;opts.cssBefore.left=0;opts.animIn.top=0;opts.animOut.top=h;};$.fn.cycle.transitions.scrollLeft=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var w=$cont.width();opts.cssFirst.left=0;opts.cssBefore.left=w;opts.cssBefore.top=0;opts.animIn.left=0;opts.animOut.left=0-w;};$.fn.cycle.transitions.scrollRight=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var w=$cont.width();opts.cssFirst.left=0;opts.cssBefore.left=-w;opts.cssBefore.top=0;opts.animIn.left=0;opts.animOut.left=w;};$.fn.cycle.transitions.scrollHorz=function($cont,$slides,opts){$cont.css("overflow","hidden").width();opts.before.push(function(curr,next,opts,fwd){if(opts.rev){fwd=!fwd;}$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.left=fwd?(next.cycleW-1):(1-next.cycleW);opts.animOut.left=fwd?-curr.cycleW:curr.cycleW;});opts.cssFirst.left=0;opts.cssBefore.top=0;opts.animIn.left=0;opts.animOut.top=0;};$.fn.cycle.transitions.scrollVert=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push(function(curr,next,opts,fwd){if(opts.rev){fwd=!fwd;}$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.top=fwd?(1-next.cycleH):(next.cycleH-1);opts.animOut.top=fwd?curr.cycleH:-curr.cycleH;});opts.cssFirst.top=0;opts.cssBefore.left=0;opts.animIn.top=0;opts.animOut.left=0;};$.fn.cycle.transitions.slideX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$(opts.elements).not(curr).hide();$.fn.cycle.commonReset(curr,next,opts,false,true);opts.animIn.width=next.cycleW;});opts.cssBefore.left=0;opts.cssBefore.top=0;opts.cssBefore.width=0;opts.animIn.width="show";opts.animOut.width=0;};$.fn.cycle.transitions.slideY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$(opts.elements).not(curr).hide();$.fn.cycle.commonReset(curr,next,opts,true,false);opts.animIn.height=next.cycleH;});opts.cssBefore.left=0;opts.cssBefore.top=0;opts.cssBefore.height=0;opts.animIn.height="show";opts.animOut.height=0;};$.fn.cycle.transitions.shuffle=function($cont,$slides,opts){var i,w=$cont.css("overflow","visible").width();$slides.css({left:0,top:0});opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);});if(!opts.speedAdjusted){opts.speed=opts.speed/2;opts.speedAdjusted=true;}opts.random=0;opts.shuffle=opts.shuffle||{left:-w,top:15};opts.els=[];for(i=0;i<$slides.length;i++){opts.els.push($slides[i]);}for(i=0;i<opts.currSlide;i++){opts.els.push(opts.els.shift());}opts.fxFn=function(curr,next,opts,cb,fwd){if(opts.rev){fwd=!fwd;}var $el=fwd?$(curr):$(next);$(next).css(opts.cssBefore);var count=opts.slideCount;$el.animate(opts.shuffle,opts.speedIn,opts.easeIn,function(){var hops=$.fn.cycle.hopsFromLast(opts,fwd);for(var k=0;k<hops;k++){fwd?opts.els.push(opts.els.shift()):opts.els.unshift(opts.els.pop());}if(fwd){for(var i=0,len=opts.els.length;i<len;i++){$(opts.els[i]).css("z-index",len-i+count);}}else{var z=$(curr).css("z-index");$el.css("z-index",parseInt(z)+1+count);}$el.animate({left:0,top:0},opts.speedOut,opts.easeOut,function(){$(fwd?this:curr).hide();if(cb){cb();}});});};$.extend(opts.cssBefore,{display:"block",opacity:1,top:0,left:0});};$.fn.cycle.transitions.turnUp=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.cssBefore.top=next.cycleH;opts.animIn.height=next.cycleH;opts.animOut.width=next.cycleW;});opts.cssFirst.top=0;opts.cssBefore.left=0;opts.cssBefore.height=0;opts.animIn.top=0;opts.animOut.height=0;};$.fn.cycle.transitions.turnDown=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssFirst.top=0;opts.cssBefore.left=0;opts.cssBefore.top=0;opts.cssBefore.height=0;opts.animOut.height=0;};$.fn.cycle.transitions.turnLeft=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.cssBefore.left=next.cycleW;opts.animIn.width=next.cycleW;});opts.cssBefore.top=0;opts.cssBefore.width=0;opts.animIn.left=0;opts.animOut.width=0;};$.fn.cycle.transitions.turnRight=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.animIn.width=next.cycleW;opts.animOut.left=curr.cycleW;});$.extend(opts.cssBefore,{top:0,left:0,width:0});opts.animIn.left=0;opts.animOut.width=0;};$.fn.cycle.transitions.zoom=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,false,true);opts.cssBefore.top=next.cycleH/2;opts.cssBefore.left=next.cycleW/2;$.extend(opts.animIn,{top:0,left:0,width:next.cycleW,height:next.cycleH});$.extend(opts.animOut,{width:0,height:0,top:curr.cycleH/2,left:curr.cycleW/2});});opts.cssFirst.top=0;opts.cssFirst.left=0;opts.cssBefore.width=0;opts.cssBefore.height=0;};$.fn.cycle.transitions.fadeZoom=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,false);opts.cssBefore.left=next.cycleW/2;opts.cssBefore.top=next.cycleH/2;$.extend(opts.animIn,{top:0,left:0,width:next.cycleW,height:next.cycleH});});opts.cssBefore.width=0;opts.cssBefore.height=0;opts.animOut.opacity=0;};$.fn.cycle.transitions.blindX=function($cont,$slides,opts){var w=$cont.css("overflow","hidden").width();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.width=next.cycleW;opts.animOut.left=curr.cycleW;});opts.cssBefore.left=w;opts.cssBefore.top=0;opts.animIn.left=0;opts.animOut.left=w;};$.fn.cycle.transitions.blindY=function($cont,$slides,opts){var h=$cont.css("overflow","hidden").height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssBefore.top=h;opts.cssBefore.left=0;opts.animIn.top=0;opts.animOut.top=h;};$.fn.cycle.transitions.blindZ=function($cont,$slides,opts){var h=$cont.css("overflow","hidden").height();var w=$cont.width();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssBefore.top=h;opts.cssBefore.left=w;opts.animIn.top=0;opts.animIn.left=0;opts.animOut.top=h;opts.animOut.left=w;};$.fn.cycle.transitions.growX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.cssBefore.left=this.cycleW/2;opts.animIn.left=0;opts.animIn.width=this.cycleW;opts.animOut.left=0;});opts.cssBefore.top=0;opts.cssBefore.width=0;};$.fn.cycle.transitions.growY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.cssBefore.top=this.cycleH/2;opts.animIn.top=0;opts.animIn.height=this.cycleH;opts.animOut.top=0;});opts.cssBefore.height=0;opts.cssBefore.left=0;};$.fn.cycle.transitions.curtainX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true,true);opts.cssBefore.left=next.cycleW/2;opts.animIn.left=0;opts.animIn.width=this.cycleW;opts.animOut.left=curr.cycleW/2;opts.animOut.width=0;});opts.cssBefore.top=0;opts.cssBefore.width=0;};$.fn.cycle.transitions.curtainY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false,true);opts.cssBefore.top=next.cycleH/2;opts.animIn.top=0;opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH/2;opts.animOut.height=0;});opts.cssBefore.height=0;opts.cssBefore.left=0;};$.fn.cycle.transitions.cover=function($cont,$slides,opts){var d=opts.direction||"left";var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);if(d=="right"){opts.cssBefore.left=-w;}else{if(d=="up"){opts.cssBefore.top=h;}else{if(d=="down"){opts.cssBefore.top=-h;}else{opts.cssBefore.left=w;}}}});opts.animIn.left=0;opts.animIn.top=0;opts.cssBefore.top=0;opts.cssBefore.left=0;};$.fn.cycle.transitions.uncover=function($cont,$slides,opts){var d=opts.direction||"left";var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);if(d=="right"){opts.animOut.left=w;}else{if(d=="up"){opts.animOut.top=-h;}else{if(d=="down"){opts.animOut.top=h;}else{opts.animOut.left=-w;}}}});opts.animIn.left=0;opts.animIn.top=0;opts.cssBefore.top=0;opts.cssBefore.left=0;};$.fn.cycle.transitions.toss=function($cont,$slides,opts){var w=$cont.css("overflow","visible").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);if(!opts.animOut.left&&!opts.animOut.top){$.extend(opts.animOut,{left:w*2,top:-h/2,opacity:0});}else{opts.animOut.opacity=0;}});opts.cssBefore.left=0;opts.cssBefore.top=0;opts.animIn.left=0;};$.fn.cycle.transitions.wipe=function($cont,$slides,opts){var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.cssBefore=opts.cssBefore||{};var clip;if(opts.clip){if(/l2r/.test(opts.clip)){clip="rect(0px 0px "+h+"px 0px)";}else{if(/r2l/.test(opts.clip)){clip="rect(0px "+w+"px "+h+"px "+w+"px)";}else{if(/t2b/.test(opts.clip)){clip="rect(0px "+w+"px 0px 0px)";}else{if(/b2t/.test(opts.clip)){clip="rect("+h+"px "+w+"px "+h+"px 0px)";}else{if(/zoom/.test(opts.clip)){var top=parseInt(h/2);var left=parseInt(w/2);clip="rect("+top+"px "+left+"px "+top+"px "+left+"px)";}}}}}}opts.cssBefore.clip=opts.cssBefore.clip||clip||"rect(0px 0px 0px 0px)";var d=opts.cssBefore.clip.match(/(\d+)/g);var t=parseInt(d[0]),r=parseInt(d[1]),b=parseInt(d[2]),l=parseInt(d[3]);opts.before.push(function(curr,next,opts){if(curr==next){return;}var $curr=$(curr),$next=$(next);$.fn.cycle.commonReset(curr,next,opts,true,true,false);opts.cssAfter.display="block";var step=1,count=parseInt((opts.speedIn/13))-1;(function f(){var tt=t?t-parseInt(step*(t/count)):0;var ll=l?l-parseInt(step*(l/count)):0;var bb=b<h?b+parseInt(step*((h-b)/count||1)):h;var rr=r<w?r+parseInt(step*((w-r)/count||1)):w;$next.css({clip:"rect("+tt+"px "+rr+"px "+bb+"px "+ll+"px)"});(step++<=count)?setTimeout(f,13):$curr.css("display","none");})();});$.extend(opts.cssBefore,{display:"block",opacity:1,top:0,left:0});opts.animIn={left:0};opts.animOut={left:0};};})(jQuery);